question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Raiders of the Lost Ark had pieces of 277 for what lowest number? | CREATE TABLE table_name_8 (number INTEGER, film VARCHAR, pieces VARCHAR) | SELECT MIN(number) FROM table_name_8 WHERE film = "raiders of the lost ark" AND pieces = 277 |
What is the number for Chauchilla Cemetery Battle with less than 511 pieces? | CREATE TABLE table_name_54 (number INTEGER, pieces VARCHAR, name VARCHAR) | SELECT AVG(number) FROM table_name_54 WHERE pieces < 511 AND name = "chauchilla cemetery battle" |
What was the earliest year with 339 pieces and a number smaller than 7198? | CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR) | SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198 |
What is the name of the competition that was held on August 20, 2004? | CREATE TABLE table_name_4 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_4 WHERE date = "august 20, 2004" |
Where was the game held that resulted in a draw? | CREATE TABLE table_name_64 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_64 WHERE result = "draw" |
Where was the game held on August 20, 2004? | CREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_78 WHERE date = "august 20, 2004" |
Where was the game held that resulted in a score of 9-2? | CREATE TABLE table_name_15 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_15 WHERE score = "9-2" |
What is the sum of total with a Rank larger than 12, and a Gold larger than 4? | CREATE TABLE table_name_46 (total VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT COUNT(total) FROM table_name_46 WHERE rank > 12 AND gold > 4 |
What is the smallest bronze with a Rank of 12, and a Silver smaller than 2? | CREATE TABLE table_name_5 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 2 |
What is the smallest bronze with a Silver smaller than 2, and a Gold of 1, and a Nation of western isles, and a Total larger than 6? | CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT MIN(bronze) FROM table_name_37 WHERE silver < 2 AND gold = 1 AND nation = "western isles" AND total > 6 |
What is the average bronze with a total of 15 and less than 2 gold? | CREATE TABLE table_name_69 (bronze INTEGER, total VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_69 WHERE total = 15 AND gold < 2 |
What is the total rank with a Nation of gotland, and a Gold larger than 23? | CREATE TABLE table_name_34 (rank VARCHAR, nation VARCHAR, gold VARCHAR) | SELECT COUNT(rank) FROM table_name_34 WHERE nation = "gotland" AND gold > 23 |
for a Goals Against greater than 42 what is the number of losses? | CREATE TABLE table_name_9 (losses INTEGER, goals_against INTEGER) | SELECT AVG(losses) FROM table_name_9 WHERE goals_against > 42 |
for goals less than 48 and 8 games played what is the count of losses? | CREATE TABLE table_name_19 (losses INTEGER, games_played VARCHAR, goals_for VARCHAR) | SELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 48 |
what is the number of losses with wins less than 4 and goals against more than 39? | CREATE TABLE table_name_28 (losses VARCHAR, goals_against VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_28 WHERE goals_against > 39 AND wins < 4 |
What years does the school have that's in Makikihi? | CREATE TABLE table_name_23 (years VARCHAR, area VARCHAR) | SELECT years FROM table_name_23 WHERE area = "makikihi" |
In what area is Morven School? | CREATE TABLE table_name_75 (area VARCHAR, name VARCHAR) | SELECT area FROM table_name_75 WHERE name = "morven school" |
What years does the school have with a roll of 33? | CREATE TABLE table_name_85 (years VARCHAR, roll VARCHAR) | SELECT years FROM table_name_85 WHERE roll = 33 |
What is the name of the actor who played Billy Elliot in the Final Cast with a Last Performance of 13 June 2009? | CREATE TABLE table_name_15 (name VARCHAR, status VARCHAR, last_performance VARCHAR) | SELECT name FROM table_name_15 WHERE status = "final cast" AND last_performance = "13 june 2009" |
What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast? | CREATE TABLE table_name_38 (first_performance VARCHAR, status VARCHAR, name VARCHAR) | SELECT first_performance FROM table_name_38 WHERE status = "original cast" AND name = "rhys kosakowski" |
What is the Style of the First Performance of Billy Elliot on 15 November 2007? | CREATE TABLE table_name_50 (style VARCHAR, first_performance VARCHAR) | SELECT style FROM table_name_50 WHERE first_performance = "15 november 2007" |
What is the date of the Last Performance of Rarmian Newton as Billy Elliot? | CREATE TABLE table_name_3 (last_performance VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_3 WHERE name = "rarmian newton" |
What is the date of the Last Ballet Style Performance of Rhys kosakowski as Billy Elliot? | CREATE TABLE table_name_7 (last_performance VARCHAR, style VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_7 WHERE style = "ballet" AND name = "rhys kosakowski" |
What is the date of the Last Performance of Billy Elliot with a Cast Status of past replacement? | CREATE TABLE table_name_46 (last_performance VARCHAR, status VARCHAR) | SELECT last_performance FROM table_name_46 WHERE status = "past replacement" |
Gold of 0, and a Silver smaller than 3, and a Rank larger than 9, and a Total of 1 has how many numbers of bronze? | CREATE TABLE table_name_1 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT COUNT(bronze) FROM table_name_1 WHERE gold = 0 AND silver < 3 AND rank > 9 AND total = 1 |
Bronze larger than 2, and a Rank of 4, and a Total larger than 7 has how many numbers of gold? | CREATE TABLE table_name_84 (gold INTEGER, total VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT AVG(gold) FROM table_name_84 WHERE bronze > 2 AND rank = 4 AND total > 7 |
Bronze smaller than 3, and a Total smaller than 2, and a Gold larger than 1 has how many average silvers? | CREATE TABLE table_name_83 (silver INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_83 WHERE bronze < 3 AND total < 2 AND gold > 1 |
Gold of 1, and a Total smaller than 4, and a Bronze smaller than 0 has the lowest silver? | CREATE TABLE table_name_19 (silver INTEGER, bronze VARCHAR, gold VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_19 WHERE gold = 1 AND total < 4 AND bronze < 0 |
Name the date for record 3-3 | CREATE TABLE table_name_64 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_64 WHERE record = "3-3" |
Name the opponent on april 27 | CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_60 WHERE date = "april 27" |
Name the record for april 22 | CREATE TABLE table_name_52 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_52 WHERE date = "april 22" |
Name the attendance on april 17 | CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_15 WHERE date = "april 17" |
Name the date for postponed attendance | CREATE TABLE table_name_7 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_7 WHERE attendance = "postponed" |
Name the record for april 6 | CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_20 WHERE date = "april 6" |
What engine does Garvey Team Lotus use? | CREATE TABLE table_name_50 (engine VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_50 WHERE entrant = "garvey team lotus" |
What is the 2012 population for the state whose capital is Santa Fe? | CREATE TABLE table_name_61 (population_est__2012_ VARCHAR, capital VARCHAR) | SELECT population_est__2012_ FROM table_name_61 WHERE capital = "santa fe" |
What is the capital for the state that has the largest city of Burlington? | CREATE TABLE table_name_27 (capital VARCHAR, largest_city VARCHAR) | SELECT capital FROM table_name_27 WHERE largest_city = "burlington" |
How many populations have a capital of Montpelier and more than 1 House seat? | CREATE TABLE table_name_53 (population_est__2012_ VARCHAR, capital VARCHAR, house_seat_s_ VARCHAR) | SELECT COUNT(population_est__2012_) FROM table_name_53 WHERE capital = "montpelier" AND house_seat_s_ > 1 |
On games against the Devil Rays and a score of 2 - 1 (10), what was the attendance? | CREATE TABLE table_name_52 (attendance INTEGER, opponent VARCHAR, score VARCHAR) | SELECT AVG(attendance) FROM table_name_52 WHERE opponent = "devil rays" AND score = "2 - 1 (10)" |
On the game that put the team at 34-44, what was the attendance? | CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR) | SELECT SUM(attendance) FROM table_name_95 WHERE record = "34-44" |
What was the score of the game that put the team at 27-32? | CREATE TABLE table_name_51 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_51 WHERE record = "27-32" |
In which venue did the competition on 11 October 2008 take place? | CREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_47 WHERE date = "11 october 2008" |
What was the average number of silver medals won by France when they are ranked higher than 8? | CREATE TABLE table_name_88 (silver INTEGER, nation VARCHAR, rank VARCHAR) | SELECT AVG(silver) FROM table_name_88 WHERE nation = "france" AND rank > 8 |
Who was their Opponent on April 26? | CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_62 WHERE date = "april 26" |
What competition took place in Berlin, Germany? | CREATE TABLE table_name_47 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_47 WHERE venue = "berlin, germany" |
Where were the Pan American Games held? | CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_80 WHERE competition = "pan american games" |
What venue hosted the 2003 event? | CREATE TABLE table_name_91 (venue VARCHAR, year VARCHAR) | SELECT venue FROM table_name_91 WHERE year = 2003 |
What game had the highest score and a time of 2:35? | CREATE TABLE table_name_34 (game INTEGER, time VARCHAR) | SELECT MAX(game) FROM table_name_34 WHERE time = "2:35" |
What game, played on October 17 in front of 49,347 fans, had the lowest score? | CREATE TABLE table_name_93 (game INTEGER, date VARCHAR, attendance VARCHAR) | SELECT MIN(game) FROM table_name_93 WHERE date = "october 17" AND attendance > 49 OFFSET 347 |
What is the highest Total Foreign-born (1000) from a non EU state (1000) of 685 and a population (1000) smaller than 10,666? | CREATE TABLE table_name_53 (total_foreign_born__1000_ INTEGER, born_in_a_non_eu_state__1000_ VARCHAR, total_population__1000_ VARCHAR) | SELECT MAX(total_foreign_born__1000_) FROM table_name_53 WHERE born_in_a_non_eu_state__1000_ = 685 AND total_population__1000_ > 10 OFFSET 666 |
What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534? | CREATE TABLE table_name_20 (born_in_a_non_eu_state__1000_ INTEGER, country VARCHAR, total_population__1000_ VARCHAR) | SELECT MAX(born_in_a_non_eu_state__1000_) FROM table_name_20 WHERE country = "denmark" AND total_population__1000_ < 5 OFFSET 534 |
How many Foreign-born (1000) are from Sweden and born in some other EU state (1000) larger than 477? | CREATE TABLE table_name_7 (total_foreign_born__1000_ INTEGER, country VARCHAR, born_in_other_eu_state__1000_ VARCHAR) | SELECT SUM(total_foreign_born__1000_) FROM table_name_7 WHERE country = "sweden" AND born_in_other_eu_state__1000_ > 477 |
What is the greatest Total population (1000) from Sweden and born in a non EU state (1000) less than 859? | CREATE TABLE table_name_79 (total_population__1000_ INTEGER, country VARCHAR, born_in_a_non_eu_state__1000_ VARCHAR) | SELECT MAX(total_population__1000_) FROM table_name_79 WHERE country = "sweden" AND born_in_a_non_eu_state__1000_ < 859 |
Whice race ended with a DNF? | CREATE TABLE table_name_98 (race VARCHAR, position VARCHAR) | SELECT race FROM table_name_98 WHERE position = "dnf" |
Which race ended with a time of 01:46:59.69? | CREATE TABLE table_name_13 (race VARCHAR, time VARCHAR) | SELECT race FROM table_name_13 WHERE time = "01:46:59.69" |
What was the speed of the Superbike race? | CREATE TABLE table_name_10 (speed VARCHAR, race VARCHAR) | SELECT speed FROM table_name_10 WHERE race = "superbike" |
What was the speed of the race that ended in 2nd place and had a time of 01:13:03.39? | CREATE TABLE table_name_29 (speed VARCHAR, position VARCHAR, time VARCHAR) | SELECT speed FROM table_name_29 WHERE position = "2nd" AND time = "01:13:03.39" |
How many sets were played in the 2011 Tournament in which there were 3R in 2007? | CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 2011 FROM table_name_81 WHERE 2007 = "3r" |
How many sets were in the 2011 Australian Open Tournament? | CREATE TABLE table_name_10 (tournament VARCHAR) | SELECT 2011 FROM table_name_10 WHERE tournament = "australian open" |
How many sets were played in the tournament that had 4R in 2011 and 2R in 2008? | CREATE TABLE table_name_60 (Id VARCHAR) | SELECT 2009 FROM table_name_60 WHERE 2011 = "4r" AND 2008 = "2r" |
How many sets were played in the 2011 tournament, in which 2R were played in 2008? | CREATE TABLE table_name_4 (Id VARCHAR) | SELECT 2011 FROM table_name_4 WHERE 2008 = "2r" |
Which tournament had 1R in 2013? | CREATE TABLE table_name_8 (tournament VARCHAR) | SELECT tournament FROM table_name_8 WHERE 2013 = "1r" |
How many sets were played in 2007 at the tournament that had 4R in 2011 and 2R in 2009? | CREATE TABLE table_name_89 (Id VARCHAR) | SELECT 2007 FROM table_name_89 WHERE 2011 = "4r" AND 2009 = "2r" |
What was the record at the game held on December 24, 2005? | CREATE TABLE table_name_11 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_11 WHERE date = "december 24, 2005" |
What was the date of the game held at Invesco Field? | CREATE TABLE table_name_8 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_8 WHERE game_site = "invesco field" |
What was the NFL Recap of the game held on December 24, 2005? | CREATE TABLE table_name_70 (nfl_recap VARCHAR, date VARCHAR) | SELECT nfl_recap FROM table_name_70 WHERE date = "december 24, 2005" |
Who was the opponent at the game held on December 24, 2005? | CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_16 WHERE date = "december 24, 2005" |
Which week's game had an attendance of 90,138? | CREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_37 WHERE attendance = "90,138" |
What is the total years with more than 1 points? | CREATE TABLE table_name_2 (year INTEGER, points INTEGER) | SELECT SUM(year) FROM table_name_2 WHERE points > 1 |
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland? | CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR) | SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland" |
Which home team has an Away of (2-1)? | CREATE TABLE table_name_17 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_17 WHERE away = "(2-1)" |
Which away team has a playoff record of (0-0) and played against Sioux City Bandits? | CREATE TABLE table_name_46 (away VARCHAR, plyff VARCHAR, opponent VARCHAR) | SELECT away FROM table_name_46 WHERE plyff = "(0-0)" AND opponent = "sioux city bandits" |
Which home team has a playoff record of (0-0) and played La Crosse Spartans? | CREATE TABLE table_name_3 (home VARCHAR, plyff VARCHAR, opponent VARCHAR) | SELECT home FROM table_name_3 WHERE plyff = "(0-0)" AND opponent = "la crosse spartans" |
What is the Plyff team that plays the Billings Outlaws? | CREATE TABLE table_name_21 (plyff VARCHAR, opponent VARCHAR) | SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws" |
Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Blizzard team? | CREATE TABLE table_name_74 (overall VARCHAR, opponent VARCHAR, plyff VARCHAR, home VARCHAR) | SELECT overall FROM table_name_74 WHERE plyff = "(0-0)" AND home = "(0-1)" AND opponent = "green bay blizzard" |
Which Overall has a playoff record of (0-1) and an away record of (1-1)? | CREATE TABLE table_name_71 (overall VARCHAR, plyff VARCHAR, away VARCHAR) | SELECT overall FROM table_name_71 WHERE plyff = "(0-1)" AND away = "(1-1)" |
Which opponent has a Date of april 14? | CREATE TABLE table_name_20 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_20 WHERE date = "april 14" |
Which attendance has a Score of 3-5? | CREATE TABLE table_name_88 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_88 WHERE score = "3-5" |
Which Date has a Record of 7-9? | CREATE TABLE table_name_48 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_48 WHERE record = "7-9" |
Which Date has an Attendance of 30,612? | CREATE TABLE table_name_63 (date VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_63 WHERE attendance = "30,612" |
Which Date has an Opponent of @ mariners, and a Loss of hernández (0-1)? | CREATE TABLE table_name_25 (date VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT date FROM table_name_25 WHERE opponent = "@ mariners" AND loss = "hernández (0-1)" |
Which Record that has a Loss of mays (0-3)? | CREATE TABLE table_name_83 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_83 WHERE loss = "mays (0-3)" |
What week was the final score 6–26? | CREATE TABLE table_name_99 (week VARCHAR, final_score VARCHAR) | SELECT week FROM table_name_99 WHERE final_score = "6–26" |
Who was the host team when the Miami Dolphins were the visiting team? | CREATE TABLE table_name_33 (host_team VARCHAR, visiting_team VARCHAR) | SELECT host_team FROM table_name_33 WHERE visiting_team = "miami dolphins" |
What was the stadium that held that game after week 15? | CREATE TABLE table_name_28 (stadium VARCHAR, week INTEGER) | SELECT stadium FROM table_name_28 WHERE week > 15 |
Name the most FA cup for championship of 18 and total of 19 | CREATE TABLE table_name_74 (fa_cup INTEGER, championship VARCHAR, total VARCHAR) | SELECT MAX(fa_cup) FROM table_name_74 WHERE championship = 18 AND total = 19 |
Name the most league cups for total more than 19 and FA cups more than 6 | CREATE TABLE table_name_38 (league_cup INTEGER, total VARCHAR, fa_cup VARCHAR) | SELECT MAX(league_cup) FROM table_name_38 WHERE total > 19 AND fa_cup > 6 |
What is the Score, when the Year is after 2007, and when the Country is England? | CREATE TABLE table_name_5 (score VARCHAR, year VARCHAR, country VARCHAR) | SELECT score FROM table_name_5 WHERE year > 2007 AND country = "england" |
What is the latest Year, when the Venue is Lübker Golf Resort? | CREATE TABLE table_name_16 (year INTEGER, venue VARCHAR) | SELECT MAX(year) FROM table_name_16 WHERE venue = "lübker golf resort" |
What is the Score, when the Venue is Lübker Golf Resort? | CREATE TABLE table_name_37 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_37 WHERE venue = "lübker golf resort" |
What is the Venue, when the Winner is iain pyman? | CREATE TABLE table_name_19 (venue VARCHAR, winner VARCHAR) | SELECT venue FROM table_name_19 WHERE winner = "iain pyman" |
Which final round had a first round of 20? | CREATE TABLE table_name_22 (final_round VARCHAR, first_round VARCHAR) | SELECT final_round FROM table_name_22 WHERE first_round = 20 |
What final round had a weight of 245? | CREATE TABLE table_name_61 (final_round VARCHAR, weight VARCHAR) | SELECT final_round FROM table_name_61 WHERE weight = 245 |
What is the pos for the New York Knicks? | CREATE TABLE table_name_2 (pos VARCHAR, team VARCHAR) | SELECT pos FROM table_name_2 WHERE team = "new york knicks" |
What is the average first round for Utah Jazz team, with a weight smaller than 229? | CREATE TABLE table_name_29 (first_round INTEGER, weight VARCHAR, team VARCHAR) | SELECT AVG(first_round) FROM table_name_29 WHERE weight < 229 AND team = "utah jazz" |
What is the pos with weight less than 205? | CREATE TABLE table_name_37 (pos VARCHAR, weight INTEGER) | SELECT pos FROM table_name_37 WHERE weight < 205 |
What GSR class is associated with a 0-4-2t type? | CREATE TABLE table_name_49 (gsr_class VARCHAR, type VARCHAR) | SELECT gsr_class FROM table_name_49 WHERE type = "0-4-2t" |
Who manufactured fleet numbers of wlwr 2, 4, 11? | CREATE TABLE table_name_43 (manufacturer VARCHAR, fleet_numbers VARCHAR) | SELECT manufacturer FROM table_name_43 WHERE fleet_numbers = "wlwr 2, 4, 11" |
Name the most overall for dwight freeney with round less than 1 | CREATE TABLE table_name_8 (overall INTEGER, name VARCHAR, round VARCHAR) | SELECT MAX(overall) FROM table_name_8 WHERE name = "dwight freeney" AND round < 1 |
Name the most pick # for overall of 204 | CREATE TABLE table_name_52 (pick__number INTEGER, overall VARCHAR) | SELECT MAX(pick__number) FROM table_name_52 WHERE overall = 204 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.