Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

changing column names in sql query results

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: #changing #column #names #sql #query #results
ADD COMMENT
Topic
Name
1+1 =