Re: sql problem with join

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: sql problem with join
Date: 2006-11-15 16:59:58
Message-ID: 200611151759.58103.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Dunstan 2006-11-15 17:58:15 Re: [SQL] Case Preservation disregarding case
Previous Message Jim Nasby 2006-11-15 15:47:18 Re: [HACKERS] Case Preservation disregarding case