摘要: 1.取时间最新的记录 不分组有重复(多条CreateTime一样的都是最新记录) select * from test t where pid in ( select PId from Test t where time=(select max(time) from Test t1 where t1 阅读全文
posted @ 2019-12-04 10:28 Ace001 阅读(24641) 评论(1) 推荐(4) 编辑