Instruction: text to sql

Input: who is the driver when the constructor is maserati, the chassis is maserati 4clt-48 and the tyre is d?

Output: SELECT Driver FROM table WHERE Constructor = maserati AND Chassis = maserati 4clt-48 AND Tyre = d


Instruction: text to sql

Input: who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?

Output: SELECT Constructor FROM table WHERE Tyre = d AND Engine = talbot 23cv 4.5 l6 AND Chassis = talbot-lago t26c AND Entrant = ecurie belge


Instruction: text to sql

Input: What is KK -1 if KK -3 is 1,100?

Output: SELECT KK - 1 FROM table WHERE KK - 3 = 1,100


Instruction: text to sql

Input: What is KK -5 if KK - 3 is 310?

Output: SELECT KK - 5 FROM table WHERE KK - 3 = 310


Instruction: text to sql

Input: What is KK - 5 if KK - 1 is 1,067?

Output: SELECT KK - 5 FROM table WHERE KK - 1 = 1,067


Instruction: text to sql

Input: Who is the Winner with a Time of 1:12.00 and Melvin A. Holland as the Jockey?

Output: SELECT Winner FROM table WHERE Time = 1:12.00 AND Jockey = melvin a. holland


Instruction: text to sql

Input: Which Year has a Purse of $83,925?

Output: SELECT Year FROM table WHERE Purse = $83,925


Instruction: text to sql

Input: What is the Purse listed for the Year of 1998?

Output: SELECT Purse FROM table WHERE Year = 1998


Instruction: text to sql

Input: What's the Winner in the Year of 2000?

Output: SELECT Winner FROM table WHERE Year = 2000


Instruction: text to sql

Input: What's the WInner with a TIme of 1:10.60, and Owner of Leslie Combs II?

Output: SELECT Winner FROM table WHERE Time = 1:10.60 AND Owner = leslie combs ii


Instruction: text to sql

Input: Who is the Trainer with the Year of 2013?

Output: SELECT Trainer FROM table WHERE Year = 2013


Instruction: text to sql

Input: What venue features an away side score of 11.11 (77)?

Output: SELECT Venue FROM table WHERE Away team score = 11.11 (77)


Instruction: text to sql

Input: Who is the away side when the crowd is over 14,112 with an away team score of 11.11 (77)?

Output: SELECT Away team FROM table WHERE Crowd > 14,112 AND Away team score = 11.11 (77)


Instruction: text to sql

Input: How many points did the away team of st kilda score?

Output: SELECT Away team score FROM table WHERE Away team = st kilda


Instruction: text to sql

Input: Tell me the date with result of l 13–9

Output: SELECT Date FROM table WHERE Result = l 13–9


Instruction: text to sql

Input: Tell me the total number of week for w 35–7

Output: SELECT COUNT Week FROM table WHERE Result = w 35–7


Instruction: text to sql

Input: Tell me the average week for result of l 34–24

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


Instruction: text to sql

Input: Who was the President of Czechoslovakia when an ambassador's tenure began in 1950?

Output: SELECT Czechoslovak president FROM table WHERE Tenure Begin = 1950


Instruction: text to sql

Input: What is the total share for an episode with an air date of November 19, 2007?

Output: SELECT SUM Share FROM table WHERE Air Date = november 19, 2007


Instruction: text to sql

Input: Which manufacturer has a Time/Retired of +15.665?

Output: SELECT Manufacturer FROM table WHERE Time/Retired = +15.665


Instruction: text to sql

Input: What were the laps of aprilia with a grid of 10?

Output: SELECT Laps FROM table WHERE Manufacturer = aprilia AND Grid = 10


Instruction: text to sql

Input: What was the size of the crowd at the game played at Junction Oval?

Output: SELECT AVG Crowd FROM table WHERE Venue = junction oval


Instruction: text to sql

Input: When was the game when North Melbourne was the home team?

Output: SELECT Date FROM table WHERE Home team = north melbourne


Instruction: text to sql

Input: Which School/Club Team does Andrew Jones play for?

Output: SELECT School/Club Team FROM table WHERE Player = andrew jones


Instruction: text to sql

Input: Which School/Club Team did not make it to round 2?

Output: SELECT School/Club Team FROM table WHERE Round < 2


Instruction: text to sql

Input: Which player is the 24 pick?

Output: SELECT Player FROM table WHERE Pick = 24


Instruction: text to sql

Input: What is the average round of the number 16 pick?

Output: SELECT AVG Round FROM table WHERE Pick = 16


Instruction: text to sql

Input: How many games were lost where the win percentage is smaller than 16.7 and the played games is 3?

Output: SELECT COUNT Lost FROM table WHERE Win % < 16.7 AND Played = 3


Instruction: text to sql

Input: Where is pine valley?

Output: SELECT Location FROM table WHERE Name = pine valley


Instruction: text to sql

Input: What is augusta's low rank?

Output: SELECT MIN Rank FROM table WHERE Location = augusta


Instruction: text to sql

Input: Which group has a registration less than 75 in 2011, more then 140 in 2005, and less than 148 in 2002?

Output: SELECT Group FROM table WHERE 2011 Registrations > 75 AND 2005 Registrations > 140 AND 2002 Registrations < 148


Instruction: text to sql

Input: Which Model has the GCM (kg) Technical Capacity of 42000?

Output: SELECT Model FROM table WHERE GCM (kg) Technical Capacity = 42000


Instruction: text to sql

Input: Which Model has a GCM (kg) Technical Capacity of 35000, a GVM (kg) Technical Capacity of 16000, and Cummins Interact 6.0-euro III (turbo intercooler) for the Engine?

Output: SELECT Model FROM table WHERE GCM (kg) Technical Capacity = 35000 AND GVM (kg) Technical Capacity = 16000 AND Engine make/Capacity = cummins interact 6.0-euro iii (turbo intercooler)


Instruction: text to sql

Input: Which Torque Nm@rpm has a Power kW@rpm equal to 184 @ 2500 and a GVM (kg) Technical Capacity of 16000?

Output: SELECT Torque Nm@rpm FROM table WHERE Power kW@rpm = 184 @ 2500 AND GVM (kg) Technical Capacity = 16000


Instruction: text to sql

Input: Which character won before 2006?

Output: SELECT Character FROM table WHERE Result = won AND Year < 2006


Instruction: text to sql

Input: In 2004 who was favourite maa?

Output: SELECT Character FROM table WHERE Category = favourite maa AND Year = 2004


Instruction: text to sql

Input: What were the results after 2004?

Output: SELECT Result FROM table WHERE Year > 2004


Instruction: text to sql

Input: In 2007 what category won?

Output: SELECT Category FROM table WHERE Result = won AND Year < 2007


Instruction: text to sql

Input: What's the D 48 √ when the D 40 √ is D 37?

Output: SELECT D 48 √ FROM table WHERE D 40 √ = d 37


Instruction: text to sql

Input: What's the D 42 √ when D 46 √ is majority→?

Output: SELECT D 42 √ FROM table WHERE D 46 √ = majority→


Instruction: text to sql

Input: What's the D 40 √ when D 43 √ is d 14?

Output: SELECT D 40 √ FROM table WHERE D 43 √ = d 14


Instruction: text to sql

Input: What's the D 42 √ when D 44 √ is majority→?

Output: SELECT D 42 √ FROM table WHERE D 44 √ = majority→


Instruction: text to sql

Input: What's the D 44 √ when D 46 √ is d 26?

Output: SELECT D 44 √ FROM table WHERE D 46 √ = d 26


Instruction: text to sql

Input: What's the D 42 √ when D 43 √ is r 5?

Output: SELECT D 42 √ FROM table WHERE D 43 √ = r 5


Instruction: text to sql

Input: How many benue houses have been founded?

Output: SELECT COUNT Founded FROM table WHERE House Name = benue


Instruction: text to sql

Input: When is the earliest year founded for houses named after the river benue?

Output: SELECT MIN Founded FROM table WHERE Named after = river benue


Instruction: text to sql

Input: What composition was founded in 1976?

Output: SELECT Composition FROM table WHERE Founded = 1976


Instruction: text to sql

Input: What colours have a House Name of ogun?

Output: SELECT Colours FROM table WHERE House Name = ogun


Instruction: text to sql

Input: What's the average attendance on january 6, 2008?

Output: SELECT AVG Attendance FROM table WHERE Date = january 6, 2008


Instruction: text to sql

Input: What was the score when the spurs were the visitors?

Output: SELECT Score FROM table WHERE Visitor = spurs


Instruction: text to sql

Input: What was the score when the nets were the visitors and attendance was over 16,494?

Output: SELECT Score FROM table WHERE Attendance > 16,494 AND Visitor = nets


Instruction: text to sql

Input: Which name has a type of lake, a County of hennepin, and a USGS 7.5 Map of rogers?

Output: SELECT Name FROM table WHERE Type = lake AND County = hennepin AND USGS 7.5' Map = rogers


Instruction: text to sql

Input: What is the total GNIS Feature ID with a County of idaho?

Output: SELECT SUM GNIS Feature ID FROM table WHERE County = idaho


Instruction: text to sql

Input: What is the lowest GNIS Feature ID from County of sheridan?

Output: SELECT MIN GNIS Feature ID FROM table WHERE County = sheridan


Instruction: text to sql

Input: Which state has a GNIS Feature ID larger than 624634, and a USGS 7.5 Map of temple peak?

Output: SELECT State FROM table WHERE GNIS Feature ID > 624634 AND USGS 7.5' Map = temple peak


Instruction: text to sql

Input: Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127?

Output: SELECT State FROM table WHERE Name = diamond lake AND GNIS Feature ID = 1579127


Instruction: text to sql

Input: Who directed the episode written cyrus nowrasteh?

Output: SELECT Directed by FROM table WHERE Written by = cyrus nowrasteh


Instruction: text to sql

Input: What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 11 and a Height smaller than 8126?

Output: SELECT COUNT Rank (Pakistan) FROM table WHERE World Rank < 11 AND Height (m) < 8126


Instruction: text to sql

Input: Which 2006 tournament had a 4R performance in 2001?

Output: SELECT 2006 FROM table WHERE 2001 = 4r


Instruction: text to sql

Input: Which tournament had a performance of 1R in 2004 and 2R in 1998?

Output: SELECT Tournament FROM table WHERE 2004 = 1r AND 1998 = 2r


Instruction: text to sql

Input: Which 1998 tournament had a performance of 3R in 2007?

Output: SELECT 1998 FROM table WHERE 2007 = 3r


Instruction: text to sql

Input: What's the name of the 2005 tournament that has a 1R in both 2006 and 2002?

Output: SELECT 2005 FROM table WHERE 2006 = 1r AND 2002 = 1r


Instruction: text to sql

Input: What did home team score at glenferrie oval?

Output: SELECT Home team score FROM table WHERE Venue = glenferrie oval


Instruction: text to sql

Input: For End of Fiscal Years before 2003 with a GDP $Billions OMB/BEA est.=MW.com of 10,980 what is the highest Gross Debt in $Billions undeflated Treas.?

Output: SELECT MAX Gross Debt in $Billions undeflated Treas. FROM table WHERE GDP $Billions OMB/BEA est.=MW.com = 10,980 AND End of Fiscal Year < 2003


Instruction: text to sql

Input: For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years?

Output: SELECT AVG Gross Debt in $Billions undeflated Treas. FROM table WHERE End of Fiscal Year > 1980 AND as % of GDP Low-High = 83.4-84.4 AND Debt Held By Public ($Billions) < 7,552


Instruction: text to sql

Input: For End of Fiscal Year(s) with as % of GDP (Treas/MW, OMB or OMB/MW) of 28 and Gross Debt in $Billions undeflated Treas. smaller than 370.9 what would be the sum of Debt Held By Public ($Billions)?

Output: SELECT COUNT Debt Held By Public ($Billions) FROM table WHERE as % of GDP (Treas/MW, OMB or OMB/MW) = 28 AND Gross Debt in $Billions undeflated Treas. < 370.9


Instruction: text to sql

Input: For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.?

Output: SELECT COUNT Gross Debt in $Billions undeflated Treas. FROM table WHERE Debt Held By Public ($Billions) > 236.8 AND as % of GDP Low-High = 33.4


