ibm 2024
8351  Reviews star_rate star_rate star_rate star_rate star_half

IBM Db2 12: SQL Workshop for Experienced Users

This IBM Self-Paced Virtual Class (SPVC) includes: - PDF course guide available to attendee during and after course - Lab environment where students can work through demonstrations and exercises at...

Read More
$1,125 USD
Duration 1.5 days
Course Code 2LA32G-SPVC
Available Formats Self Paced

Overview

This IBM Self-Paced Virtual Class (SPVC) includes:
- PDF course guide available to attendee during and after course
- Lab environment where students can work through demonstrations and exercises at their own pace

This course covers fundemental and advanced SQL techniques for efficient data management, optimization, and analytics in Db2 12. Participants will learn how to navigate the Db2 system catalog and explore query performance optimization techniques, including indexing strategies, predicate pushdown, and query access plans to improve efficiency.

The course also introduces advanced SQL functions, such as LISTAGG, PERCENTILE_CONT, and PERCENTILE_DISC. Participants will learn how to create and manage database objects and gain expertise in utilizing advanced join techniques such as inner and outer joins, hash joins, lateral joins, and set operators like UNION, INTERSECT, and EXCEPT to merge and analyze data from multiple tables.

The course also covers the use of subqueries and query optimization techniques, including correlated subqueries, EXISTS/NOT EXISTS, and quantified predicates to enhance data retrieval efficiency. 

Through hands-on exercises and real-world scenarios, they will develop the skills necessary to handle large datasets efficiently and implement best practices for high-performance database management.

Skills Gained

After completing this course, learners should be able to:

  • Demonstrate the use of OLAP ranking functions (RANK, DENSE_RANK, ROW_NUMBER) to analyze and order query results
  • Optimize queries with expression-based indexes for computed values
  • Utilize set operators like UNION, EXCEPT, and INTERSECT for advanced data merging
  • Leverage summary tables and MQTs to precompute and store aggregated data
  • Apply EXISTS, NOT EXISTS IN, IN, and NOT IN predicates for conditional data retrieval
  • Perform numeric and mathematical operations, including logarithmic, exponential, and trigonometric calculations
  • Implement recursive SQL to process hierarchical relationships
  • Leverage ARRAY data types to pass structured lists of values within SQL queries and procedures
  • Analyze and optimize SQL execution plans with EXPLAIN and VISUAL EXPLAIN

Who Can Benefit

This course is ideal for database administrators, SQL developers, and data analysts who have prior experience with SQL and wish to enhance their Db2 v12 expertise. This course is appropriate for customers working in Db2 environments for Linux, UNIX, and Windows.

Prerequisites

Before taking this course, participants should:

  • Be able to discuss basic Relational Database concepts
  • Be able to code basic SQL statements 

OR

  • Have completed the SQL Workshop course (CLA22G or 2LA22G)

Course Details

Unit 1: SQL Introduction

  • Describe the structure and purpose of Db2 v12, including its system catalog, database organization, and key SQL components
  • Explain how Db2 catalogs and system tables store metadata, and how they can be queried for database object information
  • Demonstrate the use of OLAP ranking functions (RANK, DENSE_RANK, ROW_NUMBER) to analyze and order query results

Unit 2: Create Objects

  • Create and modify tables, columns, and constraints
  • Use generated columns to automate calculations and reduce dependency on triggers
  • Optimize queries with expression-based indexes for computed values
  • Implement referential integrity, check constraints, and triggers for enforcing business rules
  • Leverage views and materialized query tables to simplify data access and reporting

Unit 3: JOIN

  • Use inner and outer joins to retrieve related data across tables
  • Optimize query performance with hash joins for large datasets
  • Leverage lateral joins for more flexible row-by-row processing
  • Perform self-joins to analyze hierarchical or recursive relationships
  • Utilize set operators like UNION, EXCEPT, and INTERSECT for advanced data merging

Unit 4: CASE, CAST, Summary (Materialized Query) Tables, and Temporary Tables

  • Use CASE expressions to apply conditional logic within queries
  • Perform data type conversions using CAST
  • Leverage summary tables and MQTs to precompute and store aggregated data
  • Implement temporary tables and SGTTs to handle intermediate results

Unit 5: Using Subqueries

  • Use basic subqueries to filter and retrieve data dynamically
  • Leverage correlated subqueries for row-dependent queries
  • Apply EXISTS, NOT EXISTS, IN,  and NOT IN predicates for conditional data retrieval
  • Utilize LATERAL subqueries to execute row-by-row subqueries for sequential logic processing
  • Optimize query performance by structuring subqueries efficiently

Unit 6: Scalar Functions

  • Use string functions to extract, modify, and format text data
  • Perform numeric and mathematical operations, including logarithmic, exponential, and trigonometric calculations
  • Apply LISTAGG to concatenate multiple row values into a single string
  • Work with data and time functions to extract, manipulate, and format timestamps

Unit 7: Table Expressions and Recursive SQL

  • Use nested table expressions to create temporary result sets for complex queries
  • Leverage common table expressions (CTEs) for modular and reusable SQL structures
  • Implement recursive SQL to process hierarchical relationships
  • Apply performance optimization techniques to improve efficiency in recursive queries

Unit 8: An Introduction to UDTs / UDFs and Stored Procedures

  • Define User-Defined Distinct Types (UDTs) to create custom data types for specialized business needs
  • Implement User-Defined Functions (UDFs)
  • Utilize stored procedures to encapsulate complex database logic for performance efficiency
  • Leverage ARRAY data types to pass structured lists of values within SQL queries and procedures

Unit 9: SQL and Db2 Performance

  • Use indexes, clustering, and predicate pushdown
  • Analyze and optimize SQL execution plans with EXPLAIN and VISUAL EXPLAIN
  • Improve filtering and sorting performance using predicate processing techniques
  • Leverage RUNSTATS enhancements to ensure up-to-date statistics for query optimization

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

The class and material is good. I think some of the software needs to be updated.

This was a good program to get prepared for the solutions architect associate exam.

This course gave me a clearer understanding of the AWS cloud architecture.

Class was easy to sign up for and ExitCertified provided very good communication

I thought the course was informative and the tools to go over the material were very nice.