Db2 11.5 for LUW: SQL Workshop (CL722G)

Overview

This course provides an introduction to the SQL language. This course utilizes IBM Data Studio on a Windows 11 operating system, but the SQL queries are appropriate for Linux, UNIX, and Windows environments. 

This course introduces SQL, including syntax, retrieving data from a Db2 table, coding inner joins, arithmetic operations, and scalar and columnar functions. Learners will also explore the UNION function, inserting, updating, and deleting rows, and will use the create table and create view statements.

Students will participate in hands-on exercises to practice what they have learned.

Audience

This course is intended for individuals seeking to write, support, or understand SQL queries. This includes (but is not limited to) end-users, programmers, application designers, database administrators, and system administrators who do not yet have knowledge of the SQL Data Manipulation Language (DML).

Prerequisites

  • Participants should have the following skills:
    • Familiarity with the Windows Operating System
    • Basic computer literacy

Objective

After completing this course, learners should be able to:

  • Code SQL statements to retrieve data from a Db2 database table, including the SELECT, FROM, WHERE, GROUP BY, HAVING, and ORDER BY clauses
  • Code inner joins
  • Use SQL arithmetic operations
  • Use scalar and columnar functions
  • Use UNION and UNION ALL
  • Code SQL statements to INSERT, UPDATE, and DELETE rows

Code simple CREATE TABLE and CREATE VIEW statements

Show details

Course Outline

  • Course Introduction
  • Unit 1: SQL Introduction
  • Unit 2: Simple SQL Queries
  • Unit 3: Retrieving Data from Multiple Tables
  • Unit 4: Scalar Functions and Arithmetic
  • Unit 5: Column Functions and Grouping
  • Unit 6: UNION
  • Unit 7: Using Subqueries
  • Unit 8: Maintaining Data