title: MySQL SELECT query string matching
body: <p>Normally, when querying a database with SELECT, its common to want to find the records that match a given search string.</p>
  
  <p>For example:</p>
  
  <pre><code>SELECT * FROM customers WHERE name LIKE '%Bob Smith%';
  </code></pre>
  
  <p>That query should give me all records where 'Bob Smith' appears anywhere in the name field.</p>
  
  <p>What I'd like to do is the opposite.</p>
  
  <p>Instead of finding all the records that have 'Bob Smith' in the name field, I want to find all the records where the name field is in 'Robert Bob Smith III, PhD.', a string argument to the query.</p>