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='859b2256fd78273706d92247381fdca5'' at line 1