levo

Normalisation and Structured Query Language

First normal form

  • 3 things to know
  • A2 Unit 1

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.

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 Normalisation and Structured Query Language, 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.