Question
Database: chapter 3 a. Using the tables in diagram P3.1 (page 110), answer questions 1, 3, 4, 5, and 6. Use the database shown in
Database: chapter 3
a. Using the tables in diagram P3.1 (page 110), answer questions 1, 3, 4, 5, and 6.
Use the database shown in Figure P3.1
1. For each table, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None.
3. 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.
4. Describe the type(s) of relationship(s) between STORE and REGION.
5. Create the ERD to show the relationship between STORE and REGION.
6. Create the relational diagram to show the relationship between STORE and REGION.
b. Bonus: What does the EMP_CODE column in the STORE table probably mean?
110 Part2 Design Concepts Problems FIGURE P3.1 THE CH03 STORECO DATABASE TABLES Table name: EMPLOYEE Database name: Cho3_StoreCo Ratula Greenboro Lottie Rumperstro Jennie Renselaer 21-May-64 09-Feb-69 02-Oct-61 01 Jun-71 23-Noy-59 25-Dec-65 31-Jul-62 19-Apr-55 06-Mar-66 21-Oct-72 Broderick Tom 25-Aug-64 15 Mr Archialo Barry 24-Jan-71 03-Oct-68 06-Mar-70 11-Dec-74 Mckee-_Robert Jennifer Table name: STORE STORE-CODE STORENA E STORE-YTD SALES REG ONCOE EMPCODE - 2 Database Corner 3 Tuple Charge 4 Attribute Alley 1003455.76 1421987.39 986783 22 944568.56 2930098.45 Table name: REGION REGION CODE REGION DESCROPT 1 East 2 West se the database shown in Figure P3.1 to answer Problems 1-9. or each table, identify the primary key and the foreign key(s). If a table does not 2. Do the tables exhibit entity integrity? Answer yes or no, and then explain your 3. Do the tables exhibit referential integrity? Answer yes or no, and then explain ve a foreign key, write None. answer. your answer. Write NA (Not Applicable) if the table does not have a foreign key Describe the type(s) of relationship(s) between STORE and REGION. reate the ERD to show the relationship between STORE and REGION. reate the relational diagram to show the relationship between STORE and REGIONStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started