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