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