越简单越好!

随机抽取一张表的ID

发表于 2007-04-03 10:49 | 897次阅读 0次点赞   Mysql

很基础的一个查寻,rand() 结合 limit

select id from `table` order by rand() limit 100

返回顶部 ^