| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Box query
Mikito Harakiri wrote:
> Bob Badour wrote:
>
>>If you take a look at the second-to-last step, your query failed before
>>it got to the having clause:
>>
>>Let tmp1 = { (box1,box2,exp(sum(ln(...)))) |
>> (1,1,6), (1,2,3e-8),
>> (2,1,3e-8), (2,2,6)
>>}
>>It doesn't have the correct intersection volume of (1,2,4), which is >>what I thought the query was supposed to return. And if one has two >>intersecting hyperboxes that abutt, one could argue that it should >>return a row indicating a zero-volume intersection. Your having clause >>will simply remove the result.
![]() |
![]() |