I don't believe I will be able to achieve it through distinct or count(*) so I may have explained it ambigously...
I want the results from select 1...
somecol
-------
'Apples'
'Pears'
'Bannas'
Merged with the results from select 2...
somecol
-------
'grapes'
'lemons'
'kimi fruits'
but the...
I want to union several select statements together to form a single result set that them ordered with an even distribution of the rows from each of the individual selects.
i.e
If first SELECT returns...
COL1 ROWNUM
---- ------
'ABC' 1
'DEF' 2
'GHI' 3
and a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.