试题详情

阅读下列代码,判断运行结果是( ) Declare @sum int,@count int Select @sum=0,@count=1 Label1: Select @sum=@sum+@count Select@count=@count+1 if @count<=5 Goto label1 Select @count-1,@sum

A5 15

B5 10

C4 15

D4 10