Creating the PUBLISHERS Table
Once again, follow the same basic steps listed in the earlier section Section 4.2 to create the PUBLISHERS table. Field definitions for the PUBLISHERS table are shown in Table 4.6.
Table D-6. Fields of the PUBLISHERS Table
|
Field Name |
Data Type |
|---|---|
|
PubID |
Text |
|
PubName |
Text |
|
PubPhone |
Text |
Once again, there is only a single property that you need to set:
|
Field Name: |
PubID |
|---|---|
|
Property: |
Indexed |
|
Value: |
Yes (No Duplicates) |
Designate PubID as the primary key, and save the table as PUBLISHERS.
Once you’ve finished creating the PUBLISHERS table, you can enter data into it. The PUBLISHERS table contains records for only three publishers; these are shown in Table 4.7.
Table D-7. Data for the PUBLISHERS Table
|
PubID |
PubName |
PubPhone |
|---|---|---|
|
1 |
Big House |
123-456-7890 |
|
2 |
Alpha Press |
999-999-9999 |
|
3 |
Small House |
714-000-0000 |
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access