1.declare @cj intdeclare @c cursorset @c=cursor forward_only for select chengji from biao where zhuanye='电子信息'open @cfetch next from @c into @cjwhile @@fetch__status=0beginprint @cjfetch next from @c into @cjendclose @c2.declare @min int,@max int,@diff intselect @min=min(chengji),@max=max(chengji)...