SQL++ - Generating scoreboards

In jungleville, head-to-head matchups are a regular affair. Scoreboards can be used to keep track of competition and who has won.

What does the scoreboard for user_id=0004 look like?

To run this example, click the button in the top right corner of the code editor.

Code Editor

Output