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