icon icon

Oracle SQL – analytical functions and Oracle database programming

icon

Training process

Training needs analysis

If you have specific requirements regarding the training programme, we will carry out a training needs analysis for you. This will guide us on which aspects of the programme should receive greater emphasis, so that the training programme meets your specific needs.

What will you gain?

icon

Accurate data joins - You will learn how to choose the right join type for each task, so you can combine data from multiple tables more reliably and avoid common mistakes in query results.

icon

Advanced aggregations - You will master rollup, cube, grouping, and grouping sets, which will help you build richer summaries and reports without writing many separate queries.

icon

Confident set operations - You will see when to use UNION, UNION ALL, MINUS, and INTERSECT to compare result sets, merge data, and handle common analytical tasks more efficiently.

icon

Stronger subqueries and CTEs - You will practice correlated, scalar, and multirow subqueries along with the WITH clause, so your SQL becomes clearer, more modular, and easier to maintain.

icon

More efficient data work - You will learn how indexes, integrity constraints, MERGE, and multitable INSERT work, so you can modify data faster and keep database structures more consistent.

icon

Analysis with window functions - You will use OVER(), RANK, ROW_NUMBER, DENSE_RANK, LEAD, and LAG to create rankings, Top-N analyses, and row-by-row comparisons for real reporting scenarios.

icon

Advanced Oracle queries - You will understand hierarchical queries, inline views, regular expressions, and date-time handling with time zones, helping you solve more demanding business cases.

icon

Safer transaction handling - You will understand transaction control, shared data issues, read anomalies, and isolation levels, so you can better predict the impact of SQL changes in real systems.

Training programme

1. Discussion of advanced techniques for joining data from multiple tables in SQL

Joining tables in advanced scenarios requires choosing syntax that matches both the relationship and the expected result shape. The material covers NATURAL JOIN, USING, ON, CROSS JOIN, outer joins, and self-joins, clarifying when each approach is appropriate.

  • natural join,
  • using,
  • on,
  • cross join,
  • left, right, full outer joins,
  • joining a table to itself.

2. Overview of aggregate operators in SQL

Aggregate reporting often requires more than a single GROUP BY level. The section develops work with ROLLUP, CUBE, GROUPING, and GROUPING SETS, including non-disjoint columns and grouping combinations used to build multi-level summaries in one query.

  • rollup,
  • cube,
  • grouping,
  • grouping sets,
  • non-disjoint columns,
  • grouping combinations.

3. Discussion of operations on data sets

Set operations allow separate query results to be combined or compared according to relational rules. Participants examine UNION, UNION ALL, MINUS, and INTERSECT, with attention to how duplicates, compatibility of result sets, and comparison logic influence outcomes.

  • Union,
  • Union all,
  • Minus,
  • Intersect.

4. Expansion of subquery topics

Beyond simple nesting, subqueries support several distinct patterns with different execution logic and use cases. This part covers multi-value and multi-row forms, correlated queries, scalar subqueries, and correlated DML used to drive conditional data changes.

  • multi-value, multi-row subqueries,
  • correlated queries,
  • scalar subqueries,
  • correlated DML.

5. Introduction to CTE (Common Table Expressions), i.e. the WITH clause

With the WITH clause, complex statements can be organized into named query blocks that improve structure and readability. The material explains Common Table Expressions as a way to separate stages of processing before they are used in the main SQL statement.

6. Discussion of inline views, i.e. subqueries

Inline views make it possible to build intermediate result sets directly inside a statement and use them as query components. The section shows how subqueries in the FROM clause help separate logic, reshape data, and simplify more complex SQL constructions.

7. Detailed explanation of hierarchical queries

Some structures are best represented through parent-child navigation rather than ordinary joins. Here the focus is on hierarchical queries, including the logic of traversing levels, identifying roots and descendants, and returning ordered tree-like result sets in Oracle SQL.

8. Integrity Constraints Overview

Data quality in relational systems depends on rules enforced at the database level. This section explains integrity constraints and their role in protecting consistency, controlling acceptable values, and preserving valid relationships between rows and tables.

9. Discussion of indexes in SQL

Indexes affect how Oracle locates rows and how efficiently queries and DML statements run. The discussion focuses on their role in access paths and performance, helping relate index usage to execution behavior rather than treating indexes as isolated objects.

10. Description of multitable INSERT operations

Instead of loading rows into one destination at a time, multitable INSERT can route data in several ways during a single operation. The training covers unconditional INSERT ALL, conditional INSERT ALL, INSERT FIRST, and pivoting patterns used for structured distribution of rows.

  • Unconditional INSERT ALL,
  • INSERT ALL with condition,
  • INSERT FIRST with condition,
  • Pivoting INSERT ALL.

11. Discussion of the MERGE command

MERGE addresses the common need to synchronize target data with a source dataset in one statement. The section explains how insert and update logic can be combined, reducing separate DML steps and making conditional data maintenance easier to manage.

12. Overview of regular expressions in SQL

Regular expressions in SQL provide precise tools for searching, validating, and transforming textual values. This part focuses on pattern-based operations that go beyond basic string functions, helping handle variable formats and more complex text conditions in queries.

13. Discussion of time data processing in SQL with consideration of time zones

Working with temporal data requires matching SQL functions to the right date and timestamp types. Attention is given to time zone-aware processing, so calculations, storage, and conversions remain consistent when data comes from different regional contexts.

  • functions,
  • data types.

14. Overview of advanced analytical functions in SQL

Analytical SQL functions enable calculations across related rows without collapsing result sets. Participants work with OVER(), Top-N analysis, ranking functions such as RANK, DENSE_RANK, and ROW_NUMBER, as well as LEAD and LAG for comparing values across rows.

  • Top-n analysis,
  • Over(),
  • Rank,
  • RowNumber,
  • DenseRank,
  • LEAD/LAG.

15. Discussion of transaction management principles in relational databases

When multiple sessions modify the same resources, transaction control determines consistency and visibility of changes. The material covers shared data issues, read anomalies, and isolation levels, showing how relational databases balance concurrency with reliable processing.

  • control,
  • shared data and read errors,
  • isolation levels.

16. Introduction to the retrospective mechanism in Oracle SQL

Oracle flashback mechanisms are introduced as a way to inspect earlier states of data without restoring backups. The section explains how retrospective querying supports analysis of past changes, error investigation, and work with historical row versions directly in SQL.

What are the prerequisites for participating in the training?

icon

SQL basics - You should be comfortable writing simple SELECT statements and using WHERE, ORDER BY, and basic GROUP BY so you can focus on genuinely advanced topics.

icon

Joins and subqueries - You should already know standard joins and simple subqueries, because the course expands these areas and does not start from a complete beginner level.

icon

Database practice - You should have hands-on experience working with relational databases and tables so you can follow examples related to analysis, DML operations, and transactions.

icon

Oracle SQL fundamentals - You should know the basic Oracle SQL syntax and be able to run queries, because the course focuses on advanced techniques and Oracle-specific extensions.