Instruction: text to sql

Input: What player was selected in Round 6?

Output: SELECT Player FROM table WHERE Round = 6


Instruction: text to sql

Input: What is the nationality of the player who played for the Peterborough Petes (OHL)?

Output: SELECT Nationality FROM table WHERE College/junior/club team (league) = peterborough petes (ohl)


Instruction: text to sql

Input: Which round was Mike Peca (C) of Canada selected in?

Output: SELECT SUM Round FROM table WHERE Nationality = canada AND Player = mike peca (c)


Instruction: text to sql

Input: What is the smallest grid for Ayrton Senna?

Output: SELECT MIN Grid FROM table WHERE Driver = ayrton senna


Instruction: text to sql

Input: What is the Time/Retired for laps higher than 52 on a grid larger than 21?

Output: SELECT Time/Retired FROM table WHERE Laps > 52 AND Grid > 21


Instruction: text to sql

Input: What is the sum of laps for grid 20?

Output: SELECT SUM Laps FROM table WHERE Grid = 20


Instruction: text to sql

Input: What is the most laps for Ayrton Senna?

Output: SELECT MAX Laps FROM table WHERE Driver = ayrton senna


Instruction: text to sql

Input: what was the score of the parallel bars with a floor exercise score more than 9.137, vault more than 9.5 and horizontal bar of 9.225?

Output: SELECT SUM Parallel Bars FROM table WHERE Floor Exercise > 9.137 AND Horizontal Bar = 9.225 AND Vault > 9.5


Instruction: text to sql

Input: what was the floor exercise score with a pommel horse score of 9.65 and horizontal  bar score more than 9.475?

Output: SELECT MAX Floor Exercise FROM table WHERE Pommel Horse = 9.65 AND Horizontal Bar > 9.475


Instruction: text to sql

Input: Which tournament had A in 2008, and a 1r in 2010?

Output: SELECT Tournament FROM table WHERE 2008 = a AND 2010 = 1r


Instruction: text to sql

Input: What was the position for 2008, where 2012 was q1, and 2010 was 1r?

Output: SELECT 2008 FROM table WHERE 2012 = q1 AND 2010 = 1r


Instruction: text to sql

Input: Which venue has a Goal of 3?

Output: SELECT Venue FROM table WHERE Goal = 3


Instruction: text to sql

Input: Which venue was used on 10 september 2010?

Output: SELECT Venue FROM table WHERE Date = 10 september 2010


Instruction: text to sql

Input: How many carries for the player with under 6 yards and an average of over 5?

Output: SELECT COUNT Car. FROM table WHERE Yards < 6 AND Avg. > 5


Instruction: text to sql

Input: What was the longest carry for kevin clemens with under 31 yards total?

Output: SELECT MAX Long FROM table WHERE Player = kevin clemens AND Yards < 31


Instruction: text to sql

Input: How many TDs for the player with a long of less than 4 and under 8 yards?

Output: SELECT SUM TD's FROM table WHERE Long < 4 AND Yards < 8


Instruction: text to sql

Input: What is the average for the player with 1 TD, over 4 as a long, and under 1 carry?

Output: SELECT MIN Avg. FROM table WHERE TD's = 1 AND Long > 4 AND Car. < 1


Instruction: text to sql

Input: What was the attendance at Brunswick Street Oval?

Output: SELECT COUNT Crowd FROM table WHERE Venue = brunswick street oval


Instruction: text to sql

Input: What's listed as the First Day Cover Cancellation with a Date of Issue of 13 June 2005?

Output: SELECT First Day Cover Cancellation FROM table WHERE Date of Issue = 13 june 2005


Instruction: text to sql

Input: What's the First Day Cover Cancellation with Denomination of $0.50 and Date of Issue as 13 June 2005?

Output: SELECT First Day Cover Cancellation FROM table WHERE Denomination = $0.50 AND Date of Issue = 13 june 2005


Instruction: text to sql

Input: What's the Denomination listed for the Date of Issue 12 April 2005?

Output: SELECT Denomination FROM table WHERE Date of Issue = 12 april 2005


Instruction: text to sql

Input: Which Paper Type has a Denomination of $0.50 and Date of Issue 4 February 2005?

Output: SELECT Paper Type FROM table WHERE Denomination = $0.50 AND Date of Issue = 4 february 2005


Instruction: text to sql

Input: What's the Date of Issue for Design of Katalin Kovats?

Output: SELECT Date of Issue FROM table WHERE Design = katalin kovats


Instruction: text to sql

Input: What was the average for the player that scored 116 yards and had TD's less than 1?

Output: SELECT COUNT Avg. FROM table WHERE Yards = 116 AND TD's < 1


Instruction: text to sql

Input: What was the lowest recorded record for a player with an average larger than 13?

Output: SELECT MIN Rec. FROM table WHERE Avg. > 13


Instruction: text to sql

Input: How many yards did Hank Edwards make when he had TD's of 1 and an average higher than 13?

Output: SELECT COUNT Yards FROM table WHERE TD's = 1 AND Player = hank edwards AND Avg. > 13


Instruction: text to sql

Input: How many yards were averaged by the player that had a higher than 13 average with less than 18 long?

Output: SELECT AVG Yards FROM table WHERE Long < 18 AND Avg. > 13


Instruction: text to sql

Input: What is the highest number of yards recorded for a player that had more than 4 TD's?

Output: SELECT MAX Yards FROM table WHERE TD's > 4


Instruction: text to sql

Input: For an airline of Wizz Air and fewer than 83 destinations, what is the highest passenger fleet?

Output: SELECT MAX Passenger Fleet FROM table WHERE Airline/Holding = wizz air AND Current Destinations < 83


Instruction: text to sql

Input: Which alliance has a rank of 40?

Output: SELECT Alliance/ Association FROM table WHERE Rank = 40


Instruction: text to sql

Input: For airlines named Aeroflot Group, what is the alliance?

Output: SELECT Alliance/ Association FROM table WHERE Airline/Holding = aeroflot group


Instruction: text to sql

Input: In which year was a linebacker pick 17?

Output: SELECT Year FROM table WHERE Position = linebacker AND Pick = 17


Instruction: text to sql

Input: What is the name of the cornerback from 1997?

Output: SELECT Player name FROM table WHERE Position = cornerback AND Year = 1997


Instruction: text to sql

Input: What is the name of the player from after 1989 from Washington State?

Output: SELECT Player name FROM table WHERE Year > 1989 AND College = washington state


Instruction: text to sql

Input: Which race has a Margin of 8?

Output: SELECT Race FROM table WHERE Margin = 8


Instruction: text to sql

Input: How many Runners have a Placing that isn't 1?

Output: SELECT COUNT Runners FROM table WHERE Placing > 1


Instruction: text to sql

Input: What is the lowest number of Runners that has a Placing that isn't 1?

Output: SELECT MIN Runners FROM table WHERE Placing < 1


Instruction: text to sql

Input: What is the lowest Prize amount for the Irish Derby Race?

Output: SELECT MIN Prize (£K) FROM table WHERE Race = irish derby


Instruction: text to sql

Input: How many people attended the game that resulted in an away team score of 18.17 (125)?

Output: SELECT SUM Crowd FROM table WHERE Away team score = 18.17 (125)


Instruction: text to sql

Input: What was the mintage having an issue price of $1,099.99, artist being Pamela Stagg?

Output: SELECT AVG Mintage FROM table WHERE Issue Price = $1,099.99 AND Artist = pamela stagg


Instruction: text to sql

Input: What was the year that had an issue price of $1,295.95?

Output: SELECT AVG Year FROM table WHERE Issue Price = $1,295.95


Instruction: text to sql

Input: What is the composition with an artist of Henry Purdy, a year smaller than 2002, and a mint more than 1,998?

Output: SELECT Composition FROM table WHERE Year < 2002 AND Mintage > 1,998 AND Artist = henry purdy


Instruction: text to sql

Input: What was the average mintage for that of artist Celia Godkin, before the year 2010?

Output: SELECT AVG Mintage FROM table WHERE Artist = celia godkin AND Year < 2010


Instruction: text to sql

Input: Where is the Venue that has an away team score of 13.16 (94) points?

Output: SELECT Venue FROM table WHERE Away team score = 13.16 (94)


Instruction: text to sql

Input: What was the away team score at Windy Hill?

Output: SELECT Away team score FROM table WHERE Venue = windy hill


Instruction: text to sql

Input: Who was the home team at Lake Oval?

Output: SELECT Home team FROM table WHERE Venue = lake oval


Instruction: text to sql

Input: What is the number of the crowd when the away team score was 10.18 (78)?

Output: SELECT COUNT Crowd FROM table WHERE Away team score = 10.18 (78)


Instruction: text to sql

Input: On what date was the crowd over 19,298 when South Melbourne was the home team?

Output: SELECT Date FROM table WHERE Crowd > 19,298 AND Home team = south melbourne


Instruction: text to sql

Input: On what date was the home team score 10.14 (74)?

Output: SELECT Date FROM table WHERE Home team score = 10.14 (74)


Instruction: text to sql

Input: On what date was the venue VFL Park?

Output: SELECT Date FROM table WHERE Venue = vfl park


Instruction: text to sql

Input: Which team was the home team at Glenferrie Oval?

Output: SELECT Home team FROM table WHERE Venue = glenferrie oval


Instruction: text to sql

Input: What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6?

Output: SELECT Date FROM table WHERE Opponent in the final = steffi graf AND Score in the final = 2–6, 0–6


Instruction: text to sql

Input: What was the surface where the outcome was winner on 12 march 1989?

Output: SELECT Surface FROM table WHERE Outcome = winner AND Date = 12 march 1989


Instruction: text to sql

Input: What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek?

Output: SELECT Outcome FROM table WHERE Tournament = lugano , switzerland wta virginia slims AND Opponent in the final = bonnie gadusek


Instruction: text to sql

Input: What is the outcome of the match against Sylvia Hanika on a hard (i) surface?

Output: SELECT Outcome FROM table WHERE Opponent in the final = sylvia hanika AND Surface = hard (i)


Instruction: text to sql

Input: What player had numbers of 20

Output: SELECT Player FROM table WHERE No.(s) = 20


Instruction: text to sql

Input: Tell me the height in ft for 1999-2004

Output: SELECT Height in Ft. FROM table WHERE Years for Rockets = 1999-2004


Instruction: text to sql

Input: Tell me the number for height in ft of 6-7

Output: SELECT No.(s) FROM table WHERE Height in Ft. = 6-7


Instruction: text to sql

Input: What player had a school of missouri

Output: SELECT Player FROM table WHERE School/Club Team/Country = missouri


Instruction: text to sql

Input: What pick # has a team from Rimouski Océanic?

Output: SELECT AVG Pick # FROM table WHERE Team from = rimouski océanic


Instruction: text to sql

Input: Who is the player from Hotchkiss School with a position of d?

Output: SELECT Player FROM table WHERE Position = d AND Team from = hotchkiss school


Instruction: text to sql

Input: What type is the sorrento to sapri course with a distance of km (mi)?

Output: SELECT Type FROM table WHERE Distance = km (mi) AND Course = sorrento to sapri


Instruction: text to sql

Input: What type is the misurina to bassano del grappa course?

Output: SELECT Type FROM table WHERE Course = misurina to bassano del grappa


Instruction: text to sql

Input: What's the distance for the chieti to macerata course?

Output: SELECT Distance FROM table WHERE Course = chieti to macerata


Instruction: text to sql

Input: Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14?

Output: SELECT MIN Points FROM table WHERE Make = chevrolet AND Driver = sterling marlin AND Car # < 14


Instruction: text to sql

Input: Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?

Output: SELECT MIN Points FROM table WHERE Make = chevrolet AND Car # < 24 AND Laps = 312 AND Winnings = $122,325


Instruction: text to sql

Input: What is the location for the win against Johan Mparmpagiannis?

Output: SELECT Location FROM table WHERE Result = win AND Opponent = johan mparmpagiannis


Instruction: text to sql

Input: What is the method against Björn Bregy?

Output: SELECT Method FROM table WHERE Opponent = björn bregy


Instruction: text to sql

Input: What is the method against Paula Mataele?

