pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: tyler@sleekcode.net
Cc: pgsql-sql@postgresql.org
Subject: Re: FULL OUTER JOIN Question
Date: Fri, 14 Oct 2005 14:28:24 -0400
Message-ID: <24216.1129314504@sss.pgh.pa.us> (raw)
In-Reply-To: <2005101413239.933110@devbox>
References: <2005101413239.933110@devbox>

Tyler Kellen <tyler@sleekcode.net> writes:
> I have a question about a full outer join returning duplicate rows.

Why do you think they are duplicate?  The GROUP BY includes many columns
that you can't see directly in the output ...

Also, you did not show us the actual input data (where's the rows with
trans_item.parent=20116?)

			regards, tom lane



view thread (2+ messages)

Message-ID: <24216.1129314504@sss.pgh.pa.us>
Permalink:  ../24216.1129314504@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24216.1129314504@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, tyler@sleekcode.net
  Subject: Re: FULL OUTER JOIN Question
  In-Reply-To: <24216.1129314504@sss.pgh.pa.us>

* 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