Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

DiagnosisTbl(VisitNo , ProvNo , Diagnosis) FOREIGN KEY (VisitNo) REFERENCES Visit FOREIGN KEY (ProvNo) REFERENCES Provider Step 3: The Provider and ProviderEmail tables are merged and

DiagnosisTbl(VisitNo

, ProvNo

, Diagnosis)

FOREIGN KEY (VisitNo) REFERENCES Visit

FOREIGN KEY (ProvNo) REFERENCES Provider

Step 3: The Provider and ProviderEmail tables are merged and a unique constraint is added.

Patient (PatNo

, PatAge, PatZip9)

FOREIGN KEY (PatZip9) REFERENCES ZipCode

ZipCode(PatZip9

, PatCity)

Provider(ProvNo

, ProvSpecialty, ProvEmail)

UNIQUE ProvEmail

Visit(VisitNo

, VisitDate, PatNo)

FOREIGN KEY (PatNo) REFERENCES Patient

DiagnosisTbl(VisitNo

, ProvNo

, Diagnosis)

FOREIGN KEY (VisitNo) REFERENCES Visit

FOREIGN KEY (ProvNo) REFERENCES Provider

3.

You should determine if the

Student

,

Lender

, and

Institution

tables are in BCNF. In the

Lender

table,

LenderName

is unique. In the

Institution

table,

InstName

is unique. In the

Student

table,

StdEmail

is unique. The primary key of each table is underlined. You should

explain your decision and modify the table design by splitting tables or adding constraints if

necessary.

Student (StdNo

, StdName, StdEmail, StdAddress, StdCity, StdState, StdZip )

Lender(LenderNo

, LenderName)

Institution(InstNo

, InstName, InstMascot)

Answer

LenderName, InstName, and StdEmail are determinants. The Student, Lender, and Institution

tables are in BCNF because these determinants are unique. The tables should not be split

10/8/2019

Solutions for the Module 11 Assignment

Page 4

because they are in BCNF. Unique constraints should be added for

LenderName

,

InstName

,

and

StdEmail

. Here is the revised table design with the unique constraints.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Governmental And Nonprofit Accounting Theory And Practice

Authors: Robert J Freeman, Craig D Shoulders, Gregory S Allison, Terry K Patton, Robert Smith,

9th Edition

0132552728, 9780132552721

More Books

Students also viewed these Accounting questions

Question

1. Avoid conflicts in the relationship

Answered: 1 week ago

Question

1. What will happen in the future

Answered: 1 week ago