Output: SELECT Method FROM table WHERE Opponent = paula mataele


Instruction: text to sql

Input: What is the date of the match in Vilnius, Lithuania?

Output: SELECT Date FROM table WHERE Location = vilnius, lithuania


Instruction: text to sql

Input: What is the result against Errol Zimmerman on 2007-04-07?

Output: SELECT Result FROM table WHERE Opponent = errol zimmerman AND Date = 2007-04-07


Instruction: text to sql

Input: What is the location of the match against Martinis Knyzelis?

Output: SELECT Location FROM table WHERE Opponent = martinis knyzelis


Instruction: text to sql

Input: What day is st kilda the home side?

Output: SELECT Date FROM table WHERE Home team = st kilda


Instruction: text to sql

Input: What is melbourne's away score?

Output: SELECT Away team score FROM table WHERE Away team = melbourne


Instruction: text to sql

Input: What is the highest crowd listed when the away side scores 4.9 (33)?

Output: SELECT MAX Crowd FROM table WHERE Away team score = 4.9 (33)


Instruction: text to sql

Input: What venue features an away team score of 4.9 (33)?

Output: SELECT Venue FROM table WHERE Away team score = 4.9 (33)


Instruction: text to sql

Input: What was the home team's score when Geelong was the away team?

Output: SELECT Home team score FROM table WHERE Away team = geelong


Instruction: text to sql

Input: What was the average crowd size at a game when the away team scored 17.12 (114)?

Output: SELECT AVG Crowd FROM table WHERE Away team score = 17.12 (114)


Instruction: text to sql

Input: What is the total number of the 1978 Veteran membership that has a late 1943 more than 78,000 and a september 1943 larger than 60,000?

Output: SELECT COUNT 1978 Veteran membership FROM table WHERE Late 1943 > 78,000 AND Sept. 1943 > 60,000


Instruction: text to sql

Input: What is the highest late 1943 number with a late 1941 of vojvodina and a 1978 membership less than 40,000?

Output: SELECT MAX Late 1943 FROM table WHERE ! Late 1941 = vojvodina AND 1978 Veteran membership < 40,000


Instruction: text to sql

Input: What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000?

Output: SELECT SUM 1978 Veteran membership FROM table WHERE ! Late 1941 = macedonia AND Late 1943 < 10,000


Instruction: text to sql

Input: What is the lowest 1978 Veteran membership with less than 48,000 in sept. 1943, a late 1941 of vojvodina, and a late 1942 bigger than 1,000?

Output: SELECT MIN 1978 Veteran membership FROM table WHERE Sept. 1943 < 48,000 AND ! Late 1941 = vojvodina AND Late 1942 > 1,000


Instruction: text to sql

Input: What is the highest late 1943 with a late 1944 bigger than 22,000, a late 1942 bigger than 1,000, a late 1941 slovenia, and less than 4000 in september 1943?

Output: SELECT MAX Late 1943 FROM table WHERE Late 1944 > 22,000 AND Late 1942 > 1,000 AND ! Late 1941 = slovenia AND Sept. 1943 < 4000


Instruction: text to sql

Input: Which opponent has a Season of 2011/12?

Output: SELECT Opponent FROM table WHERE Season = 2011/12


Instruction: text to sql

Input: Which opponent has a Season of 2010/11?

Output: SELECT Opponent FROM table WHERE Season = 2010/11


Instruction: text to sql

Input: Which competition has a Season of 2010/11?

Output: SELECT Competition FROM table WHERE Season = 2010/11


Instruction: text to sql

Input: What Opponent has a Result of –?

Output: SELECT Opponent FROM table WHERE Result = –


Instruction: text to sql

Input: Which season has a Result of 6–9?

Output: SELECT Season FROM table WHERE Result = 6–9


Instruction: text to sql

Input: Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?

Output: SELECT Round FROM table WHERE Venue = nicosia AND Opponent = levski sofia zapad


Instruction: text to sql

Input: What resulted in a score of 22-21?

Output: SELECT Result FROM table WHERE Score = 22-21


Instruction: text to sql

Input: What competition was held on the date 6/7/03

Output: SELECT Competition FROM table WHERE Date = 6/7/03


Instruction: text to sql

Input: What was the score for the date of 15/6/03

Output: SELECT Score FROM table WHERE Date = 15/6/03


Instruction: text to sql

Input: What venue is on the date of 8/6/03

Output: SELECT Venue FROM table WHERE Date = 8/6/03


Instruction: text to sql

Input: What outcome has a score of 12-22?

Output: SELECT Result FROM table WHERE Score = 12-22


Instruction: text to sql

Input: What date is for Venue of jjb stadium, and a Result of w?

Output: SELECT Date FROM table WHERE Venue = jjb stadium AND Result = w


Instruction: text to sql

Input: What is the high lap total for françois cevert?

Output: SELECT MAX Laps FROM table WHERE Driver = françois cevert


Instruction: text to sql

Input: Who constructed rolf stommelen's car?

Output: SELECT Constructor FROM table WHERE Driver = rolf stommelen


Instruction: text to sql

Input: Who drive the car that retired due to engine failure and a grid of less than 9?

Output: SELECT Driver FROM table WHERE Time/Retired = engine AND Grid < 9


Instruction: text to sql

Input: When was the race that set the record for the Izod Indycar Series?

Output: SELECT Date FROM table WHERE Record = izod indycar series


Instruction: text to sql

Input: Which driver set the Qualifying record with a time of 24.761 seconds?

Output: SELECT Driver FROM table WHERE Record = qualifying AND Time = 24.761


Instruction: text to sql

Input: What Utah Jazz guard, played at BYU?

Output: SELECT Player FROM table WHERE Position = guard AND School/Club Team = byu


Instruction: text to sql

Input: What college team did Derek Fisher play for?

Output: SELECT School/Club Team FROM table WHERE Player = derek fisher


Instruction: text to sql

Input: The Utah Jazz Player from UTEP was what nationality?

Output: SELECT Nationality FROM table WHERE School/Club Team = utep


Instruction: text to sql

Input: What is the name of the venue when the home team is Richmond?

Output: SELECT Venue FROM table WHERE Home team = richmond


Instruction: text to sql

Input: What is the date of the game when the away team score is 15.14 (104)?

Output: SELECT Date FROM table WHERE Away team score = 15.14 (104)


Instruction: text to sql

Input: Who is the away team when the crowd is larger than 21,122 and the home team score is 13.7 (85)?

Output: SELECT Away team FROM table WHERE Crowd > 21,122 AND Home team score = 13.7 (85)


Instruction: text to sql

Input: What is the home team score when the venue is Princes Park?

Output: SELECT Home team score FROM table WHERE Venue = princes park


Instruction: text to sql

Input: How many wins did Hale Irwin get with earnings smaller than 20,592,965?

Output: SELECT SUM Wins FROM table WHERE Player = hale irwin AND Earnings( $ ) < 20,592,965


Instruction: text to sql

Input: What actor plays glen cole?

Output: SELECT Actor FROM table WHERE Character = glen cole


Instruction: text to sql

Input: What is the average number for a final episode featuring maxine valera?

Output: SELECT AVG Final Episode Count FROM table WHERE Character = maxine valera


Instruction: text to sql

Input: How many laps were driven in 2:54:23.8?

Output: SELECT SUM Laps FROM table WHERE Time/Retired = 2:54:23.8


Instruction: text to sql

Input: Which constructor has laps less than 100 and a time/retired +10 laps?

Output: SELECT Constructor FROM table WHERE Laps < 100 AND Time/Retired = +10 laps


Instruction: text to sql

Input: What are the highest number of laps for grid 8?

Output: SELECT MAX Laps FROM table WHERE Grid = 8


Instruction: text to sql

Input: Which grid is the highest and has a time/retired of +0.3?

Output: SELECT MAX Grid FROM table WHERE Time/Retired = +0.3


Instruction: text to sql

Input: Which driver for Maserati has more laps than 23 and a grid greater than 7?

Output: SELECT Driver FROM table WHERE Constructor = maserati AND Laps > 23 AND Grid > 7


Instruction: text to sql

Input: Which points classification shares a general classification of Bernard Hinault, a Trofeo Fast Tem of Bianchi, was won by Urs Freuler, and was stage 4?

Output: SELECT Points classification FROM table WHERE General classification = bernard hinault AND Trofeo Fast Team = bianchi AND Winner = urs freuler AND Stage = 4


Instruction: text to sql

Input: Who was the winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?

Output: SELECT Winner FROM table WHERE Points classification = giuseppe saronni AND Trofeo Fast Team = bianchi AND Stage = 3


Instruction: text to sql

Input: Which stage had a Points Classification of Francesco Moser and a general classification of Bernard Hinault?

Output: SELECT Stage FROM table WHERE Points classification = francesco moser AND General classification = bernard hinault


Instruction: text to sql

Input: Who was the winner of Stage 12 with a Points Classification of Francesco Moser?

Output: SELECT Winner FROM table WHERE Points classification = francesco moser AND Stage = 12


Instruction: text to sql

Input: Which stage was won by Bernard Hinault and had a Points classification of Francesco Moser?

Output: SELECT Stage FROM table WHERE Winner = bernard hinault AND Points classification = francesco moser


Instruction: text to sql

Input: Who was the loser on December 12, 1971?

Output: SELECT Loser FROM table WHERE Date = december 12 AND Year = 1971


Instruction: text to sql

Input: Who was the loser at Municipal Stadium after 1970?

Output: SELECT Loser FROM table WHERE Location = municipal stadium AND Year > 1970


Instruction: text to sql

Input: What is the date where the winner was the Oakland Raiders in 1975?

Output: SELECT Date FROM table WHERE Year = 1975 AND Winner = oakland raiders


Instruction: text to sql

Input: What is result of the game at Arrowhead Stadium where the loser was the Kansas City Chiefs?

Output: SELECT Result FROM table WHERE Location = arrowhead stadium AND Loser = kansas city chiefs


Instruction: text to sql

Input: What draw for "ljubav jedne žene" with under 153 points?

Output: SELECT SUM Draw FROM table WHERE Song = "ljubav jedne žene" AND Points < 153


Instruction: text to sql

Input: What place for "jednom u životu" with a draw larger than 18?

Output: SELECT COUNT Place FROM table WHERE Song = "jednom u životu" AND Draw > 18


Instruction: text to sql

Input: What was nominated for the Best Movie category?

Output: SELECT Work FROM table WHERE Category = best movie


Instruction: text to sql

Input: Which award did Scream receive a nomination and/or win for in 1997?

Output: SELECT Award FROM table WHERE Work = scream AND Year = 1997


Instruction: text to sql

Input: What category was Scream nominated for at the International Horror Guild?

Output: SELECT Category FROM table WHERE Work = scream AND Award = international horror guild


Instruction: text to sql

Input: what is the time/retired when the laps is less than 54 and the driver is mark donohue?

Output: SELECT Time/Retired FROM table WHERE Laps < 54 AND Driver = mark donohue


Instruction: text to sql

Input: what is the grid when the driver is mario andretti and the laps is less than 54?

Output: SELECT MAX Grid FROM table WHERE Driver = mario andretti AND Laps < 54


Instruction: text to sql

Input: how many laps were there when the grid was 24?

Output: SELECT COUNT Laps FROM table WHERE Grid = 24


Instruction: text to sql

Input: what is the time/retired when the laps is 6, the grid is less than 18 and the driver is clay regazzoni?

Output: SELECT Time/Retired FROM table WHERE Laps = 6 AND Grid < 18 AND Driver = clay regazzoni


Instruction: text to sql

Input: Which class is smaller than 5 and the GWR is 1322–1323?

Output: SELECT Class FROM table WHERE Quantity < 5 AND GWR Nos. = 1322–1323


Instruction: text to sql

Input: Whose term expired in 1996 and was from the province of Central Highlands?

Output: SELECT Name FROM table WHERE Province = central highlands AND Term expires = 1996


Instruction: text to sql

Input: Ken Wright of the National Party was from which province?

Output: SELECT Province FROM table WHERE Party = national AND Name = ken wright


Instruction: text to sql

Input: Which venue hosted a race in 1967?

Output: SELECT Venue FROM table WHERE Year = 1967


Instruction: text to sql

