InterSystems IRIS SQL Error Code -19 An aggregate function cannot be used in

In this post, you’ll learn about the SQL error code -19 in InterSystems IRIS database the reason why you are receiving the SQL error message when using the InterSystems IRIS data platform

Error Code :

-19

Reason for the Error code -19 in InterSystems IRIS DBMS

An aggregate function cannot be used in a WHERE or GROUP BY clause