php how to get sum values for column in table list code example Example: sum mysql column SELECT sum( mark ) FROM `student`