Du skal blot angive, at du vil slette posterne fra posts
tabel:
DELETE posts
FROM posts
INNER JOIN projects ON projects.project_id = posts.project_id
WHERE projects.client_id = :client_id
EDIT:For mere information kan du se dette alternative svar