title: SELECT query from mysql with node js (LIKE query)
body: <p>I'm using node js to develope my project, i use mysql to store my data.</p>
  
  <p>I have a problem when i select with like query, and it give an error like this:</p>
  
  <blockquote>
    <p>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'test'%' ORDER BY create_time DESC LIMIT 0,10' at line 1</p>
  </blockquote>
  
  <pre><code>SELECT * FROM user WHERE fullname LIKE N'%'test'%' ORDER BY create_time DESC LIMIT 0,10
  </code></pre>
  
  <p>I know error here is <code>'test'</code> in query, but it's a string, i can't remove it, my code here:</p>
  
  <pre><code>data = {};
  data.fullname = 'test';
  data.start    = 0;
  data.limit    = 10;
  let getFullname = function (data, callback) {
     return db.query("SELECT * FROM user WHERE fullname LIKE N'%?%' ORDER BY create_time DESC LIMIT ?,? ", [data.fullname,data.start,data.limit], callback);
  }
  </code></pre>
  
  <p>How can i solve my problem, thank you!</p>