What are all the races?
select * from races
What are the names of those that were held after 2000?
select t1.name from races as t1 join circuits as t2 on t1.circuitid = t2.circuitid where t1.year > 2000
Among them, show the distinct name of those with their circuits in Spain.
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