title: Wrong SQL statement in Oracle 11g
body: <p>I want to get the value <code>SESSIONID</code> from this table:</p>
  
  <pre><code>CREATE TABLE SESSIONSLOG(
    SESSIONID VARCHAR2(30 ) NOT NULL,
    USERNAME VARCHAR2(30 ),
    IPADDRESS VARCHAR2(30 ),
    LOGINTIME TIMESTAMP(6),
    LOGOUTTIME TIMESTAMP(6)
  )
  /
  </code></pre>
  
  <p>I tried this SQL query:</p>
  
  <pre><code>SELECT SESSIONID FROM ACTIVESESSIONSLOG
  </code></pre>
  
  <p>But I get this error message:</p>
  
  <pre><code>ORA-00904: "SESSIONID": invalid identifier
  00904. 00000 -  "%s: invalid identifier"
  *Cause:    
  *Action:
  Error at Line: 1 Column: 7
  </code></pre>
  
  <p>How I can fix this?</p>