SQL Server Error Code – 8125 an aggregated expression containing an o

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

SQL Server Error Code

8125

SQL Server Error Description for the Code :8125

An aggregated expression containing an outer reference must be contained in either the select list, or a HAVING clause subquery in the query whose FROM clause contains the table with the column being aggregated.

Leave Your Comment