The majority of people granted greencards are family/relative sponsored who apply outside the US. Only in the past 15 years have employee sponsored greencards surged, most of whom have temporary visas.