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 for column of type date

Re: group by for column of type date

From: Michael Howitz <mhowitz_at_firemail.de>
Date: Wed, 20 Nov 2002 10:26:04 +0100
Message-ID: <3DDB552C.6000004@firemail.de>


Matthias Rogel wrote:
> SELECT TO_CHAR(crea_date, 'YYYY-MM-DD') crea_date,
> COUNT(*) crea_date_cnt
> FROM cct_access
> WHERE crea_date >= TO_DATE('2002-11-06 00:00:00', 'YYYY-MM-DD HH24:MI:SS')
> GROUP TO_CHAR(crea_date, 'YYYY-MM-DD');
>
> ?

yes! this was what i needed. thank you very much.

-- 
mac

real email-adress: mac clondiag com
Received on Wed Nov 20 2002 - 03:26:04 CST

Original text of this message

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