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 'AND basketSession='64cbc5fd36011524181ed82bf13d70fa'' at line 1