I have an mysql query:
SELECT count(*) as `present_days`
FROM tbl_intime_status
WHERE employee_status = 'Out' and
present_status = 'Full Day' and
date LIKE '%/"+month2+"/"+year1+"' and
employee_id="+ EmpId+
From this query I am getting no. of Full Day present.
I have present_status= 'Half Day' & present_status = 'Full Day' in my database records.
How to count ‘Full Day’ + ‘Half Day’?
If you want the counts separate you can do this
If you want the total of both do this