Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE constructorstandings ( constructorstandingsid number, raceid number, constructorid number, points number, position number, positiontext text, wins number )
TABLE: CREATE TABLE qualifying ( qualifyid number, raceid number, driverid number, constructorid number, number number, position number, q1 text, q2 text, q3 text )
TABLE: CREATE TABLE driverstandings ( driverstandingsid number, raceid number, driverid number, points number, position number, positiontext text, wins number )
TABLE: CREATE TABLE results ( resultid number, raceid number, driverid number, constructorid number, number number, grid number, position number, positiontext text, positionorder number, points number, laps number, time text, milliseconds number, fastestlap number, rank number, fastestlaptime text, fastestlapspeed text, statusid number )
TABLE: CREATE TABLE constructorresults ( constructorresultsid number, raceid number, constructorid number, points number, status number )
TABLE: CREATE TABLE laptimes ( raceid number, driverid number, lap number, position number, time text, milliseconds number )
TABLE: CREATE TABLE seasons ( year number, url text )
TABLE: CREATE TABLE status ( statusid number, status text )
TABLE: CREATE TABLE constructors ( constructorid number, constructorref text, name text, nationality text, url text )
TABLE: CREATE TABLE pitstops ( raceid number, driverid number, stop number, lap number, time text, duration text, milliseconds number )
TABLE: CREATE TABLE circuits ( circuitid number, circuitref text, name text, location text, country text, lat number, lng number, alt number, url text )
TABLE: CREATE TABLE races ( raceid number, year number, round number, circuitid number, name text, date text, time text, url text )
TABLE: CREATE TABLE drivers ( driverid number, driverref text, number number, code text, forename text, surname text, dob text, nationality text, url text )

### Question ###
What are the unique names of races that held after 2000 and the circuits were in Spain?

### Accurate SQL ###

SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2000