sql分组取第一条数据 sq分组取第一条数据的一个方法:select * from (select row_number() over(partition by ID order by ID) as rownum , *from table) as tempwhere temp.rownum = 1转载于:https://www.cnblogs.com/dansediao/p/58... Other 2023-09-27 55 点赞 0 评论 83 浏览