Hi Guys,
I'm having trouble getting my head around this (maybe I've just been at my pc too long), looking for some solutions or some ideas to point me in the right direction.
Let's say I have a table listing some people:
Then I have a table that lists some pc games
I have a third table that lists the games each person has:
I want to get a list of all the people who do not own the featured game:
So the output would give me PersonID 3,4, and 5.
I'm having trouble trying to figure out how to make sure number 1 and 2 dont come up...
I am normally pretty good with SQL so I dont expect you to completely write the SQL - just give me a push in the right direction..
Cheers,
Richard
I'm having trouble getting my head around this (maybe I've just been at my pc too long), looking for some solutions or some ideas to point me in the right direction.
Let's say I have a table listing some people:
| Quote: |
| PersonID Name
============= 1 Bob 2 George 3 Cindy 4 Brianna |
Then I have a table that lists some pc games
| Quote: |
| GameID Game Featured?
=========== 1 Jill of the Jungle NO 2 Commander Keen YES 3 Alex Kidd NO 4 Pitfall NO |
I have a third table that lists the games each person has:
| Quote: |
|
PersonID GameID =============== 1 2 1 3 2 2 3 3 3 4 3 2 4 1 |
I want to get a list of all the people who do not own the featured game:
So the output would give me PersonID 3,4, and 5.
I'm having trouble trying to figure out how to make sure number 1 and 2 dont come up...
I am normally pretty good with SQL so I dont expect you to completely write the SQL - just give me a push in the right direction..
Cheers,
Richard
