Loading...
Non-Trivial Fatal Errors
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- junior, mid
Problem
We categorize error messages by length: 'short' (under 25 chars), 'mid' (25 to 35), and 'long' (over 35). Find errors that are not 'short' and have fatal severity (matching 'Fatal' or 'fatal' exactly). Show error ID, message, service name, and the length category, with one row per error.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.