取得表某个分组的最大值 博客分类: sql语句oracle
程序员文章站
2024-03-04 17:50:36
...
select * from tablename a where a.createdate=(select max(b.createdate) from tablename b where a.channel=b.channel)