取随机记录的语句
编程学习 2021-07-05 16:49www.dzhlxh.cn编程入门
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()