Create Table

A table is an important part of RDBMS. It stores data in a form of rows and columns. To create a new table in a database following syntax can be used

Syntax:

CREATE TABLE table_name (

column1 data_type,

column2 data_type,

column3 data_type,

...

);

Example:

CREATE TABLE Customers (

Customer_ID  int,

FirstName varchar(255),

LastName varchar(255),

Address varchar(255),

);