3
I have 3 tables, being them:
- Schoolhouse:
id,id_escolaandnome_escola; - Professor:
id,id_escolaandnome_professor; - Students:
id,id_escola,sala_aulaandnumero_alunos;
I am aware of the joins, count's, and sum'but I’m not getting to ride the SQL.
I need to return a line from a specific school with the name of the school, number of students, number of classrooms and number of teachers.
How to mount this query ?