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