Databases Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is normalisation

A

Process where you :
- reduce duplication
- reduce inconsistency
- make it easier to search and sort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Redundant data

A

Unnecessary repeated data
- leads to data inconsistency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

1st normal form

A

Contains repeating attributes and has a primary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Relational database

A

Data is stored in separate tables that are linked through primary and foreign keys

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Flat file

A

All data is stored in one place
- easy to set up
- main problem = redundant data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Primary key

A

Unique identifyer for a record in a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Foreign key

A

Links 2 tables together, exists in one table as a primary key and acts as a foreign key in another

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

First normal form

A

No atttribute that contains more then a single value
- each

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

2nd normal form

A

Doesn’t have any partial dependencies
No attributes can depend on part of a composite key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

3rd normal form

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Secondary key

A

Is made on a field that you would like to be indexed for faster searches
- a table can have more then 1 secondary key

How well did you know this?
1
Not at all
2
3
4
5
Perfectly