Sql Server 随机取一条数据

 

select top 1 * from table1 where 1=1 ORDER BY NEWID()

posted @ 2021-06-29 11:15  Vaynedy  阅读(532)  评论(0编辑  收藏  举报