There are often the requirement of writing complex queries where one row needs to be divided into multiple rows in one sql statements. The "connect by" keywords could be used in such cases.
select level from dual connect by level < 10;
No comments:
Post a Comment
If you like to say anything (good/bad), Please do not hesitate...