Oracle Solution for Error ora-36981

Solution for Oracle Error ORA-36981

ORA-36981: (XSRELGID19) The format of the GROUPINGID function is: GROUPINGID(gidrel1 [gidrel2]...)

What triggered the Error:

Bad syntax

What should we do to fix it:

Correct syntax