I am running the below query which returns blank row when there is no data. When there is data, the query will return the correct count. Is there a way to return 0 instead of a blank row?
Database is Oracle
select alert_count
from ALERT_LOG
where alert_name = 'BUCKET'
and create_date>= trunc(sysdate)
Any help will be greatly appreciated.
Thanks