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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Join tables??

Status
Not open for further replies.

qajussi

Programmer
Mar 22, 2004
236
US
Hi,

I am trying to join 5 tables.
I want to create one big table CommDevices as primary key.
Here are table names: CommDevices, People, Facility, Organization, Event and CommDevices.
There are junction tables(middle tables), PeopleCommDevices, FacilityCommDevices, OrganziationCommDevices and
EventCommDevices.

Here are primary keys for each table.
CommDevices - CommDeviceID
People - PeopleID
Facility- FacilityID
Organization - OrganizationID
Event - EventID
PeopleCommDevices- PeopleID & CommDeviceID
FacilityCommDevices - FacilityID & CommDeviceID
OrganziationCommDevices -OrganizationID & CommDeviceID
EventCommDevices EventID & CommDeviceID


What I am trying to do is to create one big table with the CommDeviceID as primary key.
I am trying to find everything which is associated to that CommDeviceID primary key.
Thanks much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top