Get in Touch
 Duration 21 hours

Course Outline

Extracting Data from Databases

  • Syntactic conventions
  • Retrieving all columns
  • Data projection
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Handling literals
  • String concatenation

Filtering Result Sets

  • Utilizing the WHERE clause
  • Using comparison operators
  • Applying the LIKE condition
  • Using the BETWEEN...AND condition
  • Checking for NULL values (IS NULL)
  • Using the IN condition
  • Combining conditions with AND, OR, NOT
  • Handling multiple conditions within the WHERE clause
  • Operator precedence
  • Removing duplicates with the DISTINCT clause

Ordering Result Sets

  • Using the ORDER BY clause
  • Sorting by multiple columns or expressions

SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Character, numeric, and DateTime functions
  • Explicit and implicit data conversion
  • Using conversion functions
  • Nesting functions
  • The Dual table (comparing Oracle with other databases)
  • Retrieving current date and time using various functions

Aggregating Data with Aggregate Functions

  • Overview of aggregate functions
  • Behavior of aggregate functions with NULL values
  • Using the GROUP BY clause
  • Grouping by different columns
  • Filtering aggregated results with the HAVING clause
  • Multi-dimensional grouping using ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • The GROUPING SETS operator

Retrieving Data from Multiple Tables

  • Various types of joins
  • NATURAL JOIN syntax
  • Assigning table aliases
  • Oracle legacy syntax - join conditions in the WHERE clause
  • SQL99 syntax - INNER JOIN
  • SQL99 syntax - LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product in both Oracle and SQL99 syntax

Subqueries

  • Where and when to apply subqueries
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using aggregate functions within subqueries
  • Operators for multi-row subqueries - IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing transactions with COMMIT, ROLLBACK, and SAVEPOINT

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

  • Building trees using CONNECT BY PRIOR and START WITH clauses
  • The SYS_CONNECT_BY_PATH function

Conditional Expressions

  • Using the CASE expression
  • Using the DECODE expression

Managing Data Across Time Zones

  • Concepts of time zones
  • TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP
  • Performing conversion operations

Analytic Functions

  • Applications of analytic functions
  • Defining partitions
  • Working with windows
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No prior specific prerequisites are required to participate in this course.

Testimonials (7)

Related Categories