Input: Which tournament was held after 1966?

Output: SELECT Tournament FROM table WHERE Year > 1966


Instruction: text to sql

Input: Which venue hosted a tournament in 1965?

Output: SELECT Venue FROM table WHERE Year = 1965


Instruction: text to sql

Input: What is the result for the best new musical nominee?

Output: SELECT Result FROM table WHERE Nominee = best new musical


Instruction: text to sql

Input: How many years does simon baker appear as a nominee?

Output: SELECT COUNT Year FROM table WHERE Nominee = simon baker


Instruction: text to sql

Input: What is the Height for Years of Rockets of 2005-06?

Output: SELECT Height in Ft. FROM table WHERE Years for Rockets = 2005-06


Instruction: text to sql

Input: What is the Height for Years for Rockets of 2005-06?

Output: SELECT Height in Ft. FROM table WHERE Years for Rockets = 2005-06


Instruction: text to sql

Input: What is the Attendance on august 15?

Output: SELECT Attendance FROM table WHERE Date = august 15


Instruction: text to sql

Input: What is the constructor for the race with Nigel Mansell as the fastest lap?

Output: SELECT Constructor FROM table WHERE Fastest Lap = nigel mansell


Instruction: text to sql

Input: What is the fastest lap at estoril?

Output: SELECT Fastest Lap FROM table WHERE Location = estoril


Instruction: text to sql

Input: What is the race in Paul Ricard with Keke Rosberg as the fastest lap?

Output: SELECT Race FROM table WHERE Fastest Lap = keke rosberg AND Location = paul ricard


Instruction: text to sql

Input: Who was the winner at spa-francorchamps?

Output: SELECT Race Winner FROM table WHERE Location = spa-francorchamps


Instruction: text to sql

Input: Where was the game with result 7-2 played?

Output: SELECT Venue FROM table WHERE Result = 7-2


Instruction: text to sql

Input: What was the score of the Friendly competition where the result was 7-2?

Output: SELECT Score FROM table WHERE Competition = friendly AND Result = 7-2


Instruction: text to sql

Input: What was the score of the game on 27 January 1996?

Output: SELECT Score FROM table WHERE Date = 27 january 1996


Instruction: text to sql

Input: What is the event with a result of 3-2?

Output: SELECT Competition FROM table WHERE Result = 3-2


Instruction: text to sql

Input: How big was the crowd size, at the Junction Oval venue?

Output: SELECT SUM Crowd FROM table WHERE Venue = junction oval


Instruction: text to sql

Input: What is the visiting team of Melbourne's score?

Output: SELECT Away team score FROM table WHERE Away team = melbourne


Instruction: text to sql

Input: What is the average crowd size of Fitzroy's home team?

Output: SELECT AVG Crowd FROM table WHERE Home team = fitzroy


Instruction: text to sql

Input: Which railway had the earliest build date and a disposal of "Scrapped 1941?"

Output: SELECT MIN Build date FROM table WHERE Disposal = scrapped 1941


Instruction: text to sql

Input: Which railway had a loco name of Pyramus and a build date of 1911?

Output: SELECT Railway FROM table WHERE Build date = 1911 AND Loco name = pyramus


Instruction: text to sql

Input: What was the build date of the railway(s) with 0-6-2 t wheels?

Output: SELECT Build date FROM table WHERE Wheels = 0-6-2 t


Instruction: text to sql

Input: Which disbanded is in the ahl league?

Output: SELECT Disbanded FROM table WHERE League = ahl


Instruction: text to sql

Input: Which championship was established after 2005?

Output: SELECT Championships FROM table WHERE Established > 2005


Instruction: text to sql

Input: Which year had J.R. Reid as a player?

Output: SELECT Year FROM table WHERE Player = j.r. reid


Instruction: text to sql

Input: Which hometown is the played Dajuan Wagner from?

Output: SELECT Hometown FROM table WHERE Player = dajuan wagner


Instruction: text to sql

Input: When the home team was carlton how many people were in the crowd?

Output: SELECT Crowd FROM table WHERE Home team = carlton


Instruction: text to sql

Input: Which away team had a crowd of over 23,000 people?

Output: SELECT Away team FROM table WHERE Crowd > 23,000


Instruction: text to sql

Input: What's the home team for the western oval venue?

Output: SELECT Home team FROM table WHERE Venue = western oval


Instruction: text to sql

Input: What's the home team for the junction oval venue?

Output: SELECT Home team score FROM table WHERE Venue = junction oval


Instruction: text to sql

Input: What date did the away team score 13.10 (88)?

Output: SELECT Date FROM table WHERE Away team score = 13.10 (88)


Instruction: text to sql

Input: What was the result when the opponent was fenerbahçe?

Output: SELECT Result FROM table WHERE Opponent = fenerbahçe


Instruction: text to sql

Input: what is the apparent magnitude of NGC number 6027d?

Output: SELECT Apparent magnitude FROM table WHERE NGC number = 6027d


Instruction: text to sql

Input: What is the visiting team of the game with the home team Grizzlies on 13 November 2007?

Output: SELECT Visitor FROM table WHERE Home = grizzlies AND Date = 13 november 2007


Instruction: text to sql

Input: What is the date of the game when the Mavericks were the home team?

Output: SELECT Date FROM table WHERE Home = mavericks


Instruction: text to sql

Input: Which of the lowest years had a Wheel arrangement that was 0-4-2t?

Output: SELECT MIN Year made FROM table WHERE Wheel arrangement = 0-4-2t


Instruction: text to sql

Input: What is the mean Year when the IWCR number was 5 and the Year withdrawn was bigger than 1926?

Output: SELECT AVG Year made FROM table WHERE IWCR No. = 5 AND Year withdrawn > 1926


Instruction: text to sql

Input: Which SR number had a wheel arrangement of 0-6-0t, the year made was more recent than 1874, and the year withdrawn was 1963?

Output: SELECT SR No. FROM table WHERE Wheel arrangement = 0-6-0t AND Year made > 1874 AND Year withdrawn = 1963


Instruction: text to sql

Input: What is the sum number of years where the wheel arrangement of 0-4-0t?

Output: SELECT COUNT Year made FROM table WHERE Wheel arrangement = 0-4-0t


Instruction: text to sql

Input: What was the latest week of a game that had an attendance of 63,001?

Output: SELECT MAX Week FROM table WHERE Attendance = 63,001


Instruction: text to sql

Input: What is the total medals Austria and those with larger than rank 4 have?

Output: SELECT COUNT Total FROM table WHERE Nation = austria AND Rank > 4


Instruction: text to sql

Input: What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have?

Output: SELECT MAX Gold FROM table WHERE Rank < 6 AND Silver = 1 AND Total > 4


Instruction: text to sql

Input: Which country has a rollercoaster that opened in 2002, is a spinning coaster, and is located in Disney's Animal Kingdom?

Output: SELECT Country FROM table WHERE Opened = 2002 AND Model = spinning coaster AND Park = disney's animal kingdom


Instruction: text to sql

Input: What is the name of the roller coaster that opened in 2000 in Brighton Pier?

Output: SELECT Name FROM table WHERE Opened = 2000 AND Park = brighton pier


Instruction: text to sql

Input: How many attended on may 6?

Output: SELECT COUNT Attendance FROM table WHERE Date = may 6


Instruction: text to sql

Input: Who did they lose to 3-17?

Output: SELECT Opponent FROM table WHERE Score = 3-17


Instruction: text to sql

Input: What team was the home team when the away team scored 12.11 (83)?

Output: SELECT Home team FROM table WHERE Away team score = 12.11 (83)


Instruction: text to sql

Input: What venue did Richmond play at as the home team?

Output: SELECT Venue FROM table WHERE Home team = richmond


Instruction: text to sql

Input: What home team played against Footscray as the away team?

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


Instruction: text to sql

Input: What date did the away team score 14.8 (92)?

Output: SELECT Date FROM table WHERE Away team score = 14.8 (92)


Instruction: text to sql

Input: what was the attendance when the away team was boreham wood?

Output: SELECT Attendance FROM table WHERE Away team = boreham wood


Instruction: text to sql

Input: what is the tie no when the away team is solihull moors?

Output: SELECT SUM Tie no FROM table WHERE Away team = solihull moors


Instruction: text to sql

Input: who is the away team when the tie no is more than 13 and the home team is team bath?

Output: SELECT Away team FROM table WHERE Tie no > 13 AND Home team = team bath


Instruction: text to sql

Input: What is the Pick # of the player from Simon Fraser College?

Output: SELECT AVG Pick # FROM table WHERE College = simon fraser


Instruction: text to sql

Input: What is the margin of victory for the winning score of −10 (71-65-68-70=274)?

Output: SELECT Margin of victory FROM table WHERE Winning score = −10 (71-65-68-70=274)


Instruction: text to sql

Input: Who is the runner(s)-up for a winning score of −3 (71-74-66-66=277)?

Output: SELECT Runner(s)-up FROM table WHERE Winning score = −3 (71-74-66-66=277)


Instruction: text to sql

Input: What venue had less than 7.4 extra and the result of 4th?

Output: SELECT Venue FROM table WHERE Extra < 7.4 AND Result = 4th


Instruction: text to sql

Input: What is the highest extra total before 2003 at the Meeting of all africa games?

Output: SELECT MAX Extra FROM table WHERE Meeting = all africa games AND Year < 2003


Instruction: text to sql

Input: What year has an extra of 8, and a result of 3rd?

Output: SELECT Year FROM table WHERE Extra = 8 AND Result = 3rd


Instruction: text to sql

Input: What year has a venue of algiers, algeria, extra smaller than 8.03, and a Meeting of all africa games?

Output: SELECT Year FROM table WHERE Venue = algiers, algeria AND Extra < 8.03 AND Meeting = all africa games


Instruction: text to sql

Input: What is the Date with a Set 3 with 15–6?

Output: SELECT Date FROM table WHERE Set 3 = 15–6


Instruction: text to sql

Input: What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15?

Output: SELECT Set 3 FROM table WHERE Score = 3–1 AND Set 2 = 13–15


Instruction: text to sql

Input: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–12?

Output: SELECT Set 1 FROM table WHERE Score = 3–0 AND Set 3 = 15–12


Instruction: text to sql

Input: What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10?

Output: SELECT Set 1 FROM table WHERE Score = 3–0 AND Set 3 = 15–10


Instruction: text to sql

Input: What is the Set 2 with a Total with 45–12?

Output: SELECT Set 2 FROM table WHERE Total = 45–12


Instruction: text to sql

Input: What is the Total with a Score of 3–0, and a Date of 14 oct, and has a Set 1 of 15–12?

Output: SELECT Total FROM table WHERE Score = 3–0 AND Date = 14 oct AND Set 1 = 15–12


Instruction: text to sql

Input: What was the date of the footscray home game?

Output: SELECT Date FROM table WHERE Home team = footscray


Instruction: text to sql

Input: Tell me the time for martin kampmann

Output: SELECT Time FROM table WHERE Opponent = martin kampmann


Instruction: text to sql

Input: Tell me the sum of round for record of 6-3

Output: SELECT SUM Round FROM table WHERE Record = 6-3


Instruction: text to sql

Input: Tell me the location for win with record of 8-5

Output: SELECT Location FROM table WHERE Res. = win AND Record = 8-5


Instruction: text to sql

Input: In which of North Melbourne's away games was there the lowest crowd?

Output: SELECT MIN Crowd FROM table WHERE Away team = north melbourne


Instruction: text to sql

Input: What is the build date of the model with PRR Class brs24?

Output: SELECT Build date FROM table WHERE PRR Class = brs24


Instruction: text to sql

Input: How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6?

Output: SELECT SUM Total produced FROM table WHERE Wheel arrangement = b-b AND PRR Class = bs6 AND Builder’s Model = ds-4-4-660


Instruction: text to sql

Input: What is the build date of the model with a PRR Class of brs24?

Output: SELECT Build date FROM table WHERE PRR Class = brs24


Instruction: text to sql

Input: What is the total number of roll for Te Hapua school?

Output: SELECT COUNT Roll FROM table WHERE Name = te hapua school


Instruction: text to sql

Input: Name the place of action for the marine corps and corporal rank

