一个课程学分表
C(cno, cname, ccredit)
一个学生选课表
SC(sno, cno, grade)
1 |
select sno from sc,c where
sc.cno=c.sno and
sc.grade>=60 group
by sno having
sum (credit)>=32; |
原文地址:http://www.cnblogs.com/xiongji/p/3734938.html