select top N * from tablename order by newid()
其中,N为查询多少条,tablename为数据库表名称。
相关推荐
评论
文章点击榜
2022/7/8 23:39:10 1953836
2021/9/25 22:37:12 272321
2023/12/12 9:50:54 107251
2023/2/26 11:35:49 99094
2020/12/30 9:23:53 74813
2022/11/10 8:56:26 49889
2022/11/18 21:30:47 30673
2020/9/24 14:44:39 30420
2021/1/6 14:57:22 22476
2023/2/25 11:50:12 22274
2021/9/24 12:01:10 20094
2020/4/7 17:21:27 19491
2020/4/7 17:21:26 18531
2015/11/18 12:44:00 15936
2020/4/18 11:45:18 15348
2022/11/18 21:21:58 15240
2015/9/4 8:19:00 14342
2015/10/26 16:28:00 14207
2020/7/24 12:27:57 13762
2020/7/7 23:25:45 13718