随机获取oracle中的数据是否有重复值false and trueselect count(*) from(select * from table_t t order by dbms_random.value)where rownum <= 20 group by id;[解决办法]true 它只要是random的就一定会有重复的一天。