Oracle Solution for Error ora-30489

Solution for Oracle Error ORA-30489

ORA-30489: Cannot have more than one rollup/cube expression list

What triggered the Error:

GROUP BY clause has more than one rollup/cube expression list.

What should we do to fix it:

Modify the query such that only one rollup/cube expressions appear per sub-query.