原始表数据: 想要的结果数据为: sql语句: select * from Table_1 where DT in(select min(DT) from Table_1 group by AccountID) --DT为时间字段 相关文章: 2022-01-11 2022-12-23 2022-12-23 2022-12-23 2021-11-30 2022-01-02 2022-12-23