Instruction: text to sql

Input: Can you tell me the total number of Zone than has the Station users 2007-08 larger than 243,800, and the Year opened of 1855?

Output: SELECT COUNT Zone FROM table WHERE Station users 2007–08 > 243,800 AND Year opened = 1855


Instruction: text to sql

Input: What is the highest Attendance when the away team was Wrexham?

Output: SELECT MAX Attendance FROM table WHERE Away team = wrexham


Instruction: text to sql

Input: What is the Away team when the home team was wycombe wanderers?

Output: SELECT Away team FROM table WHERE Home team = wycombe wanderers


Instruction: text to sql

Input: What is the lowest Attendance when the home team was slough town?

Output: SELECT MIN Attendance FROM table WHERE Home team = slough town


Instruction: text to sql

Input: What is the sum of Attendance when macclesfield town was the way team?

Output: SELECT SUM Attendance FROM table WHERE Away team = macclesfield town


Instruction: text to sql

Input: How many Spins sources have a CCM Chart of CHR with a peak position less than 1?

Output: SELECT COUNT Spins (since 1998) source: Mediabase FROM table WHERE CCM Chart = chr AND Peak Pos < 1


Instruction: text to sql

Input: What CCM Chart had 18 total weeks?

Output: SELECT CCM Chart FROM table WHERE Total Wks = 18


Instruction: text to sql

Input: What is Opponent, when Date is December 18, 1988?

Output: SELECT Opponent FROM table WHERE Date = december 18, 1988


Instruction: text to sql

Input: What is Attendance, when Opponent is Pittsburgh Steelers?

Output: SELECT Attendance FROM table WHERE Opponent = pittsburgh steelers


Instruction: text to sql

Input: What is the average Week, when Result is l 37–34?

Output: SELECT AVG Week FROM table WHERE Result = l 37–34


Instruction: text to sql

Input: When was Shannon Long the Centerfold model?

Output: SELECT Date FROM table WHERE Centerfold model = shannon long


Instruction: text to sql

Input: Who was the Centerfold model on 5-88?

Output: SELECT Centerfold model FROM table WHERE Date = 5-88


Instruction: text to sql

Input: On which date was the interview subject 20 Questions of Judge Reinhold?

Output: SELECT Date FROM table WHERE 20 Questions = judge reinhold


Instruction: text to sql

Input: Who was the Centerfild model that used Bruce Willis as her Interview subject?

Output: SELECT Centerfold model FROM table WHERE Interview subject = bruce willis


Instruction: text to sql

Input: What is Series, when Launch Date is 23 February 2013?

Output: SELECT Series FROM table WHERE Launch date = 23 february 2013


Instruction: text to sql

Input: What is Series, when Days is greater than 99, and when Prize is €50,000?

Output: SELECT Series FROM table WHERE Days > 99 AND Prize = €50,000


Instruction: text to sql

Input: What is Series, when Winner is Jetmir Salaj?

Output: SELECT Series FROM table WHERE Winner = jetmir salaj


Instruction: text to sql

Input: What is Highest Days, when Launch Date is 23 January 2010?

Output: SELECT MAX Days FROM table WHERE Launch date = 23 january 2010


Instruction: text to sql

Input: What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20?

Output: SELECT MIN Rank FROM table WHERE Name = jeremiah massey AND Games < 20


Instruction: text to sql

Input: What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?

Output: SELECT MIN Games FROM table WHERE Name = jeremiah massey AND Points < 340


Instruction: text to sql

Input: What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade?

Output: SELECT MIN Points FROM table WHERE Games > 20 AND Team = partizan belgrade


Instruction: text to sql

Input: What is Games, when Points is less than 340, and when Rank is greater than 3?

Output: SELECT Games FROM table WHERE Points < 340 AND Rank > 3


Instruction: text to sql

Input: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?

Output: SELECT SUM Rank FROM table WHERE Name = will solomon AND Games > 21


Instruction: text to sql

Input: What was the first leg score in the match against Twente?

Output: SELECT First leg FROM table WHERE Opposition = twente


Instruction: text to sql

Input: What was the first leg score in the 2nd round?

Output: SELECT First leg FROM table WHERE Round = 2nd


Instruction: text to sql

Input: What were the Bills points on Nov. 11?

Output: SELECT SUM Bills points FROM table WHERE Date = nov. 11


Instruction: text to sql

Input: What was the Bills first downs on Oct. 29 with more the 23 Bills points?

Output: SELECT MIN Bills first downs FROM table WHERE Date = oct. 29 AND Bills points > 23


Instruction: text to sql

Input: What was the Bill's attendance on December 6?

Output: SELECT Attendance FROM table WHERE Date = december 6


Instruction: text to sql

Input: On what date did the Bills play the Houston Oilers before week 12?

Output: SELECT Date FROM table WHERE Week < 12 AND Opponent = houston oilers


Instruction: text to sql

Input: Which team won on the day when attendance was 42,308?

Output: SELECT Result FROM table WHERE Attendance = 42,308


Instruction: text to sql

Input: What week of the season was December 13?

Output: SELECT Week FROM table WHERE Date = december 13


Instruction: text to sql

Input: What is the highest Points in Position 2 with more than 3 Drawn games?

Output: SELECT MAX Points FROM table WHERE Position = 2 AND Drawn > 3


Instruction: text to sql

Input: What is the goal Difference at Position 5?

Output: SELECT Difference FROM table WHERE Position = 5


Instruction: text to sql

Input: What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6?

Output: SELECT AVG Played FROM table WHERE Position > 3 AND Against < 27 AND Lost < 6


Instruction: text to sql

Input: What is the highest Points with a Lost total of 8?

Output: SELECT MAX Points FROM table WHERE Lost = 8


Instruction: text to sql

Input: Which average Points has a Lost higher than 20?

Output: SELECT AVG Points FROM table WHERE Lost > 20


Instruction: text to sql

Input: What are the Cuts made with a Top-10 smaller than 2?

Output: SELECT SUM Cuts made FROM table WHERE Top-10 < 2


Instruction: text to sql

Input: What is the Top-25 with a Top-10 of 8, and an Events of 45?

Output: SELECT AVG Top-25 FROM table WHERE Top-10 = 8 AND Events = 45


Instruction: text to sql

Input: What is the Top-25 with an Events of 20, and a Wins larger than 2?

Output: SELECT AVG Top-25 FROM table WHERE Events = 20 AND Wins > 2


Instruction: text to sql

Input: Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20?

Output: SELECT MAX Top-10 FROM table WHERE Top-25 < 18 AND Top-5 = 6 AND Cuts made < 20


Instruction: text to sql

Input: What is Top Par, when Score is less than 68, and when Country is England?

Output: SELECT To par FROM table WHERE Score < 68 AND Country = england


Instruction: text to sql

Input: What is Sum of Score, when Player is Vijay Singh?

Output: SELECT SUM Score FROM table WHERE Player = vijay singh


Instruction: text to sql

Input: What is Sum of Score, when Place is T2, and when Player is Justin Leonard?

Output: SELECT SUM Score FROM table WHERE Place = t2 AND Player = justin leonard


Instruction: text to sql

Input: What is Place, when Score is less than 67, and when Country is South Africa?

Output: SELECT Place FROM table WHERE Score < 67 AND Country = south africa


Instruction: text to sql

Input: What show was on at 8:00 when american idol was on at 9:00?

Output: SELECT 8:00 FROM table WHERE 9:00 = american idol


Instruction: text to sql

Input: What was on at 8:30 when dancing with the stars: the results was on at 9:30?

Output: SELECT 8:30 FROM table WHERE 9:30 = dancing with the stars: the results


Instruction: text to sql

Input: What was on at 8:30 when dancing with the stars: the results was on at 9:30?

Output: SELECT 8:30 FROM table WHERE 9:00 = dancing with the stars: the results


Instruction: text to sql

Input: What was on at 10:00 when ncis was on at 8:00?

Output: SELECT 10:00 FROM table WHERE 8:00 = ncis


Instruction: text to sql

Input: Can you tell me the Team that has the Laps of 379?

Output: SELECT Team FROM table WHERE Laps = 379


Instruction: text to sql

Input: What is the Tournament with a Margin of victory that was 4 strokes?

Output: SELECT Tournament FROM table WHERE Margin of victory = 4 strokes


Instruction: text to sql

Input: What is 1999, when 1998 is 2R?

Output: SELECT 1999 FROM table WHERE 1998 = 2r


Instruction: text to sql

Input: What is 1998, when 1994 is Grand Slam Tournaments?

Output: SELECT 1998 FROM table WHERE 1994 = grand slam tournaments


Instruction: text to sql

Input: What is 2009, when 2000 is 1R, and when 1998 is 3R?

Output: SELECT 2009 FROM table WHERE 2000 = 1r AND 1998 = 3r


Instruction: text to sql

Input: What is 2009, when 2008 is 1R, and when Tournament is French Open?

Output: SELECT 2009 FROM table WHERE 2008 = 1r AND Tournament = french open


Instruction: text to sql

Input: What is 2009, when 2004 is 2R, and when 1993 is A?

Output: SELECT 2009 FROM table WHERE 2004 = 2r AND 1993 = a


Instruction: text to sql

Input: What is the average amount of gold medals for a country with more than 12 total medals?

Output: SELECT AVG Gold FROM table WHERE Total > 12


Instruction: text to sql

Input: Who were the Visitor when the Nets were the Home team?

Output: SELECT Visitor FROM table WHERE Home = nets


Instruction: text to sql

Input: What Leading scorer had a Score of 80–112?

Output: SELECT Leading scorer FROM table WHERE Score = 80–112


Instruction: text to sql

Input: What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes?

Output: SELECT Tournament FROM table WHERE Margin of victory = 2 strokes AND Date = sep 20, 1981


Instruction: text to sql

Input: For the tournament played on Jul 4, 1982, what was the winning score?

Output: SELECT Winning score FROM table WHERE Date = jul 4, 1982


Instruction: text to sql

Input: What was the winning score for the Andy Williams-San Diego Open Invitational tournament?

Output: SELECT Winning score FROM table WHERE Tournament = andy williams-san diego open invitational


Instruction: text to sql

Input: Who was the runner(s)-up for the tournament played on Jun 3, 1973?

Output: SELECT Runner(s)-up FROM table WHERE Date = jun 3, 1973


Instruction: text to sql

Input: What was the winning score for the tournament played on Jul 14, 1973?

Output: SELECT Winning score FROM table WHERE Date = jul 14, 1973


Instruction: text to sql

Input: In which tournament was Gil Morgan the runner-up?

Output: SELECT Tournament FROM table WHERE Runner(s)-up = gil morgan


Instruction: text to sql

Input: What was the highest attendance when the Atlanta Falcons played for a week smaller than 10?

Output: SELECT MAX Attendance FROM table WHERE Opponent = atlanta falcons AND Week < 10


Instruction: text to sql

Input: What is the Result when the Theme was by Dolly Parton?

Output: SELECT Result FROM table WHERE Theme = dolly parton


Instruction: text to sql

Input: What is the Order # when the song choice was " you're so vain "?

Output: SELECT Order # FROM table WHERE Song choice = " you're so vain "


Instruction: text to sql

Input: What is the Theme when the Original artist was carole king, and a Week # shows hollywood?

Output: SELECT Theme FROM table WHERE Original artist = carole king AND Week # = hollywood


Instruction: text to sql

Input: What is the Result when the Song choice was "beautiful"?

Output: SELECT Result FROM table WHERE Song choice = "beautiful"


Instruction: text to sql

Input: What Week # that is there an Order # of 7, and the Song choice was " let it be "?

Output: SELECT Week # FROM table WHERE Order # = 7 AND Song choice = " let it be "


Instruction: text to sql

Input: What is the Song choice when there is an Order # of 4?

Output: SELECT Song choice FROM table WHERE Order # = 4


Instruction: text to sql

