摘要: select a.* from testTable a inner join (select id,MAX(InDate) as InDate from testTable group by id) b on a.id=b.id and a.InDate =b.InDate 阅读全文
posted @ 2022-02-15 17:43 Yhzwei 阅读(1532) 评论(0) 推荐(0) 编辑