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