AS

Renames a column or table with an alias for display, does not permanently change table/column names in the database.

Code Example

SELECT student_name AS 'student',
overall_gpa AS 'gpa',
is_honor_student AS 'Honor Student'
FROM students;

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn SQL on Codecademy

Contributors