Re: [SQL] JOIN

From: "Loredana Curugiu" <loredana(dot)curugiu(at)gmail(dot)com>
To: "Oliveiros Cristina" <oliveiros(dot)cristina(at)marktest(dot)pt>, pgsql-novice(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] JOIN
Date: 2007-06-05 14:57:13
Message-ID: 1c23c8e70706050757r212f0369oaee3909598ce7097@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

On 6/5/07, Oliveiros Cristina <oliveiros(dot)cristina(at)marktest(dot)pt> wrote:
>
> Hello again, Loredana.
>
>
> Additional information required :-)
>
> imagine the following situation
>
> 1| LIA | recv1 | date1 | (date1,date2)
> 2|LIA | recv1 |date 1 | (date2,date3)
> 3| LIA | recv1 | date1 | (date1,date3)
>
>
> Should this yield 6? Or 4?
>
date 1 is not on the second dates column, but it is on the remaining two
>

if the first column is count then the sum(count) should be 4.

Loredana

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliveiros Cristina 2007-06-05 15:00:27 Re: [SQL] JOIN
Previous Message Oliveiros Cristina 2007-06-05 14:52:49 Re: [SQL] JOIN

Browse pgsql-sql by date

  From Date Subject
Next Message Oliveiros Cristina 2007-06-05 15:00:27 Re: [SQL] JOIN
Previous Message Oliveiros Cristina 2007-06-05 14:52:49 Re: [SQL] JOIN