Get in Touch
 Duration 21 hours

Course Outline

Extracting Data from Databases

  • Foundational syntax rules
  • Retrieving all columns
  • Data projection techniques
  • Performing arithmetic operations in SQL
  • Defining column aliases
  • Handling literals
  • String concatenation

Refining Result Sets

  • Implementing the WHERE clause
  • Utilizing comparison operators
  • Applying the LIKE condition
  • Using the BETWEEN...AND condition
  • Handling NULL values with the IS NULL condition
  • Filtering with the IN condition
  • Combining conditions with AND, OR, and NOT
  • Constructing complex multi-condition WHERE clauses
  • Understanding operator precedence
  • Eliminating duplicates with the DISTINCT clause

Ordering Query Results

  • Applying the ORDER BY clause
  • Sorting by multiple columns or calculated expressions

Leveraging SQL Functions

  • Distinguishing between single-row and multi-row functions
  • Working with character, numeric, and DateTime functions
  • Understanding explicit and implicit data conversion
  • Using dedicated conversion functions
  • Nesting functions within queries
  • Utilizing the Dual table (Oracle vs. other database systems)
  • Retrieving the current date and time using various functions

Aggregating Data with Functions

  • Overview of aggregate functions
  • Handling NULL values in aggregation
  • Using the GROUP BY clause
  • Grouping by multiple columns
  • Filtering aggregated results with the HAVING clause
  • Performing multidimensional grouping with ROLLUP and CUBE operators
  • Identifying summary rows using the GROUPING function
  • Defining custom grouping with the GROUPING SETS operator

Querying Multiple Tables

  • Exploring different types of joins
  • Using NATURAL JOIN
  • Implementing table aliases
  • Oracle-specific syntax: join conditions in the WHERE clause
  • SQL99 syntax: INNER JOIN
  • SQL99 syntax: LEFT, RIGHT, and FULL OUTER JOINS
  • Understanding Cartesian products in Oracle and SQL99

Implementing Subqueries

  • Determining when and where to use subqueries
  • Distinguishing between single-row and multi-row subqueries
  • Operators for single-row subqueries
  • Using aggregate functions within subqueries
  • Multi-row subquery operators: IN, ALL, and ANY

Combining Query Results with Set Operators

  • Using UNION
  • Using UNION ALL
  • Using INTERSECT
  • Using MINUS or EXCEPT

Managing Transactions

  • Executing COMMIT, ROLLBACK, and SAVEPOINT statements

Working with Other Schema Objects

  • Creating and using Sequences
  • Managing Synonyms
  • Building Views

Hierarchical Queries and Sampling

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

Using Conditional Expressions

  • Implementing the CASE expression
  • Using the DECODE expression

Handling Data Across Time Zones

  • Understanding time zone concepts
  • Working with TIMESTAMP data types
  • Distinguishing between DATE and TIMESTAMP types
  • Performing time zone conversion operations

Mastering Analytic Functions

  • Overview of usage scenarios
  • Defining Partitions
  • Configuring Windows
  • Using Rank functions
  • Applying Reporting functions
  • Leveraging LAG and LEAD functions
  • Using FIRST and LAST functions
  • Employing Reverse percentile functions
  • Utilizing hypothetical rank functions
  • Applying WIDTH_BUCKET functions
  • Using Statistical functions

Requirements

Participants do not need any prior specific prerequisites to attend this course.

Number of participants


Price per participant (excl. VAT)

Testimonials (7)

Upcoming Courses

Related Categories