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