CREATE PROCEDURE [student_info](@class varchar(4))WITH EXECUTE AS CALLERASselect 表2.学号,表2.姓名,表3.课程号,表3.成绩 from 表2,表3 where 表2.学号=表3.学号 and 表2.班级=@classGO