a. Write the relational schema and draw the dependency diagram for the table structure. Make sure that you label all dependencies. CHAR_PAX indicates the number of passengers carried. The CHAR_MILES entry is based on round-trip miles, including pickup points. (Hint: Look at the data values to determine the nature of the relationships. For example, note that employee Melton has flown two charter trips as pilot and one trip as copilot.) b. Decompose the dependency diagram you drew to solve Problem 11a to create table structures that are in 3NF and write the relational schema. c. Draw the Crow's Foot ERD to reflect the properly decomposed dependency diagrams you created in Problem 11b. Make sure the ERD yields a database that can track all of the data shown in Problem 11. Show all entities, relationships, connectivities, optionalities, and cardinalities. TABLE P6.11 ATTRIBUTE NAME | SAMPLE VALUE SAMPLE VALUE SAMPLE VALUE SAMPLE VALUE CHAR_TRIP 10232 10233 10234 10235 CHAR_DATE | 15-Jan-2018 15-Jan-2018 16-Jan-2018 17-Jan-2018 CHAR_CITY STL MIA TYS ATL CHAR_MILES 580 1,290 524 768 |CUST_NUM 784 231 544 784 CUST_LNAME Brown Hanson Bryana Brown CHAR_PAX 5 12 2 5 CHAR_CARGO 235 Ibs. 18,940 lbs. 348 Ibs. 155 Ibs. PILOT Melton Chen Henderson Melton COPILOT Henderson Melton FLT_ENGINEER O'Shaski LOAD_MASTER AC_NUMBER Benkasi 1234Q 3456Y 1234Q 2256W MODEL_CODE РАЗ1-350 CV-580 PA31-350 PA31-350 MODEL_SEATS 10 38 10 10 MODEL_CHG_MILE $2.79 $23.36 $2.79 $2.79
Given the sample records in the CHARTER table shown in Table P6.11, do the following:
a. Write the relational schema and draw the dependency diagram for the table structure. Make sure that you
label all dependencies. CHAR_PAX indicates the number of passengers carried. The CHAR_MILES entry is
based on round-trip miles, including pickup points. (Hint: Look at the data values to determine the nature
of the relationships. For example, note that employee Melton has flown two charter trips as pilot and one
trip as copilot.)
b. Decompose the dependency diagram you drew to solve Problem 11a to create table structures that are in
3NF and write the relational schema.
c. Draw the Crow’s Foot ERD to reflect the properly decomposed dependency diagrams you created in
Problem 11b. Make sure the ERD yields a
Show all entities, relationships, connectivities, optionalities, and cardinalities.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 7 images