Table Design

S

Sally

I want to create a very basic database for employee phone
numbers. I have 2 tables:
Department & Employees

Department table consists of 2 fields:
Dept.
Dept. No. (primary key)

Employees table consists of 7 fields:
Last Name
First Name
Employee ID (primary key)
Home No.
Cell No.
Pager No.
Work No.

Should I set up a relationship between the 2 tables?
If so how?
Doesn't there have to be a common field in both?

Thank you for your time
 
A

AFS

You can add the field Dept. No. to the Employee's table
as a Foriegn Key. That way you can link the tables.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top