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