how to operate addition of elements in database code example Example: sum mysql column SELECT sum( mark ) FROM `student`