首页 新闻 会员 周边
3
回答数

已解决问题 sql 查询,没有数据则给该列赋值为null

select top 1 salary from (select Salary,ROW_NUMBER()over(order by Salary desc)nid from Employeegroup