Oracle
 sql >> Database >  >> RDS >> Oracle

Conteggio SQL per una colonna della data

SELECT
 COUNT(date)
 , TRUNC(DATE,'MON')
FROM TABLE
GROUP BY TRUNC(DATE,'MON')
HAVING COUNT(DATE) > 3