它显示第一行create function语法错误
create function st(@clachar(6))returns tablereturnselect a.studentNo,studentName,courseNo,scorefrom Student a,Score bwhere a.studentNo=b.studentNo and classNo=@claselect *from st (‘csl1601’)
是不是括号错了,你的那个6的括号用英文的试试