Skip to content

Commit 7787376

Browse files
committed
No one told you this
1 parent c16460b commit 7787376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

[Advanced] SQL Window Functions/Lesson 6 - [Advanced] SQL Window Functions.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Create a running total of standard_amt_usd (in the orders table) over order time with
33
no date truncation. Your final table should have two columns: one with the amount
44
being added for each new row, and a second with the running total.
5-
*/
5+
*/
66

77
SELECT standard_amt_usd,
88
SUM(standard_amt_usd) OVER (ORDER BY occurred_at) AS running_total

0 commit comments

Comments
 (0)