📜  CTE 语句 sql server - SQL 代码示例

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

代码示例1
WITH Employee_CTE (EmployeeNumber, Title)
AS
(SELECT NationalIDNumber,
        JobTitle
 FROM   HumanResources.Employee)
SELECT EmployeeNumber,
       Title
FROM   Employee_CTE