Running total amount
 

Write a query that returns each row with a running total of amount per salesperson ordered by sale_date.

These are the tables to query for this question:
bootcamp.sales
    Your answer should include these columns:
    • sale_id integer
    • salesperson varchar
    • sale_date date
    • amount integer
    • running_total bigint

    Querying is only for logged in users!

    Sign In

    Query Results