Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

TRINITY INSTITUTE

OF
PROFESSIONAL STUDIES

Sector-9, Dwarka, New Delhi-110075


(Affiliated to Guru Gobind Singh Indraprastha University, Delhi
& Approved by Bar Council of India, New Delhi)“A+” Ranked
Institution by SFRC, Govt. of NCT of Delhi
Recognized under section 2(f) of the UGC Act, 1956Accredited “A” by NAAC

LAB MANUAL

ISM LAB

COURSE CODE: BBA 210

By-
Ms. Neha Aggarwal
BBA PROGRAM OUTCOMES (POS)

PO1: Apply knowledge of various functional areas of business


PO2: Develop communication and professional presentation skills
PO3: Demonstrate critical thinking and Analytical skills for business decision making
PO4: Illustrate leadership abilities to make effective and productive teams
PO5: Explore the implications and understanding the process of starting a new
venture
PO6: Imbibe responsible citizenship towards sustainable society and ecological
environment
PO7: Appreciate inclusivity towards diverse culture and imbibe universal values
PO8: Foster Creative thinking to find innovative solutions for diverse business
situations

OBJECTIVE OF THIS COURSE:

The course is to provide the basics of SQL. The students will be able to
understand SQL and able to create DATABASE.

OBJECTIVE OF THIS MANUAL:


• This Lab Manual is intended to be used by students of BBA, Semester V
for ISM.
• The ISM Lab Manual covers topics that are essential for the students
to strengthen their theoretical concepts.
• The purpose of this manual is to give guidance and instructions to the
students regarding this subject.

• Understand the concept of SQL, Create their database, Create table using
different languages DDL,DML,DCL.
• Use of AGGREGATE functions, Use of clauses, Use of Operators, Use of
Nested Queries.

COURSE OUTCOMES
CO1: Select the relevant data for decision-making using SQL.
CO2: Understand the relevance of the ER Model
CO3: Create and Manipulate databases.
Program PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8
Outcomes

Course
Outcomes

CO1 3 2 3 3 3 1 1 3

CO2 3 3 3 3 3 1 1 3

CO3 3 3 3 3 3 1 1 3

HOW TO USE THIS MANUAL


• Use of this manual is mandatory for the completion of practical. It
provides the students with the first-hand knowledge of the practical
subjects.

• It also makes them learn a systematic approach to do their task


proficiently as per the need and requirement of the industry.

INSTRUCTION TO THE STUDENTS


• Students are REQUIRED to carry this manual during the Lab Class.
• Students are REQUIRED to read the topics mentioned
before coming to the Lab Class.
• Students are REQUIRED to follow the timeline for each assignment.
INDEX
Teacher’s
S.No.
TOPIC Signature

Introduction to SQL
PRACTICAL-1
Create any table related to Student records with columns roll no,
1.
name,subject, marks.
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.

PRACTICAL-4
1. Create a table ‘BAKERY’ 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 item name is ‘bread’.

7. Display the details of all items whose item 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 item to 9000 whose item number is 1

12. Delete the record of the item whose item 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 BakeryProducts.

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.


REFERENCE BOOKS:

You might also like