With OR, either comparison can admit a row. A row that satisfies both still appears once.
SELECT id FROM deployments
WHERE service = 'api' OR status = 'running';The web team tracks every deployment of web and every failed deployment of any service. Use OR to show the id of each matching deployment.