SQL Alias explanation with example

Posted by Prabhukiran345 under Sql Server category on | Points: 40 | Views : 1077
SQL Alias:SQL Aliases are defined for columns and tables. Basically aliases is created to make the column selected more readable.
For Example:To select the first name of all the students, the query would be like:
SELECT first_name AS Name FROM student_details;
SELECT first_name Name FROM student_details;

Comments or Responses

Login to post response