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