SQl去获取相同记录时间:2023-03-09 23:57:51 以name字段为例 select * from table where name in(select name from table group by name having count(name)>1)