title: SQL DELETE from two tables in the same statement
body: <p>I will delete data from 2 tables. I will do it as follow:</p>
  
  <pre><code> DELETE FROM dc_mail_users u, dc_mail_user_data d WHERE u.i_id_pk = 3 AND d.i_id_ut = u.i_id_pk
  </code></pre>
  
  <p>But this will return a SQL syntax error. How can I fix this whit the SQL AS statement? Just like the example below.</p>
  
  <pre><code>SELECT first_name.last_name AS name WHERE name="John Doe"
  </code></pre>