用SQL server sql语句随机查询出20条数据

 Select top(20) * from 表名 order by NEWID()      --随机查询

原文地址:https://www.cnblogs.com/Xtudou/p/7879868.html