Get in Touch
 Duration 21 hours

Course Outline

Extracting Data from Databases

  • Understanding syntax rules
  • Retrieving all columns
  • Applying projection
  • Performing arithmetical operations in SQL
  • Using column aliases
  • Working with literals
  • Concatenating values

Filtering Result Sets

  • Utilizing the WHERE clause
  • Employing comparison operators
  • Using the LIKE condition
  • Applying the BETWEEN...AND condition
  • Checking for NULL values with IS NULL
  • Using the IN condition
  • Combining conditions with AND, OR, and NOT operators
  • Constructing multiple conditions within the WHERE clause
  • Understanding operator precedence
  • Removing duplicates with 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
  • Using character, numeric, and DateTime functions
  • Understanding explicit and implicit conversion
  • Applying conversion functions
  • Nesting functions
  • Using the Dual table (differences between Oracle and other databases)
  • Retrieving current date and time using various functions

Aggregating Data with Aggregate Functions

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

Retrieving Data from Multiple Tables

  • Exploring different types of joins
  • Using NATURAL JOIN
  • Defining table aliases
  • Oracle syntax - specifying join conditions in the WHERE clause
  • SQL99 syntax - INNER JOIN
  • SQL99 syntax - LEFT, RIGHT, and FULL OUTER JOINS
  • Cartesian product - comparing Oracle and SQL99 syntax

Subqueries

  • Determining when and where to use subqueries
  • Differentiating single-row and multi-row subqueries
  • Using single-row subquery operators
  • Incorporating aggregate functions in subqueries
  • Multi-row subquery operators - IN, ALL, ANY

Set Operators

  • UNION
  • UNION ALL
  • INTERSECT
  • MINUS/EXCEPT

Transactions

  • Managing COMMIT, ROLLBACK, and SAVEPOINT statements

Other Schema Objects

  • Sequences
  • Synonyms
  • Views

Hierarchical Queries and Sampling

  • Constructing trees using CONNECT BY PRIOR and START WITH clauses
  • Utilizing the SYS_CONNECT_BY_PATH function

Conditional Expressions

  • Using the CASE expression
  • Using the DECODE expression

Managing Data Across Time Zones

  • Understanding time zones
  • Working with TIMESTAMP data types
  • Differences between DATE and TIMESTAMP
  • Performing conversion operations

Analytic Functions

  • Practical applications
  • Partitions
  • Windows
  • Ranking functions
  • Reporting functions
  • LAG/LEAD functions
  • FIRST/LAST functions
  • Reverse percentile functions
  • Hypothetical ranking functions
  • WIDTH_BUCKET functions
  • Statistical functions

Requirements

No prior specific prerequisites are required to participate in this course.

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories