SQL SERVER里实现随机取记录可这样写:
select top 10
newid() as row, productid, productname
from Products
order by row
参考文章
SQL SERVER里实现随机取记录可这样写:
select top 10
newid() as row, productid, productname
from Products
order by row
参考文章
转载于:https://www.cnblogs.com/leftfist/archive/2012/04/24/4258068.html