The Airbus Helicopters HCare maintenance quality dashboard needs a consistent classification for inspection scores. Write a PostgreSQL query using CASE WHEN to bucket each inspection record.
score_category.Critical below 50, Review from 50 through 79, Acceptable from 80 through 100, Invalid Score outside that range, and Not Scored when the score is NULL.inspection_id ascending.| Column | Type | Description |
|---|---|---|
| inspection_idPK | INTEGER | Unique inspection identifier |
| helicopter_model | VARCHAR(50) | Airbus Helicopters model inspected |
| inspection_score | INTEGER | Inspection score, normally from 0 to 100 |
| inspection_status | VARCHAR(20) | Current inspection workflow status |