Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

execution sequence of connect by and group by

user60022Oct 20 2010 — edited Oct 22 2010
Hi All,

I know 'connect by' precedes 'where clause'. And I can use a test case to test this.

But I can't figure out which comes first, connect by and group by.

Can someone give me some tips on this, pleaes?

And another confusion of mine is execution sequence of select and order by.

In my opinion, since order by can read the alias of selected column, I think the sequence is that oracle select rows first and then sort them.

Please correct or confirm my statement.

Best regards,

Leon
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2010
Added on Oct 20 2010
4 comments
1,814 views