SQL 返回数量一定的行

1. 限制返回的行 select top 10 * from tablename

2. 返回随机n行 select top n * from tablename order by newid()

原文地址:https://www.cnblogs.com/lilideng/p/SQL_NewId.html