select a.StudentID,b.StudentName,a.Score
(select StudentID,sum(Score) Score
from 成绩表
group by StudentID)a,StudentInfo b
where a.StudentID = b.StudentID(+)
(select StudentID,sum(Score) Score
from 成绩表
group by StudentID)a,StudentInfo b
where a.StudentID = b.StudentID(+)
解决方案 »
- 跪求一个oracle时间区间查询的存储过程,具体如下?
- 创建游标出问题(不好意思,我分数用完了,问题挻重要的,谢谢)
- [提问]Java开发人员如何转型数据库
- PL/SQL中,主函数中使用BEGIN...EXCEPTION...END模块的效率问题。听听大家的意见
- ORACLE字段的看似小小问题,但是好像只有高手能够回答!!!!
- oracle导入dmp文件提示字符集转换错误
- LinuxAS3下安装Oracle9204遇到的问题,雪地跪求高手!
- oracle9i导出错误.请大侠指教.遇到 ORACLE 错误 6550
- 求教:如何装oracle
- Oracle where语句中等号两边的是否可以互换?
- NVL的一个问题?
- 怎样提高在数百上千万条纪录中删除部分纪录的速度?
from 成绩表
group by StudentID,StudentName
/
,max(( select StudentName from StudentInfo where StudentInfo.StudentID = CourseInfo.StudentID )) as StudentName
,sum(score)
from CourseInfo
group by StudentID
/
from studentinfo group by studentID
/