The objects in a relational database are organized into sets called schemas. A schema provides a logical classification of objects in a relational database. A schema name is used as the qualifier of SQL object names such as tables, views, indees, and triggers. A schema is also called a collection or library.
Each database manager supports a set of schemas that are reserved for use by the database manager. Such schemas are called system schemas. User objects must not be created in system schemas, other than SESSION.
The schema SESSION and all schemas that start with 'SYS' and 'Q' are system schemas. SESSION is always used as the schema name for declared temporary tables. Users should not create schemas that start with 'SYS' or 'Q'.
A schema is also an object in the relational database. It is explicitly created using the CREATE SCHEMA statement.1
An object that is contained in a schema is assigned to the schema when the object is created. The schema to which it is assigned is determined by the name of the object if specifically qualified with a schema name or by the default schema name if not qualified.
For example, a user creates a schema called C:
CREATE SCHEMA C
The user can then issue the following statement to create a table called X in schema C:
CREATE TABLE C.X (COL1 INT)