ok, so you need a full join:
SELECT DISTINCT tableA.x FROM tableA,tableB WHERE tableA.y=tableB.z
In reply to Re^3: perl dbi select question by psini in thread perl dbi select question by baxy77bax