sum if one column in which another column is 10 mysql code example Example: sum mysql column SELECT sum( mark ) FROM `student`