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='4870838364a5ba6da78c5e9659793214'' at line 1