icon icon

SQL for IBM DB2 – using SQL for data analysis and increasing report generation efficiency

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

Confident DB2 navigation - You will learn how to recognize the core parts of an IBM DB2 environment, understand tables and views, and connect to the database efficiently so you can start working on your own faster.

icon

Reliable SELECT queries - You will master SELECT syntax and execution order, which will help you write correct queries and clearly understand where results come from and why errors appear.

icon

Accurate data filtering - You will use operators such as IN, BETWEEN, LIKE, and logical comparisons to narrow results faster and return exactly the records you need for a specific task.

icon

Practical SQL functions - You will work with text, numeric, date, time, and conversion functions, making it easier to prepare data for reports, clean values, and format output for business needs.

icon

Data analysis in queries - You will apply COUNT, SUM, AVG, MIN, MAX, and window functions to calculate, compare, and analyze data directly in SQL without exporting it to other tools.

icon

Combining multiple tables - You will understand the differences between INNER JOIN, OUTER JOIN, CROSS JOIN, and FULL OUTER JOIN, so you can merge data correctly and avoid misleading result sets.

icon

Merging and nesting results - You will learn to use UNION, UNION ALL, and subqueries to build more flexible SQL statements, combine result sets, and solve tasks that a single SELECT cannot handle.

icon

Creating SQL objects - You will practice CREATE, ALTER, and DROP for tables, views, and temporary tables, so you can prepare SQL objects yourself and better understand database structures at work.

Training programme

1. Introduction to databases

  • introduction to databases, 
  • SQL language divided into DQL, DML, DDL, DCL,
  • connections between SQL and the database,
  • tables and views.

2. Detailed discussion of processes related to data retrieval

  • SELECT statement,
  • order of command execution.

3. Overview of operators in SQL, including arithmetic, logical and comparison operators

  • IN,
  • BETWEEN AND,
  • LIKE,
  • =,
  • <>,
  • >=
  • <=.

4. Discussion of built-in SQL functions

  • LEFT,
  • RIGHT,
  • REPLACE,
  • UPPER,
  • LOWER,
  • ROUND,
  • date and time functions,
  • conversion functions.

5. Explanation of how to process data in databases through data transformation, modification and analysis

  • COUNT,
  • MIN,
  • MAX,
  • SUM,
  • AVG,
  • OVER,
  • PARTITION BY.

6. Detailed discussion of operations performed on tables in databases

  • INNER JOIN,
  • RIGHT OUTER JOIN,
  • LEFT OUTER JOIN,
  • CROSS JOIN,
  • FULL OUTER JOIN.

7. Overview of techniques for combining results from different tables using joins

  • UNION,
  • UNION ALL,
  • common parts.

8. Discussion of nested SQL queries

9. Explanation of the concept of SQL objects

  • tables – CREATE TABLE,
  • temporary tables,
  • views – CREATE VIEW,
  • creating objects with pure SQL code,
  • modifications of objects – ALTER,
  • deleting objects – DROP.

10. Overview of ways of communicating with the database

  • cooperation with other databases,
  • cooperation with MS Excel,
  • cooperation with Access.

What are the prerequisites for participating in the training?

icon

Computer literacy - You should be comfortable using a computer, launching applications, working with the keyboard, and copying content between windows so you can focus on SQL exercises.

icon

Basic data concepts - You should understand what records, columns, and simple data lists are so you can interpret query results more easily and follow relationships between tables.

icon

Logical thinking - You should be able to reason through conditions and relationships such as and, or, equal, and not equal, because this is essential when filtering data in SQL.

icon

Willingness to work with code - You should be ready to write and correct short text commands, because the course is based on hands-on practice with SQL queries and database objects.