"Skilled in the field, skilled as teacher" => Extremely rare. Feel blessed and learn as much as you can.
"Skilled in the field, unskilled as teacher" => Teacher will usually pick out one or a handful of "promising" students, care about teaching them, the rest will be left behind.
"Unskilled in the field, skilled as teacher" => The teacher will ensure that everyone has a good grasp on the basics. You'll get solid base education, but don't expect very advanced concepts
"Unskilled in the field, unskilled as teacher" => You might as well skip class. You will learn nothing in the best case, and …