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