levo

Database Concepts and Entity Relationship Modelling

The relational model

  • 3 things to know
  • A2 Unit 1

Overview

Relational model, atomicity of a field value and relational database management system.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

What is the relational model?

Key term

How are two tables linked in the relational model?

Key term

Why does the order of rows in a relational table not matter?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is the relational model?

    Model answer

    The relational model organises data into tables of rows and columns, where each table describes one kind of thing and tables are associated by matching values rather than by stored pointers. The model was set out by E F Codd in 1970.

  2. 2

    How are two tables linked in the relational model?

    Model answer

    The primary key of one table is placed into the other as a foreign key, and a query joins the two by matching those values. Nothing physical connects the tables; the link exists in the data.

  3. 3

    What does it mean to say the relational model is set-based?

    Model answer

    A relational query describes the set of rows wanted rather than the steps to fetch them, so the database management system decides how to obtain them. That is why the same query can be answered by different methods as the data grows.

  4. 4

    Why does the order of rows in a relational table not matter?

    Model answer

    A row is identified by its primary key rather than by its position, so a table is a set rather than a list. Any required order is imposed by the query that reads the table, not by how the rows are stored.

  5. 5

    What is meant by atomicity of a field value?

    Model answer

    An atomic value is a single indivisible item. A field holding a list of three telephone numbers is not atomic, which is what first normal form forbids, because the individual numbers cannot then be searched or updated separately.

  6. 6

    State three strengths of the relational model.

    Model answer

    The relational model removes duplication so a fact is held once, allows queries the designer never anticipated because any tables can be joined on matching values, and separates the structure from the programs so either can change independently.

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.