New at this :-)
2 tables
demographic visits
---------------- ------------------
custID | name | |custID | other stuff |
---------------- ----------------------
I want all those names where the custID doesnt appear in vists
select name FROM demographic WHERE NOT EXISTS (SELECT custID FROM
visits WHERE demographic.custID=visits.custID);
is a syntax error