Top-N per group: why a subquery is needed - SQL Window Functions Quiz | Unnested