You are on page 1of 10

DBMS LAB TASK 2

NAME: MUHAMMAD SAJID


STD ID: 10298
CLASS ID: 107085
INSTRUCTOR: MISS NAZYA ABRAR
Q1. Create the database name Shop which consists of one table name Stationary which consists of

10 attribute (ID/Pen /Eraser/Pencil/Scale/Markers/Notebook/White Papers/Price).


Q2. Insert at least 30 records in the table Stationary with respect to their type.
Q3. Display the record of those Pens whose Price in the range of 20rps to 50rps.
Q4. Display the record of those Notebooks Who’s Price in the list of (400rps, 300rps, 500rps, and

700rps).
5- Update the record of the Stationary whose name is Scale and changed it to Staplers.
6- Delete the complete record of those Pencils whose Price is greater than 30rps.

You might also like