Question: What is 2000, when 1996 is "A", when 1997 is "A", and when 2007 is "A"?
SQL: SELECT 2000 FROM table WHERE 1996 = a AND 1997 = a AND 2007 = a