Use the database shown in Figure P3.1 to answer Problems 1, 2, 3, 4, 5, 6,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Use the database shown in Figure P3.1 to answer Problems 1, 2, 3, 4, 5, 6, 7, 8, and 9. Figure P3.1 The Ch03_StoreCo Database Tables Table name: EMPLOYEE EMP_CODE EMP_TITLE EMP_LNAME EMP_FNAME EMP_INITIAL EMP_DOB STORE_CODE lliamson 21-May-84 09-Feb-89 1 Mr. 2 Ms. 3 Ms. 4 Mrs. 5 Mr. 6 Mr. 7 Mr. 8 Ms. 9 Mr. 10 Mrs. 11 Mr. 12 Mr. 13 Mr. 14 Ms. 15 Mr. 16 Mr. 17 Ms. 18 Mr. 19 Mr. 20 Mr. 21 Ms. Ratula Greenboro Rumpersfro Smith Renselaer Ogallo Johnsson Eindsmar Jones Broderick Washington Smith Smith Olenko Archialo Grimaldo Rosenberg Rosten Mckee Baumann 2 Database Corner 3 Tuple Charge 4 Attribute Alley 5 Primary Key Point 1 East 2 West Table name: REGION REGION_CODE REGION DESCRIPT John R S Nancy Lottie Jennie Robert Cary Roberto S Elizabeth I L A Jack Rose Tom Alan Peter Sherry Howard Barry Jeanine Andrew Peter Robert Jennifer W 1003455.76 1421987.39 986783.22 944568.56 2930098.45 W R Table name: STORE STORE_CODE STORE NAME STORE_YTD_SALES REGION_CODE EMP_CODE 1 Access Junction Y N H U V K D F S A Database name: Ch03 StoreCo 02-Oct-81 01-Jun-91 23-Nov-79 25-Dec-85 31-Jul-82 10-Sep-88 19-Apr-75 06-Mar-86 21-Oct-92 08-Sep-94 25-Aug-84 25-May-86 24-May-84 03-Sep-80 12-Nov-90 24-Jan-91 03-Oct-88 06-Mar-90 11-Dec-94 2 2 1 2 1 8 12 7 3 15 3 2 4 5 3 1 3 1 2 4 3 2 3 4 5 5 4 4 4 1 3 1. For each table, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None. 2. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 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. 7. Describe the type(s) of relationship(s) between EMPLOYEE and STORE. (Hint: Each store employs many employees, one of whom manages the store.) 8. Create the ERD to show the relationships among EMPLOYEE, STORE, and REGION. 9. Create the relational diagram to show the relationships among EMPLOYEE, STORE, and REGION. Use the database shown in Figure P3.1 to answer Problems 1, 2, 3, 4, 5, 6, 7, 8, and 9. Figure P3.1 The Ch03_StoreCo Database Tables Table name: EMPLOYEE EMP_CODE EMP_TITLE EMP_LNAME EMP_FNAME EMP_INITIAL EMP_DOB STORE_CODE lliamson 21-May-84 09-Feb-89 1 Mr. 2 Ms. 3 Ms. 4 Mrs. 5 Mr. 6 Mr. 7 Mr. 8 Ms. 9 Mr. 10 Mrs. 11 Mr. 12 Mr. 13 Mr. 14 Ms. 15 Mr. 16 Mr. 17 Ms. 18 Mr. 19 Mr. 20 Mr. 21 Ms. Ratula Greenboro Rumpersfro Smith Renselaer Ogallo Johnsson Eindsmar Jones Broderick Washington Smith Smith Olenko Archialo Grimaldo Rosenberg Rosten Mckee Baumann 2 Database Corner 3 Tuple Charge 4 Attribute Alley 5 Primary Key Point 1 East 2 West Table name: REGION REGION_CODE REGION DESCRIPT John R S Nancy Lottie Jennie Robert Cary Roberto S Elizabeth I L A Jack Rose Tom Alan Peter Sherry Howard Barry Jeanine Andrew Peter Robert Jennifer W 1003455.76 1421987.39 986783.22 944568.56 2930098.45 W R Table name: STORE STORE_CODE STORE NAME STORE_YTD_SALES REGION_CODE EMP_CODE 1 Access Junction Y N H U V K D F S A Database name: Ch03 StoreCo 02-Oct-81 01-Jun-91 23-Nov-79 25-Dec-85 31-Jul-82 10-Sep-88 19-Apr-75 06-Mar-86 21-Oct-92 08-Sep-94 25-Aug-84 25-May-86 24-May-84 03-Sep-80 12-Nov-90 24-Jan-91 03-Oct-88 06-Mar-90 11-Dec-94 2 2 1 2 1 8 12 7 3 15 3 2 4 5 3 1 3 1 2 4 3 2 3 4 5 5 4 4 4 1 3 1. For each table, identify the primary key and the foreign key(s). If a table does not have a foreign key, write None. 2. Do the tables exhibit entity integrity? Answer yes or no, and then explain your answer. 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. 7. Describe the type(s) of relationship(s) between EMPLOYEE and STORE. (Hint: Each store employs many employees, one of whom manages the store.) 8. Create the ERD to show the relationships among EMPLOYEE, STORE, and REGION. 9. Create the relational diagram to show the relationships among EMPLOYEE, STORE, and REGION.
Expert Answer:
Answer rating: 100% (QA)
Based on the information provided from the Figure P31 here are the answers to the questions 1 For each table identify the primary key and the foreign keys Table EMPLOYEE Primary key is EMPCODE There i... View the full answer
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Posted Date:
Students also viewed these programming questions
-
Ursula believes that many individuals in her organization are storing sensitive information on their laptops in a manner that is unsafe and potentially violates the organization's security policy....
-
Dermaga Bhd is a luxury resort in Langkawi and leased a bayside plot of land to build a wharf for yachts belonging to its customers. The lease was for 20 years beginning the year 2001. Dermaga did an...
-
Q1: What is the calculated probability of a fire in a year, with the probability and frequency data as given in Fig. 1? (Examine the logic tree). In this plant welding happens on average 4 times per...
-
According to the 2020 Global Study on Occupational Fraud and Abuse, a tip is the most common way to report fraud. What should be the ethical considerations for employees before deciding whether to...
-
What is the essential difference between message switching and packet switching?
-
How many ways are there to choose eight coins from a piggy bank containing 100 identical pennies and 80 identical nickels?
-
Given the assumption that the energy levels of an harmonic oscillator can take on only the values \(n h v\) and given the Maxwell-Boltzmann distribution of occupation numbers, show that the...
-
Geoff Gullo owns a small firm that manufactures "Gullo Sunglasses." He has the opportunity to sell a particular seasonal model to Land's End. Geoff offers Land's End two purchasing options: Option 1....
-
Q1. Why wheel bearing lubrication is important? Q2. Explain the steps involved in wheel bearing adjustment procedure? Q3. What are the post fitting procedures and checks of wheel hubs and associated...
-
Clovis Company recently issued $500,000 (face value) bonds to finance a new construction project. The company's chief accountant prepared the following bond amortization schedule: Required: 1....
-
A first order reaction requires 12 months for the concentration of the reactant to be reduced to 25% its original value. Its half life is : A) 6 months B) 12 months C) 18 months D) 24 months
-
Does disparate impact exist? Applicants Hires 80White 48 40Black 12
-
CASE 10: HEALTH AND SAFETY OF EMPLOYEE Ma and Pa's is a mid-sized restaurant located in Syrause, New York. It employs 35 servers who are responsible for waiting tables. One server, George, has been a...
-
To display the Trial Balance, make these selections: Multiple choice question. From the Navigation Bar, click Banking. In the Search field, type Trial Balance > select Trial balance > type dates....
-
One of the most notable cases of financial statement fraud involving a public company in the last five years is the case of Wirecard AG, a German payment processor and financial services provider....
-
Case 1: Accounting for the iPhone at Apple Inc. Topics: Revenue recognition: the case of deferred revenues Role of non-GAAP earnings Communicating a change in a business model Valuation impact of...
-
The voltage at the two ends of a transmission line are 132 KV and its reactance is 40 ohm. The Capacity of the line is (A) 435.6 MW (C) 251.5 MW (B) 217.8 MW (D) 500 MW
-
A seasonal index may be less than one, equal to one, or greater than one. Explain what each of these values would mean.
-
Write a program that prompts the user to enter the number of students and each students name and score, and finally displays the student with the highest score and the student with the second-highest...
-
Write a program that obtains the execution time for finding all the prime numbers less than 8,000,000, 10,000,000, 12,000,000, 14,000,000, 16,000,000, and 18,000,000 using the algorithms in Listings...
-
Write a program that draws a fixed rectangle centered at (100, 60) with width 100 and height 40. Whenever the mouse is moved, display a message indicating whether the mouse point is inside the...
-
Describe the relationship between dynamic modeling, behavioral modeling, and structural modeling.
-
Comment on this statement: Dynamic modeling is about interaction.
-
Explain how objects interact by exchanging messages.
Study smarter with the SolutionInn App