Save up to $499! Grab all Python courses for$49 or all online courses we’ve ever launched for only \$169. Only Feb 11-16. Happy Valentine's!
Introduction
GROUP BY – Recap
ROLLUP
Summary
22. Exercise 2

## Instruction

Perfect! One more exercise!

## Exercise

Show the sum of the TotalCost for each Department and Year, and the total sum of TotalCost for each Year. Do not show the grand total.

Show the following columns: Department, Year, and the sum of TotalCost (as Total). Instead of NULLs in the Department column, show the following text: 'unknown'.

Make sure that your table consists of the following columns: Department, Year, and Total.