This trips up large companies all the time. They can’t hire SAP or AI or cloud or whatever is hot. The good ones train their own, but even then they can’t keep them when they’re paid 40% below market for the skill.
The irony is the same companies can pay 3x the comp for external consultants.