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