My Oracle Support Banner

Query Against Remote View Causes ORA-00979: Not A GROUP BY Expression (Doc ID 1534636.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


When local DB ( is started with CURSOR_SHARING=FORCE, query against remote view fails with 

ORA-00979: not a GROUP BY expression

ORA-02063: preceding %s%s from %s%s


Problem can be reproduced when running query against remote view  in and remote DB ( across a db link )





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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.