I’m having trouble in fetching the data using aggregate function and BETWEEN clause.
$statusQ = "SELECT COUNT(total_submit_sub) AS noofsub
FROM total_noof_sub
WHERE sub_name = 'PHP'
AND sem = '8'
AND dept = 'CE'
AND laborlec = 'Lab'
AND faculty_name = 'user'
AND adate BETWEEN '2019/01/01' AND '2019/03/30'";
2
Answers
It will give no. of row, what we want.
Please Try this Code,
NULL Part is also Handle….
Thank You!!!!!!