| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Lucid statement of the MV vs RM position?
Jon Heggland wrote:
> Bob Badour wrote:
>
>>Jon Heggland wrote: >>All of the above is syntax. You point to two different productions in >>the grammar and claim that only one can be an aggregate. However, this >>is not true. In both situations above, SUM is an aggregate function.
That's right. It is just a lexical token in the grammar. The token forms part of a phrase that specifies a projection extended with aggregated operations like addition, union or variance. When applied to an empty relation, the operation specified by the phrase will yield another empty relation of a different type.
One can have other phrases that specify aggregate operations. For instance, one can use SUM token or other aggregate operators without the SUMMARIZE token. When applied to an empty relation, these aggregate operations will yield the identity element for the base operation.
Tutorial D also has a phrase involving the token GROUP. The phrase specifies a combined type conversion and aggregate operation using UNION.
Your whole position seems predicated on GROUP and SUMMARIZE and SUM as tokens in the grammar. As tokens, they are merely symbols with no inherent meaning.
You, yourself, admitted one can define the operation specified by the GROUP phrase as a type conversion and an aggregate using repeated UNION. However else one might define the operation, it must still function as if it were defined as a type conversion and an aggregate using repeated UNION. Otherwise, it would specify a different operation.
SUMMARIZE
> produces a relation; SUM produces a number. Is your point that you
> actually want to use the same name for these two operations? Why?
Don't be absurd.
> All your arguments are just "Yes, it is!".
You have already admitted that it is when you admitted one can define GROUP as a type conversion and iterated UNION. Why you continue to argue that it is something else is beyond me. However else one might define the operation, it must still operate according to the aggregate function definition.
It's like Monty Python's
> Argument Clinic. If you want me to understand your point of view, please
> respond to the concrete questions I ask you in other posts.
I don't care whether you understand my point of view. I am trying to figure out whether you have anything resembling a coherent point to make.
>>As I said previously, you focused on form while Marshall and I focused >>on function.
>>Do you have a particular objection to the productions D&D chose in the >>grammar of their tutorial language? If so, which production(s)? How does >>changing the production(s) improve the language as a language? We might >>agree with you, and we might not.
I am concluding that your whole argument is pointless. Received on Tue May 09 2006 - 10:26:49 CDT
![]() |
![]() |