select sname,sum(grade*credit)/sum(grade) from stud,grades,course where stud.s# = grades.s# and grades.c# = course.c# and sname = '学生姓名1' union select sname,sum(grade*credit)/sum(grade) from stud,grades,course where stud.s# = grades.s# and grades.c# = course.c# and sname = '学生姓名2' ......