SELECT ROW_NUMBER() OVER ( ORDER BY salary ) row_num, first_name, last_name, salary FROM employees; Code language: SQL (Structured Query Language) (sql)