While being a supply teacher I've worked in a diverse range of schools.
The schools with the best behaviour have:
Supportive parents
A simple and quick discipline system
Supportive senior management and a staff support system.
The worst school I was in was about 7 years ago and had none of those features above. The school had a zero coats in the building policy, not even in coridors. My line manage came to me with a complaint that I had followed the school policy and asked a pupil to remover her coat at the start of the lesson when it was cold. It should have been a non-issue. I pointed out that I had worked on my own in the room for an hour prior to that and was following the policy.
The incident reporting system was appalling. Pupil misbehaves, break detention set, pupil does not attend, incident form completed, detention reset, pupil does not attend, refer to head of department, moe paperwork, more second chances. It took weeks to resolve something that was relatively minor so noone knew what it was about by the end, and the lunch detention with snr management was less bother to go to than the after school with head of department.
Support was all in department only and I had an awful KS3 only timetable that frequently had difficult classes at times when there was no support, and the pupils knew it. I'd had to send some out into the coridor one afternoon, and a deputy head came by and sent them back in with out saying anything. She should have read them the riot act first. When the bell went at the end of the day, I sat under my desk and sobbed, because I had been totally undermined.
Pupil behaviour is a tough cocktail of local culture, school policy and support and home life. That school should have been much better.
Oh and when OFSTED identified low level disruption as a concern, the head told us off for not planning lessons properly, as if that was the complete solution!