Oracle 百萬數據隨機取一條性能優化

select * from (                 select * from t                   where rownum < trunc(dbms_random.value(2,1000))                   order by dbms_random.value                )  where rownum=1dom
相關文章
相關標籤/搜索