instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the average game that has December 6 as the date?
SELECT AVG Game FROM table WHERE Date = december 6
Translate the following into a SQL query
What is the average game that has December 17 as the date?
SELECT AVG Game FROM table WHERE Date = december 17
Translate the following into a SQL query
Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?
SELECT AVG Total FROM table WHERE Silver = 0 AND Rank = 6 AND Gold < 0
Translate the following into a SQL query
Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?
SELECT MAX Gold FROM table WHERE Bronze > 3 AND Total < 24
Translate the following into a SQL query
Can you tell me the highest Gold that has the Bronze smaller than 1, and the Total larger than 4?
SELECT MAX Gold FROM table WHERE Bronze < 1 AND Total > 4
Translate the following into a SQL query
What is the number of nurses in the region with an HO : Population Ratio of 1:16,791?
SELECT AVG All Nurses FROM table WHERE HO : Population Ratio = 1:16,791
Translate the following into a SQL query
What is the number of physicians in the region with an all nurses number of 91?
SELECT MIN Physician (GP & specialist) FROM table WHERE All Nurses = 91
Translate the following into a SQL query
What is Moving, when Type is "Transfer", and when Name is "Andy Webster"?
SELECT Moving from FROM table WHERE Type = transfer AND Name = andy webster
Translate the following into a SQL query
What is Moving From, when Ends is before 2011?
SELECT Moving from FROM table WHERE Ends < 2011
Translate the following into a SQL query
What was the category that sheridan smith was nominated for in 2011?
SELECT Category FROM table WHERE Year = 2011
Translate the following into a SQL query
What ward was she nominated at for her work, Flare Path for the category of best featured actress in a play?
SELECT Award FROM table WHERE Nominated Work = flare path AND Category = best featured actress in a play
Translate the following into a SQL query
What is the result for the nomination at the Laurence Olivier award in 2009 for best actress in a musical?
SELECT Result FROM table WHERE Category = best actress in a musical AND Award = laurence olivier award AND Year = 2009
Translate the following into a SQL query
What is the lowest attendance when the Atlanta Falcons were the opponent?
SELECT MIN Week FROM table WHERE Opponent = atlanta falcons
Translate the following into a SQL query
What's the departed date for Grimsby Class Sloop?
SELECT Date departed FROM table WHERE Class = grimsby class sloop
Translate the following into a SQL query
What's the departed date that the HMS Leith of the Royal Navy?
SELECT Date departed FROM table WHERE Navy = royal navy AND Name = hms leith
Translate the following into a SQL query
What's the class of the HMS Fowey?
SELECT Class FROM table WHERE Name = hms fowey
Translate the following into a SQL query
What's the class of the HMS Heartsease?
SELECT Class FROM table WHERE Name = hms heartsease
Translate the following into a SQL query
Can you tell me the Record that has the Game larger than 15, and the Opponent of edmonton oilers?
SELECT Record FROM table WHERE Game > 15 AND Opponent = edmonton oilers
Translate the following into a SQL query
Can you tell me the Score that has the Date of 11/17/1979?
SELECT Score FROM table WHERE Date = 11/17/1979
Translate the following into a SQL query
Can you tell me the Opponent that has the Record of 7-7-1?
SELECT Opponent FROM table WHERE Record = 7-7-1
Translate the following into a SQL query
Can you tell me the Score that has the Opponent of at edmonton oilers?
SELECT Score FROM table WHERE Opponent = at edmonton oilers
Translate the following into a SQL query
Can you tell me the Date thay has the Reocrd of 9-10-2?
SELECT Date FROM table WHERE Record = 9-10-2
Translate the following into a SQL query
What is the finishing position for the person who had a grid of 3?
SELECT Fin. Pos FROM table WHERE Grid = 3
Translate the following into a SQL query
Which team had car number 15?
SELECT Team FROM table WHERE Car No. = 15
Translate the following into a SQL query
What is the number of laps completed by the car in grid 10?
SELECT Laps FROM table WHERE Grid = 10
Translate the following into a SQL query
Which driver earned 32 points from the Andretti Green team?
SELECT Driver FROM table WHERE Team = andretti green AND Points = 32
Translate the following into a SQL query
What is the date for the 10b serial?
SELECT Date FROM table WHERE Serial = 10b
Translate the following into a SQL query
What team has less than 64 goals against, 101 goals for, and a Points 2 total of 63?
SELECT Team FROM table WHERE Goals Against < 64 AND Points 2 = 63 AND Goals For = 101
Translate the following into a SQL query
What is the Points 2 average of teams that have played more than 46 games?
SELECT AVG Points 2 FROM table WHERE Played > 46
Translate the following into a SQL query
What is the Mkhedruli symbol for the Asomtavruli ⴒ?
SELECT Mkhedruli FROM table WHERE Asomtavruli = ⴒ
Translate the following into a SQL query
What is the letter name for the Asomtavruli ⴙ?
SELECT Letter name FROM table WHERE Asomtavruli = ⴙ
Translate the following into a SQL query
What is the Phoneme symbol for ⴥ in Nuskhuri?
SELECT Phoneme FROM table WHERE Nuskhuri = ⴥ
Translate the following into a SQL query
What is the Phoneme symbol for the letter name zɛn?
SELECT Phoneme FROM table WHERE Letter name = zɛn
Translate the following into a SQL query
What is teh Nuskhuri symbol for ⴋ in Asomtavruli?
SELECT Nuskhuri FROM table WHERE Asomtavruli = ⴋ
Translate the following into a SQL query
What is the average value for Pick #, when Position is Linebacker, when Player is Bob Bruenig, and when Round is less than 3?
SELECT AVG Pick # FROM table WHERE Position = linebacker AND Player = bob bruenig AND Round < 3
Translate the following into a SQL query
What is the sum of Pick #, when Position is Guard, and when Round is greater than 2?
SELECT SUM Pick # FROM table WHERE Position = guard AND Round > 2
Translate the following into a SQL query
What is the average Round, when Pick # is greater than 70, and when Position is Tackle?
SELECT AVG Round FROM table WHERE Pick # > 70 AND Position = tackle
Translate the following into a SQL query
What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderson?
SELECT MIN Round FROM table WHERE Position = linebacker AND Player = thomas henderson
Translate the following into a SQL query
What is the total number of Pick #, when College is Oklahoma, and when Round is less than 4?
SELECT COUNT Pick # FROM table WHERE College = oklahoma AND Round < 4
Translate the following into a SQL query
Which Team has a Head Coach of michalis pamboris?
SELECT Team FROM table WHERE Head Coach = michalis pamboris
Translate the following into a SQL query
What is umbro's highest capacity?
SELECT MAX Capacity FROM table WHERE Kitmaker = umbro
Translate the following into a SQL query
Which Venue has a Kitmaker of lotto, and a Team of apoel?
SELECT Venue FROM table WHERE Kitmaker = lotto AND Team = apoel
Translate the following into a SQL query
What is the drawn number when there are 58 tries?
SELECT Drawn FROM table WHERE Tries for = 58
Translate the following into a SQL query
What is the played number when the tries against shows correct as of 18:13 26 May 2008?
SELECT Played FROM table WHERE Tries against = correct as of 18:13 26 may 2008
Translate the following into a SQL query
What is the drawn when there are 402 points?
SELECT Drawn FROM table WHERE Points for = 402
Translate the following into a SQL query
What is the try bonus when there are 492 points?
SELECT Try bonus FROM table WHERE Points against = 492
Translate the following into a SQL query
What is the number of points against when the tries against was 53?
SELECT Points against FROM table WHERE Tries against = 53
Translate the following into a SQL query
What is the played number when the points against is 179?
SELECT Played FROM table WHERE Points against = 179
Translate the following into a SQL query
what total made has a percent made greater than 0.166 and a 3pm-a of 3-5
SELECT MAX Total Made FROM table WHERE Percent Made > 0.166 AND 3PM-A = 3-5
Translate the following into a SQL query
what is the total made with a 3pm-a of 5-5 and a total attempted less than 14
SELECT SUM Total Made FROM table WHERE 3PM-A = 5-5 AND Total Attempted < 14
Translate the following into a SQL query
what is the total series percent that has total attempted less than 49, and a percent made of 0.777
SELECT COUNT Series Percent FROM table WHERE Total Attempted < 49 AND Percent Made = 0.777
Translate the following into a SQL query
what is the total attempted with a total made 16
SELECT COUNT Total Attempted FROM table WHERE Total Made = 16
Translate the following into a SQL query
What is the sum of District, when Took Office is greater than 1981, and when Senator is Cyndi Taylor Krier?
SELECT SUM District FROM table WHERE Took Office > 1981 AND Senator = cyndi taylor krier
Translate the following into a SQL query
What is Party, when District is less than 10, when Took Office is less than 1991, and when Home Town is Mount Pleasant?
SELECT Party FROM table WHERE District < 10 AND Took Office < 1991 AND Home Town = mount pleasant
Translate the following into a SQL query
What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when District is greater than 23?
SELECT MIN Took Office FROM table WHERE Senator = eddie bernice johnson AND District > 23
Translate the following into a SQL query
In which period did Stanislav Chistov get a penalty?
SELECT Period FROM table WHERE Player = stanislav chistov
Translate the following into a SQL query
What was a penalty given for at time 29:17?
SELECT Penalty FROM table WHERE Time = 29:17
Translate the following into a SQL query
What team was the player that received a penalty at time 32:17 playing for?
SELECT Team FROM table WHERE Time = 32:17
Translate the following into a SQL query
What team was Ryan Callahan, who received a penalty for roughing, playing for?
SELECT Team FROM table WHERE Penalty = roughing AND Player = ryan callahan
Translate the following into a SQL query
Who was the head coach when the opponent was Arsenal?
SELECT Head coach FROM table WHERE Opponent = arsenal
Translate the following into a SQL query
Who was the opponent when the head coach was B. Sathianathan?
SELECT Opponent FROM table WHERE Head coach = b. sathianathan
Translate the following into a SQL query
When was the opponent Arsenal?
SELECT Date FROM table WHERE Opponent = arsenal
Translate the following into a SQL query
What was the result when the opponent was Arsenal?
SELECT Result FROM table WHERE Opponent = arsenal
Translate the following into a SQL query
What is the highest neutral losses of the institution with 0 neutral wins, 0 home losses, and less than 0 away losses?
SELECT MAX Neutral Losses FROM table WHERE Neutral Wins = 0 AND Home Losses = 0 AND Away Losses < 0
Translate the following into a SQL query
What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins?
SELECT SUM Home Wins FROM table WHERE Institution = boston college eagles AND Wins > 6
Translate the following into a SQL query
What is the highest number of home wins of the institution with 0 away losses and more than 6 wins?
SELECT MAX Home Wins FROM table WHERE Away Losses = 0 AND Wins > 6
Translate the following into a SQL query
What is the highest number of neutral losses of the Florida State Seminoles, which has less than 5 away losses?
SELECT MAX Neutral Losses FROM table WHERE Institution = florida state seminoles AND Away Losses < 5
Translate the following into a SQL query
What is the highest number of wins of the institution with more than 0 neutral wins and less than 2 away wins?
SELECT MAX Wins FROM table WHERE Neutral Wins > 0 AND Away Wins < 2
Translate the following into a SQL query
What is the Record when Evangelista Cyborg was the opponent?
SELECT Record FROM table WHERE Opponent = evangelista cyborg
Translate the following into a SQL query
What is the Method for Brazil?
SELECT Method FROM table WHERE Location = brazil
Translate the following into a SQL query
What round was the method submission (punches)?
SELECT COUNT Round FROM table WHERE Method = submission (punches)
Translate the following into a SQL query
What is the method when the record was 3-2?
SELECT Method FROM table WHERE Record = 3-2
Translate the following into a SQL query
What is the method when the round shows 3?
SELECT Method FROM table WHERE Round = 3
Translate the following into a SQL query
What was the run 3 for the team in rank 12?
SELECT Run 3 FROM table WHERE Rank = 12
Translate the following into a SQL query
What was the run 3 for the team with a run 1 of 1:17.6?
SELECT Run 3 FROM table WHERE Run 1 = 1:17.6
Translate the following into a SQL query
What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:23.0?
SELECT Rank FROM table WHERE Run 2 = 1:20.8 AND Run 4 = 1:23.0
Translate the following into a SQL query
What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of 1:23.0?
SELECT Run 1 FROM table WHERE Run 3 = 1:21.4 AND Run 4 = 1:23.0
Translate the following into a SQL query
Which team had a run 4 of 1:24.4?
SELECT Team FROM table WHERE Run 4 = 1:24.4
Translate the following into a SQL query
What is the Attendance at the game against the Oakland Raiders?
SELECT Attendance FROM table WHERE Opponent = oakland raiders
Translate the following into a SQL query
What was the Attendance in Week 10?
SELECT Attendance FROM table WHERE Week = 10
Translate the following into a SQL query
Which Principal activities have an Incorporated in of france?
SELECT Principal activities FROM table WHERE Incorporated in = france
Translate the following into a SQL query
Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?
SELECT Type FROM table WHERE Incorporated in = netherlands AND Principal activities = airline AND Company = transavia.com
Translate the following into a SQL query
Which Group's Equity Shareholding has a Company of epcor?
SELECT Group's Equity Shareholding FROM table WHERE Company = epcor
Translate the following into a SQL query
Which Incorporated in has a Group's Equity Shareholding of 100%, and a Principal activities of flight academy?
SELECT Incorporated in FROM table WHERE Group's Equity Shareholding = 100% AND Principal activities = flight academy
Translate the following into a SQL query
Which Type has a Company of epcor?
SELECT Type FROM table WHERE Company = epcor
Translate the following into a SQL query
Which Type has a Principal activities of health services?
SELECT Type FROM table WHERE Principal activities = health services
Translate the following into a SQL query
What is the 2F of she khae?
SELECT 2 (F) FROM table WHERE 3 (F) = she khae
Translate the following into a SQL query
If 2F is tumi khao, what is 3F?
SELECT 3 (F) FROM table WHERE 2 (F) = tumi khao
Translate the following into a SQL query
For the verb dhoa, what is the 2VF?
SELECT 2 (VF) FROM table WHERE Verb = dhoa
Translate the following into a SQL query
What is the name of the subject who ran in the general election for Queen Anne's County State's Attorney?
SELECT Subject FROM table WHERE Election = general AND Office = queen anne's county state's attorney
Translate the following into a SQL query
Who was the writer of The Year of the Cat from the BBV?
SELECT Writer FROM table WHERE Company = bbv AND Title = the year of the cat
Translate the following into a SQL query
How many Goals For have Drawn of 10?
SELECT COUNT Goals For FROM table WHERE Drawn = 10
Translate the following into a SQL query
Which Lost has Drawn larger than 12, and Goals Against of 54?
SELECT MAX Lost FROM table WHERE Drawn > 12 AND Goals Against = 54
Translate the following into a SQL query
What is the record for the Superbrawl 21?
SELECT Record FROM table WHERE Event = superbrawl 21
Translate the following into a SQL query
What location shows round was 1, and against Ricky Shivers?
SELECT Location FROM table WHERE Round = 1 AND Opponent = ricky shivers
Translate the following into a SQL query
What is the method for a match with a Round larger than 2, he took a loss, and 15–3 was the record?
SELECT Method FROM table WHERE Round > 2 AND Res. = loss AND Record = 15–3
Translate the following into a SQL query
Which Position has a Pick of 11 (via calgary)?
SELECT Position FROM table WHERE Pick = 11 (via calgary)
Translate the following into a SQL query
Which Round has a Pick of 25 (via hamilton)?
SELECT SUM Round FROM table WHERE Pick = 25 (via hamilton)
Translate the following into a SQL query
Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?
SELECT School/Club Team FROM table WHERE Round > 3 AND Player = sammy okpro
Translate the following into a SQL query
Which Round has a Player of sammy okpro?
SELECT AVG Round FROM table WHERE Player = sammy okpro