Create Table Command:-
This command is used to create a new table in a database.
Basic syntax:
create table table_name ( column 1 datatype constraints, column 2 datatype constraints, ................ column N datatype constraints, );
For Example:-
Creating a simple table named 'customertable' with some basic columns: create table customertable ( customer_id int primary key, customer_name varchar(50), address nvarchar(50), email nvarchar(50), mobile numeric(10) );
Output:-