Professional Documents
Culture Documents
EXERCISE
13 March 2023
Your Task is to design the “Drinker-Wine Database”
for a local bar owner
Question 1
◦ Develop a conceptual diagram using the Chen notation for the “Drinker-Wine” database given the
following information requirements.
“Drinkers drink wines on various days in certain quantities. A drinker can drink his or her favourite wine
on those days but can also drink any other wine if the favourite one is not available. Wine quantities are
measured in units. A wine drinker has a unique number, last name, first name, address, gender, phone
number and age. The address of the drinker consists of the house number and location. Age is calculated
from the date of birth. Wines are identified by a unique wine number, name, manufacturer, percentage of
alcohol and price of one unit.”
Question 1 Solution
Question 2
Translate the “Drinker-Wine” conceptual Schema to sets of relational schemas
17. Count the number of drinkers in each location. List the respective locations
18. List the name of drinkers who drank at least once