Output: SELECT Place of action FROM table WHERE Service = marine corps AND Rank = corporal


Instruction: text to sql

Input: When driver heinz-harald frentzen has a number of laps greater than 60, what is the sum of grid?

Output: SELECT COUNT Grid FROM table WHERE Laps > 60 AND Driver = heinz-harald frentzen


Instruction: text to sql

Input: What is the population total for saint-wenceslas with a region number of under 17?

Output: SELECT SUM Population FROM table WHERE Name = saint-wenceslas AND Region < 17


Instruction: text to sql

Input: What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère?

Output: SELECT MIN Code FROM table WHERE Type = m AND Name = saint-sylvère AND Region < 17


Instruction: text to sql

Input: What competition was at the Daugava Stadium, Riga, Latvia?

Output: SELECT Competition FROM table WHERE Venue = daugava stadium, riga, latvia


Instruction: text to sql

Input: How many total goals were made at the game on 15 November 1989?

Output: SELECT COUNT Goal FROM table WHERE Date = 15 november 1989


Instruction: text to sql

Input: What is the captain's name of team Leeds United?

Output: SELECT Captain FROM table WHERE Team = leeds united


Instruction: text to sql

Input: Who is the shirt sponsor for Captain Geoff Thomas' team?

Output: SELECT Shirt sponsor FROM table WHERE Captain = geoff thomas


Instruction: text to sql

Input: What is the name of the team that Tulip Computers NV sponsors?

Output: SELECT Team FROM table WHERE Shirt sponsor = tulip computers nv


Instruction: text to sql

Input: What is the name of the captain for team Norwich City?

Output: SELECT Captain FROM table WHERE Team = norwich city


Instruction: text to sql

Input: What team does Graeme Souness manage?

Output: SELECT Team FROM table WHERE Manager = graeme souness


Instruction: text to sql

Input: what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio?

Output: SELECT MIN Laps FROM table WHERE Grid < 5 AND Driver = juan manuel fangio


Instruction: text to sql

Input: what is the grid when the time/retired is +9 laps and the laps is larger than 91?

Output: SELECT COUNT Grid FROM table WHERE Time/Retired = +9 laps AND Laps > 91


Instruction: text to sql

Input: what is the lowest grid when the time retired is clutch, the driver is peter collins and the laps is smaller than 26?

Output: SELECT MIN Grid FROM table WHERE Time/Retired = clutch AND Driver = peter collins AND Laps < 26


Instruction: text to sql

Input: What zone has camp type D/S in area Bl9?

Output: SELECT Zone FROM table WHERE Camp Type = d/s AND Area = bl9


Instruction: text to sql

Input: Which name has group 0 in Bl4 area?

Output: SELECT Name FROM table WHERE Group(s) = 0 AND Area = bl4


Instruction: text to sql

Input: Which zone has max capacity of 23 in a group under 2 at Robbers Roost?

Output: SELECT Zone FROM table WHERE Max People > 23 AND Group(s) < 2 AND Name = robbers roost


Instruction: text to sql

Input: I want to know the average crowd for away team of melbourne

Output: SELECT AVG Crowd FROM table WHERE Away team = melbourne


Instruction: text to sql

Input: Which driver had a time off course?

Output: SELECT Driver FROM table WHERE Time/Retired = off course


Instruction: text to sql

Input: What is the top lap that had 2 grids and more than 26 points?

Output: SELECT MAX Laps FROM table WHERE Grid = 2 AND Points > 26


Instruction: text to sql

Input: What is the top lap that had 6 grids and more than 19 points?

Output: SELECT MAX Laps FROM table WHERE Grid = 6 AND Points > 19


Instruction: text to sql

Input: What is the average point count for tristan gommendy?

Output: SELECT AVG Points FROM table WHERE Driver = tristan gommendy


Instruction: text to sql

Input: What is the point low with 2 grids?

Output: SELECT MIN Points FROM table WHERE Grid = 2


Instruction: text to sql

Input: What is the Dismissals with a Venue with source: cricinfo.com?

Output: SELECT Dismissals FROM table WHERE Venue = source: cricinfo.com


Instruction: text to sql

Input: What is the Versus with a Player with ko otieno, with Venue with bloemfontein?

Output: SELECT Versus FROM table WHERE Player = ko otieno AND Venue = bloemfontein


Instruction: text to sql

Input: What is the Venue with a Date with 27-02-2003?

Output: SELECT Venue FROM table WHERE Date = 27-02-2003


Instruction: text to sql

Input: What is the Player with Versus with australia?

Output: SELECT Player FROM table WHERE Versus = australia


Instruction: text to sql

Input: What is the Player with a Date with 12-03-2003?

Output: SELECT Player FROM table WHERE Date = 12-03-2003


Instruction: text to sql

Input: What is the Dismissals with a Player with source: cricinfo.com?

Output: SELECT Dismissals FROM table WHERE Player = source: cricinfo.com


Instruction: text to sql

Input: What is the sum number of attendance when the visiting team was Charlotte and the leading scorer was Ricky Davis (23)?

Output: SELECT COUNT Attendance FROM table WHERE Visitor = charlotte AND Leading scorer = ricky davis (23)


Instruction: text to sql

Input: Which Visitor was there when the Home game was played in Miami on November 4?

Output: SELECT Visitor FROM table WHERE Home = miami AND Date = november 4


Instruction: text to sql

Input: What nationality is Demetris Nichols?

Output: SELECT Nationality FROM table WHERE Player = demetris nichols


Instruction: text to sql

Input: What school or team has round of 2 with less than 42 picks?

Output: SELECT School/Club Team FROM table WHERE Round = 2 AND Pick < 42


Instruction: text to sql

Input: What position has round less than 2?

Output: SELECT Position FROM table WHERE Round < 2


Instruction: text to sql

Input: In what venue is Essendon the home team?

Output: SELECT Venue FROM table WHERE Home team = essendon


Instruction: text to sql

Input: Who was the away team when the venue was Windy Hill?

Output: SELECT Away team FROM table WHERE Venue = windy hill


Instruction: text to sql

Input: What was the score for Hawthorn when they were the away team?

Output: SELECT Away team score FROM table WHERE Away team = hawthorn


Instruction: text to sql

Input: What method was used that had a resulting win against opponent, Natsuko Kikukawa?

Output: SELECT Method FROM table WHERE Res. = win AND Opponent = natsuko kikukawa


Instruction: text to sql

Input: What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?

Output: SELECT MAX Round FROM table WHERE Opponent = hikaru shinohara AND Record = 11-7


Instruction: text to sql

Input: Which method has a record of 11-10?

Output: SELECT Method FROM table WHERE Record = 11-10


Instruction: text to sql

Input: Who is the loser when the attendance is larger than 31,409 and the date is July 9?

Output: SELECT Loss FROM table WHERE Attendance > 31,409 AND Date = july 9


Instruction: text to sql

Input: How much in average Loans Received has Contributions less than 34,986,088, Disbursements more than 251,093,944 for Dennis Kucinich † with Operating Expenditures more than 3,638,219?

Output: SELECT AVG Loans Received FROM table WHERE Contributions < 34,986,088 AND All Disbursements > 251,093,944 AND Candidate = dennis kucinich † AND Operating Expenditures > 3,638,219


Instruction: text to sql

Input: How much is the lowest Operating Expenditures when Contributions are more than 8,245,241?

Output: SELECT MIN Operating Expenditures FROM table WHERE Contributions > 8,245,241


Instruction: text to sql

Input: How many Loans Received have Disbursements larger than 21,857,565, and Contributions greater than 3,869,613 with Receipts under 11,405,771?

Output: SELECT COUNT Loans Received FROM table WHERE All Disbursements > 21,857,565 AND Contributions > 3,869,613 AND All Receipts < 11,405,771


Instruction: text to sql

Input: What is the most Receipts for Barack Obama with Disbursements smaller than 85,176,289?

Output: SELECT MAX All Receipts FROM table WHERE Candidate = barack obama AND All Disbursements < 85,176,289


Instruction: text to sql

Input: How many Operating Expenditures have Receipts of 44,259,386?

Output: SELECT COUNT Operating Expenditures FROM table WHERE All Receipts = 44,259,386


Instruction: text to sql

Input: How many wins were there in 2004-05?

Output: SELECT Win # FROM table WHERE Season = 2004-05


Instruction: text to sql

Input: How many times did jim vivona win?

Output: SELECT COUNT Win # FROM table WHERE Winner = jim vivona


Instruction: text to sql

Input: Which position was morristown minutemen in?

Output: SELECT Position FROM table WHERE Team = morristown minutemen


Instruction: text to sql

Input: Which season was harrisburg lunatics in?

Output: SELECT Season FROM table WHERE Team = harrisburg lunatics


Instruction: text to sql

Input: What is the smallest rank with less than 2 wings, more than 26 events, and less than $1,831,211?

Output: SELECT MIN Rank FROM table WHERE Wins < 2 AND Earnings ( $ ) < 1,831,211 AND Events > 26


Instruction: text to sql

Input: What is the most wins with a rank of 5 and less than $1,537,571 in earnings?

Output: SELECT MAX Wins FROM table WHERE Rank = 5 AND Earnings ( $ ) > 1,537,571


Instruction: text to sql

Input: What was the venue for Round f?

Output: SELECT Venue FROM table WHERE Round = f


Instruction: text to sql

Input: On what date was the Result 1-0?

Output: SELECT Date FROM table WHERE Result = 1-0


Instruction: text to sql

Input: What was the attendance on 10 november 2004?

Output: SELECT AVG Attendance FROM table WHERE Date = 10 november 2004


Instruction: text to sql

Input: What is the size of the crowd when the home team is Fitzroy?

Output: SELECT COUNT Crowd FROM table WHERE Home team = fitzroy


Instruction: text to sql

Input: How many laps did riccardo patrese do when he had a time/retird of + 1 lap?

Output: SELECT COUNT Laps FROM table WHERE Time/Retired = + 1 lap AND Driver = riccardo patrese


Instruction: text to sql

Input: Name the episode for jenny bicks and cindy chupack nominees in 2004

Output: SELECT Episode FROM table WHERE Year = 2004 AND Nominee(s) = jenny bicks and cindy chupack


Instruction: text to sql

Input: Name the episode for year more than 1999

Output: SELECT Episode FROM table WHERE Year > 1999


Instruction: text to sql

Input: What was the home team's score at the game held at Junction Oval?

Output: SELECT Home team score FROM table WHERE Venue = junction oval


Instruction: text to sql

Input: What was the away team's score at the game held at MCG?

Output: SELECT Away team score FROM table WHERE Venue = mcg


Instruction: text to sql

Input: Who was the away team at the game held at Arden Street Oval?

Output: SELECT Away team FROM table WHERE Venue = arden street oval


Instruction: text to sql

Input: What was the size of the crowd at the game where Fitzroy was the home team?

Output: SELECT Crowd FROM table WHERE Home team = fitzroy


Instruction: text to sql

Input: Name the most bronze for silver more than 6 and total less than 127 with gold less than 11

Output: SELECT MAX Bronze FROM table WHERE Silver > 6 AND Total < 127 AND Gold < 11


Instruction: text to sql

Input: Name the highest silver for table tennis and bronze more than 0

Output: SELECT MAX Silver FROM table WHERE Sport = table tennis AND Bronze > 0


Instruction: text to sql

Input: Which kickoff had an attendance of 58,120?

Output: SELECT Kickoff [a ] FROM table WHERE Attendance = 58,120


Instruction: text to sql

Input: What week number did November 19, 1989 games fall on?

Output: SELECT Week FROM table WHERE Date = november 19, 1989


Instruction: text to sql

Input: Which game site(s) had record of 2-2?

Output: SELECT Game site FROM table WHERE Record = 2-2


Instruction: text to sql

Input: Which game had a kickoff at 1:00 and a record of 3-7?

Output: SELECT Opponent FROM table WHERE Kickoff [a ] = 1:00 AND Record = 3-7


Instruction: text to sql

Input: Which game had an attendance of 56,271?

Output: SELECT Date FROM table WHERE Attendance = 56,271


Instruction: text to sql

Input: Tell me the driver for ford cosworth dfv 3.0 v8 and chassis of ts19 ts20

