Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Subtracting from a set of rows/columns
Martin T. wrote:
> On Mar 14, 6:01 pm, DA Morgan <damor..._at_psoug.org> wrote: >> Martin T. wrote:
>> Seriously consider a redesign as: >> >> CREATE TABLE test_counters ( >> sort_number NUMBER, >> test_id VARCHAR2(30), >> count_id NUMBER(2), >> count_value NUMBER); >> >> Think vertically. >> -- >> Daniel A. Morgan > > > Ed, Daniel, > thanks for the replies. > > There are really only 5 different counters (counters as in: > Measurement values that represent a number of counted objects.) > The table has simply one row per testsample. > > Really. I should start writing down all that info in my initial > posts :) > > thanks anyway! > br, > Martin
Even if there will never be a sixth ... experience teaches otherwise ... it is still a design already causing problems. I recommend fixing it.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Mar 14 2007 - 21:04:22 CDT