I'm fine with normal join queries, but I'm having trouble with this one. I don't think I explained it well in the topic title so I'll go into more detail. Two tables: users pairs Table users has details about said users. The pairs table contains the 2 fields: user_1 and user_2, which are the respective users IDs. In one qury I want to grab the name of each user. I can do it fine for one of them but not sure how to both, e.g. how would I expand this? SELECT pairs.user_1, users.name FROM pairs, users WHERE pairs.user_1 = users.id I can't figure out how to do it for both? The furthest I get is SELECT pairs.user_1, pairs.user_2, users.name FROM pairs, users WHERE pairs.user_1 = users.id AND pairs.user_2 = users.id I know it's wrong. Anyone know? Thanks.