SQLCREATE TABLEDDLtutorial

What is CREATE TABLE in SQL? Creating a table for beginners

CREATE TABLE is the SQL command for "create a new table". Plain words: which columns and what types, what NOT NULL, DEFAULT, PRIMARY KEY, and FOREIGN KEY do, and why thinking about the schema upfront pays off. With before/after tables, common beginner mistakes, and three exercises.

1 min readReferenceSQL · CREATE TABLE · DDL · tutorial