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

Oracle Error Message

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

Reason for the Error

Bad syntax

Solution

Correct syntax