sql:怎样查询数值最大的五条记录

2025-03-25 12:01:51
推荐回答(1个)
回答1:

可以用降序排序+top关键字获取。
例如:
select top 5 * from 销售记录 order by 售价 desc;