摘要: SELECT * FROM( SELECT id,name,counts,createDate,row_number() OVER(partition BY name ORDER BY createDate DESC) rowno FROM testTable ) t WHERE t.rrowno <=1 阅读全文
posted @ 2018-09-13 10:21 江城一枝花 阅读(1967) 评论(0) 推荐(0) 编辑