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