FWQ
如何打乱MySQL表中按插入顺序排列的数据,使其随机排序?
数据顺序打乱 问题: 如何打乱mysql表中按插入顺序的1万条数据的顺序,使其随机排序? 回答: 可以使用sql查询语句来打乱数据顺序: 方法 1: select * from test1 as u inner join (select id from test1 where totalscore between 5 and 100 order by rand()…