保留相同A值的最小id行 select *from table_a awhere not exists ( select 1 from table_a b where b.A = a.A and b.id < a.id ) 相关文章: 2021-12-11 2021-06-14 2022-01-23 2021-06-19 2021-11-18 2021-12-09 2021-11-18 2021-11-18