The scale of the teacher recruitment and retention problems has been laid bare in evidence to a Commons inquiry