The outer question gets the length in the mend work. The complex subquery calculates the full number of days not watching for parts. That is done by locating the start dates where the vehicle will not be expecting components, after which count the number of days until eventually it begins to look ahead to sections once more:John Malkovich performs