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='9a36314d292a9e7d9cd92a5ee8b1253b'' at line 1