日期:2014-05-16  浏览次数:20383 次

取得表某个分组的最大值

select * from tablename a where a.createdate=(select max(b.createdate) from tablename b where a.channel=b.channel)