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