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