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)) GO