Output: SELECT Driver FROM table WHERE Engine = ford cosworth dfv 3.0 v8 AND Chassis = ts19 ts20


Instruction: text to sql

Input: Tell me the constructor for alberto colombo and chassis of a1

Output: SELECT Constructor FROM table WHERE Driver = alberto colombo AND Chassis = a1


Instruction: text to sql

Input: Tell me the constructor for clay regazzoni

Output: SELECT Constructor FROM table WHERE Driver = clay regazzoni


Instruction: text to sql

Input: Tell me the chassis for team tissot ensign and driver of brett lunger

Output: SELECT Chassis FROM table WHERE Entrant = team tissot ensign AND Driver = brett lunger


Instruction: text to sql

Input: I want the tyres for hans binder

Output: SELECT Tyres FROM table WHERE Driver = hans binder


Instruction: text to sql

Input: I want the constructor for divina galica rounds of 1-2

Output: SELECT Constructor FROM table WHERE Rounds = 1-2 AND Driver = divina galica


Instruction: text to sql

Input: Who is the vacator for the February 1, 1971 date of successor's formal installation?

Output: SELECT Vacator FROM table WHERE Date of successor's formal installation = february 1, 1971


Instruction: text to sql

Input: What is the state of the senator with a November 14, 1972 date of successor's formal installation?

Output: SELECT State (class) FROM table WHERE Date of successor's formal installation = november 14, 1972


Instruction: text to sql

Input: What team did the Red Sox play against on June 3?

Output: SELECT Opponent FROM table WHERE Date = june 3


Instruction: text to sql

Input: What was the Record at the game that had an attendance of 21,191?

Output: SELECT Record FROM table WHERE Attendance = 21,191


Instruction: text to sql

Input: What was the final score of the game on June 17?

Output: SELECT Score FROM table WHERE Date = june 17


Instruction: text to sql

Input: What is the 1st ship delivery date of 6 ways?

Output: SELECT 1st Ship Delivery Date FROM table WHERE Total Number of Ways = 6 ways


Instruction: text to sql

Input: What is the total vessels built in Wilmington, California?

Output: SELECT total vessels built FROM table WHERE Location (city, state) = wilmington, california


Instruction: text to sql

Input: What was the final round result of Mohammad Reza Samadi?

Output: SELECT Final FROM table WHERE Athlete = mohammad reza samadi


Instruction: text to sql

Input: If the Home team score was 19.15 (129), what was the Away team's score that game?

Output: SELECT Away team score FROM table WHERE Home team score = 19.15 (129)


Instruction: text to sql

Input: When the Home team of footscray is playing, what's the Home team score?

Output: SELECT Home team score FROM table WHERE Home team = footscray


Instruction: text to sql

Input: If the Away team scored 18.8 (116), what was the Home team's score?

Output: SELECT Home team score FROM table WHERE Away team score = 18.8 (116)


Instruction: text to sql

Input: What was the title of the song that peaked the charts at #1 with track 20?

Output: SELECT Song Title FROM table WHERE Chart Peak = #1 AND Track = 20


Instruction: text to sql

Input: What is the time from the song called Treat Me Nice?

Output: SELECT Time FROM table WHERE Song Title = treat me nice


Instruction: text to sql

Input: What was Random House's copyright information?

Output: SELECT Copyright Information FROM table WHERE Publisher = random house


Instruction: text to sql

Input: What was release date in 1992 with the ISBN #0?

Output: SELECT Release Date FROM table WHERE ISBN = 0 AND Year = 1992


Instruction: text to sql

Input: What club team has 216 overall?

Output: SELECT Club team FROM table WHERE Overall = 216


Instruction: text to sql

Input: What is the highest round played by Chris Phillips?

Output: SELECT MAX Round FROM table WHERE Player = chris phillips


Instruction: text to sql

Input: What player attended Graceland College?

Output: SELECT Player FROM table WHERE College = graceland


Instruction: text to sql

Input: What is the highest pick number of the CFL's Toronto Argonauts?

Output: SELECT MAX Pick # FROM table WHERE CFL Team = toronto argonauts


Instruction: text to sql

Input: Which pick number attended McMaster College?

Output: SELECT Pick # FROM table WHERE College = mcmaster


Instruction: text to sql

Input: Who was the visiting team at the game where Edmonton was the home team and the decision was Osgood?

Output: SELECT Visitor FROM table WHERE Decision = osgood AND Home = edmonton


Instruction: text to sql

Input: What is the date recorded for I Want to Be Free with a length of 2:12?

Output: SELECT Recorded FROM table WHERE Time = 2:12 AND Song Title = i want to be free


Instruction: text to sql

Input: What is the highest track with a length of 1:54 written by Gene Autry and Oakley Haldeman?

Output: SELECT MAX Track FROM table WHERE Time = 1:54 AND Writer(s) = gene autry and oakley haldeman


Instruction: text to sql

Input: What is the title of the song with a track less than 8 released on 3/22/57?

Output: SELECT Song Title FROM table WHERE Track < 8 AND Release Date = 3/22/57


Instruction: text to sql

Input: What song title was written by Kal Mann and Bernie Lowe?

Output: SELECT Song Title FROM table WHERE Writer(s) = kal mann and bernie lowe


Instruction: text to sql

Input: What is the Home team score for Geelong, whereby the Away team has a score of 18.13 (121)?

Output: SELECT Home team score FROM table WHERE Away team score = 18.13 (121)


Instruction: text to sql

Input: What date did the Away team, North Melbourne, play Geelong?

Output: SELECT Date FROM table WHERE Away team = north melbourne


Instruction: text to sql

Input: What Venue had an Away team score of 7.15 (57) on June 4, 1973?

Output: SELECT Venue FROM table WHERE Away team score = 7.15 (57)


Instruction: text to sql

Input: The driver Jacky Ickx had what time/retired?

Output: SELECT Time/Retired FROM table WHERE Driver = jacky ickx


Instruction: text to sql

Input: What is the least number of laps for the driver Jo Siffert?

Output: SELECT MIN Laps FROM table WHERE Driver = jo siffert


Instruction: text to sql

Input: What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?

Output: SELECT MIN Laps FROM table WHERE Constructor = ferrari AND Grid < 4


Instruction: text to sql

Input: What is the total amount of grid when the laps amount was smaller than 68 and the time/retired was injection?

Output: SELECT SUM Grid FROM table WHERE Laps < 68 AND Time/Retired = injection


Instruction: text to sql

Input: What is the gender of Congresswoman Jaime Herrera Beutler's baby?

Output: SELECT Baby gender FROM table WHERE Congresswoman = jaime herrera beutler


Instruction: text to sql

Input: How old was the mother who delivered on December 15, 2008?

Output: SELECT Mother's age FROM table WHERE Date of delivery = december 15, 2008


Instruction: text to sql

Input: What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy?

Output: SELECT Date of delivery FROM table WHERE Baby gender = boy AND Congresswoman = kirsten gillibrand


Instruction: text to sql

Input: Which player on the Bulls has a 6 May 1978 birthday?

Output: SELECT Player FROM table WHERE Club/province = bulls AND Date of Birth (Age) = 6 may 1978


Instruction: text to sql

Input: Which player has a 1 February 1982 birthday and more than 16 caps?

Output: SELECT Player FROM table WHERE Caps > 16 AND Date of Birth (Age) = 1 february 1982


Instruction: text to sql

Input: Which tournament has a 2011 of 1r?

Output: SELECT Tournament FROM table WHERE 2011 = 1r


Instruction: text to sql

Input: Which 2009 tournament was french open?

Output: SELECT 2009 FROM table WHERE Tournament = french open


Instruction: text to sql

Input: When the home team score was 8.12 (60), what was the date?

Output: SELECT Date FROM table WHERE Home team score = 8.12 (60)


Instruction: text to sql

Input: When the away team was collingwood, what was the away team score?

Output: SELECT Away team score FROM table WHERE Away team = collingwood


Instruction: text to sql

Input: Who was Richmond's home team opponent?

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


Instruction: text to sql

Input: Where did Essendon play as the away team?

Output: SELECT Venue FROM table WHERE Away team = essendon


Instruction: text to sql

Input: Where did the character of Aiden Burn csi detective first appear?

Output: SELECT First appearance FROM table WHERE Character = aiden burn csi detective


Instruction: text to sql

Input: Which Ipsos 5/25/09 has a TNS-Sofres 5/28/09 of 20%?

Output: SELECT Ipsos 5/25/09 FROM table WHERE TNS-Sofres 5/28/09 = 20%


Instruction: text to sql

Input: Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%?

Output: SELECT TNS-Sofres 5/26/09 FROM table WHERE Ipsos 5/25/09 = 1%


Instruction: text to sql

Input: Which OpinionWay 5/18/09 has an Ipsos 5/16/09 of 11%?

Output: SELECT OpinionWay 5/18/09 FROM table WHERE Ipsos 5/16/09 = 11%


Instruction: text to sql

Input: Which Ipsos 5/16/09 has a TNS-Sofres 5/28/09 of 2.5%?

Output: SELECT Ipsos 5/16/09 FROM table WHERE TNS-Sofres 5/28/09 = 2.5%


Instruction: text to sql

Input: Which Ipsos 5/16/09 has an Ifop- La Croix 5/15/09 of 26%?

Output: SELECT CSA 5/20/09 FROM table WHERE Ifop- La Croix 5/15/09 = 26%


Instruction: text to sql

Input: Which Viavoice 5/15/09 has a CSA 5/14/09 of 5%, and a TNS-Sofres 5/28/09 of 4.5%?

Output: SELECT Viavoice 5/15/09 FROM table WHERE CSA 5/14/09 = 5% AND TNS-Sofres 5/28/09 = 4.5%


Instruction: text to sql

Input: What driver has 44 laps?

Output: SELECT Driver FROM table WHERE Laps = 44


Instruction: text to sql

Input: What is the average laps for a grid larger than 2, for a ferrari that got in an accident?

Output: SELECT AVG Laps FROM table WHERE Grid > 2 AND Time/Retired = accident AND Constructor = ferrari


Instruction: text to sql

Input: Name the average goal difference for draw of 7 and played more than 18

Output: SELECT AVG Goal Difference FROM table WHERE Draw = 7 AND Played > 18


Instruction: text to sql

Input: Tell me the totla number of goal difference for goals against of 30 and played less than 18

Output: SELECT COUNT Goal Difference FROM table WHERE Goals Against = 30 AND Played < 18


Instruction: text to sql

Input: Name the total number of draw for played more than 18

Output: SELECT COUNT Draw FROM table WHERE Played > 18


Instruction: text to sql

Input: Where is the player with a pick smaller than 12 and a college of UV from?

Output: SELECT Country of origin* FROM table WHERE Pick < 12 AND College = uv


Instruction: text to sql

Input: What PBA team is the player from Ateneo college and a pick of 17?

Output: SELECT PBA team FROM table WHERE College = ateneo AND Pick = 17


Instruction: text to sql

Input: What is Mark Joseph Kong's pick?

Output: SELECT AVG Pick FROM table WHERE Player = mark joseph kong


Instruction: text to sql

Input: What PBA team is the player from Ateneo college with a pick number smaller than 15 from?

Output: SELECT PBA team FROM table WHERE Pick < 15 AND College = ateneo


Instruction: text to sql

Input: What pick number is Larry Fonacier?

Output: SELECT Pick FROM table WHERE Player = larry fonacier


Instruction: text to sql

Input: what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?

Output: SELECT SUM Rating FROM table WHERE Rank (timeslot) < 3 AND Rank (night) < 8


Instruction: text to sql

Input: what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?

Output: SELECT AVG Rank (night) FROM table WHERE Rating > 4.3 AND Viewers (millions) > 10.72


Instruction: text to sql

Input: When was Windy Hill used as a venue?

Output: SELECT Date FROM table WHERE Venue = windy hill


Instruction: text to sql

Input: Which home team plays at VFL Park?

Output: SELECT Home team FROM table WHERE Venue = vfl park


Instruction: text to sql

Input: Which team plays against Footscray as the home team?

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


Instruction: text to sql

Input: What is the total audience on may 28?

Output: SELECT SUM Attendance FROM table WHERE Date = may 28


Instruction: text to sql

