title: PLSQL encountered the symbol "end-offile"... PLS-00103
body: <p>I'm quite new at PL SQL, when I tried to write sth like below:</p>
  
  <pre><code>BEGIN FOR foo IN (SELECT A, B, C FROM foo_table WHERE some_conditions) LOOP
  DBMS_OUTPUT.PUT_LINE('sth here')
  END LOOP;
  </code></pre>
  
  <p>I got following error while executing statment in SQL Developer</p>
  
  <p>Encountered the symbol "end-of-file" when expecting is one the following:
  begin case declare end exception and more...</p>
  
  <p>What's wrong with my statement? Could anyone give me a tip how to resolve this? I'll be very glad for all hints.</p>