Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql rename column in select

SELECT NAME AS "Employee Name" FROM PEOPLE;

SELECT p.NAME AS "Employee Name", s.SALARY AS "Employee Salary"
FROM PEOPLE p
JOIN SALARIES s ON p.ID = s.ID;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sql #rename #column #select
ADD COMMENT
Topic
Name
2+2 =