Altimetrik Interview Question

Window functions and related to sql