Input: What proto-oceanic has louse as the animal?

Output: SELECT Proto-Oceanic FROM table WHERE Animal = louse


Instruction: text to sql

Input: What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates?

Output: SELECT SUM Delegates FROM table WHERE Counties Carries = 4 AND State Delegate > 1,903


Instruction: text to sql

Input: What is the Home team with an Away team that is oxford united?

Output: SELECT Home team FROM table WHERE Away team = oxford united


Instruction: text to sql

Input: What is the Home team with an Away team that is wrexham?

Output: SELECT Home team FROM table WHERE Away team = wrexham


Instruction: text to sql

Input: Which Gold has a Silver of 7, and a Bronze smaller than 7?

Output: SELECT MIN Gold FROM table WHERE Silver = 7 AND Bronze < 7


Instruction: text to sql

Input: Which Bronze has a Silver of 15, and a Gold smaller than 20?

Output: SELECT SUM Bronze FROM table WHERE Silver = 15 AND Gold < 20


Instruction: text to sql

Input: Which Bronze has a Silver of 7, and a Total larger than 25?

Output: SELECT MIN Bronze FROM table WHERE Silver = 7 AND Total > 25


Instruction: text to sql

Input: Which Gold has a Bronze larger than 1, and a Total larger than 80?

Output: SELECT SUM Gold FROM table WHERE Bronze > 1 AND Total > 80


Instruction: text to sql

Input: Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20?

Output: SELECT COUNT Total FROM table WHERE Silver > 8 AND Bronze = 20 AND Gold < 20


Instruction: text to sql

Input: What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2?

Output: SELECT Total FROM table WHERE Set 4 = na AND Score = 3-0 AND Set 2 = 26-24


Instruction: text to sql

Input: What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?

Output: SELECT Total FROM table WHERE Score = 3-0 AND Set 3 = 25-18 AND Set 2 = 25-12


Instruction: text to sql

Input: What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25?

Output: SELECT Set 5 FROM table WHERE Set 2 = 26-24 AND Set 1 = 27-25


Instruction: text to sql

Input: Who has a total number of 76 silver medals?

Output: SELECT COUNT Silver FROM table WHERE Total = 76


Instruction: text to sql

Input: What score has ipswich town as the home team, and replay as the tie no.?

Output: SELECT Score FROM table WHERE Home team = ipswich town AND Tie no = replay


Instruction: text to sql

Input: What score has grays athletic as the home team?

Output: SELECT Score FROM table WHERE Home team = grays athletic


Instruction: text to sql

Input: What date has 6 as the tie no.?

Output: SELECT Date FROM table WHERE Tie no = 6


Instruction: text to sql

Input: What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?

Output: SELECT Fastest Lap FROM table WHERE Winning team = team brm AND Race = 1 AND Pole Position = leanne tander AND Circuit = phillip island


Instruction: text to sql

Input: What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?

Output: SELECT Fastest Lap FROM table WHERE Round = 5 AND Winning driver = james winslow


Instruction: text to sql

Input: What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander?

Output: SELECT Date FROM table WHERE Fastest Lap = james winslow AND Race = 1 AND Winning driver = leanne tander


Instruction: text to sql

Input: What is Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse?

Output: SELECT Pole Position FROM table WHERE Circuit = adelaide street circuit AND Winning team = piccola scuderia corse


Instruction: text to sql

Input: What country was the game played in when the location was trestles?

Output: SELECT Country FROM table WHERE Location = trestles


Instruction: text to sql

Input: What date was the game played when it was located at bells beach?

Output: SELECT Date FROM table WHERE Location = bells beach


Instruction: text to sql

Input: What country was the game played when it was played from April 11-April 21?

Output: SELECT Country FROM table WHERE Date = april 11-april 21


Instruction: text to sql

Input: Who was the Runner-up when the game was played at Bells Beach?

Output: SELECT Runner-up FROM table WHERE Location = bells beach


Instruction: text to sql

Input: Which Accolade had a publication of Under the Radar?

Output: SELECT Accolade FROM table WHERE Publication = under the radar


Instruction: text to sql

Input: Which year had a publication of Pazz & Jop?

Output: SELECT Year FROM table WHERE Publication = pazz & jop


Instruction: text to sql

Input: How many districts featured the democrat nicholas von stein?

Output: SELECT COUNT District FROM table WHERE Democratic = nicholas von stein


Instruction: text to sql

Input: Which incumbent's democratic candidate was mike carroll?

Output: SELECT Incumbent FROM table WHERE Democratic = mike carroll


Instruction: text to sql

Input: Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?

Output: SELECT Democratic ticket FROM table WHERE Liberal ticket = edward r. dudley


Instruction: text to sql

Input: When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?

Output: SELECT Democratic ticket FROM table WHERE Socialist Labor ticket = john emanuel


Instruction: text to sql

Input: What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket?

Output: SELECT Office FROM table WHERE Socialist Workers ticket = sylvia weinstein


Instruction: text to sql

Input: Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?

Output: SELECT Socialist Labor ticket FROM table WHERE Democratic ticket = robert m. morgenthau


Instruction: text to sql

Input: When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?

Output: SELECT Socialist Workers ticket FROM table WHERE Republican ticket = john p. lomenzo


Instruction: text to sql

Input: What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?

Output: SELECT SUM Area km 2 FROM table WHERE Pop. density People/km 2 > 91 AND Member State = italy AND Population in millions < 58.8


Instruction: text to sql

Input: What is the area % of EU with 16.4 population in millions?

Output: SELECT Area % of EU FROM table WHERE Population in millions = 16.4


Instruction: text to sql

Input: What is the total number of area km2 with a 4.2 population in millions and is a member state of the Czech Republic?

Output: SELECT COUNT Area km 2 FROM table WHERE Population in millions > 4.2 AND Member State = czech republic


Instruction: text to sql

Input: What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?

Output: SELECT SUM Pop. density People/km 2 FROM table WHERE Population % of EU = 0.1% AND Area % of EU = 0.1% AND Population in millions > 0.5


Instruction: text to sql

Input: What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?

Output: SELECT MIN Area km 2 FROM table WHERE Member State = czech republic AND Population in millions < 10.3


Instruction: text to sql

Input: Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height

Output: SELECT COUNT Height FROM table WHERE Spike < 340 AND Name = gilberto godoy filho AND Weight < 85


Instruction: text to sql

Input: What is the Attendance for Opponent Boston Patriots and Week is greater than 14?

Output: SELECT COUNT Attendance FROM table WHERE Opponent = boston patriots AND Week > 14


Instruction: text to sql

Input: Which Nominated work has a Year of 1997?

Output: SELECT Nominated work FROM table WHERE Year = 1997


Instruction: text to sql

Input: Which Award has a Category of music video acting award?

Output: SELECT Award FROM table WHERE Category = music video acting award


Instruction: text to sql

Input: What name has a CONCACAF Champions League of 2 (0) and also a Canadian Championship of 8 (0)?

Output: SELECT Name FROM table WHERE CONCACAF Champions League = 2 (0) AND Canadian Championship = 8 (0)


Instruction: text to sql

Input: When the league is 84 (4) what is the Canadian Championship?

Output: SELECT Canadian Championship FROM table WHERE League = 84 (4)


Instruction: text to sql

Input: What Canadian Championship has 84 (4) as the league?

Output: SELECT Canadian Championship FROM table WHERE League = 84 (4)


Instruction: text to sql

Input: What Canadian Championship has Ashtone Morgan Category:Articles with hcards as the name?

Output: SELECT Canadian Championship FROM table WHERE Name = ashtone morgan category:articles with hcards


Instruction: text to sql

Input: What is the total when the name is Carl Robinson Category:Articles with hcards?

Output: SELECT Total FROM table WHERE Name = carl robinson category:articles with hcards


Instruction: text to sql

Input: What CONCACAF Champions League has 57 (27) as the league?

Output: SELECT CONCACAF Champions League FROM table WHERE League = 57 (27)


Instruction: text to sql

Input: What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357?

Output: SELECT Name FROM table WHERE Games < 38 AND Rank < 4 AND Points = 357


Instruction: text to sql

Input: What is Team, when Rank is greater than 2, and when Points are greater than 259?

Output: SELECT Team FROM table WHERE Rank > 2 AND Points > 259


Instruction: text to sql

Input: What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357?

Output: SELECT MAX Games FROM table WHERE Team = ciudad de la laguna AND Points > 357


Instruction: text to sql

Input: What is Points, when Name is Ondrej Starosta?

Output: SELECT Points FROM table WHERE Name = ondrej starosta


Instruction: text to sql

Input: What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko?

Output: SELECT MIN Points FROM table WHERE Games > 34 AND Name = andrew panko


Instruction: text to sql

Input: What is the highest value for Points, when Games is 21, and when Rank is greater than 2?

Output: SELECT MAX Points FROM table WHERE Games = 21 AND Rank > 2


Instruction: text to sql

Input: What is the average rank of the record on 2007-06-21 with a mark less than 91.29?

Output: SELECT AVG Rank FROM table WHERE Date = 2007-06-21 AND Mark < 91.29


Instruction: text to sql

Input: What is the lowest mark of the rank 8 record?

Output: SELECT MIN Mark FROM table WHERE Rank = 8


Instruction: text to sql

Input: What is the place of the record on 1996-05-25 with a mark greater than 90.73?

Output: SELECT Place FROM table WHERE Mark > 90.73 AND Date = 1996-05-25


Instruction: text to sql

Input: What is the place of the rank 6 record, which has a mark greater than 91.29?

Output: SELECT Place FROM table WHERE Mark > 91.29 AND Rank = 6


Instruction: text to sql

Input: What competition has a venue in Hampden Park, Glasgow?

Output: SELECT Competition FROM table WHERE Venue = hampden park, glasgow


Instruction: text to sql

Input: What was the score in Hampden Park, Glasgow?

Output: SELECT Score FROM table WHERE Venue = hampden park, glasgow


Instruction: text to sql

Input: Which Venue has a Notes of 2:28:31?

Output: SELECT Venue FROM table WHERE Notes = 2:28:31


Instruction: text to sql

Input: Which Venue has a Competition of venice marathon?

Output: SELECT Venue FROM table WHERE Competition = venice marathon


Instruction: text to sql

Input: Which Year that has Notes of dnf?

Output: SELECT MIN Year FROM table WHERE Notes = dnf


Instruction: text to sql

Input: Which Competition has a Year larger than 2000?

Output: SELECT Competition FROM table WHERE Year > 2000


Instruction: text to sql

Input: What date has a set 4 of 25-19?

Output: SELECT Date FROM table WHERE Set 4 = 25-19


Instruction: text to sql

Input: What is the total for the set 2 of 25-18?

Output: SELECT Total FROM table WHERE Set 2 = 25-18


Instruction: text to sql

Input: What is the total for set 2 of 25-19?

Output: SELECT Total FROM table WHERE Set 2 = 25-19


Instruction: text to sql

Input: What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16?

Output: SELECT Set 3 FROM table WHERE Set 5 = na AND Set 1 = 21-25 AND Set 2 = 25-16


Instruction: text to sql

Input: What is the set 1 for the date jun 26, and a set 2 of 25-16?

Output: SELECT Set 1 FROM table WHERE Date = jun 26 AND Set 2 = 25-16


Instruction: text to sql

Input: What is the total for set 2 17-25?

Output: SELECT Total FROM table WHERE Set 2 = 17-25


Instruction: text to sql

Input: What Opponent has a Score that is 1-6, 3-6?

Output: SELECT Opponent FROM table WHERE Score = 1-6, 3-6


Instruction: text to sql

Input: What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title?

Output: SELECT Writer FROM table WHERE Artist = mort drucker AND Issue > 470 AND Actual Title = law & order: svu


Instruction: text to sql

Input: What date has ed as an actual title?

Output: SELECT Date FROM table WHERE Actual Title = ed


Instruction: text to sql

