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: GROUP BY hour in a date field?

Re: GROUP BY hour in a date field?

From: DavidP185 <davidp185_at_aol.com>
Date: 04 Jul 1999 04:54:40 GMT
Message-ID: <19990704005440.20215.00007798@ng-ca1.aol.com>


> A general
>example on how to aggregate by hour (including the same day) would be
>very welcome.
>

Have you tried

INSERT INTO dest60
(SELECT ne,rt,TO_CHAR(measuredate,'HH24 YYY-MM-DD') GROUP BY ne, rt,TO_CHAR(measuredate,'HH24 YYY-MM-DD') ) Received on Sat Jul 03 1999 - 23:54:40 CDT

Original text of this message

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