Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Order of execution of Select clauses

Order of execution of Select clauses

From: Pria <Pria79_at_gmail.com>
Date: 10 Feb 2006 13:30:03 -0800
Message-ID: <1139607003.147417.254110@g14g2000cwa.googlegroups.com>


Hi All,

Please correct me if i am wrong.

Internally, the order of execution for a SELECT statement is as follows:
FROM clause
WHERE clause
SELECT clause
ORDER BY clause
and Oracle allows Order by the table columns that are not included in the SELECT clause.

If Order By clause is executed after select clause in select statement, then how does Oracle Order by columns that are not included in the SELECT clause internally.

Thanks in Advance
Pria Received on Fri Feb 10 2006 - 15:30:03 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US