instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the winning score in the year 2002?
SELECT Winning score FROM table WHERE Year = 2002
Translate the following into a SQL query
What is the fewest goals of CD Alcoyano with more than 25 points?
SELECT MIN Goals against FROM table WHERE Club = cd alcoyano AND Points > 25
Translate the following into a SQL query
What is the fewest number of wins that had fewer than 7 draws and more than 30 played?
SELECT MIN Wins FROM table WHERE Draws < 7 AND Played > 30
Translate the following into a SQL query
What is the fewest points that has more than 29 goals?
SELECT MIN Points FROM table WHERE Goal Difference > 29
Translate the following into a SQL query
What date have highest 0-4-4 forney locomotive with number larger than 20 and works number larger than 23754?
SELECT MAX Date FROM table WHERE Type = 0-4-4 forney locomotive AND Number > 20 AND Works number > 23754
Translate the following into a SQL query
What is the sum of number with type 0-4-4 forney locomotive, number smaller than 20 and works number of 1251?
SELECT COUNT Date FROM table WHERE Type = 0-4-4 forney locomotive AND Number < 20 AND Works number = 1251
Translate the following into a SQL query
What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
SELECT MIN Attendance FROM table WHERE Time = 3:31 AND Game < 7
Translate the following into a SQL query
What was the sum of attendance for games with a time of 3:23?
SELECT SUM Attendance FROM table WHERE Time = 3:23
Translate the following into a SQL query
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
SELECT MIN Bronze FROM table WHERE Silver = 9 AND Total < 27
Translate the following into a SQL query
What is the To par of the New Zealand Player?
SELECT To par FROM table WHERE Country = new zealand
Translate the following into a SQL query
What Player had a Score of 70-71=141?
SELECT Player FROM table WHERE Score = 70-71=141
Translate the following into a SQL query
What is Ernie Els' Score?
SELECT Score FROM table WHERE Player = ernie els
Translate the following into a SQL query
What was the attendance when Bournemouth was the away team?
SELECT Attendance FROM table WHERE Away team = bournemouth
Translate the following into a SQL query
Who was the away team when Lincoln City was the home team?
SELECT Away team FROM table WHERE Home team = lincoln city
Translate the following into a SQL query
What was the score when Walsall was the away team?
SELECT Score FROM table WHERE Away team = walsall
Translate the following into a SQL query
Which wheels were built 1920?
SELECT Wheels FROM table WHERE Built = 1920
Translate the following into a SQL query
Which builder has a Built smaller than 1880?
SELECT Builder FROM table WHERE Built < 1880
Translate the following into a SQL query
What is Place, when Player is "Mike Souchak"?
SELECT Place FROM table WHERE Player = mike souchak
Translate the following into a SQL query
What is Country, when Place is "T9", and when Player is "Jay Hebert"?
SELECT Country FROM table WHERE Place = t9 AND Player = jay hebert
Translate the following into a SQL query
What is Player, when Place is "T9", and when Score is "73-70=143"?
SELECT Player FROM table WHERE Place = t9 AND Score = 73-70=143
Translate the following into a SQL query
What is Country, when Player is "Dow Finsterwald"?
SELECT Country FROM table WHERE Player = dow finsterwald
Translate the following into a SQL query
What is Score, when Country is "United States", when Place is "T9", and when Player is "Jay Hebert"?
SELECT Score FROM table WHERE Country = united states AND Place = t9 AND Player = jay hebert
Translate the following into a SQL query
What is Score, when To Par is "+1", and when Player is "Mike Souchak"?
SELECT Score FROM table WHERE To Par = +1 AND Player = mike souchak
Translate the following into a SQL query
What is the Score when the Home team is Chicago Black Hawks and the Record is 3-3?
SELECT Score FROM table WHERE Home = chicago black hawks AND Record = 3-3
Translate the following into a SQL query
Which Visitor has a Score of 0-4?
SELECT Visitor FROM table WHERE Score = 0-4
Translate the following into a SQL query
What is the Record for April 22?
SELECT Record FROM table WHERE Date = april 22
Translate the following into a SQL query
Which Date has a Record of 3-4?
SELECT Date FROM table WHERE Record = 3-4
Translate the following into a SQL query
Which Date has a Record of 3-4?
SELECT Date FROM table WHERE Record = 3-4
Translate the following into a SQL query
What is the record for opponent Anna Barone?
SELECT Record FROM table WHERE Opponent = anna barone
Translate the following into a SQL query
What is the record for the Ko (head kick) method?
SELECT Record FROM table WHERE Method = ko (head kick)
Translate the following into a SQL query
What is the time before round 2, and the ko (knee to the body) method?
SELECT Time FROM table WHERE Round < 2 AND Method = ko (knee to the body)
Translate the following into a SQL query
What is the average round for the TKO (punches and elbows) method?
SELECT AVG Round FROM table WHERE Method = tko (punches and elbows)
Translate the following into a SQL query
Who was the opponent in UFC 19?
SELECT Opponent FROM table WHERE Event = ufc 19
Translate the following into a SQL query
Who was the opponent in UFC 66 who lasted for more than 1 round?
SELECT Opponent FROM table WHERE Round > 1 AND Event = ufc 66
Translate the following into a SQL query
What was the 1989 result for the tournament with 1984 of a, 1985 of a, and 1990 of a?
SELECT 1989 FROM table WHERE 1984 = a AND 1985 = a AND 1990 = a
Translate the following into a SQL query
What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A?
SELECT 1987 FROM table WHERE 1989 = a AND 1986 = 3r
Translate the following into a SQL query
What is the 1989 result of the tournament that had a 1987 result of 1R?
SELECT 1989 FROM table WHERE 1987 = 1r
Translate the following into a SQL query
What is the 1989 result for the tournament that had a 1983 and 1987 result of A?
SELECT 1989 FROM table WHERE 1983 = a AND 1987 = a
Translate the following into a SQL query
What was the result fot the UFC 85 event?
SELECT Res. FROM table WHERE Event = ufc 85
Translate the following into a SQL query
In which location did the Meca World Vale Tudo 6 event happen?
SELECT Location FROM table WHERE Event = meca world vale tudo 6
Translate the following into a SQL query
What was his record at the AFC: Brazil 1 event that went 3 rounds?
SELECT Record FROM table WHERE Round = 3 AND Event = afc: brazil 1
Translate the following into a SQL query
Which country has Anselmo Da Silva in lane 2?
SELECT Country FROM table WHERE Lane < 2 AND Name = anselmo da silva
Translate the following into a SQL query
What is the heat number at 7.63, and a reaction less than 0.229?
SELECT COUNT Heat FROM table WHERE Mark = 7.63 AND React < 0.229
Translate the following into a SQL query
What is the verb meaning when part 2 is band?
SELECT Verb meaning FROM table WHERE Part 2 = band
Translate the following into a SQL query
What is the verb meaning when the part 2 is blēot?
SELECT Verb meaning FROM table WHERE Part 2 = blēot
Translate the following into a SQL query
What is the Part 2 when the class is 6?
SELECT Part 2 FROM table WHERE Class = 6
Translate the following into a SQL query
What is the class when the verb meaning is to nourish, to grow?
SELECT Class FROM table WHERE Verb meaning = to nourish, to grow
Translate the following into a SQL query
What is the Part 3 when the Verb meaning is to gather?
SELECT Part 3 FROM table WHERE Verb meaning = to gather
Translate the following into a SQL query
What is the Verb meaning when part 1 is alan?
SELECT Verb meaning FROM table WHERE Part 1 = alan
Translate the following into a SQL query
What is the average attendance for matches where the home team was vida?
SELECT AVG Attendance FROM table WHERE Home = vida
Translate the following into a SQL query
Who was the home team during the match where there were 2709 in attendance?
SELECT Home FROM table WHERE Attendance = 2709
Translate the following into a SQL query
What is the sum of the attendance where the score was 1:1?
SELECT SUM Attendance FROM table WHERE Score = 1:1
Translate the following into a SQL query
Where did montreal visit with more than 24 points and 14,995 attendees?
SELECT Home FROM table WHERE Attendance > 14,995 AND Points > 24 AND Visitor = montreal
Translate the following into a SQL query
How many ties occurred with a score of 2–2?
SELECT Tie no FROM table WHERE Score = 2–2
Translate the following into a SQL query
Who is the home team when Preston North End is the away team?
SELECT Home team FROM table WHERE Away team = preston north end
Translate the following into a SQL query
What school/club did the player who layed shooting guard attend?
SELECT School/Club Team FROM table WHERE Position = shooting guard
Translate the following into a SQL query
What school/club did gerald wilkins attend?
SELECT School/Club Team FROM table WHERE Player = gerald wilkins
Translate the following into a SQL query
What are the years when the grizzlies had a point guard who attended the school/club Florida?
SELECT Years for Grizzlies FROM table WHERE Position = point guard AND School/Club Team = florida
Translate the following into a SQL query
What are the years when the grizzles had a player who attended UCLA?
SELECT Years for Grizzlies FROM table WHERE School/Club Team = ucla
Translate the following into a SQL query
What are the years when the grizzles had a player who attended Villanova?
SELECT Years for Grizzlies FROM table WHERE School/Club Team = villanova
Translate the following into a SQL query
What position did the person who was with the grizzlies in 1998-1999 play?
SELECT Position FROM table WHERE Years for Grizzlies = 1998-1999
Translate the following into a SQL query
What is the date of the game when the opponent is the Cleveland Browns?
SELECT Date FROM table WHERE Opponent = cleveland browns
Translate the following into a SQL query
What is the result of the game when the attendance is 62,078?
SELECT Result FROM table WHERE Attendance = 62,078
Translate the following into a SQL query
What is the result of the game when the attendance is 75,466?
SELECT Result FROM table WHERE Attendance = 75,466
Translate the following into a SQL query
What is the genitive for the ergative shen?
SELECT Genitive FROM table WHERE Ergative = shen
Translate the following into a SQL query
What is the instrumental for the dative shen?
SELECT Instrumental FROM table WHERE Dative = shen
Translate the following into a SQL query
What is the adverbial for the nominative me?
SELECT Adverbial FROM table WHERE Nominative = me
Translate the following into a SQL query
What is the ergative for the dative chven?
SELECT Ergative FROM table WHERE Dative = chven
Translate the following into a SQL query
What is the ergative for the genitive tkven(s)?
SELECT Ergative FROM table WHERE Genitive = tkven(s)
Translate the following into a SQL query
What is the ergative for the dative (i)mas?
SELECT Ergative FROM table WHERE Dative = (i)mas
Translate the following into a SQL query
What is the Front Side Bus for Model Number c3 850?
SELECT Front Side Bus FROM table WHERE Model Number = c3 850
Translate the following into a SQL query
What is the Frequency for Model Number c3 850?
SELECT Frequency FROM table WHERE Model Number = c3 850
Translate the following into a SQL query
Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×?
SELECT Model Number FROM table WHERE Front Side Bus = 100mhz AND L2-Cache = 64kib AND Multiplier = 8.5×
Translate the following into a SQL query
What is the Voltage for Model Number c3 866?
SELECT Voltage FROM table WHERE Model Number = c3 866
Translate the following into a SQL query
What is Finalists, when Tournament is Miami?
SELECT Finalists FROM table WHERE Tournament = miami
Translate the following into a SQL query
What is Tournament, when Week is November 23?
SELECT Tournament FROM table WHERE Week = november 23
Translate the following into a SQL query
What is Semifinalists, when Tournament is Rome
SELECT Semifinalists FROM table WHERE Tournament = rome
Translate the following into a SQL query
What rank were the Buckeyes when there were 68,586 in attendance?
SELECT Rank # FROM table WHERE Attendance = 68,586
Translate the following into a SQL query
What date was the game when 40,000 attended?
SELECT Date FROM table WHERE Attendance = 40,000
Translate the following into a SQL query
What date was the game when 45,943 attended?
SELECT Date FROM table WHERE Attendance = 45,943
Translate the following into a SQL query
Who was the opponent that played against the Buckeyes on October 17?
SELECT Opponent# FROM table WHERE Date = october 17
Translate the following into a SQL query
What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1?
SELECT Result FROM table WHERE Rank # = 1 AND Attendance = 22,555
Translate the following into a SQL query
What Player is from Connecticut?
SELECT Player FROM table WHERE College/Country/Team = connecticut
Translate the following into a SQL query
What is the highest position of the team having played under 10 matches?
SELECT MAX Position FROM table WHERE Played < 10
Translate the following into a SQL query
What is the total number of played values for teams with more than 14 points and more than 1 draw?
SELECT COUNT Played FROM table WHERE Points > 14 AND Drawn > 1
Translate the following into a SQL query
What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played?
SELECT COUNT Position FROM table WHERE Points > 2 AND Lost > 4 AND Played < 10
Translate the following into a SQL query
WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10?
SELECT MIN Televotes FROM table WHERE Performer = biljana dodeva AND Draw > 10
Translate the following into a SQL query
Name the highest Draw which has a Rank of 14, and a Televotes larger than 908?
SELECT MAX Draw FROM table WHERE Rank = 14 AND Televotes > 908
Translate the following into a SQL query
Name the lowest Televotes which has monika sokolovska and a Rank larger than 15?
SELECT MIN Televotes FROM table WHERE Performer = monika sokolovska AND Rank > 15
Translate the following into a SQL query
Name the lowest Draw which has a Performer of kaliopi and a Televotes larger than 3834?
SELECT MIN Draw FROM table WHERE Performer = kaliopi AND Televotes > 3834
Translate the following into a SQL query
What is Total, when Player is "Hale Irwin"?
SELECT Total FROM table WHERE Player = hale irwin
Translate the following into a SQL query
What is Player, when Country is "United States", and when To Par is "WD"?
SELECT Player FROM table WHERE Country = united states AND To par = wd
Translate the following into a SQL query
What is Player, when Total is "154"?
SELECT Player FROM table WHERE Total = 154
Translate the following into a SQL query
What is Player, when Country is "United States", and when Total is "154"?
SELECT Player FROM table WHERE Country = united states AND Total = 154
Translate the following into a SQL query
What is Country, when To Par is "+11"?
SELECT Country FROM table WHERE To par = +11
Translate the following into a SQL query
What is Country, when Player is "Hale Irwin"?
SELECT Country FROM table WHERE Player = hale irwin
Translate the following into a SQL query
What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433?
SELECT MIN Interview FROM table WHERE Country = missouri AND Swimsuit > 9.433
Translate the following into a SQL query
What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733?
SELECT SUM Preliminary FROM table WHERE Interview = 9.654 AND Average < 9.733
Translate the following into a SQL query
What is the sum of Swimsuit scores where the average score is 9.733 and the interview score is higher than 9.654?
SELECT SUM Swimsuit FROM table WHERE Average = 9.733 AND Interview > 9.654
Translate the following into a SQL query
What is the sum of Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733?
SELECT SUM Evening Gown FROM table WHERE Swimsuit > 9.4 AND Average < 9.733