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