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