Problem 1179 · Easy

Reformat Department Table

SQL teaching model. Turn monthly revenue rows into one row per department with a column for each month, NULL where a month is missing.

Open the interactive visualisation