DBMS Lab 9
DBMS Lab 9
Q1.Draw ER model for an University database application where i) a university has many
departments ii) Each department has multiple instructor; one among them is the head of the
department iii) an instructor belongs to only one department iv) each department offers multiple
courses each of which is taught by a single instructor v) a student may enroll for many courses by
different departments.
Q2. Construct an ER diagram for a hospital with a set of patients and a set of medical doctors.
Associated with each patient, there is a log of the various tests and examinations conducted.
Q3. Design ER diagram for keeping track of performance of your favourite sports team. You should
store the matches played, the scores in each match, the player in each match and individual player
statistics for each match.
Q4. Information about a bank is about customers and their account. Customer has a name, address
which consists of house number, area and city and one or more phone numbers. Account has number,
type and balance. We need to record jointly. Clearly indicate attributes, keys and the cardinality ratios
and participation constraints.
Q5.A database is to be constructed to keep track of the team. A team has a number of players, not all
of then participate in each game. It is desired to keep track of the players. Create ER diagram.
Q6. Construct ER diagram for a car-insurance company whose customers own one or more cars each.
Each car has associated with it, zero to any number of recorded accidents.