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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
How many driver participated in race ID number 18?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(driverId) FROM driverStandings WHERE raceId = 18", "permission": "denied", "query_columns": { "driverstandings": [ "driverId", "raceId" ] }, "missing_columns": { "driverstandings": [ "driverId", "raceId" ] }, "reason": "Missing column per...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
State code numbers of top 3 youngest drivers. How many Netherlandic drivers among them?
Sorry, I cannot answer.
simple
{ "gold_sql": "WITH top3 AS (\n SELECT code, nationality\n FROM drivers\n ORDER BY JULIANDAY(dob) DESC\n LIMIT 3\n)\nSELECT t.code,\n (SELECT COUNT(*) FROM top3 WHERE nationality = 'Dutch') AS dutch_count\nFROM top3 AS t\nORDER BY t.code;", "permission": "denied", "query_columns": { "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is reference name of Robert Kubica?
SELECT driverRef FROM drivers WHERE forename = 'Robert' AND surname = 'Kubica'
simple
{ "gold_sql": "SELECT driverRef FROM drivers WHERE forename = 'Robert' AND surname = 'Kubica'", "permission": "allowed", "query_columns": { "drivers": [ "driverRef", "forename", "surname" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 9...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
How many British drivers who were born in 1980?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(driverId) FROM drivers WHERE nationality = 'British' AND STRFTIME('%Y', dob) = '1980'", "permission": "denied", "query_columns": { "drivers": [ "dob", "driverId", "nationality" ] }, "missing_columns": { "drivers": [ "dob" ] }, "reason": "...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List the top 3 German drivers who were born from 1980–1990 with the fastest lap time.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT d.driverId,\n (d.forename || ' ' || d.surname) AS driver_name,\n MIN(lt.milliseconds) AS best_lap_ms\nFROM drivers AS d\nJOIN lapTimes AS lt ON lt.driverId = d.driverId\nWHERE d.nationality = 'German'\n AND STRFTIME('%Y', d.dob) BETWEEN '1980' AND '1990'\n AND lt.milliseconds IS NO...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Please state the reference name of the oldest German driver.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT driverRef FROM drivers WHERE nationality = 'German' ORDER BY dob ASC, driverId ASC LIMIT 1", "permission": "denied", "query_columns": { "drivers": [ "dob", "driverId", "driverRef", "nationality" ] }, "missing_columns": { "drivers": [ "dob" ] ...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which drivers who were born in 1971 and has the fastest lap time on the race? Give id and code of these drivers.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T2.driverId, T2.code FROM results AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE STRFTIME('%Y', T2.dob) = '1971' AND T1.fastestLapTime IS NOT NULL", "permission": "denied", "query_columns": { "drivers": [ "code", "dob", "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List out top 10 Spanish drivers who were born before 1982 and have the latest lap time.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.driverId FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'Spanish' AND STRFTIME('%Y', T2.dob) < '1982' ORDER BY T1.time DESC LIMIT 10", "permission": "denied", "query_columns": { "drivers": [ "dob", "driverId", "nation...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which racing year has the overall fastest lap time recorded?
WITH times AS ( SELECT r.year, 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.fastestLapTime, ...
simple
{ "gold_sql": "WITH times AS (\n SELECT r.year,\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.fastestLapTime, '.') - INST...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which year has the lowest speed of lap time?
SELECT T2.year FROM lapTimes AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId ORDER BY T1.time DESC LIMIT 1;
simple
{ "gold_sql": "SELECT T2.year\nFROM lapTimes AS T1\nINNER JOIN races AS T2 ON T1.raceId = T2.raceId\nORDER BY T1.time DESC\nLIMIT 1;", "permission": "allowed", "query_columns": { "races": [ "raceId", "year" ], "laptimes": [ "raceId", "time" ] }, "missing_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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List the driver's ID of the top five driver, by descending order, the fastest time during the first lap of the race.
SELECT driverId FROM lapTimes WHERE lap = 1 ORDER BY time LIMIT 5
simple
{ "gold_sql": "SELECT driverId FROM lapTimes WHERE lap = 1 ORDER BY time LIMIT 5", "permission": "allowed", "query_columns": { "laptimes": [ "driverId", "lap" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 976, "evidence": "fastest time ref...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
From race no. 50 to 100, how many finishers have been disqualified?
SELECT SUM(IIF(time IS NOT NULL, 1, 0)) FROM results WHERE statusId = 2 AND raceID < 100 AND raceId > 50
simple
{ "gold_sql": "SELECT SUM(IIF(time IS NOT NULL, 1, 0)) FROM results WHERE statusId = 2 AND raceID < 100 AND raceId > 50", "permission": "allowed", "query_columns": { "results": [ "raceId", "statusId" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List the circuits in Austria along with their location and coordinates.
SELECT DISTINCT location, lat, lng FROM circuits WHERE country = 'Austria';
simple
{ "gold_sql": "SELECT DISTINCT location, lat, lng\nFROM circuits\nWHERE country = 'Austria';", "permission": "allowed", "query_columns": { "circuits": [ "country", "lat", "lng" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 978, "evid...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What race number has the most finishers?
SELECT raceId FROM results GROUP BY raceId ORDER BY COUNT(time) DESC LIMIT 1
simple
{ "gold_sql": "SELECT raceId \nFROM results \nGROUP BY raceId \nORDER BY COUNT(time) DESC \nLIMIT 1", "permission": "allowed", "query_columns": { "results": [ "raceId" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 979, "evidence": "finisher 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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List the reference name of the drivers who passed the second qualifying lap during race no. 23. Indicate their nationality and birthday.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.driverRef, T2.nationality, T2.dob FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T1.raceId = 23 AND T1.q2 IS NOT NULL", "permission": "denied", "query_columns": { "drivers": [ "dob", "driverId", "driverRef", "nationality" ...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
On what year did the youngest driver had his first qualifying race? Also state the name, date and time of the race.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T3.year, T3.name, T3.date, T3.time \nFROM qualifying AS T1 \nINNER JOIN drivers AS T2 ON T1.driverId = T2.driverId \nINNER JOIN races AS T3 ON T1.raceId = T3.raceId \nWHERE T1.driverId = ( \n SELECT driverId \n FROM drivers \n ORDER BY dob DESC, driverId ASC \n LIMIT 1 \n) \nORDER BY...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
How many American drivers have puncture status.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.driverId) FROM drivers AS T1 INNER JOIN results AS T2 on T1.driverId = T2.driverId INNER JOIN status AS T3 on T2.statusId = T3.statusId WHERE T3.status = 'Puncture' AND T1.nationality = 'American'", "permission": "denied", "query_columns": { "status": [ "status", "st...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which of the Italian constructor got the highest point to date? Give its introduction website?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.url FROM constructors AS T1 INNER JOIN constructorStandings AS T2 on T1.constructorId = T2.constructorId WHERE T1.nationality = 'Italian' ORDER BY T2.points DESC LIMIT 1", "permission": "denied", "query_columns": { "constructors": [ "constructorId", "nationality", "u...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the website of the constructor who tallied the most total wins.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.url FROM constructors AS T1 INNER JOIN constructorStandings AS T2 on T1.constructorId = T2.constructorId ORDER BY T2.wins DESC, T2.constructorId ASC LIMIT 1", "permission": "denied", "query_columns": { "constructors": [ "constructorId", "url" ], "constructorstandin...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Among the drivers who participated in the French Grand Prix, who has the slowest time in the 3rd lap.
SELECT T1.driverId FROM lapTimes AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId WHERE T2.name = 'French Grand Prix' AND T1.lap = 3 ORDER BY T1.time DESC LIMIT 1;
simple
{ "gold_sql": "SELECT T1.driverId\nFROM lapTimes AS T1\nINNER JOIN races AS T2 ON T1.raceId = T2.raceId\nWHERE T2.name = 'French Grand Prix' AND T1.lap = 3\nORDER BY T1.time DESC\nLIMIT 1;", "permission": "allowed", "query_columns": { "races": [ "name", "raceId" ], "laptimes": [ "dri...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
In which race did the fastest 1st lap time was recorded? Please indicate the time in milliseconds.
SELECT T1.milliseconds FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.lap = 1 ORDER BY T1.time LIMIT 1
simple
{ "gold_sql": "SELECT T1.milliseconds FROM lapTimes AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.lap = 1 ORDER BY T1.time LIMIT 1", "permission": "allowed", "query_columns": { "races": [ "raceId" ], "laptimes": [ "lap", "milliseconds", "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the average fastest lap time of the top 10 drivers in the 2006 United States Grand Prix?
SELECT AVG(T1.fastestLapTime) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.rank < 11 AND T2.year = 2006 AND T2.name = 'United States Grand Prix'
simple
{ "gold_sql": "SELECT AVG(T1.fastestLapTime) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId WHERE T1.rank < 11 AND T2.year = 2006 AND T2.name = 'United States Grand Prix'", "permission": "allowed", "query_columns": { "races": [ "name", "raceId", "year" ], "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
List down top 3 German drivers who has the shortest average pit stop duration and were born between 1980-1985.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T2.forename, T2.surname FROM pitStops AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId WHERE T2.nationality = 'German' AND CAST(STRFTIME('%Y', T2.dob) AS INTEGER) BETWEEN 1980 AND 1985 GROUP BY T2.driverId, T2.forename, T2.surname ORDER BY AVG(T1.milliseconds) LIMIT 3", "permission"...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Who is the champion of the Canadian Grand Prix in 2008? Indicate his finish time.
SELECT T1.time FROM results AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId WHERE T2.name = 'Canadian Grand Prix' AND T2.year = 2008 AND T1.time LIKE '_:%:__.___'
moderate
{ "gold_sql": "SELECT T1.time FROM results AS T1 INNER JOIN races AS T2 ON T1.raceId = T2.raceId WHERE T2.name = 'Canadian Grand Prix' AND T2.year = 2008 AND T1.time LIKE '_:%:__.___'", "permission": "allowed", "query_columns": { "races": [ "name", "raceId", "year" ], "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the constructor reference name of the champion in the 2009 Singapore Grand Prix? Please give its website.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T3.constructorRef, T3.url FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN constructors AS T3 on T1.constructorId = T3.constructorId WHERE T2.name = 'Singapore Grand Prix' AND T2.year = 2009 AND T1.time LIKE '_:%:__.___'", "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the full name and date of birth of Austrian drivers born between 1981 and 1991?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT forename, surname, dob FROM drivers WHERE nationality = 'Austrian' AND STRFTIME('%Y', dob) BETWEEN '1981' AND '1991'", "permission": "denied", "query_columns": { "drivers": [ "dob", "forename", "nationality", "surname" ] }, "missing_columns": { "driver...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Find the full name, Wiki Pedia page link, and date of birth of German drivers born between 1971 and 1985. List it in descending order of date of birth.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT forename, surname, url, dob FROM drivers WHERE nationality = 'German' AND STRFTIME('%Y', dob) BETWEEN '1971' AND '1985' ORDER BY dob DESC", "permission": "denied", "query_columns": { "drivers": [ "dob", "forename", "nationality", "surname", "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Where is the Hungaroring circuit located? Also, find the country and coordinates of this circuit.
SELECT location, country, lat, lng FROM circuits WHERE name = 'Hungaroring'
simple
{ "gold_sql": "SELECT location, country, lat, lng FROM circuits WHERE name = 'Hungaroring'", "permission": "allowed", "query_columns": { "circuits": [ "country", "lat", "lng", "location", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted",...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which constructor scored most points from Monaco Grand Prix between 1980 and 2010? List the score, name and nationality of this team.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT SUM(T1.points), T2.name, T2.nationality FROM constructorResults AS T1 INNER JOIN constructors AS T2 ON T1.constructorId = T2.constructorId INNER JOIN races AS T3 ON T3.raceid = T1.raceid WHERE T3.name = 'Monaco Grand Prix' AND T3.year BETWEEN 1980 AND 2010 GROUP BY T2.name ORDER BY SUM(T1.points...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the average score of Lewis Hamilton among all the Turkish Grand Prix?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT AVG(T2.points) FROM drivers AS T1 INNER JOIN driverStandings AS T2 ON T1.driverId = T2.driverId INNER JOIN races AS T3 ON T3.raceId = T2.raceId WHERE T1.forename = 'Lewis' AND T1.surname = 'Hamilton' AND T3.name = 'Turkish Grand Prix'", "permission": "denied", "query_columns": { "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the annual average number of races held during the first 10 years of the 21st century?
SELECT CAST(COUNT(*) AS REAL) / 10 AS annual_average FROM races WHERE year BETWEEN 2000 AND 2009 AND year IS NOT NULL
simple
{ "gold_sql": "SELECT CAST(COUNT(*) AS REAL) / 10 AS annual_average \nFROM races \nWHERE year BETWEEN 2000 AND 2009 \nAND year IS NOT NULL", "permission": "allowed", "query_columns": { "races": [] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 996, "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which citizenship do the vast majority of the drivers hold?
SELECT nationality FROM drivers GROUP BY nationality ORDER BY COUNT(driverId) DESC LIMIT 1
simple
{ "gold_sql": "SELECT nationality FROM drivers GROUP BY nationality ORDER BY COUNT(driverId) DESC LIMIT 1", "permission": "allowed", "query_columns": { "drivers": [ "driverId", "nationality" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 997,...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
In terms of number of points acquired, how many victories did the driver who ranked 91st acquired?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(wins) FROM driverStandings WHERE points = 91", "permission": "denied", "query_columns": { "driverstandings": [ "points", "wins" ] }, "missing_columns": { "driverstandings": [ "points", "wins" ] }, "reason": "Missing column permissions: 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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the name of the race in which a driver recorded the fastest lap time?
SELECT T1.name FROM races AS T1 INNER JOIN results AS T2 ON T1.raceId = T2.raceId WHERE T2.fastestLapTime = (SELECT MIN(fastestLapTime) FROM results WHERE fastestLapTime IS NOT NULL);
simple
{ "gold_sql": "SELECT T1.name FROM races AS T1 INNER JOIN results AS T2 ON T1.raceId = T2.raceId WHERE T2.fastestLapTime = (SELECT MIN(fastestLapTime) FROM results WHERE fastestLapTime IS NOT NULL);", "permission": "allowed", "query_columns": { "races": [ "name", "raceId" ], "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which racetrack hosted the most recent race? Indicate the full location.
SELECT (c.location || ', ' || c.country) AS full_location FROM circuits AS c INNER JOIN races AS r ON c.circuitId = r.circuitId ORDER BY r.date DESC, r.raceId DESC LIMIT 1;
simple
{ "gold_sql": "SELECT (c.location || ', ' || c.country) AS full_location\nFROM circuits AS c\nINNER JOIN races AS r ON c.circuitId = r.circuitId\nORDER BY r.date DESC, r.raceId DESC\nLIMIT 1;", "permission": "allowed", "query_columns": { "circuits": [ "circuitId", "country", "location" ]...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is full name of the racer who ranked 1st in the 3rd qualifying race held in the Marina Bay Street Circuit in 2008?
SELECT T2.forename, T2.surname FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 ON T1.raceid = T3.raceid WHERE q3 IS NOT NULL AND T3.year = 2008 AND T3.circuitId IN ( SELECT circuitId FROM circuits WHERE name = 'Marina Bay Street Circuit' ) ORDER BY CAST(SUBSTR(q3, 1, I...
challenging
{ "gold_sql": "SELECT T2.forename, T2.surname FROM qualifying AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 ON T1.raceid = T3.raceid WHERE q3 IS NOT NULL AND T3.year = 2008 AND T3.circuitId IN ( SELECT circuitId FROM circuits WHERE name = 'Marina Bay Street Circuit' ) ORDER BY CAS...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
As of the present, what is the full name of the youngest racer? Indicate her nationality and the name of the race to which he/she first joined.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.forename, T1.surname, T1.nationality, T3.name FROM drivers AS T1 INNER JOIN driverStandings AS T2 on T1.driverId = T2.driverId INNER JOIN races AS T3 on T2.raceId = T3.raceId ORDER BY JULIANDAY(T1.dob) DESC LIMIT 1", "permission": "denied", "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
How many accidents did the driver who had the highest number accidents in the Canadian Grand Prix have?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.driverId) FROM results AS T1 INNER JOIN races AS T2 on T1.raceId = T2.raceId INNER JOIN status AS T3 on T1.statusId = T3.statusId WHERE T3.statusId = 3 AND T2.name = 'Canadian Grand Prix' GROUP BY T1.driverId ORDER BY COUNT(T1.driverId) DESC LIMIT 1", "permission": "denied", "query_...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
How many wins was achieved by the oldest racer? Indicate his/her full name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(T1.wins),T2.forename, T2.surname FROM driverStandings AS T1 INNER JOIN drivers AS T2 on T1.driverId = T2.driverId ORDER BY T2.dob ASC LIMIT 1", "permission": "denied", "query_columns": { "drivers": [ "dob", "driverId", "forename", "surname" ], "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What was the longest time a driver had ever spent at a pit stop?
SELECT duration FROM pitStops ORDER BY duration DESC LIMIT 1
simple
{ "gold_sql": "SELECT duration FROM pitStops ORDER BY duration DESC LIMIT 1", "permission": "allowed", "query_columns": { "pitstops": [ "duration" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 1005, "evidence": "longest time spent at pitstop ref...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Among all the lap records set on various circuits, what is the time for the fastest one?
SELECT lt.time AS fastest_lap_time FROM lapTimes lt JOIN races r ON lt.raceId = r.raceId JOIN circuits c ON r.circuitId = c.circuitId ORDER BY lt.milliseconds ASC, lt.raceId ASC, lt.driverId ASC, lt.lap ASC LIMIT 1
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": "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
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": { "drivers": [ "driverId", "forename", "surname" ...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
During which lap did Lewis Hamilton take a pit stop during the 2011 Australian Grand Prix?
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'
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": "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Please list the time each driver spent at the pit stop during the 2011 Australian Grand Prix.
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'
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": "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the lap record set by Lewis Hamilton in a Formula_1 race?
SELECT T1.time FROM lapTimes AS T1 INNER JOIN drivers AS T2 ON T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton' ORDER BY T1.milliseconds ASC LIMIT 1;
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": "allowed", "query_columns": { "drivers": [ "driverId", "forename", "surna...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Which top 20 driver created the shortest lap time ever record in a Formula_1 race? Please give them full names.
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, ':') + 1, INSTR(...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What was the position of the circuits during Lewis Hamilton's fastest lap in a Formula_1 race?
SELECT T1.position FROM lapTimes AS T1 INNER JOIN drivers AS T2 ON T1.driverId = T2.driverId WHERE T2.forename = 'Lewis' AND T2.surname = 'Hamilton' ORDER BY T1.time ASC LIMIT 1;
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": "allowed", "query_columns": { "drivers": [ "driverId", "forename", "surname" ...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the lap record for the Austrian Grand Prix Circuit?
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.circuitId = T3.circuitI...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
In which Formula_1 race was the lap record for the Austrian Grand Prix Circuit set?
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(SUBSTR(T1.Fastes...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
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?
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 REAL)) + (CAST(SUB...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
Please list the location coordinates of the circuits whose lap record is 1:29.488.
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'
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": "allowed", "query_columns": { "races": [ "circuitId", "raceId" ], "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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
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": { "drivers": [ "driverId", "forename", "surname" ], "pitstops": [ ...
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...
RaceAnalyst
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng" ], "constructors": [ "constructorId", "name", "nationality" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", "nationality" ], "races": [...
What is the average lap time in milliseconds of all the lap records set on the various circuits in Italy?
SELECT AVG(T1.milliseconds) 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 T3.country = 'Italy'
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": "allowed", "query_columns": { "races": [ "circuitId", "raceId" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Please list the reference names of the drivers who are eliminated in the first period in race number 20.
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What is the surname of the driver with the best lap time in race number 19 in the second qualifying period?
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Please list the year during which the race is held on circuits in Shanghai.
SELECT T2.year FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.location = 'Shanghai'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "location" ], "races": [ "circuitID", "year" ] }, "missing_col...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Where can the introduction of the races held on Circuit de Barcelona-Catalunya be found?
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'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "name", "url" ], "races": [ "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Please give the name of the race held on the circuits in Germany.
SELECT DISTINCT T2.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'Germany'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "country" ], "races": [ "circuitID", "name" ] }, "missi...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What positions did constructor Renault achieve in the standings?
Sorry, I cannot answer.
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": "denied", "query_columns": { "constructors": [ "constructorId", "name" ], "constructorstandings": [ ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
How many races in the year 2010 are held on grand prixs outside Asia and Europe?
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' ) AND T3.year =...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Please give the names of the races held on the circuits in Spain.
SELECT DISTINCT T2.name FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.country = 'Spain'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "country" ], "races": [ "circuitID", "name" ] }, "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What is the coordinates location of the circuits for Australian grand prix?
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'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "lat", "lng" ], "races": [ "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Where can I find the information about the races held on Sepang International Circuit?
SELECT DISTINCT T1.url FROM circuits AS T1 INNER JOIN races AS T2 ON T2.circuitID = T1.circuitId WHERE T1.name = 'Sepang International Circuit'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "name", "url" ], "races": [ "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "circuits": [ "circuitId", "name" ], "races": [ "circuitID", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Give the coordinate position for Abu Dhabi Grand Prix.
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'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "lat", "lng" ], "races": [ "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "constructors": [ "constructorId", "nationality" ], "constructorresult...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What's Bruno Senna's Q1 result in the qualifying race No. 354?
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
For the driver who had the Q2 time as 0:01:40 in the qualifying race No. 355, what is his nationality?
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What is his number of the driver who finished 0:01:54 in the Q3 of qualifying race No.903?
Sorry, I cannot answer.
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": "denied", "query_columns": { "drivers": [ "driverId", "number" ], "qualifying": [ "driverId", "q3", "ra...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "name", "raceId", "year" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "raceId", "year" ], "seasons": [ "url", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "date", "raceId" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "drivers": [ "driverId", "forename", "surname", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "drivers": [ "driverId", "nationality" ], ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Where is Malaysian Grand Prix held? Give the location coordinates.
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'
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": "allowed", "query_columns": { "circuits": [ "circuitId", "lat", "lng" ], "races": [ "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "constructors": [ "constructorId", "url" ], "constructorresults":...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
What's Lucas di Grassi's Q1 result in the race No. 345?
Sorry, I cannot answer.
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": "denied", "query_columns": { "drivers": [ "driverId", "forename", "surname" ], "qualify...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
For the driver who had the Q2 time as 0:01:15 in race No. 347, where is he from?
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
In the race No. 45, for the driver who had the Q3 time as 0:01:33, what is his abbreviated code?
Sorry, I cannot answer.
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": "denied", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "drivers": [ "driverId", "forename", "surname" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "n...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "raceId", "year" ], "seasons": [ "url", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "date", "raceId" ], "results": [ "driverId", "raceId", "tim...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "drivers": [ "dob", "driverId", "forename", "su...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "drivers": [ "driverId", "forename", "surname" ], "laptimes": [ ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
For the driver who set the fastest lap speed, what is his nationality?
Sorry, I cannot answer.
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": "denied", "query_columns": { "drivers": [ "driverId", "nationality" ], "results": [ "driverId", "fastestLa...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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": { "races": [ "date", "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
In which country was the first European Grand Prix hosted? Name the circuit and location.
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
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": "allowed", "query_columns": { "circuits": [ "circuitId", "country", "location" ], ...
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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
When was the last f1 season whereby Brands Hatch hosted the British Grand Prix?
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
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": "allowed", "query_columns": { "circuits": [ "circuitId", "name" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
How many seasons has Silverstone Circuit hosted the United Kindom grand prix?
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';
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": "allowed", "query_columns": { "circuits": [ "circuitId", "name" ], "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...
PublicRelations
{ "circuits": [ "circuitId", "name", "location", "country", "lat", "lng", "alt", "url" ], "constructors": [ "constructorId", "name", "nationality", "url" ], "drivers": [ "driverId", "driverRef", "number", "code", "forename", "surname", ...
Name all drivers in the 2010 Singapore Grand Prix order by their position stands.
Sorry, I cannot answer.
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": "denied", "query_columns": { "races"...