取得表某个分组的最大值
select * from tablename a where a.createdate=(select max(b.createdate) from tablename b where a.channel=b.channel)
发布时间: 2012-07-18 12:05:38 作者: rapoo
取得表某个分组的最大值
select * from tablename a where a.createdate=(select max(b.createdate) from tablename b where a.channel=b.channel)