Databases · Middle · Question 27 of 75

How do you compute a running total of payments per user?

Explanation

With ORDER BY inside OVER, the window by default goes from the start of the partition to the current row (including rows with the same sort value).

Further reading

Problem with a question

Databases · Middle · question 27

Test yourself

Take the Databases · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz