语法错误,但不会改,有会的博主请指出来

它显示第一行create function语法错误

create function st(@clachar(6))
returns table
return
select a.studentNo,studentName,courseNo,score
from Student a,Score b
where a.studentNo=b.studentNo and classNo=@cla
select *from st (‘csl1601’)

是不是括号错了,你的那个6的括号用英文的试试