MSDN functions Aggregate Microsoft SQL Server https://msdn.microsoft.com/en-us/library/ms173454.aspx Aggregate Min/Max/Count/Sum aggregate https://msdn.microsoft.com/en-us/library/ms173454.aspx https://msdn.microsoft.com/en-us/library/ms173454.aspx https://msdn.microsoft.com/en-us/library/ms173454.aspx msdn.microsoft.com/...-us/library/ms173454.aspx Aggregate Functions Microsoft SQL Server MSDN MSDN Aggregate Functions MSDN MSDN Aggregate Functions MSDN MSDN Aggregate Functions MSDN msdn.microsoft.com/...-us/library/ms173454.aspx functions http://msdn.microsoft.com/en-us/library/ms173454.aspx