DBMS Assignment 2
DBMS Assignment 2
ASSIGNMENT- 2
Course Name with Code: Database Management System with 18CS53 Academic year: 22-23
Semester: 5th Sem Date of Given: 13-12-2022 Date of Submission: 22-12-2022 Max Marks: 10
SI.No Questions CO RBTL
Group-1
1 Define referential integrity constraint. Explain the importance of 2
referential integrity constraint. How is this constraint implemented in 1
SQL
2 Discuss the characteristics of a relation, with an example 2 1
3 2
Briefly discuss the different types of update operations on relational
database. show an example of a violation of referential integrity in each 2
of the update operation
11 Describe the six clauses in the syntax of an SQL retrieval query. Show 3
what type of constructs can be specified in each of the six clauses. Which 2
of the six clauses are required and which are optional?
12 Write a note on: 3
i) Views in SQL 1
ii) Aggregate functions in SQL
iii) Drop Command
Group-3
13 2
Explain the process of relational database design using E-R to relational 2
mapping
14 2 2
Explain different types of binary operators in relational algebra
15 2 2
Explain various types of outer join operations
Wayanamac Education Trust®
DON BOSCO INSTITUTE OF TECHNOLOGY
Kumbalagodu, Mysuru Road, Bengaluru – 560074
www.dbit.co.in Ph: +91-80-28437028 / 29 / 30 Fax: +91-80-28437031
Department of Information Science & Engineering
19 2 2
Explain Additional Relational operations with an example.
20 2 3
Queries in Relational Algebra(7 Queries).
21 2 3
Basic Retrieval Queries in SQL
22 Consider the following schema and write the SQL queries 3 3
Students( Sid, Sname, Major, GPA)
Faculty( Faculty_id, Fname, Dept, Designation, Salary)
Course( Course_id, Cname, Faculty_id)
Enroll( Course_id, Sid, Grade)
Write the SQL query for the following
3dept.
23 Explain how the Group-By Clause works. What is the difference between 3
2
the Where and Having Clause
24 How are triggers and assertions defined in SQL? Explain 3 2