Sobes.tech
Middle

The window function SUM() OVER (PARTITION BY user_id) — in one case adding ORDER BY purchase date, in another not. What's the difference?