Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: group by for column of type date
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 comReceived on Wed Nov 20 2002 - 03:26:04 CST
![]() |
![]() |