question
stringlengths
12
244
sql
stringlengths
22
468
What is the number of bronze when the total is smaller than 1?
SELECT AVG Bronze FROM table WHERE Total < 1
What is the highest number of bronze when silver is larger than 0, rank is larger than 3?
SELECT MAX Bronze FROM table WHERE Silver > 0 AND Rank > 3
What is the lowest number of silvers for countries in rank 12 with more than 0 bronze?
SELECT MIN Silver FROM table WHERE Rank = 12 AND Bronze > 0
What is the most number of silvers for teams in rank 5 with more than 6 total medals?
SELECT MAX Silver FROM table WHERE Rank = 5 AND Total > 6
What is the fewest number of golds for teams with a total of 3 and fewer than 2 silvers?
SELECT MIN Gold FROM table WHERE Total = 3 AND Silver < 2
What's the number of wins when the flags were less than 8 and 52.11% of wins?
SELECT COUNT Wins FROM table WHERE Percentage wins = 52.11% AND Flags < 8
What's the most flags that had 473 wins and less than 633 losses?
SELECT MAX Flags FROM table WHERE Wins = 473 AND Losses < 633
How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?
SELECT Wins FROM table WHERE Flags > 6 AND Draws > 10 AND Club = south warrnambool
What are the losses of Warrnambool with a draw less than 19?
SELECT AVG Losses FROM table WHERE Club = warrnambool AND Draws < 19
What is the Location of the Competition with a Rank-Final of 10?
SELECT Location FROM table WHERE Rank-Final = 10
How many gold medals for Bulgaria (BUL) with 2 silvers and a less than 18 rank?
SELECT SUM Gold FROM table WHERE Silver = 2 AND Nation = bulgaria (bul) AND Rank < 18
What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6?
SELECT MAX Bronze FROM table WHERE Rank > 6 AND Nation = great britain (gbr) AND Silver > 1
What's the total silver medals having less than 2 gold and 2 bronze?
SELECT COUNT Silver FROM table WHERE Bronze = 2 AND Gold < 2
Which Name has a Championship larger than 2, and a Total larger than 4, and an FA Cup larger than 0?
SELECT Name FROM table WHERE Championship > 2 AND Total > 4 AND FA Cup > 0
Which Video has a Channel smaller than 35.66, and a Programming of nhk world?
SELECT Video FROM table WHERE Channel < 35.66 AND Programming = nhk world
Which Video has a PSIP Short Name of rt?
SELECT Video FROM table WHERE PSIP Short Name = rt
Which Programming has a Channel of 35.4?
SELECT Programming FROM table WHERE Channel = 35.4
what is the lowest vuelta wins when the rank is 19 and combo is more than 0?
SELECT MIN Vuelta Wins FROM table WHERE Rank = 19 AND Combo' > 0
How many times is the country ireland and points more than 4?
SELECT COUNT Vuelta Wins FROM table WHERE Country = ireland AND Points > 4
What is the format for the MHCP-66 Catalog?
SELECT Format FROM table WHERE Catalog = mhcp-66
What Catalog came out on August 20, 1965?
SELECT Catalog FROM table WHERE Date = august 20, 1965
What is the catalog with an LP Format and under the Simply Vinyl label?
SELECT Catalog FROM table WHERE Format = lp AND Label = simply vinyl
What date had a CD format, under Columbia/Legacy from the UK?
SELECT Date FROM table WHERE Format = cd AND Label = columbia/legacy AND Country = uk
What country has an LP format, catalog s 31503?
SELECT Country FROM table WHERE Format = lp AND Catalog = s 31503
What is the format for Catalog CL 2372?
SELECT Format FROM table WHERE Catalog = cl 2372
What event has european championships as the tournament, with 2006 as the year?
SELECT Event FROM table WHERE Tournament = european championships AND Year = 2006
What average year has international meeting & national championships as the tournament?
SELECT AVG Year FROM table WHERE Tournament = international meeting & national championships
What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points?
SELECT MIN Year FROM table WHERE Tournament = hypo-meeting AND Points = 8002
Who was the opponent in the match that lasted 4:17?
SELECT Opponent FROM table WHERE Time = 4:17
Where was the match that lasted less than 3 rounds and was won by submission (triangle choke)?
SELECT Location FROM table WHERE Round < 3 AND Method = submission (triangle choke)
Which event had Carlos Alexandre Pereira as opponent?
SELECT Event FROM table WHERE Opponent = carlos alexandre pereira
Where was the match that resulted in a win in 4:16 held?
SELECT Location FROM table WHERE Res. = win AND Time = 4:16
What's the population that has a median family income of $50,553?
SELECT COUNT Population FROM table WHERE Median family income = $50,553
What is the highest rank for the team of egypt?
SELECT MAX Rank FROM table WHERE Country = egypt
Who was the athlete from egypt with q in the notes?
SELECT Athlete FROM table WHERE Notes = q AND Country = egypt
What is the 2FM for SW Ireland?
SELECT 2FM (MHz) FROM table WHERE Service area = sw ireland
Name Event of Medal of gold and a Name of duncan white?
SELECT Event FROM table WHERE Medal = gold AND Name = duncan white
Name the Event of the Games of 1950 auckland and a Medal of bronze?
SELECT Event FROM table WHERE Games = 1950 auckland AND Medal = bronze
Which Medal has a Name of alex obeyesekera?
SELECT Medal FROM table WHERE Name = alex obeyesekera
Which Event has a Medal of gold and a Name of barney henricus?
SELECT Event FROM table WHERE Medal = gold AND Name = barney henricus
Name the Event of sudesh peiris?
SELECT Event FROM table WHERE Name = sudesh peiris
What year was the developer(s) Bioware?
SELECT AVG Year FROM table WHERE Developer(s) = bioware
What is the genre for 2009 on Playstation 3?
SELECT Genre FROM table WHERE Year > 2009 AND Platform(s) = playstation 3
Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?
SELECT Result FROM table WHERE Recipients and nominees = outstanding achievement in drama AND Year = 1995
What recipients and nominees have outstanding achievement in drama as the category with 1994 as the year?
SELECT Recipients and nominees FROM table WHERE Category = outstanding achievement in drama AND Year = 1994
What result has outstanding achievement in drama, as the role/episode with a year prior to 1995?
SELECT Result FROM table WHERE Role/Episode = outstanding achievement in drama AND Year < 1995
What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
SELECT AVG Total FROM table WHERE Gymnast = danny pinheiro rodrigues ( fra ) AND Position < 7
What is the total for Chen Yibing ( chn ), when his B Score was smaller than 9.225?
SELECT COUNT Total FROM table WHERE Gymnast = chen yibing ( chn ) AND B Score < 9.225
What is the A Score when the B Score is more than 9.05, and the total is less than 16.525?
SELECT COUNT A Score FROM table WHERE B Score > 9.05 AND Total < 16.525
What is the position for Oleksandr Vorobiov ( ukr ), when the total was larger than 16.25?
SELECT COUNT Position FROM table WHERE Gymnast = oleksandr vorobiov ( ukr ) AND Total > 16.25
What is the total for Robert Stanescu ( rou ), when the B Score is larger than 8.75?
SELECT SUM Total FROM table WHERE Gymnast = robert stanescu ( rou ) AND B Score > 8.75
Poland has what notes?
SELECT Notes FROM table WHERE Country = poland
What is Croatia's rank?
SELECT Rank FROM table WHERE Country = croatia
When rank is 5, what is the rowers?
SELECT Rowers FROM table WHERE Rank = 5
What is the average rank for Denmark?
SELECT AVG Rank FROM table WHERE Country = denmark
What is the end of the term for Kadima that started on 18 January 2006?
SELECT Term end FROM table WHERE Party = kadima AND Term start = 18 january 2006
Whose term started on 4 May 2006?
SELECT Minister FROM table WHERE Term start = 4 may 2006
Which 2005/ 06 has a 2006/ 07 of ur?
SELECT 2005/ 06 FROM table WHERE 2006/ 07 = ur
Which 2005/ 06 has a 2011/ 12 of ranking tournaments
SELECT 2005/ 06 FROM table WHERE 2011/ 12 = ranking tournaments
Which the 2007/ 08 has a 2006/ 07 of 1r?
SELECT 2007/ 08 FROM table WHERE 2006/ 07 = 1r
Which 2010/ 11 has a 2011/ 12 of wr?
SELECT 2010/ 11 FROM table WHERE 2011/ 12 = wr
Which in 2007/ 08 has a 2009/ 10 of non-ranking?
SELECT 2007/ 08 FROM table WHERE 2009/ 10 = non-ranking
Name the 2010/ 11 which has a 2006/ 07 of not held, and a 2011/ 12 of a, and a 2012/ 13 of a?
SELECT 2010/ 11 FROM table WHERE 2006/ 07 = not held AND 2011/ 12 = a AND 2012/ 13 = a
What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?
SELECT MIN Bronze FROM table WHERE Gold < 2 AND Rank = 29 AND Total > 3
What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4?
SELECT MAX Bronze FROM table WHERE Silver < 2 AND Total > 4 AND Rank = 33
How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
SELECT SUM Silver FROM table WHERE Bronze < 5 AND Gold > 0 AND Rank = 22
What's the bronze count for South Africa (RSA) with a total more than 16?
SELECT MAX Bronze FROM table WHERE Nation = south africa (rsa) AND Total > 16
What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?
SELECT MIN Election FROM table WHERE President = leonardo marras AND Inhabitants < 227,063
What is the party affiliation for President Stefano Baccelli?
SELECT Party FROM table WHERE President = stefano baccelli
What is the average election result for the province of Grosseto from 1766 and prior?
SELECT AVG Election FROM table WHERE Province = grosseto AND established < 1766
What is the total number of all bills co-sponsored associated with all amendments sponsored under 15, all bills sponsored of 6, and 0 amendments cosponsored?
SELECT COUNT All bills cosponsored FROM table WHERE All amendments sponsored < 15 AND All bills sponsored = 6 AND All amendments cosponsored < 0
What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored?
SELECT MIN All amendments sponsored FROM table WHERE Bills originally cosponsored = 150 AND All bills cosponsored > 247
What is the highest number of bills cosponsored associated with under 24 bills sponsored and under 16 amendments sponsored?
SELECT MAX All bills cosponsored FROM table WHERE All bills sponsored < 24 AND All amendments sponsored < 16
What is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?
SELECT MAX All amendments cosponsored FROM table WHERE Amendments originally cosponsored = 53 AND All bills sponsored > 54
What is the number of bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored?
SELECT All bills sponsored FROM table WHERE Bills originally cosponsored > 113 AND All amendments cosponsored < 47
What is the Lane of the swimmer from Uzbekistan in Heat 1?
SELECT COUNT Lane FROM table WHERE Heat = 1 AND Nationality = uzbekistan
Which station has a frequency of 873khz?
SELECT Station FROM table WHERE Frequency = 873khz
Where is the transmitter located for the station voice of vietnam
SELECT Transmitter location FROM table WHERE Station = voice of vietnam
Which station is from China and has a frequency of 684khz?
SELECT Station FROM table WHERE Country of origin = china AND Frequency = 684khz
Name the Tally of an Opposition of westmeath?
SELECT Tally FROM table WHERE Opposition = westmeath
What is the horizontal bar score with a pommel horse of n/a, and the position is less than 27, and the parallel bars score is 15.800?
SELECT Horizontal Bar FROM table WHERE Pommel Horse = n/a AND Position < 27 AND Parallel Bars = 15.800
What is the score of the floor when the position is less than 21, and less than 81.2 total, and the pommel horse score is 13.925?
SELECT Floor FROM table WHERE Position < 21 AND Total < 81.2 AND Pommel Horse = 13.925
Who is the gymnast with a floor score of 14.800?
SELECT Gymnast FROM table WHERE Floor = 14.800
What horizontal bar score also has a pommel horse score of 15.250?
SELECT Horizontal Bar FROM table WHERE Pommel Horse = 15.250
With a parallel bars score of 14.625 what is the average total?
SELECT AVG Total FROM table WHERE Parallel Bars = 14.625
What is the Rank of the Athletes with a Time of 3:43.491?
SELECT COUNT Rank FROM table WHERE Time = 3:43.491
What are the Notes of the Athletes from Germany?
SELECT Notes FROM table WHERE Country = germany
What is the Rank of the Athletes from Ukraine?
SELECT COUNT Rank FROM table WHERE Country = ukraine
What location did Sherry Middaugh win in?
SELECT Location FROM table WHERE Winning skip = sherry middaugh
What event did Patti Lank have the winning skip?
SELECT Event FROM table WHERE Winning skip = patti lank
What date shows Binia Feltscher-Beeli as the runner-up skip?
SELECT Date FROM table WHERE Runner-up skip = binia feltscher-beeli
What person was the runner-up skip when Julie Reddick was the winning skip?
SELECT Runner-up skip FROM table WHERE Winning skip = julie reddick
What's the Yellow fertility rate when Brazil is 0,43407?
SELECT Yellow 1.09% FROM table WHERE Brazil 100% = 0,43407
What is the sum of the area in km with a population of 110 in 2011?
SELECT SUM Area (km 2 ) FROM table WHERE Population (2011) = 110
What is the average population in 2006 that has more than 5 people in 2011 and an area 5.84km?
SELECT AVG Population (2006) FROM table WHERE Population (2011) > 5 AND Area (km 2 ) = 5.84
What is the lowest lane with a 0.216 react?
SELECT MIN Lane FROM table WHERE React = 0.216
What is the total rank for the lane before 2?
SELECT SUM Rank FROM table WHERE Lane < 2
What genre is the game from the year 2007?
SELECT Genre FROM table WHERE Year = 2007
What is the Game that came out before the year 2009 for the Playstation 3?
SELECT Game FROM table WHERE Platform(s) = playstation 3 AND Year < 2009
What is the earliest year that had the Legend of Zelda: Twilight Princess game?
SELECT MIN Year FROM table WHERE Game = the legend of zelda: twilight princess