难怪总是不行,帮忙看看这个语句错在哪
search_student = "select student.sno,student.sname,student_course.score,course.cname from (student inner join student_course on student.sno=student_course.sno)inner join course on student_course.cno=course.cno where student.sno='" & number & "'"
and course.cname='" & coursename & "'" 好像是加黑的地方有点问题
number 和coursename是我定义的两个变量.