question_id
int64
24.2k
80.3k
table_id
stringlengths
8
14
question
stringlengths
12
244
sql
stringlengths
33
482
79,820
2-12256602-1
Name the Years of schools with a Roll Larger than 23 and a Decile greater than 5.
SELECT "Years" FROM "2-12256602-1" WHERE "Roll" > 23.0 AND "Decile" > 5.0;
79,821
2-12256602-1
What is the total number of Rolls of state schools in hapuku with a Decile greater than 4?
SELECT COUNT("Roll") FROM "2-12256602-1" WHERE "Authority" = 'state' AND "Area" = 'hapuku' AND "Decile" > 4.0;
79,822
2-1178059-1
What is the D45 associated with a D42 of R 22?
SELECT "D 45" FROM "2-1178059-1" WHERE "D 42" = 'R 22';
79,823
2-1178059-1
What is the D43 associated with a D41 of R 21?
SELECT "D 43" FROM "2-1178059-1" WHERE "D 41" = 'R 21';
79,824
2-1178059-1
What is the D42 associated with a D47 of D 27?
SELECT "D 42" FROM "2-1178059-1" WHERE "D 47" = 'D 27';
79,825
2-1178059-1
What is the D43 associated with a D41 of R 16?
SELECT "D 43" FROM "2-1178059-1" WHERE "D 41" = 'R 16';
79,826
2-12195635-7
What is the record for the game when the loss was Hargan (14–13)?
SELECT "Record" FROM "2-12195635-7" WHERE "Loss" = 'Hargan (14–13)';
79,827
2-12195635-7
What is the record for the game with a score of 7–5?
SELECT "Record" FROM "2-12195635-7" WHERE "Score" = '7–5';
79,828
2-12195635-7
What date was the game with loss of Aker (3–8)?
SELECT "Date" FROM "2-12195635-7" WHERE "Loss" = 'Aker (3–8)';
79,829
2-12195635-7
What team was the opponent when the score was 7–1?
SELECT "Opponent" FROM "2-12195635-7" WHERE "Score" = '7–1';
79,830
2-12195635-7
What was the score when the opponent was the Orioles and the loss shows Morehead (5–4)?
SELECT "Score" FROM "2-12195635-7" WHERE "Opponent" = 'Orioles' AND "Loss" = 'Morehead (5–4)';
79,831
2-12207222-6
Name the opponent with a record of 60-61
SELECT "Opponent" FROM "2-12207222-6" WHERE "Record" = '60-61';
79,832
2-12963707-2
Who had a perfection percentage of 77.96%?
SELECT "Name" FROM "2-12963707-2" WHERE "Perfection" = '77.96%';
79,833
2-12963707-2
What was the rank of Svetlana Fedorenko?
SELECT "Rank" FROM "2-12963707-2" WHERE "Name" = 'Svetlana Fedorenko';
79,834
2-12963707-2
Who had a perfection percentage of 73.24%?
SELECT "Name" FROM "2-12963707-2" WHERE "Perfection" = '73.24%';
79,835
2-12195635-4
What was the score of the game on June 1?
SELECT "Score" FROM "2-12195635-4" WHERE "Date" = 'June 1';
79,836
2-12598104-8
What was the score against Andrei Pavel?
SELECT "Score" FROM "2-12598104-8" WHERE "Opponent" = 'Andrei Pavel';
79,837
2-12598104-8
When was the tournament of Bologna?
SELECT "Date" FROM "2-12598104-8" WHERE "Tournament" = 'Bologna';
79,838
2-12598104-8
Who played on Clay and had a score of 6–1, 7–6?
SELECT "Opponent" FROM "2-12598104-8" WHERE "Surface" = 'Clay' AND "Score" = '6–1, 7–6';
79,839
2-12598104-8
Who played on Clay on 3 March 2012?
SELECT "Opponent" FROM "2-12598104-8" WHERE "Surface" = 'Clay' AND "Date" = '3 March 2012';
79,840
2-12598104-8
What was the score against Fabrice Martin?
SELECT "Score" FROM "2-12598104-8" WHERE "Opponent" = 'Fabrice Martin';
79,841
2-12598104-8
What was the surface of the score of 7–5, 3–6, 7–6?
SELECT "Surface" FROM "2-12598104-8" WHERE "Score" = '7–5, 3–6, 7–6';
79,842
2-12141437-1
What's the Order with an Elector of Marino Bulcani?
SELECT "Order" FROM "2-12141437-1" WHERE "Elector" = 'Marino Bulcani';
79,843
2-12141437-1
What's the Elevator that has Elevated: 1378, September 18, an Order of Cardinal-priest, and an Elector of Poncello Orsini?
SELECT "Elevator" FROM "2-12141437-1" WHERE "Elevated" = '1378, September 18' AND "Order" = 'Cardinal-priest' AND "Elector" = 'Poncello Orsini';
79,844
2-12141437-1
What is listed as the Elector with the Title of Deacon of S. Maria in Domnica?
SELECT "Elector" FROM "2-12141437-1" WHERE "Title" = 'Deacon of S. Maria in Domnica';
79,845
2-12141437-1
What's listed for the Elevated category that has an Order of Cardinal-bishop?
SELECT "Elevated" FROM "2-12141437-1" WHERE "Order" = 'Cardinal-bishop';
79,846
2-13054553-7
The Milford School has what Division Record?
SELECT "Division Record" FROM "2-13054553-7" WHERE "School" = 'Milford';
79,847
2-13054553-7
What is the name of the School of the Sussex Tech's Team?
SELECT "Team" FROM "2-13054553-7" WHERE "School" = 'Sussex Tech';
79,848
2-13166318-1
What was Arnold Palmer's score in the tournamnet?
SELECT "Score" FROM "2-13166318-1" WHERE "Player" = 'Arnold Palmer';
79,849
2-1247756-1
What the name of Peter White's party?
SELECT "Party" FROM "2-1247756-1" WHERE "Member" = 'Peter White';
79,850
2-1247756-1
What term did an Electorate of Indi have in office?
SELECT "Term in office" FROM "2-1247756-1" WHERE "Electorate" = 'Indi';
79,851
2-1247756-1
What term did Hon Ralph Hunt serve in office?
SELECT "Term in office" FROM "2-1247756-1" WHERE "Member" = 'Hon Ralph Hunt';
79,852
2-1247756-1
What party is Peter Fisher from Vic serve in office?
SELECT "Party" FROM "2-1247756-1" WHERE "State" = 'Vic' AND "Member" = 'Peter Fisher';
79,853
2-1233974-3
How many laps were done in 2012?
SELECT SUM("Laps") FROM "2-1233974-3" WHERE "Year" = 2012.0;
79,854
2-12641767-2
On what day was the score of 1–6 6–1 3–6 achieved?
SELECT "Date" FROM "2-12641767-2" WHERE "Score" = '1–6 6–1 3–6';
79,855
2-12392757-3
Name the average gold for Czech Republic and bronze less than 1 when total is less than 14
SELECT AVG("Gold") FROM "2-12392757-3" WHERE "Total" < 14.0 AND "Bronze" < 1.0 AND "Nation" = 'Czech Republic';
79,856
2-12392757-3
Name the highest rank when silver is 4 and bronze is less than 3
SELECT MAX("Rank") FROM "2-12392757-3" WHERE "Silver" = 4.0 AND "Bronze" < 3.0;
79,857
2-12392757-3
Name the total number of total for bronze of 4 and silver more than 6
SELECT COUNT("Total") FROM "2-12392757-3" WHERE "Bronze" = 4.0 AND "Silver" > 6.0;
79,858
2-12774720-2
When the Surface was Carpet (i), what was the Outcome?
SELECT "Outcome" FROM "2-12774720-2" WHERE "Surface" = 'Carpet (i)';
79,859
2-12676284-1
What is the draw number of the song with a place lower than 6 and more than 38 votes?
SELECT SUM("Draw") FROM "2-12676284-1" WHERE "Place" > 6.0 AND "Votes" > 38.0;
79,860
2-12676284-1
What is the total number of votes sahlene with a place below 1 has?
SELECT COUNT("Votes") FROM "2-12676284-1" WHERE "Artist" = 'sahlene' AND "Place" > 1.0;
79,861
2-12676284-1
What is the highest place of the song with 38 votes and a draw great than 3?
SELECT MAX("Place") FROM "2-12676284-1" WHERE "Votes" = 38.0 AND "Draw" > 3.0;
79,862
2-12676284-1
How many votes did Yvetta Kadakas & Ivo Linna, who had less than 4 draws, have?
SELECT SUM("Votes") FROM "2-12676284-1" WHERE "Draw" < 4.0 AND "Artist" = 'Yvetta Kadakas & Ivo Linna';
79,863
2-1226543-6
What year was there a finish of 3?
SELECT "Year" FROM "2-1226543-6" WHERE "Finish" = '3';
79,864
2-1226543-6
What year was the start 33?
SELECT SUM("Year") FROM "2-1226543-6" WHERE "Start" = '33';
79,865
2-1226543-6
When was there a team of Simon and the start was 3?
SELECT "Year" FROM "2-1226543-6" WHERE "Team" = 'Simon' AND "Start" = '3';
79,866
2-1253443-1
What's the name of the 1985 city with a Spire (m) of 105, and a Roof (m) smaller than 96?
SELECT "City" FROM "2-1253443-1" WHERE "Spire (m)" = '105' AND "Roof ( m )" < 96.0 AND "Built" = 1985.0;
79,867
2-1253443-1
What's the average number of floors that were built in 2004, and have a roof (m) of 106?
SELECT AVG("Floors") FROM "2-1253443-1" WHERE "Built" = 2004.0 AND "Roof ( m )" = 106.0;
79,868
2-1253443-1
What's the total number of floors built after 2006, and have a rank of 12?
SELECT SUM("Floors") FROM "2-1253443-1" WHERE "Built" > 2006.0 AND "Rank" = 12.0;
79,869
2-12817505-5
What is the sum of atteNdaNce for H/A values of "N"?
SELECT SUM("Attendance") FROM "2-12817505-5" WHERE "H / A" = 'N';
79,870
2-12923427-3
Name the score which has opponent of Stefano Galvani
SELECT "Score" FROM "2-12923427-3" WHERE "Opponent" = 'Stefano Galvani';
79,871
2-12923427-3
Name the score with opponent of Javier Genaro-Martinez
SELECT "Score" FROM "2-12923427-3" WHERE "Opponent" = 'Javier Genaro-Martinez';
79,872
2-12923427-3
Name the outcome for Dunlop World Challenge
SELECT "Outcome" FROM "2-12923427-3" WHERE "Tournament" = 'Dunlop World Challenge';
79,873
2-13193466-13
Who was the visiting team on December 6?
SELECT "Visiting Team" FROM "2-13193466-13" WHERE "Date" = 'December 6';
79,874
2-13193466-13
Who was the host team on October 4?
SELECT "Host Team" FROM "2-13193466-13" WHERE "Date" = 'October 4';
79,875
2-12752072-1
In New Zealand, what's the value that has an Unknown date and is an Energy business?
SELECT "Value ( USD )" FROM "2-12752072-1" WHERE "Date" = 'Unknown' AND "Business" = 'Energy' AND "Country" = 'New Zealand';
79,876
2-12752072-1
What company has an Unknown date and is an Energy business?
SELECT "Company" FROM "2-12752072-1" WHERE "Business" = 'Energy' AND "Date" = 'Unknown';
79,877
2-12752072-1
In the United Kingdom, what company has an Unknown date and is an Energy business?
SELECT "Company" FROM "2-12752072-1" WHERE "Business" = 'Energy' AND "Date" = 'Unknown' AND "Country" = 'United Kingdom';
79,878
2-12752072-1
For the United Kingdom, what's the date?
SELECT "Date" FROM "2-12752072-1" WHERE "Country" = 'United Kingdom';
79,879
2-12752072-1
For the EnerNOC Australia Pty Ltd, what's the country with an Unknown date?
SELECT "Country" FROM "2-12752072-1" WHERE "Date" = 'Unknown' AND "Company" = 'EnerNOC Australia Pty Ltd';
79,880
2-1311489-1
Which date is associated with a venue of Luxembourg?
SELECT "Date" FROM "2-1311489-1" WHERE "Venue" = 'Luxembourg';
79,881
2-1235879-3
What is the year with a kurtis kraft 500a chassis, and less than 1.5 points?
SELECT SUM("Year") FROM "2-1235879-3" WHERE "Chassis" = 'kurtis kraft 500a' AND "Points" < 1.5;
79,882
2-1235879-3
What is the year with a Kurtis Kraft 500A chassis?
SELECT SUM("Year") FROM "2-1235879-3" WHERE "Chassis" = 'Kurtis Kraft 500A';
79,883
2-13312898-5
What is the lowest Pick # of Saint Vincent College?
SELECT MIN("Pick #") FROM "2-13312898-5" WHERE "College" = 'Saint Vincent College';
79,884
2-13312898-5
What is the Overall for Pick # less than 5 jack harmon?
SELECT MIN("Overall") FROM "2-13312898-5" WHERE "Name" = 'jack harmon' AND "Pick #" < 5.0;
79,885
2-12113-7
Which rank has a Total GDP (€ bn) of €11.243??
SELECT "Rank" FROM "2-12113-7" WHERE "Total GDP (€ bn )" = '€11.243';
79,886
2-12113-7
What is the Region that has a Total GDP (€ bn ) of €11,745.353?
SELECT "Region" FROM "2-12113-7" WHERE "Total GDP (€ bn )" = '€11,745.353';
79,887
2-12113-7
Which Region that has a growth of −3.6%?
SELECT "Region" FROM "2-12113-7" WHERE "% growth" = '−3.6';
79,888
2-12113-7
What is the per capita of Greece?
SELECT "Per capita" FROM "2-12113-7" WHERE "Region" = 'Greece';
79,889
2-1280856-2
What is the fewest number of silver medals received by a nation who received 40 bronze medals and more than 42 gold medals?
SELECT MIN("Silver") FROM "2-1280856-2" WHERE "Bronze" = 40.0 AND "Gold" > 42.0;
79,890
2-1280856-2
What is the lowest number of silver medals received by Austria when they receive more than 3 total medals, more than 22 bronze medals, and fewer than 395 gold medals?
SELECT MIN("Silver") FROM "2-1280856-2" WHERE "Total" > 3.0 AND "Bronze" > 22.0 AND "Gold" < 395.0 AND "Nation" = 'Austria';
79,891
2-12392655-3
What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?
SELECT AVG("Silver") FROM "2-12392655-3" WHERE "Gold" > 6.0 AND "Bronze" < 5.0;
79,892
2-12392655-3
How many ranks are for switzerland with more than 2 total medals?
SELECT COUNT("Rank") FROM "2-12392655-3" WHERE "Nation" = 'switzerland' AND "Total" > 2.0;
79,893
2-12675952-2
What is the event of the match with a round larger than 2 and ended with a method of KO (kick)?
SELECT "Event" FROM "2-12675952-2" WHERE "Round" > 2.0 AND "Method" = 'KO (kick)';
79,894
2-12675952-2
What is the method of the match after round 1 in the K-1 Andy Memorial 2001 Japan GP Final?
SELECT "Method" FROM "2-12675952-2" WHERE "Round" > 1.0 AND "Event" = 'K-1 Andy Memorial 2001 Japan GP Final';
79,895
2-12675952-2
What is the highest round of the match with rene rooze as the opponent in saitama, japan?
SELECT MAX("Round") FROM "2-12675952-2" WHERE "Opponent" = 'rene rooze' AND "Location" = 'saitama, japan';
79,896
2-12675952-2
What is the highest round of the match with a time of 0:57?
SELECT MAX("Round") FROM "2-12675952-2" WHERE "Time" = '0:57';
79,897
2-12792876-1
How many points did the Club score that has a try bonus of 7 and 52 tries for ?
SELECT "Points for" FROM "2-12792876-1" WHERE "Tries for" = '52' AND "Try bonus" = '7';
79,898
2-12792876-1
What is the Losing bonus of the club that has 80 tries against ?
SELECT "Losing bonus" FROM "2-12792876-1" WHERE "Tries against" = '80';
79,899
2-12792876-1
How many tries for does Waunarlwydd RFC have ?
SELECT "Tries for" FROM "2-12792876-1" WHERE "Club" = 'Waunarlwydd RFC';
79,900
2-12792876-1
How many losses did the club with 47 points have ?
SELECT "Lost" FROM "2-12792876-1" WHERE "Points" = '47';
79,901
2-12792876-1
How many points against does the club that has a try bonus of 6 and tries against of 54 have ?
SELECT "Points against" FROM "2-12792876-1" WHERE "Try bonus" = '6' AND "Tries against" = '54';
79,902
2-1226567-5
Who were the co-drivers in 2008?
SELECT "Co-Drivers" FROM "2-1226567-5" WHERE "Year" = 2008.0;
79,903
2-1226567-5
What was the position in 2006?
SELECT "Pos." FROM "2-1226567-5" WHERE "Year" = 2006.0;
79,904
2-1226567-5
What was the class when there were 325 laps?
SELECT "Class" FROM "2-1226567-5" WHERE "Laps" = 325.0;
79,905
2-1226567-5
What was the position in a year after 2005 with a class position of 5th?
SELECT "Pos." FROM "2-1226567-5" WHERE "Year" > 2005.0 AND "Class Pos." = '5th';
79,906
2-12788276-5
What is the English title of the film from 2001?
SELECT "English title" FROM "2-12788276-5" WHERE "Year" = 2001.0;
79,907
2-12788276-5
What is the original title of the film from Japan/Taiwan before 2003?
SELECT "Original title" FROM "2-12788276-5" WHERE "Year" < 2003.0 AND "Country" = 'Japan/Taiwan';
79,908
2-12788276-5
What is the English title of the film directed by Fernando Meirelles?
SELECT "English title" FROM "2-12788276-5" WHERE "Director(s)" = 'Fernando Meirelles';
79,909
2-12788276-5
What is the country of the original title Cidade de Deus?
SELECT "Country" FROM "2-12788276-5" WHERE "Original title" = 'Cidade de Deus';
79,910
2-12788276-5
What is the earliest year of a film from Mexico?
SELECT MIN("Year") FROM "2-12788276-5" WHERE "Country" = 'Mexico';
79,911
2-12788276-5
What is the average year of the film from France/Hong Kong?
SELECT AVG("Year") FROM "2-12788276-5" WHERE "Country" = 'France/Hong Kong';
79,912
2-12523044-5
Name the country for T3 place
SELECT "Country" FROM "2-12523044-5" WHERE "Place" = 'T3';
79,913
2-12523044-5
Name the country with +2 to par
SELECT "Country" FROM "2-12523044-5" WHERE "To par" = '+2';
79,914
2-12523044-5
Name the to par for Colin Montgomerie
SELECT "To par" FROM "2-12523044-5" WHERE "Player" = 'Colin Montgomerie';
79,915
2-12523044-5
Name the score for Scotland
SELECT "Score" FROM "2-12523044-5" WHERE "Country" = 'Scotland';
79,916
2-12725824-1
What island has a population over 76, a height over 210, and an area larger than 12068?
SELECT "Island" FROM "2-12725824-1" WHERE "Population" > 76.0 AND "Height (m)" > 210.0 AND "Area ( ha )" > 12068.0;
79,917
2-12725824-1
What is the highest population of Trondra Island in the Scalloway Islands?
SELECT MAX("Population") FROM "2-12725824-1" WHERE "Location" = 'Scalloway Islands' AND "Island" = 'Trondra';
79,918
2-13099139-1
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses?
SELECT COUNT("Drawn") FROM "2-13099139-1" WHERE "Percentage" = '7.14%' AND "Lost" > 12.0;
79,919
2-13099139-1
Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played?
SELECT "Percentage" FROM "2-13099139-1" WHERE "First game" < 1997.0 AND "Lost" < 2.0 AND "Played" < 5.0;