Logo IBM Black

DB2 SQL Workshop for Experienced Users


Inhalt des Trainings

This course teaches you how to make use of advanced SQL techniques to access DB2 databases in different environments. This course is appropriate for customers working in all DB2 environments, specifically for z/OS, Linux, UNIX, and Windows.

Training Paths that reference this course are:
  • Data Servers Cross Product Overview
  • DB2 for z/OS
  • Zielgruppen

    • This intermediate course is for experienced SQL end users, application programmers, database administrators, and user support staff who need more advanced knowledge of SQL.


    • coding and executing basic SQL statements.
    • These skills can be developed by attending


    1. Introduction Identify the purpose of the clauses in the SELECT statement
      1. Describe the key differences among the IBM DB2 platforms
      2. Describe and use some of the OLAP features of DB2, such as GROUPING functions like CUBE and ROLLUP, and the RANK, DENSE_RANK and ROW_NUMBER functions
    2. Create Objects Code statements to: Create tables and views, Alter tables, Create indexes, Implement referential integrity (RI), and Define triggers and check constraints
      1. Identify impacts and advantages of referential integrity, including impacts of delete rules
      2. Identify considerations when using triggers and check constraints
      3. Define and make use of INSTEAD OF triggers
    3. Join Retrieve data from more than one table via inner and outer joins
      1. Use outer joins (LEFT, RIGHT, FULL)
      2. Use ANTI JOINS
      3. Join a table to itself
      4. Use UNION and UNION ALL
      5. Use EXCEPT and INTERCEPT
    4. CASE, CAST, Summary Tables, and Materialized Query Tables Identify when CASE expressions can be used
      1. Code CASE expressions in SELECT list and in the WHERE clause
      2. Identify when CAST specifications can be used
      3. Identify the advantages of using Summary (Materialized Query) Tables and Temporary tables
      4. Identify the advantages of using Materialized Query Tables (MQTs) Identify when and how to use Temporary tables
    5. Using Subqueries Code subqueries using the ALL, ANY/SOME, and EXISTS keywords
      1. Code correlated subqueries
      2. Choose the proper type of subquery to use in each case
    6. Scalar Functions Extend your knowledge of scalar functions which: Manipulate arithmetic data, Manipulate date values, and Manipulate character data
      1. Examples of scalar functions that are addressed in this course: SUBSTR
      2. POSSTR
      4. DECIMAL
      5. ROUND
      6. DIGITS
      7. CHAR
      8. DATE/TIME
    7. Table Expressions and Recursive SQL Identify reasons for using table expressions and recursive SQL
      1. Use nested and common table expressions
      2. Identify the difference between views and table expressions
      3. Code recursive SQL
      4. Control the depth of recursion when coding recursive SQL
    8. UDTs/UDFs and Performance Describe the concepts behind User-Defined Types, User-Defined Functions and Stored Procedures
      1. Predict when queries will use indexes to get better performance
      2. Identify concepts of predicate processing
      3. State introductory concepts about index structure
      4. State general best practices advice


    Jetzt online buchen

    • 22.05.-24.05.2023 22.05.2023 3 Tage 3T Wien Online
      • Präsenz  2.560,-

        Vor-Ort im Trainingszentrum

        • Ihr ILT Training (Instructor Led Training)
        • Trainingsunterlagen, Teamwork, Labs
        • Verpflegung vor Ort
        • Training-Services
      • Online  2.560,-

        Virtual Classroom

        • Online Training – aber live beim Training dabei
        • Keine Anfahrt ins Trainingszentrum notwendig
        • Online Support und Hotline
        • ETC-Services

    Preise exkl. MwSt.

    Sie haben Fragen?

    Ihr ETC Support

    Kontaktieren Sie uns!

    +43 1 533 1777-99