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='958582570360e0972705a64ccfd0bf56'' at line 1