Filemaker Pro 9 (54) Flashcards

1
Q

This set entered on 5-12-2014
5.2.14.1

  1. A PRIMARY KEY is:
A

a KEY FIELD that is in the same table that holds THE RECORDS IT IDENTIFIES.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. In the INVOICE TABLE, what is the PRIMARY KEY?
A

the INVOICE NUMBER FIELD because it IDENTIFIES AN INVOICE RECORD. If you put the INVOICE NUMBER in the LINE ITEMS table, it is NOT a PRIMARY KEY THERE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. If you put the INVOICE NUMBER in the LINE ITEMS table, it is NOT a PRIMARY KEY there, it is:
A

a FOREIGN KEY.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What do FOREIGN KEYS do?
A

FOREIGN KEYS IDENTIFY RECORDS IN OTHER TABLES.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Where do you need to put the FOREIGN KEY?
A

When you have a ONE TO MANY RELATIONSHIP, you MUST put the FOREIGN KEY in the table ON THE “MANY” SIDE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. By looking at the ENTITY RELATIONSHIP DIAGRAM, how do you know where the FOREIGN KEY GOES?
A

When you see a CROW’S FOOT in the ER Diagram, you NEED a FOREIGN KEY in the TABLE TO WHICH IT IS ATTACHED.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. In a ONE TO MANY RELATIONSHIP, where is the PRIMARY KEY?
A

It is ALWAYS on the “ONE” table. The FOREIGN KEY is ALWAYS on the “MANY” table.

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