Task: Text to Code
Input (English): Find the distinct names of wines produced before the year of 2000 or after the year of 2010.
Output (English): SELECT DISTINCT Name FROM WINE WHERE YEAR  <  2000 OR YEAR  >  2010