Skip to content

TABLE

CREATE TABLE Employee (
ID INT NOT NULL,
Name VARCHAR(255),
Age INT,
Salary FLOAT,
PRIMARY KEY (ID)
);
Query OK, 0 rows affected (0.01 sec)

This SQL statement creates a new table named ‘Employee’. The table includes columns for ID, Name, Age, and Salary. The ID column is designated as the primary key.