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 -> Not ASCending nor DESCending ORDER BY

Not ASCending nor DESCending ORDER BY

From: Kal Khatib <kkhatib_at_cisco.com>
Date: Tue, 18 Aug 1998 13:46:48 -0700
Message-ID: <35D9E838.5E81715E@cisco.com>


I have a statement

select a, code
from table_a, table_b
where some_conditions
ORDER BY a, ??

code could any letter
I want to order by a, ascending, and then by code in an arbitrary way (eg, in this order C, W, I, L, A, X, N... etc) how can I do that?

thanks

ps. please copy me when responding to group. Received on Tue Aug 18 1998 - 15:46:48 CDT

Original text of this message

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