Oracle Solution for Error ora-36181

Solution for Oracle Error ORA-36181

ORA-36181: A VARIABLE cannot have both the $AGGREGATE_FROM and $AGGREGATE_FROMVAR properties applied to it.

What triggered the Error:

The user attempted to add both the $AGGREGATE_FROM and $AGGREGATE_FROMVAR properties to a single variable.

What should we do to fix it:

Remove the existing property before applying the new one.