many to many relationship

L

lynn atkinson

I have a table containing employee name, address, and
telephone number employee ID (primary key). I have another
table containing information on applications for post with
a primary key of (selection ID).This creates a many to
many relationship ie one employee can apply for many posts
and a post can have many employees applying for it. WHat
should my join table contain to give me 2 many to one
relationships?
 
E

Elliot Liffman

You need a junction table. Create a new table, say tblPostApplications, with
felds for EmployeeID and SelectionID. tblEmployees is related one-to-many
on EmployeeID, tblPosts is related one-to-many on SelectionID.
 

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

Top