1. Use the contents of Figure 2.3 to work on the following problem. The text in Figure...
Question:
1. Use the contents of Figure 2.3 to work on the following problem.
The text in Figure 2.3 is reproduced below for your convenience:
FIGURE 2.3 Linking Relational Tables
Write the business rule(s) that governs the relationship between AGENT and CUSTOMER.
- Given the business rule(s) you wrote in Problem 1, create the basic Crow’s Foot ERD.
*****************************************************************
- 2. Identify and describe the components of the table shown in Figure Q3.4, using correct
terminology. Use your knowledge of naming conventions to identify the table’s probable foreign key(s).
EMP_NUM | EMP_LNAME | EMP_INITIAL | EMP_FNAME | DEPT_CODE | JOB_CODE |
11234 | Friedman | K | Robert | MKTG | 12 |
11238 | Olanski | D | Delbert | MKTG | 12 |
11241 | Fontein | Juliette | INFS | 5 | |
11242 | Cruazona | J | Maria | ENG | 9 |
11245 | Smithson | B | Bernard | INFS | 6 |
11248 | Washington | G | Oleta | ENGR | 8 |
11256 | McBride | Randall | ENGR | 8 | |
11257 | Kachinn | D | Melanie | MKTG | 14 |
11258 | Smith | W | William | MKTG | 14 |
11260 | Ratula | A | Katrina | INFS | 5 |
FIGURE Q3.4 EMPLOYEE Table
Figure Q3.4's database table contains: LIST HERE
- 3. Suppose you are using the database composed of the two tables shown in Figure Q3.5.
- Table Name: Director Table Name: Play
PLAY_CODE | PLAY_NAME | DIR_NUM |
1001 | Cat On a Cold, Bare Roof | 102 |
1002 | Hold the Mayo, Pass the Bread | 101 |
1003 | I Never Promised You Coffee | 102 |
1004 | Silly Putty Goes To Washington | 100 |
1005 | See No Sound, Hear No Sight | 101 |
1006 | Starstruck in Biloxi | 102 |
1007 | Stranger In Parrot Ice | 101 |
DIR_NUM | DIR_LNAME | DIR_DOB |
100 | Broadway | 12-Jan-65 |
101 | Hollywoody | 18-Nov-53 |
102 | Goofy | 21-Jun-62 |
FIGURE Q3.5 The Ch03_Theater Database
- Identify the primary keys.
- Identify the foreign keys.
- Create the ERM.
- Suppose you wanted quick lookup capability to get a listing of all plays directed by a given director. Which table would be the basis for the INDEX table, and what would be the index key?
Database Systems Design Implementation and Management
ISBN: 978-1337627900
13th edition
Authors: Carlos Coronel, Steven Morris