China has had primary schools for a subset of the population for over 1000 years. They had to start young to pass the all-important civil service exam.
I think they’re called “toddler toilets” in the USA - ones where you can collect the urine.
When I started first grade, there was an actual bathroom with an actual flush toilet (not a room with a toddler toilet) in the back of the classroom.