Provided you're careful with some of the notorious subtleties in this field, this paper is quite an interesting read: www.pnas.org/content/111/42/15273.full
"We found that, although intelligence accounts for more of the heritability of educational achievement at age 16 than any of the other domains, the other domains collectively accounted for about as much GCSE heritability as intelligence.
...
These genetic results turn some fundamental assumptions about education upside down. For example, one of the reasons that the contribution of intelligence is sometimes considered controversial when discussing educational outcomes is that intelligence is viewed as genetic, whereas achievement is thought to be due to environmentally driven influences from home and school. In addition, other behavioral traits such as self-efficacy are presumed to contribute to educational achievement for environmental reasons. However, our results suggest the opposite: Genetic influence is greater for achievement than for intelligence, and other behavioral traits are related to educational achievement largely for genetic reasons"