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