@
1、学习oracle查询语句中遇到的困难
33、成绩不重复,查询选修张三老师所授课程的学生中,成绩最高的学生信息及其成绩
select a.sid,a.sname,b.cid,b.max_score from student a left join(select sid as sid, cid, max(score)as max_score from sc where cid in(select cid from course where tid in(select tid from course where tid in(select tid from teacher where tname=‘张三’)))b ON a.sid=b.sid where max_score is not null;
35、查询不同课程成绩相同的学生的学生编号、课程编号、学生成绩、
select distict a.sid,a.cid,a.score from sc as a join sc as b where a.cid!=b.cid and a.score=b.score and a.sid!=b.sid order by a.sid,a.cid,a.score;
33,35觉得语句没问题,可是也运行不出来。。。
38 、检索至少选修两门课程的学生学号
select distinct sid,count(cid) as num from sc group by sid having num>=2;
运行说标识符num无效,在博客上看了一些解决方法,但是还是没有运行出来。。。
2.js中遇到的困难,关于动态时钟的实现,时间显示不出来
动态时钟
当前时间:
