mysql select all and sum columns code example Example: sum mysql column SELECT sum( mark ) FROM `student`