SQL 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
- Learn to analyze data with SQL and prepare for technical interviews.
- Includes 9 Courses
- With Certificate
- Beginner Friendly.18 hours
- In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.
- Beginner Friendly.5 hours