instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the team when the college is virginia tech?
SELECT Team FROM table WHERE College = virginia tech
Translate the following into a SQL query
What college has a team of new york jets?
SELECT College FROM table WHERE Team = new york jets
Translate the following into a SQL query
What team has a pick larger than 30, when the college is saginaw valley state?
SELECT Team FROM table WHERE Pick > 30 AND College = saginaw valley state
Translate the following into a SQL query
What is the highest pick when the college is saginaw valley state?
SELECT MAX Pick FROM table WHERE College = saginaw valley state
Translate the following into a SQL query
what is the record when the opponent is akiko inoue?
SELECT Record FROM table WHERE Opponent = akiko inoue
Translate the following into a SQL query
what is the even when the location is tokyo, japan and the record is 6-1?
SELECT Event FROM table WHERE Location = tokyo, japan AND Record = 6-1
Translate the following into a SQL query
Which range includes Mount Fukushima, and is ranked 38?
SELECT Range FROM table WHERE Name = mount fukushima AND Rank = 38
Translate the following into a SQL query
What is the altitude (meters) is associated with the Name Mount Launoit, with the range as Belgica Mountains?
SELECT SUM Altitude (meters) FROM table WHERE Range = belgica mountains AND Name = mount launoit
Translate the following into a SQL query
What is the Altitude (meters) associated with a rank smaller than 10, and the range Mühlig-Hofmann Mountains?
SELECT COUNT Altitude (meters) FROM table WHERE Range = mühlig-hofmann mountains AND Rank < 10
Translate the following into a SQL query
What name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?
SELECT Name FROM table WHERE Range = sivorgfjella AND Rank > 69 AND Altitude (meters) < 2154
Translate the following into a SQL query
What name is associated with a rank of less than 24, and an altitude (meters) of 3085?
SELECT Name FROM table WHERE Rank < 24 AND Altitude (meters) = 3085
Translate the following into a SQL query
What is the primary conference with a IHSAA Football Class of A, at South Decatur school?
SELECT Primary Conference FROM table WHERE IHSAA Football Class = a AND School = south decatur
Translate the following into a SQL query
What is the Location with a county of 30 Hancock?
SELECT Location FROM table WHERE County = 30 hancock
Translate the following into a SQL query
What county has an IHSAA Football Class of A, and a Mascot of royals?
SELECT County FROM table WHERE IHSAA Football Class = a AND Mascot = royals
Translate the following into a SQL query
What school has a county of 69 ripley?
SELECT School FROM table WHERE County = 69 ripley
Translate the following into a SQL query
What is the enrollment for the school with the mascot of the Fighting '59ers?
SELECT Enrollment FROM table WHERE Mascot = fighting '59ers
Translate the following into a SQL query
What nation has a total less than 2, silver of 1 and bronze less than 1?
SELECT Nation FROM table WHERE Total < 2 AND Bronze < 1 AND Silver = 1
Translate the following into a SQL query
What's the total with silver being less than 0, less than 1 gold, and 3 bronze?
SELECT SUM Total FROM table WHERE Bronze = 3 AND Gold < 1 AND Silver < 0
Translate the following into a SQL query
What's Australia's time in the heat more than 4?
SELECT Time FROM table WHERE Heat > 4 AND Nationality = australia
Translate the following into a SQL query
What's Sara Isakovič's lane number that had a heat of 3?
SELECT SUM Lane FROM table WHERE Heat = 3 AND Name = sara isakovič
Translate the following into a SQL query
What's the heat that was timed 2:08.54?
SELECT COUNT Heat FROM table WHERE Time = 2:08.54
Translate the following into a SQL query
Who is the Director of Fish Tales?
SELECT Director FROM table WHERE Title = fish tales
Translate the following into a SQL query
What was released on 1936-08-29?
SELECT Title FROM table WHERE Release date = 1936-08-29
Translate the following into a SQL query
What is the release date of Milk and Money?
SELECT Release date FROM table WHERE Title = milk and money
Translate the following into a SQL query
What is the release date of I Wanna Play House?
SELECT Release date FROM table WHERE Title = i wanna play house
Translate the following into a SQL query
Who is the director of Little Beau Porky?
SELECT Director FROM table WHERE Title = little beau porky
Translate the following into a SQL query
What is the release date of The Blow Out?
SELECT Release date FROM table WHERE Title = the blow out
Translate the following into a SQL query
Who was the author for company Buzz Productions Theater?
SELECT author FROM table WHERE company = buzz productions theater
Translate the following into a SQL query
What country had the play Cyclops?
SELECT country FROM table WHERE play = cyclops
Translate the following into a SQL query
What country had the play Medea?
SELECT country FROM table WHERE play = medea
Translate the following into a SQL query
What play is from the country Belgium?
SELECT play FROM table WHERE country = belgium
Translate the following into a SQL query
What play has a base of Athens and was written by Aeschylus?
SELECT play FROM table WHERE author = aeschylus AND base = athens
Translate the following into a SQL query
What is the company from Greece with author Aeschylus?
SELECT company FROM table WHERE country = greece AND author = aeschylus
Translate the following into a SQL query
What is the coaster name that was opened in 1978, and have wooden track?
SELECT Coaster Name FROM table WHERE Year Opened = 1978 AND Track = wooden
Translate the following into a SQL query
Which year opened has le monstre coaster?
SELECT Year Opened FROM table WHERE Coaster Name = le monstre
Translate the following into a SQL query
Which coaster is located in sandusky, Ohio?
SELECT Coaster Name FROM table WHERE Location = sandusky, ohio
Translate the following into a SQL query
Which year opened is located in west mifflin, pennsylvania?
SELECT Year Opened FROM table WHERE Location = west mifflin, pennsylvania
Translate the following into a SQL query
What is the lowest league cup goals for the entry with fa cup goals greater than 0 and FA cup apps larger than 2?
SELECT MIN League Cup Goals FROM table WHERE FA Cup Goals > 0 AND FA Cup Apps > 2
Translate the following into a SQL query
What is the sum of league cup appearances for the players with FA cup goals larger than 0 and FA cup appearances less than 2?
SELECT SUM League Cup Apps FROM table WHERE FA Cup Goals > 0 AND FA Cup Apps < 2
Translate the following into a SQL query
What is the highest league cup appearances for the player with league cup goals of 0, and FA cup appearances of 2, and 4 league goals?
SELECT MAX League Cup Apps FROM table WHERE League Cup Goals = 0 AND FA Cup Apps = 2 AND League Goals = 4
Translate the following into a SQL query
What game was played at Omni Coliseum with a w 105-95 score?
SELECT Game FROM table WHERE Location Attendance = omni coliseum AND Score = w 105-95
Translate the following into a SQL query
When did the team have a 10-8 record?
SELECT Date FROM table WHERE Record = 10-8
Translate the following into a SQL query
When was 11-8 the record?
SELECT Date FROM table WHERE Record = 11-8
Translate the following into a SQL query
What is the total number for the position that has less than 2 draws, less than 9 losses and more than 24?
SELECT COUNT Position FROM table WHERE Drawn < 2 AND Lost < 9 AND Points > 24
Translate the following into a SQL query
What is the highest played with more than 0 draws, less than 3 losses, and less than 27 points?
SELECT MAX Played FROM table WHERE Drawn > 0 AND Lost < 3 AND Points < 27
Translate the following into a SQL query
What is the total number played with 8 points and a position more than 6?
SELECT COUNT Played FROM table WHERE Points = 8 AND Position > 6
Translate the following into a SQL query
What is the total number played with 1 drawn, and less than 7 points?
SELECT COUNT Played FROM table WHERE Drawn = 1 AND Points < 7
Translate the following into a SQL query
What is the most silver when bronze is more than 1 and total is more than 48?
SELECT MAX Silver FROM table WHERE Bronze > 1 AND Total > 48
Translate the following into a SQL query
what is the most bronze when the total is 9?
SELECT MAX Bronze FROM table WHERE Total = 9
Translate the following into a SQL query
what is the least bronze when the nation is soviet union and the total is less than 11?
SELECT MIN Bronze FROM table WHERE Nation = soviet union AND Total < 11
Translate the following into a SQL query
What is the category when Hy Conrad nominated in 2003?
SELECT Category FROM table WHERE Nominee(s) = hy conrad AND Year = 2003
Translate the following into a SQL query
What is the long figure when gain is less than 0?
SELECT AVG Long FROM table WHERE Gain < 0
Translate the following into a SQL query
What is the loss when the average/gain is less than 16.7, gain is 104 and long is larger than 4?
SELECT AVG Loss FROM table WHERE Avg/G < 16.7 AND Long > 4 AND Gain = 104
Translate the following into a SQL query
What is the time for Estonia with sc/d notes?
SELECT Time FROM table WHERE Notes = sc/d AND Country = estonia
Translate the following into a SQL query
What is the time for the rank after 5 with sc/d notes?
SELECT Time FROM table WHERE Notes = sc/d AND Rank > 5
Translate the following into a SQL query
What was Law Hiu Fung's time?
SELECT Time FROM table WHERE Athlete = law hiu fung
Translate the following into a SQL query
What is the time for the rank after 5 with sc/d notes?
SELECT Time FROM table WHERE Notes = sc/d AND Rank > 5
Translate the following into a SQL query
What is the highest rank for a 6:52.70 time and notes of sa/b?
SELECT MAX Rank FROM table WHERE Notes = sa/b AND Time = 6:52.70
Translate the following into a SQL query
What is the lowest rank that has paul biedermann as the name?
SELECT MIN Rank FROM table WHERE Name = paul biedermann
Translate the following into a SQL query
What nationality has 2 as the rank?
SELECT Nationality FROM table WHERE Rank = 2
Translate the following into a SQL query
What is the highest lane that has nimrod shapira bar-or as the name?
SELECT MAX Lane FROM table WHERE Name = nimrod shapira bar-or
Translate the following into a SQL query
What is the latest year they were nominated?
SELECT MAX Year FROM table WHERE Result = nominated
Translate the following into a SQL query
What is the result of the choice tv actor: drama category?
SELECT Result FROM table WHERE Category = choice tv actor: drama
Translate the following into a SQL query
Which Drawn has a Position smaller than 8, and a Played smaller than 14?
SELECT MAX Drawn FROM table WHERE Position < 8 AND Played < 14
Translate the following into a SQL query
Which Points have a Drawn smaller than 2, and a Lost of 12, and a Name of ev bad wörishofen?
SELECT MAX Points FROM table WHERE Drawn < 2 AND Lost = 12 AND Name = ev bad wörishofen
Translate the following into a SQL query
What place did Lee Westwood finish in?
SELECT Place FROM table WHERE Player = lee westwood
Translate the following into a SQL query
What is the to par score of the player that had a score of 67-68=135?
SELECT To par FROM table WHERE Score = 67-68=135
Translate the following into a SQL query
What Televote Points had a Final Points score of 2?
SELECT Televote Points FROM table WHERE Final Points = 2
Translate the following into a SQL query
Which Draw had 8 Televote Points?
SELECT COUNT Draw FROM table WHERE Televote Points = 8
Translate the following into a SQL query
What was the Jury Points value when there were 3 Televote Points?
SELECT Jury Points FROM table WHERE Televote Points = 3
Translate the following into a SQL query
Which player was +4 to par and won the Open in 1995?
SELECT Player FROM table WHERE To par = +4 AND Year(s) won = 1995
Translate the following into a SQL query
Which player has a to par of +8?
SELECT Player FROM table WHERE To par = +8
Translate the following into a SQL query
What country is ranked smaller than 2?
SELECT Country FROM table WHERE Rank < 2
Translate the following into a SQL query
What is the rank when the time is 6:50.48?
SELECT Rank FROM table WHERE Time = 6:50.48
Translate the following into a SQL query
What is the highest rank with the notes of sa/b, and a time of 6:39.07?
SELECT MAX Rank FROM table WHERE Notes = sa/b AND Time = 6:39.07
Translate the following into a SQL query
What shows for notes when rank is more than 4, and country is South Korea?
SELECT Notes FROM table WHERE Rank > 4 AND Country = south korea
Translate the following into a SQL query
What is the First Issue date of Bamboo Blade?
SELECT First Issue FROM table WHERE Title = bamboo blade
Translate the following into a SQL query
What is the First issue date of the title with a Last Issue of July 2010?
SELECT First Issue FROM table WHERE Last Issue = july 2010
Translate the following into a SQL query
What is the First Issue date of Soul Eater?
SELECT First Issue FROM table WHERE Title = soul eater
Translate the following into a SQL query
Was the Title with a Last Issue of July 2010 completed?
SELECT Completed? FROM table WHERE Last Issue = july 2010
Translate the following into a SQL query
What is the Author of the Title with a First Issue of September 2010?
SELECT Author FROM table WHERE First Issue = september 2010
Translate the following into a SQL query
What is the Author of the Title with an Ongoing Last Issue?
SELECT Author FROM table WHERE Last Issue = ongoing
Translate the following into a SQL query
What is the highest number of losses for Presidente Hayes, when the draws were more than 4?
SELECT MAX Losses FROM table WHERE Team = presidente hayes AND Draws > 4
Translate the following into a SQL query
What is the number of wins when position was larger than 6, and conceded was smaller than 19?
SELECT COUNT Wins FROM table WHERE Position > 6 AND Conceded < 19
Translate the following into a SQL query
What is the number of losses when there were less than 4 draws, and points were 9?
SELECT Losses FROM table WHERE Draws < 4 AND Points = 9
Translate the following into a SQL query
What is the number of wins when scored was less than 26, and conceded was larger than 23?
SELECT SUM Wins FROM table WHERE Scored < 26 AND Conceded > 23
Translate the following into a SQL query
What was the series in season 2009?
SELECT Series FROM table WHERE Season = 2009
Translate the following into a SQL query
What was the lowest amount of wins before season 2009 for 97 points?
SELECT MIN Wins FROM table WHERE Points = 97 AND Season < 2009
Translate the following into a SQL query
How many wins had a podium larger than 6 after season 2008?
SELECT COUNT Wins FROM table WHERE Season > 2008 AND Podiums > 6
Translate the following into a SQL query
what is the date for the week larger than 1 and the opponent detroit lions?
SELECT Date FROM table WHERE Week > 1 AND Opponent = detroit lions
Translate the following into a SQL query
what is the lowest week when the attendance is 54,714?
SELECT MIN Week FROM table WHERE Attendance = 54,714
Translate the following into a SQL query
Which Athlete has a Reaction of 0.248?
SELECT Athlete FROM table WHERE React = 0.248
Translate the following into a SQL query
Which Rank has a Reaction of 0.198, and a Time smaller than 46.3?
SELECT MAX Rank FROM table WHERE React = 0.198 AND Time < 46.3
Translate the following into a SQL query
Which Lane has a Time larger than 47.83?
SELECT AVG Lane FROM table WHERE Time > 47.83
Translate the following into a SQL query
Which Reaction has a Rank smaller than 4, and a Nationality of trinidad and tobago, and a Time larger than 45.13?
SELECT AVG React FROM table WHERE Rank < 4 AND Nationality = trinidad and tobago AND Time > 45.13
Translate the following into a SQL query
Count the Rank-Final which has a Year larger than 2008, and an Apparatus of balance beam, and a Rank-Qualifying larger than 4?
SELECT COUNT Rank-Final FROM table WHERE Year > 2008 AND Apparatus = balance beam AND Rank-Qualifying > 4
Translate the following into a SQL query
Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009?
SELECT MIN Score-Final FROM table WHERE Rank-Final = 7 AND Year > 2009
Translate the following into a SQL query
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275?
SELECT AVG Year FROM table WHERE Rank-Final < 2 AND Apparatus = team AND Score-Qualifying < 248.275
Translate the following into a SQL query
What's the pick for the New York jets with a defensive end?
SELECT Pick FROM table WHERE Position = defensive end AND Team = new york jets
Translate the following into a SQL query
What's the pick for Georgia tech?
SELECT Pick FROM table WHERE College = georgia tech