Input: What was the the total top attendance with a score of 0 – 4?

Output: SELECT MAX Attendance FROM table WHERE Score = 0 – 4


Instruction: text to sql

Input: How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?

Output: SELECT SUM Allsvenskan titles FROM table WHERE Stars symbolizes = number of swedish championship titles AND Club = aik AND Introduced > 2000


Instruction: text to sql

Input: What is the highest amount of swedish championship titles for the team that was introduced before 2006?

Output: SELECT MAX Swedish championship titles FROM table WHERE Introduced < 2006


Instruction: text to sql

Input: What is the average reception of the player with 4 touchdowns and less than 171 yards?

Output: SELECT AVG Rec. FROM table WHERE TD's = 4 AND Yards < 171


Instruction: text to sql

Input: What is the average that has more than 0 touchdowns and more than 135 yards?

Output: SELECT Avg. FROM table WHERE TD's > 0 AND Yards > 135


Instruction: text to sql

Input: What is the record loss of R. Springer?

Output: SELECT Record FROM table WHERE Loss = r. springer


Instruction: text to sql

Input: What was the streak on April 12?

Output: SELECT Streak FROM table WHERE Date = april 12


Instruction: text to sql

Input: What was the date of A. Benes loss to the Rockies?

Output: SELECT Date FROM table WHERE Loss = a. benes AND Opponent = rockies


Instruction: text to sql

Input: Which streak had an attendance of 33,013?

Output: SELECT Streak FROM table WHERE Attendance = 33,013


Instruction: text to sql

Input: What was the partnership in the season of 1928

Output: SELECT Wicket Partnership FROM table WHERE Season = 1928


Instruction: text to sql

Input: What are the earnings for jim colbert with under 4 wins?

Output: SELECT COUNT Earnings ( $ ) FROM table WHERE Player = jim colbert AND Wins < 4


Instruction: text to sql

Input: What is the ranking for the player with under 34 events and earnings of $1,444,386

Output: SELECT MAX Rank FROM table WHERE Earnings ( $ ) = 1,444,386 AND Events < 34


Instruction: text to sql

Input: How many events for bob murphy?

Output: SELECT MAX Events FROM table WHERE Player = bob murphy


Instruction: text to sql

Input: What is the rank for bob murphy with under 4 wins?

Output: SELECT COUNT Rank FROM table WHERE Player = bob murphy AND Wins < 4


Instruction: text to sql

Input: When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?

Output: SELECT SUM Apps FROM table WHERE Club = flamengo AND Season = 2009 AND Goals > 0


Instruction: text to sql

Input: In the 2010 season what club has 0 goals and more than 0 Apps?

Output: SELECT Club FROM table WHERE Goals = 0 AND Apps > 0 AND Season = 2010


Instruction: text to sql

Input: What Round is the Event cage rage 17?

Output: SELECT Round FROM table WHERE Event = cage rage 17


Instruction: text to sql

Input: What Event is at the Time 1:16?

Output: SELECT Event FROM table WHERE Time = 1:16


Instruction: text to sql

Input: What is the title of the track after 11?

Output: SELECT Title FROM table WHERE Track > 11


Instruction: text to sql

Input: On the title feature brad mehldau as the performer, what is the original album?

Output: SELECT Original Album FROM table WHERE Performer = brad mehldau


Instruction: text to sql

Input: Which track has the original album turbulent indigo?

Output: SELECT AVG Track FROM table WHERE Original Album = turbulent indigo


Instruction: text to sql

Input: What Utah Jazz player played Center?

Output: SELECT Player FROM table WHERE Position = center


Instruction: text to sql

Input: What is the nationality of all Utah Jazz Players, that played 1987-88?

Output: SELECT Nationality FROM table WHERE Years for Jazz = 1987-88


Instruction: text to sql

Input: What is the nationality of all Utah Jazz Players, that played 2011-present?

Output: SELECT Nationality FROM table WHERE Years for Jazz = 2011-present


Instruction: text to sql

Input: What Utah Jazz Forward played for Southern Methodist?

Output: SELECT Player FROM table WHERE Position = forward AND School/Club Team = southern methodist


Instruction: text to sql

Input: What years did the Utah Jazz Player from Southern Methodist, Play?

Output: SELECT Years for Jazz FROM table WHERE School/Club Team = southern methodist


Instruction: text to sql

Input: Who was the home team at MCG?

Output: SELECT Home team FROM table WHERE Venue = mcg


Instruction: text to sql

Input: Who was Carlton's away team opponents?

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


Instruction: text to sql

Input: What was home team South Melbourne's opponents score?

Output: SELECT Away team score FROM table WHERE Home team = south melbourne


Instruction: text to sql

Input: What player has under 357 assists and is from 2001?

Output: SELECT Player FROM table WHERE Asts < 357 AND From = 2001


Instruction: text to sql

Input: When the Attendance was 4,516, what was the Record?

Output: SELECT Record FROM table WHERE Attendance = 4,516


Instruction: text to sql

Input: When the Score was 4-10, what was the Attendance?

Output: SELECT Attendance FROM table WHERE Score = 4-10


Instruction: text to sql

Input: With a Record of 9-24, what was the Score?

Output: SELECT Score FROM table WHERE Record = 9-24


Instruction: text to sql

Input: When the Score was 6-2, which Opponent was played?

Output: SELECT Opponent FROM table WHERE Score = 6-2


Instruction: text to sql

Input: On what Date was the Attendance 16,212?

Output: SELECT Date FROM table WHERE Attendance = 16,212


Instruction: text to sql

Input: What was the Attendance on May 12, when the New York Yankees were the Opponent?

Output: SELECT Attendance FROM table WHERE Opponent = new york yankees AND Date = may 12


Instruction: text to sql

Input: Which Venue has a Home team score of 22.13 (145)?

Output: SELECT Venue FROM table WHERE Home team score = 22.13 (145)


Instruction: text to sql

Input: Which Date has a Venue of junction oval?

Output: SELECT Date FROM table WHERE Venue = junction oval


Instruction: text to sql

Input: Which total number of Crowd has a Home team of melbourne?

Output: SELECT COUNT Crowd FROM table WHERE Home team = melbourne


Instruction: text to sql

Input: What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?

Output: SELECT MIN 1st Prize( $ ) FROM table WHERE Location = florida AND Score = 200 (-16)


Instruction: text to sql

Input: Which grid has a time/retired of +27.347?

Output: SELECT COUNT Grid FROM table WHERE Time/Retired = +27.347


Instruction: text to sql

Input: Who was the Singles Champions in Trieste, Italy?

Output: SELECT Singles champions FROM table WHERE Country = italy AND City = trieste


Instruction: text to sql

Input: On what Surface will the Venezuela F5 Futures in Caracas be played?

Output: SELECT Surface FROM table WHERE City = caracas AND Tournament = venezuela f5 futures


Instruction: text to sql

Input: What is the type of Surface for the New Zealand F1 Futures Tournament?

Output: SELECT Surface FROM table WHERE Tournament = new zealand f1 futures


Instruction: text to sql

Input: In what Country will Dennis Blömke play the Germany F13 Futures Tournament?

Output: SELECT Country FROM table WHERE Singles champions = dennis blömke AND Tournament = germany f13 futures


Instruction: text to sql

Input: On what Date will the Argentina F17 Futures Tournament be played in Argentina?

Output: SELECT Date FROM table WHERE Country = argentina AND Tournament = argentina f17 futures


Instruction: text to sql

Input: What are the average laps for jackie stewart?

Output: SELECT AVG Laps FROM table WHERE Driver = jackie stewart


Instruction: text to sql

Input: When did the away team have a score of 11.14 (80)?

Output: SELECT Date FROM table WHERE Away team score = 11.14 (80)


Instruction: text to sql

Input: Which was the home team that had an opponent have a score of 11.6 (72)?

Output: SELECT Home team score FROM table WHERE Away team score = 11.6 (72)


Instruction: text to sql

Input: What is the result in fort lauderdale, florida?

Output: SELECT Result FROM table WHERE Venue = fort lauderdale, florida


Instruction: text to sql

Input: What venue had less than 2 goals?

Output: SELECT Venue FROM table WHERE Goal < 2


Instruction: text to sql

Input: What was the attendance when Fitzroy played as the away team?

Output: SELECT AVG Crowd FROM table WHERE Away team = fitzroy


Instruction: text to sql

Input: Who was the trainer with Robert Courtney was owner?

Output: SELECT Trainer FROM table WHERE Owner = robert courtney


Instruction: text to sql

Input: What year was Jeff Mullins?

Output: SELECT MIN Year FROM table WHERE Trainer = jeff mullins


Instruction: text to sql

Input: In what grid did Richard Robarts make 36 laps?

Output: SELECT SUM Grid FROM table WHERE Driver = richard robarts AND Laps < 36


Instruction: text to sql

Input: How many laps were completed in grid 18?

Output: SELECT SUM Laps FROM table WHERE Grid = 18


Instruction: text to sql

Input: What was the venue where the result was 12th?

Output: SELECT Venue FROM table WHERE Result = 12th


Instruction: text to sql

Input: What species has more than 2,030 genes?

Output: SELECT Species FROM table WHERE Genes > 2,030


Instruction: text to sql

Input: How many genes in the species Rubrobacter Xylanophilus?

Output: SELECT Genes FROM table WHERE Species = rubrobacter xylanophilus


Instruction: text to sql

Input: What is the lowest number of genes in Rubrobacter Xylanophilus?

Output: SELECT MIN Genes FROM table WHERE Species = rubrobacter xylanophilus


Instruction: text to sql

Input: What is the average number of base pairs with 784 genes?

Output: SELECT AVG Base Pairs FROM table WHERE Genes = 784


Instruction: text to sql

Input: What is the lowest number of genes with less than 927,303 base pairs in Acidobacteria Bacterium?

Output: SELECT MIN Genes FROM table WHERE Base Pairs < 927,303 AND Species = acidobacteria bacterium


Instruction: text to sql

Input: How many points are obtained when a standing broad jump is 207-215 cm?

Output: SELECT COUNT Points FROM table WHERE Standing Broad Jump (cm) = 207-215


Instruction: text to sql

Input: How many points are there, when the grade is A?

Output: SELECT MAX Points FROM table WHERE Grade = a


Instruction: text to sql

Input: If a person does 3 chin-up reps, what grade do they obtain?

Output: SELECT Grade FROM table WHERE Chin-up (reps) = 3


Instruction: text to sql

Input: How many seconds is a shuttle run that give 2 points?

Output: SELECT Shuttle Run (sec) FROM table WHERE Points = 2


Instruction: text to sql

Input: Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza

Output: SELECT Outgoing Manager FROM table WHERE Manner of Departure = resigned AND Team = real zaragoza AND Replaced By = manolo villanova


Instruction: text to sql

Input: Name the replaced by for racing santander

Output: SELECT Replaced By FROM table WHERE Team = racing santander


Instruction: text to sql

Input: What Grid had 14 laps completed?

Output: SELECT AVG Grid FROM table WHERE Laps = 14


Instruction: text to sql

Input: What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?

Output: SELECT MIN Grid FROM table WHERE Laps = 25 AND Manufacturer = honda AND Time/Retired = +54.103


Instruction: text to sql

Input: How many laps were timed at +1:02.315?

Output: SELECT COUNT Laps FROM table WHERE Time/Retired = +1:02.315


Instruction: text to sql

Input: What is the points ranking of Chicago Fire?

Output: SELECT Pts Rank FROM table WHERE Club = chicago fire


Instruction: text to sql

Input: Who is the opponent with a time of 1:16?

Output: SELECT Opponent FROM table WHERE Time = 1:16


Instruction: text to sql

Input: What round has a method of submission?

Output: SELECT Round FROM table WHERE Method = submission


Instruction: text to sql

Input: Which competition did he win on August 15, 2012?

Output: SELECT Competition FROM table WHERE Result = win AND Date = august 15, 2012


Instruction: text to sql

Input: Where was the competition on August 15, 2012?

Output: SELECT Venue FROM table WHERE Date = august 15, 2012


Instruction: text to sql

Input: When was the competition that had a score of 3-0?

Output: SELECT Date FROM table WHERE Score = 3-0


Instruction: text to sql

