Home > database > Questions about oracle connectby and rownum
Questions about oracle connectby and rownum
Time:10-05
in recent study connect by some of the basic knowledge and the operation principle, see have a SQL, displays connect by operating out of memory, how is the SQL logic is not very good,
with a as ( Select 5 as n the from dual Union all Select the from 10 dual Union all The select 15 from dual Union all Select the from 20 dual ) Select * from a where rownum=1 connect by rownum<6;
if there is no the where condition is understandable, added the where don't understand, Have a great god can explain?