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 -> Help needed: Oracle ans SQL

Help needed: Oracle ans SQL

From: Mirko Cegledi <mcegledi_at_itprotect.de>
Date: Tue, 16 Oct 2001 11:32:10 +0200
Message-ID: <3BCBFE9A.B1964A20@itprotect.de>


Hi!

I've got a serious problem:

I've got a table with key/value-pairs and an appropriate level. I'm searching for a query which results in a table that lists only the key/value-pairs with the greatest level.

Example:

key value level


name   alice        1
age       13        1
name     bob        2
name   cindy        3
gender  male        1
age       15        2

The query should have the following result:

key value level


age        15       2
gender   male       2
name    cindy       3

Can anybody help me?

Mirko Received on Tue Oct 16 2001 - 04:32:10 CDT

Original text of this message

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