📜  tsql 行号 - SQL 代码示例

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

代码示例2
SELECT 
   ROW_NUMBER() OVER (
    ORDER BY first_name
   ) row_num,
   first_name, 
   last_name, 
   city
FROM 
   sales.customers;