SQL TUTORIALS
5. SQL Create Statement - Creating a Table
create table statement is used to create a table.
Syntax :
create table table_name;
Example :
Let us try to create a table with the help of create table statement.
query :
create table mytable
(
col_1 datatype,
col_2 datatype,
......
);
output : We have created our new table.
Next, we will look at SQL Constraints.
5. SQL Create Statement - Creating a Table
create table statement is used to create a table.
Syntax :
create table table_name;
Example :
Let us try to create a table with the help of create table statement.
query :
create table mytable
(
col_1 datatype,
col_2 datatype,
......
);
output : We have created our new table.
Next, we will look at SQL Constraints.


Comments
Post a Comment