Input: What isssue has 7th heaven as an actual title?

Output: SELECT Issue FROM table WHERE Actual Title = 7th heaven


Instruction: text to sql

Input: What issue has mort drucker as the artist and february 2001 as the date?

Output: SELECT Issue FROM table WHERE Artist = mort drucker AND Date = february 2001


Instruction: text to sql

Input: In what Week was the Attendance 39,434?

Output: SELECT COUNT Week FROM table WHERE Attendance < 39,434


Instruction: text to sql

Input: What is the first Week against Cincinnati Bengals with an Attendance greater than 58,615?

Output: SELECT MIN Week FROM table WHERE Attendance > 58,615 AND Opponent = cincinnati bengals


Instruction: text to sql

Input: What year was the match were xavier malisse was the runner-up against lleyton hewitt?

Output: SELECT Year FROM table WHERE Outcome = runner-up AND Opponent = lleyton hewitt


Instruction: text to sql

Input: What year was the match against filippo volandri where xavier malisse was runner-up?

Output: SELECT Year FROM table WHERE Outcome = runner-up AND Opponent = filippo volandri


Instruction: text to sql

Input: How many against have a difference of 6, with a played greater than 19?

Output: SELECT SUM Against FROM table WHERE Difference = 6 AND Played > 19


Instruction: text to sql

Input: What is the lowest drawn that has a played greater than 19, with a position less than 2?

Output: SELECT MIN Drawn FROM table WHERE Played > 19 AND Position < 2


Instruction: text to sql

Input: What is the average against that has a drawn less than 7, points greater than 22, and 19 for the played?

Output: SELECT AVG Against FROM table WHERE Drawn < 7 AND Points > 22 AND Played = 19


Instruction: text to sql

Input: When has a TV Time of fox 12:00 pm cdt?

Output: SELECT Date FROM table WHERE TV Time = fox 12:00 pm cdt


Instruction: text to sql

Input: When has a Week of 8?

Output: SELECT Date FROM table WHERE Week = 8


Instruction: text to sql

Input: Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?

Output: SELECT AVG Week FROM table WHERE Result = l 13-16 AND Opponent = at buffalo bills


Instruction: text to sql

Input: What kind of TV Time that has a Result of w 24–10?

Output: SELECT TV Time FROM table WHERE Result = w 24–10


Instruction: text to sql

Input: What played at 8:00 when Grey's Anatomy played at 9:00 and Ugly Betty played at 8:30?

Output: SELECT 8:00 FROM table WHERE 9:00 = grey's anatomy AND 8:30 = ugly betty


Instruction: text to sql

Input: What played at 8:00 when there was local programming at 10:00 and Supernatural played at 9:00?

Output: SELECT 8:00 FROM table WHERE 10:00 = local programming AND 9:00 = supernatural


Instruction: text to sql

Input: What show played at 8:00 when Ugly Betty played at 8:30?

Output: SELECT 8:00 FROM table WHERE 8:30 = ugly betty


Instruction: text to sql

Input: When Grey's Anatomy aired at 9:30 what aired at 9:00?

Output: SELECT 9:00 FROM table WHERE 9:30 = grey's anatomy


Instruction: text to sql

Input: When My Name is Earl played at 8:00 what aired at 9:30?

Output: SELECT 9:30 FROM table WHERE 8:00 = my name is earl


Instruction: text to sql

Input: What was the division when Jim O'Brien was the head coach and the team finished 2nd in the division?

Output: SELECT Div. FROM table WHERE Div. Finish = 2nd AND Head coach = jim o'brien


Instruction: text to sql

Input: What is the name of the conference that K. C. Jones was a head coach in?

Output: SELECT Conf. FROM table WHERE Head coach = k. c. jones


Instruction: text to sql

Input: Who had the highest assists of the game on March 5?

Output: SELECT High assists FROM table WHERE Date = march 5


Instruction: text to sql

Input: What is the least amount of appearances by new zealand when they scored 4 goals?

Output: SELECT MIN Appearances FROM table WHERE Goals = 4 AND Nationality = new zealand


Instruction: text to sql

Input: how many appearances did batram suri category:articles with hcards have scoring less than 2 goals?

Output: SELECT COUNT Appearances FROM table WHERE Name = batram suri category:articles with hcards AND Goals < 2


Instruction: text to sql

Input: What region has a 2002 population greater than 132,798, an area larger than 5,528.3, and the cachapoal province?

Output: SELECT Region FROM table WHERE 2002 Population > 132,798 AND Area > 5,528.3 AND Province = cachapoal


Instruction: text to sql

Input: What is the total 2002 population of the province with putre as the capital, less than 3 communes, and an area larger than 11,919.5?

Output: SELECT COUNT 2002 Population FROM table WHERE No. of Communes < 3 AND Area > 11,919.5 AND Capital = putre


Instruction: text to sql

Input: What province has a v valparaíso region and an area of 927.2?

Output: SELECT Province FROM table WHERE Region = v valparaíso AND Area = 927.2


Instruction: text to sql

Input: What is the average area with valparaíso as the capital?

Output: SELECT AVG Area FROM table WHERE Capital = valparaíso


Instruction: text to sql

Input: WHich Category in White has a Amerindian of 4,87%?

Output: SELECT White FROM table WHERE Amerindian = 4,87%


Instruction: text to sql

Input: WHich Category in White has a Black of 38,05%?

Output: SELECT White FROM table WHERE Black = 38,05%


Instruction: text to sql

Input: Which Category in Brown has a Frequency of 0.08%?

Output: SELECT Brown FROM table WHERE Frequency = 0.08%


Instruction: text to sql

Input: Which Category in Black has a Brown of 6,54%?

Output: SELECT Black FROM table WHERE Brown = 6,54%


Instruction: text to sql

Input: What is the Capacity in use with an Annual change that is 21.8%?

Output: SELECT Capacity in use FROM table WHERE Annual change = 21.8%


Instruction: text to sql

Input: How many Tries has Points for smaller than 137, and Tries against larger than 12?

Output: SELECT COUNT Tries for FROM table WHERE Points for < 137 AND Tries against > 12


Instruction: text to sql

Input: WHich Team that has Points against of 43?

Output: SELECT Team FROM table WHERE Points against = 43


Instruction: text to sql

Input: WHich Tries has a Team of pau and Points against larger than 103?

Output: SELECT MIN Tries for FROM table WHERE Team = pau AND Points against > 103


Instruction: text to sql

Input: How many Points against has Tries for smaller than 14, and a Team of llanelli?

Output: SELECT AVG Points against FROM table WHERE Tries for < 14 AND Team = llanelli


Instruction: text to sql

Input: How many Tries against has a Try diff of –17 and Points for smaller than 80?

Output: SELECT COUNT Tries against FROM table WHERE Try diff = –17 AND Points for < 80


Instruction: text to sql

Input: Which player was the forward?

Output: SELECT Player FROM table WHERE Position = forward


Instruction: text to sql

Input: Which years in Orlando are featured with the center position?

Output: SELECT Years in Orlando FROM table WHERE Position = center


Instruction: text to sql

Input: Which position was in Orlando in 2000?

Output: SELECT Position FROM table WHERE Years in Orlando = 2000


Instruction: text to sql

Input: Who were the winners of the Women's Doubles in the years after 2009?

Output: SELECT Women's doubles FROM table WHERE Year > 2009


Instruction: text to sql

Input: Who were the Men's doubles of the years that had Kristína Ludíková as Women's singles after the year 2008?

Output: SELECT Men's doubles FROM table WHERE Women's singles = kristína ludíková AND Year > 2008


Instruction: text to sql

Input: What is the Name with Goals that are 135?

Output: SELECT Name FROM table WHERE Goals = 135


Instruction: text to sql

Input: Which American Labor candidate ran against Democratic candidate Robert F. Wagner?

Output: SELECT American Labor ticket FROM table WHERE Democratic ticket = robert f. wagner


Instruction: text to sql

Input: Which Socialist candidate ran against American Labor candidate Caroline O'Day?

Output: SELECT Socialist ticket FROM table WHERE American Labor ticket = caroline o'day


Instruction: text to sql

Input: Which Democrtic candidate ran against the Socialist candidate Edna Mitchell Blue?

Output: SELECT Democratic ticket FROM table WHERE Socialist ticket = edna mitchell blue


Instruction: text to sql

Input: Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?

Output: SELECT American Labor ticket FROM table WHERE Socialist ticket = herman j. hahn


Instruction: text to sql

Input: Which Republican ran against the American Labor candidate Matthew J. Merritt?

Output: SELECT Republican ticket FROM table WHERE American Labor ticket = matthew j. merritt


Instruction: text to sql

Input: Which American Labor candidate ran against Republican Thomas E. Dewey?

Output: SELECT American Labor ticket FROM table WHERE Republican ticket = thomas e. dewey


Instruction: text to sql

Input: Who is the Opponent in the final after 1983 with an Outcome of runner-up?

Output: SELECT Opponent in the final FROM table WHERE Outcome = runner-up AND Date > 1983


Instruction: text to sql

Input: What Opponent in the final had a match with a Score in the final of 7–5, 6–2?

Output: SELECT Opponent in the final FROM table WHERE Score in the final = 7–5, 6–2


Instruction: text to sql

Input: What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface?

Output: SELECT Championship FROM table WHERE Surface = clay AND Opponent in the final = vitas gerulaitis


Instruction: text to sql

Input: What is the sum of percentage of marine area with an area of territorial waters of 72,144 and exclusive economic zone area less than 996,439?

Output: SELECT SUM Percentage of marine area (forEEZ) FROM table WHERE Area (km²) Territorial waters = 72,144 AND Area (km²) Exclusive Economic Zone < 996,439


Instruction: text to sql

Input: What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1?

Output: SELECT MIN Percentage of marine area (forEEZ) FROM table WHERE Ecozone = pacific marine AND Percentage of total area (forEEZ) > 3.1


Instruction: text to sql

Input: How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439?

Output: SELECT COUNT Percentage of marine area (forEEZ) FROM table WHERE Ecozone = atlantic marine AND Area (km²) Exclusive Economic Zone < 996,439


Instruction: text to sql

Input: What is the average percentage of total area when the percentage of marine area is more than 39.3 and territorial waters area is less than 2,788,349?

Output: SELECT AVG Percentage of total area (forEEZ) FROM table WHERE Percentage of marine area (forEEZ) > 39.3 AND Area (km²) Territorial waters < 2,788,349


Instruction: text to sql

Input: What is the smallest area of territorial waters with an exclusive economic zone area more than 704,849 and a percentage of total area greater than 6.8?

Output: SELECT MIN Area (km²) Territorial waters FROM table WHERE Area (km²) Exclusive Economic Zone > 704,849 AND Percentage of total area (forEEZ) > 6.8


Instruction: text to sql

Input: What is the team when alvin williams (6) has the high assists?

Output: SELECT Team FROM table WHERE High assists = alvin williams (6)


Instruction: text to sql

Input: What is the Record for a game less than 3 and the score was l 91–96 (ot)?

Output: SELECT Record FROM table WHERE Game < 3 AND Score = l 91–96 (ot)


Instruction: text to sql

Input: What is the Date when the high points went to Dell Curry (17)?

Output: SELECT Date FROM table WHERE High points = dell curry (17)


Instruction: text to sql

Input: What is the Team when antonio davis (8) had the high rebounds?

Output: SELECT Team FROM table WHERE High rebounds = antonio davis (8)


Instruction: text to sql

Input: What is the Tournament with a Date that is apr 16, 1967?

Output: SELECT Tournament FROM table WHERE Date = apr 16, 1967


Instruction: text to sql

Input: What is the Date with a Runner(s)-up that is jerry steelsmith?

Output: SELECT Date FROM table WHERE Runner(s)-up = jerry steelsmith


Instruction: text to sql

Input: What kind of Obama that has a Source of rasmussen reports?

