下面是完整的查询,当我删除grade =“a”时它工作正常,为什么这会导致它出错?
我收到错误 ORA-00904: "A": invalid identifier
select count(grade), dw_course_sect.roomID
from dw_course_facts, dw_course_sect
where (dw_course_facts.coursekey = dw_course_sect.coursekey) and
(dw_course_facts.grade = "A")
group by dw_course_sect.roomID;