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='24366e89fe7a56d14b67226c022a581b'' at line 1