Executing a Query Against a View Which References a Remote PL/SQL Function and is Used in a Group By Clause May Fail With: ORA-00979: not a GROUP BY expression (Doc ID 2052975.1)

Last updated on JUNE 29, 2016

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Information in this document applies to any platform.


A view reports an ORA-979 when attempting to compile it after exporting/import an 11.2 schema into a database when referencing a remote pl/sql function in a database.

The same view compiled successfully when the database was



 Upgrade to


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms