Bucket clients into risk-score bands
Clients are banded by risk score into four equal-width buckets spanning 0 to 100: Low (0–25), Medium (25–50), High (50–75) and Critical (75–100). A score exactly on a boundary belongs to the higher band.
Return client_id, risk_score and the band it falls into.
Schema
| client_id | INT |
| risk_score | NUMERIC |
Basic
The example input, expected output, and walkthrough for this question unlock with a Basic plan.
Basic
The reference solution and walkthrough for this question unlock with a Basic plan.
Basic
This is a Basic question
Premium practice questions unlock with a Basic plan. The full solution, expected output, and grading are available to Basic members.
RM 25/mo · cancel anytime