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