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;
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.
Learn SQL on Codecademy
- Skill path
Analyze Data with SQL
Learn to analyze data with SQL and prepare for technical interviews.Includes 9 CoursesWith CertificateBeginner Friendly17 hours - Free course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner Friendly5 hours