Oracle Solution for Error ora-00962

Solution for Oracle Error ORA-00962

ORA-00962: too many group-by / order-by expressions

What triggered the Error:

The group-by or order-by column list contain more than 1000 expressions.

What should we do to fix it:

Use 1000 or less expressions in the group-by or order-by list.