SELECT sco.score ‘小明数学成绩’
from student stu,score sco,courses c
where stu.sid=sco.sid and c.cid=sco.cid and stu.name=‘小虎’ and c.name=‘数学’
SELECT c.name ‘大老师教的课程’
from teacher t,courses c
where t.tid=c.tid and t.name=‘大老师’
SELECT stu.name ‘数学最高分’
from student stu,score sco,courses c
where stu.sid=sco.sid and c.cid=sco.cid and sco.score=(select max(score) from courses c,score sco where c.cid=sco.cid and c.name=‘数学’)