Output: SELECT Obama FROM table WHERE Source = rasmussen reports


Instruction: text to sql

Input: Which Source has a Undecided of 2%?

Output: SELECT Source FROM table WHERE Undecided = 2%


Instruction: text to sql

Input: What kind of Obama has a Undecided of 1%?

Output: SELECT Obama FROM table WHERE Undecided = 1%


Instruction: text to sql

Input: When has a Source of surveyusa and a Obama of 54%?

Output: SELECT Date FROM table WHERE Source = surveyusa AND Obama = 54%


Instruction: text to sql

Input: When has a Source of rasmussen reports?

Output: SELECT Date FROM table WHERE Source = rasmussen reports


Instruction: text to sql

Input: Which Source has a Clinton of 39% and a Undecided of 7%?

Output: SELECT Source FROM table WHERE Clinton = 39% AND Undecided = 7%


Instruction: text to sql

Input: What is the Date of Birth with a Block that is larger than 342?

Output: SELECT Date of Birth FROM table WHERE Block > 342


Instruction: text to sql

Input: What is the number of positions that have 2012 ratings of 0.92?

Output: SELECT COUNT Position FROM table WHERE 2012 = 0.92


Instruction: text to sql

Input: What is the owner of the channel that has a 2012 rating of 5.42?

Output: SELECT Owner FROM table WHERE 2012 = 5.42


Instruction: text to sql

Input: What is the 2007 rating of the channel with a position of 6?

Output: SELECT 2007 FROM table WHERE Position = 6


Instruction: text to sql

Input: What is the channel with a 2011 rating of 8.5?

Output: SELECT Channel FROM table WHERE 2011 = 8.5


Instruction: text to sql

Input: What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes?

Output: SELECT ASTC Member FROM table WHERE State = arkansas AND AAM Member = no AND AAM Accredited = yes


Instruction: text to sql

Input: What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No?

Output: SELECT City FROM table WHERE State = florida AND AAM Member = no AND AAM Accredited = no


Instruction: text to sql

Input: What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes?

Output: SELECT City FROM table WHERE ASTC Member = no AND State = california AND AAM Member = yes


Instruction: text to sql

Input: What is State, when AAM Accredited is No, when ASTC Member is No, and when City is Tulsa?

Output: SELECT State FROM table WHERE AAM Accredited = no AND ASTC Member = no AND City = tulsa


Instruction: text to sql

Input: What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No?

Output: SELECT City FROM table WHERE State = california AND AAM Accredited = no AND ASTC Member = yes AND AAM Member = no


Instruction: text to sql

Input: What is AAM Member, when AAM Accredited is No, when State is California, when ASTC Member is Yes, and when City is Sacramento?

Output: SELECT AAM Member FROM table WHERE AAM Accredited = no AND State = california AND ASTC Member = yes AND City = sacramento


Instruction: text to sql

Input: Who were the runners-up when the individual winner was Tiger Woods?

Output: SELECT Runners-up FROM table WHERE Individual = tiger woods


Instruction: text to sql

Input: How many years was the individual winner from the United States was Tiger Woods?

Output: SELECT COUNT Year FROM table WHERE Country = united states AND Individual = tiger woods


Instruction: text to sql

Input: What is the earliest year that the tournament was played in Cape Town, South Africa?

Output: SELECT MIN Year FROM table WHERE Location = cape town, south africa


Instruction: text to sql

Input: What is the highest league for the league cup more than 1, and a FA cup of 1?

Output: SELECT MAX League FROM table WHERE League Cup > 1 AND FA Cup = 1


Instruction: text to sql

Input: Who is the Driver, when the Date is October 6?

Output: SELECT Driver FROM table WHERE Date = october 6


Instruction: text to sql

Input: What is the total number of Seasons, when the Engine is Cosworth, and when the Team is Kraco Racing?

Output: SELECT COUNT Season FROM table WHERE Engine = cosworth AND Team = kraco racing


Instruction: text to sql

Input: Who is the Driver, when the Engine is Chevrolet, and when the Date is October 3?

Output: SELECT Driver FROM table WHERE Engine = chevrolet AND Date = october 3


Instruction: text to sql

Input: What is the sum of Seasons, when the Team is Penske Racing, and when the Date is October 3?

Output: SELECT SUM Season FROM table WHERE Team = penske racing AND Date = october 3


Instruction: text to sql

Input: What was the Year to Open for the Dandeung Bridge?

Output: SELECT COUNT Year to open FROM table WHERE Name = dandeung bridge


Instruction: text to sql

Input: What is the Main span of the Qincaobei Bridge

Output: SELECT Main span feet FROM table WHERE Name = qincaobei bridge


Instruction: text to sql

Input: What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585?

Output: SELECT Main span metres FROM table WHERE Year to open = 2013 AND Country = china AND Main span feet = 2,585


Instruction: text to sql

Input: Which republican ticket has stanley h. fuld as the Democratic ticket?

Output: SELECT Republican ticket FROM table WHERE Democratic ticket = stanley h. fuld


Instruction: text to sql

Input: What is the liberal ticket that has judith white as the socialist workers?

Output: SELECT Liberal ticket FROM table WHERE Socialist Workers ticket = judith white


Instruction: text to sql

Input: What socialist workers ticket has malcolm wilson as the Republican ticket?

Output: SELECT Socialist Workers ticket FROM table WHERE Republican ticket = malcolm wilson


Instruction: text to sql

Input: Which office has kieran o'doherty as the conservative ticket?

Output: SELECT Office FROM table WHERE Conservative ticket = kieran o'doherty


Instruction: text to sql

Input: What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?

Output: SELECT Office FROM table WHERE Socialist Labor ticket = (none) AND Liberal ticket = stanley h. fuld


Instruction: text to sql

Input: If the call sign is w291ch what's the ERP W corresponding to that sign?

Output: SELECT ERP W FROM table WHERE Call sign = w291ch


Instruction: text to sql

Input: For the call sign w242at what's the city the license plate is registered to?

Output: SELECT City of license FROM table WHERE Call sign = w242at


Instruction: text to sql

Input: What's the Class for the city the license plate was issued in great barrington, massachusetts?

Output: SELECT Class FROM table WHERE City of license = great barrington, massachusetts


Instruction: text to sql

Input: How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3?

Output: SELECT SUM Gold FROM table WHERE Bronze = 1 AND Rank < 6 AND Total < 3


Instruction: text to sql

Input: How many France bronze have a gold of more than 1 and a rank of 0?

Output: SELECT SUM Bronze FROM table WHERE Gold > 1 AND Nation = france AND Rank < 1


Instruction: text to sql

Input: How many gold have a silver of 1 and a bronze of 0?

Output: SELECT SUM Gold FROM table WHERE Silver = 1 AND Bronze < 1


Instruction: text to sql

Input: What is the Aircraft when Kabul was the location, unknown fatalities, and the tail number was ya-ban?

Output: SELECT Aircraft FROM table WHERE Location = kabul AND Fatalities = unknown AND Tail number = ya-ban


Instruction: text to sql

Input: What is the Fatalities when the tail number was unknown and in Kabul>

Output: SELECT Fatalities FROM table WHERE Tail number = unknown AND Location = kabul


Instruction: text to sql

Input: What is the location for the an-12b aircraft?

Output: SELECT Location FROM table WHERE Aircraft = an-12b


Instruction: text to sql

Input: What location had 25/25 fatalities?

Output: SELECT Location FROM table WHERE Fatalities = 25/25


Instruction: text to sql

Input: What tail number was on the an-26, with 25/25 fatalities?

Output: SELECT Tail number FROM table WHERE Aircraft = an-26 AND Fatalities = 25/25


Instruction: text to sql

Input: What type of aircraft was the plane with a tail number of ya-bao?

Output: SELECT Aircraft FROM table WHERE Tail number = ya-bao


Instruction: text to sql

Input: What is the total number of Points from a Match that is larger than 18?

Output: SELECT COUNT Points FROM table WHERE Match > 18


Instruction: text to sql

Input: In what Season was the Series Formula Renault 3.5 series with less than 7 Races?

Output: SELECT SUM Season FROM table WHERE Series = formula renault 3.5 series AND Races < 7


Instruction: text to sql

Input: What was the Series in 2009?

Output: SELECT Series FROM table WHERE Season = 2009


Instruction: text to sql

Input: How many Wins in the Year with more than 16 Races?

Output: SELECT Wins FROM table WHERE Races > 16


Instruction: text to sql

Input: In what Season were then less than 3 Races with less than 1 Win?

Output: SELECT AVG Season FROM table WHERE Races < 3 AND Wins < 1


Instruction: text to sql

Input: Which 1st leg has a Team #1 of ummc ekaterinburg?

Output: SELECT 1st leg FROM table WHERE Team #1 = ummc ekaterinburg


Instruction: text to sql

Input: Which Team #2 has a 2nd leg of 79 - 74 (ot)?

Output: SELECT Team #2 FROM table WHERE 2nd leg = 79 - 74 (ot)


Instruction: text to sql

Input: Which Team #2 has a 1st leg of 70 - 44?

Output: SELECT Team #2 FROM table WHERE 1st leg = 70 - 44


Instruction: text to sql

Input: Which Team #2 has a Team #1 of gambrinus sika brno?

Output: SELECT Team #2 FROM table WHERE Team #1 = gambrinus sika brno


Instruction: text to sql

Input: What is the Goal number in Råsunda, Stockholm with a Result of 2–2?

Output: SELECT AVG Goal FROM table WHERE Result = 2–2 AND Venue = råsunda, stockholm


Instruction: text to sql

Input: What is the Result of Goal number 3?

Output: SELECT Result FROM table WHERE Goal = 3


Instruction: text to sql

Input: On what day was a game played at Reese Smith Field, with a score of 4-3?

Output: SELECT Date FROM table WHERE Score = 4-3 AND Site/Stadium = reese smith field


Instruction: text to sql

Input: What was the score for the game played on May 10 at Alex Box Stadium?

Output: SELECT Score FROM table WHERE Site/Stadium = alex box stadium AND Date = may 10


Instruction: text to sql

Input: What was the score for the game played at Sarge Frye Field?

Output: SELECT Score FROM table WHERE Site/Stadium = sarge frye field


Instruction: text to sql

Input: On what date was a game played, which left the team with a record of 5-7?

Output: SELECT Date FROM table WHERE Record = 5-7


Instruction: text to sql

Input: What was the score of the game played at Harmon Stadium on February 24?

Output: SELECT Score FROM table WHERE Site/Stadium = harmon stadium AND Date = february 24


Instruction: text to sql

Input: Where was the game on May 9 played?

Output: SELECT Site/Stadium FROM table WHERE Date = may 9


Instruction: text to sql

Input: What is the greatest position when the points are less than 21, and the played greater than 14?

Output: SELECT MAX Position FROM table WHERE Points < 21 AND Played > 14


Instruction: text to sql

Input: What is the fewest lost with a difference of 9 and a less than 3 drawn?

Output: SELECT MIN Lost FROM table WHERE Difference = 9 AND Drawn < 3


Instruction: text to sql

Input: Team Estudantes Paulista with a position less than 4 has what average against?

Output: SELECT AVG Against FROM table WHERE Team = estudantes paulista AND Position < 4


Instruction: text to sql

Input: What was the margin of victory on Apr 8, 1979?

Output: SELECT Margin of victory FROM table WHERE Date = apr 8, 1979


Instruction: text to sql

Input: What was the winning score when the margin of victory was 2 strokes and the runner-up was Pat Bradley?

Output: SELECT Winning score FROM table WHERE Margin of victory = 2 strokes AND Runner(s)-up = pat bradley


Instruction: text to sql

Input: What was the margin of victory when the winning score was −5 (69-69-73=211)?

Output: SELECT Margin of victory FROM table WHERE Winning score = −5 (69-69-73=211)


Instruction: text to sql

Input: Which tournament had a winning score of −5 (69-69-73=211)?

