oracle 语句 缺失表达式错误create or replace view vw_bus_specialtyassessment3 asselectt.year ,t.month ,t.assessdeptid ,t1.objectid ,count(t1.objectid),sum(t1.chargescore),from bus_specialtyassessitem t1,bus_specialtyassessment twhere t1.speci

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/16 09:20:41

oracle 语句 缺失表达式错误
create or replace view vw_bus_specialtyassessment3 as
select
t.year ,t.month ,t.assessdeptid ,t1.objectid ,count(t1.objectid),sum(t1.chargescore),
from bus_specialtyassessitem t1,bus_specialtyassessment t
where
t1.specialtyassessitemid=1
order by t.year
哪里不对啊

create or replace view vw_bus_specialtyassessment3 as
select
t.year ,t.month ,t.assessdeptid ,t1.objectid ,count(t1.objectid),sum(t1.chargescore)
from bus_specialtyassessitem t1,bus_specialtyassessment t
where
t1.specialtyassessitemid=1
group by t.year ,t.month ,t.assessdeptid ,t1.objectid order by t.year