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