title: SQL Error - missing keyword
body: <p>Whats wrong with this query : I am getting following error</p>
  
  <blockquote>
    <p>SQL Error: ORA-00905: missing keyword
    00905. 00000 -  "missing keyword"</p>
  </blockquote>
  
  <p>it says error at 4th row. Please advise</p>
  
  <pre><code>CREATE TABLE ORDERS
  (
  ID INT        NOT NULL,
  ord_date    DATE, 
  AMOUNT     double,
  CUSTOMER_ID INT references CUSTOMERS(ID),
  PRIMARY KEY (ID)
  );
  </code></pre>