Context: CREATE TABLE table_name_80 (Id VARCHAR)
Question: What is the highest 2010 that has a 2009 less than 6.5, 0.4 as the 2008, with a 2007 less than 0.5?
Answer: SELECT MAX(2010) FROM table_name_80 WHERE 2009 < 6.5 AND 2008 = 0.4 AND 2007 < 0.5