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