Codington
0 of 8 problems solved • 0%

Exercise prompt

Choose Two Runs for Follow-up

The next shift has time to investigate two gaps in the production log. Use the start time to decide which gap has been waiting longest.

Your task

Consider production runs with status failed or rolled_back and no recorded finish time. Return the two earliest starts, oldest first. For equal starts put the higher ID first. Show the ID as ticket, then service and started_at.

Opening the database…