MSSQL中取随机数据

select top 10 * from userinfo order by NEWID()
原文地址:https://www.cnblogs.com/yeagen/p/1795169.html