AS

Published May 7, 2021Updated Sep 3, 2021
Contribute to Docs

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;

All contributors

Looking to contribute?

Learn SQL on Codecademy