My Oracle Support Banner

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 FEBRUARY 03, 2019

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


To view full details, sign in with your My Oracle Support account.

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

In this Document

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.