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 -> Optimizing SELECT Query

Optimizing SELECT Query

From: Carsten Grammes <cgrammes_at_gmx.net>
Date: Wed, 03 Jul 2002 13:34:54 GMT
Message-ID: <3d22f8f6.434884701@gandalf.dialogika.de>


Hello world,

following situation: I have a table T with a column C (C are numbers). I want to find the number which is smaller but nearest to a given value N.

How to formulate this as a select statement in an efficient way?

Thanks,
Carsten.

---
I want to die peacefully in sleep like my grandfather.
Not screaming in terror like his passengers!
Received on Wed Jul 03 2002 - 08:34:54 CDT

Original text of this message

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