Search
⌘K

Leetcode 1179. Reformat Department Table

Pivot the Department table into a wide format with one row per id and twelve columns (Jan_Revenue through Dec_Revenue) showing each department's revenue for that month (null if missing), given month values are limited to Jan–Dec.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.