Task: Text to Code
Input (English): find without repetition the Year of party table for which Comptroller equals Eliot Spitzer
Output (English): SELECT DISTINCT Year FROM party WHERE Comptroller = "Eliot Spitzer"