title: like and not like in postgresql
body: <p>I have a database table with name 'student' and have column 'name'. </p>
  
  <p>I want to retrieve the names of students starting without a title 'miss' but starting with 'miss'.</p>
  
  <p>I did:</p>
  
  <pre><code>select name from students where lower(name) like 'miss%' and name not like 'miss %'
  </code></pre>
  
  <p>The above query returns names with title also.
  Any help will be highly appreciated.</p>