Open txoof opened 11 months ago
In lines 70-72 in the guardian inactive query, it appears that only HS is being counted.
This should also check MS (schoolid = 2)
WHERE yearid = (SELECT MAX(yearid) FROM terms WHERE schoolid = 3 AND MOD(id, 100) = 0) AND schoolid = 3 AND MOD(id, 100) = 0
In lines 70-72 in the guardian inactive query, it appears that only HS is being counted.
This should also check MS (schoolid = 2)