title: Query that ignore the spaces
body: <p>What's the best way to run a query so that spaces in the fields are
  ignored? For example, the following queries:</p>
  
  <pre><code>SELECT * FROM mytable WHERE username = "JohnBobJones"    
  SELECT * FROM mytable WHERE username = "John Bob Jones"
  </code></pre>
  
  <p>would find the following entries:</p>
  
  <pre><code>John Bob Jones
  JohnBob Jones
  JohnBobJones
  </code></pre>
  
  <p>I am using php or python but I think this doesn't matter.</p>