Context: CREATE TABLE table_name_36 (Id VARCHAR)
Question: What is 2004, when 2007 is "A", and when 1997 is "A"?
Answer: SELECT 2004 FROM table_name_36 WHERE 2007 = "a" AND 1997 = "a"