You are on page 1of 3

Database Design 5-2: Relationship Types Practice Activities

Objectives
• Recognize and give examples of a one-to-one relationship
• Recognize and give examples of a one-to-many relationship
• Recognize and give examples of a many-to-many relationship
• Recognize redundant relationships and remove them from the ERD

Vocabulary
Identify the vocabulary word for each definition below.
A relationship where each record in Table A can be related to one,
and only one, record in Table B, and each record in Table B
relates to one, and only one, record in Table A.
A relationship where a single record in Table A can be related to
one or more records in Table B, but a single record in Table B can
only be related to one record in Table A.
A relationship in which many records in one table match many
records in another table
Unnecessarily repetitive

Try It / Solve It
1. Identify the relationship types of the statements below

Type Statement
1-M A snowboard instructor may instruct one or more
snowboarders
1-1 A bicycle may be owned by a child

M-M Classroom crayons may be used by students in a classroom

1-1 A passport belongs to a person

1-M A female elephant gives birth to an elephant

Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

2. Provide two examples for each relationship type.


This study source was downloaded by 100000833626226 from CourseHero.com on 09-14-2022 07:58:44 GMT -05:00

https://www.coursehero.com/file/72145143/DD-5-2-Practicedocx/
Relationship Type Example
One-to-one Each person must be have one and only
one blood type
One-to-one Each person must be have one and only
birth certificate
One-to-many Each headmaster must be lead one or
more teachers
One-to-many Each manager must be lead one or more
employee
Many-to-many Each teacher may be teach on or more
student
Many-to-many Each student may be take one or more
subject.

3. Draw an entity relationship diagram to represent the following:

a. Each CLUB must be assigned to one and only one DEPARTMENT


b. Each DEPARTMENT may be responsible for one or more CLUBs
c. Each STUDENT may join one or more CLUBs
d. Each CLUB may be composed of one or more STUDENTs

This study source was downloaded by 100000833626226 from CourseHero.com on 09-14-2022 07:58:44 GMT -05:00

https://www.coursehero.com/file/72145143/DD-5-2-Practicedocx/
Copyright © 2020, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

This study source was downloaded by 100000833626226 from CourseHero.com on 09-14-2022 07:58:44 GMT -05:00

https://www.coursehero.com/file/72145143/DD-5-2-Practicedocx/
Powered by TCPDF (www.tcpdf.org)

You might also like