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