Second Highest Latency by Method
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- L4
Problem
Find the second-highest latency API endpoint in each HTTP method group. If multiple endpoints share the highest latency, the second-highest is the next unique latency value below that. Show method, endpoint, and latency.
Summary
Almost the slowest. By method.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.