From: | "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com> |
---|---|
To: | "Peter Dawn" <petedawn(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: Fill multiple fields through one INNER JOIN |
Date: | 2007-02-06 17:46:54 |
Message-ID: | b35603930702060946y6478d3f0n1188d3fe8fdfc16e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
On 1/29/07, Peter Dawn <petedawn(at)gmail(dot)com> wrote:
> guys,
>
> i have a table which contains 5 fields, of these 2 fields need to be
> filled in through an inner join from one same table.
>
> now i have managed to fill in one field using the inner join method.
> but the second field also is exactly the same and needs to be filled
> in from the same table, the only difference is the field name is
> different and obviously the content of these two fields is also
> different (but its still coming from the same other table).
>
> so i guess my question is how do i populate two fields using an inner
> join (both these fields contain different data but from the same
> table). i hope i have been able to explain myself.
Personally I always find example data helpful to try and
understand what people want to achieve ....
Cheers,
Andrej
From | Date | Subject | |
---|---|---|---|
Next Message | Duncan Garland | 2007-02-06 18:31:54 | Re: Fill multiple fields through one INNER JOIN |
Previous Message | chrisj | 2007-02-06 17:45:11 | Re: is there more documentation? |