Comparing compensation of cashiers and police officers is unfair in my opinion. Police officers risk dying in line of duty. Would you play Russian Roulette for say $100k? I wouldn't.
It is still riskier job than a cashier or software developer. OP's comment about police compensation is irrelevant, IMO.
Talking about risk, would you play a Russian roulette for $100? If you win, you will make $100 in less than a minute, far better hourly pay-rate than a police officer or a pilot.
Farm work is more dangerous than being a cop, and the federal government lets children younger than twelve work on a farm unless a state sets its own rules. Age, hour, overtime and minimum wage provisions of the federal Fair Labor Standards Act that protect young workers in other fields don't apply. Seventeen states have exempted farm work from most or all their child labor laws: Alabama, Delaware, Georgia, Kansas, Kentucky, Louisiana, Maryland, Mississippi, Montana, Nebraska, North Carolina, Oklahoma, Rhode Island, Tennessee, Texas, West Virginia and Wyoming.
They're not really comparing compensation outside of the context of surveillance. They're saying that $10/hr cashiers are more heavily watched than police officers. It seems to me that we should maybe have more oversight over individuals whom we decide to present with lethal weapons as tools?
Kinda makes one feel like money is treated as more important than human life, when you look at it from that perspective.