3.7 Flashcards

1
Q

Define Database.

A

A database is a way of holding data in an organised way so that it is quick and easy to find a particular item.
A database will contain one or more tables.

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

Define a Relational Database.(3)

A

In a relational database each entity has its own table, and the tables are linked by a common field.
By doing this each item of data is held only once, there is no possibility of inconsistency in the spelling of a name, or a difference in two phone numbers recorded for the same person.
Data inconsistency and data redundancy have been eliminated.

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

What does SQL stand for?(2)

A

Structured Query Language.
It is used for querying and updating database tables in a relational database.

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

Define record.

A

A record within a database is the combined entities on a single row.

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

Define field.

A

Each field is a different column in a database.

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

Define entity.

A

Each individual person or thing within any database.

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

What is the foreign key?

A

The foreign key is the field which is the Primary Key of one table, and a field in another.

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

What is the primary key?

A

The Primary Key is the unique identifier in a database table. No two entities in the table in the field of the Primary Key can be the same.

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