> EROEI
Modern PV typically has an EROEI of ~ 15-30, depending on tech, location, system lifetime, and accounting methodology.
From what I've read, coal might still beat that, but modern oil no longer does. Gas is generally also worse than PV in this regard.
Coal is however also very expensive, which is why e.g. the UK completely stopped using it for electricity.