Error in SQLs in mysql.js