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

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

posted @ 2017-11-22 16:29  傻傻的鱼  阅读(2682)  评论(0编辑  收藏  举报