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