Query Execution order in oracle | Clause execution sequence in oracle | Oracle

Published: 27 August 2024
on channel: VCODE LOGIC
9
0

This video lesson helps to understand the query execution order in oracle.
The query in oracle executed in following order.

1. FROM / JOIN : When you write any query, SQL starts by identifying the tables for the data retrieval and how they are connected.
2. WHERE: It acts as a filter; it filters the record based on the conditions specified by the users.
3. GROUP BY: The filtered data is grouped based on the specified condition.
4. HAVING: It is similar to the WHERE clause but applied after grouping the data.
5. SELECT: The clause selects the columns to be included in the final result.
6. DISTINCT: Remove the duplicate rows from the result. Once you apply this clause, you are only left with distinct records.
7. ORDER BY: It sorts (increasing/decreasing/A to Z/Z to A) the results based on the specified condition.
8. LIMIT / OFFSET: It determines the number of records to return and from where to start.


Watch video Query Execution order in oracle | Clause execution sequence in oracle | Oracle online without registration, duration hours minute second in high quality. This video was added by user VCODE LOGIC 27 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9 once and liked it 0 people.