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