Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL/SQL*Plus: How to add numbers to rows?

Re: SQL/SQL*Plus: How to add numbers to rows?

From: Gerard H. Pille <ghp_at_santens.be>
Date: 1997/10/20
Message-ID: <01bcdd43$af1d1f80$7b1340c0@pcghp.santens.be>#1/1

syakobson_at_erols.com schreef in artikel <877135123.8695_at_dejanews.com>...
> Sorry, but your query will not work.

That's strange, I've tried it. Did you?
>
> You should change where aff.affiliation > e.affiliation(+) to where
> aff.affiliation < e.affiliation(+) then SELECT in FROM clause would
> return total number of employees in all preceding affiliations. For the
> first one it would return 0.
>

I think aff.affiliation < e.affiliation(+) will return the employees in the following affiliations.

-- 
------------
Kind reGards
     \ /   |
      X    |
     / \   x
     Gerard
Received on Mon Oct 20 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US