摘要: 平时解决这种,总是用group by,但是又不能select * ,为了可以select * ,于是采用如下办法: select * from (select t.*, row_number() over(partition by t.name order by t.changedate desc) 阅读全文
posted @ 2017-06-09 11:10 time_on 阅读(7731) 评论(0) 推荐(0) 编辑