BuyFindarrow_forward

Database Systems: Design, Implemen...

12th Edition
Carlos Coronel + 1 other
Publisher: Cengage Learning
ISBN: 9781305627482

Solutions

Chapter
Section
BuyFindarrow_forward

Database Systems: Design, Implemen...

12th Edition
Carlos Coronel + 1 other
Publisher: Cengage Learning
ISBN: 9781305627482
Chapter 3, Problem 24RQ
Textbook Problem
361 views

Create the ERM.

FIGURE Q3.22 THE CH03_THEATER DATABASE TABLES

Chapter 3, Problem 24RQ, Create the ERM. FIGURE Q3.22 THE CH03_THEATER DATABASE TABLES

Program Plan Intro

Primary Key:

A Primary Key in a database table is a field in the table that uniquely identifies every row or record present in the database table.

Example:

Students in Universities are assigned a unique registration number.

Therefore, in a STUDENT database table, the attribute “reg_no” acts as primary key.

Foreign Key:

Foreign Key is a column in a relational database table which provides a relation between two tables. It provides a cross reference between tables by pointing to primary key of another table.

Example:

In STUDENT database table, the attribute “reg_no” acts as primary key and in COURSE database table in which the student selects his or her course, the same “reg_no” acts as foreign key for the STUDENT table.

One to Many Relationship:

When one record in a database table is associated with more than one record in another table, the relationship between the two tables is referred as one to many relationship. It is also represented as1: M relationship. This is the opposite of many to one relationship.

ENTITY- RELATIONSHIP DIAGRAM (ERD):

Entity- Relationship Diagram is also known as ER Diagram. It is used to define the conceptual view of the database as viewed by the end user. It is used to depict the database’s main components: entities, relationships and attributes.

CROW FOOT ERD:

The Crow Foot ERD is an Entity Relationship Diagram which is used to represent the cardinalities present in the basic ER diagram. It is used to represent the relationships present between two tuples or tables present in the database.

Explanation of Solution

Given database tables:

Table Name: DIRECTOR

DIR_NUM DIR_LNAME DIR_DOB
100 Broadway 12-Jan-65
101 Hollywoody 18-Nov-53
102 Goofy 21-Jun-62

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 Star struck in Biloxi 102
1007 Stranger in Farrot Ice 101

Primary Key in the above Tables:

For Table Name: DIRECTOR:

Primary Key: DIR_NUM

“DIR_NUM” acts as primary key of the table because the attribute “DIR_NUM” is a unique number that is assigned to every director. It also uniquely identifies every other row present in the database table.

For Table Name: PLAY:

Primary Key: PLAY_CODE

“PLAY_CODE” acts as primary key of the table because the attribute “PLAY_CODE” is a unique number that is assigned to every play directed by the directors. It also uniquely identifies every other row present in the database table.

Foreign Key in the above Tables:

For Table Name: DIRECTOR:

Foreign Key: DIR_NUM

“DIR_NUM” acts as foreign key for the table because the attribute “DIR_NUM” is also present in the table PLAY”...

Still sussing out bartleby?

Check out a sample textbook solution.

See a sample solution

The Solution to Your Study Problems

Bartleby provides explanations to thousands of textbook problems written by our experts, many with advanced degrees!

Get Started

Chapter 3 Solutions

Database Systems: Design, Implementation, & Management
Show all chapter solutions
add
Ch. 3 - Create the basic ERD for the database shown in...Ch. 3 - Create the relational diagram for the database...Ch. 3 - Use Figure Q3.13 to answer Questions 1317. FIGURE...Ch. 3 - Create the table that results from applying a...Ch. 3 - Write the relational algebra formula to apply an...Ch. 3 - Create the table that results from applying an...Ch. 3 - Using the tables in Figure Q3.13, create the table...Ch. 3 - Suppose you have the ERD shown in Figure Q3.18....Ch. 3 - What are homonyms and synonyms, and why should...Ch. 3 - How would you implement a l:M relationship in a...Ch. 3 - Identify and describe the components of the table...Ch. 3 - Identify the primary keys. FIGURE Q3.22 THE...Ch. 3 - Identify the foreign keys. FIGURE Q3.22 THE...Ch. 3 - Create the ERM. FIGURE Q3.22 THE CH03_THEATER...Ch. 3 - Create the relational diagram to show the...Ch. 3 - Suppose you wanted quick lookup capability to get...Ch. 3 - What would be the conceptual view of the INDEX...Ch. 3 - For each table, identify the primary key and the...Ch. 3 - Do the tables exhibit entity integrity? Answer yes...Ch. 3 - Do the tables exhibit referential integrity?...Ch. 3 - Describe the type(s) of relationship(s) between...Ch. 3 - Create the ERD to show the relationship between...Ch. 3 - Create the relational diagram to show the...Ch. 3 - Describe the type(s) of relationship(s) between...Ch. 3 - Create the ERD to show the relationships among...Ch. 3 - Create the relational diagram to show the...Ch. 3 - For each table in the database, identify the...Ch. 3 - Create the ERD to show the relationship between...Ch. 3 - Create the relational diagram to show the...Ch. 3 - Do the tables exhibit entity integrity? Answer yes...Ch. 3 - Do the tables exhibit referential integrity?...Ch. 3 - Create the ERD to show the relationships among...Ch. 3 - Create the relational diagram to show the...Ch. 3 - For each table, identify the primary key and the...Ch. 3 - Do the tables exhibit entity integrity? Answer yes...Ch. 3 - Do the tables exhibit referential integrity?...Ch. 3 - Identify the TRUCK tables candidate key(s). FIGURE...Ch. 3 - For each table, identify a superkey and a...Ch. 3 - Create the ERD for this database. FIGURE P3.17 THE...Ch. 3 - Create the relational diagram for this database....Ch. 3 - For each table, identify each of the following...Ch. 3 - Create the ERD. (Hint: Look at the table contents....Ch. 3 - Create the relational diagram. FIGURE P3.24 THE...Ch. 3 - Modify the ERD you created in Problem 25 to...Ch. 3 - Create the relational diagram for the design you...Ch. 3 - Create the table that would result from applying...Ch. 3 - Create the table that would result from applying...Ch. 3 - Create the table that would result from applying a...

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Show solutions add
What is connectivity? (Use a Crows Foot ERD to illustrate connectivity.)

Database Systems: Design, Implementation, & Management

Investigate the size of pipes used in transporting natural gas to your state. What are the inside and outside d...

Engineering Fundamentals: An Introduction to Engineering (MindTap Course List)

Determine the magnitude of the pin reaction at B. Neglect the weights of the members.

International Edition---engineering Mechanics: Statics, 4th Edition

If your motherboard supports ECC DDR3 memory, can you substitute non-ECC DDR3 memory?

A+ Guide to Hardware (Standalone Book) (MindTap Course List)

What information might you receive from a web to mobile text message? (124)

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)