User has successfully saved/updated preferences. Navigate to Dashboard

DB2 SQL Workshop for Experienced Users

Overview

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.

Audience

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

Prerequisites

You should have experience with:

  • coding and executing basic SQL statements.

These skills can be developed by attending

  • SQL Workshop (CE120), or equivalent experience.

Key topics

Introduction

  • Identify the purpose of the clauses in the SELECT statement
  • Describe the key differences among the IBM DB2 platforms
  • 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

Create Objects

  • Code statements to: Create tables and views, Alter tables, Create indexes, Implement referential integrity (RI), and Define triggers and check constraints
  • Identify impacts and advantages of referential integrity, including impacts of delete rules
  • Identify considerations when using triggers and check constraints
  • Define and make use of INSTEAD OF triggers

Join

  • Retrieve data from more than one table via inner and outer joins
  • Use outer joins (LEFT, RIGHT, FULL)
  • Use ANTI JOINS
  • Join a table to itself
  • Use UNION and UNION ALL
  • Use EXCEPT and INTERCEPT

CASE, CAST, Summary Tables, and Materialized Query Tables

  • Identify when CASE expressions can be used
  • Code CASE expressions in SELECT list and in the WHERE clause
  • Identify when CAST specifications can be used
  • Identify the advantages of using Summary (Materialized Query) Tables and Temporary tables
  • Identify the advantages of using Materialized Query Tables (MQTs)
    • Identify when and how to use Temporary tables

Using Subqueries

  • Code subqueries using the ALL, ANY/SOME, and EXISTS keywords
  • Code correlated subqueries
  • Choose the proper type of subquery to use in each case

Scalar Functions

  • Extend your knowledge of scalar functions which: Manipulate arithmetic data, Manipulate date values, and Manipulate character data
  • Examples of scalar functions that are addressed in this course:
    • SUBSTR
    • POSSTR
    • COALESCE/VALUE
    • DECIMAL
    • ROUND
    • DIGITS
    • CHAR
    • DATE/TIME

Table Expressions and Recursive SQL

  • Identify reasons for using table expressions and recursive SQL
  • Use nested and common table expressions
  • Identify the difference between views and table expressions
  • Code recursive SQL
  • Control the depth of recursion when coding recursive SQL

UDTs/UDFs and Performance

  • Describe the concepts behind User-Defined Types, User-Defined Functions and Stored Procedures
  • Predict when queries will use indexes to get better performance
  • Identify concepts of predicate processing
  • State introductory concepts about index structure
  • State general best practices advice

Objectives

  • Discuss basic relational database concepts
  • Use some of the OLAP features of DB2, such as GROUPing and RANKing functions
  • Create tables, views and indexes
  • Use referential integrity, check constraints and triggers
  • Use outer joins, and join tables to themselves
  • Use CASE expressions, and the CAST function
  • Identify the impact of Summary Tables, Materialized Query Tables, and temporary tables
  • Use complex subqueries
  • Use a greater number of scalar SQL functions
  • Use advanced SQL constructs, such as recursive SQL and table expressions
  • Define User-Defined Distinct Types and User-Defined Functions
  • Avoid several of the most common causes for poorly-performing SQL

Related Articles:

IBM Training Blog:

Enroll

You can enroll in an instructor-led classroom at different geographic locations, instructor-led online course in any timezone or a self-paced online course.

Delivery Type

Enrollment Results:

City:

Language:

Start date on / after:

Partner:

Guaranteed to Run (GTR):

Start Date My Time Zone GTR Country City Duration Delivery Type Language Partner Action
Poland Warszawa 20 Hours Instructor-led Classroom Polish TechData Inc.

Enroll



Skip Sign in

Belgium Ternat (Brussel) 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

Italy Roma 20 Hours Instructor-led Classroom Italian TechData Inc.

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

Australia Mel 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Germany München 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Switzerland Rotkreuz 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

Germany Berlin 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

France Paris 24 Hours Instructor-led Classroom French Arrow ECS

Enroll



Skip Sign in

United Kingdom London 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Colombia Colombia 24 Hours Instructor-led Classroom Spanish Global Knowledge

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Germany Leinfelden-Echterdingen 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Switzerland Rotkreuz 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Switzerland Brüttisellen / Zürich 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Switzerland Genève 20 Hours Instructor-led Classroom French TechData Inc.

Enroll



