Ism Index
Ism Index
(AFFILIATED TO)
GURU GOBIND SINGH INDRAPRASTHA UNIVERSITY
SECTOR-16C, DWARKA, NEW DELHI
SUBMITTED TO SUBMITTED BY
Ms. Neha Aggarwal Lakshya Rustagi
(Assistant Professor)
ACKNOWLEDGEMENT
Introduction to SQL
PRACTICAL-1
Create any table “keeping table name as your name” with column
1.
names as roll no, name,subject, marks as data type int, varchar (30),
varchar (30), int respectively.
2. Describe the table.
9. Display the details of the students whose marks are between 70 and 80.
10. Display the details of students whose subject is either ‘ISM’ or ‘HRM’
PRACTICAL-2
1. Create a table student with columns roll no, name, subject, marks.
PRACTICAL4//
your project//
1. Create a table ‘CADBURY’ with any no of columns.
5. Display the details of all items whose item quantity is greater than 200.
7. Display the details of all items whose product name is starts with ‘b’.
8. Display the details of all items whose price is either 10000 or 12000.
Display the details of all items whose price is between 5000 and 15000.
9.
Display the details of all items whose item name is ‘Milk’ or ‘Ice
10. Cream’.
11. Update the price of the product to 9000 whose serial number is 1
13. Add a column named ‘Supplier Phone No’ and datatype is ‘Int’.