sql calculate percentage of column code example Example: calculate percentage in sql SELECT SUM(MARKS)*100/COUNT(MARKS) FROM STUDENT_MARKS