It doesn't learn Earthquake through level up, but it can learn it through the use of the Earthquake TM.
Aggron can learn earthquake by using the TM on it.
Grotle is not able to learn the move Earthquake by leveling or by TMs. It's evolved form Torterra is able to learn Earthquake at level 32.
Level 54 :D
Sorry, Bastiodon doesn't naturally learn Earthquake. But, you can teach it TM 26, Earthquake.
Level 70
Yes, Tyranitar can learn Earthquake via leveling up or using a TM. Earthquake is a powerful Ground-type move that complements Tyranitar's Rock and Dark-type moves in battle.
Tyranitar learns Hyper Beam at level 73.
71
Venusaur can only learn Earthquake through TM26 Earthquake.
It doesn't learn Earthquake through level up, but it can learn it through the use of the Earthquake TM.
Metagross can only learn Earthquake with the use of a TM.
Aggron can learn earthquake by using the TM on it.
Camerupt learns Earthquake at level 49.
Grotle is not able to learn the move Earthquake by leveling or by TMs. It's evolved form Torterra is able to learn Earthquake at level 32.
Pupitar can learn Earthquake at level 50. Alternatively, it can also learn Earthquake through TM26 in some Pokémon games.
Rhyhorn will learn earthquake at level 52. However, if you evolved it at level 42 into Rhydorn you will have to wait 6 levels later than normal to learn earthquake.