This advanced SQL exercise is part of the book: Advanced SQL – Practical Techniques and Use-Cases, which includes 100 day-to-day SQL challenges (and solutions), need-to-know advanced features, and key concepts.
Given a table that displays players, and various possibilities for games in which every player can take part. As shown in the table, each player can take part in 3 different games. For example: Player A can participate in game 1, game 2, and game 3.
CREATE TABLE players (playerID varchar(25), gameID varchar(25)) GO