In most programming languages, the lines of code are processes in the order that they are written. In SQL, things are different. Even though the SELECT clause appears first in the query, it is logically processed almost last. The clauses are logically processed
in the following order:
1. FROM
2. WHERE
3. GROUP BY
4. HAVING
5. SELECT
6. ORDER BY
07/12/2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment