mysql total values of a count(*) code example Example: sum mysql column SELECT sum( mark ) FROM `student`