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