Get in Touch

Course Outline

Retrieving Data from the Database

  • Syntax Rules
  • Selecting All Columns
  • Projection
  • Arithmetic Operations in SQL
  • Column Aliases
  • Literals
  • Concatenation

Filtering Result Sets

  • WHERE Clause
  • Comparison Operators
  • LIKE Condition
  • BETWEEN...AND Condition
  • IS NULL Condition
  • IN Condition
  • AND, OR, NOT Operators
  • Multiple Conditions in the WHERE Clause
  • Operator Precedence
  • DISTINCT Clause

Sorting Result Sets

  • ORDER BY Clause
  • Sorting by Multiple Columns or Expressions

SQL Functions

  • Differences Between Single-Row and Multi-Row Functions
  • Character, Numeric, and DateTime Functions
  • Explicit and Implicit Conversion
  • Conversion Functions
  • Nested Functions
  • DUAL Table (Oracle vs. Other Databases)
  • Obtaining Current Date and Time Using Various Functions

Aggregating Data

  • Aggregate Functions
  • Aggregate Functions vs. NULL Values
  • GROUP BY Clause
  • Grouping by Different Columns
  • Filtering Aggregated Data - HAVING Clause
  • Multidimensional Grouping - ROLLUP and CUBE Operators
  • Identifying Summaries - GROUPING
  • GROUPING SETS Operator

Retrieving Data from Multiple Tables

  • Types of Joins
  • NATURAL JOIN
  • Table Aliases
  • Oracle Syntax - Join Conditions in WHERE Clause
  • SQL99 Syntax - INNER JOIN
  • SQL99 Syntax - LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian Product - Oracle and SQL99 Syntax

Subqueries

  • When and Where to Use Subqueries
  • Single-Row and Multi-Row Subqueries
  • Single-Row Subquery Operators
  • Aggregate Functions in Subqueries
  • Multi-Row Subquery Operators - IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • COMMIT, ROLLBACK, and SAVEPOINT Statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

  • Tree Construction (CONNECT BY PRIOR and START WITH Clauses)
  • SYS_CONNECT_BY_PATH Function

Conditional Expressions

  • CASE Expression
  • DECODE Expression

Managing Data Across Different Time Zones

  • Time Zones
  • TIMESTAMP Data Types
  • Differences Between DATE and TIMESTAMP
  • Conversion Operations

Analytic Functions

  • Usage Overview
  • Partitions
  • Windows
  • Rank Functions
  • Reporting Functions
  • LAG/LEAD Functions
  • FIRST/LAST Functions
  • Reverse Percentile Functions
  • Hypothetical Rank Functions
  • WIDTH_BUCKET Functions
  • Statistical Functions

Requirements

There are no specific prerequisites for attending this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories