<Table> <Tr> <Td> Best win--loss record in division </Td> </Tr> </Table> <Tr> <Td> Best win--loss record in division </Td> </Tr> <Table> <Tr> <Th> Rank </Th> <Th> Team </Th> <Th> Won </Th> <Th> Lost </Th> <Th> Draw </Th> <Th> Pct . </Th> <Th> First MLB Season </Th> <Th> Total Games </Th> <Th> Division </Th> </Tr> <Tr> <Td> </Td> <Td> New York Yankees </Td> <Td> 10,258 </Td> <Td> 7,766 </Td> <Td> 88 </Td> <Td>. 569 </Td> <Td> 1903 </Td> <Td> 18,112 </Td> <Td> AL East </Td> </Tr> <Tr> <Td> </Td> <Td> San Francisco Giants </Td> <Td> 11,080 </Td> <Td> 9,580 </Td> <Td> 163 </Td> <Td>. 536 </Td> <Td> 1883 </Td> <Td> 20,823 </Td> <Td> NL West </Td> </Tr> <Tr> <Td> </Td> <Td> Los Angeles Dodgers </Td> <Td> 10,846 </Td> <Td> 9,752 </Td> <Td> 139 </Td> <Td>. 527 </Td> <Td> 1883 </Td> <Td> 20,737 </Td> <Td> NL West </Td> </Tr> <Tr> <Td> </Td> <Td> St. Louis Cardinals </Td> <Td> 10,812 </Td> <Td> 9,976 </Td> <Td> 151 </Td> <Td>. 520 </Td> <Td> 1882 </Td> <Td> 20,939 </Td> <Td> NL Central </Td> </Tr> <Tr> <Td> 5 </Td> <Td> Boston Red Sox </Td> <Td> 9,500 </Td> <Td> 8,818 </Td> <Td> 83 </Td> <Td>. 519 </Td> <Td> 1901 </Td> <Td> 18,401 </Td> <Td> AL East </Td> </Tr> <Tr> <Td> 6 </Td> <Td> Chicago Cubs </Td> <Td> 10,879 </Td> <Td> 10,311 </Td> <Td> 161 </Td> <Td>. 513 </Td> <Td> 1876 </Td> <Td> 21,351 </Td> <Td> NL Central </Td> </Tr> <Tr> <Td> 7 </Td> <Td> Cleveland Indians </Td> <Td> 9,367 </Td> <Td> 8,953 </Td> <Td> 91 </Td> <Td>. 511 </Td> <Td> 1901 </Td> <Td> 18,411 </Td> <Td> AL Central </Td> </Tr> <Tr> <Td> 8 </Td> <Td> Detroit Tigers </Td> <Td> 9,288 </Td> <Td> 9,057 </Td> <Td> 93 </Td> <Td>. 506 </Td> <Td> 1901 </Td> <Td> 18,438 </Td> <Td> AL Central </Td> </Tr> <Tr> <Td> 9 </Td> <Td> Cincinnati Reds </Td> <Td> 10,513 </Td> <Td> 10,286 </Td> <Td> 139 </Td> <Td>. 505 </Td> <Td> 1882 </Td> <Td> 20,938 </Td> <Td> NL Central </Td> </Tr> <Tr> <Td> 10 </Td> <Td> Pittsburgh Pirates </Td> <Td> 10,458 </Td> <Td> 10,300 </Td> <Td> 140 </Td> <Td>. 504 </Td> <Td> 1882 </Td> <Td> 20,898 </Td> <Td> NL Central </Td> </Tr> <Tr> <Td> 11 </Td> <Td> Chicago White Sox </Td> <Td> 9,200 </Td> <Td> 9,105 </Td> <Td> 103 </Td> <Td>. 503 </Td> <Td> 1901 </Td> <Td> 18,408 </Td> <Td> AL Central </Td> </Tr> <Tr> <Td> 12 </Td> <Td> Los Angeles Angels of Anaheim </Td> <Td> 4,620 </Td> <Td> 4,615 </Td> <Td> </Td> <Td>. 500 </Td> <Td> 1961 </Td> <Td> 9,238 </Td> <Td> AL West </Td> </Tr> <Tr> <Td> 13 </Td> <Td> Atlanta Braves </Td> <Td> 10,583 </Td> <Td> 10,579 </Td> <Td> 154 </Td> <Td>. 500 </Td> <Td> 1876 </Td> <Td> 21,316 </Td> <Td> NL East </Td> </Tr> <Tr> <Td> 14 </Td> <Td> Toronto Blue Jays </Td> <Td> 3,303 </Td> <Td> 3,344 </Td> <Td> </Td> <Td>. 497 </Td> <Td> 1977 </Td> <Td> 6,650 </Td> <Td> AL East </Td> </Tr> <Tr> <Td> 15 </Td> <Td> Arizona Diamondbacks </Td> <Td> 1,668 </Td> <Td> 1,702 </Td> <Td> 0 </Td> <Td>. 495 </Td> <Td> 1998 </Td> <Td> 3,370 </Td> <Td> NL West </Td> </Tr> <Tr> <Td> 16 </Td> <Td> Houston Astros </Td> <Td> 4,471 </Td> <Td> 4,602 </Td> <Td> 5 </Td> <Td>. 493 </Td> <Td> 1962 </Td> <Td> 9,078 </Td> <Td> AL West </Td> </Tr> <Tr> <Td> 17 </Td> <Td> Washington Nationals </Td> <Td> 3,867 </Td> <Td> 4,066 </Td> <Td> </Td> <Td>. 487 </Td> <Td> 1969 </Td> <Td> 7,937 </Td> <Td> NL East </Td> </Tr> <Tr> <Td> 18 </Td> <Td> Oakland Athletics </Td> <Td> 8,913 </Td> <Td> 9,374 </Td> <Td> 87 </Td> <Td>. 487 </Td> <Td> 1901 </Td> <Td> 18,374 </Td> <Td> AL West </Td> </Tr> <Tr> <Td> 19 </Td> <Td> Kansas City Royals </Td> <Td> 3,824 </Td> <Td> 4,106 </Td> <Td> </Td> <Td>. 482 </Td> <Td> 1969 </Td> <Td> 7,932 </Td> <Td> AL Central </Td> </Tr> <Tr> <Td> 20 </Td> <Td> Minnesota Twins </Td> <Td> 8,785 </Td> <Td> 9,527 </Td> <Td> 109 </Td> <Td>. 480 </Td> <Td> 1901 </Td> <Td> 18,421 </Td> <Td> AL Central </Td> </Tr> <Tr> <Td> 21 </Td> <Td> New York Mets </Td> <Td> 4,343 </Td> <Td> 4,719 </Td> <Td> 8 </Td> <Td>. 479 </Td> <Td> 1962 </Td> <Td> 9,070 </Td> <Td> NL East </Td> </Tr> <Tr> <Td> 22 </Td> <Td> Texas Rangers </Td> <Td> 4,413 </Td> <Td> 4,807 </Td> <Td> 6 </Td> <Td>. 479 </Td> <Td> 1961 </Td> <Td> 9,226 </Td> <Td> AL West </Td> </Tr> <Tr> <Td> 23 </Td> <Td> Milwaukee Brewers </Td> <Td> 3,801 </Td> <Td> 4,136 </Td> <Td> </Td> <Td>. 479 </Td> <Td> 1969 </Td> <Td> 7,941 </Td> <Td> NL Central </Td> </Tr> <Tr> <Td> 24 </Td> <Td> Baltimore Orioles </Td> <Td> 8,704 </Td> <Td> 9,599 </Td> <Td> 110 </Td> <Td>. 476 </Td> <Td> 1901 </Td> <Td> 18,303 </Td> <Td> AL East </Td> </Tr> <Tr> <Td> 25 </Td> <Td> Philadelphia Phillies </Td> <Td> 9,734 </Td> <Td> 10,897 </Td> <Td> 115 </Td> <Td>. 472 </Td> <Td> 1883 </Td> <Td> 20,746 </Td> <Td> NL East </Td> </Tr> <Tr> <Td> 26 </Td> <Td> Seattle Mariners </Td> <Td> 3,136 </Td> <Td> 3,512 </Td> <Td> </Td> <Td>. 472 </Td> <Td> 1977 </Td> <Td> 6,650 </Td> <Td> AL West </Td> </Tr> <Tr> <Td> 27 </Td> <Td> Miami Marlins </Td> <Td> 1,923 </Td> <Td> 2,190 </Td> <Td> 0 </Td> <Td>. 468 </Td> <Td> 1993 </Td> <Td> 4,113 </Td> <Td> NL East </Td> </Tr> <Tr> <Td> 28 </Td> <Td> Colorado Rockies </Td> <Td> 1,942 </Td> <Td> 2,176 </Td> <Td> 0 </Td> <Td>. 472 </Td> <Td> 1993 </Td> <Td> 4,118 </Td> <Td> NL West </Td> </Tr> <Tr> <Td> 29 </Td> <Td> Tampa Bay Rays </Td> <Td> 1,570 </Td> <Td> 1,799 </Td> <Td> 0 </Td> <Td>. 466 </Td> <Td> 1998 </Td> <Td> 3,369 </Td> <Td> AL East </Td> </Tr> <Tr> <Td> 30 </Td> <Td> San Diego Padres </Td> <Td> 3,661 </Td> <Td> 4,284 </Td> <Td> </Td> <Td>. 461 </Td> <Td> 1969 </Td> <Td> 7,947 </Td> <Td> NL West </Td> </Tr> </Table> <Tr> <Th> Rank </Th> <Th> Team </Th> <Th> Won </Th> <Th> Lost </Th> <Th> Draw </Th> <Th> Pct . </Th> <Th> First MLB Season </Th> <Th> Total Games </Th> <Th> Division </Th> </Tr>

Mlb team with the most wins all time
find me the text answering this question