Get in Touch

Course Outline

Selecting data from database

  • Syntax rules
  • Selecting all columns
  • Projection
  • Arithmetical operations in SQL
  • Column aliases
  • Literals
  • Concatenation

Filtering outcome tables

  • WHERE clause
  • Comparison operators
  • LIKE condition
  • BETWEEN...AND condition
  • IS NULL condition
  • IN condition
  • AND, OR, NOT operators
  • Applying multiple conditions in the WHERE clause
  • Operator precedence
  • DISTINCT clause

Sorting outcome tables

  • 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)
  • Retrieving the current date and time using various functions

Aggregating data using aggregate functions

  • Aggregate functions
  • Aggregate functions vs NULL values
  • GROUP BY clause
  • Grouping by different columns
  • Filtering aggregated data with the HAVING clause
  • Multidimensional data grouping with ROLLUP and CUBE operators
  • Identifying summaries using GROUPING
  • GROUPING SETS operator

Retrieving data from multiple tables

  • Different 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 product: Oracle and SQL99 syntax

Subqueries

  • When and where subqueries can be used
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Aggregate functions in 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 samples

  • Tree construction using CONNECT BY PRIOR and START WITH clauses
  • SYS_CONNECT_BY_PATH function

Conditional expressions

  • CASE expression
  • DECODE expression

Data management across different time zones

  • Time zones
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Conversion operations

Analytic functions

  • Usage
  • Partitions
  • Windows
  • Rank functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical rank functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No specific prerequisites are required to attend this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories