I cannot quite get my had around previous examples, unfortunately.
I am trying to create a table based on the voting for baseballs MVP over the years and comparing it with a more objective measure WAR now available. I want to see the difference between the two top ranked players according to this value. Here is code to show just a couple of years of many
select season,division,player,rankMVP as MVP,WAR,rankWAR
from mlbmvpvoting
where (season = '1955' or season = '1956')
and rankWAR < 3
order by season,division,rankWAR
season division player MVP WAR rankWAR
1955 AL Mickey Mantle 5 9.5 1
1955 AL Al Kaline 2 9.0 2
1955 NL Willie Mays 4 9.3 1
1955 NL Duke Snider 2 8.9 2
1956 AL Mickey Mantle 1 12.9 1
1956 AL Early Wynn 13 8.5 2
1956 NL Duke Snider 10 7.7 1
1956 NL Hank Aaron 3 7.5 2
I want to produce something like this
season division pl_1 pl_2 MVP_1 MVP_2 WAR_1 WAR_2
1955 AL Mickey Mantle Al Kaline 5 2 9.5 9.0
1955 N Willy Mays Duke Snider 4 2 9.3 8.9
etc
TIA