pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: pgsql-sql@postgresql.org
Subject: Re: left outer join only select newest record
Date: Thu, 24 May 2012 09:21:43 +0100
Message-ID: <201205240921.43670.gary.stainburn@ringways.co.uk> (raw)
In-Reply-To: <CAFj8pRACnUVG_0UgxN+BKfDAhdW2KVntNOgFDtoPjD5u623=aQ@mail.gmail.com>
References: <201205231027.39198.gary.stainburn@ringways.co.uk>
	<201205231133.21123.gary.stainburn@ringways.co.uk>
	<CAFj8pRACnUVG_0UgxN+BKfDAhdW2KVntNOgFDtoPjD5u623=aQ@mail.gmail.com>

On Thursday 24 May 2012 09:17:00 Pavel Stehule wrote:
> please, WHERE (ud_id, ud_pex_registration) = (SELECT ...
>
> replace by
>
> WHERE (..) IN (SELECT ..
>
> Regards
>
> Pavel

Worked perfectly, thank you


-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 



view thread (11+ messages)  latest in thread

Message-ID: <201205240921.43670.gary.stainburn@ringways.co.uk>
Permalink:  ../201205240921.43670.gary.stainburn@ringways.co.uk/
Also on:    postgresql.org/message-id/201205240921.43670.gary.stainburn@ringways.co.uk

 · 

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: gary.stainburn@ringways.co.uk
  Subject: Re: left outer join only select newest record
  In-Reply-To: <201205240921.43670.gary.stainburn@ringways.co.uk>

* 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