I need o / p as shown below.
1,1 2,1 2,2 3,1 3,2 3,3 4,1 4,2 4,3 4,4 ... and so on.
I tried to write a query as shown below. But a throwing mistake. The SIngle row subquery returns more than one row.
with test1 as( SELECT LEVEL n FROM DUAL CONNECT BY LEVEL <59) select n,( SELECT LEVEL n FROM DUAL CONNECT BY LEVEL <n) from test1
Appreciate your help in resolving this issue.
Vimal source share