Re: GROUP BY

From: Vadim Tropashko <vadimtro_invalid_at_yahoo.com>
Date: 19 May 2007 14:38:18 -0700
Message-ID: <1179610698.529114.234750_at_y80g2000hsf.googlegroups.com>


On May 19, 2:20 pm, Vadim Tropashko <vadimtro_inva..._at_yahoo.com> wrote:
> Grouping by the empty set of columns. The input
>
> A
> y
> -
> a
> b
>
> [set equality] joined with
>
> P
> y set
> - -----
> a {a,b}
> b {a,b}
> a {a}
> b {b}
>
> produces
>
> set
> -----
> {a,b}
>
> The empty relation A would naturally produce the output
>
> set
> ---
> {}
>
> Hence, my suggestion to define group by empty set to always produce
> one row.

Oh, I see the problem! There is no empty set listed in the powerset relation. Therefore, indeed set equality join would produce the empty relation... Received on Sat May 19 2007 - 23:38:18 CEST

Original text of this message