Home
/
Questions
/
Coding
/
Assign employees to salary quartiles
caseSQL
Coding question · Top N Per Group
Hard
Asked at Stripe
Assign employees to salary quartiles
NTILE window function for quartile / decile bucketing.
Unlock with Pro
→
Back to all coding questions
The Brief
← Previous
Rank months by revenue, ties allowed
Next →
Second-best seller in each category