Output: SELECT Tournament FROM table WHERE Winning score = −5 (69-69-73=211)


Instruction: text to sql

Input: When was the winning score −6 (69-69-73-71=282)?

Output: SELECT Date FROM table WHERE Winning score = −6 (69-69-73-71=282)


Instruction: text to sql

Input: Who is the opponent of the game played on November 20, 1995?

Output: SELECT Opponent FROM table WHERE Date = november 20, 1995


Instruction: text to sql

Input: What is the highest Grid with a Name that is jamie whincup?

Output: SELECT MAX Grid FROM table WHERE Name = jamie whincup


Instruction: text to sql

Input: What is the Team with a Lap that is 5?

Output: SELECT Team FROM table WHERE Laps = 5


Instruction: text to sql

Input: What's the lowest round Justin Forsett was drafted in, with a draft pick larger than 233?

Output: SELECT MIN Round FROM table WHERE Name = justin forsett AND Pick > 233


Instruction: text to sql

Input: What's the average round the position of RB was drafted?

Output: SELECT AVG Round FROM table WHERE Position = rb


Instruction: text to sql

Input: What's the average round Red Bryant was drafted with a pick larger than 121?

Output: SELECT AVG Round FROM table WHERE Name = red bryant AND Pick > 121


Instruction: text to sql

Input: Can you tell me the Overall Record that has the Away Team of miami?

Output: SELECT Overall Record FROM table WHERE Away Team = miami


Instruction: text to sql

Input: Can you tell me the Overall Record that has the Week of 3?

Output: SELECT Overall Record FROM table WHERE Week = 3


Instruction: text to sql

Input: Can you tell me the Divisional Record that has the Away Team of dallas?

Output: SELECT Divisional Record FROM table WHERE Away Team = dallas


Instruction: text to sql

Input: Can you tell me the Overall Record that has the Week smaller than 16, and the Divisional Record of (1-0), and the Away Team of miami?

Output: SELECT Overall Record FROM table WHERE Week < 16 AND Divisional Record = (1-0) AND Away Team = miami


Instruction: text to sql

Input: Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota?

Output: SELECT Week FROM table WHERE Home Team = detroit AND Divisional Record = (3-0) AND Overall Record = (5-1) AND Away Team = minnesota


Instruction: text to sql

Input: Who is the choreographer with the style pas de deux?

Output: SELECT Choreographer(s) FROM table WHERE Style = pas de deux


Instruction: text to sql

Input: What is the end of reign for Dimitar Stojkovski?

Output: SELECT End of Reign FROM table WHERE Birth Name = dimitar stojkovski


Instruction: text to sql

Input: What is the title of the person who started their reign in 1999?

Output: SELECT Title FROM table WHERE Start of Reign = 1999


Instruction: text to sql

Input: What is the date of birth of the person who started their reign in 1986?

Output: SELECT Birth Name FROM table WHERE Start of Reign = 1986


Instruction: text to sql

Input: What is the average number for goals less than 73?

Output: SELECT COUNT Average FROM table WHERE Goals < 73


Instruction: text to sql

Input: What is the total average for 1990-1995, and goals less than 90?

Output: SELECT COUNT Average FROM table WHERE Career = 1990-1995 AND Goals < 90


Instruction: text to sql

Input: What was the lowest Position for a Team with fewer than 3 Lost, a Difference of 1, and more than 7 games Played?

Output: SELECT MIN Position FROM table WHERE Lost < 3 AND Difference = 1 AND Played > 7


Instruction: text to sql

Input: What is the sum of games Played by the Team Vasco Da Gama, with fewer than 12 Against?

Output: SELECT SUM Played FROM table WHERE Team = vasco da gama AND Against < 12


Instruction: text to sql

Input: What was the Difference of the Team that had a Position less than 2?

Output: SELECT Difference FROM table WHERE Position < 2


Instruction: text to sql

Input: Which attendance number was taken on november 21, 2004?

Output: SELECT Attendance FROM table WHERE Date = november 21, 2004


Instruction: text to sql

Input: Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents?

Output: SELECT Attendance FROM table WHERE Week < 16 AND Opponent = washington redskins


Instruction: text to sql

Input: How many weeks had the Green Bay packers as opponents?

Output: SELECT SUM Week FROM table WHERE Opponent = green bay packers


Instruction: text to sql

Input: What Country had a Score of 71-67=138?

Output: SELECT Country FROM table WHERE Score = 71-67=138


Instruction: text to sql

Input: What Country had a Score of 75-68=143?

Output: SELECT Country FROM table WHERE Score = 75-68=143


Instruction: text to sql

Input: How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored?

Output: SELECT SUM Innings FROM table WHERE Average < 6.33 AND S.R. < 71.43 AND Balls Faced > 36 AND Runs Scored < 19


Instruction: text to sql

Input: What is the number of averages having a balls faced over 297 and more than 7 innings?

Output: SELECT COUNT Average FROM table WHERE Balls Faced > 297 AND Innings > 7


Instruction: text to sql

Input: What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?

Output: SELECT MIN Innings FROM table WHERE S.R. = 72.05 AND Balls Faced < 297


Instruction: text to sql

Input: What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5?

Output: SELECT SUM Balls Faced FROM table WHERE S.R. > 48.28 AND Innings = 3 AND Average < 5


Instruction: text to sql

Input: What is the Nation with a Date that is may 6, 1991?

Output: SELECT Nation FROM table WHERE Date = may 6, 1991


Instruction: text to sql

Input: What is the Record with a Date that is may 20, 1961?

Output: SELECT Record FROM table WHERE Date = may 20, 1961


Instruction: text to sql

Input: Who was the partner of the winner?

Output: SELECT Partner FROM table WHERE Outcome = winner


Instruction: text to sql

Input: What is the Volume:Issue for the song " stars on 45 medley "?

Output: SELECT Volume:Issue FROM table WHERE Song = " stars on 45 medley "


Instruction: text to sql

Input: What is the Issue with less than 6 weeks on top and for the song " the friends of mr. cairo "?

Output: SELECT Issue Date(s) FROM table WHERE Weeks on Top < 6 AND Song = " the friends of mr. cairo "


Instruction: text to sql

Input: What is the sum of Weeks on Top for the Volume:Issue 34:9-12?

Output: SELECT SUM Weeks on Top FROM table WHERE Volume:Issue = 34:9-12


Instruction: text to sql

Input: How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6?

Output: SELECT COUNT Place (Posición) FROM table WHERE Draw (PE) > 2 AND Team (Equipo) = paraíso AND Won (PG) > 6


Instruction: text to sql

Input: How many league cups have yeovil town as the club, with a league less than 16?

Output: SELECT COUNT League Cup FROM table WHERE Club = yeovil town AND League < 16


Instruction: text to sql

Input: What is the average FA Cup that has gary jones as the player, and an FA trophy greater than 5?

Output: SELECT AVG FA Cup FROM table WHERE Player = gary jones AND FA Trophy > 5


Instruction: text to sql

Input: What FA trophys have tony hemmings as the player, with a league greater than 15?

Output: SELECT SUM FA Trophy FROM table WHERE Player = tony hemmings AND League > 15


Instruction: text to sql

Input: What is the score where the country is Japan?

Output: SELECT Score FROM table WHERE Country = japan


Instruction: text to sql

Input: What year has a winner's share smaller than 14,000?

Output: SELECT AVG Year FROM table WHERE Winner's share ($) < 14,000


Instruction: text to sql

Input: Which province has muju as the capital?

Output: SELECT Province FROM table WHERE Capital = muju


Instruction: text to sql

Input: What is the modern equivalent of 良州 in Hanja?

Output: SELECT Modern equivalent FROM table WHERE Hanja = 良州


Instruction: text to sql

Input: What is the capital of the province with 양주 in Hangul?

Output: SELECT Capital FROM table WHERE Hangul = 양주


Instruction: text to sql

Input: What is the capital of the province with 漢州 in Hanja?

Output: SELECT Capital FROM table WHERE Hanja = 漢州


Instruction: text to sql

Input: What is the Hanja for the sakju province?

Output: SELECT Hanja FROM table WHERE Province = sakju


Instruction: text to sql

Input: What is the fewest number of top-25s for events with more than 0 wins?

Output: SELECT MIN Top-25 FROM table WHERE Wins > 0


Instruction: text to sql

Input: What is the highest number of top-10s in events with more than 0 wins?

Output: SELECT MAX Top-10 FROM table WHERE Wins > 0


Instruction: text to sql

Input: What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10?

Output: SELECT Top-25 FROM table WHERE Events < 13 AND Cuts made < 3 AND Top-10 = 1


Instruction: text to sql

Input: Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?

Output: SELECT Season FROM table WHERE Average < 28 AND Rank < 10 AND Professional Partner = janja lesar


Instruction: text to sql

Input: What is the highest season that had rank under 1?

Output: SELECT MAX Season FROM table WHERE Rank < 1


Instruction: text to sql

Input: Who was the professional partner in season 4?

Output: SELECT Professional Partner FROM table WHERE Season = 4


Instruction: text to sql

Input: Who had the highest rebounds against detroit?

Output: SELECT High rebounds FROM table WHERE Team = detroit


Instruction: text to sql

Input: How much gold received by nation of uzbekistan (uzb)?

Output: SELECT MAX Gold FROM table WHERE Nation = uzbekistan (uzb)


Instruction: text to sql

Input: Which team has the lowest gold and 0 silver?

Output: SELECT MIN Gold FROM table WHERE Silver < 0


Instruction: text to sql

Input: How much gold when silver, bronze and total is smaller than 1?

Output: SELECT MAX Gold FROM table WHERE Silver < 1 AND Bronze = 1 AND Total < 1


Instruction: text to sql

Input: What is the ICAO with commenced operations before 1989?

Output: SELECT ICAO FROM table WHERE COMMENCED OPERATIONS < 1989


Instruction: text to sql

Input: What is the lowest commenced operations that has a nouvelair callsign?

Output: SELECT MIN COMMENCED OPERATIONS FROM table WHERE CALLSIGN = nouvelair


Instruction: text to sql

Input: What callsign has commenced operations in 2011?

Output: SELECT CALLSIGN FROM table WHERE COMMENCED OPERATIONS = 2011


Instruction: text to sql

Input: What language is used when the service is sky primafila 10 and the package/option is qualsiasi?

Output: SELECT Language FROM table WHERE Package/Option = qualsiasi AND Television service = sky primafila 10


Instruction: text to sql

Input: What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?

Output: SELECT Content FROM table WHERE Package/Option = qualsiasi AND Television service = sky primafila 14


Instruction: text to sql

Input: What is the HDTV that has television service of tv 8 mont blanc and content is general television?

Output: SELECT HDTV FROM table WHERE Content = general television AND Television service = tv 8 mont blanc


Instruction: text to sql

Input: Which city's IATA is nkg?

Output: SELECT City FROM table WHERE IATA = nkg


Instruction: text to sql

Input: Which airport is in Xinjiang province in the city Kuqa?

Output: SELECT Airport FROM table WHERE Province = xinjiang AND City = kuqa


Instruction: text to sql

Input: Which province's IATA is kix?

Output: SELECT Province FROM table WHERE IATA = kix


Instruction: text to sql

Input: Which airport's IATA is pen?

Output: SELECT Airport FROM table WHERE IATA = pen


Instruction: text to sql

Input: Which Event has a Record of 4:02.54?

Output: SELECT Event FROM table WHERE Record = 4:02.54


Instruction: text to sql

Input: Whcih Date has an Event of 3000 m?

Output: SELECT Date FROM table WHERE Event = 3000 m


Instruction: text to sql

Input: Which Record has a Date of 23 february 1986?

Output: SELECT Record FROM table WHERE Date = 23 february 1986


Instruction: text to sql

Input: Which Date has a Record of 8:39.49?

Output: SELECT Date FROM table WHERE Record = 8:39.49


