Get in Touch

Course Outline

Extracting Data from Databases

  • Syntax conventions
  • Selecting all columns
  • Projection techniques
  • Performing arithmetic operations in SQL
  • Column aliases
  • Literals
  • Concatenation methods

Filtering Result Sets

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

Sorting Result Sets

  • Using the 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 data conversion
  • Conversion functions
  • Nested functions
  • The DUAL table (Oracle vs. 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 using the HAVING clause
  • Multidimensional data grouping with ROLLUP and CUBE operators
  • Identifying summaries with GROUPING
  • The GROUPING SETS operator

Retrieving Data from Multiple Tables

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

Subqueries

  • When and where subqueries can be applied
  • 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

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Examples

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

Conditional Expressions

  • CASE expression
  • DECODE expression

Data Management Across Time Zones

  • Understanding time zones
  • TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Conversion operations

Analytic Functions

  • Usage of analytic functions
  • Partitions
  • Windows
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Inverse percentile functions
  • Hypothetical ranking 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