Assignment 1
Assignment 1
ASSIGNMENT-1
1. Describe various disadvantages of file system compare to Data base management CO- 1
system.
4. Consider following schema and represent given statements in relation algebra CO- 1
form.
1. Find the set of all instructor who teaches in the “Physics” department.
2. Find all instructors with salary greater than $90,000
3. Find the instructors in Physics with a salary greater than $90,000
4. Find the name of all instructors in the Physics department.
5. Find the set of all courses taught in the Fall 2009 semester, the Spring 2010
semester, or both.
6. Find all the courses taught in the Fall 2009 semester but not in Spring 2010
semester
7. Find the names of all instructors in the Physics department together with the
course id of all courses they taught.
8. Find the set of all courses taught in both the Fall 2009 and the Spring 2010
semesters.
9. Find out the sum of salaries of all instructors.
10. Find the names of all instructors in the Comp. Sci. department together with
the course titles of all the courses that the instructors teach.
5. Construct E-R diagram for a hospital with a set of patients and medical CO- 1
doctors. Associate with each patient a log of various tests and examinations
conducted.