20.01.2015 Views

ADVANCED DATABASE Chapter 4 problems 11 & 12 5 ... - Csmaster

ADVANCED DATABASE Chapter 4 problems 11 & 12 5 ... - Csmaster

ADVANCED DATABASE Chapter 4 problems 11 & 12 5 ... - Csmaster

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.

Partial dependencies:<br />

1. (CHAR_TRIP‐> CHAR_DATE, CHAR_CITY, CHAR_MILES, CHAR_PAX, CHAR_CARGO)<br />

2. (CUST_NUM‐> CUST_LNAME)<br />

3. (AC_NUMBER‐> MODEL_CODE, MODEL_SEATS, MODEL_CHG_MILE)<br />

4. (CHAR_TRIP ‐> PILOT, COPILOT, FLT_ENGINEER, LOAD_MASTER)<br />

22. Decompose the dependency diagram you drew to solve Problem 21 to create table structures that<br />

are in 3NF and write the relational schema. Make sure that you label all dependencies.<br />

(CHAR_TRIP, CUST_NUM, AC_NUMBER, CHAR_DATE, CHAR_CITY, CHAR_MILES, CUST_LNAME,<br />

CHAR_PAX, CHAR_CARGO, PILOT, COPILOT, FLT_ENGINEER, LOAD_MASTER, AC_NUMBER,<br />

MODEL_CODE, MODEL_SEATS, MODEL_CHG_MILE)<br />

TRIP (CHAR_TRIP, CHAR_DATE, CHAR_CITY, CHAR_MILES, CHAR_PAX, CHAR_CARGO,<br />

CREW ( CHAR_TRIP, AC_NUMBER, CREW_PILOT, CREW_COPILOT, CREW_ FLT_ENGINEER,<br />

CREW_LOAD_MASTER)<br />

AIRPLANE (AC_NUMBER, MODEL_CODE, MODEL_SEATS, MODEL_CHG_MILE)<br />

23. Draw the Crow’s Foot ERD to reflect the properly decomposed dependency diagrams you created in<br />

Problem 22. Make sure that the ERD yields a database that can track all of the data shown in Problem<br />

21. Show all entities, relationships, connectivities, optionalities, and cardinalities.

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

Saved successfully!

Ooh no, something went wrong!