表
Employee_number薪水
..........................
1 1000
2 900
3 1500
4 600
5 50
6 79
我已经尝试过使用............................
选择employee_number,员工的工资,其中(3-1)=(从员工中选择计数(不同(*))按工资描述排序;
输出...............空集(0.00秒)
当我使用限制功能时,我得到输出
怎么样
SELECT employee_number,salary FROM employees ORDER BY salary DESC LIMIT 2;
1 回答
怎么样
SELECT employee_number,salary FROM employees ORDER BY salary DESC LIMIT 2;