📜  如何使用别名连接两个表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:12.849000             🧑  作者: Mango

代码示例1
SELECT NAME AS "Employee Name" FROM PEOPLE;

SELECT p.NAME AS "Employee Name", s.SALARY AS "Employee Salary"
FROM PEOPLE p
JOIN SALARIES s ON p.ID = s.ID;