Instruction: text to sql

Input: Which Record has a Date of 3 march 2013?

Output: SELECT Record FROM table WHERE Date = 3 march 2013


Instruction: text to sql

Input: Which Nation has a Record of 15.16 m?

Output: SELECT Nation FROM table WHERE Record = 15.16 m


Instruction: text to sql

Input: What is the Nationality of the Player with more than 8 Goals and Apps of 52?

Output: SELECT Nationality FROM table WHERE Goals > 8 AND Apps = 52


Instruction: text to sql

Input: How many Apps did Player Gilberto with more than 1 Goals have?

Output: SELECT AVG Apps FROM table WHERE Player = gilberto AND Goals > 1


Instruction: text to sql

Input: On what date was the 4th round, with home team Itabuna, played?

Output: SELECT Date FROM table WHERE Round = 4th AND Home team = itabuna


Instruction: text to sql

Input: In the 6th round match with home team Bahia, who was the away team?

Output: SELECT Away team FROM table WHERE Round = 6th AND Home team = bahia


Instruction: text to sql

Input: For the 5th round match with away team of Bahia, what was the final score?

Output: SELECT Score FROM table WHERE Round = 5th AND Away team = bahia


Instruction: text to sql

Input: Which League has a Regular Season of 2nd, southeast?

Output: SELECT League FROM table WHERE Regular Season = 2nd, southeast


Instruction: text to sql

Input: Who Playoffs has a Regular Season of on hiatus.?

Output: SELECT Playoffs FROM table WHERE Regular Season = on hiatus.


Instruction: text to sql

Input: What is the population of Kragerø?

Output: SELECT MIN Population FROM table WHERE City = kragerø


Instruction: text to sql

Input: What is the highest population of a city that has a town status of 2010?

Output: SELECT MAX Population FROM table WHERE Town status = 2010


Instruction: text to sql

Input: What is the highest population within the municipality of Porsgrunn?

Output: SELECT MAX Population FROM table WHERE Municipality = porsgrunn


Instruction: text to sql

Input: What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?

Output: SELECT Birthplace FROM table WHERE Position = d AND Height (cm) = 190 AND Jersey number = 11


Instruction: text to sql

Input: What is the position of the player who played for the London Knights during 2009-2010?

Output: SELECT Position FROM table WHERE 2009-10 team = london knights


Instruction: text to sql

Input: What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?

Output: SELECT SUM Points FROM table WHERE Year < 1971 AND Entrant = scuderia ferrari AND Engine = ferrari v12


Instruction: text to sql

Input: What's the least amount of points that Walter Wolf Racing had after 1974?

Output: SELECT MIN Points FROM table WHERE Year > 1974 AND Entrant = walter wolf racing


Instruction: text to sql

Input: What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?

Output: SELECT SUM Year FROM table WHERE Position = 6th AND Competition = commonwealth games


Instruction: text to sql

Input: What is the highest Year, when the Venue is Beijing, PR China?

Output: SELECT MAX Year FROM table WHERE Venue = beijing, pr china


Instruction: text to sql

Input: What is the average Year, when Competition is Oceania Youth Championships?

Output: SELECT AVG Year FROM table WHERE Competition = oceania youth championships


Instruction: text to sql

Input: What is Event, when Position is 4th?

Output: SELECT Event FROM table WHERE Position = 4th


Instruction: text to sql

Input: What is the Date with a Format that is cd?

Output: SELECT Date FROM table WHERE Format = cd


Instruction: text to sql

Input: What is the Catalog with a Date that is march 13, 2002?

Output: SELECT Catalog FROM table WHERE Date = march 13, 2002


Instruction: text to sql

Input: What is the Label with a Catalog that is mhcl-20017?

Output: SELECT Label FROM table WHERE Catalog = mhcl-20017


Instruction: text to sql

Input: What is the Catalog with a Date that is february 20, 2002?

Output: SELECT Catalog FROM table WHERE Date = february 20, 2002


Instruction: text to sql

Input: What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?

Output: SELECT MIN Weight (kg) FROM table WHERE Jersey # > 22 AND Position = f AND Birthdate = march 19, 1980


Instruction: text to sql

Input: What is the Position, when the Birthplace is Buffalo, New York?

Output: SELECT Position FROM table WHERE Birthplace = buffalo, new york


Instruction: text to sql

Input: What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?

Output: SELECT Birthplace FROM table WHERE Jersey # < 18 AND Height (cm) > 185 AND Birthdate = march 3, 1980


Instruction: text to sql

Input: What was the final score for the game with 65,309 people in attendance?

Output: SELECT Final Score FROM table WHERE Attendance = 65,309


Instruction: text to sql

Input: What average week number had the Chicago bears as the opponent?

Output: SELECT AVG Week FROM table WHERE Opponent = chicago bears


Instruction: text to sql

Input: What is the record for the game against New England Patriots at the Rich Stadium?

Output: SELECT Record FROM table WHERE Game Site = rich stadium AND Opponent = new england patriots


Instruction: text to sql

Input: What did the Dallara chassis with a 5 start in 2006 finish?

Output: SELECT Finish FROM table WHERE Chassis = dallara AND Start = 5 AND Year = 2006


Instruction: text to sql

Input: What is the chassis of the Honda Engine from 2008?

Output: SELECT Chassis FROM table WHERE Engine = honda AND Year = 2008


Instruction: text to sql

Input: What is the earliest year of the Honda Engine with a finish of 4?

Output: SELECT MIN Year FROM table WHERE Engine = honda AND Finish = 4


Instruction: text to sql

Input: What was 2002, when 2008 was, "career statistics"?

Output: SELECT 2002 FROM table WHERE 2008 = career statistics


Instruction: text to sql

Input: What was 2009, when 2001 was, "not masters series"?

Output: SELECT 2009 FROM table WHERE 2001 = not masters series


Instruction: text to sql

Input: What was 2011, when 2005 was 2R, and when 2003 was 2R?

Output: SELECT 2011 FROM table WHERE 2005 = 2r AND 2003 = 2r


Instruction: text to sql

Input: What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?

Output: SELECT 2009 FROM table WHERE 2012 = a AND 2003 = a AND Tournament = madrid masters


Instruction: text to sql

Input: What was 2002, when 2011 was, "atp masters series"?

Output: SELECT 2002 FROM table WHERE 2011 = atp masters series


Instruction: text to sql

Input: What was the lowest wins of Larry Nelson, who ranked less than 5?

Output: SELECT MIN Wins FROM table WHERE Player = larry nelson AND Rank < 5


Instruction: text to sql

Input: What is the sum of the earnings for rank 3?

Output: SELECT SUM Earnings( $ ) FROM table WHERE Rank = 3


Instruction: text to sql

Input: What was the lowest rank which earned 24,920,665?

Output: SELECT MIN Rank FROM table WHERE Earnings( $ ) = 24,920,665


Instruction: text to sql

Input: What is the sum of wins for a rank less than 3, and earnings more than 24,920,665?

Output: SELECT SUM Wins FROM table WHERE Rank < 3 AND Earnings( $ ) > 24,920,665


Instruction: text to sql

Input: What is the country is ranked more than 4?

Output: SELECT Country FROM table WHERE Rank > 4


Instruction: text to sql

Input: What the total of Week with attendance of 53,147

Output: SELECT SUM Week FROM table WHERE Attendance = 53,147


Instruction: text to sql

Input: What is the lowest week for December 26, 1999

Output: SELECT MIN Week FROM table WHERE Date = december 26, 1999


Instruction: text to sql

Input: What season has 6 races and the team is Australia?

Output: SELECT Season FROM table WHERE Races = 6 AND Team = australia


Instruction: text to sql

Input: What is the total number of Races when there were more than 8 wins?

Output: SELECT COUNT Races FROM table WHERE Wins > 8


Instruction: text to sql

Input: Who's the Socialist ticket with a Republican ticket of john a. may?

Output: SELECT Socialist ticket FROM table WHERE Republican ticket = john a. may


Instruction: text to sql

Input: Who's the Republican ticket with a Democratic ticket of m. william bray?

Output: SELECT Republican ticket FROM table WHERE Democratic ticket = m. william bray


Instruction: text to sql

Input: Who's the Socialist ticket with a Democratic ticket of herbert h. lehman?

Output: SELECT Socialist ticket FROM table WHERE Democratic ticket = herbert h. lehman


Instruction: text to sql

Input: Who's the Republican ticket with a Socialist ticket of frank r. crosswaith?

Output: SELECT Republican ticket FROM table WHERE Socialist ticket = frank r. crosswaith


Instruction: text to sql

Input: Who's the Republican ticket with a Socialist ticket of edna mitchell blue?

Output: SELECT Republican ticket FROM table WHERE Socialist ticket = edna mitchell blue


Instruction: text to sql

Input: what's the earliest year that serena williams had more than 2 sets?

Output: SELECT MIN Year FROM table WHERE Player = serena williams AND Sets > 2


Instruction: text to sql

Input: what's the earliest year that the wimbledon opponent was zheng jie?

Output: SELECT MIN Year FROM table WHERE Event = wimbledon AND Opponent = zheng jie


Instruction: text to sql

Input: what year was the opponent caroline garcia?

Output: SELECT SUM Year FROM table WHERE Opponent = caroline garcia


Instruction: text to sql

Input: what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets?

Output: SELECT MAX Year FROM table WHERE Aces = 20 AND Opponent = samantha stosur AND Sets > 2


Instruction: text to sql

Input: what year was the memphis event?

Output: SELECT SUM Year FROM table WHERE Event = memphis


Instruction: text to sql

Input: What season did the player who had the number 26 play on who came from far eastern?

Output: SELECT Season FROM table WHERE School/Club Team = far eastern AND Number = 26


Instruction: text to sql

Input: What season did the player who came from Cebu play in?

Output: SELECT Season FROM table WHERE School/Club Team = cebu


Instruction: text to sql

Input: How much did Champion jessica shepley share when she won?

Output: SELECT Winner's share ($) FROM table WHERE Champion = jessica shepley


Instruction: text to sql

Input: What was the country in the year 2012?

Output: SELECT Country FROM table WHERE Year = 2012


Instruction: text to sql

Input: How many purses were there after 2012 that had a winner's share of less than 15,000?

Output: SELECT COUNT Purse ($) FROM table WHERE Year > 2012 AND Winner's share ($) < 15,000


Instruction: text to sql

Input: In what year was Letecke Zavody N.P., Jinonice the manufacturer?

Output: SELECT Year FROM table WHERE Manufacturer = letecke zavody n.p., jinonice


Instruction: text to sql

Input: What country had the car with the Jawa 350cc engine?

Output: SELECT Country FROM table WHERE Engine Make/Capacity = jawa 350cc


Instruction: text to sql

Input: In what country was the car with the čz 171cc engine?

Output: SELECT Country FROM table WHERE Engine Make/Capacity = čz 171cc


Instruction: text to sql

Input: What is the name of the car that was made in the years 1956-1958?

Output: SELECT Automobile Name FROM table WHERE Year = 1956-1958


Instruction: text to sql

Input: What is the name of the car manufactured by Letecke Zavody N.P., Jinonice?

Output: SELECT Automobile Name FROM table WHERE Manufacturer = letecke zavody n.p., jinonice


Instruction: text to sql

Input: Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963?

Output: SELECT Manufacturer FROM table WHERE Engine Make/Capacity = jawa 249cc AND Year = 1956-1963


Instruction: text to sql

Input: What is the Set 2 with a Date that is jun 29?

Output: SELECT Set 2 FROM table WHERE Date = jun 29


Instruction: text to sql

Input: What is the Set 1 with a Set 2 that is 25-19?

Output: SELECT Set 1 FROM table WHERE Set 2 = 25-19


Instruction: text to sql

Input: What is the Set 5 with a Date that is jun 29?

Output: SELECT Set 5 FROM table WHERE Date = jun 29


