create view scoreView(Sno,Sname,dbScore,dsScore,Sum)
as
select Sno,Sname,first.Grade,second.Grade,sum(Grade)
from Student.Sno,Student.Sname,SC first,SC second,SC
where SC.Sno=student.Sno
and SC.Cno=course.Cno
and first.Sno=SC.Sno
and second.Sno=SC.Sno
and Course.Cname in(select Sname
from Course
where Cname='数据库' or Cname='数据结构');
上面那一段SQL语句会报错
第五行student S大写
https://blog.csdn.net/qq_36482772/article/details/77728013
你好,建议你看一下配置文件/etc/my.cnf,里面这个参数lower_case_table_names是否是存在,若存在,是否等于0,因为默认是等于0的,可以改成等于1.如果这个参数等于1,那就是sql的问题了