04.06.2015 Views

Database Modeling and Design

Database Modeling and Design

Database Modeling and Design

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

254 Exercises<br />

reservation_no -> departure_city, arrival_city, type_of_payment,<br />

seating_class, seat_no<br />

airline_name, flight_no -> aircraft_type, departure_time, arrival_time<br />

airline_name, flight_no -> departure_city, arrival_city, meal_type<br />

airline_name, flight_no, aircraft_type -> meal_type<br />

passenger_name -> home_address, home_phone, company_name<br />

aircraft_type, seat_no -> seating_class<br />

company_name -> company_address, company_phone<br />

company_phone -> company_name<br />

A: reservation_no L: departure_city<br />

B: agent_no M: arrival_city<br />

C: agent_name N: type_of_payment<br />

D: airline_name P: seating_class<br />

E: flight_no Q: seat_no<br />

F: passenger_name R: meal_type<br />

G: aircraft_type S: home_address<br />

H: departure_date T: home_phone<br />

I: arrival_date U: company_name<br />

J: departure_time V: company_address<br />

K: arrival_time W: company_phone<br />

Problem 6-5<br />

Given the following set of FDs, find the minimum set of 3NF tables.<br />

<strong>Design</strong>ate the c<strong>and</strong>idate key attributes of these tables. Is the set of tables<br />

you derived also BCNF?<br />

1. J -> KLMNP<br />

2. JKL -> MNP<br />

3. K -> MQ<br />

4. KL -> MNP<br />

5. KM -> NP<br />

6. N -> KP

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!