Get in Touch

Course Outline

Data Selection from Databases

  • Syntax fundamentals
  • Selecting all columns
  • Projection
  • Arithmetic operations in SQL
  • Column aliases
  • Literals
  • Concatenation

Filtering Result Sets

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

Sorting Result Sets

  • Using 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
  • Nested functions
  • The DUAL table (Oracle vs. other databases)
  • Retrieving current date and time using various functions

Aggregating Data

  • Overview of aggregate functions
  • Behavior of aggregate functions with NULL values
  • Using the GROUP BY clause
  • Grouping by various columns
  • Filtering aggregated results with the HAVING clause
  • Multidimensional grouping using ROLLUP and CUBE operators
  • Identifying summary rows with GROUPING
  • Using the GROUPING SETS operator

Retrieving Data from Multiple Tables

  • Overview of different join types
  • 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 in Oracle and SQL99 syntax

Subqueries

  • Appropriate contexts for using subqueries
  • 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

  • Statements: COMMIT, ROLLBACK, and SAVEPOINT

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
  • Key differences between DATE and TIMESTAMP
  • Conversion operations

Analytic Functions

  • Application of analytic functions
  • 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 prior specific requirements are necessary to enroll in this course.

 21 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories