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.
SELECT id AS user_id FROM users;Show everyone’s name under the heading first_name. Compare the result heading with name in the table.