Rank each employee's claims by amount (school)
Within each employee, number claims from largest to smallest Amount.
- Level
- advanced
- Time
- ~12 min
- Task
- Build the query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Use Group By with All Rows, transform each nested table, then expand.
The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.
Input
- Claims (table)
- ClaimID: text
- Employee: text
- Category: text
- Amount: number
- Currency: text
- ClaimDate: text
- Approved: text
Expected output columns
Employee (text), ClaimID (text), Amount (number), Rank (number)