• Post category:StudyBullet-7
  • Reading time:4 mins read


Execute SQL Queries on DB2 Database Server

What you will learn

Create multiple tables using SQL Script

Insert data into database with SQL Script

Update existing data in database

Delete records from database

Use aggregate functions to aggregate values

Sort data returned by SQL queries

Filter records returned by SQL queries

Description

Db2 is a family of database management system (DBMS) products from IBM that serve several different operating system (OS) platforms. Used by organizations of all sizes, Db2 provides a data platform for both transactional and analytical operations, as well as continuous availability of data to keep transactional workflows and analytics operating efficiently.

Db2 databases have logical structures and physical structures which the DBMS manages separately. The physical storage of data can be managed without affecting the access to logical storage structures. Db2 databases are created using Data Definition Language, or DDL, commands and are composed of tablespaces, tables with rows and columns, views, indexes, stored procedures and other supporting structures.

Once created, a DBA or developer can use a Db2 database and its underlying structures to create, read, update and delete data to support an organization’s business requirements.

SQL is a domain-specific language used in programming and designed for managing data held in a relational database management system, or for stream processing in a relational data stream management system.


Get Instant Notification of New Courses on our Telegram channel.


SQL stands for Structured Query Language.  SQL lets you access and manipulate databases

SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987

What Can SQL do?

  • SQL can execute queries against a database
  • SQL can retrieve data from a database
  • SQL can insert records in a database
  • SQL can update records in a database
  • SQL can delete records from a database
  • SQL can create new databases
  • SQL can create new tables in a database
  • SQL can create stored procedures in a database
  • SQL can create views in a database
  • SQL can set permissions on tables, procedures, and views
English
language

Content

DB2 Setup

Introduction
What is DB2
What is SQL
Installing DB2
Create a database and table
Install IBM Data Studio
Launching IBM Data Studio

SQL Operations on DB2 Database Server

Create multiple tables with SQL Scripts
Manually inserting records into database
Using SQL Scripts to insert records into database
Query database and retrieve data with SQL
Updating records in database
Deleting records from database
Sorting Data
Filtering Data
Aggregate Functions