human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Tournament, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, Career SR, Career Win-Loss
###Question: What was the career SR with a value of A in 1980 and F in 1997?
gpt
SELECT Career SR FROM table WHERE 1989 = a AND 1997 = f