Get in Touch

Course Outline

Extracting Data from Databases

  • Syntax conventions
  • Retrieving all columns
  • Projection techniques
  • Performing arithmetic operations in SQL
  • Using column aliases
  • Handling literals
  • String concatenation

Filtering Result Sets

  • The WHERE clause
  • Comparison operators
  • Using the LIKE condition
  • The BETWEEN...AND condition
  • Handling NULL values with IS NULL
  • The IN condition
  • Logical operators: AND, OR, NOT
  • Combining multiple conditions in the WHERE clause
  • Operator precedence
  • Using the DISTINCT clause

Sorting Result Sets

  • 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 versus implicit conversion
  • Conversion functions
  • Nesting functions
  • The Dual table (differences between Oracle and other databases)
  • Retrieving the current date and time using various functions

Aggregating Data with Aggregate Functions

  • Core aggregate functions
  • Handling NULL values in aggregate functions
  • The GROUP BY clause
  • Grouping by different columns
  • Filtering aggregated data with the HAVING clause
  • Multidimensional 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
  • Table aliases
  • Oracle syntax: join conditions in the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian products using Oracle and SQL99 syntax

Subqueries

  • Contexts for using subqueries
  • Single-row versus 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

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

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

Conditional Expressions

  • CASE expression
  • DECODE expression

Managing Data Across Time Zones

  • Time zone concepts
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP types
  • Conversion operations

Analytic Functions

  • Application and usage
  • Partitions
  • Windows
  • Ranking 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 required to enroll in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories