Professional Documents
Culture Documents
8TH DBMS Lab
8TH DBMS Lab
Worksheet :8
Student Name : Raunak Kumar Upadhyay UID : 20BCA1507
1. Task to be done:
Create a table Products and its column are according to it.
iii) Display the details of Products having price more than 500.
UID: 20BCA1170
2. Coding part:-
1. use bca;
2. create table products(prod_id int primary key,prod_name varchar(20)
unique,prod_description text not null, product_price int,
3. manufacturing_date date not null);
4. desc products;
5. select *from products;
6. insert into
products(prod_id,prod_name,prod_description,product_price,Manufacturing
_ date)values
7. (2,'Apple X','Smartphone',89000,'2017-12-3'),
UID: 20BCA1170