A run with a NULL service_id has no matching primary key. Rank the matched production runs before applying the row limit.
Show the three most recent production deployments with a matching service. Return deployment id, service name and started_at. Sort newest first, with higher deployment ID first for equal times.