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