The riddle
Why Are Fish So Smart?
AnswerThey live in schools
One spelling, two schools
A school is a place where people learn, and a school is also a group of fish swimming together. The two are different words that happen to share a spelling, so the riddle can say fish are smart because they go to school, in the only sense a fish could.
Dean Rivers printed a close relative in 1903, asking why fish are well educated. The answer there says they have a taste for going in schools. Today's wording asks about smart fish and gives a shorter answer.