Instruction: text to sql

Input: When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999?

Output: SELECT Construction completed FROM table WHERE Listed = 09/21/1984 AND Deleted = 11/04/1999


Instruction: text to sql

Input: What is the partially deleted result for a completed construction of m– in St. Maries Creosote?

Output: SELECT Partially deleted FROM table WHERE Construction completed = – AND Name = st. maries creosote


Instruction: text to sql

Input: What is the partially deleted result for Bunker Hill Mining & Metallurgical?

Output: SELECT Partially deleted FROM table WHERE Name = bunker hill mining & metallurgical


Instruction: text to sql

Input: What is the partially deleted result for a deleted of m– in Valley?

Output: SELECT Partially deleted FROM table WHERE Deleted = – AND County = valley


Instruction: text to sql

Input: How many matches ended with more than 22 points?

Output: SELECT SUM Match FROM table WHERE Points > 22


Instruction: text to sql

Input: What is the value in 1965 when 7 is the value for 1967?

Output: SELECT 1965 FROM table WHERE 1967 = 7


Instruction: text to sql

Input: What is the value in 1971 when 30 is the value for 1969?

Output: SELECT 1971 FROM table WHERE 1969 = 30


Instruction: text to sql

Input: What was the value in 1966 with a 0 value in 1969?

Output: SELECT 1966 FROM table WHERE 1969 = 0


Instruction: text to sql

Input: Who was the player moving to Arminia Bielefeld?

Output: SELECT Name FROM table WHERE Moving to = arminia bielefeld


Instruction: text to sql

Input: What tournament had a Winning score of –9 (69-72-68-70=279)?

Output: SELECT Tournament FROM table WHERE Winning score = –9 (69-72-68-70=279)


Instruction: text to sql

Input: What was the winning score of the Greater Vancouver Open tournament?

Output: SELECT Winning score FROM table WHERE Tournament = greater vancouver open


Instruction: text to sql

Input: Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?

Output: SELECT Runner(s)-up FROM table WHERE Margin of victory = 3 strokes AND Winning score = –13 (68-70-66-71=275)


Instruction: text to sql

Input: What was the Margin of victory in the southwest golf classic Tournament?

Output: SELECT Margin of victory FROM table WHERE Tournament = southwest golf classic


Instruction: text to sql

Input: When the Winning score was –9 (69-72-68-70=279), what was the Margin of victory?

Output: SELECT Margin of victory FROM table WHERE Winning score = –9 (69-72-68-70=279)


Instruction: text to sql

Input: What height has a floor count less than 25?

Output: SELECT Height FROM table WHERE Floor count < 25


Instruction: text to sql

Input: What state/territory has 121 m as the height?

Output: SELECT State / Territory FROM table WHERE Height = 121 m


Instruction: text to sql

Input: What state/territory has lovett tower as the building?

Output: SELECT State / Territory FROM table WHERE Building = lovett tower


Instruction: text to sql

Input: What was the date of the game against Oakland Raiders?

Output: SELECT Date FROM table WHERE Opponent = oakland raiders


Instruction: text to sql

Input: What year has 2 wins?

Output: SELECT Year FROM table WHERE Wins = 2


Instruction: text to sql

Input: What is the success rate for the year 2012?

Output: SELECT Success Rate FROM table WHERE Year = 2012


Instruction: text to sql

Input: What was the win for 4 matches with a success rate of 25%?

Output: SELECT Wins FROM table WHERE Matches = 4 AND Success Rate = 25%


Instruction: text to sql

Input: what was the win for the 6 matches?

Output: SELECT Wins FROM table WHERE Matches = 6


Instruction: text to sql

Input: What is the losses for the 5 matches?

Output: SELECT Losses FROM table WHERE Matches = 5


Instruction: text to sql

Input: What is the losses for the year 2012?

Output: SELECT Losses FROM table WHERE Year = 2012


Instruction: text to sql

Input: What is the average Total with a Gold that is larger than 4?

Output: SELECT AVG Total FROM table WHERE Gold > 4


Instruction: text to sql

Input: What is the average Total with a Bronze that is larger than 1?

Output: SELECT AVG Total FROM table WHERE Bronze > 1


Instruction: text to sql

Input: Who were the Brazil scorers for the World Cup Competition with a 1-2 score?

Output: SELECT Brazil scorers FROM table WHERE Competition = world cup AND Score = 1-2


Instruction: text to sql

Input: Which competition had a 4-3 score?

Output: SELECT Competition FROM table WHERE Score = 4-3


Instruction: text to sql

Input: What is the highest Top-5 that has 18 or more events with a Top-25 of 23?

Output: SELECT MAX Top-5 FROM table WHERE Events > 18 AND Top-25 = 23


Instruction: text to sql

Input: What is the lowest cuts made that had a Top-25 less than 6 and wins greater than 0?

Output: SELECT MIN Cuts made FROM table WHERE Top-25 < 6 AND Wins < 0


Instruction: text to sql

Input: What race did Glenn Seton win on the Sandown International Raceway circuit?

Output: SELECT Race Title FROM table WHERE Winner = glenn seton AND Circuit = sandown international raceway


Instruction: text to sql

Input: What date was the race at Oran Park ran?

Output: SELECT Date FROM table WHERE Race Title = oran park


Instruction: text to sql

Input: What is the largest number of assists for the second rank when there were less than 2 games?

Output: SELECT MAX Assists FROM table WHERE Rank = 2 AND Games < 2


Instruction: text to sql

Input: What is the smallest rank when there are more than 2 games?

Output: SELECT MIN Rank FROM table WHERE Games > 2


Instruction: text to sql

Input: What is the mean number of games for pablo prigioni when there are more than 14 assists?

Output: SELECT AVG Games FROM table WHERE Name = pablo prigioni AND Assists > 14


Instruction: text to sql

Input: What region has 57 vehicles?

Output: SELECT Region FROM table WHERE Vehicles (12.09) = 57


Instruction: text to sql

Input: What was the Score after 1991 in Category IVA?

Output: SELECT Score FROM table WHERE Year > 1991 AND Category = iva


Instruction: text to sql

Input: What was the Score in 2002?

Output: SELECT Score FROM table WHERE Year = 2002


Instruction: text to sql

Input: What was the Category before 1995?

Output: SELECT Category FROM table WHERE Year < 1995


Instruction: text to sql

Input: What was the Category after 1991 with a Score of 7-5, 6-7, 6-2?

Output: SELECT Category FROM table WHERE Year > 1991 AND Score = 7-5, 6-7, 6-2


Instruction: text to sql

Input: What was the issue date for the song by Paul Mccartney and Michael Jackson?

Output: SELECT Issue Date(s) FROM table WHERE Artist = paul mccartney and michael jackson


Instruction: text to sql

Input: What is the smallest number of seats with INC as an election winner and BJP incumbent?

Output: SELECT MIN Seats (ACs) FROM table WHERE Election Winner = inc AND Incumbent = bjp


Instruction: text to sql

Input: Who was the election winner with a BJP incumbent in Chhattisgarh?

Output: SELECT Election Winner FROM table WHERE Incumbent = bjp AND State = chhattisgarh


Instruction: text to sql

Input: When was the date of counting with less than 87 seats, INC as incumbent and INC as election winner?

Output: SELECT Date of Counting FROM table WHERE Seats (ACs) < 87 AND Incumbent = inc AND Election Winner = inc


Instruction: text to sql

Input: Which country has an IATA of EVN?

Output: SELECT Country FROM table WHERE IATA = evn


Instruction: text to sql

Input: What is the name of the airport located in Russia with an IATA of AER?

Output: SELECT Airport FROM table WHERE Country = russia AND IATA = aer


Instruction: text to sql

Input: What is the name of the airport located in Russia with an IATA of KRR?

Output: SELECT Airport FROM table WHERE Country = russia AND IATA = krr


Instruction: text to sql

Input: What is the name of the airport with an ICAO of ULLI?

Output: SELECT Airport FROM table WHERE ICAO = ulli


Instruction: text to sql

Input: What is the ICAO for the destination in Armenia?

Output: SELECT ICAO FROM table WHERE Country = armenia


Instruction: text to sql

Input: What is the name of the airport with an IATA of KUF?

Output: SELECT Airport FROM table WHERE IATA = kuf


Instruction: text to sql

Input: What is the status of Author Del Corro?

Output: SELECT Status FROM table WHERE Authors = del corro


Instruction: text to sql

Input: What is the location of the authors of Molnar?

Output: SELECT Location FROM table WHERE Authors = molnar


Instruction: text to sql

Input: What is the status of Prenocephale?

Output: SELECT Status FROM table WHERE Name = prenocephale


Instruction: text to sql

Input: What is the novel that has a valid status, located in Mongolia, and named Prenocephale?

Output: SELECT Novelty FROM table WHERE Status = valid AND Location = mongolia AND Name = prenocephale


Instruction: text to sql

Input: What is the novelty of Tylocephale?

Output: SELECT Novelty FROM table WHERE Name = tylocephale


Instruction: text to sql

Input: Which team 1 has vfl gummersbach as team 2?

Output: SELECT Team 1 FROM table WHERE Team 2 = vfl gummersbach


Instruction: text to sql

Input: What is the 2nd leg that has 31-37 as the 1st leg?

Output: SELECT 2nd leg FROM table WHERE 1st leg = 31-37


Instruction: text to sql

Input: Which team 1 has cbm valladolid as team 2?

Output: SELECT Team 1 FROM table WHERE Team 2 = cbm valladolid


Instruction: text to sql

Input: What 2nd leg has rk gold club kozina as team 1?

Output: SELECT 2nd leg FROM table WHERE Team 1 = rk gold club kozina


Instruction: text to sql

Input: What 1st leg has 52-70 as the agg.?

Output: SELECT 1st leg FROM table WHERE Agg. = 52-70


Instruction: text to sql

Input: What was the surface for October 10, 2004?

Output: SELECT Surface FROM table WHERE Date = october 10, 2004


Instruction: text to sql

Input: What was the surface for the opponent Roger Federer?

Output: SELECT Surface FROM table WHERE Opponent = roger federer


Instruction: text to sql

Input: How many years was the 400 m event in the olympic games?

Output: SELECT COUNT Year FROM table WHERE Competition = olympic games AND Event = 400 m


Instruction: text to sql

Input: How many were in attendance of the game with l 26-21 result?

Output: SELECT Attendance FROM table WHERE Result = l 26-21


Instruction: text to sql

Input: Who is the opponent for the game with 37,845 people in attendance?

Output: SELECT Opponent FROM table WHERE Attendance = 37,845


Instruction: text to sql

Input: How many silver medals were there with 2 gold medals and more than 2 bronze medals?

Output: SELECT Silver FROM table WHERE Gold = 2 AND Bronze > 2


Instruction: text to sql

Input: What is the smallest total number of medals for rank 11 and more than 0 silver medals?

Output: SELECT MIN Total FROM table WHERE Rank = 11 AND Silver > 0


Instruction: text to sql

Input: What is the sum of all total medals with more than 2 bronze medals and more than 1 gold medal for the United States?

Output: SELECT SUM Total FROM table WHERE Bronze > 2 AND Nation = united states AND Gold > 1


Instruction: text to sql

Input: What is the largest number of gold medals for Canada with more than 7 bronze medals?

Output: SELECT MAX Gold FROM table WHERE Nation = canada AND Bronze > 7


Instruction: text to sql

Input: What is the sum of all silver medals with less than 23 medals in total and more than 3 bronze medals for the United States?

Output: SELECT SUM Silver FROM table WHERE Total < 23 AND Nation = united states AND Bronze > 3


Instruction: text to sql

Input: When was Steve Williams in Zurich and his result was 10.07?

Output: SELECT Date FROM table WHERE Location = zurich AND Result = 10.07


Instruction: text to sql

Input: What is the largest number lost with 0 draws and less than 12 points for Gwardia Katowice?

