The assignment of an object to a schema can be defined by specifying the name of the schema.
<schema_name> ::= <identifier>
Schemas create namespaces for database objects.
When a user is created using the CREATE USER statement, a schema, whose name is identical to the user name, is created implicitly.
When a schema is created using the CREATE SCHEMA statement, the schema name and owner of the schema can be specified explicitly. If no owner is specified, the current user becomes the owner of the schema.
Each schema has exactly one owner. The owner of the schema can create, change, and delete objects in his own schema, since he is granted the relevant privileges implicitly. He can grant these privileges to other users.
Schemas can be created that do not correspond to a user name. The database user DAVID can create the schemas A, B, and C, of which he is then the owner, without the need for the existence of a database user A, B, or C.
See also:
CREATE SCHEMA Statement (create_schema_statement)
GRANT Statement (grant_statement)
DROP SCHEMA Statement (drop_schema_statement)