| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: GROUP BY
"V.J. Kumar" <vjkmail_at_gmail.com> wrote in
news:Xns9936C58B97D81vdghher_at_194.177.96.26:
>
> > Apparently, the IBM folks need to read the standard ! >
Actually, after rereading the standard I think I was unfair towards 'the IBM folks'. Whether or not 'select 1 from T group by ()' should return one or zero rows, depends on whether or not an empty set can be partitioned, which in its turn depends on axioms set partitioning should satisfy. If you accept, as the formal set theory does, that an empty set can be (the only possible) partition of itself, then returning one row with the above query is OK. Since the 2003 standard is silent on this point, implementations returning either one or zero rows are both 'right'!
>>
>>
>> Thanks
>> /Lennart
>>
>>
>> [...]
>>
>
>
Received on Sun May 20 2007 - 19:55:20 CDT
![]() |
![]() |