Yahoo interview question

can you use window function and group by at the same time