Problem 1194 · Medium

Tournament Winners

SQL walkthrough: add each player’s points from both sides of every match, then keep the top player of each group. The sample tables are invented for teaching.

Open the interactive visualisation