Topic 7-Relational databases and SQL Flashcards

1
Q

What is a database?

A

A structured and consistent collection of data.

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

What are the positives of databases?

A

Makes processing more efficient, reduces storage requirements.

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

What are the two types of databases?

A

Relational and flat file.

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

What is a flat file database?

A

All data stored on one table.

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

Characteristics of flat file databases.

A

Very inefficient, difficult to query and used for small/trivial data sets. Data is often duplicated, also suffers inconsistencies between records. This can compromise the integrity of the data.

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

What are relational databases?

A

More than one table that are related, this eliminates data inconsistency and data redundancy.

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

What are databases manage by?

A

Data base management system such as access.

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

What is a primary key?

A

A field that uniquely identifies a record in a table.

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

What is a foreign key?

A

Primary key for one table and foreign key for another table.

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