T
Tom
I've been looking thru the posts but I havent been able to find an
example for what I need:
given that I have two tables:
NAMES with columns NAME LAST_NAME AGE
and
ADDRESS with columns NAME ADDRESS PHONE
I need the list of names that exist in table NAMES columns NAME but
not in table ADDRESS column NAME
this is what I have but obvoislly it doesn't work:
SELECT a.NAME, a.LAST_NAME, a.AGE -
FROM NAMES a, ADDRESS b -
WHERE a.NAME not in b.NAME -
ORDER BY a.NAME
example for what I need:
given that I have two tables:
NAMES with columns NAME LAST_NAME AGE
and
ADDRESS with columns NAME ADDRESS PHONE
I need the list of names that exist in table NAMES columns NAME but
not in table ADDRESS column NAME
this is what I have but obvoislly it doesn't work:
SELECT a.NAME, a.LAST_NAME, a.AGE -
FROM NAMES a, ADDRESS b -
WHERE a.NAME not in b.NAME -
ORDER BY a.NAME