MySQL SQL

MySQL Aliases

Give columns and tables temporary readable names.

SELECT p.name AS product_name
FROM products AS p;

An alias changes how a result is labeled; it does not rename the underlying table or column.