opennms=# SELECT eventid FROM tbl1;eventid
--------- 119064 119064 60116 16082 16082 16303 16082 92628 92628 60083
(10 rows)
opennms=# SELECT eventid FROM tbl2;eventid
--------- 123989 123989 123989 16134 16134 16368 16134 92685 92685 60115
(10 rows)
opennms=# SELECT eventid FROM tbl1 WHERE eventid NOT IN (SELECT eventid FROM tbl2);
eventid
---------
(0 rows)
I'm confused, the result should not 0 rows, right?
Pls Help. Am I missing something?
TIA.
_____________________________________________________________
Get yourname@dugem.com at http://www.dugem.com
_____________________________________________________________
Promote your group and strengthen ties to your members with email@yourgroup.org by Everyone.net
http://www.everyone.net/?btn=tag