title: MySQL: Selecting most similar value?
body: <p>So I have a table with peoples names.
  I need to code a query that selects the person with the name most similar to the given one.</p>
  
  <p>For example: </p>
  
  <pre><code>SELECT * FROM people WHERE name='joen'
  </code></pre>
  
  <p>'joen' doesnt exist in the table, so it will return John, which exists in the table.</p>
  
  <p>What's the MySQL command for this?</p>