重复数据只取一条
程序员文章站
2022-05-31 19:05:46
...
无详细内容 无 select * from Table1 where ID in (select min(ID) from Table1 group by DuplicateColumn)
select * from Table1 where ID in (select min(ID) from Table1 group by DuplicateColumn)