title: fetch records with apostrophe in mysql using LIKE query
body: <p>I have MYSQL query like this </p>
  
  <pre><code>String query="select DISTINCT sctName from snomedicd10map where sctName Like '" + search + "%" + "' LIMIT 5 ";
  </code></pre>
  
  <p>this query is for auto complete and if i search word like code's , girl's etc during typing of Apostrophe(') null point exception is occurred </p>
  
  <p>how can i overcome from this . when user enters name with Apostrophe(') in text field it should fetch the result .</p>
  
  <p>i have fetching result from mysql database .</p>
  
  <p>How can i achieve this. </p>