Task: Text to Code
Input (English): SQL: SELECT DISTINCT country FROM circuits WHERE circuitRef BETWEEN 2017 AND 2014
Feedback: Exchange country of circuits table with name of races table , circuit Reference with year from races table .
Output (English): SELECT DISTINCT name FROM races WHERE YEAR BETWEEN 2014 AND 2017