db_id
stringclasses
11 values
instruction
stringlengths
1.63k
14k
role
stringclasses
45 values
policy
unknown
input
stringlengths
23
477
output
stringlengths
23
2.22k
difficulty
stringclasses
3 values
metadata
dict
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
Among all the lap records set on various circuits, what is the time for the fastest one?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT lt.time AS fastest_lap_time\nFROM lapTimes lt\nJOIN races r ON lt.raceId = r.raceId\nJOIN circuits c ON r.circuitId = c.circuitId\nORDER BY lt.milliseconds ASC, \n lt.raceId ASC, \n lt.driverId ASC, \n lt.lap ASC\nLIMIT 1", "permission": "denied", "query_columns": { ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What was the longest time that Lewis Hamilton had spent at a pit stop?
SELECT T1.duration FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton' ORDER BY T1.duration DESC LIMIT 1
simple
{ "gold_sql": "SELECT T1.duration FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton' ORDER BY T1.duration DESC LIMIT 1", "permission": "allowed", "query_columns": { "pitstops": [ "driverId", "duration" ], "drive...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
During which lap did Lewis Hamilton take a pit stop during the 2011 Australian Grand Prix?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.lap FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 on T1.raceId = T3.raceId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton' AND T3.year = 2011 AND T3.name = 'Australian Grand Prix'", "permission": "denied", "query_columns": { "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
Please list the time each driver spent at the pit stop during the 2011 Australian Grand Prix.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T3.forename,T3.surname,T1.Duration FROM pitStops AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN drivers as T3 on T1.driverId=T3.driverId WHERE T2.year = 2011 AND T2.name = 'Australian Grand Prix'", "permission": "denied", "query_columns": { "pitstops": [ "Duration...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What is the lap record set by Lewis Hamilton in a Formula_1 race?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.time\nFROM lapTimes AS T1\nINNER JOIN drivers AS T2 ON T1.driverId = T2.driverId\nWHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton'\nORDER BY T1.milliseconds ASC\nLIMIT 1;", "permission": "denied", "query_columns": { "laptimes": [ "driverId", "milliseconds", "t...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
Which top 20 driver created the shortest lap time ever record in a Formula_1 race? Please give them full names.
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH lap_times_in_seconds AS (SELECT driverId, (CASE WHEN SUBSTR(time, 1, INSTR(time, ':') - 1) <> '' THEN CAST(SUBSTR(time, 1, INSTR(time, ':') - 1) AS REAL) * 60 ELSE 0 END + CASE WHEN SUBSTR(time, INSTR(time, ':') + 1, INSTR(time, '.') - INSTR(time, ':') - 1) <> '' THEN CAST(SUBSTR(time, INSTR(time,...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What was the position of the circuits during Lewis Hamilton's fastest lap in a Formula_1 race?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.position\nFROM lapTimes AS T1\nINNER JOIN drivers AS T2 ON T1.driverId = T2.driverId\nWHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton'\nORDER BY T1.time ASC\nLIMIT 1;", "permission": "denied", "query_columns": { "laptimes": [ "driverId", "position", "time" ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What is the lap record for the Austrian Grand Prix Circuit?
Sorry, I cannot answer.
simple
{ "gold_sql": "WITH fastest_lap_times AS ( SELECT T1.raceId, T1.fastestLapTime FROM results AS T1 WHERE T1.FastestLapTime IS NOT NULL) SELECT MIN(fastest_lap_times.fastestLapTime) as lap_record FROM fastest_lap_times INNER JOIN races AS T2 on fastest_lap_times.raceId = T2.raceId INNER JOIN circuits AS T3 on T2.circui...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
Please list the lap records for the circuits in Italy.
WITH per AS ( SELECT c.name AS circuit_name, res.fastestLapTime, (CAST(SUBSTR(res.fastestLapTime, 1, INSTR(res.fastestLapTime, ':') - 1) AS REAL) * 60) + CAST(SUBSTR(res.fastestLapTime, INSTR(res.fastestLapTime, ':') + 1, INSTR(res.fastestLapTime, '.') - INSTR(res.fa...
challenging
{ "gold_sql": "WITH per AS (\n SELECT c.name AS circuit_name,\n res.fastestLapTime,\n (CAST(SUBSTR(res.fastestLapTime, 1, INSTR(res.fastestLapTime, ':') - 1) AS REAL) * 60)\n + CAST(SUBSTR(res.fastestLapTime, INSTR(res.fastestLapTime, ':') + 1,\n INSTR(res.fastestLapTim...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
In which Formula_1 race was the lap record for the Austrian Grand Prix Circuit set?
Sorry, I cannot answer.
moderate
{ "gold_sql": "WITH fastest_lap_times AS ( SELECT T1.raceId, T1.FastestLapTime, (CAST(SUBSTR(T1.FastestLapTime, 1, INSTR(T1.FastestLapTime, ':') - 1) AS REAL) * 60) + (CAST(SUBSTR(T1.FastestLapTime, INSTR(T1.FastestLapTime, ':') + 1, INSTR(T1.FastestLapTime, '.') - INSTR(T1.FastestLapTime, ':') - 1) AS REAL)) + (CAST...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
In the race a driver set the lap record for the Austrian Grand Prix Circuit, how long did he spent at the pit stop at that same race?
Sorry, I cannot answer.
challenging
{ "gold_sql": "WITH fastest_lap_times AS ( SELECT T1.raceId, T1.driverId, T1.FastestLapTime, (CAST(SUBSTR(T1.FastestLapTime, 1, INSTR(T1.FastestLapTime, ':') - 1) AS REAL) * 60) + (CAST(SUBSTR(T1.FastestLapTime, INSTR(T1.FastestLapTime, ':') + 1, INSTR(T1.FastestLapTime, '.') - INSTR(T1.FastestLapTime, ':') - 1) AS R...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
Please list the location coordinates of the circuits whose lap record is 1:29.488.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.lat, T3.lng FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN circuits AS T3 on T2.circuitId = T3.circuitId WHERE T1.time = '1:29.488'", "permission": "denied", "query_columns": { "laptimes": [ "raceId", "time" ], "races": [ "circ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What was the average time in milliseconds Lewis Hamilton spent at a pit stop during Formula_1 races?
SELECT AVG(milliseconds) FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton'
simple
{ "gold_sql": "SELECT AVG(milliseconds) FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton'", "permission": "allowed", "query_columns": { "pitstops": [ "driverId", "milliseconds" ], "drivers": [ "driverId",...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_2
{ "circuits": [ "*" ], "constructorResults": [ "points", "status" ], "constructorStandings": [ "constructorId", "constructorStandingsId", "points", "position", "wins" ], "constructors": [ "*" ], "drivers": [ "*" ], "lapTimes": [ "lap", "milliseconds"...
What is the average lap time in milliseconds of all the lap records set on the various circuits in Italy?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT AVG(T1.milliseconds) \nFROM lapTimes AS T1 \nINNER JOIN races AS T2 ON T1.raceId = T2.raceId \nINNER JOIN circuits AS T3 ON T2.circuitId = T3.circuitId \nWHERE T3.country = 'Italy'", "permission": "denied", "query_columns": { "laptimes": [ "milliseconds", "raceId" ], ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the reference names of the drivers who are eliminated in the first period in race number 20.
SELECT T2.driverRef FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 20 ORDER BY T1.q1 DESC LIMIT 5
moderate
{ "gold_sql": "SELECT T2.driverRef FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 20 ORDER BY T1.q1 DESC LIMIT 5", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "driverRef" ], "qualifying": [ "driverId", "q1"...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the surname of the driver with the best lap time in race number 19 in the second qualifying period?
SELECT T2.surname FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 19 ORDER BY T1.q2 ASC LIMIT 1;
simple
{ "gold_sql": "SELECT T2.surname\nFROM qualifying AS T1\nINNER JOIN drivers AS T2 ON T2.driverId = T1.driverId\nWHERE T1.raceId = 19\nORDER BY T1.q2 ASC\nLIMIT 1;", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "surname" ], "qualifying": [ "driverId", "q2...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the year during which the race is held on circuits in Shanghai.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.year FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.location = 'Shanghai'", "permission": "denied", "query_columns": { "races": [ "circuitID", "year" ], "circuits": [ "circuitId", "location" ] }, "missing_colu...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Where can the introduction of the races held on Circuit de Barcelona-Catalunya be found?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.url FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Circuit de Barcelona-Catalunya'", "permission": "denied", "query_columns": { "races": [ "circuitID" ], "circuits": [ "circuitId", "name", "url" ]...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please give the name of the race held on the circuits in Germany.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'Germany'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name" ], "circuits": [ "circuitId", "country" ] }, "missin...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What positions did constructor Renault achieve in the standings?
SELECT DISTINCT T1.position FROM constructorStandings AS T1 INNER JOIN constructors AS T2 ON T2.constructorId = T1.constructorId WHERE T2.name = 'Renault'
simple
{ "gold_sql": "SELECT DISTINCT T1.position FROM constructorStandings AS T1 INNER JOIN constructors AS T2 ON T2.constructorId = T1.constructorId WHERE T2.name = 'Renault'", "permission": "allowed", "query_columns": { "constructorstandings": [ "constructorId", "position" ], "constructors": [...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many races in the year 2010 are held on grand prixs outside Asia and Europe?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T3.raceId) FROM circuits AS T1 INNER JOIN races AS T3 ON T3.circuitID = T1.circuitId WHERE T1.country NOT IN ( 'Bahrain', 'China', 'Singapore', 'Japan', 'Korea', 'Turkey', 'UAE', 'Malaysia', 'Spain', 'Monaco', 'Azerbaijan', 'Austria', 'Belgium', 'France', 'Germany', 'Hungary', 'Italy', 'UK...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please give the names of the races held on the circuits in Spain.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'Spain'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name" ], "circuits": [ "circuitId", "country" ] }, "missing_...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the coordinates location of the circuits for Australian grand prix?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.lat, T1.lng FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.name = 'Australian Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name" ], "circuits": [ "circuitId", "lat", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Where can I find the information about the races held on Sepang International Circuit?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.url FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Sepang International Circuit'", "permission": "denied", "query_columns": { "races": [ "circuitID" ], "circuits": [ "circuitId", "name", "url" ] ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the time of the races held on Sepang International Circuit.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.`time` FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Sepang International Circuit'", "permission": "denied", "query_columns": { "races": [ "circuitID", "time" ], "circuits": [ "circuitId", "name" ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Give the coordinate position for Abu Dhabi Grand Prix.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.lat, T1.lng FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.name = 'Abu Dhabi Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name" ], "circuits": [ "circuitId", "lat", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which country is the constructor which got 1 point in the race No. 24 from?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.nationality FROM constructorResults AS T1 INNER JOIN constructors AS T2 ON T2.constructorId = T1.constructorId WHERE T1.raceId = 24 AND T1.points = 1", "permission": "denied", "query_columns": { "constructorresults": [ "constructorId", "points", "raceId" ], "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's Bruno Senna's Q1 result in the qualifying race No. 354?
SELECT T1.q1 FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 354 AND T2.forename = 'Bruno' AND T2.surname = 'Senna'
simple
{ "gold_sql": "SELECT T1.q1 FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 354 AND T2.forename = 'Bruno' AND T2.surname = 'Senna'", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "forename", "surname" ], "qualifying...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the driver who had the Q2 time as 0:01:40 in the qualifying race No. 355, what is his nationality?
SELECT DISTINCT T2.nationality FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 355 AND T1.q2 LIKE '1:40%'
simple
{ "gold_sql": "SELECT DISTINCT T2.nationality FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 355 AND T1.q2 LIKE '1:40%'", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "nationality" ], "qualifying": [ "driverId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is his number of the driver who finished 0:01:54 in the Q3 of qualifying race No.903?
SELECT T2.number FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 903 AND T1.q3 LIKE '1:54%'
simple
{ "gold_sql": "SELECT T2.number FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 903 AND T1.q3 LIKE '1:54%'", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "number" ], "qualifying": [ "driverId", "q3", "r...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the Bahrain Grand Prix in 2007, how many drivers not finished the game?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.driverId) FROM races AS T1 JOIN results AS T2 ON T2.raceId = T1.raceId WHERE T1.year = 2007 AND T1.name = 'Bahrain Grand Prix' AND T2.time IS NULL;", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "time" ], "races": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Show me the season page of year when the race No. 901 took place.
SELECT T2.url FROM races AS T1 INNER JOIN seasons AS T2 ON T2.year = T1.year WHERE T1.raceId = 901
simple
{ "gold_sql": "SELECT T2.url FROM races AS T1 INNER JOIN seasons AS T2 ON T2.year = T1.year WHERE T1.raceId = 901", "permission": "allowed", "query_columns": { "seasons": [ "url", "year" ], "races": [ "raceId", "year" ] }, "missing_columns": {}, "reason": "All require...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the race happened on 2015/11/29, how many drivers finished the game?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.driverId) FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId WHERE T1.date = '2015-11-29' AND T2.time IS NOT NULL", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "time" ], "races": [ "date", "r...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For all the drivers who finished the game in race No. 592, who is the oldest?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.forename, T1.surname \nFROM drivers AS T1 \nINNER JOIN results AS T2 ON T2.driverId = T1.driverId \nWHERE T2.raceId = 592 \n AND T2.time IS NOT NULL \n AND T1.dob IS NOT NULL \nORDER BY T1.dob ASC, T1.driverId ASC \nLIMIT 1;", "permission": "denied", "query_columns": { "results": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Who was the player that got the lap time of 0:01:27 in the race No. 161? Show his introduction website.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T2.forename, T2.surname, T2.url\nFROM lapTimes AS T1\nINNER JOIN drivers AS T2 ON T2.driverId = T1.driverId\nWHERE T1.raceId = 161 AND T1.time LIKE '1:27%';", "permission": "denied", "query_columns": { "laptimes": [ "driverId", "raceId", "time" ], "driv...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the driver who set the fastest lap speed in race No.933, where does he come from?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.nationality FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T2.raceId = 933 AND T2.fastestLapTime IS NOT NULL ORDER BY T2.fastestLapSpeed DESC LIMIT 1", "permission": "denied", "query_columns": { "results": [ "driverId", "fastestLapSpeed", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Where is Malaysian Grand Prix held? Give the location coordinates.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.lat, T1.lng FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.name = 'Malaysian Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name" ], "circuits": [ "circuitId", "lat", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the constructor which got the highest point in the race No. 9 , what is its introduction website?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.url FROM constructorResults AS T1 INNER JOIN constructors AS T2 ON T2.constructorId = T1.constructorId WHERE T1.raceId = 9 ORDER BY T1.points DESC LIMIT 1", "permission": "denied", "query_columns": { "constructorresults": [ "constructorId", "points", "raceId" ], ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's Lucas di Grassi's Q1 result in the race No. 345?
SELECT T1.q1 FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 345 AND T2.forename = 'Lucas' AND T2.surname = 'di Grassi'
simple
{ "gold_sql": "SELECT T1.q1 FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 345 AND T2.forename = 'Lucas' AND T2.surname = 'di Grassi'", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "forename", "surname" ], "qualif...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the driver who had the Q2 time as 0:01:15 in race No. 347, where is he from?
SELECT DISTINCT T2.nationality FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 347 AND T1.q2 LIKE '1:15%'
simple
{ "gold_sql": "SELECT DISTINCT T2.nationality FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 347 AND T1.q2 LIKE '1:15%'", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "nationality" ], "qualifying": [ "driverId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
In the race No. 45, for the driver who had the Q3 time as 0:01:33, what is his abbreviated code?
SELECT T2.code FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 45 AND T1.q3 LIKE '1:33%'
simple
{ "gold_sql": "SELECT T2.code FROM qualifying AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 45 AND T1.q3 LIKE '1:33%'", "permission": "allowed", "query_columns": { "drivers": [ "code", "driverId" ], "qualifying": [ "driverId", "q3", "raceId...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the actual finish time for Bruce McLaren in the race No.743?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.time FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T2.raceId = 743 AND T1.forename = 'Bruce' AND T1.surname = 'McLaren'", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "time" ], "drivers": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Who finished second in the San Marino Grand Prix in 2006?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T3.forename, T3.surname FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.year = 2006 AND T1.name = 'San Marino Grand Prix' AND T2.position = 2", "permission": "denied", "query_columns": { "results": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Show me the season page of year when the race No. 901 took place.
SELECT T2.url FROM races AS T1 INNER JOIN seasons AS T2 ON T2.year = T1.year WHERE T1.raceId = 901
simple
{ "gold_sql": "SELECT T2.url FROM races AS T1 INNER JOIN seasons AS T2 ON T2.year = T1.year WHERE T1.raceId = 901", "permission": "allowed", "query_columns": { "seasons": [ "url", "year" ], "races": [ "raceId", "year" ] }, "missing_columns": {}, "reason": "All require...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the race happened in 2015/11/29, how many drivers did not finish the race?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.driverId) FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId WHERE T1.date = '2015-11-29' AND T2.time IS NULL", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "time" ], "races": [ "date", "raceI...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For all the drivers who finished the game in race No. 872, who is the youngest?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.forename, T1.surname FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T2.raceId = 872 AND T2.time IS NOT NULL ORDER BY T1.dob DESC LIMIT 1", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "time" ], ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Who was the driver that got the best lap time in the race No. 348? Give his full name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.forename, T2.surname FROM lapTimes AS T1 INNER JOIN drivers AS T2 ON T2.driverId = T1.driverId WHERE T1.raceId = 348 ORDER BY T1.time ASC LIMIT 1", "permission": "denied", "query_columns": { "laptimes": [ "driverId", "raceId", "time" ], "drivers": [ "dr...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the driver who set the fastest lap speed, what is his nationality?
SELECT T1.nationality FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId ORDER BY T2.fastestLapSpeed DESC LIMIT 1;
moderate
{ "gold_sql": "SELECT T1.nationality\nFROM drivers AS T1\nINNER JOIN results AS T2 ON T2.driverId = T1.driverId\nORDER BY T2.fastestLapSpeed DESC\nLIMIT 1;", "permission": "allowed", "query_columns": { "results": [ "driverId", "fastestLapSpeed" ], "drivers": [ "driverId", "nati...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Paul di Resta was in the No. 853 race, what percent faster did he finish in the 853rd race than the next race for the fastest lap speed?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT ((MAX(CASE WHEN T2.raceId = 853 THEN CAST(T2.fastestLapSpeed AS REAL) END) - MAX(CASE WHEN T2.raceId = 854 THEN CAST(T2.fastestLapSpeed AS REAL) END)) * 100) / MAX(CASE WHEN T2.raceId = 853 THEN CAST(T2.fastestLapSpeed AS REAL) END) AS faster_percentage FROM drivers AS T1 INNER JOIN results AS T...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
For the drivers who took part in the race in 1983/7/16, what's their race completion rate?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(COUNT(CASE WHEN T2.time IS NOT NULL THEN T2.driverId END) AS REAL) * 100 / COUNT(T2.driverId) FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId WHERE T1.date = '1983-07-16'", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which year was the first Singapore Grand Prix?
SELECT year FROM races WHERE name = 'Singapore Grand Prix' ORDER BY year ASC LIMIT 1
simple
{ "gold_sql": "SELECT year FROM races WHERE name = 'Singapore Grand Prix' ORDER BY year ASC LIMIT 1", "permission": "allowed", "query_columns": { "races": [ "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 882, "evidence": "the first race re...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many races were there in 2005? Name all the races in descending order.
SELECT name FROM races WHERE year = 2005 ORDER BY name DESC
simple
{ "gold_sql": "SELECT name FROM races WHERE year = 2005 ORDER BY name DESC", "permission": "allowed", "query_columns": { "races": [ "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 883, "evidence": "" }
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
List the names of all races that occurred in the earliest recorded year and month.
SELECT name FROM races WHERE STRFTIME('%Y', date) = ( SELECT STRFTIME('%Y', date) FROM races ORDER BY date ASC LIMIT 1 ) AND STRFTIME('%m', date) = ( SELECT STRFTIME('%m', date) FROM races ORDER BY date ASC LIMIT 1 )
moderate
{ "gold_sql": "SELECT name FROM races WHERE STRFTIME('%Y', date) = ( SELECT STRFTIME('%Y', date) FROM races ORDER BY date ASC LIMIT 1 ) AND STRFTIME('%m', date) = ( SELECT STRFTIME('%m', date) FROM races ORDER BY date ASC LIMIT 1 )", "permission": "allowed", "query_columns": { "races": [ "name" ] ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
State the name and date of the last round of race in year 1999.
SELECT name, date FROM races WHERE year = 1999 ORDER BY round DESC LIMIT 1
simple
{ "gold_sql": "SELECT name, date FROM races WHERE year = 1999 ORDER BY round DESC LIMIT 1", "permission": "allowed", "query_columns": { "races": [ "name", "round" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 885, "evidence": "the last rou...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which year has the most number of races?
SELECT year FROM races GROUP BY year ORDER BY COUNT(round) DESC LIMIT 1
simple
{ "gold_sql": "SELECT year FROM races GROUP BY year ORDER BY COUNT(round) DESC LIMIT 1", "permission": "allowed", "query_columns": { "races": [ "round" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 886, "evidence": "the most number of races refe...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Name the races in year 2017 that are not hosted in year 2000.
SELECT name FROM races WHERE year = 2017 AND name NOT IN ( SELECT name FROM races WHERE year = 2000 )
simple
{ "gold_sql": "SELECT name FROM races WHERE year = 2017 AND name NOT IN ( SELECT name FROM races WHERE year = 2000 )", "permission": "allowed", "query_columns": { "races": [ "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 887, "evidence": "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
In which country was the first European Grand Prix hosted? Name the circuit and location.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.country, T1.location FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.name = 'European Grand Prix' ORDER BY T2.year ASC LIMIT 1", "permission": "denied", "query_columns": { "races": [ "circuitID", "name", "year" ], "circuits"...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
When was the last f1 season whereby Brands Hatch hosted the British Grand Prix?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.date FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Brands Hatch' AND T2.name = 'British Grand Prix' ORDER BY T2.year DESC LIMIT 1", "permission": "denied", "query_columns": { "races": [ "circuitID", "date", "name", "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many seasons has Silverstone Circuit hosted the United Kindom grand prix?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T2.year) FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitId = T1.circuitId WHERE T1.name = 'Silverstone Circuit' AND T2.name = 'British Grand Prix';", "permission": "denied", "query_columns": { "races": [ "circuitId", "name", "year" ], "ci...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Name all drivers in the 2010 Singapore Grand Prix order by their position stands.
SELECT T3.forename, T3.surname FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.name = 'Singapore Grand Prix' AND T1.year = 2010 ORDER BY T2.position ASC
simple
{ "gold_sql": "SELECT T3.forename, T3.surname FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.name = 'Singapore Grand Prix' AND T1.year = 2010 ORDER BY T2.position ASC", "permission": "allowed", "query_columns": { "drive...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
State the driver with the most points scored. Find his full name with that points.
SELECT T3.forename, T3.surname, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId ORDER BY T2.points DESC LIMIT 1
moderate
{ "gold_sql": "SELECT T3.forename, T3.surname, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId ORDER BY T2.points DESC LIMIT 1", "permission": "allowed", "query_columns": { "driverstandings": [ "driverId", "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Name the top 3 drivers and the points they scored in the 2017 Chinese Grand Prix.
SELECT T3.forename, T3.surname, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.name = 'Chinese Grand Prix' AND T1.year = 2017 ORDER BY T2.points DESC LIMIT 3
simple
{ "gold_sql": "SELECT T3.forename, T3.surname, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.name = 'Chinese Grand Prix' AND T1.year = 2017 ORDER BY T2.points DESC LIMIT 3", "permission": "allowed", "query_column...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the best lap time recorded? List the driver and race with such recorded lap time.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.milliseconds, T1.forename, T1.surname, T3.name FROM drivers AS T1 INNER JOIN lapTimes AS T2 ON T1.driverId = T2.driverId INNER JOIN races AS T3 ON T2.raceId = T3.raceId ORDER BY T2.milliseconds ASC LIMIT 1", "permission": "denied", "query_columns": { "laptimes": [ "driverId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the average lap time for Lewis Hamilton in the 2009 Malaysian Grand Prix?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT AVG(T2.milliseconds) FROM races AS T1 INNER JOIN lapTimes AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Lewis' AND T3.surname = 'Hamilton' AND T1.year = 2009 AND T1.name = 'Malaysian Grand Prix'", "permission": "denied", "query_colu...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Calculate the percentage whereby Hamilton was not at the 1st track of the the f1 circuit since 2010.
SELECT CAST(COUNT(CASE WHEN T2.position <> 1 THEN T2.position END) AS REAL) * 100 / COUNT(T2.driverStandingsId) FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.surname = 'Hamilton' AND T1.year >= 2010
challenging
{ "gold_sql": "SELECT CAST(COUNT(CASE WHEN T2.position <> 1 THEN T2.position END) AS REAL) * 100 / COUNT(T2.driverStandingsId) FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.surname = 'Hamilton' AND T1.year >= 2010", "permiss...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Name the driver with the most winning. Mention his nationality and what is his maximum point scores.
SELECT T1.forename, T1.surname, T1.nationality, MAX(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T2.driverId = T1.driverId WHERE T2.wins >= 1 GROUP BY T1.forename, T1.surname, T1.nationality ORDER BY COUNT(T2.wins) DESC LIMIT 1
moderate
{ "gold_sql": "SELECT T1.forename, T1.surname, T1.nationality, MAX(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T2.driverId = T1.driverId WHERE T2.wins >= 1 GROUP BY T1.forename, T1.surname, T1.nationality ORDER BY COUNT(T2.wins) DESC LIMIT 1", "permission": "allowed", "query_columns": { ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How old is the youngest Japanese driver? What is his name?
SELECT STRFTIME('%Y', CURRENT_TIMESTAMP) - STRFTIME('%Y', dob), forename , surname FROM drivers WHERE nationality = 'Japanese' ORDER BY dob DESC LIMIT 1
simple
{ "gold_sql": "SELECT STRFTIME('%Y', CURRENT_TIMESTAMP) - STRFTIME('%Y', dob), forename , surname FROM drivers WHERE nationality = 'Japanese' ORDER BY dob DESC LIMIT 1", "permission": "allowed", "query_columns": { "drivers": [ "dob", "forename", "nationality", "surname" ] }, "m...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
List circuits which host 4 f1 races from year 1990 to 2000.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T1.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE STRFTIME('%Y', T2.date) BETWEEN '1990' AND '2000' GROUP BY T1.name HAVING COUNT(T2.raceId) = 4", "permission": "denied", "query_columns": { "races": [ "circuitID", "date", "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
List circuits in USA which hosted f1 races in 2006. State the name and location of circuit and the name of the race it hosted.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name, T1.location, T2.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'USA' AND T2.year = 2006", "permission": "denied", "query_columns": { "races": [ "circuitID", "name", "year" ], "circuits": [ "circui...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Name the races along with its circuit name and location for f1 races hosted in September 2005.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.name, T1.name, T1.location FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.year = 2005 AND STRFTIME('%m', T2.date) = '09'", "permission": "denied", "query_columns": { "races": [ "circuitID", "date", "name", "year" ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which race was Alex Yoong in when he was in track number less than 20?
SELECT T1.name FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Alex' AND T3.surname = 'Yoong' AND T2.position < 20
simple
{ "gold_sql": "SELECT T1.name FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Alex' AND T3.surname = 'Yoong' AND T2.position < 20", "permission": "allowed", "query_columns": { "driverstandings": [ "driv...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many times did Michael Schumacher won from races hosted in Sepang International Circuit?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT SUM(T2.wins) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T2.driverId = T1.driverId INNER JOIN races AS T3 ON T3.raceId = T2.raceId INNER JOIN circuits AS T4 ON T4.circuitId = T3.circuitId WHERE T1.forename = 'Michael' AND T1.surname = 'Schumacher' AND T4.name = 'Sepang International C...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
State the race and year of race in which Michael Schumacher had his fastest lap.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.name, T1.year FROM races AS T1 INNER JOIN lapTimes AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Michael' AND T3.surname = 'Schumacher' ORDER BY T2.milliseconds ASC LIMIT 1", "permission": "denied", "query_columns": { "laptim...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is Eddie Irvine's average points scored in year 2000?
SELECT AVG(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T2.driverId = T1.driverId INNER JOIN races AS T3 ON T3.raceId = T2.raceId WHERE T1.forename = 'Eddie' AND T1.surname = 'Irvine' AND T3.year = 2000
simple
{ "gold_sql": "SELECT AVG(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T2.driverId = T1.driverId INNER JOIN races AS T3 ON T3.raceId = T2.raceId WHERE T1.forename = 'Eddie' AND T1.surname = 'Irvine' AND T3.year = 2000", "permission": "allowed", "query_columns": { "driverstandings": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which was Lewis Hamilton first race? What was his points recorded for his first race event?
SELECT T1.name, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Lewis' AND T3.surname = 'Hamilton' ORDER BY T1.year ASC LIMIT 1
moderate
{ "gold_sql": "SELECT T1.name, T2.points FROM races AS T1 INNER JOIN driverStandings AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Lewis' AND T3.surname = 'Hamilton' ORDER BY T1.year ASC LIMIT 1", "permission": "allowed", "query_columns": { "driverst...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
List all races in 2017 and the hosting country order by date of the event.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.name, T1.country FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.year = 2017 ORDER BY T2.date ASC", "permission": "denied", "query_columns": { "races": [ "circuitID", "date", "name", "year" ], "circuits": [ ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What is the most laps f1 races had? Name the race, year and circuit location where the races with most laps was hosted.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.name, T2.year, T1.location, MAX(T3.lap) AS max_laps\nFROM circuits AS T1 \nINNER JOIN races AS T2 ON T1.circuitId = T2.circuitId \nINNER JOIN lapTimes AS T3 ON T3.raceId = T2.raceId \nGROUP BY T2.raceId, T2.name, T2.year, T1.location\nORDER BY max_laps DESC, T2.raceId ASC\nLIMIT 1;", "permi...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Among all European Grand Prix races, what is the percentage of the races were hosted in Germany?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(COUNT(DISTINCT CASE WHEN T1.country = 'Germany' THEN T2.raceId END) AS REAL) * 100 / COUNT(DISTINCT T2.raceId) FROM circuits T1 INNER JOIN races T2 ON T2.circuitId = T1.circuitId WHERE T2.name = 'European Grand Prix';", "permission": "denied", "query_columns": { "races": [ "ci...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's the location coordinates of Silverstone Circuit?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT lat, lng FROM circuits WHERE name = 'Silverstone Circuit'", "permission": "denied", "query_columns": { "circuits": [ "lat", "lng", "name" ] }, "missing_columns": { "circuits": [ "lat", "lng", "name" ] }, "reason": "Missing column pe...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which of these circuits is located at a higher latitude, Silverstone Circuit, Hockenheimring or Hungaroring?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM circuits WHERE name IN ('Silverstone Circuit', 'Hockenheimring', 'Hungaroring') ORDER BY lat DESC LIMIT 1", "permission": "denied", "query_columns": { "circuits": [ "lat", "name" ] }, "missing_columns": { "circuits": [ "lat", "name" ] }...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's the reference name of Marina Bay Street Circuit?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT circuitRef FROM circuits WHERE name = 'Marina Bay Street Circuit'", "permission": "denied", "query_columns": { "circuits": [ "circuitRef", "name" ] }, "missing_columns": { "circuits": [ "circuitRef", "name" ] }, "reason": "Missing column permis...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
In which country can I find the circuit with the highest latitude?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT country FROM circuits ORDER BY lat DESC LIMIT 1", "permission": "denied", "query_columns": { "circuits": [ "country", "lat" ] }, "missing_columns": { "circuits": [ "country", "lat" ] }, "reason": "Missing column permissions: circuits: country, ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many drivers don't have a code?
SELECT COUNT(driverId) - COUNT(CASE WHEN code IS NOT NULL THEN code END) FROM drivers
simple
{ "gold_sql": "SELECT COUNT(driverId) - COUNT(CASE WHEN code IS NOT NULL THEN code END) FROM drivers", "permission": "allowed", "query_columns": { "drivers": [ "code", "driverId" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 914, "evidence...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which country is the oldest driver from?
SELECT nationality FROM drivers WHERE dob IS NOT NULL ORDER BY dob ASC LIMIT 1
simple
{ "gold_sql": "SELECT nationality FROM drivers WHERE dob IS NOT NULL ORDER BY dob ASC LIMIT 1", "permission": "allowed", "query_columns": { "drivers": [ "dob", "nationality" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 915, "evidence": "d...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the surnames of all the Italian drivers.
SELECT surname FROM drivers WHERE nationality = 'Italian'
simple
{ "gold_sql": "SELECT surname FROM drivers WHERE nationality = 'Italian'", "permission": "allowed", "query_columns": { "drivers": [ "nationality", "surname" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 916, "evidence": "Italian refers to ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which website should I go to if I want to know more about Anthony Davidson?
SELECT url FROM drivers WHERE forename = 'Anthony' AND surname = 'Davidson'
simple
{ "gold_sql": "SELECT url FROM drivers WHERE forename = 'Anthony' AND surname = 'Davidson'", "permission": "allowed", "query_columns": { "drivers": [ "forename", "surname", "url" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 917, "ev...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's Lewis Hamilton's reference name?
SELECT driverRef FROM drivers WHERE forename = 'Lewis' AND surname = 'Hamilton'
simple
{ "gold_sql": "SELECT driverRef FROM drivers WHERE forename = 'Lewis' AND surname = 'Hamilton'", "permission": "allowed", "query_columns": { "drivers": [ "driverRef", "forename", "surname" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which circuit did the 2009 Spanish Grand Prix use?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.year = 2009 AND T2.name = 'Spanish Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name", "year" ], "circuits": [ "circuitId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list all the years that Silverstone Circuit was used in a Formula_1 race.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.year FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Silverstone Circuit'", "permission": "denied", "query_columns": { "races": [ "circuitID", "year" ], "circuits": [ "circuitId", "name" ] }, "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please give more information about the Formula_1 races that used the Silverstone Circuit.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.url FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Silverstone Circuit'", "permission": "denied", "query_columns": { "races": [ "circuitID" ], "circuits": [ "circuitId", "name", "url" ] }, "mi...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What time did the the 2010's Formula_1 race took place on the Abu Dhabi Circuit?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.date, T2.time FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.year = 2010 AND T2.name = 'Abu Dhabi Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "date", "name", "time", "year" ], ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
How many Formula_1 races took place on the circuits in Italy?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T2.circuitId) FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'Italy'", "permission": "denied", "query_columns": { "races": [ "circuitID", "circuitId" ], "circuits": [ "circuitId", "country" ] }, "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the exact dates on which a Formula_1 race took place on the Barcelona-Catalunya circuit.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.date FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Circuit de Barcelona-Catalunya'", "permission": "denied", "query_columns": { "races": [ "circuitID", "date" ], "circuits": [ "circuitId", "name" ] }, ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please give the link of the website that shows more information about the circuits the Spanish Grand Prix used in 2009.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.url FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T2.year = 2009 AND T2.name = 'Spanish Grand Prix'", "permission": "denied", "query_columns": { "races": [ "circuitID", "name", "year" ], "circuits": [ "circuitId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What's the fastest lap time ever in a race for Lewis Hamilton?
SELECT MIN(T2.fastestLapTime) FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T1.forename = 'Lewis' AND T1.surname = 'Hamilton' AND T2.fastestLapTime IS NOT NULL
simple
{ "gold_sql": "SELECT MIN(T2.fastestLapTime) FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T1.forename = 'Lewis' AND T1.surname = 'Hamilton' AND T2.fastestLapTime IS NOT NULL", "permission": "allowed", "query_columns": { "results": [ "driverId", "fastestLapTime" ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which driver created the fastest lap speed in a Formula_1 race? Please give both his forename and surname.
SELECT T1.forename, T1.surname FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T2.fastestLapTime IS NOT NULL ORDER BY T2.fastestLapSpeed DESC LIMIT 1
simple
{ "gold_sql": "SELECT T1.forename, T1.surname FROM drivers AS T1 INNER JOIN results AS T2 ON T2.driverId = T1.driverId WHERE T2.fastestLapTime IS NOT NULL ORDER BY T2.fastestLapSpeed DESC LIMIT 1", "permission": "allowed", "query_columns": { "results": [ "driverId", "fastestLapSpeed", "faste...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Which driver ranked the first in the Canadian Grand Prix in 2007? Please give his reference name.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.driverRef FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T1.name = 'Canadian Grand Prix' AND T2.position = 1 AND T1.year = 2007", "permission": "denied", "query_columns": { "results": [ "driverId", ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
Please list the Formula_1 races that Lewis Hamilton participated.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId INNER JOIN drivers AS T3 ON T3.driverId = T2.driverId WHERE T3.forename = 'Lewis' AND T3.surname = 'Hamilton'", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId" ], "...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
In which Formula_1 race did Lewis Hamilton rank the highest?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM races WHERE raceId IN ( SELECT raceId FROM results WHERE rank = 1 AND driverId = ( SELECT driverId FROM drivers WHERE forename = 'Lewis' AND surname = 'Hamilton' ) )", "permission": "denied", "query_columns": { "results": [ "driverId", "raceId", "rank" ], ...
formula_1
##Instruction: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Database: formula_1 Total Tables: 13 Total Columns: 94 Table Schemas: Table: circuits (9 columns) --------------------------- • circuitId (integer): unique identification number of the circuit • circuitRef (text): circuit reference...
DataOperator_3
{ "constructorResults": [ "constructorId", "constructorResultsId", "points", "status" ], "constructorStandings": [ "constructorId", "position", "positionText", "wins" ], "constructors": [ "*" ], "driverStandings": [ "*" ], "drivers": [ "*" ], "lapTimes":...
What was the fastest lap speed among all drivers in the 2009 Spanish Grand Prix?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.fastestLapSpeed FROM races AS T1 INNER JOIN results AS T2 ON T2.raceId = T1.raceId WHERE T1.name = 'Spanish Grand Prix' AND T1.year = 2009 AND T2.fastestLapSpeed IS NOT NULL ORDER BY T2.fastestLapSpeed DESC LIMIT 1", "permission": "denied", "query_columns": { "results": [ "faste...