pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: ext-thierry.templier@ccf.com, "PGSQL" <pgsql-sql@postgresql.org>
Subject: Re: Left outer join and sub queries alias
Date: Thu, 23 Oct 2003 13:18:05 +0100
Message-ID: <200310231318.05704.dev@archonet.com> (raw)
In-Reply-To: <OFD24612ED.1BED7413-ONC1256DC8.003F7276@prod.fr.hsbc>
References: <OFD24612ED.1BED7413-ONC1256DC8.003F7276@prod.fr.hsbc>

On Thursday 23 October 2003 12:37, ext-thierry.templier@ccf.com wrote:
> Hello,
>
> I try to make work this request:

Try:

 select *
  from
   ( select * from personne_nom where personne_nom_pal=1 ) as tmp,
    left outer join
   personne
      on ( personne.personne_id = tmp.personne_nom_personne_id )
  where personne_id=57

-- 
  Richard Huxton
  Archonet Ltd



view thread (2+ messages)

Message-ID: <200310231318.05704.dev@archonet.com>
Permalink:  ../200310231318.05704.dev@archonet.com/
Also on:    postgresql.org/message-id/200310231318.05704.dev@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com
  Subject: Re: Left outer join and sub queries alias
  In-Reply-To: <200310231318.05704.dev@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox