title: Delete Data in Multiple Table with the same id in MySQL
body: <p>This is the Query:</p>
  
  <pre><code>DELETE FROM patientpersonal,patientmedical,patientdental
  WHERE patientpersonal.'" &amp; dpatientid &amp; "' = patientmedical.'" &amp; 
      dpatientid &amp; "' AND patientpersonal.'" &amp; dpatientid &amp; "' = patientdental.'"  
      &amp; dpatientid &amp; "'
  </code></pre>
  
  <p>It has a error of MySQL 1064</p>