you need to design an ER diagram for a pharmacy with
the specification below
1 patients are identified by an SSN, and their name ,
addresses ,and ages must be recorded
2 Doctors are identified by identified by an SSN.For
each doctot,the name, specialty,and years of
experience must be recorded
3 Each pharmaceutical company is identified by name
and has a phone number.
4 For each drug,the trade name and formula must be
recordered.Each drug is sold by a given pharmaceutical
company,and the trade name identifies a drug uniquely
from among the products of that company.If a
pharmaceutical company is deleted,you need not keep
track of its products any longer.
5 Each pharmacy has a name, address, and phone number.
6 Every patient has a primary physician.Every doctor
has at least one patient.
7 Each pharmacy sells several drugs and has a price
for each.Adrug could be sold at several pharmacies,and
the price could vary from one pharmacy to another.