Revolut Interview Question

7 day moving average SQL problem