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