Databases

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:24 AM on 4/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Table Records and Fields

Records - Rows

Fields - Columns

2
New cards

What are tables typically used for?

storing contact details, small product database, maintaining a game or music collection

3
New cards

Disadvantages of Tables

  • lots of repeated data

  • takes up a lot of space

  • slow to query

  • difficult to maintain

  • better to split into multiple tables (relational database)

4
New cards

Primary Key

a field in a record that is guaranteed to be unique

5
New cards

Foreign Key

when a table has a relational link to another table

6
New cards

Secondary key fields

used to index fields that are often used as seach criteria

7
New cards

normalisation

splitting tables in a database and arranging the data to move it from different normal forms

8
New cards

how to get to first normal form

  • all field names must be unique

  • values in fields should be from the same domain

  • values in fields should be atomic

  • no two records can be identical

  • each table needs a primary key

9
New cards

how to get to second normal form

  • the data is already in 1NF

  • any partial dependencies have been removed

10
New cards

how to fix a many-to-many relationship

  • create a linking table

  • assign the primary keys from the two initial tables as the composite key for the new linking table

  • flip the M:M crows feet relationship to become two separate 1:M relationships joined by the new table

11
New cards

how to get to third normal form

  • the data is already in 2NF

  • any transitive dependencies have been removed

12
New cards

non key dependency

the value of a field is determined by the value of another field that is not part of the primary key