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