Input: What was the result of the UEFA Euro 2008 Qualifying competition?

Output: SELECT Result FROM table WHERE Competition = uefa euro 2008 qualifying


Instruction: text to sql

Input: What nationality is Steven Anthony?

Output: SELECT Nationality FROM table WHERE Player = steven anthony


Instruction: text to sql

Input: What is the highest pick number from Slovakia?

Output: SELECT MAX Pick # FROM table WHERE Nationality = slovakia


Instruction: text to sql

Input: What is the lowest pick number for the Russian Major League?

Output: SELECT MIN Pick # FROM table WHERE League from = russian major league


Instruction: text to sql

Input: What team is from the Russian Major League?

Output: SELECT Position FROM table WHERE League from = russian major league


Instruction: text to sql

Input: Which league has a pick number larger than 204 from Canada and LW as the position?

Output: SELECT League from FROM table WHERE Pick # > 204 AND Nationality = canada AND Position = lw


Instruction: text to sql

Input: Who is the player from Aurillac?

Output: SELECT Player FROM table WHERE Club/province = aurillac


Instruction: text to sql

Input: Where did the away team score 13.14 (92)?

Output: SELECT Venue FROM table WHERE Away team score = 13.14 (92)


Instruction: text to sql

Input: what is the points when the rank is more than 1 and the places is 33?

Output: SELECT Points FROM table WHERE Rank > 1 AND Places = 33


Instruction: text to sql

Input: what is the highest rank for east germany with points of 128.98 and places less than 70?

Output: SELECT MAX Rank FROM table WHERE Nation = east germany AND Points = 128.98 AND Places < 70


Instruction: text to sql

Input: what is the points for rank 12?

Output: SELECT SUM Points FROM table WHERE Rank = 12


Instruction: text to sql

Input: Which team has an away score of 15.9 (99)?

Output: SELECT Away team FROM table WHERE Away team score = 15.9 (99)


Instruction: text to sql

Input: Which team has a home team score of 17.12 (114)?

Output: SELECT Away team score FROM table WHERE Home team score = 17.12 (114)


Instruction: text to sql

Input: Which home team score has an Away team score of 15.9 (99)?

Output: SELECT Home team score FROM table WHERE Away team score = 15.9 (99)


Instruction: text to sql

Input: What is the Home team with Away team score of 15.9 (99)?

Output: SELECT Home team score FROM table WHERE Away team score = 15.9 (99)


Instruction: text to sql

Input: What is the name of the home team that played an away team who scored 13.11 (89)?

Output: SELECT Home team FROM table WHERE Away team score = 13.11 (89)


Instruction: text to sql

Input: How much did the away team Carlton score when the crowd was larger than 19,000?

Output: SELECT Away team score FROM table WHERE Crowd > 19,000 AND Away team = carlton


Instruction: text to sql

Input: What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?

Output: SELECT AVG Pl GP FROM table WHERE Reg GP = 97 AND Pick # < 70


Instruction: text to sql

Input: Name the gloss for [χdəm]

Output: SELECT Gloss FROM table WHERE Pronunciation = [χdəm]


Instruction: text to sql

Input: Name the realization for 'to be, to do'

Output: SELECT Realization FROM table WHERE Gloss = 'to be, to do'


Instruction: text to sql

Input: What is the Crowd number for the Away team whose score is 14.18 (102)?

Output: SELECT SUM Crowd FROM table WHERE Away team score = 14.18 (102)


Instruction: text to sql

Input: What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?

Output: SELECT MIN Places FROM table WHERE Name = sherri baier / robin cowan AND Rank < 1


Instruction: text to sql

Input: What platform is nds4droid on for the nintendo ds?

Output: SELECT Platform FROM table WHERE System = nintendo ds AND Name = nds4droid


Instruction: text to sql

Input: Who has a license of proprietary (available on inquiry)?

Output: SELECT Name FROM table WHERE License = proprietary (available on inquiry)


Instruction: text to sql

Input: What platform is nds4droid on for the nintendo ds with a license of gpl v2?

Output: SELECT Platform FROM table WHERE System = nintendo ds AND License = gpl v2 AND Name = nds4droid


Instruction: text to sql

Input: What system has a current version of 1.4e?

Output: SELECT System FROM table WHERE Current version = 1.4e


Instruction: text to sql

Input: Who has a licence of gpl v2 and a current version of 0.9.9?

Output: SELECT Name FROM table WHERE License = gpl v2 AND Current version = 0.9.9


Instruction: text to sql

Input: What was the performance length of the 1999 season in bydgoszcz, poland?

Output: SELECT Performance FROM table WHERE Season = 1999 AND Place = bydgoszcz, poland


Instruction: text to sql

Input: What were the performance lengths in the 3000 m events in and after 2003?

Output: SELECT Performance FROM table WHERE Season > 2003 AND Discipline = 3000 m


Instruction: text to sql

Input: How many seasons took place in santiago de chile, chile?

Output: SELECT COUNT Season FROM table WHERE Place = santiago de chile, chile


Instruction: text to sql

Input: During which Season did the may 11, 2002 event take place?

Output: SELECT Season FROM table WHERE Date = may 11, 2002


Instruction: text to sql

Input: What is the average round for players from california?

Output: SELECT AVG Round FROM table WHERE College = california


Instruction: text to sql

Input: What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?

Output: SELECT Nationality FROM table WHERE NHL Team = vancouver canucks AND College/Junior/Club Team (League) = swift current broncos (whl) AND Round = 8


Instruction: text to sql

Input: If the Away team score was 14.10 (94), which Date was that?

Output: SELECT Date FROM table WHERE Away team score = 14.10 (94)


Instruction: text to sql

Input: When the Home team score was 20.16 (136), which Away team were they playing?

Output: SELECT Away team FROM table WHERE Home team score = 20.16 (136)


Instruction: text to sql

Input: If the Home team score was 12.10 (82) on the Date of 8 june 1981, which Home team was playing?

Output: SELECT Home team FROM table WHERE Date = 8 june 1981 AND Home team score = 12.10 (82)


Instruction: text to sql

Input: When the Away team of essendon was playing, what was the Home team's score?

Output: SELECT Home team score FROM table WHERE Away team = essendon


Instruction: text to sql

Input: For the Venue of western oval, what's the Away team playing?

Output: SELECT Away team FROM table WHERE Venue = western oval


Instruction: text to sql

Input: Which venue has a Home team score of 9.12 (66)?

Output: SELECT Venue FROM table WHERE Home team score = 9.12 (66)


Instruction: text to sql

Input: How large is the crowd with an Away team score of 7.13 (55)?

Output: SELECT COUNT Crowd FROM table WHERE Away team score = 7.13 (55)


Instruction: text to sql

Input: Which venue has an Away team score of 12.11 (83)?

Output: SELECT Venue FROM table WHERE Away team score = 12.11 (83)


Instruction: text to sql

Input: Who was the opponent on week 7?

Output: SELECT Opponent FROM table WHERE Week = 7


Instruction: text to sql

Input: Who was the opponent on week 5?

Output: SELECT Opponent FROM table WHERE Week = 5


Instruction: text to sql

Input: Who was the leading scorer of the game that had a score of 107–97?

Output: SELECT Leading scorer FROM table WHERE Score = 107–97


Instruction: text to sql

Input: Who was the visiting team when the Suns were the home team?

Output: SELECT Visitor FROM table WHERE Home = suns


Instruction: text to sql

Input: What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800?

Output: SELECT AVG Ties FROM table WHERE Losses < 3 AND Wins < 5 AND Win Pct. = 0.800 AND Team = detroit lions


Instruction: text to sql

Input: What is the most recent year in which the score was 4–6, 6–3, 7–5?

Output: SELECT MAX Year FROM table WHERE Score = 4–6, 6–3, 7–5


Instruction: text to sql

Input: Which player has a height of 6-7?

Output: SELECT Player FROM table WHERE Height = 6-7


Instruction: text to sql

Input: What is the NBA draft result of the player from Washington, DC?

Output: SELECT NBA Draft FROM table WHERE Hometown = washington, dc


Instruction: text to sql

Input: What is the NBA draft result of the player from the College of Kansas?

Output: SELECT NBA Draft FROM table WHERE College = kansas


Instruction: text to sql

Input: Who is the player from La Costa Canyon High School?

Output: SELECT Player FROM table WHERE School = la costa canyon high school


Instruction: text to sql

Input: How tall is the player from Nacogdoches High School?

Output: SELECT Height FROM table WHERE School = nacogdoches high school


Instruction: text to sql

Input: What is the school of the player from Dallas, TX?

Output: SELECT School FROM table WHERE Hometown = dallas, tx


Instruction: text to sql

Input: What is the result for world group, consolation round?

Output: SELECT Result FROM table WHERE Competition = world group, consolation round


Instruction: text to sql

Input: What was the long of Trandon Harvey who had an greater than 8 average, more than 3 rec., and more than 28 TD's?

Output: SELECT SUM Long FROM table WHERE Avg. > 8 AND Rec. > 3 AND Player = trandon harvey AND TD's > 28


Instruction: text to sql

Input: How many attended tie number 1?

Output: SELECT SUM Attendance FROM table WHERE Tie no = 1


Instruction: text to sql

Input: How many attended tie number 3?

Output: SELECT MAX Attendance FROM table WHERE Tie no = 3


Instruction: text to sql

Input: What is the hometown for tre madden?

Output: SELECT Hometown FROM table WHERE Player = tre madden


Instruction: text to sql

Input: What is the hometown for the player that is defensive back and went to alabama?

Output: SELECT Hometown FROM table WHERE Position = defensive back AND College = alabama


Instruction: text to sql

Input: What is the college for the player that went to ridge community high school and is defensive back?

Output: SELECT College FROM table WHERE Position = defensive back AND School = ridge community high school


Instruction: text to sql

Input: What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may?

Output: SELECT SUM Year FROM table WHERE Type = informal AND Location = justus lipsius building, brussels AND Date = 23 may


Instruction: text to sql

Input: What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?

Output: SELECT Type FROM table WHERE Location = justus lipsius building, brussels AND Year = 2012 AND President = herman van rompuy (1st term) AND Date = 23 may


Instruction: text to sql

Input: What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october?

Output: SELECT President FROM table WHERE Location = justus lipsius building, brussels AND Type = scheduled AND Year > 2011 AND Date = 18–19 october


Instruction: text to sql

Input: What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?

Output: SELECT Location FROM table WHERE Year > 2011 AND President = herman van rompuy (2nd term) AND Date = 28–29 june AND Type = scheduled


Instruction: text to sql

Input: What is the President with a Year larger than 2011, and a Date with 23 may?

Output: SELECT President FROM table WHERE Year > 2011 AND Date = 23 may


Instruction: text to sql

Input: What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?

Output: SELECT Type FROM table WHERE Year > 2010 AND Location = justus lipsius building, brussels AND President = herman van rompuy (2nd term) AND Date = 28–29 june


Instruction: text to sql

Input: What competition has a goal number of 13?

Output: SELECT Competition FROM table WHERE Goal = 13


Instruction: text to sql

Input: What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0?

Output: SELECT SUM Yards FROM table WHERE Asst. = 19 AND TotalTK = 60 AND Sack > 0


Instruction: text to sql

Input: what is the total sack for mike green when fumr is less than 0?

Output: SELECT SUM Sack FROM table WHERE Player = mike green AND FumR < 0


Instruction: text to sql

Input: what is the total sack when totaltk is 1 and asst. is more than 0?

Output: SELECT SUM Sack FROM table WHERE TotalTK = 1 AND Asst. > 0


Instruction: text to sql

Input: what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0?

Output: SELECT COUNT Tackles FROM table WHERE FumR = 0 AND TotalTK = 54 AND Yards < 0


Instruction: text to sql

Input: what is the sum of totaltk when yards is less than 0?

Output: SELECT SUM TotalTK FROM table WHERE Yards < 0


Instruction: text to sql

Input: What class is after 1973 with 41 points?

Output: SELECT Class FROM table WHERE Year > 1973 AND Points = 41


Instruction: text to sql

Input: How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?

Output: SELECT COUNT Wins FROM table WHERE Points < 54 AND Team = yamaha AND Class = 250cc AND Year < 1977