the query for school's net