Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Central Province Schools Started Data entry #56

Open
gprasangika opened this issue Jul 27, 2020 · 0 comments
Open

Central Province Schools Started Data entry #56

gprasangika opened this issue Jul 27, 2020 · 0 comments

Comments

@gprasangika
Copy link
Contributor

Name, Census No, Zone and Number of Students, of Central Province Schools which have started Data entry.

SELECT openemis.institutions.name as School_Name,openemis.institutions.code as Census_No , openemis.areas.name as Zone , FORMAT(COUNT(*),0) as NumberOfStudents
FROM
(SELECT count(openemis.institution_students.modified)
FROM openemis.institution_students
) institution_students inner join openemis.institutions inner join openemis.institution_students
on openemis.institution_students.institution_id = openemis.institutions.id
inner join openemis.areas on openemis.institutions.area_id = openemis.areas.id and openemis.areas.parent_id=3
WHERE openemis.institutions.institution_status_id = 1
GROUP BY openemis.institution_students.institution_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant