Sql Server 随机取一条数据

 

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

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