Task: Text to Code
Input (English): In which distinct years was the governor "Eliot Spitzer"?
Output (English): SELECT DISTINCT YEAR FROM party WHERE Governor  =  "Eliot Spitzer"