Structures and links (database) Flashcards

1
Q

What is a rational database?

A

A relational database will contain at least two tables. In a relational database the tables are linked using key fields.

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

Why are rational databases used?

A

1) Details need only be entered into the appropriate table in the database once
2) Duplication is avoided – data entered in one table can be shared by other tables. This reduces the potential size of the database file.

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

What is a primary key?

A

The primary key of a table within a relational database is a field which uniquely identifies each record in the table

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

What is a one-to-one relationship?

A

One-to-one relationships occur when there is a direct one to one link between data held on two different tables. e..g. National insurance no. and a pupil

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

What is a one-to-many relationship?

A

One-to-many relationships exist where one instance of an entity can exist lots of times in another entity.

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

Give an example of a many-to-many relationship.

A

Clubs can accommodate many pupils and pupils can attend many clubs. This is an example of a many-to-many relationship.

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