magicpin Interview Question

asked me a simple query based on Sql window function