Complex sentence: A student in the school Cora teaches at, who often ends up in detention.
Split into simpler sentences: A student in the school where Cora teaches. He often ends up in detention.