The Advanced Db2 SQL course discusses some of the more advanced SQL code used to manipulate table data. Various methods used for joining tables is presented, along with examples of SQL statements and subqueries used to filter data results.
Programmers, DBAs, business analysts, and any other personnel that require SQL coding skills to manage Db2 data.
Completion of the “Db2 – Db2 SQL Fundamentals V12” course, or equivalent knowledge.
After completing this course, the student should be able to:
- Describe the differences between inner, outer, and full joins
- Describe how Db2 data can be filtered
- Create views from base tables
Joining Db2 Tables Together
Inner, Left Outer, Right Outer, and Full Outer Table Joins
SQL – DISTINCT, CASE, UNION, and VIEWs
Using the DISTINCT SQL Keyword
Using the SQL CASE Expression
Creating Unions to Combine Data from Multiple Selects
Creating and Using Views to Protect or Aggregate Underlying Table Data
Subqueries and Correlated Subqueries