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='69c8872ef8b29878127037c2a1301bae'' at line 1