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