Loading...

Slow Failures

A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
easy

Problem

The SRE team is investigating timeout-related incidents and needs to find API calls that both failed and took an unusually long time. Pull the endpoint, HTTP status code, latency, and the error message for every call that returned a client or server error and had a latency above two hundred milliseconds. Show the slowest failures first.

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.