A database is an organized collection of related objects. Structured Query Language (SQL) is used throughout the database industry as a common method of issuing database queries. SQL is considered a language, composed of statements, functions, and data types. A SQL statement is used to access database objects using relational operations. Before we examine the SQL language, we need to understand some DB2 terminology. We will be referring to the basic data structures or objects that are defined for each DB2 database. These objects include:
Figure 4.1 shows the relationship between the DB2 objects.