declare @sql varchar(100)select @sql=count(*) from student where 班级编号=(select 班级编号 from student where 学生编号=001))