Exercise 7.6. Q16 rewritten with a CTE, then summed per status.   [3 row(s)]
status   | bills | still_owed
---------+-------+-----------
departed | 6     | 265000
finished | 20    | 812000
queued   | 12    | 452000

