$ 0 0 Here you go... sel la.*, lb.* from la left join lb on (coalesce(la.a,'(novalue)')=coalesce(lb.a,'(novalue)'))