Output: SELECT MAX Lost FROM table WHERE Draw = 0 AND Team = gwardia katowice AND Points < 12


Instruction: text to sql

Input: What is the highest number of draws with 6 losses and less than 15 points?

Output: SELECT MAX Draw FROM table WHERE Lost = 6 AND Points < 15


Instruction: text to sql

Input: How many draws correspond to more than 11 losses in a match less than 14?

Output: SELECT COUNT Draw FROM table WHERE Lost > 11 AND Match < 14


Instruction: text to sql

Input: What is the Director of Children of Sarajevo?

Output: SELECT Director FROM table WHERE Film title used in nomination = children of sarajevo


Instruction: text to sql

Input: What is the Result of the 2010 (83rd) Ceremony?

Output: SELECT Result FROM table WHERE Year (Ceremony) = 2010 (83rd)


Instruction: text to sql

Input: What is the Result of the 2013 (86th) Ceremony?

Output: SELECT Result FROM table WHERE Year (Ceremony) = 2013 (86th)


Instruction: text to sql

Input: What is the Original title of Children of Sarajevo?

Output: SELECT Original title FROM table WHERE Film title used in nomination = children of sarajevo


Instruction: text to sql

Input: In the 2012 (85th) Ceremony, what was the Original title of the film not nominated?

Output: SELECT Original title FROM table WHERE Result = not nominated AND Year (Ceremony) = 2012 (85th)


Instruction: text to sql

Input: What is the lowest draw number for the song ranked 6th with more than 43 points?

Output: SELECT MIN Draw FROM table WHERE Points > 43 AND Rank = 6th


Instruction: text to sql

Input: What is the total sum of points for songs performed by Partners in Crime?

Output: SELECT SUM Points FROM table WHERE Performer = partners in crime


Instruction: text to sql

Input: What is the class of facility ID 150935?

Output: SELECT Class FROM table WHERE Facility ID = 150935


Instruction: text to sql

Input: Which city has a facility ID greater than 150833?

Output: SELECT City of license FROM table WHERE Facility ID > 150833


Instruction: text to sql

Input: What position does the player from the Toronto Argonauts play?

Output: SELECT Position FROM table WHERE CFL Team = toronto argonauts


Instruction: text to sql

Input: What was the 1st leg for Team 2 Concepto Egile?

Output: SELECT 1st leg FROM table WHERE Team 2 = concepto egile


Instruction: text to sql

Input: Which team 1 has team 2, Gomera?

Output: SELECT Team 1 FROM table WHERE Team 2 = gomera


Instruction: text to sql

Input: What public team was founded prior to 1883?

Output: SELECT Team FROM table WHERE Founded < 1883 AND Type = public


Instruction: text to sql

Input: Who has exactly 342 spikes?

Output: SELECT Name FROM table WHERE Spike = 342


Instruction: text to sql

Input: What is the smallest number of spikes for players with a weight of 83 and height over 190?

Output: SELECT MIN Spike FROM table WHERE Weight = 83 AND Height > 190


Instruction: text to sql

Input: What is Class, when Power is 78 Watts?

Output: SELECT Class FROM table WHERE Power = 78 watts


Instruction: text to sql

Input: What is Power, when Identifier is CBEB-FM?

Output: SELECT Power FROM table WHERE Identifier = cbeb-fm


Instruction: text to sql

Input: What is Identifier, when City of License is Terrace Bay?

Output: SELECT Identifier FROM table WHERE City of license = terrace bay


Instruction: text to sql

Input: What is Power, when City of License is Sioux Lookout?

Output: SELECT Power FROM table WHERE City of license = sioux lookout


Instruction: text to sql

Input: What is Identifier, when City of License is Hornepayne?

Output: SELECT Identifier FROM table WHERE City of license = hornepayne


Instruction: text to sql

Input: What is City of License, when Frequency is 101.1?

Output: SELECT City of license FROM table WHERE Frequency = 101.1


Instruction: text to sql

Input: Which LE-5 Model has an LE-5A of 130?

Output: SELECT LE-5 Model FROM table WHERE LE-5A = 130


Instruction: text to sql

Input: What Series had 14 races and 12th position?

Output: SELECT Series FROM table WHERE Races = 14 AND Position = 12th


Instruction: text to sql

Input: What season was the Formula BMW USA in?

Output: SELECT Season FROM table WHERE Series = formula bmw usa


Instruction: text to sql

Input: What series had more than 10 Podiums?

Output: SELECT Series FROM table WHERE Podiums > 10


Instruction: text to sql

Input: What is the Status with an Author that is colbert?

Output: SELECT Status FROM table WHERE Authors = colbert


Instruction: text to sql

Input: What college was the draft pick number larger than 18 that went to the Barangay ginebra kings?

Output: SELECT College FROM table WHERE Pick > 18 AND PBA team = barangay ginebra kings


Instruction: text to sql

Input: What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian?

Output: SELECT SUM Pick FROM table WHERE PBA team = san miguel beermen AND College = san sebastian


Instruction: text to sql

Input: What is the total number of picks for PBA team san miguel beermen who picked rommel daep?

Output: SELECT COUNT Pick FROM table WHERE PBA team = san miguel beermen AND Player = rommel daep


Instruction: text to sql

Input: What player came from the United States and went to Ohlone college?

Output: SELECT Player FROM table WHERE Country of origin* = united states AND College = ohlone


Instruction: text to sql

Input: Who won after 1999 with changwon lg sakers as runners-up?

Output: SELECT Champions FROM table WHERE Year > 1999 AND Runners-up = changwon lg sakers


Instruction: text to sql

Input: What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?

Output: SELECT Result FROM table WHERE Year > 2007 AND Runners-up = seoul samsung thunders AND Champions = jeonju kcc egis


Instruction: text to sql

Input: What was the winning team in 2013?

Output: SELECT Winning team FROM table WHERE Year = 2013


Instruction: text to sql

Input: What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth?

Output: SELECT MAX Year FROM table WHERE Winning team = europe AND USA Captain = kathy whitworth


Instruction: text to sql

Input: When the USA's captain was Beth Daniel, who was the winning team?

Output: SELECT Winning team FROM table WHERE USA Captain = beth daniel


Instruction: text to sql

Input: What is the Season when league shows bundesliga, and a European competition of played korac cup?

Output: SELECT Season FROM table WHERE League = bundesliga AND European competitions = played korac cup


Instruction: text to sql

Input: What is the average Tier when the postseason shows -, and the season is 2012–13?

Output: SELECT AVG Tier FROM table WHERE Postseason = – AND Season = 2012–13


Instruction: text to sql

Input: What is the European competition when the tier is more than 2?

Output: SELECT European competitions FROM table WHERE Tier > 2


Instruction: text to sql

Input: What was the outcome of the match played on grass?

Output: SELECT Outcome FROM table WHERE Surface = grass


Instruction: text to sql

Input: What was the outcome of the match on February 17, 2003?

Output: SELECT Outcome FROM table WHERE Date (Final) = february 17, 2003


Instruction: text to sql

Input: How many average wins have USA as the team?

Output: SELECT AVG Wins FROM table WHERE Team = usa


Instruction: text to sql

Input: What are the average wins that have great britain as the team?

Output: SELECT AVG Wins FROM table WHERE Team = great britain


Instruction: text to sql

Input: What's the average draft pick number from Carson-Newman College before Round 7?

Output: SELECT AVG Pick # FROM table WHERE College = carson-newman AND Round < 7


Instruction: text to sql

Input: Which college has a pick number of 155?

Output: SELECT College FROM table WHERE Pick # = 155


Instruction: text to sql

Input: What score in the final has november 3, 2002 as the date?

Output: SELECT Score in the final FROM table WHERE Date = november 3, 2002


Instruction: text to sql

Input: What surface has natalia gussoni as the partner?

Output: SELECT Surface FROM table WHERE Partner = natalia gussoni


Instruction: text to sql

Input: What outcome has September 23, 2013 as the date?

Output: SELECT Outcome FROM table WHERE Date = september 23, 2013


Instruction: text to sql

Input: What score in the final has hard as the surface, and june 13, 2011 as the date?

Output: SELECT Score in the final FROM table WHERE Surface = hard AND Date = june 13, 2011


Instruction: text to sql

Input: What date has elke clijsters as the partner?

Output: SELECT Date FROM table WHERE Partner = elke clijsters


Instruction: text to sql

Input: What is the Round with a Prize of money that is £120,000?

Output: SELECT Round FROM table WHERE Prize money = £120,000


Instruction: text to sql

Input: What is the Match with a Prize of money that is £1,000,000?

Output: SELECT Matches FROM table WHERE Prize money = £1,000,000


Instruction: text to sql

Input: When alvin and the chipmunks meet frankenstein, what was the role?

Output: SELECT Role FROM table WHERE Title = alvin and the chipmunks meet frankenstein


Instruction: text to sql

Input: What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman?

Output: SELECT MIN Year FROM table WHERE Role = alvin seville simon seville david 'dave' seville AND Title = alvin and the chipmunks meet the wolfman


Instruction: text to sql

Input: What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure?

Output: SELECT AVG Year FROM table WHERE Role = alvin seville simon seville david 'dave' seville AND Title = the chipmunk adventure


Instruction: text to sql

Input: What was the role in the chipmunk adventure?

Output: SELECT Role FROM table WHERE Title = the chipmunk adventure


Instruction: text to sql

Input: What role was played in 2007?

Output: SELECT Role FROM table WHERE Year = 2007


Instruction: text to sql

Input: What is the total number of points for the KV Racing Technology team when they use a chevrolet engine?

Output: SELECT COUNT Points FROM table WHERE Engine = chevrolet AND Team = kv racing technology


Instruction: text to sql

Input: Which engine has a chassis of dallara, is ranked 6th, and has 384 points?

Output: SELECT Engine FROM table WHERE Chassis = dallara AND Rank = 6th AND Points = 384


Instruction: text to sql

Input: Which engine is used when there is a 3rd place rank and 513 points?

Output: SELECT Engine FROM table WHERE Rank = 3rd AND Points = 513


Instruction: text to sql

Input: What is the chassis when the rank is 3rd?

Output: SELECT Chassis FROM table WHERE Rank = 3rd


Instruction: text to sql

Input: What are the years that Andretti Autosport is a team?

Output: SELECT COUNT Year FROM table WHERE Team = andretti autosport


Instruction: text to sql

Input: Which team is ranked 3rd in 2008?

Output: SELECT Team FROM table WHERE Rank = 3rd AND Year = 2008


Instruction: text to sql

Input: Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14?

Output: SELECT AVG Oilers points FROM table WHERE Record = 10–6 AND Oilers first downs > 14


Instruction: text to sql

Input: Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19?

Output: SELECT MAX Oilers points FROM table WHERE Opponent = san francisco 49ers AND Opponents > 19


Instruction: text to sql

Input: Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213?

Output: SELECT SUM Game FROM table WHERE Opponent = at kansas city chiefs AND Attendance < 40,213


Instruction: text to sql

Input: What is the name of the country that has 18 May 2004 as the date?

Output: SELECT Country FROM table WHERE Date = 18 may 2004


Instruction: text to sql

Input: What catalog has Australia as the country?

Output: SELECT Catalog FROM table WHERE Country = australia


Instruction: text to sql

Input: In what format was the release that was dated 7 April 2003 from catalog 584 2112?

Output: SELECT Format FROM table WHERE Date = 7 april 2003 AND Catalog = 584 2112


Instruction: text to sql

Input: What date was the release when the format was lp?

Output: SELECT Date FROM table WHERE Format = lp


Instruction: text to sql

Input: What date is the release when the label was Parlophone and the catalog was 582 2912?

Output: SELECT Date FROM table WHERE Label = parlophone AND Catalog = 582 2912


Instruction: text to sql

Input: What catalog has the United Kingdom as the country?

Output: SELECT Catalog FROM table WHERE Country = united kingdom