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='92b3dcb0f0eeecec50a0b3f8a6b88386'' at line 1