Home | Previous Page | Next Page   Appendix A. The stores_demo Database > Primary-Foreign Key Relationships >

The stock and manufact Tables

The stock table and the manufact table are joined by the manu_code column. The same manufacturer code can appear in more than one row of the stock table if the manufacturer produces more than one piece of equipment. In the stock table, the manu_code column is a foreign key that references the manu_code column in the manufact table. Figure 11 shows this relationship.

Figure 11. Tables That the manu_code Column Joins
begin figure description -- This figure shows data from portions of rows in the stock table and in the manufact table, where the stock_num and manu_code columns in the stock table are foreign keys that reference the stock_num and manu_code columns in the manufact table.  -- end figure description
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]