0% found this document useful (0 votes)
17 views2 pages

DBMS Imp Questions For I-Mid

The document contains a list of important questions related to Database Management Systems (DBMS) for the I-MID course for the academic year 2023-24. Topics include definitions of DBMS, data abstraction levels, ER diagrams, relational algebra operations, SQL queries, and concepts like class hierarchy and triggers. It also includes practical exercises for writing queries in relational algebra and SQL based on provided schemas.
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)
17 views2 pages

DBMS Imp Questions For I-Mid

The document contains a list of important questions related to Database Management Systems (DBMS) for the I-MID course for the academic year 2023-24. Topics include definitions of DBMS, data abstraction levels, ER diagrams, relational algebra operations, SQL queries, and concepts like class hierarchy and triggers. It also includes practical exercises for writing queries in relational algebra and SQL based on provided schemas.
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/ 2

DBMS IMP QUESTIONS FOR I-MID (2023-24)

1. Explain DBMS? Explain Database system Applications?


2. Explain different levels of data abstraction?
3. What is an ER diagram? Specify the notations used to indicate various components of ER-diagram
4. Discuss different constraints in ER diagram with examples?
5. A company database needs to store data about employees, departments and children of employees. Draw an
ER diagram that captures the above data.
6. Discuss about concept of Class Hierarchy?
7. Explain various operations in relational algebra with example?
8. Discuss different types of Joins?
9. Write the following queries in Relational Algebra and Calculus for following
Schema. Sailors (sid: integer, sname: string, rating: integer, age: real)
Boats (bid: integer, bname: string, color: string)
Reserves (sid: integer, bid: integer, day: date)

a. Find the names of sailors who have reserved a red boat ?


b. Find the names of sailors who have reserved at least one boat ?
c. Find the names of sailors who have reserved at least two boats ?
d. Find the names of sailors who have reserved all boats.

10. Consider the following schema:

Suppliers (sid : integer, sname: string, address: string)

Parts (pid : integer, pname: string, color: string)

Catalog (sid : integer; pid : integer, cost: real)

The key fields are underlined. The catalog relation lists the price changes for parts by supplies.
Write the following queries in SQL.
Find the p names of parts for which there is some supplier.

a. Find the snames of suppliers who supply every part.

b. Find the pnames of parts supplied by raghu supplier and no one else.

c. Find the sids of suppliers who supply only red parts.

11. Write the SQL expressions for the following relational database?
sailor schema(sailor id, Boat id, sailorname, rating, age)
Reserves(Sailor id, Boat id, Day)
Boat Schema(boat id, Boatname, color)

a. Find the age of the youngest sailor for each ratinglevel?

b.Find the age of the youngest sailor who is eligible to vote for each rating level with
at least two sailors?

c. Find the No. of reservations for each redboat?


d.Find the average age of sailor for each rating level that atleast 2sailors.

12. What is view? Explain the Views in SQL.


13. Discuss about Nested and Co-related Queries in SQL with examples?
14. What is a trigger and what are its 3 parts. Explain in detail.

You might also like