The following SQL statement finds the sum of the "Quantity" fields in the "OrderDetails" table:
Example
SELECT SUM(Quantity)
FROM OrderDetails;
FROM OrderDetails;
Note: NULL values are ignored.
Practice Excercise Practice now
The following SQL statement finds the sum of the "Quantity" fields in the "OrderDetails" table:
Note: NULL values are ignored.
Practice Excercise Practice now