Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

many-to-many relationship

Status
Not open for further replies.

czarjosh

Technical User
Jul 14, 2002
79
US
what is the best way to design a many-to-many relationship. the scenario is : I have employees and i want to register their concerns.

Such as:

Name Concern
Sally Wages

But I at one point will want to create a report of everyone and there concerns but also a report of every with a certain concern. Is this a many-to-many or a one-to-many relationship.
 
a report of everyone and there concerns
So, an employee may have several concerns.
a report of every with a certain concern
So, a concern may have several employees.
You have to build a many-to-many relationship, i.e. a relation table which Primary Key is composed of the employeeID Foreign Key and the concernID FK.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top