Answer the question
In order to leave comments, you need to log in
Unexpected identifier Nodejs?
/lot.js:137
var [lottery] = await msql.execute("SELECT lottery.tickets, COUNT(tickets.*) AS `count`, COUNT(DISTINCT tickets.user_id) AS `users` FROM lottery INNER JOIN tickets ON lottery_id = ? WHERE id = ?", [msg.id, msg.id]);
^^^
SyntaxError: Unexpected identifier
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question