Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: SQL statement
Most likely answer:
QID in the login table has at least one row where it's NULL.
Don't forget that NULL is UNKNOWN.....
-Mark
> Does anyone have any ideas why this is not working ???
> pweb:acedmgr> select QID from login;
>=20
> QID > ---------- > 1 > 1
> pweb:acedmgr> select qid from question;
>=20
> QID > ---------- > 2 > 3 > 1
> pweb:acedmgr> SELECT qid=20 > FROM question > 2 WHERE qid NOT IN (SELECT qid FROM login);
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Oct 26 2004 - 13:14:48 CDT
![]() |
![]() |