📅  最后修改于: 2022-03-11 15:04:51.904000             🧑  作者: Mango
SELECT
ROW_NUMBER() OVER (
ORDER BY salary
) row_num,
first_name,
last_name,
salary
FROM
employees;
Code language: SQL (Structured Query Language) (sql)