摘要: 分组取最大值 select gr,num,dt,(select bys from test where gr=b.gr and dt=b.dt) bysfrom( select gr,count(0) num,max(dt) dt from test group by gr) b 阅读全文
posted @ 2022-02-18 16:18 yongqi-911 阅读(440) 评论(0) 推荐(0) 编辑