Skip Sign in

Germany Krefeld 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Colombia Colombia 24 Hours Instructor-led Classroom Spanish Global Knowledge

Enroll



Skip Sign in

Netherlands Naarden 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Chile Chile 24 Hours Instructor-led Classroom Spanish Global Knowledge

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Germany Eschborn 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

Switzerland Basel 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Switzerland Brüttisellen / Zürich 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Italy San Giuliano M.se 20 Hours Instructor-led Classroom Italian TechData Inc.

Enroll



Skip Sign in

Belgium Ternat (Brussel) 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

India Pune 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Germany Frankfurt am Main 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

United Kingdom London 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Australia Syd 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

Mexico Mexico 24 Hours Instructor-led Classroom Spanish Global Knowledge

Enroll



Skip Sign in

United Kingdom Bracknell 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Italy Milano 20 Hours Instructor-led Classroom Italian Arrow ECS/Fast Lane

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Switzerland 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Australia Syd 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

Germany Garching 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

Poland Warszawa 20 Hours Instructor-led Classroom Polish TechData Inc.

Enroll



Skip Sign in

Germany Frankfurt 24 Hours Instructor-led Classroom German Global Knowledge/Integrata AG

Enroll



Skip Sign in

Germany Münster 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

Switzerland Bern 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Switzerland Genève 20 Hours Instructor-led Classroom French TechData Inc.

Enroll



Skip Sign in

Germany Stuttgart 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Singapore Singapore 24 Hours Instructor-led Classroom English Ingram Micro/Trainocate

Enroll



Skip Sign in

Germany Hamburg 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Germany Düsseldorf 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

France Paris 24 Hours Instructor-led Classroom French Global Knowledge

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

Switzerland Rotkreuz 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Netherlands Naarden 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

France Paris 24 Hours Instructor-led Classroom French Arrow ECS

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Singapore Singapore 24 Hours Instructor-led Classroom English Ingram Micro/Trainocate

Enroll



Skip Sign in

Italy San Giuliano M.se 20 Hours Instructor-led Classroom Italian TechData Inc.

Enroll



Skip Sign in

Germany Hamburg 20 Hours Instructor-led Classroom German Arrow ECS/Fast Lane

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Italy Roma 20 Hours Instructor-led Classroom Italian TechData Inc.

Enroll



Skip Sign in

Poland Warszawa 20 Hours Instructor-led Classroom Polish TechData Inc.

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

United Kingdom London 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Italy Milano 20 Hours Instructor-led Classroom Italian Arrow ECS/Fast Lane

Enroll



Skip Sign in

Germany Düsseldorf 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Germany Berlin 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Germany Dietzenbach 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Italy Roma 20 Hours Instructor-led Classroom Italian Arrow ECS/Fast Lane

Enroll



Skip Sign in

Australia Mel 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

Netherlands Naarden 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

United Kingdom Bracknell 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Germany Hamburg 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

India Hyderabad 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Australia Syd 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

India Gurgaon 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Switzerland Genève 20 Hours Instructor-led Classroom French TechData Inc.

Enroll



Skip Sign in

France RUEIL MALMAISON 20 Hours Instructor-led Classroom French TechData Inc.

Enroll



Skip Sign in

Peru Peru 24 Hours Instructor-led Classroom Spanish Global Knowledge

Enroll



Skip Sign in

Italy Roma 20 Hours Instructor-led Classroom Italian Arrow ECS/Fast Lane

Enroll



Skip Sign in

Belgium Ternat (Brussel) 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Switzerland Geneve 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

United Kingdom Bracknell 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Poland Warszawa 20 Hours Instructor-led Classroom Polish TechData Inc.

Enroll



Skip Sign in

Switzerland Rotkreuz 20 Hours Instructor-led Classroom German TechData Inc.

Enroll



Skip Sign in

Switzerland Genève 20 Hours Instructor-led Classroom French TechData Inc.

Enroll



Skip Sign in

Germany Holzgerlingen 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

Australia Mel 24 Hours Instructor-led Classroom English Global Knowledge/Digital Revolver PTY LTD

Enroll



Skip Sign in

Germany Berlin 24 Hours Instructor-led Classroom German Global Knowledge/Integrata AG

Enroll



Skip Sign in

United Kingdom London 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

Austria Wien 20 Hours Instructor-led Classroom German Arrow ECS/Esciris

