The deployment log from the previous module now includes started_at, the date and time each deployment began. IDs identify runs, but a larger ID does not always mean a later start.
Use WHERE to choose the rows, ORDER BY to put those rows in order, and LIMIT to keep the first rows in that order. Compare your query result with the original log. Sorting changes the report and leaves the stored rows in place.