Relational Databases Flashcards

1
Q

Benefits of Relational tables

A
  • no data redundancy
    (reduces risk of data-entry/saves space and processing power)
  • obtain complete information by joining data
    (primary key, foreign key, descriptive attributes)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefits of Flatfile

A
  • easier for human visual consumption
  • optimal for analyzing data
  • NOT GOOD for data storage (redundancy)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Difference between a database table and spreadsheet

A

A database:
- each columns require a name
- each column must contain same type of data
- each table must contain a unique identifier (primary key)

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

Primary key vs Foreign key

A

primary key:
- uniquely identifies each row of data in a table (no duplicates)
- can be in more than one column

foreign key
- can be duplicate
- must reference primary key in another table

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