Browse Source

restored finished exercise 6

master
Ernest Debruyne 2 years ago
parent
commit
9f5b2d51b4
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      exercise 6.sql

+ 4
- 0
exercise 6.sql View File

@@ -0,0 +1,4 @@
SELECT account_number,
SUM(line_item_amount) AS line_item_amount_sum
FROM invoice_line_items
GROUP BY account_number WITH ROLLUP;

Loading…
Cancel
Save