Question: Use the database shown in Figure 3 to answer Problems 8-11. Table name: TRUCK Primary key: TRUCK_NUM Database name: Ch03_TransCo Foreian kevs: BASE CODE. TYPE
Use the database shown in Figure 3 to answer Problems 8-11. Table name: TRUCK Primary key: TRUCK_NUM Database name: Ch03_TransCo Foreian kevs: BASE CODE. TYPE CODE Table name: BASE Primary key: BASE_CODE Foreign key: none Table name: TYPE Primary key: TYPE_CODE Forelgn keY: none. 8. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 9. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key. 10. Identify the TRUCK table's candidate key(s). 11. For each table, identify a superkey and a secondary key. Use the database shown in Figure 3 to answer Problems 8-11. Table name: TRUCK Primary key: TRUCK_NUM Database name: Ch03_TransCo Foreian kevs: BASE CODE. TYPE CODE Table name: BASE Primary key: BASE_CODE Foreign key: none Table name: TYPE Primary key: TYPE_CODE Forelgn keY: none. 8. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 9. Do the tables exhibit referential integrity? Answer yes or no, and then explain your answer. Write NA (Not Applicable) if the table does not have a foreign key. 10. Identify the TRUCK table's candidate key(s). 11. For each table, identify a superkey and a secondary key
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
