select top N * from tablename order by newid()
其中,N为查询多少条,tablename为数据库表名称。
相关推荐
评论
文章点击榜
2022/7/8 23:39:10 1974627
2021/9/25 22:37:12 274837
2023/12/12 9:50:54 119720
2023/2/26 11:35:49 99887
2020/12/30 9:23:53 76003
2022/11/10 8:56:26 51200
2022/11/18 21:30:47 31563
2020/9/24 14:44:39 30902
2023/2/25 11:50:12 23215
2021/1/6 14:57:22 22963
2021/9/24 12:01:10 20682
2020/4/7 17:21:27 19991
2020/4/7 17:21:26 19137
2015/11/18 12:44:00 16423
2022/11/18 21:21:58 16328
2020/4/18 11:45:18 15787
2015/9/4 8:19:00 14808
2015/10/26 16:28:00 14615
2020/7/7 23:25:45 14162
2020/7/24 12:27:57 14154