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

Assignment 2

The document discusses a database management systems assignment. It includes questions about relational algebra expressions, types of joins, PL/SQL, and triggers, cursors and assertions. Students are asked to write relational algebra queries on given schemas, explain different types of joins with examples, and discuss PL/SQL, the difference between WHERE and HAVING clauses, and triggers, cursors and assertions.

Uploaded by

Mohd Arslaan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Assignment 2

The document discusses a database management systems assignment. It includes questions about relational algebra expressions, types of joins, PL/SQL, and triggers, cursors and assertions. Students are asked to write relational algebra queries on given schemas, explain different types of joins with examples, and discuss PL/SQL, the difference between WHERE and HAVING clauses, and triggers, cursors and assertions.

Uploaded by

Mohd Arslaan
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

IMS Engineering College

NH-09, Adhyatmik Nagar, Near Dasna, Distt. Ghaziabad, U.P.


Tel: (0120) 4940000

Department of Computer Science and Engineering


Database management System (2023-2024)
Assignment 2

Maximum Marks: 20 Submission Date: 09/10/2023


COURSE OUTCOMES

By the end of the course, students will be able to:


CO No. Description Bloom’s Level
C301.1 Apply knowledge of database for real life applications. K3
Apply query processing techniques to automate the real time problems of K3, K4
C301.2
databases.
Identify and solve the redundancy problem in database tables using K2, K3
C301.3
normalization.
Understand the concepts of transactions, their processing so they will familiar K2, K4
C301.4 with broad range of database management issues including data integrity,
security and recovery.
K3, K6
C301.5 Design, develop and implement a small database project using database tools.

ATTEMPT ALL QUESTIONS each question carries equal marks


Q.
Question CO
No.
Consider the relational database where the primary keys are underlined. Give an
1. expression in the relational algebra to express each of the following queries: C 301.2
employee (person-name, street, city) works (person-name, company-name,
salary) company (company-name, city) manages (person-name, manager-
name)
a. Find the names of all employees who work for SBI.
b. Find the names and cities of residence of all employees who work for SBI.
c. Find the names, street address, and cities of residence of all employees who
work for SBI and earn more than $10,000 per annum.
Consider the following schema. Give an expression in the relational algebra to
2. express each of the following queries: C 301.2
Suppliers(sid, sname, address) Parts(pid, pname, color)
Catalog(sid, pid, cost)
1. Find the names of suppliers who supply some red part.
2. Find the sids of suppliers who supply some red or green part.
How many types of JOINS are there? Name them. Explain NATURAL
3. C 301.2
JOIN and OUTER JOINs by considering suitable example.
1. What do you mean by PL/SQL? Why do we need PL/SQL
4. 2. Difference between where clause and having clause. C 301.2

Explain Triggers, Cursors and Assertions with example.


5. C 301.2

You might also like