Unit 5 - Databases Flashcards
Put Records, Table, Field and Characters in the correct order of what each is made up of?
A Table is made up from Records
Records are made up of Fields
Fields are made up of Characters
Name the 6 key aspects to a database?
Field names Fields Table Records Data items Primary key
What is a table?
A structure of rows and columns that contain data
What’s is a record?
A single row of the table holding data of a single item or event
What is a field?
An individual data item within a record
What is a primary key?
It’s a field in a table that allows each record to be uniquely identified
What are the two types of primary key?
Simple
Compound/Composite
What the difference between a simple and a compound primary key?
A simple primary key is one which is made up of a single field
A compound primary key is one that combines the content of mor than one field to produce a unique value
What is a secondary key?
Field that is identified as being suitable for indexing data
What is a foreign key?
It a key that allows tables to link together. The foreign key links to a primary key of another table
What is an entity?
A thing that can be distinctly identified
What are the three types of relationships?
One to one
One to many
Many to many
Which relationship should not be in a normalised database?
Many to many
Why is data normalised?
To reduce redundancy and inconsistency and easier to maintain
2 characteristics of 1NF?
Every data value in a field is atomic
No repeating values