Account
Categories

MySQL CREATE TABLE Command


When you want to create a new table in SQL, you use the CREATE TABLE command.

This command creates the structure where your data will be stored.

Syntax:

CREATE TABLE table_name (
    column1 data_type,
    column2 data_type,
    ...
);