mysql的随机选择记录select * from table order by rand() limit 10
mysql中随机选择记录的方法
博客介绍了MySQL随机选择记录的方法,通过SQL语句“select * from table order by rand() limit 10”可实现从表中随机选取10条记录。
博客介绍了MySQL随机选择记录的方法,通过SQL语句“select * from table order by rand() limit 10”可实现从表中随机选取10条记录。
mysql的随机选择记录select * from table order by rand() limit 10

被折叠的 条评论
为什么被折叠?