Julian Foad wrote on Wed, Feb 16, 2011 at 18:25:35 +0000: > AND NOT (SELECT 1 FROM actual_node > WHERE wc_id = ?1 AND local_relpath = ?2) > > (I'm not sure whether "NOT (SELECT 1 ...)" is the correct or best way to > say "this selection is empty", but you get the idea.) >
AND 0 == (SELECT COUNT(*) ) ?