Databases Flashcards

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

What is a database?

A

A database is a persistent organised store of data that is used on a computer system.

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

What is a Flat File database?

A

A flat file database can be created in a word processor or spreadsheet as it is only composed of one file or table.

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

What is each row known as in a flat file database?

A
  • In a flat file database, each row of the table is known as a record
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is each column known as in a Flat file database?

A
  • each column is known as a field
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Relational Database?

A
  • Relational Database is where data is contained in more than one table. Tables are then joined by linking a primary key in one table to a foreign key in another table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a primary key?

A
  • Primary Key is a unique identifier such as a code number that can be used to identify each record in a database table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Foreign key?

A
  • Foreign Key is a field in a table which can be linked to a primary key of another table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a composite key?

A

The composite primary key is used in a table where two columns are used to form a combined key field. It is necessary for both columns to be combined to form a unique reference.

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

What is an advantage of using the relational database?

A

The advantage of using a relational database is that data redundancy is reduced as linking the data tables reduces the duplication of data. This makes it simpler to keep information up to date and increases the accuracy and consistency of data.
The most common type of relationship defined in a relational database is one to many

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