mysql随机删除数据

文章封面
摘要: delete from  table where id in(select * from (SELECT id FROM table ORDER BY RAND() LIMIT 10000)

delete from table where id in(select * from (SELECT id FROM table ORDER BY RAND() LIMIT 10000) a)

237 阅读 ← 返回技术栈
图片放大