title: PLS-00103: Encountered the symbol "FOR" when expecting one of the following:
body: <p>**hello I'm trying to do a FOR loop in oracle but it throws the following error</p>
  
  <p>ORA-06550: line 6, column 1:
  PLS-00103: Encountered the symbol "FOR" when expecting one of the following:
     * &amp; = - + ; &lt; / > at in is mod remainder not rem
      &lt;> or != or ~= >= &lt;= &lt;> and or like like2
     like4 likec between || multiset member submultiset
  The symbol ";" was substituted for "FOR" to continue.**</p>
  
  <pre><code>DECLARE
  PROV number;
  RAN_PRICE NUMBER;
  
  begin
  prov := 1
  for loop_one in 1..10 
  loop
  
  FOR LOOP_two IN 1..5   
  LOOP
  
  SELECT (1+ABS(MOD(dbms_random.random,1800)))into RAN_PRICE FROM dual;
  INSERT INTO marcos.PRODUCTO
  VALUES(SEQ_PRODUCTO.nextval, 'Producto_'||PROV,RAN_PRICE,PROV);
  END LOOP ;
  
  PROV := PROV+ 1;
  end loop ;
  
  commit; 
  EXCEPTION
  WHEN OTHERS THEN
        dbms_output.put_line('Se ha producido un error') ;
  rollback;               
  end;
  </code></pre>