Intermittent Error ORA-00979: "Not A Group By Expression" When Running A SQL Query

(Doc ID 1350177.1)

Last updated on DECEMBER 28, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 29-DEC-2016***

Symptoms

A specific query works correctly for about 6 out of 10 times but returns in other cases the following error for the same SQL:

ORA-00979: not a GROUP BY expression

Cause

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