Enroll



Skip Sign in

India Bangalore 20 Hours Instructor-led Classroom English Arrow ECS/Amstar

Enroll



Skip Sign in

Hungary Budapest 20 Hours Instructor-led Classroom Hungarian TechData Inc.

Enroll



Skip Sign in

United Kingdom Bracknell 20 Hours Instructor-led Classroom English TechData Inc.

Enroll



Skip Sign in

 20 HoursSelf-paced Virtual CourseEnglishTechData Inc.

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineEnglishArrow ECS

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineSpanishGlobal Knowledge

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishTechData Inc./ExitCertified

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineSpanishGlobal Knowledge

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishTechData Inc./ExitCertified

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishIngram Micro

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishIngram Micro

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineFrenchGlobal Knowledge

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineSpanishGlobal Knowledge

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineFrenchArrow ECS

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineFrenchArrow ECS

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishTechData Inc./ExitCertified

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineSpanishGlobal Knowledge

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

 24 HoursInstructor-led OnlineSpanishGlobal Knowledge

Enroll



Skip Sign in

 20 HoursInstructor-led OnlineEnglishArrow ECS/Amstar

Enroll



Skip Sign in

Name / Last Name: null
Course code: CE131G
Course title: DB2 SQL Workshop for Experienced Users

Upon submission of the enrollment request, the status will be pended. The enrollment request will be reviewed by the brand focal. Once approved, you will receive an email with the information and instructions to access the content.

Personal Information Consent for IBM Training and Skills

Business Partner Enrollment Privacy Statement


IBM Training and Skills processes the personal information to operate, maintain and provide you with features and functions that enhance the learning experience. We, at IBM, use aggregated metrics such as number of students, unique visit to site and pattern of usage to improve content and usability as well as progress reports limited to our internal brands to understand consumption of their content, any data contained in these reports is not viewable outside of IBM.


As a business partner, when enrolling in an IBM self-paced virtual classroom course or a web based training course offered at no cost, the brand admin may track your enrolment, completion, and periodically communicate with you about your progress status using the following information:

  • Your Name, Email address, and Company name, CE ID, Country

We will not use your information to send you e-mails:

  • Training and course related notices (including notices from instructor, system related notices about assignments and notifications from course related blogs and wikis).
  • Courses that may be of interest to you.
  • If you open a support ticket with the IBM Training and Skills Helpdesk, then we may contact you via email, we may retain the content of your email messages, your email address and our responses. All Personal information is held for three/3 years (name, email address, completion records), including the content of mail correspondence.

For additional information regarding IBM processing of Personal Information refer to IBM’s Online Privacy Statement:

https://www.ibm.com/privacy/details/us/en/


****FOR EU citizens****


Right to access to the stored data
If you want to request access to your data and make sure that they are accurate and lawfully entered, please send an e-mail to clmshelp@us.ibm.com with the subject line Request Access to the stored data


Right to Data portability
You have the right to receive the personal data concerning you, which you have provided, in a structured, commonly used and machine-readable format and you have the right to transmit those data to another service provider without hindrance.


Data Erasure (Right to be forgotten)
If you want to request erasure of personal data concerning you (i.e. there is no need for processing your personal data), please send an e-mail to clmshelp@us.ibm.com with the subject line Request Data Erasure


Data Rectification
If you want to request rectification in case there are inaccurate personal data (i.e. incomplete personal data). please send an e-mail to clmshelp@us.ibm.com with the subject line Request Data Rectification


Objection to the processing
On grounds relating to your particular situation, at any time the processing of personal data concerning you, including profiling you can object at any time by sending a mail to clmshelp@us.ibm.com with the subject line Request Objection to the processing


Right to lodge a complaint with a supervisory authority
You have the right to lodge a complaint with a supervisory authority, in particular in the EU Member State of your habitual residence, place of work or place of the alleged infringement if you considers that the processing of personal data relating to you infringes the EU GDPR Regulation.

 

Withdrawal of Consent


If you choose to withdraw your consent for this site we will remove all your information. Removal of your information includes removal of access to the site, your training records, scores, and transcripts will be deleted.


Once records are deleted it will not be possible to restore them or provide any training history.


Please click I AGREE to confirm your agreement of the processing purposes noted above, including the sharing of your name, email address, and badge information with Person VUE Acclaim for the purpose of badge administration.