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