I want the sum of number of seasons in top division for position in 2012-13 of 009 9th and number of seasons in premier league less than 3
SELECT SUM Number of seasons in top division FROM table WHERE Position in 2012–13 = 009 9th AND Number of seasons in the Premier League < 3