The USA is the team that has won the most medals of all time, with a total of 1022 medals.