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