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. You need to find out all relevant relationships before you proceed to the next step.
Background image of page 1

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

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

This note was uploaded on 04/04/2011 for the course BA 3351 taught by Professor Yu during the Spring '09 term at University of Texas at Dallas, Richardson.

Page1 / 9

Access Database Tutorial - Access Database Tutorial 1....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online