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