Skip to content

Instantly share code, notes, and snippets.

@marcamillion
Last active December 14, 2015 20:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcamillion/fc81b053c6c5928230c3 to your computer and use it in GitHub Desktop.
Save marcamillion/fc81b053c6c5928230c3 to your computer and use it in GitHub Desktop.
boso_development-# DELETE questions_tags
FROM questions_tags, questions_tags qtags
WHERE questions_tags.user_id=qtags.user_id AND
questions_tags.question_id=qtags.question_id AND
questions_tags.id != qtags.id;
ERROR: syntax error at or near "questions_tags"
LINE 1: DELETE questions_tags
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment