摘要: 方法一 select t1.a,t1.b,t1.c from test t1 inner join (seelct a,max(b) as b from test group by a) t2 on t1.a=t2.a and t1.b=t2.b 方法二 select * from (select 阅读全文
posted @ 2016-12-01 19:35 myJoan 阅读(3457) 评论(0) 推荐(0) 编辑