Netenrich Inc. interview question

Window functions in SQL