title: Why is this SQL incorrect (MySQL)?
body: <p>I have a following query:</p>
  <pre><code>&quot;DELETE * FROM Participations WHERE scheduleId IN (SELECT id FROM Schedule WHERE meetingId = :meetingId) AND userId = :userId&quot;
  </code></pre>
  <p>I assign variables using PDO properly.</p>
  <p>In response I get:</p>
  <blockquote>
  <p>SQLSTATE[42000]: Syntax error or access violation: 1064</p>
  <p>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '* FROM Participations WHERE scheduleId IN (SELECT id FROM Schedule WHERE meeting' at line 1}</p>
  </blockquote>
  <p>It is enough that I replace first DELETE with SELECT and query is done properly.
  Besides when I test directly in phpMyAdmin the same query with DELETE in it works fine.</p>
  <p>I am confused....</p>