Domanda di colloquio di Yahoo

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