SQL Server Error Code – 1015 an aggregate cannot appear in an on clau

In this blog post, you’ll learn more about the SQL Server Error Code 1015 and the error message description that is shown

SQL Server Error Code

1015

SQL Server Error Description for the Code :1015

An aggregate cannot appear in an ON clause unless it is in a subquery contained in a HAVING clause or select list, and the column being aggregated is an outer reference.

Leave Your Comment