Question: 1 . Colonial Adventure Tours database currently is designed as below 5 tables ( primary keys are boxed ) : Guide ( GuideNum , LastName,
Colonial Adventure Tours database currently is designed as below tables primary keys are boxed:
Guide GuideNum LastName, FirstName, Address, City, State, PostalCode, PhoneNum, HireDate
Trip TripID TripName, StartLocation, State, Distance, MaxGrpSize, Type, Season
Customer CustomerNum LastName, FirstName, Address, City, State, PostalCode, Phone
Reservation ReservationID TripID, TripDate, NumPersons, TripPrice, OtherFees, CustomerNum
FK TripID Trip
FK CustomerNum Customer
TripGuides TripID GuideNum
FK TripID Trip
FK GuideNum Guide
Now you need expand the database design to accommodate following new user views. Use DBDL to
describe your new design with new tables. Also draw a diagram for the whole database using ER model
any style described in the textbook
A reservation agent handles each reservation, list the number, last name, first name of the
agent that handled the reservation along with the reservation every reservation has only
one agent, one agent handles many reservations
Adventure classes are created to prepare participant for future adventure. For each
participant, list his or her number, last name, first name, address, city, state, zip code, and
date of birth.
List each classs class number, description, maximum number of person in class and class
fee.
For each scheduled class, list the class date, class number, class description, number of
enrollment, guides name who teaches it and each participants name and address Assume
at most one class scheduled on one day, one participant can enroll in many classes on
different days and allowed to repeat the same class. On any specific day a class has only one
guide serve as teacher. The same class on different days can have different guides as
teacher. One guide can teach different classes on different days
Now lets design a new database from scratch for a pharmacy business. Based on following user
views, please design the database and list all tables using DBDL Also draw a diagram for the whole
database using ER model of your choice
a List every customers customerID, last name, first name, address, phone, insurance
company assume every customer has insurance
b List every doctors ID last name, first name, business address, phone
c List every insurance companys ID name, phone
d List every insurance companys innetwork doctors last name and first name assume one
doctor could be in multiple insurance companys network
e List every prescriptions customerID, date, total amount due, pay by insurance amount, pay
by customer amount, insurance company ID doctor ID of the doctor who prescribes it in
network or not
f Count every customers total bill between two given dates.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
