I need help completing this ields, and assigning data types to these fields nto
ID: 3865674 • Letter: I
Question
I need help completing this
Explanation / Answer
1.
-> Customers
-> Drugs
-> Prescriptions
-> Doctors
-> Employees
-> Classes
additional table required (*optional):
-> HealthPlans
-> Clinics
-> Households
-> Refills
-> JobTitles
2. adding prefix table to tbl names. Following are the suggested table names reducing Customers to Customer and so on.
-> tblCustomer
-> tblDrug
-> tbPrescriptions
--> tblDoctor
--> tblEmployee
->tblClass
-> tblHealthPlan
-->tblHousehold
-->tblClinic
-->tblJobTitle
-->tblRefill
3.
--> tblCustomer : CustomerID, CustomerFirstName, CustomerLastName, PhoneNumber, DateOfBirth, Gender, Balance, ChildCap, PlanID, HouseID, HeadHH, and Allergies
-->tblEmployee : EmployeeID, EmployeeFirstName, EmployeeMiddleName, EmployeeLastName, SocialSecurityNumber, DateOfBirth, StartDate, EndDate, Address, City, State, ZIP, Comments, Phone, Cell, Salary, HourlyRate, and ReviewDate
--> tblDrug : UPNCode, DrugName, DrugGeneric, DrugDescription, DrugUnit, DrugDosage, DosageForm, DrugCost, DrugPrice, Interactions,PregCategory, and Supplier
-->tblPrescription : PrescriptionID, UPNCode, PrescriptionQuantity, PrescriptionUnit, Date, ExpireDate, Refills, AutoRefill, RefillsUsed, Instructions, CustomerID, and DoctorID
--> tblDoctor : DoctorID, DoctorFirstName, DoctorLastName, PhoneNumber, CellNumber, and ClinicID
--> tblClass : ClassID, Description, Cost, Renewal, Required, and Provider I
--> tblHealthPlan : PlanID, PlanName, Address, City, State, ZIP, PhoneNumber, Days, and WebSite
--> tblHousehold : HouseID, Address, City, State, and ZIPCode
--> tblClinic : ClinicID, ClinicName, Address, City, State, ZIPCode and PhoneNumber
--> tblJobTitle: JobID and Title
--> tblRefill: PrescriptionID, RefillDate, and EmployeeID
4.
--> tblCustomer :
CustomerID-> Number,
CustomerFirstName-> Short Text,
CustomerLastName-> Short Text,
PhoneNumber-> Short Text
DateOfBirth->Date/Time,
Gender->Short Text,
Balance->Number,
ChildCap->yes/no
PlanID->Short Text,
HouseID->Number,
HeadHH->Short Text, and
Allergies->short Text
-->tblEmployee :
EmployeeID->Number,
EmployeeFirstName->Short Text,
EmployeeMiddleName->Short Text,
EmployeeLastName->Short Text,
SocialSecurityNumber->Short Text,
DateOfBirth->date/time,
StartDate->date/time,
EndDate->date/time,
Address->short text,
City->short text,
State->short text,
ZIP->short text,
Comments->->short text,
Phone->short text,
Cell->short text,
Salary->currency,
HourlyRate->currency, and
ReviewDate->date/time
--> tblDrug :
UPNCode-->number,
DrugName->short text,
DrugGeneric->short text,
DrugDescription->short text,
DrugUnit->number,
DrugDosage->short text,
DosageForm->short text,
DrugCost->currency,
DrugPrice->currency,
Interactions->short text,
PregCategory->short text, and
Supplier->short text
-->tblPrescription :
PrescriptionID->number,
UPNCode,->number
PrescriptionQuantity->number,
PrescriptionUnit->number,
Date->date/time,
ExpireDate->date/time,
Refills->number,
AutoRefill->yes/no,
RefillsUsed->number,
Instructions->short text,
CustomerID->number, and
DoctorID->number
--> tblDoctor :
DoctorID->number,
DoctorFirstName->short text,
DoctorLastName->short text,
PhoneNumber->short text,
CellNumber->short text, and
ClinicID->number
--> tblClass :
ClassID->number,
Description->short text,
Cost->currency,
Renewal->yes/no,
Required->yes/no, and
Provider->short text
--> tblHealthPlan :
PlanID->number,
PlanName->short text,
Address->short text,
City->short text,
State->short text,
ZIP->short text,
PhoneNumber->short text,
Days->number, and
WebSite->short text
--> tblHousehold :
HouseID->number,
Address->short text,
City->short text,
State->short text, and
ZIPCode->short text
--> tblClinic :
ClinicID->number,
ClinicName->short text,
Address->short text,
City->short text,
State->short text,
ZIPCode->short text and
PhoneNumber->short text
--> tblJobTitle:
JobID->number and
Title->short text
--> tblRefill:
PrescriptionID->number,
RefillDate->date/time, and
EmployeeID->number
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.