Database Tuning (MOSC)

MOSC Banner

execution sequence of connect by and group by

edited Oct 20, 2010 4:02PM in Database Tuning (MOSC) 7 commentsAnswered ✓
 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

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center