declare n_numb number := 2; begin while n_numb < 20 --while肯定要跟loop一起用的 且是控制循环体的 loop n_numb := n_numb + 1; end loop; end;