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