sql as
SELECT NAME AS "Employee Name" FROM PEOPLE;
SELECT p.NAME AS "Employee Name", s.SALARY
FROM PEOPLE p
JOIN SALARIES s ON p.ID = s.ID;
sql as
SELECT NAME AS "Employee Name" FROM PEOPLE;
SELECT p.NAME AS "Employee Name", s.SALARY
FROM PEOPLE p
JOIN SALARIES s ON p.ID = s.ID;
sql as
Renames a table or column with an alias value which only exists for the
duration of the query.
Example: Aliases north_east_user_subscriptions column
SELECT north_east_user_subscriptions AS ne_subs
FROM users
WHERE ne_subs > 5;
sql as
-- AS is a keyword that allows you to rename a column or table using an alias
SELECT column_name AS 'Alias'
FROM table_name;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us