The SUM() function returns the total sum of a numeric column.
We have the following "Purchases" table:
Now we want to find the sum of all "OrderPrice" fields".
We use the following SQL statement:
The result-set will look like this:
Your Query was successfully sent!