0% found this document useful (0 votes)
43 views

Ism Index

This document contains the index of an Information System Management Lab practical file submitted by Lakshya Rustagi. The index lists 21 practical exercises completed on SQL queries including creating and modifying tables, inserting and updating records, retrieving data using where clauses, and aggregation queries using group by. The practicals range from basic queries on sample tables to a custom project on a Cadbury products table.

Uploaded by

Shweta Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Ism Index

This document contains the index of an Information System Management Lab practical file submitted by Lakshya Rustagi. The index lists 21 practical exercises completed on SQL queries including creating and modifying tables, inserting and updating records, retrieving data using where clauses, and aggregation queries using group by. The practicals range from basic queries on sample tables to a custom project on a Cadbury products table.

Uploaded by

Shweta Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 34

TRINITY INSTITUTE OF PROFESSIONAL STUDIES

Sec-9, DWARKA, NEW DELHI-110075

(AFFILIATED TO)
GURU GOBIND SINGH INDRAPRASTHA UNIVERSITY
SECTOR-16C, DWARKA, NEW DELHI

INFORMATION SYSTEM MANAGEMENT LAB(BCOM-307)


PRACTICAL FILE

SUBMITTED TO SUBMITTED BY
Ms. Neha Aggarwal Lakshya Rustagi
(Assistant Professor)
ACKNOWLEDGEMENT

I LAKSHYA RUSTAGI enrolment no. 01524088820


wish to express gratitude to my mentor Ms Neha
Aggarwal who co-operated and enabled me to
complete my Information System Management Lab file.

I express sincere thanks to her for her valuable


suggestive, informative and illuminative guidance.

I express my utmost thanks for her encouragement,


cooperation and consent.

Student name – Lakshya Rustagi


Roll No. - 01524088820
CERTIFICATE

This is to certify that the Information System


Management Lab file being submitted is a bonafide
work done by LAKSHYA RUSTAGI, 01524088820,
student of BCOM 5th Semester at Trinity Institute
of Professional Studies affiliated to Guru Gobind
Singh Indraprastha University in partial fulfilment
of the award of the Bcom degree.

He has worked under my guidance and supervision.

Ms. Neha Aggarwal


INDEX
Teacher’s
S.No.
TOPIC Signature

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.

3. Insert five records in the student table.

4. Display the details of all the students.

5. Display the details of students whose marks is greater than 70.

6. Display the details of students whose subject is ‘ISM’

7. Display the details of Students whose name starts with ‘R’.

8. Display the details of students whose marks are 70 or 80.

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.

2. Update the marks of the student to 95 whose rollno is 5.

3. Add a column whose name is ‘phoneno’ and datatype is ‘int’.

4. Delete the column whose name is phoneno.

5. Modify the datatype of column named ‘name’ to char (20).

6. Modify the table name to StudentDetails.


PRACTICAL-3
1. Create a table student with columns roll no, name, subject, marks.

2. Find the average marks and group by subject.

3. Find the maximum marks and group by subject.


4. Find the minimum marks and group by subject

5. Find the sum of marks and group by subject.

6. Find the total count of marks and group by subject.

PRACTICAL4//
your project//
1. Create a table ‘CADBURY’ with any no of columns.

2. Describe the table.


3. Insert five records in the table.
4. Display the details of all the items in the table.

5. Display the details of all items whose item quantity is greater than 200.

6. Display the details of all items whose product name is ‘bread’.

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

12. Delete the record of the item whose serial number is 5.

13. Add a column named ‘Supplier Phone No’ and datatype is ‘Int’.

14. Delete the column whose name is ‘Supplier Phone No’.

15. Modify the datatype of column whose name is Item_Name to char(20).

16. Modify the table name to CadburyProducts.

17. Find the average price and group by Item_Supplier.

18. Find the maximum price and group by Item_Supplier.

19. Find the minimum price and group by Item_Supplier.

20. Find the sum of price and group by Item_Supplier.

21. Find the total count of price and group by Item_Supplier.


PRATICAL 1
1. Create any table “keeping table name as your name” with
column names as roll no, name, subject, marks as data type
int, varchar (30), varchar (30), int respectively.

2. Describe the table.


3. Insert five records in the student table.

4. Display the details of all the students.


5. Display the details of students whose marks is greater than
70.

6. Display the details of students whose subject is ‘ISM’

7. Display the details of Students whose name starts with


‘R’

8. Display the details of students whose marks are 70 or 80.

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’
PRATICAL 2
1. Create a table student with columns roll no, name, subject,
marks.
2. Update the marks of the student to 95 whose rollno is 5.
3. Add a column whose name is ‘phoneno’ and datatype is
‘int’.
4. Delete the column whose name is phoneno.

5. Modify the datatype of column named ‘name’ to char (20).


6. Modify the table name to StudentDetails.
PRATICAL 3
1. Create a table student with columns roll no, name, subject,
marks.
2. Find the average marks and group by subject.

3. Find the maximum marks and group by subject.


4. Find the minimum marks and group by subject

5. Find the sum of marks and group by subject.


6. Find the total count of marks and group by subject.
PRATICAL 4
1. Create a table ‘CADBURY’ with any no of columns.

2. Describe the table.


3. Insert five records in the table.

4. Display the details of all the items in the table.


5. Display the details of all items whose quantity is greater
than 200.

6. Display the details of all items whose product name is


‘Oreo’.
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.
9. Display the details of all items whose price is between 5000
and 15000.

10. Display the details of all items whose product name is


‘Oreo’ or ‘Perk’.
11. Update the price of the product to 9000 whose serial
number is 1

12. Delete the record of the product whose serial number is 5.


13. Add a column named ‘Supplier Phone No’ and datatype is
‘Int’.

14. Delete the column whose name is ‘Supplier Phone No’.


15. Modify the datatype of column whose name is Item_Name
to char(30).

16. Modify the table name to CadubryProducts.


17. Find the average price and group by Item_Supplier.

18. Find the maximum price and group by Item_Supplier.

19. Find the minimum price and group by Item_Supplier.


20. Find the sum of price and group by Item_Supplier.

21. Find the total count of price and group by Item_Supplier.

You might also like