Concept Flow - Top-N per group query
Start with full table
Partition data by group
Order each group by criteria
Assign row numbers within each group
Filter rows where row number <= N
Return top N rows per group
This flow shows how to get the top N rows for each group by partitioning, ordering, numbering, and filtering.
