The others are used to get solids like coal or diamonds.
That's correct. Tar sands extraction is a method used specifically to obtain oil from tar sands, while surface mining, underground mining, and coal mining are used to extract solids like coal, diamonds, and other minerals.