Hi,
Please find the SQLfiddle link
http://sqlfiddle.com/#!9/89c76/2
How can I do this in a single query for all the games, there can be many types of games. I cant specify the games explicitly, instead, I want to write the query to fetch all the playerids who are not playing a game for each of the game some thing like this
the above query is giving only one record. I need like this
Result:
------------------------
game1 | 4,5,6
------------------------
game2 | 4,6
------------------------
game3 | 1,2,3,5,6
------------------------
....