Re: sql problem with join

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: sql problem with join
Дата
Msg-id 200611151759.58103.fluca1978@infinito.it
обсуждение исходный текст
Ответ на Re: sql problem with join  (Richard Broersma Jr <rabroersma@yahoo.com>)
Ответы Re: sql problem with join
Список 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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: sql problem with join
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: [HACKERS] Case Preservation disregarding case