user: ### NOW ANSWER:
Question: WhAt is 2004, when 2007 is "A", And when 1997 is "A"?
Columns: ['Tournament', '1993', '1994', '1995', '1996', '1997', '1998', '1999', '2000', '2001', '2002', '2003', '2004', '2005', '2006', '2007', 'Career WR', 'Career Win-Loss']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Australian Open', 'A', 'A', 'A', 'A', 'A', '1R', '1R', '2R', '1R', '2R', '1R', '1R', 'A', 'A', 'A', '0 / 7', '2-7']
SQL:

assistant: SELECT "2004" FROM "Table" WHERE "2007" = 'A' AND "1997" = 'A';