数据库——头脑风暴
时间:2022-03-14 04:30
表test003
select * from test003
其中有二条记录一模一样,怎么找出是哪个ID出现重复了呢?
方法:
select id from test003 group by id having count(*)>1
时间:2022-03-14 04:30
表test003
select * from test003
其中有二条记录一模一样,怎么找出是哪个ID出现重复了呢?
方法:
select id from test003 group by id having count(*)>1