human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Rank (2012), IATA Code, Major City Served, State, 2012, 2011, 2010, 2009, 2008, 2007, 2006, 2005
###Question: When Philadelphia has a 2007 less than 20,796,173 and a 2008 more than 10,215,225, what is the smallest 2009?
gpt
SELECT MIN 2009 FROM table WHERE 2008 > 10,215,225 AND 2007 < 20,796,173 AND Major City Served = philadelphia