分站导航

热点关注

当前位置:

首页 > 专业大全

北大“数据库原理”上机实践题目总结(6)

来源:本站整理 时间:2020-02-13 15:56:10

select teacher.tno,c2.cname,c2.ctimes,sum(c2.ctimes);

from teacher,c2,tc;

where teacher.tno=tc.tno and c2.cno=tc.cno and teacher.tno='1000';

group by c2.ctimes

答案:2_4

set talk off

select teacher.tno,teacher.tname,avg(tc.grade);

from teacher,tc;

where teacher.tno=tc.tno ;

group by teacher.tno;

order by tc.grade

set talk off

close all

return

分享:

qq好友分享 QQ空间分享 新浪微博分享 微信分享 更多分享方式

上一篇:<上一篇

下一篇:

(c)2024 www.diying.com All Rights Reserved SiteMap 联系我们 | 豫ICP备2022007582号