fbpx

31. Combining Values – A

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

To read more

UpScale Analytics is one of the largest platforms in the world for learning SQL by doing, consisting over 300 SQL exercises at different levels (including solutions), by topics, across over 100 different datasets. More…