i have this query :
Select
DATE_FORMAT(calls.call_datetime, "%Y-%m-%d") as `groupdate`
from
calls
WHERE calls.job_id =1
group by DATE_FORMAT(calls.call_datetime,
"%Y-%m-%d")
with return :
groupdate
2018-07-06
2018-07-06
there are 2 rows. how do I count the above query so that the result becomes '2' with one row ?
what i want is:
Result
2
thanks, please help me