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

Home -> Community -> Usenet -> c.d.o.server -> Newbie SQL

Newbie SQL

From: zeb <thierry.constant1_at_free.fr>
Date: Wed, 6 Nov 2002 22:01:49 +0100
Message-ID: <3dc981f9$0$18259$626a54ce@news.free.fr>

Hi,

I have the following table:

SCORE OID TYPE
-------- ------ -------

  60     123    text
  40     124    attach
  37     123    attach
  28     150    attach
  13     123    attach

What is the request to get the following: ( outer join ?? )

CUMUL SCORE OID TYPE
----- ------ ------ -------

 110    60       123    text
 110    40       123    attach
 110    37       123    attach
  40    28       124    attach
  28    13       150    attach

where 110 = 60 + 37 + 13.

Thanks in advance Received on Wed Nov 06 2002 - 15:01:49 CST

Original text of this message

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