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.
If you are enrolling in a Self Paced Virtual Classroom or Web Based Training course, before you enroll, please review the Self-Paced Virtual Classes and Web-Based Training Classes on our Terms and Conditions page, as well as the system requirements, to ensure that your system meets the minimum requirements for this course.
Who should attend
This intermediate course is for experienced SQL end users, application programmers, database administrators, and user support staff who need more advanced knowledge of SQL.
You should have experience with coding and executing basic SQL statements. These skills can be developed by attending SQL Workshop (CE120), or having equivalent experience.
What you will learn
- 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