March 24, 201114 yr I have a contact/organizations database, and I want to list the contact's co-workers. More specifically, on the contact page, I want to list all the contacts who are members of the organization of which the current contact is a member. But I don't want to list the current contact in the list, just the coworkers. I have no problem showing all members of the organization, but I don't want to list the current contact. My relationship involves 3 tables Contacts, Org_Members, and Organizations primary IDs in the Contacts and Orgs tables equal the secondary IDs the Org_members table. Is a self-join somehow the answer?
March 24, 201114 yr I want to list all the contacts who are members of the organization of which the current contact is a member. Did you mean organizations (plural)? From your structure it's obvious a contact can be member of more than one.
Create an account or sign in to comment