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