Get in Touch

Course Outline

Extracting Data from Databases

  • Understanding syntax conventions
  • Retrieving all columns
  • Concept of projection
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Working with literals
  • String concatenation

Filtering Result Sets

  • Utilizing the WHERE clause
  • Applying comparison operators
  • Using the LIKE condition
  • Using the BETWEEN...AND condition
  • Checking for NULL values
  • Using the IN condition
  • Combining conditions with AND, OR, and NOT
  • Handling multiple conditions within a WHERE clause
  • Understanding operator precedence
  • Eliminating duplicates with the DISTINCT clause

Sorting Result Sets

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

SQL Functions

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

Aggregating Data with Aggregate Functions

  • Overview of aggregate functions
  • Handling NULL values in aggregations
  • Using the GROUP BY clause
  • Grouping by different column combinations
  • Filtering aggregated results with the HAVING clause
  • Creating multidimensional summaries using ROLLUP and CUBE
  • Identifying summary rows with the GROUPING function
  • Using the GROUPING SETS operator

Querying Multiple Tables

  • Exploring different join types
  • Using NATURAL JOIN
  • Defining table aliases
  • Oracle syntax: Specifying join conditions in the WHERE clause
  • SQL99 syntax: Performing INNER JOINs
  • SQL99 syntax: Executing LEFT, RIGHT, and FULL OUTER JOINs
  • Understanding Cartesian products in Oracle and SQL99 syntax

Subqueries

  • Appropriate contexts for subqueries
  • Differences between single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Incorporating aggregate functions within subqueries
  • Operators for multi-row subqueries: IN, ALL, and ANY

Set Operators

  • Using UNION
  • Using UNION ALL
  • Using INTERSECT
  • Using MINUS and EXCEPT

Transactions

  • Managing transactions with COMMIT, ROLLBACK, and SAVEPOINT statements

Additional Schema Objects

  • Creating and using Sequences
  • Working with Synonyms
  • Defining and querying Views

Hierarchical Queries and Examples

  • Building tree structures using CONNECT BY PRIOR and START WITH clauses
  • Utilizing 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
  • Working with TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP
  • Performing timezone conversion operations

Analytic Functions

  • Applications of analytic functions
  • Defining partitions
  • Configuring windows
  • Using ranking functions
  • Applying reporting functions
  • Utilizing LAG and LEAD functions
  • Using FIRST and LAST value functions
  • Applying reverse percentile functions
  • Understanding hypothetical rank functions
  • Using WIDTH_BUCKET functions
  • Employing statistical functions

Requirements

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

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories