Mysql 高效随机生成N条记录
时间:2014-05-17 18:58:42
收藏:0
阅读:370
1 select *, rand() as random FROM yef_exercises where id not in(1) order by random limit 1 // Mysql
评论(0)
1 select *, rand() as random FROM yef_exercises where id not in(1) order by random limit 1 // Mysql