SQL - Window Functions Fundamentals
Given the table
sales with columns id, amount, what is the output of this query?SELECT id, amount, SUM(amount) OVER (ORDER BY id) AS running_total FROM sales ORDER BY id;
