search sum mysql equals group by code example Example: sum mysql column SELECT sum( mark ) FROM `student`