IBM Support

Oracle Native wrapper(Net8 wrapper) error: SQL1822N: "ORA-00937: not a single-group group function"

Troubleshooting


Problem

Run query by using net8 wrapper:
SELECT empname,salary FROM employee x WHERE exists (SELECT salary + 10000 FROM depta08 WHERE salary = x.salary UNION SELECT avg(salary) FROM depta08 WHERE salary = x.salary)
EMPNAME              SALARY  
-------------------- ----------
SQL1822N  Unexpected error code "937" received from data source "DATASTORE2".
Associated text and tokens are "ORA-00937: not a single-group group function
".  SQLSTATE=560BD

Document Location

Worldwide


[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
InfoSphere Federation Server

Software version:
All Versions

Operating system(s):
AIX, Linux, Windows

Document number:
1173094

Modified date:
25 April 2025

UID

ibm11173094

Manage My Notification Subscriptions