title Aggregate Function Limitations | Microsoft Docs ms.custom ms.date 01/19/2017 ms.prod sql ms.prod_service connectivity ms.reviewer ms.technology connectivity ms.topic conceptual helpviewer_keywords desktop database drivers [ODBC], aggregate functions ODBC desktop database drivers [ODBC], aggregate functions ms.assetid f6e494ed-c7cb-4b1b-bf3b-c4361850b51a author David-Engel ms.author v-daenge Aggregate Function Limitations An aggregate function and a non-aggregate column reference cannot both be used as arguments to a single SQL statement.