Codington
0 of 8 problems solved • 0%

Exercise prompt

Name a Result Column

Use AS to give a column a new heading in the query result. This example displays id under the heading user_id. The table still calls the column id.

Example

SELECT id AS user_id FROM users;

Your task

Show everyone’s name under the heading first_name. Compare the result heading with name in the table.

Opening the database…