title: Query not working using node.js node-mysql
body: <p>Whats wrong with my query? im having this error: 
  <a href="https://i.stack.imgur.com/GcU9H.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GcU9H.png" alt="enter image description here"></a></p>
  
  <pre><code>con.query(
             'SELECT nick FROM channels WHERE room=1room',
             function(err, rows) {
                 if (err) throw err;
                 console.log(rows);
             }
         );
  </code></pre>
  
  <p>I tried this, and i have the same error:</p>
  
  <pre><code>var room = "1room";
         con.query(
             'SELECT nick FROM channels WHERE room=' + room,
             function(err, rows) {
                 if (err) throw err;
                 console.log(rows);
             }
         );
  </code></pre>