statement

CREATE SCHEMA

Creates a namespace for database objects in PostgreSQL; not a separate database. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
CREATE SCHEMA name

Working Example

Example Snippetsql
CREATE SCHEMA lab;
SQL Reference