select * from tablename a where a.createdate=(select max(b.createdate) from tablename b where a.channel=b.channel)
取得表某个分组的最大值
猜你喜欢
转载自disablebb.iteye.com/blog/1323279
今日推荐
周排行