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: order by question

Re: order by question

From: Andreas Stephan <nospam.as.stedat_at_gmx.net>
Date: Mon, 13 Dec 1999 16:34:29 +0100
Message-ID: <38551205.6675CEA2@gmx.net>


Hi Frank,

try this: select t from x order by substr(t,1,1),substr(t,2,1); It will do the trick, but is highly specialized to your problem.

cu
Andy

Frank Streitzig schrieb:

> Hi,
>
> i have a order by question. I have a table x with one column t char(5). The
> table contain 6 rows.
>
> #1
> 1)
> #2
> 2)
> #3
> 3)
>
> I like sort table (select t from x order by t), but receive no order.
> I like follow sorting:
>
> #1
> #2
> #3
> 1)
> 2)
> 3)
>
> Can anybody help me?
>
> Sorry for my language. :-)
>
> Frank Streitzig
> Germany
Received on Mon Dec 13 1999 - 09:34:29 CST

Original text of this message

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