wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Creating Database Tables

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

The image shows a database table design. What is the primary key for this table.

a)

Name

b)

TeacherNo

c)

Degree

d)

Phone

2.

The image shows a database table design. What is the primary key for this table.

a)

SubID

b)

SubName

c)

TeacherNo

d)

Subject

3.

Which of the two fields can be linked to create the best relationship between the tables

a)

SubID and TeacherNo

b)

SubName and Name

c)

TeacherNo and Phone

d)

TeacherNo and TeacherNo

4.

In the diagram there are two TeacherNo fields. The one in the Teacher table is the primary key. What is the name given to the one in the Subjects table

a)

Teacher Key

b)

Primary Key

c)

Foreign Key

d)

Composite Key

5.

The diagram shows a relationship between the two tables with the fields hidden. What kind of relationship is it?

a)

one to one

b)

two to two

c)

one to many

6.

What data type should be used for Phone.

a)

Data/Time

b)

Short Text

c)

Number

d)

Currency

7.

What is a suitable data type for TeacherNo

a)

Currency

b)

Yes/No

c)

Number

d)

Hyperlink

8.

How many fields does this table have?

a)

2

b)

3

c)

4

d)

8

9.

When should table relationships be created?

a)

Before creating tables

b)

After entering data

c)

Before entering data

10.

Which view of the database is being displayed?

a)

design view

b)

datasheet view

c)

print preview

d)

normal view