title: how to pass id in MYSQL query nodejs
body: <p>I want to pass id with multi ids in node js with mysql
  I don't know how to explain
  so i try this with equal and question mark &quot;=?&quot;  it doesn't work</p>
  <pre><code> static async getimage(id){
      return new Promise((resolve) =&gt; {
        db.execute(&quot;select name.id,image.imgurl,image.imageurl_id  from persons INNER JOIN image on name.id=? =image.imageurl_id=?&quot;,[id],(error,result) =&gt;{
          if(!error) resolve(result);
        })
      })
    }
  
  </code></pre>