Get in Touch

Course Outline

Extracting Data from Databases

  • Syntactic rules
  • Retrieving all columns
  • Projection
  • Performing arithmetical operations in SQL
  • Assigning column aliases
  • Using literals
  • String concatenation

Filtering Result Sets

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

Sorting Result Sets

  • Utilizing 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 and implicit data conversion
  • Conversion functions
  • Nested function usage
  • The Dual table (differences in Oracle vs. other databases)
  • Retrieving current date and time using various functions

Aggregating Data with Aggregate Functions

  • Overview of aggregate functions
  • Handling NULL values in aggregate functions
  • The GROUP BY clause
  • Grouping data using different columns
  • Filtering aggregated data with the HAVING clause
  • Multidimensional data grouping using ROLLUP and CUBE operators
  • Identifying summaries with GROUPING
  • The GROUPING SETS operator

Retrieving Data from Multiple Tables

  • Types of joins
  • NATURAL JOIN
  • Using table aliases
  • Oracle syntax: join conditions in the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product in Oracle and SQL99 syntax

Subqueries

  • Placement and usage of subqueries
  • Single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • COMMIT, ROLLBACK, and SAVEPOINT statements

Additional Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Samples

  • Building tree structures (CONNECT BY PRIOR and START WITH clauses)
  • The SYS_CONNECT_BY_PATH function

Conditional Expressions

  • CASE expressions
  • DECODE expressions

Data Management Across Time Zones

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

Analytic Functions

  • Application and 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