sql中多个集合的第一条数据合并成一条

2025-02-24 00:38:15
推荐回答(1个)
回答1:

select top 1 就代表取第一条数据
where rownum=1,没有这种写法
order by排序条件后面加上