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