Hello.
I have this sql statement:
SELECT game.game_id FROM game, userGame WHERE userGame.user_id = 1
AND userGame.game_id != game.game_id;
And I'm getting this:
1
1
2
2
3
3
4
4
4
5
5
5
I'm running the statement on a Sqlite3 database on Android 2.1.
The tables are:
USERGAME
--------
userId
gameId
more_columns
GAME
-----
gameId
more_columns
How can I solve this error?
UPDATE:
I want to get all game's id that they are not in usergame table when userId=1.
Thanks.