MySQL取出指定数量的随机记录

select * from .. where .. order by rand() limit 50;

猜你喜欢

转载自www.cnblogs.com/pingming/p/10768563.html
今日推荐