LEFT JOIN - Mailing list pgsql-sql

From Antti Linno
Subject LEFT JOIN
Date
Msg-id Pine.LNX.4.04.10007041506580.27952-100000@all.ee
Whole thread Raw
List pgsql-sql
Greetings.I have a problem. I have 2 tables. E.g. work and workers. I want to
select records, that 1st table has, and the second hasn't(both have id
attribute). I mean I can't do it with is NULL, because those records don't
exist. I was shown, how it is done with mysql

select first.id,second.id_first 
from first left join second on
id=id_first where id_first is NULL;

but when I tried it in psql, it said, not implemented.

Antti




pgsql-sql by date:

Previous
From: "Mitch Vincent"
Date:
Subject: Re: case insensitive search
Next
From: "Gerhard Dieringer"
Date:
Subject: Antw: LEFT JOIN