question
stringlengths
17
201
answer
stringlengths
21
400
context
stringlengths
32
286
Which date has serial of 11c?
SELECT date FROM table_name_28 WHERE serial = "11c"
CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)
What game in the season does this list start?
SELECT MIN(game) FROM table_27713030_7
CREATE TABLE table_27713030_7 (game INTEGER)
How many people lived in the city which has 1.2530 km² in the year 2000?
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530"
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
How many budgets are above 3000 in year 2001 or before?
SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001
CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)
What is the average for the gymnast with a 9.9 start value and a total of 9.612?
SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612
CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)
What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"
CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
How many areas (km 2) have 151511 as the census 2006 population?
SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511
CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
What was the score of Ken Still (3) when he won first place?
SELECT score FROM table_name_14 WHERE winner = "ken still (3)"
CREATE TABLE table_name_14 (score VARCHAR, winner VARCHAR)
When was the game played when the opponent was 'at Los Angeles Rams'?
SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams"
CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)
The UFC 44 event has what method?
SELECT method FROM table_name_98 WHERE event = "ufc 44"
CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)
Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?
SELECT rank FROM table_name_25 WHERE silver > 1 AND gold > 1 AND bronze > 4
CREATE TABLE table_name_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?
SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson"
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)
What Rider had a Time of +1:08.291?
SELECT rider FROM table_name_14 WHERE time = "+1:08.291"
CREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR)
What group has 1200 m as the distance?
SELECT group FROM table_name_82 WHERE distance = "1200 m"
CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
WHAT IS THE FIRST LEG OF TUILLA?
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla"
CREATE TABLE table_name_79 (team_1 VARCHAR)
List all pilot names in ascending alphabetical order.
SELECT Name FROM pilot ORDER BY Name
CREATE TABLE pilot (Name VARCHAR)
What country came in third when there were 13 teams in 1996?
SELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996
CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR)
What is the sum of all points for places above 8?
SELECT SUM(points__pts_) FROM table_name_37 WHERE place__posición_ > 8
CREATE TABLE table_name_37 (points__pts_ INTEGER, place__posición_ INTEGER)
What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari?
SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"
CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
What was the enrollment (2005) for baccalaureate colleges , for Granite State College?
SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College"
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)
What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?
SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6–4, 2–6, 3–6"
CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR)
Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13?
SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13
CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)
Who was Louise when Tracy Venner was Dainty June?
SELECT louise FROM table_name_83 WHERE dainty_june = "tracy venner"
CREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR)
How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?
SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse = "Kumsusan Memorial Palace"
CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)
What was the competition on October 21, 2003?
SELECT competition FROM table_name_83 WHERE date = "october 21, 2003"
CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)
Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?
SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux"
CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?
SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"
CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
List the total number of years that have a score of 3–6, 4–6, 2–6.
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"
CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)
Which region has the format CD and label MCA?
SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca"
CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)
Who is the gymnast with a floor score of 14.800?
SELECT gymnast FROM table_name_83 WHERE floor = "14.800"
CREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR)
Which team has a car # before 99, a Toyota, and is driven by Mike Skinner?
SELECT team FROM table_name_1 WHERE car__number < 99 AND make = "toyota" AND driver = "mike skinner"
CREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)
What was the date of the game when Atlanta was the home team?
SELECT date FROM table_name_81 WHERE home = "atlanta"
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
What Week 2 has a Week 1 of crystal beddows?
SELECT week_2 FROM table_name_66 WHERE week_1 = "crystal beddows"
CREATE TABLE table_name_66 (week_2 VARCHAR, week_1 VARCHAR)
Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"
CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7–6 (7–5) , 6–3"
CREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
What is the setting for the hard difficulty?
SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"
CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)
Who won third place in season four?
SELECT third_place FROM table_16331144_1 WHERE season = "Four"
CREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR)
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = "horsham diggers"
CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)
Which airport has IATA of BKK?
SELECT airport FROM table_name_59 WHERE iata = "bkk"
CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)
What is the qualification for rank of 29 in 1957?
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"
CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)
What is the highest birth/2013 when the death/2012 is 14,1?
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1"
CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
Which method has the record of 11-1?
SELECT method FROM table_name_4 WHERE record = "11-1"
CREATE TABLE table_name_4 (method VARCHAR, record VARCHAR)
which Record is on March of 12
SELECT record FROM table_name_53 WHERE march = 12
CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)
What city is 103.3 FM licensed in?
SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm"
CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)
What Russian has a Ratio of 40?
SELECT russian FROM table_name_60 WHERE ratio = "40"
CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)
How many points did Nigel Connell have?
SELECT points FROM table_name_44 WHERE performer = "nigel connell"
CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR)
What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont Là", and when Place is less than 2?
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont là" AND place < 2
CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
What time/retired for grid 18?
SELECT time_retired FROM table_name_49 WHERE grid = 18
CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR)
Which event lasted 1 round and included an opponent of Dan Spychalski?
SELECT event FROM table_name_36 WHERE round = "1" AND opponent = "dan spychalski"
CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)
What Platform has a Current Version 0.6.2?
SELECT platform FROM table_name_55 WHERE current_version = "0.6.2"
CREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)
What was the score of the game that had a loss of Embree (1-2)?
SELECT score FROM table_name_98 WHERE loss = "embree (1-2)"
CREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)
What is the Qual listed on the Year of 1954?
SELECT qual FROM table_name_38 WHERE year = "1954"
CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)
How many maximum points were there when the left tackle was played and there were 5 extra points?
SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 5
CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)
What is the total number of Score, when Country is "United States", and when Player is "Lee Trevino"?
SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino"
CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)
What date did the home team of footscray play?
SELECT date FROM table_name_85 WHERE home_team = "footscray"
CREATE TABLE table_name_85 (date VARCHAR, home_team VARCHAR)
Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.
SELECT name, open_year FROM manufacturer WHERE num_of_shops > 10 OR Num_of_Factories < 10
CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)
What F Player was previously with the New York Knicks?
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57
CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
How much money does player ben crenshaw, who has a t4 place, have?
SELECT money___$__ FROM table_name_36 WHERE place = "t4" AND player = "ben crenshaw"
CREATE TABLE table_name_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)
What is the Record in a week later than 7 against the San Diego Chargers?
SELECT record FROM table_name_25 WHERE week > 7 AND opponent = "san diego chargers"
CREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)
How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
Who is the opponent with 16 points?
SELECT opponent FROM table_name_5 WHERE opponents = 16
CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR)
Who was the away captain for matches played at Trent Bridge?
SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge"
CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)
What is the die size(mm 2) for model sgx531?
SELECT die_size__mm_2___[1] FROM table_1439045_5 WHERE model = "SGX531"
CREATE TABLE table_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)
Which Record has a Score of 2–4, and a Home of quebec nordiques?
SELECT record FROM table_name_23 WHERE score = "2–4" AND home = "quebec nordiques"
CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR)
What was the percentage of safari when firefox was 24.66%
SELECT safari FROM table_name_10 WHERE firefox = "24.66%"
CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR)
Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back"
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
The man who received 87,676 votes in Queens won what percentage of the total for the election?
SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676"
CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
What is the Tie no for the game with the away team Whyteleafe?
SELECT tie_no FROM table_name_99 WHERE away_team = "whyteleafe"
CREATE TABLE table_name_99 (tie_no VARCHAR, away_team VARCHAR)
What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances?
SELECT seasons_by_team FROM table_274117_5 WHERE position = "OL" AND number = 11
CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
What is the date where the round is R3?
SELECT date FROM table_name_40 WHERE round = "r3"
CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)
What is the score vs. all when the score vs. Terran is 159?
SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"
CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)
What is the value of barrel twist when the barrel profile is SFW?
SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"
CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)
How big was the crowd when Geelong was the home team?
SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong"
CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)
What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km?
SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km"
CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)
The game of 6 has what lowest attendance?
SELECT MIN(attendance) FROM table_name_47 WHERE game = 6
CREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR)
I want the result for goals which has goals of deacon 6/6
SELECT result FROM table_name_52 WHERE goals = "deacon 6/6"
CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)
How many nationalities are the pick 193?
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193
CREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)
What is the NTFA Div 1 team that has 15 wins and less than 1 draw?
SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15
CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)
What was the team record by Week 8?
SELECT record FROM table_name_60 WHERE week = "8"
CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)
When is the date of vacancy of Davy Fitzgerald being a replacement?
SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald"
CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
Who was the opponent when he went more than 1 round with a record of 12-7?
SELECT opponent FROM table_name_46 WHERE round > 1 AND record = "12-7"
CREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR)
On what Date was Rafael Nadal the Opponent?
SELECT date FROM table_name_37 WHERE opponent = "rafael nadal"
CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
What shows for 2009 when 25 shows for 2011?
SELECT 2009 FROM table_name_32 WHERE 2011 = "25"
CREATE TABLE table_name_32 (Id VARCHAR)
which is the number of the season episode whose premiere was in january 3, 1997?
SELECT COUNT(no_in_season) FROM table_228973_3 WHERE original_air_date = "January 3, 1997"
CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)
What's the capacity that has the highest greater than 1,763 and is at Hampden Park?
SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763
CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
Name the flight up for 10 december 1982 19:02:36 utc
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC"
CREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
What is the name of the race held most recently?
SELECT name FROM races ORDER BY date DESC LIMIT 1
CREATE TABLE races (name VARCHAR, date VARCHAR)
What is the last number in season of the episodes written by Dan Vebber?
SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber"
CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)
What driver has a grid under 12 with a Time/Retired of + 3 laps?
SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps"
CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
If the player is Marcelo, what is the minimum R?
SELECT MIN(r) FROM table WHERE player = Marcelo
CREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR)
What is the result of game 5 with Los Angeles as the home team?
SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5"
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)
What is Finish, when Country is "United States", and when Player is "Julius Boros"?
SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"
CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)
What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317–321, 324, 333?
SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317–321, 324, 333"
CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)
What is the Quarterback rating of the player who got a comp percentage of 62.0?
SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0"
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)
What is the score when the hight points is Monta Ellis (29)?
SELECT score FROM table_27755784_8 WHERE high_points = "Monta Ellis (29)"
CREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR)
Which Artist has an Issue Price of $8,159.95?
SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"
CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)
What is the minimum manhunt beauty contest?
SELECT MIN(manhunt_international) FROM table_30018460_1
CREATE TABLE table_30018460_1 (manhunt_international INTEGER)
Name the years for dannevirke south school
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"
CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
Who had a score of 68-67=135?
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135
CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)