72. Summarizing Values

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 a schedule for several basketball games, by dates. As seen below, some of the games took place as planned, while other games were canceled:

CREATE TABLE games_log
(log_date date,
game1 varchar(25),
game2 varchar(25),
game3 varchar(25),
game4 varchar(25))

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…