Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

Tutorial_3_Chapter_03_The_Relational_Database_Model_Question

Chapter 3 discusses the Relational Database Model, focusing on key concepts such as entity integrity and referential integrity, and their importance in database design. It includes review questions and problem solutions related to identifying primary and foreign keys, creating ERDs, and analyzing relationships between tables. The chapter emphasizes practical applications through figures and examples to illustrate the relational model.

Uploaded by

dauhrahimi2
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Tutorial_3_Chapter_03_The_Relational_Database_Model_Question

Chapter 3 discusses the Relational Database Model, focusing on key concepts such as entity integrity and referential integrity, and their importance in database design. It includes review questions and problem solutions related to identifying primary and foreign keys, creating ERDs, and analyzing relationships between tables. The chapter emphasizes practical applications through figures and examples to illustrate the relational model.

Uploaded by

dauhrahimi2
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Chapter 3 The Relational Database Model

Chapter 3
The Relational Database Model

Review Questions

1. What is the difference between a database and a table?

2. What does it mean to say that a database displays both entity


integrity and referential integrity?

3. Why are entity integrity and referential integrity important in a database?

4. Suppose that you have the ERM shown in Figure Q3.14.

FIGURE Q3.14 The Crow’s Foot ERD

How would you convert this model into an ERM that displays only 1:M relationships? (Make
sure that you draw the revised ERM.)
Chapter 3 The Relational Database Model

5. Use the database composed of the two tables shown in Figure Q3.22
to answer Questions 6-9.

FIGURE Q3.18 The Ch03_Theater Database Tables

6. Identify the primary keys.

7. Identify the foreign keys.

8. Create the Crow’s Foot ERD.


Chapter 3 The Relational Database Model

9. Create the relational diagram to show the relationship between DIRECTOR and PLAY.

Problem Solutions

Use the database shown in Figure P3.1 to answer Problems 1-9.

FIGURE P3.1 The Ch03_StoreCo Database Tables


Chapter 3 The Relational Database Model

1. For each table, identify the primary key and the foreign key(s). If a table does not have a
foreign key, write None in the space provided.

TABLE PRIMARY KEY FOREIGN KEY(S)


EMPLOYEE

STORE

REGION

2. Do the tables exhibit entity integrity? Answer yes or no and then explain your answer.
Chapter 3 The Relational Database Model

TABLE ENTITY INTEGRITY EXPLANATION


EMPLOYEE

STORE

REGION

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.

TABLE REFERENTIAL INTEGRITY EXPLANATION


EMPLOYEE

STORE

REGION

4. Describe the type(s) of relationship(s) between STORE and REGION.


Chapter 3 The Relational Database Model

5. Create the Crow’s Foot 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. Draw the Crow’s Foot ERD to show the relationships among EMPLOYEE, STORE, and
REGION.

9. Create the relational diagram to show the relationships among EMPLOYEE, STORE, and
REGION.

You might also like