The High and the Low
A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- L4
Interview Prompt
We monitor service latency across every region and want the extremes in each one. For each region, return the services with the highest and the lowest latency, giving the service name, its region, the latency value, and a label marking which end it sits at.
Summary
The fastest and slowest in every region.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision