CREATE TABLE
A statement that defines a new table, its columns, and its constraints.
What is CREATE TABLE in a relational database?
CREATE TABLE — A statement that defines a new table, its columns, and its constraints.
CREATE TABLE customer (
customer_id INTEGER PRIMARY KEY,
email CHARACTER VARYING(255) NOT NULL,
status CHARACTER VARYING(20) DEFAULT 'active'
);
Level: Apprentice · More Database terms at this level
Updated