Mid_Term_Question_213_CSE3521
Mid_Term_Question_213_CSE3521
1. Draw the corresponding Relational Schema for the following ER-Diagram. [CO1] 4
Students get a unique student id and their name, date of birth and age is also stored. The name
consists of the first name and the last name of a student. A student pays his/her fees and the fee
date is stored. Students can select one student to be their batch leader.
Courses have their unique course name and the credit hours, number of sections and the type of
the course are stored. Students can enroll in several courses and the trimester name is stored for
each enrollment.
For each fee, it gets a fee number and the amount gets stored. The fee number can not uniquely
identify each fee but can be uniquely identified for each student. [CO1]
3. 8
Table name Column names
professor(profname, deptname)
department(deptname, building)
committee(profname,commname)
a. Find all the professors who are in any one of the committees that Professor Smith is in.
b. Find all the professors who are in at least all those committees that Professor Smith is
in.
c. Find all the professors who are in exactly (i.e., no more and no less) all those
committees that Professor Smith is in.