ORA-36981
(XSRELGID19) The format of the GROUPINGID function is:
GROUPINGID(gidrel1 [gidrel2]...)
GROUPINGID(gidrel1 [gidrel2]...)
Cause
The GROUPINGID function could not be executed because of invalid syntax.
Action
Check the error message or refer to Oracle Database documentation for the correct syntax.