Joe Torre probably has the edge in MLB over anybody else*. Leo Duroucher, Stengel, Bruce Bochy are amongst the several 'decent' players, very good managers. Of course then there are guys like Ty Cobb, Nap Lajoie, Ted Williams, etc. who were inner circle all-time greats, but average to mediocre managers. Most didn't manage that long. Lots of guys like Dusty Baker, Frank Robinson, Harvey Kuenn, who played very good to great careers, and admirable tenures as managers. The rest of the elite managers, were basically minor league scrubs, who might've gotten cups of coffee in the Show (W. Alston, Connie Mack, Sparky, LaRussa, Lasorda)
* Would need to probably separate players from managers, versus the player/manager, otherwise you'd have to consider 19th Century/early 20th Century guys like: Cap Anson, John McGraw Frank Chance, and a few others.