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

Continua a ricevere ORA-00933:comando SQL non terminato correttamente

Rimuovi () da CURRENT_DATE()

SELECT ACTIVITY_APPROVAL_DATE, COUNT(*)AS ACTIVITY_COUNT 
FROM ACTIVITY 
WHERE ACTIVITY_APPROVAL_DATE = CURRENT_DATE
GROUP BY ACTIVITY_APPROVAL_DATE;