Sybase Error – The aggregate expression ‘%1’ must appear in either the SELECT list or a HAVING clause subquery

In this blog post, you’ll learn more about the Sybase Error The aggregate expression ‘%1’ must appear in either the SELECT list or a HAVING clause subquery and the reason for receiving this error

Sybase SQL Error Message

The aggregate expression ‘%1’ must appear in either the SELECT list or a HAVING clause subquery

Reason for this Error

An aggregated expression containing an outer reference must either appear in a SELECT list expression (a subselect), or in a HAVING clause subquery in the query whose FROM clause contains the table with the column being aggregated.

Leave A Reply

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

You May Also Like

In this blog post, you’ll learn more about the Sybase Error Seek failed: the requested segment offset %2 is outside...
In this blog post, you’ll learn more about the Sybase Error No indicator variable provided for NULL result and the...
In this blog post, you’ll learn more about the Sybase Error %2: Memory & disk block number mismatch; buffer={%3} page={%4}....