INNER JOIN brings together rows for which the ON condition is true. Write the table name before a column when both tables use the same column name, as they do with id.
SELECT deployments.id, services.team
FROM deployments
INNER JOIN services ON deployments.service_id = services.id;Use INNER JOIN to show the deployment id followed by the service name for every run with a matching service. Compare the result with run 206, whose service ID is NULL.