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