question
stringlengths
12
244
sql
stringlengths
22
468
How often is the table tennis competition held?
SELECT Held every FROM table WHERE Sport = table tennis
How often is the cricket competition held?
SELECT Held every FROM table WHERE Sport = cricket
What was the attendance of the Blue Jays' game when their record was 47-43?
SELECT SUM Attendance FROM table WHERE Record = 47-43
Which year had a Cosworth V8 engine and 12 points?
SELECT Year FROM table WHERE Points = 12 AND Engine = cosworth v8
How many points did the ATS Wheels entrant with an ATS D2 chassis have?
SELECT Points FROM table WHERE Entrant = ats wheels AND Chassis = ats d2
How many races have less than 2 podiums and 19th position before 2009?
SELECT AVG Races FROM table WHERE Podiums < 2 AND Position = 19th AND Season < 2009
Which co drivers are 3rd in Joest racing?
SELECT Co-Drivers FROM table WHERE Pos. = 3rd AND Team = joest racing
When was radek necas with less than 2.04 height born?
SELECT AVG Year born FROM table WHERE Player = radek necas AND Height < 2.04
How tall was the member of Nymburk, who was born in 1982?
SELECT MAX Height FROM table WHERE Year born = 1982 AND Current Club = nymburk
What Kerry number does Taylor county have with more than 65 others#?
SELECT COUNT Kerry# FROM table WHERE County = taylor AND Others# > 65
What is the smallest bush# with 66.0% bush and less than 65 others#?
SELECT MIN Bush# FROM table WHERE Bush% = 66.0% AND Others# < 65
Who was the captain of the away team at Adelaide Oval?
SELECT Away captain FROM table WHERE Venue = adelaide oval
What is the final score at Melbourne Cricket Ground?
SELECT Result FROM table WHERE Venue = melbourne cricket ground
Name the score for april 28
SELECT Score FROM table WHERE Date = april 28
What is the average Heat for anjelika solovieva?
SELECT AVG Heat FROM table WHERE Name = anjelika solovieva
What is the average lane with Netherlands Antilles Nationality?
SELECT AVG Lane FROM table WHERE Nationality = netherlands antilles
What is the finish of the year with start 5?
SELECT Finish FROM table WHERE Start = 5
What is the rank in 1940?
SELECT Rank FROM table WHERE Year = 1940
What is the highest laps of the year when the rank was 14?
SELECT MAX Laps FROM table WHERE Rank = 14
What year had 134 laps?
SELECT Year FROM table WHERE Laps = 134
What is the finish when there was more than 192 laps and a qual of 135.736?
SELECT Finish FROM table WHERE Laps > 192 AND Qual = 135.736
Witch opponent has a loss of Glynn (0-2)?
SELECT Opponent FROM table WHERE Loss = glynn (0-2)
Who was the previous champion of the title won on July 7, 2010?
SELECT Previous champion(s) FROM table WHERE Date Won = july 7, 2010
When did Bonecrusher win the championship at Bayamón, Puerto Rico?
SELECT Date Won FROM table WHERE Location = bayamón, puerto rico AND Champion(s) = bonecrusher
Who is the champion of the title previously held by Lash?
SELECT Champion(s) FROM table WHERE Previous champion(s) = lash
Which championship was won on July 7, 2010?
SELECT Championship FROM table WHERE Date Won = july 7, 2010
Who has 6/1 odds?
SELECT Trainer FROM table WHERE Odds = 6/1
What is the total dist with Johnny Murtagh and less than 26 runners?
SELECT SUM Dist (f) FROM table WHERE Jockey = johnny murtagh AND Runners < 26
Who has 5/1 odds?
SELECT Jockey FROM table WHERE Odds = 5/1
What course did Fergal Lynch end up with 5/1 odds?
SELECT Course FROM table WHERE Jockey = fergal lynch AND Odds = 5/1
What place has a To par of +4 and a score of 74-70-74-74=292?
SELECT Place FROM table WHERE To par = +4 AND Score = 74-70-74-74=292
What place in the United States has a To par of e?
SELECT Place FROM table WHERE Country = united states AND To par = e
What is the To par for the place in the United States and a score of 74-69-71-74=288?
SELECT To par FROM table WHERE Country = united states AND Score = 74-69-71-74=288
What Venue is listed that has a Year smaller than 2005 and a Position of 10th (sf)?
SELECT Venue FROM table WHERE Year < 2005 AND Position = 10th (sf)
What's the average Year for the Position of 7th (sf)?
SELECT AVG Year FROM table WHERE Position = 7th (sf)
What's the highest Year for the Venue of Santiago De Chile and the Event of 800 m?
SELECT MAX Year FROM table WHERE Event = 800 m AND Venue = santiago de chile
What Venue has a Position of 12th (sf)?
SELECT Venue FROM table WHERE Position = 12th (sf)
Which engine has an Entrant of team lotus, and a Year larger than 1962?
SELECT Engine FROM table WHERE Entrant = team lotus AND Year > 1962
How many points have a Year larger than 1966?
SELECT COUNT Points FROM table WHERE Year > 1966
What is the smallest number of points with an Engine of climax v8, and a Year of 1966?
SELECT MIN Points FROM table WHERE Engine = climax v8 AND Year = 1966
How many points did Team Rothmans International have after 1975 when their Chassis was a March 771?
SELECT Points FROM table WHERE Year > 1975 AND Entrant = team rothmans international AND Chassis = march 771
What Nationality of the person who has a Rank of 4
SELECT Nationality FROM table WHERE Lane < 4 AND Rank = 4
Name the score on october 14
SELECT Score FROM table WHERE Date = october 14
What was the average number of "goals for", scored in the club Real Oviedo that had a "goal difference" lower than -16 and fewer than 9 wins?
SELECT AVG Goals for FROM table WHERE Goal Difference < -16 AND Club = real oviedo AND Wins < 9
How many people played at the club that had a "goal difference" of -8 and a position lower than 12?
SELECT SUM Played FROM table WHERE Goal Difference = -8 AND Position < 12
How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals?
SELECT COUNT Goals against FROM table WHERE Goal Difference = 0 AND Wins = 12 AND Goals for > 44
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
SELECT MIN Goals for FROM table WHERE Wins = 18 AND Goals against < 38
When did Manny Pacquiao win his first championship?
SELECT MIN Year FROM table WHERE Fighter = manny pacquiao
Which sport did the United States win?
SELECT Sport FROM table WHERE Nation represented = united states
What is the latest result where a person from the Philippines won?
SELECT MAX Year FROM table WHERE Nation represented = philippines
Which nation won the boxing championship in 2012?
SELECT Nation represented FROM table WHERE Year = 2012
What is the total number of seats of the Christian Democratic Union (CDU) party?
SELECT Total Seats FROM table WHERE Party = christian democratic union (cdu)
What seat has a vote percentage of 100.0%
SELECT Seat percentage FROM table WHERE Vote percentage = 100.0%
What was the area in Glenella with a population of 522 in 2011?
SELECT AVG Area (km²) FROM table WHERE Name = glenella AND Population (2011) < 522
What is the population density of Siglunes when the change was smaller than -8.1 percent?
SELECT COUNT Population density FROM table WHERE Name = siglunes AND Change (%) < -8.1
Who was the trainer when Crowd Pleaser won?
SELECT Trainer FROM table WHERE Winner = crowd pleaser
What was the race time of the horse with jockey Ramon Dominguez?
SELECT Time FROM table WHERE Jockey = ramon dominguez
What jockey rode for Michael House before 2012
SELECT Jockey FROM table WHERE Year < 2012 AND Owner = michael house
How many UK events won for the contestant that won under 1 US event?
SELECT Events won (UK Series) FROM table WHERE Events won (US Series) < 1
How many US events did jason bennett win?
SELECT AVG Events won (US Series) FROM table WHERE Name = jason bennett
Which downhill has 7 overalls?
SELECT Downhill FROM table WHERE Overall = 7
What super g was before 1998, had 2 giant slaloms and 24 downhills?
SELECT Super G FROM table WHERE Season < 1998 AND Giant Slalom = 2 AND Downhill = 24
What is the combined of 2 overalls and 5 slaloms?
SELECT Combined FROM table WHERE Overall = 2 AND Slalom = 5
How many overalls has 1 combined and 24 downhills?
SELECT Overall FROM table WHERE Combined = 1 AND Downhill = 24
What Distance had a Race Leader in Km (mi)?
SELECT Distance FROM table WHERE Race Leader = km (mi)
What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played?
SELECT MAX Points FROM table WHERE Tied = 4 AND Goals for < 257 AND Games > 72
What is the average of games played with a percentage of 3.33% and less than 29 losses?
SELECT AVG Played FROM table WHERE Percentage = 3.33% AND Lost < 29
What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses?
SELECT COUNT Played FROM table WHERE First game = 1991 AND Percentage = 22.22% AND Lost > 7
What is the highest number of draws that correlates with a percentage of 0.00% and less than 1 loss?
SELECT MAX Drawn FROM table WHERE Percentage = 0.00% AND Lost < 1
What is the start value for rank 11?
SELECT Start FROM table WHERE Rank = 11
Which year has 200 laps?
SELECT Year FROM table WHERE Laps = 200
What is the finish value for a start of 19?
SELECT Finish FROM table WHERE Start = 19
What country is the film directed by Alfonso Cuarón from?
SELECT Country FROM table WHERE Director' = alfonso cuarón
What is the original title of the film directed by Cristian Mungiu?
SELECT Original title FROM table WHERE Director' = cristian mungiu
What country is the film directed by Michael Haneke from?
SELECT Country FROM table WHERE Director' = michael haneke
What is the English title of the film from after 2003 directed by Michael Haneke?
SELECT English title FROM table WHERE Year > 2003 AND Director' = michael haneke
where is the naghsh jahan stadium?
SELECT City FROM table WHERE Stadium = naghsh jahan
what city has a past season of n/a?
SELECT City FROM table WHERE Past season = n/a
where is the pegah team located?
SELECT City FROM table WHERE Team = pegah
what stadium has a prior record of 7th?
SELECT Stadium FROM table WHERE Past season = 7th
What is the Nationality on the swimmer in Lane 4 with a Time of 1:11.58?
SELECT Nationality FROM table WHERE Lane = 4 AND Time = 1:11.58
What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2?
SELECT MIN Lane FROM table WHERE Heat > 2 AND Time = 1:10.57
What is the Heat for Smiljana Marinović?
SELECT COUNT Heat FROM table WHERE Name = smiljana marinović
In heat 4, what is Byun Hye-young's Nationality?
SELECT Nationality FROM table WHERE Heat = 4 AND Name = byun hye-young
Which type of song did miriam yeung sing?
SELECT Kind of the song FROM table WHERE Singer = miriam yeung
What type of song is larger than 8 and named 實情?
SELECT Kind of the song FROM table WHERE Number > 8 AND Name of the song = 實情
Which song has a ending theme, and is sung by miriam yeung?
SELECT Name of the song FROM table WHERE Kind of the song = ending theme AND Singer = miriam yeung
What is the number of the song named 實情?
SELECT Number FROM table WHERE Name of the song = 實情
Name the total number of start when finish is less than 4
SELECT COUNT Start FROM table WHERE Finish < 4
Name the sum of year when start is less than 30
SELECT SUM Year FROM table WHERE Start < 30
Name the most year with start more than 2
SELECT MAX Year FROM table WHERE Start > 2
Name the most year with start less than 2
SELECT MAX Year FROM table WHERE Start < 2
Name the year when start was 32
SELECT Year FROM table WHERE Start = 32
Name the most finish for 2006
SELECT MAX Finish FROM table WHERE Year = 2006
What was the total attendance at games when Detroit was the visiting team and the record was 36–13–5?
SELECT COUNT Attendance FROM table WHERE Visitor = detroit AND Record = 36–13–5
When did first minister Henry Mcleish enter office?
SELECT Entered office FROM table WHERE First Minister = henry mcleish
What is the name of the minister that left office on 14 November 2006?
SELECT Name FROM table WHERE Left office = 14 november 2006
What is the name of the minister from the party of minister for community safety and legal affairs?
SELECT Name FROM table WHERE Party = minister for community safety and legal affairs
What is the name of the minister who has an entered office of entered office?
SELECT Name FROM table WHERE Entered office = entered office
What is the party of the minister who left office on 26 November 2002?
SELECT Party FROM table WHERE Left office = 26 november 2002