-- Database schema
| race : Race_ID [ INT ] primary_key , Name [ TEXT ] , Class [ TEXT ] , Date [ TEXT ] , Track_ID [ TEXT ] race.Track_ID = track.Track_ID | track : Track_ID [ INT ] primary_key , Name [ TEXT ] , Location [ TEXT ] , Seating [ INT ] , Year_Opened [ INT ] |
-- -- Show year where a track with a seating at least 5000 opened and a track with seating no more than 4000 opened.

SELECT year_opened FROM track WHERE seating BETWEEN 4000 AND 5000;