instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is Mark Joseph Kong's pick?
SELECT AVG Pick FROM table WHERE Player = mark joseph kong
Translate the following into a SQL query
What PBA team is the player from Ateneo college with a pick number smaller than 15 from?
SELECT PBA team FROM table WHERE Pick < 15 AND College = ateneo
Translate the following into a SQL query
What pick number is Larry Fonacier?
SELECT Pick FROM table WHERE Player = larry fonacier
Translate the following into a SQL query
what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?
SELECT SUM Rating FROM table WHERE Rank (timeslot) < 3 AND Rank (night) < 8
Translate the following into a SQL query
what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?
SELECT AVG Rank (night) FROM table WHERE Rating > 4.3 AND Viewers (millions) > 10.72
Translate the following into a SQL query
When was Windy Hill used as a venue?
SELECT Date FROM table WHERE Venue = windy hill
Translate the following into a SQL query
Which home team plays at VFL Park?
SELECT Home team FROM table WHERE Venue = vfl park
Translate the following into a SQL query
Which team plays against Footscray as the home team?
SELECT Home team FROM table WHERE Away team = footscray
Translate the following into a SQL query
What is the total audience on may 28?
SELECT SUM Attendance FROM table WHERE Date = may 28
Translate the following into a SQL query
What was the the total top attendance with a score of 0 – 4?
SELECT MAX Attendance FROM table WHERE Score = 0 – 4
Translate the following into a SQL query
How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?
SELECT SUM Allsvenskan titles FROM table WHERE Stars symbolizes = number of swedish championship titles AND Club = aik AND Introduced > 2000
Translate the following into a SQL query
What is the highest amount of swedish championship titles for the team that was introduced before 2006?
SELECT MAX Swedish championship titles FROM table WHERE Introduced < 2006
Translate the following into a SQL query
What is the average reception of the player with 4 touchdowns and less than 171 yards?
SELECT AVG Rec. FROM table WHERE TD's = 4 AND Yards < 171
Translate the following into a SQL query
What is the average that has more than 0 touchdowns and more than 135 yards?
SELECT Avg. FROM table WHERE TD's > 0 AND Yards > 135
Translate the following into a SQL query
What is the record loss of R. Springer?
SELECT Record FROM table WHERE Loss = r. springer
Translate the following into a SQL query
What was the streak on April 12?
SELECT Streak FROM table WHERE Date = april 12
Translate the following into a SQL query
What was the date of A. Benes loss to the Rockies?
SELECT Date FROM table WHERE Loss = a. benes AND Opponent = rockies
Translate the following into a SQL query
Which streak had an attendance of 33,013?
SELECT Streak FROM table WHERE Attendance = 33,013
Translate the following into a SQL query
What was the partnership in the season of 1928
SELECT Wicket Partnership FROM table WHERE Season = 1928
Translate the following into a SQL query
What are the earnings for jim colbert with under 4 wins?
SELECT COUNT Earnings ( $ ) FROM table WHERE Player = jim colbert AND Wins < 4
Translate the following into a SQL query
What is the ranking for the player with under 34 events and earnings of $1,444,386
SELECT MAX Rank FROM table WHERE Earnings ( $ ) = 1,444,386 AND Events < 34
Translate the following into a SQL query
How many events for bob murphy?
SELECT MAX Events FROM table WHERE Player = bob murphy
Translate the following into a SQL query
What is the rank for bob murphy with under 4 wins?
SELECT COUNT Rank FROM table WHERE Player = bob murphy AND Wins < 4
Translate the following into a SQL query
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
SELECT SUM Apps FROM table WHERE Club = flamengo AND Season = 2009 AND Goals > 0
Translate the following into a SQL query
In the 2010 season what club has 0 goals and more than 0 Apps?
SELECT Club FROM table WHERE Goals = 0 AND Apps > 0 AND Season = 2010
Translate the following into a SQL query
What Round is the Event cage rage 17?
SELECT Round FROM table WHERE Event = cage rage 17
Translate the following into a SQL query
What Event is at the Time 1:16?
SELECT Event FROM table WHERE Time = 1:16
Translate the following into a SQL query
What is the title of the track after 11?
SELECT Title FROM table WHERE Track > 11
Translate the following into a SQL query
On the title feature brad mehldau as the performer, what is the original album?
SELECT Original Album FROM table WHERE Performer = brad mehldau
Translate the following into a SQL query
Which track has the original album turbulent indigo?
SELECT AVG Track FROM table WHERE Original Album = turbulent indigo
Translate the following into a SQL query
What Utah Jazz player played Center?
SELECT Player FROM table WHERE Position = center
Translate the following into a SQL query
What is the nationality of all Utah Jazz Players, that played 1987-88?
SELECT Nationality FROM table WHERE Years for Jazz = 1987-88
Translate the following into a SQL query
What is the nationality of all Utah Jazz Players, that played 2011-present?
SELECT Nationality FROM table WHERE Years for Jazz = 2011-present
Translate the following into a SQL query
What Utah Jazz Forward played for Southern Methodist?
SELECT Player FROM table WHERE Position = forward AND School/Club Team = southern methodist
Translate the following into a SQL query
What years did the Utah Jazz Player from Southern Methodist, Play?
SELECT Years for Jazz FROM table WHERE School/Club Team = southern methodist
Translate the following into a SQL query
Who was the home team at MCG?
SELECT Home team FROM table WHERE Venue = mcg
Translate the following into a SQL query
Who was Carlton's away team opponents?
SELECT Away team FROM table WHERE Home team = carlton
Translate the following into a SQL query
What was home team South Melbourne's opponents score?
SELECT Away team score FROM table WHERE Home team = south melbourne
Translate the following into a SQL query
What player has under 357 assists and is from 2001?
SELECT Player FROM table WHERE Asts < 357 AND From = 2001
Translate the following into a SQL query
When the Attendance was 4,516, what was the Record?
SELECT Record FROM table WHERE Attendance = 4,516
Translate the following into a SQL query
When the Score was 4-10, what was the Attendance?
SELECT Attendance FROM table WHERE Score = 4-10
Translate the following into a SQL query
With a Record of 9-24, what was the Score?
SELECT Score FROM table WHERE Record = 9-24
Translate the following into a SQL query
When the Score was 6-2, which Opponent was played?
SELECT Opponent FROM table WHERE Score = 6-2
Translate the following into a SQL query
On what Date was the Attendance 16,212?
SELECT Date FROM table WHERE Attendance = 16,212
Translate the following into a SQL query
What was the Attendance on May 12, when the New York Yankees were the Opponent?
SELECT Attendance FROM table WHERE Opponent = new york yankees AND Date = may 12
Translate the following into a SQL query
Which Venue has a Home team score of 22.13 (145)?
SELECT Venue FROM table WHERE Home team score = 22.13 (145)
Translate the following into a SQL query
Which Date has a Venue of junction oval?
SELECT Date FROM table WHERE Venue = junction oval
Translate the following into a SQL query
Which total number of Crowd has a Home team of melbourne?
SELECT COUNT Crowd FROM table WHERE Home team = melbourne
Translate the following into a SQL query
What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?
SELECT MIN 1st Prize( $ ) FROM table WHERE Location = florida AND Score = 200 (-16)
Translate the following into a SQL query
Which grid has a time/retired of +27.347?
SELECT COUNT Grid FROM table WHERE Time/Retired = +27.347
Translate the following into a SQL query
Who was the Singles Champions in Trieste, Italy?
SELECT Singles champions FROM table WHERE Country = italy AND City = trieste
Translate the following into a SQL query
On what Surface will the Venezuela F5 Futures in Caracas be played?
SELECT Surface FROM table WHERE City = caracas AND Tournament = venezuela f5 futures
Translate the following into a SQL query
What is the type of Surface for the New Zealand F1 Futures Tournament?
SELECT Surface FROM table WHERE Tournament = new zealand f1 futures
Translate the following into a SQL query
In what Country will Dennis Blömke play the Germany F13 Futures Tournament?
SELECT Country FROM table WHERE Singles champions = dennis blömke AND Tournament = germany f13 futures
Translate the following into a SQL query
On what Date will the Argentina F17 Futures Tournament be played in Argentina?
SELECT Date FROM table WHERE Country = argentina AND Tournament = argentina f17 futures
Translate the following into a SQL query
What are the average laps for jackie stewart?
SELECT AVG Laps FROM table WHERE Driver = jackie stewart
Translate the following into a SQL query
When did the away team have a score of 11.14 (80)?
SELECT Date FROM table WHERE Away team score = 11.14 (80)
Translate the following into a SQL query
Which was the home team that had an opponent have a score of 11.6 (72)?
SELECT Home team score FROM table WHERE Away team score = 11.6 (72)
Translate the following into a SQL query
What is the result in fort lauderdale, florida?
SELECT Result FROM table WHERE Venue = fort lauderdale, florida
Translate the following into a SQL query
What venue had less than 2 goals?
SELECT Venue FROM table WHERE Goal < 2
Translate the following into a SQL query
What was the attendance when Fitzroy played as the away team?
SELECT AVG Crowd FROM table WHERE Away team = fitzroy
Translate the following into a SQL query
Who was the trainer with Robert Courtney was owner?
SELECT Trainer FROM table WHERE Owner = robert courtney
Translate the following into a SQL query
What year was Jeff Mullins?
SELECT MIN Year FROM table WHERE Trainer = jeff mullins
Translate the following into a SQL query
In what grid did Richard Robarts make 36 laps?
SELECT SUM Grid FROM table WHERE Driver = richard robarts AND Laps < 36
Translate the following into a SQL query
How many laps were completed in grid 18?
SELECT SUM Laps FROM table WHERE Grid = 18
Translate the following into a SQL query
What was the venue where the result was 12th?
SELECT Venue FROM table WHERE Result = 12th
Translate the following into a SQL query
What species has more than 2,030 genes?
SELECT Species FROM table WHERE Genes > 2,030
Translate the following into a SQL query
How many genes in the species Rubrobacter Xylanophilus?
SELECT Genes FROM table WHERE Species = rubrobacter xylanophilus
Translate the following into a SQL query
What is the lowest number of genes in Rubrobacter Xylanophilus?
SELECT MIN Genes FROM table WHERE Species = rubrobacter xylanophilus
Translate the following into a SQL query
What is the average number of base pairs with 784 genes?
SELECT AVG Base Pairs FROM table WHERE Genes = 784
Translate the following into a SQL query
What is the lowest number of genes with less than 927,303 base pairs in Acidobacteria Bacterium?
SELECT MIN Genes FROM table WHERE Base Pairs < 927,303 AND Species = acidobacteria bacterium
Translate the following into a SQL query
How many points are obtained when a standing broad jump is 207-215 cm?
SELECT COUNT Points FROM table WHERE Standing Broad Jump (cm) = 207-215
Translate the following into a SQL query
How many points are there, when the grade is A?
SELECT MAX Points FROM table WHERE Grade = a
Translate the following into a SQL query
If a person does 3 chin-up reps, what grade do they obtain?
SELECT Grade FROM table WHERE Chin-up (reps) = 3
Translate the following into a SQL query
How many seconds is a shuttle run that give 2 points?
SELECT Shuttle Run (sec) FROM table WHERE Points = 2
Translate the following into a SQL query
Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza
SELECT Outgoing Manager FROM table WHERE Manner of Departure = resigned AND Team = real zaragoza AND Replaced By = manolo villanova
Translate the following into a SQL query
Name the replaced by for racing santander
SELECT Replaced By FROM table WHERE Team = racing santander
Translate the following into a SQL query
What Grid had 14 laps completed?
SELECT AVG Grid FROM table WHERE Laps = 14
Translate the following into a SQL query
What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?
SELECT MIN Grid FROM table WHERE Laps = 25 AND Manufacturer = honda AND Time/Retired = +54.103
Translate the following into a SQL query
How many laps were timed at +1:02.315?
SELECT COUNT Laps FROM table WHERE Time/Retired = +1:02.315
Translate the following into a SQL query
What is the points ranking of Chicago Fire?
SELECT Pts Rank FROM table WHERE Club = chicago fire
Translate the following into a SQL query
Who is the opponent with a time of 1:16?
SELECT Opponent FROM table WHERE Time = 1:16
Translate the following into a SQL query
What round has a method of submission?
SELECT Round FROM table WHERE Method = submission
Translate the following into a SQL query
Which competition did he win on August 15, 2012?
SELECT Competition FROM table WHERE Result = win AND Date = august 15, 2012
Translate the following into a SQL query
Where was the competition on August 15, 2012?
SELECT Venue FROM table WHERE Date = august 15, 2012
Translate the following into a SQL query
When was the competition that had a score of 3-0?
SELECT Date FROM table WHERE Score = 3-0
Translate the following into a SQL query
What was the result of the UEFA Euro 2008 Qualifying competition?
SELECT Result FROM table WHERE Competition = uefa euro 2008 qualifying
Translate the following into a SQL query
What nationality is Steven Anthony?
SELECT Nationality FROM table WHERE Player = steven anthony
Translate the following into a SQL query
What is the highest pick number from Slovakia?
SELECT MAX Pick # FROM table WHERE Nationality = slovakia
Translate the following into a SQL query
What is the lowest pick number for the Russian Major League?
SELECT MIN Pick # FROM table WHERE League from = russian major league
Translate the following into a SQL query
What team is from the Russian Major League?
SELECT Position FROM table WHERE League from = russian major league
Translate the following into a SQL query
Which league has a pick number larger than 204 from Canada and LW as the position?
SELECT League from FROM table WHERE Pick # > 204 AND Nationality = canada AND Position = lw
Translate the following into a SQL query
Who is the player from Aurillac?
SELECT Player FROM table WHERE Club/province = aurillac
Translate the following into a SQL query
Where did the away team score 13.14 (92)?
SELECT Venue FROM table WHERE Away team score = 13.14 (92)
Translate the following into a SQL query
what is the points when the rank is more than 1 and the places is 33?
SELECT Points FROM table WHERE Rank > 1 AND Places = 33
Translate the following into a SQL query
what is the highest rank for east germany with points of 128.98 and places less than 70?
SELECT MAX Rank FROM table WHERE Nation = east germany AND Points = 128.98 AND Places < 70
Translate the following into a SQL query
what is the points for rank 12?
SELECT SUM Points FROM table WHERE Rank = 12
Translate the following into a SQL query
Which team has an away score of 15.9 (99)?
SELECT Away team FROM table WHERE Away team score = 15.9 (99)
Translate the following into a SQL query
Which team has a home team score of 17.12 (114)?
SELECT Away team score FROM table WHERE Home team score = 17.12 (114)
Translate the following into a SQL query
Which home team score has an Away team score of 15.9 (99)?
SELECT Home team score FROM table WHERE Away team score = 15.9 (99)