title: SQL. DELETE Removal under several conditions (SQL. DELETE)
body: <p>I have data base.
  I have to delete strings that meet several conditions: AND, OR
  Will delete people who were born from 2001-10-01 to 2010-10-01 and have names of the format XXXan or AnXXX, where X is an arbitrary symbol*</p>
  <pre><code>DELETE FROM people 
  WHERE date&gt; 2001-10-01 AND date &lt; 2010-10-01 AND names LIKE ‘…an’ OR ‘An...’
  </code></pre>
  <p>But the second part of the request immediately applies AND to the first type of name, but I need the AND to select one of the two names.</p>