As
alias a column name as you are selecting it
- ex.
SELECT title AS bucket_title...
alias a tablename
-
ex.
SELECT ___ from users as u
-
the alias only exists during execution of the query
-
if you use column aliases in the SELECT clause, you cannot use them in the WHERE clause.