Not that it makes a huge difference, but I'd wager that, outside the USA, that's almost unheard of in the developed world .
I know that doesn't make a lick of difference to an American who is in that situation, but surely it's a reflection of American society and culture, not the concept of public schooling in general.
I went to a public school in Australia in a relatively wealthy area and saw multiple gang beatings. One guy beaten so badly that he was knocked out cold for over ten minutes with people jumping on his head.
I know for a fact it's worse in less wealthy areas.
Australian public schools don't have shootings but there is enough to fuck up kid's development. They always descend into honor culture violence. I'm speculating but I do wonder if it's significant part of the problem that poor Black communities in the US face. These young boys thrown into a pit in a status game where they have to prove themselves and become brutalized in the process.
One solution to that is private schools where the staff are accountable to paying customers who won't stand for this violence. Low tier bureaucrats who can't get fired in public schools just don't care or can't stop it.
There are exceptional public schools with no violence, often they're selective, but they're rare.
Raped or shot, probably. Knives tend to get more common in Europe too, at least in the very diverse urban centers.
Schools are the same. I don't think I've ever heard of someone being knifed in an Australian school. Even though theoretically anyone could do it. There's no security or anything, it just doesn't happen as often as in the US.
I've come to believe that there is something very wrong with our attitude towards violence, and yet it's not clear to me why we are different or how we got here, let alone what policy changes could address it.
At risk of oversharing and personalizing, we attend school in Brooklyn, at a school that prioritizes inclusion of non-native English speakers and kids on food assistance. A large percentage of our classroom's kids live in public housing. It's a safe room and building.
And, please don't kid yourself about private school buying your way out of the potential for traumatic experiences. Elite boarding schools don't have the best histories wrt sexual assault.
I'd wager that you're speaking from the privilege of living in a community where you don't have to worry about your kid being knived, shot or raped at school, otherwise you might have a different opinion. Not everybody has the income to support living in a safe community, and for those who don't, private schools are the only option to ensure their child experiences a reasonable level of safety.