Oracle Error QSM-02090: SELECT includes an expression that is not just a column

Oracle Error Message

QSM-02090: SELECT includes an expression that is not just a column

Reason for the Error

The capability in question is not supported when the materialized view uses an expression in the select list that is not a simple column reference.

Solution

Re-phrase the query to avoid the use of the expressions that are not simple column references.