sum mysql
snippet in sql

sum mysql

user7425


  SELECT SUM(Quantity) AS TotalItemsOrdered FROM OrderDetails; 

sum mysql column

user8750

SELECT sum( mark ) FROM `student`