Oracle Error PLS-00411: Number of values in aggregate and in subquery don’t match

Oracle Error Message

PLS-00411: Number of values in aggregate and in subquery don’t match

Reason for the Error

In a statement of the form aggregate = subquery, the numbers of values in the aggregate and subquery are unequal. For example, the code might look like … WHERE (10,20,30) = (SELECT empno,deptno FROM emp WHERE…);

Solution

Revise the aggregate or subquery so that the numbers of values match.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...