instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the rd for the canadian grand prix?
SELECT Rd. FROM table WHERE Grand Prix = Canadian Grand Prix
Translate the following into a SQL query
What is the fastest lap for the european grand prix?
SELECT Fastest Lap FROM table WHERE Grand Prix = European Grand Prix
Translate the following into a SQL query
What is the pole position for the ferrari at the austrian grand prix?
SELECT Pole Position FROM table WHERE Constructor = Ferrari AND Grand Prix = Austrian Grand Prix
Translate the following into a SQL query
What was the result of round 2r?
SELECT Outcome FROM table WHERE Round = 2R
Translate the following into a SQL query
Who did Tina Pisnik verse?
SELECT Against FROM table WHERE Opponent = Tina Pisnik
Translate the following into a SQL query
How many rounds were 2r?
SELECT COUNT Result FROM table WHERE Round = 2R
Translate the following into a SQL query
Name the outcome for round 2r
SELECT Outcome FROM table WHERE Round = 2R
Translate the following into a SQL query
what's the night rank with viewers (m) of 6.63
SELECT Night Rank FROM table WHERE Viewers (m) = 6.63
Translate the following into a SQL query
what's the overall rank with viewers (m) of 7.44
SELECT Overall Rank FROM table WHERE Viewers (m) = 7.44
Translate the following into a SQL query
what's the overall rank with rating/share 18–49 of 2.1/5
SELECT COUNT Overall Rank FROM table WHERE Rating/Share 18–49 = 2.1/5
Translate the following into a SQL query
what's the night rank with rating of 6.2
SELECT Night Rank FROM table WHERE Rating = 6.2
Translate the following into a SQL query
what's the viewers (m) with episode of "legacy"
SELECT Viewers (m) FROM table WHERE Episode = "Legacy"
Translate the following into a SQL query
What is the number of group b winner for francavilla?
SELECT COUNT Group B Winner FROM table WHERE Group C Winner = Francavilla
Translate the following into a SQL query
What is the group a winner for modena?
SELECT Group A Winner FROM table WHERE Group B Winner = Modena
Translate the following into a SQL query
What is the group a winner for vis pesaro?
SELECT Group A Winner FROM table WHERE Group C Winner = Vis Pesaro
Translate the following into a SQL query
What group a winner was for nocerina?
SELECT Group A Winner FROM table WHERE Group D Winner = Nocerina
Translate the following into a SQL query
What was the group d winner for modena?
SELECT Group D Winner FROM table WHERE Group B Winner = Modena
Translate the following into a SQL query
Who had the fastest lap at the brazilian grand prix?
SELECT Fastest Lap FROM table WHERE Grand Prix = Brazilian Grand Prix
Translate the following into a SQL query
Who was on the pole position at the monaco grand prix?
SELECT Pole Position FROM table WHERE Grand Prix = Monaco Grand Prix
Translate the following into a SQL query
Who was the winning driver when Michael Schumacher had the pole and the fastest lap?
SELECT Winning Driver FROM table WHERE Fastest Lap = Michael Schumacher AND Pole Position = Michael Schumacher
Translate the following into a SQL query
what are all the location where date is 5 april
SELECT Location FROM table WHERE Date = 5 April
Translate the following into a SQL query
what are all the pole position where date is 26 july
SELECT Pole Position FROM table WHERE Date = 26 July
Translate the following into a SQL query
who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos
SELECT Winning Constructor FROM table WHERE Fastest Lap = Riccardo Patrese AND Location = Interlagos
Translate the following into a SQL query
what are all the report where winning constructor is williams - renault and grand prix is south african grand prix
SELECT Report FROM table WHERE Winning Constructor = Williams - Renault AND Grand Prix = South African Grand Prix
Translate the following into a SQL query
whatthe minimum round where grand prix is german grand prix
SELECT MIN Round FROM table WHERE Grand Prix = German Grand Prix
Translate the following into a SQL query
what of the total number of date where grand prix is portuguese grand prix
SELECT COUNT Date FROM table WHERE Grand Prix = Portuguese Grand Prix
Translate the following into a SQL query
What is the number of pole position with a round of 15?
SELECT COUNT Pole Position FROM table WHERE Round = 15
Translate the following into a SQL query
What is the date of the circuit gilles villeneuve?
SELECT Date FROM table WHERE Location = Circuit Gilles Villeneuve
Translate the following into a SQL query
What is the location of thierry boutsen?
SELECT Location FROM table WHERE Fastest Lap = Thierry Boutsen
Translate the following into a SQL query
Who had the pole position at the German Grand Prix?
SELECT Pole Position FROM table WHERE Grand Prix = German Grand Prix
Translate the following into a SQL query
Which rd. occurred on 22 October?
SELECT MIN Rd. FROM table WHERE Date = 22 October
Translate the following into a SQL query
Who was the winning driver on 13 August?
SELECT Winning Driver FROM table WHERE Date = 13 August
Translate the following into a SQL query
What was the fastest lap at the Mexican Grand Prix?
SELECT Fastest Lap FROM table WHERE Grand Prix = Mexican Grand Prix
Translate the following into a SQL query
Which rd. took place at Hockenheimring?
SELECT MIN Rd. FROM table WHERE Location = Hockenheimring
Translate the following into a SQL query
How many drivers had the fastest lap at Silverstone?
SELECT COUNT Fastest Lap FROM table WHERE Location = Silverstone
Translate the following into a SQL query
What is the percentage of Android use when Windows is 1.15%?
SELECT Android FROM table WHERE Windows = 1.15%
Translate the following into a SQL query
On which dates was the value of Bada 0.05%?
SELECT Date FROM table WHERE Bada = 0.05%
Translate the following into a SQL query
When the value of "other" is 0.7%, what is the percentage for Windows?
SELECT Windows FROM table WHERE Other = 0.7%
Translate the following into a SQL query
When Symbian/Series 40 is 0.40%, what is the percentage of "other"?
SELECT Other FROM table WHERE Symbian / Series 40 = 0.40%
Translate the following into a SQL query
Which source shows Blackberry at 2.9%?
SELECT Source FROM table WHERE BlackBerry = 2.9%
Translate the following into a SQL query
Which colleges have the english abbreviation MTC?
SELECT English Name FROM table WHERE abbreviation = MTC
Translate the following into a SQL query
What is the Japanese orthography for the English name National Farmers Academy?
SELECT Japanese orthography FROM table WHERE English Name = National Farmers Academy
Translate the following into a SQL query
What is the abbreviation for the college pronounced "kōkū daigakkō"?
SELECT abbreviation FROM table WHERE Pronouciation = Kōkū Daigakkō
Translate the following into a SQL query
How many providers were founded in 1964?
SELECT COUNT Provider(IAI) FROM table WHERE Foundation = 1964
Translate the following into a SQL query
What is the Japanese orthography for National Fisheries University?
SELECT Japanese orthography FROM table WHERE English Name = National Fisheries University
Translate the following into a SQL query
What is the minimum number for the half marathon (womens)?
SELECT MIN Half Marathon (womens) FROM table
Translate the following into a SQL query
Whatis the total number of half marathon (mens) that represented kazakhstan?
SELECT COUNT Half Marathon (mens) FROM table WHERE Country = Kazakhstan
Translate the following into a SQL query
What is amount of countries where half marathon (women) is larger than 1.0?
SELECT COUNT Country FROM table WHERE Half Marathon (womens) > 1.0
Translate the following into a SQL query
How many times is Moldova the winner of half marathon (womens)?
SELECT COUNT Half Marathon (womens) FROM table WHERE Country = Moldova
Translate the following into a SQL query
Which country has half marathon (womens) that is larger than 1.0?
SELECT Country FROM table WHERE Half Marathon (womens) > 1.0
Translate the following into a SQL query
What is the make of the car that won the brazilian grand prix?
SELECT Constructor FROM table WHERE Grand Prix = Brazilian Grand Prix
Translate the following into a SQL query
Who drove the fastest lap for round 8?
SELECT Fastest Lap FROM table WHERE Rd. = 8
Translate the following into a SQL query
What day was the grand prix in jerez?
SELECT Date FROM table WHERE Location = Jerez
Translate the following into a SQL query
What event was in detroit?
SELECT Grand Prix FROM table WHERE Location = Detroit
Translate the following into a SQL query
How many events did nigel mansell drive the fastest and a mclaren - honda win?
SELECT COUNT Grand Prix FROM table WHERE Constructor = McLaren - Honda AND Fastest Lap = Nigel Mansell
Translate the following into a SQL query
What day is the french grand prix
SELECT Date FROM table WHERE Grand Prix = French Grand Prix
Translate the following into a SQL query
who is the winners where season result is 7th
SELECT Winners FROM table WHERE Season Result = 7th
Translate the following into a SQL query
who is the winners where season result is 9th
SELECT Winners FROM table WHERE Season Result = 9th
Translate the following into a SQL query
what's the grand finalist where winners is collingwood
SELECT Grand Finalist FROM table WHERE Winners = Collingwood
Translate the following into a SQL query
who is the season result where margin is 51
SELECT Season Result FROM table WHERE Margin = 51
Translate the following into a SQL query
who is the grand finalist where scores is 11.11 (77) – 10.8 (68)
SELECT Grand Finalist FROM table WHERE Scores = 11.11 (77) – 10.8 (68)
Translate the following into a SQL query
who is the grand finalist where scores is 8.9 (57) – 7.12 (54)
SELECT Grand Finalist FROM table WHERE Scores = 8.9 (57) – 7.12 (54)
Translate the following into a SQL query
what was the crowd when the scores are 10.12 (72) – 8.11 (59)?
SELECT MAX Crowd FROM table WHERE Scores = 10.12 (72) – 8.11 (59)
Translate the following into a SQL query
what is the venue where the scores are 15.13 (103) – 8.4 (52)?
SELECT Venue FROM table WHERE Scores = 15.13 (103) – 8.4 (52)
Translate the following into a SQL query
what is the venue where the margin is 4?
SELECT Venue FROM table WHERE Margin = 4
Translate the following into a SQL query
what is the crowd when the grand finalist was south melbourne?
SELECT Crowd FROM table WHERE Grand Finalist = South Melbourne
Translate the following into a SQL query
What was the date for monaco grand prix?
SELECT Date FROM table WHERE Race = Monaco Grand Prix
Translate the following into a SQL query
What was the date for the pole position of alain prost?
SELECT Date FROM table WHERE Pole Position = Alain Prost
Translate the following into a SQL query
What is the race winer of the portuguese grand prix?
SELECT Race Winner FROM table WHERE Race = Portuguese Grand Prix
Translate the following into a SQL query
what's the race winner with date being 12 june
SELECT Race Winner FROM table WHERE Date = 12 June
Translate the following into a SQL query
what's the constructor with location being hockenheimring
SELECT Constructor FROM table WHERE Location = Hockenheimring
Translate the following into a SQL query
what's the race winner with location being jacarepaguá
SELECT Race Winner FROM table WHERE Location = Jacarepaguá
Translate the following into a SQL query
what's the total number of race winner with rnd being 10
SELECT COUNT Race Winner FROM table WHERE Rnd = 10
Translate the following into a SQL query
what's the pole position with location being hockenheimring
SELECT Pole Position FROM table WHERE Location = Hockenheimring
Translate the following into a SQL query
what's the report with rnd being 4
SELECT Report FROM table WHERE Rnd = 4
Translate the following into a SQL query
What venue has an attendance of 30824 at Essendon in 1984?
SELECT Venue FROM table WHERE Premier = Essendon AND Attendance = 30824
Translate the following into a SQL query
What other venue was a runner up to Hawthorn?
SELECT Venue FROM table WHERE Runner Up = Hawthorn
Translate the following into a SQL query
What is the other premiership when the runner up wis Geelong?
SELECT Premiership FROM table WHERE Runner Up = Geelong
Translate the following into a SQL query
Who are all the runner ups when the score is 9.12 (66) – 5.6 (36)?
SELECT Runner Up FROM table WHERE Score = 9.12 (66) – 5.6 (36)
Translate the following into a SQL query
Who had the fastest lap in the race where Patrick Tambay was on the pole?
SELECT Fastest Lap FROM table WHERE Pole Position = Patrick Tambay
Translate the following into a SQL query
What race had Nelson Piquet on the pole and was in Nürburgring?
SELECT Race FROM table WHERE Pole Position = Nelson Piquet AND Location = Nürburgring
Translate the following into a SQL query
How many rounds did Patrick Tambay record the fastest lap?
SELECT COUNT Rnd FROM table WHERE Fastest Lap = Patrick Tambay
Translate the following into a SQL query
Which race is located in kyalami?
SELECT Race FROM table WHERE Location = Kyalami
Translate the following into a SQL query
What is the fastest lap with pole position of gilles villeneuve?
SELECT Fastest Lap FROM table WHERE Pole Position = Gilles Villeneuve
Translate the following into a SQL query
Who did the fastest lap in the dutch grand prix?
SELECT Fastest Lap FROM table WHERE Race = Dutch Grand Prix
Translate the following into a SQL query
Who did the fastest lap with the race winner john watson?
SELECT Fastest Lap FROM table WHERE Race Winner = John Watson
Translate the following into a SQL query
What is the constructor for 9 May?
SELECT Constructor FROM table WHERE Date = 9 May
Translate the following into a SQL query
What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari?
SELECT Pole Position FROM table WHERE Fastest Lap = Nelson Piquet AND Constructor = Ferrari
Translate the following into a SQL query
What is the report listed for the race in San Marino Grand Prix?
SELECT Report FROM table WHERE Race = San Marino Grand Prix
Translate the following into a SQL query
Who was the constructor in the location Monza?
SELECT Constructor FROM table WHERE Location = Monza
Translate the following into a SQL query
How many races had the pole position Alain Prost and the race winner Keke Rosberg?
SELECT COUNT Race FROM table WHERE Pole Position = Alain Prost AND Race Winner = Keke Rosberg
Translate the following into a SQL query
what's the report with location  österreichring
SELECT Report FROM table WHERE Location = Österreichring
Translate the following into a SQL query
what's the report with race argentine grand prix
SELECT Report FROM table WHERE Race = Argentine Grand Prix
Translate the following into a SQL query
what's the minimum rnd with race  italian grand prix
SELECT MIN Rnd FROM table WHERE Race = Italian Grand Prix
Translate the following into a SQL query
what's the total number of report with date  29 april
SELECT COUNT Report FROM table WHERE Date = 29 April
Translate the following into a SQL query
what's the race winner with constructor  renault
SELECT Race Winner FROM table WHERE Constructor = Renault
Translate the following into a SQL query
what's the date with rnd  1
SELECT Date FROM table WHERE Rnd = 1
Translate the following into a SQL query
How many days is the Monaco Grand Prix?
SELECT COUNT Date FROM table WHERE Race = Monaco Grand Prix
Translate the following into a SQL query
How many rounds were won with James Hunt as pole position and John Watson as fastest lap?
SELECT COUNT Rnd FROM table WHERE Pole Position = James Hunt AND Fastest Lap = John Watson
Translate the following into a SQL query
The Dijon-prenois had how many fastest laps?
SELECT COUNT Fastest Lap FROM table WHERE Location = Dijon-Prenois