Databases

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

Entity

1 / 17

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

18 Terms

1

Entity

The item/person that the database is about

New cards
2

Primary Key

A unique identifier that is used to differentiate other entities

New cards
3

Secondary Key

A different, simpler + more common identifier to separate each entity

New cards
4

Foreign key

An attribute that links two tables together

New cards
5

Computerised database

Data that collects/stores data electronically

New cards
6

Flat file database

A single file that is suitable for storing one entity

New cards
7

Paper-based database

A method of collecting and storing data manually e.g. address book

New cards
8

Normalisation

Process of converting a database from 0NF to 3NF, it is used to organise data

New cards
9

Entity relationships

Helps the database to link two or more entities together

  • One-to-one

  • One-to-many

  • Many-to-many

New cards
10

0NF (0 normal form)

First step of normalisation

New cards
11

1NF (first normal form)

  • Must have a primary key in each table

  • All fields must be unique

  • Values in fields must be atomic

  • No two records can be identical

New cards
12

2NF (second normal form)

  • Data must be in 1NF

  • Any partial dependencies must be removed (only one field should be dependant on the key)

New cards
13

3NF (third normal form)

  • Data must be in 2NF

  • Any transitive dependencies have been removed

    • “All fields are dependant on the key, the whole key and nothing but the key.”

New cards
14

Referential integrity

Process of ensuring consistency

  • Prevents data from being deleted in a table if it is required somewhere else

New cards
15

Transaction processing

A single operation executed on data

New cards
16

Redundancy

Having one or more copies of the data in physically different locations to prevent damage/loss of the data

New cards
17

SQL (structured query language)

  • Used to create and manage databases, it is useful for handling data + creating links between entities and tables

  • Primarily a declarative language that expresses what needs to be achieved rather than expressing the logic of how it needs to be achieved

New cards
18

Relational Database

Linking two databases together using a foreign key

New cards

Explore top notes

note Note
studied byStudied by 55 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 38 people
... ago
5.0(2)
note Note
studied byStudied by 43 people
... ago
5.0(1)
note Note
studied byStudied by 46 people
... ago
4.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 122669 people
... ago
4.8(561)

Explore top flashcards

flashcards Flashcard (63)
studied byStudied by 85 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (154)
studied byStudied by 1 person
... ago
5.0(2)
flashcards Flashcard (27)
studied byStudied by 8 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (49)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (104)
studied byStudied by 17 people
... ago
5.0(1)
robot