SQL CREATE TABLE COMMAND:
CREATE TABLE table_name(
>column is created the upper side of the table.
=see all data type in sql=DATA TYPE IN SQL
SQL CREATE TABLE COMMAND EXAMPLE:
id name mobile_no address position
CREATE TABLE USING ANOTHER EXCITING TABLE:
In new table contain all column they are already present in an exciting table.
SYNTAX:
CREATE TABLE COMMAND IS USE TO CREATE NEW TABLE IN PARTICULAR DATABASE.
TEH SQL CREATE COMMAND SYNTAX:
CREATE TABLE table_name(
column1 datatype,
column2 datatype,
column1 datatype,
column2 datatype,
................)
>column is created the upper side of the table.=see all data type in sql=DATA TYPE IN SQL
SQL CREATE TABLE COMMAND EXAMPLE:
The following Example creates a table name employee are contained id,name, mobile, address, position.
- CREATE TABLE employee(id int,
name varchar(30),
mobile_no int,
address varchar(100),
position varchar(20)
);
Tabel look like this:-id name mobile_no address position
CREATE TABLE USING ANOTHER EXCITING TABLE:

No comments:
Post a Comment