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