4.10.2 Relational databases Flashcards

1
Q

What is a composite key?

A

A key that is made up of multiple attributes

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

What is a database?

A

Structured collection of data

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

What is a record?

A

all the data about one item

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

What is a flat file / relational database?

A

Flat file database - single table

Relational database- multiple tables

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

What is a primary key?

A

a field which uniquely identifies each record in a database

an attribute that will identify a particular instance of an entity

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

What is a foreign key?

A

an attribute in one table that is (linked) to a primary key attribute in another table

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

What is an attribute?

A

a property or characteristic of an entity

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