Filemaker Pro 9 (56) Flashcards

1
Q

This set entered on 5-12-2014
5.2.14.3

  1. p 322. JOIN TABLES (CONT’D). Think of JOIN TABLES this way: INVOICES and PAYMENTS both have a ONE TO MANY RELATIONSHIP to the JOIN TABLE. So ONE INVOICE can connect to MANY JOIN RECORDS, each of which connects to ONE PAYMENT. Likewise, ONE PAYMENT can:
A

connect to MANY JOIN RECORDS, each of which connects to ONE INVOICE. So YOU GET MANY RELATED records in BOTH DIRECTIONS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. A JOIN TABLE ALWAYS contains:
A

TWO FOREIGN KEYS, one from EACH TABLE it is JOINING.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. If your database has MANY TO MANY RELATIONSHIPS, you may have to create a JOIN TABLE to hold just THE TWO FOREIGN KEYS, unless:
A

your database already has a REAL TABLE that can act as a JOIN TABLE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. What is an example of a REAL TABLE that can act as a JOIN TABLE?
A

Your database tracks ORDERS for the PRODUCTS YOU SELL. You have a PRODUCTS TABLE (PRIMARY KEY: PRODUCT SKU FIELD) and an ORDERS TABLE (PRIMARY KEY: ORDER NUMBER FIELD).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. The JOIN TABLE for the PRODUCTS-ORDERS MANY TO MANY RELATIONSHIP is the :
A

LINE ITEMS TABLE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. The LINE ITEMS (JOIN TABLE) in the PRODUCTS-ORDERS MANY TO MANY RELATIONSHIP holds what fields?
A

it holds the PRODUCT SKU (FOREIGN KEY), the ORDER NUMBER (FOREIGN KEY), plus other quantitative fields, such as QUANTITY, PRICE, EXTENDED PRICE, etc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Other than being the JOIN TABLE with the FOREIGN FIELDS, the LINE ITEMS TABLE also shows:
A

a. Which PRODUCTS were on each order
b. How many
c. At what price.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. So the LINE ITEM TABLE not only serves as a JOIN TABLE, but it also:
A

holds the LINE ITEMS, which are REAL ENTITIES.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. So, how did you ELIMINATE the MANY TO MANY RELATIONSHIPS?
A

by CREATING JOIN TABLES, so that instead of a MANY TO MANY RELATIONSHIP, you have TWO ‘ONE TO MANY’ RELATIONSHIPS.

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