Hi Guys,
Having a bit of a problem trying to get the correct results. Basically I have three tables I need to select from; user, platform and game.
I'm running the following query
select distinct
u.user_name,
u.user_avatar,
u.user_rating
from
user_game ug,
platform p,
user u
where
ug.game_id = 1
and p.platform_id = 1
and u.user_country = 1
Basically I want it to return users who own the game "1", have it on platform "1" and live in country "1".
Unfortunately does not return users who meet ALL WHERE criteria.
Any ideas where I am going wrong? I know an alternative is to use JOINS but I don't want the performance to be hit by doing that.
Cheers,
Chris