Oracle随机获取记录
时间:2014-05-26 23:25:36
收藏:0
阅读:217
1 SELECT A.* FROM TableA A CROSS JOIN (SELECT TRUNC(DBMS_RANDOM.VALUE(0, 999999999999999999999)) RANDOMNUM FROM DUAL) B ORDER BY B.RANDOMNUM
评论(0)