can i pass sql statement in sum function in mysql code example Example: sum mysql column SELECT sum( mark ) FROM `student`