Guest User

Untitled

a guest
May 24th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. /*PASSE*/
  2.  
  3. DELETE first FROM term_relationship AS first
  4. INNER JOIN post AS second ON first.object_id = second.id
  5. INNER JOIN term_taxonomy AS third ON first.term_taxonomy_id = third.id
  6. WHERE second.id = 1 AND third.taxonomy = 'category'
  7.  
  8. */PASSE PAS*/
  9.  
  10. DELETE FROM term_relationship AS first
  11. INNER JOIN post AS second ON first.object_id = second.id
  12. INNER JOIN term_taxonomy AS third ON first.term_taxonomy_id = third.id
  13. WHERE second.id = 1 AND third.taxonomy = 'category'
Add Comment
Please, Sign In to add comment