Luxoft Interview Question

SQL Coding Test, Rolling Sum, Sliding Window, LAST_VALUE