Write a SQL query that uses CASE WHEN to categorize records.
Categorize each record using its priority_score: scores of 8 or higher are Critical, scores from 5 through 7 are High, scores from 1 through 4 are Standard, and all other values, including NULL, are Unclassified.
record_id, record_name, and priority_category.record_id ascending.| Column | Type | Description |
|---|---|---|
| record_idPK | INT | Unique identifier for the record |
| record_name | VARCHAR(100) | Display name of the record |
| priority_score | INT | Numeric value used to determine the priority category |