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