CREATE TABLE lapTimes (raceId INT, driverId INT, lap INT, position INT, time TEXT, milliseconds INT)
CREATE TABLE constructorResults (constructorResultsId INT, raceId INT, constructorId INT, points FLOAT, status TEXT)
CREATE TABLE qualifying (qualifyId INT, raceId INT, driverId INT, constructorId INT, number INT, position INT, q1 TEXT, q2 TEXT, q3 TEXT)
CREATE TABLE results (resultId INT, raceId INT, driverId INT, constructorId INT, number INT, grid INT, position TEXT, positionText TEXT, positionOrder INT, points FLOAT, laps TEXT, time TEXT, milliseconds TEXT, fastestLap TEXT, rank TEXT, fastestLapTime TEXT, fastestLapSpeed TEXT, statusId INT)
CREATE TABLE pitStops (raceId INT, driverId INT, stop INT, lap INT, time TEXT, duration TEXT, milliseconds INT)
CREATE TABLE driverStandings (driverStandingsId INT, raceId INT, driverId INT, points FLOAT, position INT, positionText TEXT, wins INT)
CREATE TABLE races (raceId INT, year INT, round INT, circuitId INT, name TEXT, date TEXT, time TEXT, url TEXT)
CREATE TABLE status (statusId INT, status TEXT)
CREATE TABLE circuits (circuitId INT, circuitRef TEXT, name TEXT, location TEXT, country TEXT, lat FLOAT, lng FLOAT, alt TEXT, url TEXT)
CREATE TABLE drivers (driverId INT, driverRef TEXT, number TEXT, code TEXT, forename TEXT, surname TEXT, dob TEXT, nationality TEXT, url TEXT)
CREATE TABLE seasons (year INT, url TEXT)
CREATE TABLE constructorStandings (constructorStandingsId INT, raceId INT, constructorId INT, points FLOAT, position INT, positionText TEXT, wins INT)
CREATE TABLE constructors (constructorId INT, constructorRef TEXT, name TEXT, nationality TEXT, url TEXT)

A bar chart for what are the number of the names of races held between 2009 and 2011?
SELECT name, COUNT(name) FROM races WHERE year BETWEEN 2009 AND 2011 GROUP BY name
SELECT "name", COUNT("name") FROM "races" WHERE "year" <= 2011 AND "year" >= 2009 GROUP BY "name"