I want to generate numbers between 2 values, for example 15 numbers between 32 and 35.
I wrote this:
SELECT LEVEL+31 + round(dbms_random.value(1, 4))
FROM dual CONNECT BY LEVEL <=15;
but it gives me results like this:
34
36
37
36
39
39
40
41
44
44
45
47
45
47
47
I want all 15 values to fall within the range 31 to 35.