instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the away team score at Windy Hill?
SELECT Away team score FROM table WHERE Venue = windy hill
Translate the following into a SQL query
Who was the home team at Lake Oval?
SELECT Home team FROM table WHERE Venue = lake oval
Translate the following into a SQL query
What is the number of the crowd when the away team score was 10.18 (78)?
SELECT COUNT Crowd FROM table WHERE Away team score = 10.18 (78)
Translate the following into a SQL query
On what date was the crowd over 19,298 when South Melbourne was the home team?
SELECT Date FROM table WHERE Crowd > 19,298 AND Home team = south melbourne
Translate the following into a SQL query
On what date was the home team score 10.14 (74)?
SELECT Date FROM table WHERE Home team score = 10.14 (74)
Translate the following into a SQL query
On what date was the venue VFL Park?
SELECT Date FROM table WHERE Venue = vfl park
Translate the following into a SQL query
Which team was the home team at Glenferrie Oval?
SELECT Home team FROM table WHERE Venue = glenferrie oval
Translate the following into a SQL query
What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6?
SELECT Date FROM table WHERE Opponent in the final = steffi graf AND Score in the final = 2–6, 0–6
Translate the following into a SQL query
What was the surface where the outcome was winner on 12 march 1989?
SELECT Surface FROM table WHERE Outcome = winner AND Date = 12 march 1989
Translate the following into a SQL query
What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?
SELECT Outcome FROM table WHERE Tournament = lugano , switzerland wta virginia slims AND Opponent in the final = bonnie gadusek
Translate the following into a SQL query
What is the outcome of the match against Sylvia Hanika on a hard (i) surface?
SELECT Outcome FROM table WHERE Opponent in the final = sylvia hanika AND Surface = hard (i)
Translate the following into a SQL query
What player had numbers of 20
SELECT Player FROM table WHERE No.(s) = 20
Translate the following into a SQL query
Tell me the height in ft for 1999-2004
SELECT Height in Ft. FROM table WHERE Years for Rockets = 1999-2004
Translate the following into a SQL query
Tell me the number for height in ft of 6-7
SELECT No.(s) FROM table WHERE Height in Ft. = 6-7
Translate the following into a SQL query
What player had a school of missouri
SELECT Player FROM table WHERE School/Club Team/Country = missouri
Translate the following into a SQL query
What pick # has a team from Rimouski Océanic?
SELECT AVG Pick # FROM table WHERE Team from = rimouski océanic
Translate the following into a SQL query
Who is the player from Hotchkiss School with a position of d?
SELECT Player FROM table WHERE Position = d AND Team from = hotchkiss school
Translate the following into a SQL query
What type is the sorrento to sapri course with a distance of km (mi)?
SELECT Type FROM table WHERE Distance = km (mi) AND Course = sorrento to sapri
Translate the following into a SQL query
What type is the misurina to bassano del grappa course?
SELECT Type FROM table WHERE Course = misurina to bassano del grappa
Translate the following into a SQL query
What's the distance for the chieti to macerata course?
SELECT Distance FROM table WHERE Course = chieti to macerata
Translate the following into a SQL query
Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14?
SELECT MIN Points FROM table WHERE Make = chevrolet AND Driver = sterling marlin AND Car # < 14
Translate the following into a SQL query
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?
SELECT MIN Points FROM table WHERE Make = chevrolet AND Car # < 24 AND Laps = 312 AND Winnings = $122,325
Translate the following into a SQL query
What is the location for the win against Johan Mparmpagiannis?
SELECT Location FROM table WHERE Result = win AND Opponent = johan mparmpagiannis
Translate the following into a SQL query
What is the method against Björn Bregy?
SELECT Method FROM table WHERE Opponent = björn bregy
Translate the following into a SQL query
What is the method against Paula Mataele?
SELECT Method FROM table WHERE Opponent = paula mataele
Translate the following into a SQL query
What is the date of the match in Vilnius, Lithuania?
SELECT Date FROM table WHERE Location = vilnius, lithuania
Translate the following into a SQL query
What is the result against Errol Zimmerman on 2007-04-07?
SELECT Result FROM table WHERE Opponent = errol zimmerman AND Date = 2007-04-07
Translate the following into a SQL query
What is the location of the match against Martinis Knyzelis?
SELECT Location FROM table WHERE Opponent = martinis knyzelis
Translate the following into a SQL query
What day is st kilda the home side?
SELECT Date FROM table WHERE Home team = st kilda
Translate the following into a SQL query
What is melbourne's away score?
SELECT Away team score FROM table WHERE Away team = melbourne
Translate the following into a SQL query
What is the highest crowd listed when the away side scores 4.9 (33)?
SELECT MAX Crowd FROM table WHERE Away team score = 4.9 (33)
Translate the following into a SQL query
What venue features an away team score of 4.9 (33)?
SELECT Venue FROM table WHERE Away team score = 4.9 (33)
Translate the following into a SQL query
What was the home team's score when Geelong was the away team?
SELECT Home team score FROM table WHERE Away team = geelong
Translate the following into a SQL query
What was the average crowd size at a game when the away team scored 17.12 (114)?
SELECT AVG Crowd FROM table WHERE Away team score = 17.12 (114)
Translate the following into a SQL query
What is the total number of the 1978 Veteran membership that has a late 1943 more than 78,000 and a september 1943 larger than 60,000?
SELECT COUNT 1978 Veteran membership FROM table WHERE Late 1943 > 78,000 AND Sept. 1943 > 60,000
Translate the following into a SQL query
What is the highest late 1943 number with a late 1941 of vojvodina and a 1978 membership less than 40,000?
SELECT MAX Late 1943 FROM table WHERE ! Late 1941 = vojvodina AND 1978 Veteran membership < 40,000
Translate the following into a SQL query
What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000?
SELECT SUM 1978 Veteran membership FROM table WHERE ! Late 1941 = macedonia AND Late 1943 < 10,000
Translate the following into a SQL query
What is the lowest 1978 Veteran membership with less than 48,000 in sept. 1943, a late 1941 of vojvodina, and a late 1942 bigger than 1,000?
SELECT MIN 1978 Veteran membership FROM table WHERE Sept. 1943 < 48,000 AND ! Late 1941 = vojvodina AND Late 1942 > 1,000
Translate the following into a SQL query
What is the highest late 1943 with a late 1944 bigger than 22,000, a late 1942 bigger than 1,000, a late 1941 slovenia, and less than 4000 in september 1943?
SELECT MAX Late 1943 FROM table WHERE Late 1944 > 22,000 AND Late 1942 > 1,000 AND ! Late 1941 = slovenia AND Sept. 1943 < 4000
Translate the following into a SQL query
Which opponent has a Season of 2011/12?
SELECT Opponent FROM table WHERE Season = 2011/12
Translate the following into a SQL query
Which opponent has a Season of 2010/11?
SELECT Opponent FROM table WHERE Season = 2010/11
Translate the following into a SQL query
Which competition has a Season of 2010/11?
SELECT Competition FROM table WHERE Season = 2010/11
Translate the following into a SQL query
What Opponent has a Result of –?
SELECT Opponent FROM table WHERE Result = –
Translate the following into a SQL query
Which season has a Result of 6–9?
SELECT Season FROM table WHERE Result = 6–9
Translate the following into a SQL query
Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?
SELECT Round FROM table WHERE Venue = nicosia AND Opponent = levski sofia zapad
Translate the following into a SQL query
What resulted in a score of 22-21?
SELECT Result FROM table WHERE Score = 22-21
Translate the following into a SQL query
What competition was held on the date 6/7/03
SELECT Competition FROM table WHERE Date = 6/7/03
Translate the following into a SQL query
What was the score for the date of 15/6/03
SELECT Score FROM table WHERE Date = 15/6/03
Translate the following into a SQL query
What venue is on the date of 8/6/03
SELECT Venue FROM table WHERE Date = 8/6/03
Translate the following into a SQL query
What outcome has a score of 12-22?
SELECT Result FROM table WHERE Score = 12-22
Translate the following into a SQL query
What date is for Venue of jjb stadium, and a Result of w?
SELECT Date FROM table WHERE Venue = jjb stadium AND Result = w
Translate the following into a SQL query
What is the high lap total for françois cevert?
SELECT MAX Laps FROM table WHERE Driver = françois cevert
Translate the following into a SQL query
Who constructed rolf stommelen's car?
SELECT Constructor FROM table WHERE Driver = rolf stommelen
Translate the following into a SQL query
Who drive the car that retired due to engine failure and a grid of less than 9?
SELECT Driver FROM table WHERE Time/Retired = engine AND Grid < 9
Translate the following into a SQL query
When was the race that set the record for the Izod Indycar Series?
SELECT Date FROM table WHERE Record = izod indycar series
Translate the following into a SQL query
Which driver set the Qualifying record with a time of 24.761 seconds?
SELECT Driver FROM table WHERE Record = qualifying AND Time = 24.761
Translate the following into a SQL query
What Utah Jazz guard, played at BYU?
SELECT Player FROM table WHERE Position = guard AND School/Club Team = byu
Translate the following into a SQL query
What college team did Derek Fisher play for?
SELECT School/Club Team FROM table WHERE Player = derek fisher
Translate the following into a SQL query
The Utah Jazz Player from UTEP was what nationality?
SELECT Nationality FROM table WHERE School/Club Team = utep
Translate the following into a SQL query
What is the name of the venue when the home team is Richmond?
SELECT Venue FROM table WHERE Home team = richmond
Translate the following into a SQL query
What is the date of the game when the away team score is 15.14 (104)?
SELECT Date FROM table WHERE Away team score = 15.14 (104)
Translate the following into a SQL query
Who is the away team when the crowd is larger than 21,122 and the home team score is 13.7 (85)?
SELECT Away team FROM table WHERE Crowd > 21,122 AND Home team score = 13.7 (85)
Translate the following into a SQL query
What is the home team score when the venue is Princes Park?
SELECT Home team score FROM table WHERE Venue = princes park
Translate the following into a SQL query
How many wins did Hale Irwin get with earnings smaller than 20,592,965?
SELECT SUM Wins FROM table WHERE Player = hale irwin AND Earnings( $ ) < 20,592,965
Translate the following into a SQL query
What actor plays glen cole?
SELECT Actor FROM table WHERE Character = glen cole
Translate the following into a SQL query
What is the average number for a final episode featuring maxine valera?
SELECT AVG Final Episode Count FROM table WHERE Character = maxine valera
Translate the following into a SQL query
How many laps were driven in 2:54:23.8?
SELECT SUM Laps FROM table WHERE Time/Retired = 2:54:23.8
Translate the following into a SQL query
Which constructor has laps less than 100 and a time/retired +10 laps?
SELECT Constructor FROM table WHERE Laps < 100 AND Time/Retired = +10 laps
Translate the following into a SQL query
What are the highest number of laps for grid 8?
SELECT MAX Laps FROM table WHERE Grid = 8
Translate the following into a SQL query
Which grid is the highest and has a time/retired of +0.3?
SELECT MAX Grid FROM table WHERE Time/Retired = +0.3
Translate the following into a SQL query
Which driver for Maserati has more laps than 23 and a grid greater than 7?
SELECT Driver FROM table WHERE Constructor = maserati AND Laps > 23 AND Grid > 7
Translate the following into a SQL query
Which points classification shares a general classification of Bernard Hinault, a Trofeo Fast Tem of Bianchi, was won by Urs Freuler, and was stage 4?
SELECT Points classification FROM table WHERE General classification = bernard hinault AND Trofeo Fast Team = bianchi AND Winner = urs freuler AND Stage = 4
Translate the following into a SQL query
Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?
SELECT Winner FROM table WHERE Points classification = giuseppe saronni AND Trofeo Fast Team = bianchi AND Stage = 3
Translate the following into a SQL query
Which stage had a Points Classification of Francesco Moser and a general classification of Bernard Hinault?
SELECT Stage FROM table WHERE Points classification = francesco moser AND General classification = bernard hinault
Translate the following into a SQL query
Who was the winner of Stage 12 with a Points Classification of Francesco Moser?
SELECT Winner FROM table WHERE Points classification = francesco moser AND Stage = 12
Translate the following into a SQL query
Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?
SELECT Stage FROM table WHERE Winner = bernard hinault AND Points classification = francesco moser
Translate the following into a SQL query
Who was the loser on December 12, 1971?
SELECT Loser FROM table WHERE Date = december 12 AND Year = 1971
Translate the following into a SQL query
Who was the loser at Municipal Stadium after 1970?
SELECT Loser FROM table WHERE Location = municipal stadium AND Year > 1970
Translate the following into a SQL query
What is the date where the winner was the Oakland Raiders in 1975?
SELECT Date FROM table WHERE Year = 1975 AND Winner = oakland raiders
Translate the following into a SQL query
What is result of the game at Arrowhead Stadium where the loser was the Kansas City Chiefs?
SELECT Result FROM table WHERE Location = arrowhead stadium AND Loser = kansas city chiefs
Translate the following into a SQL query
What draw for "ljubav jedne žene" with under 153 points?
SELECT SUM Draw FROM table WHERE Song = "ljubav jedne žene" AND Points < 153
Translate the following into a SQL query
What place for "jednom u životu" with a draw larger than 18?
SELECT COUNT Place FROM table WHERE Song = "jednom u životu" AND Draw > 18
Translate the following into a SQL query
What was nominated for the Best Movie category?
SELECT Work FROM table WHERE Category = best movie
Translate the following into a SQL query
Which award did Scream receive a nomination and/or win for in 1997?
SELECT Award FROM table WHERE Work = scream AND Year = 1997
Translate the following into a SQL query
What category was Scream nominated for at the International Horror Guild?
SELECT Category FROM table WHERE Work = scream AND Award = international horror guild
Translate the following into a SQL query
what is the time/retired when the laps is less than 54 and the driver is mark donohue?
SELECT Time/Retired FROM table WHERE Laps < 54 AND Driver = mark donohue
Translate the following into a SQL query
what is the grid when the driver is mario andretti and the laps is less than 54?
SELECT MAX Grid FROM table WHERE Driver = mario andretti AND Laps < 54
Translate the following into a SQL query
how many laps were there when the grid was 24?
SELECT COUNT Laps FROM table WHERE Grid = 24
Translate the following into a SQL query
what is the time/retired when the laps is 6, the grid is less than 18 and the driver is clay regazzoni?
SELECT Time/Retired FROM table WHERE Laps = 6 AND Grid < 18 AND Driver = clay regazzoni
Translate the following into a SQL query
Which class is smaller than 5 and the GWR is 1322–1323?
SELECT Class FROM table WHERE Quantity < 5 AND GWR Nos. = 1322–1323
Translate the following into a SQL query
Whose term expired in 1996 and was from the province of Central Highlands?
SELECT Name FROM table WHERE Province = central highlands AND Term expires = 1996
Translate the following into a SQL query
Ken Wright of the National Party was from which province?
SELECT Province FROM table WHERE Party = national AND Name = ken wright
Translate the following into a SQL query
Which venue hosted a race in 1967?
SELECT Venue FROM table WHERE Year = 1967
Translate the following into a SQL query
Which tournament was held after 1966?
SELECT Tournament FROM table WHERE Year > 1966
Translate the following into a SQL query
Which venue hosted a tournament in 1965?
SELECT Venue FROM table WHERE Year = 1965
Translate the following into a SQL query
What is the result for the best new musical nominee?
SELECT Result FROM table WHERE Nominee = best new musical
Translate the following into a SQL query
How many years does simon baker appear as a nominee?
SELECT COUNT Year FROM table WHERE Nominee = simon baker
Translate the following into a SQL query
What is the Height for Years of Rockets of 2005-06?
SELECT Height in Ft. FROM table WHERE Years for Rockets = 2005-06
Translate the following into a SQL query
What is the Height for Years for Rockets of 2005-06?
SELECT Height in Ft. FROM table WHERE Years for Rockets = 2005-06
Translate the following into a SQL query
What is the Attendance on august 15?
SELECT Attendance FROM table WHERE Date = august 15