title: Using the "UNION" Delete MySQLI Query
body: <p>I want to delete some informations of my database in 2 tables.</p>
  
  <p>First question, is it possible ?
  If yes:</p>
  
  <p>I had tried a <code>UNION DELETE</code> query, but it doesn't work.</p>
  
  <pre><code>$delete = mysqli_query($sql, "(DELETE FROM table1 WHERE id LIKE '".$id."' &amp;&amp; userid LIKE '".$userid."') UNION (DELETE FROM table2 WHERE source_id LIKE '".$id."' &amp;&amp; userid LIKE '".$userid."')");
  </code></pre>