levo

Database Concepts and Entity Relationship Modelling

Relationships and their degree

  • 3 things to know
  • A2 Unit 1

Overview

Relationship in an ER model, three degrees of relationship and one-to-one relationship.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a one-to-one relationship?

Key term

What is a one-to-many relationship?

Key term

Give an example of each of the three degrees drawn from a school.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a relationship in an ER model?

    Model answer

    A relationship is an association between two entities that the system must record, such as a customer placing orders. It is drawn as a line between the two entities and named with a verb that reads correctly in both directions.

  2. 2

    What are the three degrees of relationship?

    Model answer

    The three degrees are one to one, one to many and many to many, describing how many occurrences of each entity may be associated with a single occurrence of the other.

  3. 3

    What is a one-to-one relationship?

    Model answer

    A one-to-one relationship associates one occurrence of an entity with at most one occurrence of the other, and the reverse is also true. An employee allocated exactly one company car, where each car is allocated to exactly one employee, is one to one.

  4. 4

    What is a one-to-many relationship?

    Model answer

    A one-to-many relationship associates one occurrence of the first entity with many occurrences of the second, while each of those is associated with only one of the first. One customer places many orders and each order is placed by one customer.

  5. 5

    What is a many-to-many relationship?

    Model answer

    A many-to-many relationship associates each occurrence of either entity with many occurrences of the other. A student studies many courses and each course is studied by many students.

  6. 6

    Give an example of each of the three degrees drawn from a school.

    Model answer

    One to one: a pupil and their examination candidate number. One to many: a form and the pupils registered in it. Many to many: a pupil and the subjects they study, since a pupil takes several subjects and a subject is taken by several pupils.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

A null is the of one.
absencepresencetype

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AA null means no value has been recorded.
BZero and an empty string are values.
CA null is the absence of a value.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Database Concepts and Entity Relationship Modelling, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.