php mysql select sum of column code example Example: sum mysql column SELECT sum( mark ) FROM `student`