pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: Oleg Lebedev <olebedev@waterford.org>
Cc: Postgres SQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: sequential joins
Date: Fri, 01 Mar 2002 15:13:31 -0800
Message-ID: <web-814403@davinci.ethosmedia.com> (raw)
In-Reply-To: <3C8004D1.40DEF8A1@waterford.org>

Oleg,

> the sub-select statement I was using were not for filtering data (in
>  which
> case you can move filtering condition in ON part of the join), but
>  rather
> renaming the column 'username' with the name I need in the current
>  join
> statement. In this case, columns with new names ('artist',
>  'designer',
> 'programmer') would be appended to the overall query result and can
>  be
> selected by top-level select statement.
> This looks like a very clumsy way to do what I need.
> Any ideas?

No, now I'm confused.  Can you explain better what you are trying to
 achieve as a result?

-Josh







view thread (6+ messages)  latest in thread

Message-ID: <web-814403@davinci.ethosmedia.com>
Permalink:  ../web-814403@davinci.ethosmedia.com/
Also on:    postgresql.org/message-id/web-814403@davinci.ethosmedia.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: josh@agliodbs.com, olebedev@waterford.org
  Subject: Re: sequential joins
  In-Reply-To: <web-814403@davinci.ethosmedia.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