Query for unload is not a select query.
Explanation
The unload query does not contain a SELECT statement.
User response
Modify the query so that it contains a SELECT statement.
The unload query does not contain a SELECT statement.
Modify the query so that it contains a SELECT statement.