Hi, in my DB, there is only 2 records, one on 04/06, one on 04/19, which you can see here:
However, instead showing 2 points, there is a line between these two dates.
I want to know if there is a way to show 0 if there is no record on that date?
I am new to SQL as well and here is my query:
select distinct date(CRTD_TS) as TIME, count(ID) as ‘SUCCESS’
from RECORD_TABLE
where STATUS=1 and ACT_TYPE=1and $__timeFilter(CRTD_TS)
group by TIME
order By tTIME asc;
(Here STATUS and ACT_TYPE are two filters, and CRTD_TS means created time stamp)
Thank you for the help.