I have a votes table:
votes ----------------- userid gameid ------- -------- a 1 a 2 a 3 b 1 b 2
You would use an INNER join to establish the relationship between the common gameid field;
INNER
gameid
select votes.userid, games.title from games inner join votes on (votes.gameid = game.gameid) where votes.userid = 'a'