


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The requirements for designing a database for the prescriptions-r-x chain of pharmacies. It includes entities such as patients, doctors, pharmaceutical companies, pharmacies, and prescriptions, as well as their attributes and relationships. The document also provides a possible er diagram and a set of relations and constraints for creating the database.
Typology: Cheat Sheet
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Cs5530/6530 – ER-Design, Practice Exercise Feb 10, 2011 The Prescriptions-R-X chain of pharmacies has offered to give you and your two neighbors a free lifetime supply of medicine if you design its database. Given the rising cost of health care, you agree. Here are the requirements. Requirements:
Here are some of the relations:
PRIMARY KEY (name)) CREATE TABLE Pharma_co ( name CHAR(20), Phone_number CHAR(11), PRIMARY KEY (name))