SQL AS
Published May 7, 2021Updated Sep 3, 2021
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;
Learn SQL on Codecademy
- Learn to analyze data with SQL and prepare for technical interviews.
- Includes 9 Courses
- With Certificate
- Beginner Friendly.17 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