title: How to run Oracle in SQLFiddle
body: <p>I am new to Oracle sql.  I got a piece of code from the web, and paste it into sqlfiddle (<a href="http://sqlfiddle.com/" rel="nofollow">http://sqlfiddle.com/</a>):</p>
  
  <p>For the schema, I created a temp table, which will be used in the sql query:</p>
  
  <pre><code>CREATE Global Temporary TABLE temp
   (id number
   ,x number)
   ,y CHAR(50))
   ON COMMIT DELETE ROWS;
  </code></pre>
  
  <p>I clicked build schema, which tells me "Schema Ready".</p>
  
  <p>Then I paste the following query which is from Oracle official website on the right pane:</p>
  
  <pre><code>-- available online in file 'sample1'
  DECLARE
     x NUMBER := 100;
  BEGIN
     FOR i IN 1..10 LOOP
        IF MOD(i,2) = 0 THEN     -- i is even
           INSERT INTO temp VALUES (i, x, 'i is even');
        ELSE
           INSERT INTO temp VALUES (i, x, 'i is odd');
        END IF;
        x := x + 100;
     END LOOP;
     COMMIT;
  END;
  </code></pre>
  
  <p>When I press run sql, and it returns errors:</p>
  
  <blockquote>
    <p>ORA-06550: line 3, column 18: PLS-00103: Encountered the symbol
    "end-of-file" 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</p>
  </blockquote>