select sum(A-nvl(b,0)) from stu where student_code-'   '