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 -> Problem with order when selecting

Problem with order when selecting

From: Roman Klesel <rupa_at_firemail.de>
Date: Wed, 7 Jul 2004 22:18:00 +0000 (UTC)
Message-ID: <slrnceotkp.pau.rupa@gemini.office.noris.de>

Dear SQL hackers,

I would like to do the following:

select

        to_char(first_time),
        count(first_time)
from v$log_history
        group by to_char(first_time)
        order by first_time

Unfortunately this does not work.
However when I:

order by to_char(first_time)

I don't get the order I want.

Can some one please show me how this is ment to work!

Thanks in advance.

Roman Klesel Received on Wed Jul 07 2004 - 17:18:00 CDT

Original text of this message

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