Create Command
Create Command
Creating a Database
To create a database in RDBMS, create command is uses. Following is the Syntax,
create database database-name;
Creating a Table
create command is also used to create a table. We can specify names and datatypes of various
columns along.Following is the Syntax,
create table table-name
(
column-name1 datatype1,
column-name2 datatype2,
column-name3 datatype3,
column-name4 datatype4
);
create table command will tell the database system to create a new table with given table name and
column information.