select * from yryz_role_partner where user_id in (select user_id from yryz_role_partner group by user_id having count(1) >= 2)
sql 查询重复的数据
2023-10-17 18:04:52
2023-10-17 18:04:52
select * from yryz_role_partner where user_id in (select user_id from yryz_role_partner group by user_id having count(1) >= 2)