日期:2014-05-16 浏览次数:20383 次
Select * From tablename order By rand() Limit n
select top n * from tablename order by newid()
Select top n * FROM tablename orDER BY Rnd(id)
Select * from (select * from tablename order by sys_guid()) where rownum < n Select * from (select * from tablename order by dbms_random.value) where rownum < n
Select * from tablename order by rand() fetch first n rows only