Using of DDL Statements To Create and Manage The Tables: Create Database Create Int Varchar
Using of DDL Statements To Create and Manage The Tables: Create Database Create Int Varchar
• Create a database with your name and add the following table. Also add another column
name salary in this table. And at last drop the table and database.
• Create a WEATHER database and add a table STATION to store information about
weather observation stations:
1) ID
2) CITY
3) STATE
4) state number
customer_id int,
cust_Name varchar(100),
city varchar(100),S
grade varchar(100),
salesman_id int,
salary varchar(200)
);
values(1,'asad','lhr','A',34,5000)
values(2,'ali','sahiwal','A',34,5000)
values(3,'zain','kashmir','A',34,5000)
values(4,'ahmad','islamabad','A',34,5000)
values(5,'malik','karachi','B',30,6000)
id int,
city varchar(200),
state varchar(200),
state_Number int
);
Emp_no int,
E_name varchar(200),
E_address varchar(200),
E_ph_no int,
Dept_no int,
Dept_name varchar(200),
Job_id int,
Salary int
);
values(1,'fsd','punjab',12)
values(1,'quetta','balochistan',11)
values(1,'karachi','sindh',13)
values(1,'peshawar','kpk',14)
values(1,'muzafabas','kashmir',15)
values(1,'asad','lhr',12324,234,'English',21,24000)
values(2,'zain','sahiwal',4232,344,'Physics',23,54000)
values(3,'ahmad','kashmir',89244,114,'Chemistry',24,14000)
values(4,'malik','karachi',1234,343,'Computer',26,13000)
values(5,'hamza','isb',2525,240,'Science',255,31000)