Long island web design, hosting company
Home About Us Support Products Services Portfolio Contact Us Home

TSQL > Using SUM()

Created On: 11/24/2004 10:03:00 AM

Sum function can be used for to get the sum of a numeric expression evaluated over a set. This function must be placed in an SQL statement. Following example will return the sum of ratings in articles.
select SUM(rating) from articles