pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@infinito.it>
To: pgsql-sql@postgresql.org
Subject: Re: sql problem with join
Date: Wed, 15 Nov 2006 17:59:58 +0100
Message-ID: <200611151759.58103.fluca1978@infinito.it> (raw)
In-Reply-To: <30186.45923.qm@web31807.mail.mud.yahoo.com>
References: <30186.45923.qm@web31807.mail.mud.yahoo.com>

On Wednesday 15 November 2006 16:20 your cat, walking on the keyboard, wrote:
> May be you could show the results you are getting and then make up some
> results that you would really like to get.  I am not entirely clear what
> you are trying to achieve.


Lastly I found the solution, for the moment, that should be the following:
select *
from peopleRole pr
left join roleSkill rs on rs.id_role = pr.id_role
left join peopleSkill ps on ps.id_skill = rs.id_skill

I think it should go, don't you think?

Thanks,
Luca



view thread (4+ messages)  latest in thread

Message-ID: <200611151759.58103.fluca1978@infinito.it>
Permalink:  ../200611151759.58103.fluca1978@infinito.it/
Also on:    postgresql.org/message-id/200611151759.58103.fluca1978@infinito.it

 · 

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: fluca1978@infinito.it
  Subject: Re: sql problem with join
  In-Reply-To: <200611151759.58103.fluca1978@infinito.it>

* 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