Use Aliases on SQL Query. The following SQL query shows how to use aliases while querying data from the database using SQL.
Alias Column Syntax:
SELECT column_name AS alias_name
FROM table_name;
Example:
SELECT name AS employee_name, salary AS current_salary
FROM employees;