title: SQL command not properly ended with WHERE statement
body: <p>With this statement:</p>
  
  <pre><code>SELECT CITY, LENGTH(CITY) 
  FROM STATION 
  ORDER BY LENGTH(CITY) 
  WHERE ROWNUM = 1;
  </code></pre>
  
  <p>why do I get this error:</p>
  
  <blockquote>
    <p>ERROR at line 1:<br>
    ORA-00933: SQL command not properly ended  SELECT CITY, LENGTH(CITY) FROM STATION ORDER BY LENGTH(CITY) WHERE ROWNUM = 1</p>
  </blockquote>