title: can someone help me find the correct syntax for this sql query? using node.js
body: <p>im struggling to find the correct way to write this database request by email column i hope someone could point me in the right direction</p>
  <pre><code>const loginUser = async (request, response) =&gt; {let params = [request.body.email];let sql = SELECT * FROM vacations.users where email=${params}
  </code></pre>
  <p><code>let user = await connection.executeWithParameters(sql, params)</code>
  <code>console.log(user);</code>
  <code>return user;</code>
  <code>}</code></p>
  <p>i tried to include the parameters in several ways but i don't know how to correctly put them in the sql query</p>