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