Get in Touch

Course Outline

Limiting Results

  • The WHERE clause
  • Comparison operators
  • LIKE Condition
  • BETWEEN ... AND condition
  • IS NULL condition
  • IN condition
  • Boolean operators AND, OR, and NOT
  • Various conditions within the WHERE clause
  • Operator precedence
  • DISTINCT clause

SQL Functions

  • Differences between single-line and multi-line functions
  • Text, numeric, and date functions
  • Explicit and implicit conversion
  • Conversion functions
  • Function nesting
  • Testing function performance using the DUAL table
  • SYSDATE function for retrieving the current date
  • Handling NULL values

Aggregating Data Using Grouping Functions

  • Grouping functions
  • How grouping functions handle NULL values
  • Creating data groups using the GROUP BY clause
  • Grouping by multiple columns
  • Limiting grouped function results using the HAVING clause

Subqueries

  • Incorporating subqueries in the SELECT command
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Grouping features within subqueries
  • Operators for multi-row subqueries: IN, ALL, ANY
  • Treatment of NULL values in subqueries

Set Operators

  • UNION operator
  • UNION ALL operator
  • INTERSECT operator
  • MINUS operator

Advanced Usage of Joins

  • Review of Joins
  • Combining Inner and Outer Joins
  • Partitioned Outer Joins
  • Hierarchical Queries

Advanced Usage of Subqueries

  • Review of subqueries
  • Using subqueries as virtual tables, inline views, and columns
  • Utilizing the WITH clause
  • Combining subqueries and joins

Analytic Functions

  • OVER clause
  • PARTITION BY clause
  • Windowing clause
  • RANK, LEAD, LAG, FIRST, LAST functions

Retrieving Data from Multiple Tables (if time permits)

  • Types of joins
  • Using NATURAL JOIN
  • Table aliases
  • Joins in the WHERE clause
  • INNER JOIN
  • Outer joins: LEFT, RIGHT, FULL OUTER JOIN
  • Cartesian product

Aggregate Functions (if time permits)

  • Review of GROUP BY and HAVING clauses
  • GROUPING SETS and ROLLUP
  • GROUPING SETS and CUBE

Requirements

It is recommended that attendees have completed the "Oracle SQL for Beginners" training course.

 14 Hours

Testimonials (3)

Related Categories