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 www.sqlservertutorial.net #
 
PREVIOUS NEXT
Tagged: #sql #rename #column #select
ADD COMMENT
Topic
Name
4+7 =