help with outer join sql - [message #25853] |
Wed, 21 May 2003 08:26 |
Eric Desai
Messages: 1 Registered: May 2003
|
Junior Member |
|
|
I have the following sql:
SELECT LED.LOG_EVENT_DATA_ID,
LED.REQUEST_ID,
LED.SESSION_KEY,
LE.SEVERITY_DESC,
LED.LOG_EVENT_ID,
LED.LOG_CATEGORY_ID,
LED.LOG_SOURCE_ID,
LS.HOST,
LS.NAME,
LED.BINDATA,
LED.EVENT_DATE,
SEC_DATA_EXISTS
FROM LOGSECURITY.LOG_EVENT_DATA LED,
LOGSECURITY.LOG_SOURCE LS,
LOGSECURITY.LOG_EVENT LE
LEFT OUTER JOIN (SELECT DISTINCT 'TRUE' AS SEC_DATA_EXISTS, LOG_EVENT_DATA_ID
FROM LOGSECURITY.SIGN_ON_INFORMATION) ON LED.LOG_EVENT_DATA_ID = LOG_EVENT_DATA_ID
WHERE LED.LOG_SOURCE_ID=LS.LOG_SOURCE_ID
AND LE.LOG_EVENT_ID=LED.LOG_EVENT_ID
Whenever I run it, I recieve the following error:
FROM LOGSECURITY.SIGN_ON_INFORMATION) ON LED.LOG_EVENT_DATA_ID = LOG_EVE
*
ERROR at line 17:
ORA-00904: "LED"."LOG_EVENT_DATA_ID": invalid identifier
Is this a bug? Can anyone explain what the problem is?
Thanks for your help.
|
|
|
|