Task: Text to Code
Input (English): Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.
Output (English): SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000