This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ernestdebr
/
How_to_code_summary_queries
forked from
bdelepeleer/How_to_code_summary_queries
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
restored finished exercise 6
master
Ernest Debruyne
2 years ago
parent
3968e61780
commit
9f5b2d51b4
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
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;
Write
Preview
Loading…
Cancel
Save