Available question text
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.
Related questions
Continue with questions that share topics or the same question type.
- Arrange Table by Gender
Coding
- Change Null Values in a Table to the Previous Value
Coding
- Department Highest Salary
Coding
- Department Top Three Salaries
Coding · Database
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1179. Reformat Department Table
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source