DB2 SQL Workshop for Experienced Users

DB2 SQL Workshop for Experienced Users Course Description

Duration: 3.00 days (24 hours)

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.

Next Class Dates

Contact us to customize this class with your own dates, times and location. You can also call 1-888-563-8266 or chat live with a Learning Consultant.

Back to Top

Intended Audience for this DB2 SQL Workshop for Experienced Users Course

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

Back to Top

Course Prerequisites for DB2 SQL Workshop for Experienced Users

  • » You should have experience with coding and executing basic SQL statements.

Back to Top

DB2 SQL Workshop for Experienced Users Course 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

Back to Top

DB2 SQL Workshop for Experienced Users Course Outline

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

Back to Top

Do you have the right background for DB2 SQL Workshop for Experienced Users?

Skills Assessment

We ensure your success by asking all students to take a FREE Skill Assessment test. These short, instructor-written tests are an objective measure of your current skills that help us determine whether or not you will be able to meet your goals by attending this course at your current skill level. If we determine that you need additional preparation or training in order to gain the most value from this course, we will recommend cost-effective solutions that you can use to get ready for the course.

Our required skill-assessments ensure that:

  1. All students in the class are at a comparable skill level, so the class can run smoothly without beginners slowing down the class for everyone else.
  2. NetCom students enjoy one of the industry's highest success rates, and pass rates when a certification exam is involved.
  3. We stay committed to providing you real value. Again, your success is paramount; we will register you only if you have the skills to succeed.
This assessment is for your benefit and best taken without any preparation or reference materials, so your skills can be objectively measured.

Take your FREE Skill Assessment test »

Back to Top

Award winning, world-class Instructors

Our instructors are passionate at teaching and are experts in their respective fields. Our average NetCom instructor has many, many years of real-world experience and impart their priceless, valuable knowledge to our students every single day. See our world-class instructors.   See more instructors...

Back to Top

Client Testimonials & Reviews about their Learning Experience

We are passionate in delivering the best learning experience for our students and they are happy to share their learning experience with us.
Read what students had to say about their experience at NetCom.   Read student testimonials...

Back to Top