Db2 SQL for Experienced Users

Training Summary
This course focuses on best practices for proper design, coding and maintenance techniques. Students will discuss creation of tables, views and indexes. They will identify advantages of RI, including impacts of delete rules, check constraints and triggers. They will code complex joins and subqueries. They will use CASE and CAST functions, as well as a number of scalar SQL functions. They will understand the use of User-Defined Data Types and User-Defined Functions. They will code advanced SQL constructs, such as recursive SQL and table expressions. Students will also identify the impact of Materialized Query Tables (MQTs), as well as temporary Global tables. They will use some of the OLAP features of Db2 , such as GROUPing, and RANKing functions. This course includes features up to and including version 13 of Db2 for z/OS.
  • Experience coding and executing basic SQL statements
  • Db2 file structures
3 Days/Lecture & Lab
Programmers, programmer/analysts and DBAs who need more advanced knowledge of SQL.
Course Topics
  • Db2 Overview and Storage Concepts
  • Referential Integrity
  • Creating Db2 Objects using DDL
  • Using JOIN to retrieve data from more than one table
  • Using Subqueries
  • CASE, CAST, MQTs and Temporary Tables
  • Scalar Functions and OLAP Functions
  • Nested and Common Table Expressions
  • UDTs/UDFs

Related Scheduled Courses