delete from users where id = (select t.id from (select * from users u where u.real_name in (select real_name from users group by real_name having count(real_name ) > 1)
and u.platform_type in (select platform_type from users group by platform_type having count(platform_type) > 1)
and u.user_password in (select user_password from users group by user_password having count(user_password ) > 1) order by rand() limit 1 )as t)
随机删除重复数据
猜你喜欢
转载自blog.csdn.net/weixin_39643007/article/details/78658153
今日推荐
周排行