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