Re: Normalization and Derived Information

From: Christopher Browne <cbbrowne_at_acm.org>
Date: 23 Sep 2004 02:17:45 GMT
Message-ID: <2req29F19n3m7U1_at_uni-berlin.de>


The world rejoiced as Gene Wirchenko <genew_at_mail.ocis.net> wrote:
> "Laconic2" <laconic2_at_comcast.net> wrote:
>
> [snip]
>
>>The advantage of the extended price is that it can be summed. (other trivia
>>about star schema design omitted).
>
> And quantity times price can not?
> select sum(quantity*price) as extendedsum from orders

That might require a join against a table with prices, maybehaps...

-- 
wm(X,Y):-write(X),write('_at_'),write(Y). wm('cbbrowne','linuxfinances.info').
http://linuxfinances.info/info/rdbms.html
"In computing, invariants are ephemeral."  -- Alan Perlis
Received on Thu Sep 23 2004 - 04:17:45 CEST

Original text of this message