how many elections did william mckinley win?
2
col : # | president | president's party | senate with | senate opposed | house with | house opposed | years served | elections won row 1 : 1 | george washington | federalist-leaning | 8 | 0 | 6 | 2 | 8 | 2 row 2 : 2 | john adams | federalist | 4 | 0 | 4 | 0 | 4 | 1 row 3 : 3 | thomas jefferson | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 4 : 4 | james madison | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 5 : 5 | james monroe | democratic-republican | 8 | 0 | 8 | 0 | 8 | 2 row 6 : 6 | john quincy adams | national republican | 2 | 2 | 2 | 2 | 4 | 1 row 7 : 7 | andrew jackson | democratic | 8 | 0 | 8 | 0 | 8 | 2 row 8 : 8 | martin van buren | democratic | 4 | 0 | 4 | 0 | 4 | 1 row 9 : 9 | william harrison | whig | 0.1 | 0 | 0.1 | 0 | 0.1 | 1 row 10 : 10 | john tyler | whig/none | 4 | 0 | 2 | 2 | 4 | 0 row 11 : 11 | james polk | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 12 : 12 | zachary taylor | whig | 0 | 1 | 0 | 1 | 1 | 1 row 13 : 13 | millard fillmore | whig | 0 | 3 | 0 | 3 | 3 | 0 row 14 : 14 | franklin pierce | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 15 : 15 | james buchanan | democratic | 4 | 0 | 2 | 2 | 4 | 1 row 16 : 16 | abraham lincoln | republican | 4 | 0 | 4 | 0 | 4 | 2 row 17 : 17 | andrew johnson | democratic | 0 | 4 | 0 | 4 | 4 | 0 row 18 : 18 | ulysses grant | republican | 8 | 0 | 6 | 2 | 8 | 2 row 19 : 19 | rutherford hayes | republican | 2 | 2 | 0 | 4 | 4 | 1 row 20 : 20 | james garfield | republican | 0 | 0.5 | 0.5 | 0 | 0.5 | 1 row 21 : 21 | chester arthur | republican | 4 | 0 | 2 | 2 | 4 | 0 row 22 : 22 | grover cleveland | democratic | 0 | 4 | 4 | 0 | 4 | 1 row 23 : 23 | benjamin harrison | republican | 4 | 0 | 2 | 2 | 4 | 1 row 24 : 24 | grover cleveland | democratic | 2 | 2 | 2 | 2 | 4 | 1 row 25 : 25 | william mckinley | republican | 4 | 0 | 4 | 0 | 4 | 2 row 26 : 26 | theodore roosevelt | republican | 8 | 0 | 8 | 0 | 8 | 1 row 27 : 27 | william taft | republican | 4 | 0 | 2 | 2 | 4 | 1 row 28 : 28 | woodrow wilson | democratic | 6 | 2 | 6 | 2 | 8 | 2 row 29 : 29 | warren harding | republican | 2 | 0 | 2 | 0 | 2 | 1 row 30 : 30 | calvin coolidge | republican | 6 | 0 | 6 | 0 | 6 | 1 row 31 : 31 | herbert hoover | republican | 4 | 0 | 2 | 2 | 4 | 1 row 32 : 32 | franklin roosevelt | democratic | 12 | 0 | 12 | 0 | 12 | 4 row 33 : 33 | harry truman | democratic | 6 | 2 | 6 | 2 | 8 | 1 row 34 : 34 | dwight eisenhower | republican | 2 | 6 | 2 | 6 | 8 | 2 row 35 : 35 | john kennedy | democratic | 3 | 0 | 3 | 0 | 3 | 1 row 36 : 36 | lyndon johnson | democratic | 5 | 0 | 5 | 0 | 5 | 1 row 37 : 37 | richard nixon | republican | 0 | 6 | 0 | 6 | 6 | 2 row 38 : 38 | gerald ford | republican | 0 | 2 | 0 | 2 | 2 | 0
how many elections did william mckinley win?
# President President's Party Senate with Senate opposed House with House opposed Years served Elections won
1 George Washington Federalist-leaning 8 0 6 2 8 2
2 John Adams Federalist 4 0 4 0 4 1
3 Thomas Jefferson Democratic-Republican 8 0 8 0 8 2
4 James Madison Democratic-Republican 8 0 8 0 8 2
5 James Monroe Democratic-Republican 8 0 8 0 8 2
6 John Quincy Adams National Republican 2 2 2 2 4 1
7 Andrew Jackson Democratic 8 0 8 0 8 2
8 Martin Van Buren Democratic 4 0 4 0 4 1
9 William Harrison Whig 0.1 0 0.1 0 0.1 1
10 John Tyler Whig/none 4 0 2 2 4 0
11 James Polk Democratic 4 0 2 2 4 1
12 Zachary Taylor Whig 0 1 0 1 1 1
13 Millard Fillmore Whig 0 3 0 3 3 0
14 Franklin Pierce Democratic 4 0 2 2 4 1
15 James Buchanan Democratic 4 0 2 2 4 1
16 Abraham Lincoln Republican 4 0 4 0 4 2
17 Andrew Johnson Democratic 0 4 0 4 4 0
18 Ulysses Grant Republican 8 0 6 2 8 2
19 Rutherford Hayes Republican 2 2 0 4 4 1
20 James Garfield Republican 0 0.5 0.5 0 0.5 1
21 Chester Arthur Republican 4 0 2 2 4 0
22 Grover Cleveland Democratic 0 4 4 0 4 1
23 Benjamin Harrison Republican 4 0 2 2 4 1
24 Grover Cleveland Democratic 2 2 2 2 4 1
25 William McKinley Republican 4 0 4 0 4 2
26 Theodore Roosevelt Republican 8 0 8 0 8 1
27 William Taft Republican 4 0 2 2 4 1
28 Woodrow Wilson Democratic 6 2 6 2 8 2
29 Warren Harding Republican 2 0 2 0 2 1
30 Calvin Coolidge Republican 6 0 6 0 6 1
31 Herbert Hoover Republican 4 0 2 2 4 1
32 Franklin Roosevelt Democratic 12 0 12 0 12 4
33 Harry Truman Democratic 6 2 6 2 8 1
34 Dwight Eisenhower Republican 2 6 2 6 8 2
35 John Kennedy Democratic 3 0 3 0 3 1
36 Lyndon Johnson Democratic 5 0 5 0 5 1
37 Richard Nixon Republican 0 6 0 6 6 2
38 Gerald Ford Republican 0 2 0 2 2 0
39 Jimmy Carter Democratic 4 0 4 0 4 1
40 Ronald Reagan Republican 6 2 0 8 8 2
41 George H. W. Bush Republican 0 4 0 4 4 1
42 Bill Clinton Democratic 2 6 2 6 8 2
43 George W. Bush Republican 4.5 3.5 6 2 8 2
44 Barack Obama Democratic 6 0 2 4 6 2
# President President's Party Senate with Senate opposed House with House opposed Years served Elections won
2