How much history you learnt at school, as with everything other subject, depends on how much you enjoyed and were interested in the subject.
Learning, even at school age, is not just what teachers teach us in school hours, it is how that leads out into our life outside school.
I loved history from day one, so as well as absorbing it at school, it influenced my choice of out-of-school reading. I loved reading historical novels. (then, not now) I noticed history around me - that the local library was in the Manor House that was once owned by a major banking family, there was a major historic site 2 or 3 miles away, which I would wander off and visit, almost weekly in school holidays (entry was free then). I reached a stage of chatting to the curators.
As a result I left school with abiding interest and very wide knowledge of history. I cannot say the same of my knowledge of maths or physics, or French, where a friend who loved the language was trying to read French literature in the original at 15, where I scrambled through O level, and then left the subject.