Check the
"   a.pc_session_user_name = 'tsokol'"
There is no alias "a".

Hemant K Chitale
Principal DBA
Chartered Semiconductor Manufacturing Ltd


"Lance Prais" <[EMAIL PROTECTED]>      22/01/2002 08:15 AM
Sent by: [EMAIL PROTECTED]

Please respond to ORACLE-L
                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>           
                        
             cc: (bcc: CHITALE Hemant Krishnarao/Prin DBA/CSM/ST Group)                
                        
             Subject: Alias Table Error...why?                                         
                        
                                                                                       
                        
                                                                                       
                        
                                                                                       
                        





I have the following SQL Statement but am getting and ORA-00904 Invalid
Column Error.  What Could I be doing wrong?

SELECT
  Launch.oc_session_id
FROM
  pt_client_eventdetails launch,
  pt_client_eventdetails logout
WHERE
   a.pc_session_user_name = 'tsokol'
   and (logout.pc_event_op = 'LAUNCH' and logout.pc_event_op <> 'LOGOUT'
and
logout.pc_event_op <> 'SOLUTION_VIEWED')
   and  launch.pc_session_id = logout.pc_session_id

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Lance Prais
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to