取随机记录的语句
程序员文章站
2024-01-15 12:34:40
mysql: select * from tablename order by rand() ...
mysql: select * from tablename order by rand() limit 10
sqlserver: select top 10 * from tablename order by newid()
sqlserver: select top 10 * from tablename order by newid()
上一篇: 一点感悟(三)历程
下一篇: Java HttpUtil