首页 > Mysql 随机读取一条记录
id是不连续的 查了说order by rand() limit 1效率低, 有没有别的方法?
order by rand() limit 1
传送门 ORDER BY RAND()
知乎答案