Skip to content

Commit a69f52e

Browse files
committed
Runtime: 471 ms (Top 84.42%) | Memory: 0 MB (Top 100.00%)
1 parent 28472ca commit a69f52e

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
SELECT
2-
id,
1+
-- Runtime: 471 ms (Top 84.42%) | Memory: 0 MB (Top 100.00%)
2+
ELECT
3+
id,
34
sum( if( month = 'Jan', revenue, null ) ) AS Jan_Revenue,
45
sum( if( month = 'Feb', revenue, null ) ) AS Feb_Revenue,
56
sum( if( month = 'Mar', revenue, null ) ) AS Mar_Revenue,
@@ -12,7 +13,7 @@ SELECT
1213
sum( if( month = 'Oct', revenue, null ) ) AS Oct_Revenue,
1314
sum( if( month = 'Nov', revenue, null ) ) AS Nov_Revenue,
1415
sum( if( month = 'Dec', revenue, null ) ) AS Dec_Revenue
15-
FROM
16+
FROM
1617
Department
17-
GROUP BY
18-
id;
18+
GROUP BY
19+
id;

0 commit comments

Comments
 (0)