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='933ff425c1ecc95a72f381f57f16b1fc'' at line 1