You can alter or override the default query in the mapping by entering SQL override in the Properties settings in the Sources node. You can enter any SQL statement supported by the source database.
The Workflow Manager does not validate the SQL override. The following types of errors can cause data errors and session failure:
Fields with incompatible datatypes or unknown fields