Re: MULTIPLE OUTER JOIN SYNTAX :-( can't quess it - Mailing list pgsql-interfaces

From Constantin Teodorescu
Subject Re: MULTIPLE OUTER JOIN SYNTAX :-( can't quess it
Date
Msg-id 3AED712E.30409E16@flex.ro
Whole thread Raw
List pgsql-interfaces
Constantin Teodorescu wrote:
> 
> Tried :
> select t0.name, t1.title, t2.nickname from authors t0 left outer JOIN
> books t1 ON (t0."id"=t1."author") , authors t0 left outer join nicknames
> t2 on (t0."id"=t2."id")


:-) After 30 seconds I have found the answer :


select t0.name, t1.title, t2.nickname from authors t0 left outer JOIN
books t1 ON (t0."id"=t1."author") left outer join nicknames
t2 on (t0."id"=t2."id")

Constantin Teodorescu
Braila, ROMANIA


pgsql-interfaces by date:

Previous
From: Sandro Dentella
Date:
Subject: function returning NULL?
Next
From: Bruce Momjian
Date:
Subject: Re: libpgtcl and passwords