MDB2 Error: syntax error
_doQuery: [Error message: Could not execute statement] [Last executed query: SELECT se.*, pi.nickname, ua.playerid, CONCAT(pi.fname,' ',pi.lname) AS playername, UNIX_TIMESTAMP(date) AS unixdate FROM site_email AS se LEFT JOIN user_auth AS ua ON se.userid=ua.id LEFT JOIN player_info AS pi ON ua.playerid=pi.id WHERE se.userid= GROUP BY se.id ORDER BY se.date DESC] [Native code: 1064] [Native message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY se.id ORDER BY se.date DESC' at line 6]