hello
I'm getting bogged down trying to write some SQL.
I have an array of distinct integer values, Arr(row,col). Rows run from 0 to 4, columns run from 0 to 3. Here is the complete array:
18 42 85 95
71 65 91 87
37 61 17 10
84 98 16 70
19 23 24 52
I need to create a query that outputs 4^5 = 1024 rows like...
18 71 37 84 19
18 71 37 84 23
18 71 37 84 24
... ... ... ... ...
95 87 10 70 23
95 87 10 70 24
95 87 10 70 52
Each row of the query takes one value from each row of the array.
Can anyone offer some assistance?
Thank you
I'm getting bogged down trying to write some SQL.
I have an array of distinct integer values, Arr(row,col). Rows run from 0 to 4, columns run from 0 to 3. Here is the complete array:
18 42 85 95
71 65 91 87
37 61 17 10
84 98 16 70
19 23 24 52
I need to create a query that outputs 4^5 = 1024 rows like...
18 71 37 84 19
18 71 37 84 23
18 71 37 84 24
... ... ... ... ...
95 87 10 70 23
95 87 10 70 24
95 87 10 70 52
Each row of the query takes one value from each row of the array.
Can anyone offer some assistance?
Thank you