InterSystems IRIS TSQL Code 144 Cannot use an aggregate or a subquery in

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

Error Code :

144

Reason for the Error code 144 in InterSystems IRIS DBMS

Cannot use an aggregate or a subquery in an expression used for the group by list of a GROUP BY clause.