Oracle Error QSM-01016: Query rewrite does not support, aggregate, string

Oracle Error Message

QSM-01016: Query rewrite does not support, aggregate, string

Reason for the Error

No query rewrite, if the query contains any DISTINCT aggregates other than COUNT, MIN or MAX.

Solution

None