{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Access Database Tutorial - Access Database Tutorial 1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Access Database Tutorial 1. Create the relationships between the tables: This step requires some thinking regarding which column should be the primary key in a table and which one should be the foreign key. Remember these guidelines: 1. Primary key: the column contains unique values. 2. Foreign key: this column should be the primary key in other table. The records may repeat. An example is provided below: Table “Customer” has primary key CustID because it has unique values. Logically, it should be the primary key because it should be unique for every customer and this table stores unique record for every customer. This column should be linked with the CustomerID column of table “SalesOrders” since this table may have numerous records for the same customer. The identification of the customer can be found by reading the relevant record of the customer in CustomerID column in SalesOrders table and linking this id to a record in CustID column of Customer table.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}