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