levo

Normalisation and Structured Query Language

First normal form

  • 3 things to know
  • A2 Unit 1
Start revising · £5/month

Overview

Atomic value and process of reaching first normal form.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

What is the process of reaching first normal form?

Key term

Take an order document holding OrderNo, OrderDate, CustomerNo, CustomerName and repeating lines of ProductCode, Description, UnitPrice and Quantity to first normal form

Key term

Why does the order line table need a composite key?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    When is data in first normal form?

    Model answer

    Data is in first normal form when it contains no repeating groups: every intersection of a row and a column holds a single atomic value, and the table has a primary key.

  2. 2

    What is an atomic value?

    Model answer

    An atomic value is a single indivisible item of data. A field holding three telephone numbers separated by commas is not atomic, because the individual numbers cannot be searched, sorted or updated separately.

  3. 3

    What is the process of reaching first normal form?

    Model answer

    The repeating group is removed to a table of its own, the key of the original record is carried into it as part of its key, and the attributes that occur only once per record stay in the original table.

  4. 4

    Take the order document to first normal form.

    Model answer

    1NF gives two tables. Order: OrderNo as key, with OrderDate, CustomerNo and CustomerName. OrderLine: OrderNo and ProductCode together as key, with Description, UnitPrice and Quantity.

  5. 5

    Why does the order line table need a composite key?

    Model answer

    Neither attribute is unique on its own: one order number appears on every line of that order, and one product code appears on lines of many different orders. The two together identify a single line.

  6. 6

    Is a table with a full name field in a single column in first normal form?

    Model answer

    Strictly it is not atomic if the business needs to search or sort on surname alone, because the field then holds two meaningful values. If the name is only ever printed whole, holding it in one column is acceptable.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

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

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A null is the of one.
absencepresencetype

Blank Blitz consolidates the facts

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

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

An error is the mistake a person made.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

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

Every question in Normalisation and Structured Query Language, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

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