SQLserver 查询中随机取10条

select top 10 id from tab order by NEWID()

 

posted @ 2021-05-18 17:21  ___mouM  阅读(341)  评论(0编辑  收藏  举报