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