Skip to content

Instantly share code, notes, and snippets.

@heylastway
Created November 1, 2019 13:05
Show Gist options
  • Save heylastway/417c7cecb63fbfafa5ff61462e62bbc0 to your computer and use it in GitHub Desktop.
Save heylastway/417c7cecb63fbfafa5ff61462e62bbc0 to your computer and use it in GitHub Desktop.
DELETE posts
FROM posts
INNER JOIN projects ON projects.project_id = posts.project_id
WHERE projects.client_id = :client_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment