I want to know if it's possible to generate more than 1 row on this select statement:
select
floor(1+(rand()*(1+100-1))) as B1
,floor(1+(rand()*(1+100-1))) as B2
,floor(1+(rand()*(1+100-1))) as B3
,floor(1+(rand()*(1+100-1))) as B4
,floor(1+(rand()*(1+100-1))) as B5
,floor(1+(rand()*(1+100-1))) as B6 ;
instead of this ( single row)
B1 B2 B3 B4 B5 B6
-- -- -- -- -- --
48 35 30 44 31 24
I would like to see this ( or many rows as I want like in a loop or while)
B1 B2 B3 B4 B5 B6
-- -- -- -- -- --
48 35 30 44 31 24
24 2 34 15 22 15
11 7 2 36 27 26
49 19 44 17 49 47
39 4 48 32 16 34
23 10 32 29 48 9
45 49 13 17 45 25
38 16 15 25 33 41
If anyone knows if is it possible to do that without creating procedures I would appreciate !