mysql流程控制語句怎么實現1?
declare @i int declare @sum int set @i=0 set @sum=0 while @i<=10 begin set @sum=@sum+@i set @i=@i+2 end select @sum
mysql流程控制語句怎么實現1?
declare @i int declare @sum int set @i=0 set @sum=0 while @i<=10 begin set @sum=@sum+@i set @i=@i+2 end select @sum