摘要: ID连续的情况下(注意不能带where,否则结果不好): SELECT *FROM `mm_account` AS t1 JOIN (SELECT ROUND(RAND() * (SELECT MAX(id) FROM `mm_account`)) AS id) AS t2WHERE t1.id > 阅读全文
posted @ 2020-05-15 17:12 #随风飘散 阅读(783) 评论(0) 推荐(0) 编辑