question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What game was developed by Ubisoft Montreal?
CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR)
SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal"
Which celebrity was famous for finishing 9th?
CREATE TABLE table_name_52 (famous_for VARCHAR, finished VARCHAR)
SELECT famous_for FROM table_name_52 WHERE finished = "9th"
What is the 2007 rating of the channel with a position of 6?
CREATE TABLE table_name_28 (position VARCHAR)
SELECT 2007 FROM table_name_28 WHERE position = 6
How much audience did the 7th Pride of Britain Awards ceremony have?
CREATE TABLE table_13943239_1 (viewers__millions_ VARCHAR, episode VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_13943239_1 WHERE episode = "7th Pride of Britain Awards"
What is every category wise when the multi lane is 677?
CREATE TABLE table_28723146_2 (category_wise VARCHAR, multi_lane VARCHAR)
SELECT category_wise FROM table_28723146_2 WHERE multi_lane = 677
When the railroad length is 362 feet how many miles is it from kingston?
CREATE TABLE table_16226584_1 (mi_from_kingston VARCHAR, length_feet VARCHAR)
SELECT mi_from_kingston FROM table_16226584_1 WHERE length_feet = 362
Which fleet launched on July 30, 1961?
CREATE TABLE table_name_63 (fleet VARCHAR, launched VARCHAR)
SELECT fleet FROM table_name_63 WHERE launched = "july 30, 1961"
What segment A is associated with a Segment C of paint chip cards?
CREATE TABLE table_name_31 (segment_a VARCHAR, segment_c VARCHAR)
SELECT segment_a FROM table_name_31 WHERE segment_c = "paint chip cards"
Where was the score 67-71-70=208?
CREATE TABLE table_name_26 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_26 WHERE score = 67 - 71 - 70 = 208
Name the number of ranks for international tourist arrivals being 6.2 million
CREATE TABLE table_14752049_5 (rank VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
SELECT COUNT(rank) FROM table_14752049_5 WHERE international_tourist_arrivals__2011_ = "6.2 million"
Name the most extra points for right tackle
CREATE TABLE table_14342480_6 (extra_points INTEGER, position VARCHAR)
SELECT MAX(extra_points) FROM table_14342480_6 WHERE position = "Right tackle"
Find the name of captains whose rank are either Midshipman or Lieutenant.
CREATE TABLE captain (name VARCHAR, rank VARCHAR)
SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'
On what Date did the massacre result with 21 Injured?
CREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR)
SELECT date FROM table_name_73 WHERE injured = "21"
What's the against when the draw was more than 0 and had 13 losses?
CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR)
SELECT COUNT(against) FROM table_name_47 WHERE losses = 13 AND draws > 0
How many households have a median family income of $60,400?
CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR)
SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400"
What is the average number of golds for teams in rank 17 with more than 4 silver?
CREATE TABLE table_name_13 (gold INTEGER, rank VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_13 WHERE rank = "17" AND silver > 4
How many records are there for the game on november 24?
CREATE TABLE table_27715173_6 (record VARCHAR, date VARCHAR)
SELECT COUNT(record) FROM table_27715173_6 WHERE date = "November 24"
Who were the 3rd couple that were viewed by 4.89 million viewers?
CREATE TABLE table_25664518_4 (viewers__millions_ VARCHAR)
SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__millions_ = "4.89"
List the year in which there are more than one festivals.
CREATE TABLE festival_detail (YEAR VARCHAR)
SELECT YEAR FROM festival_detail GROUP BY YEAR HAVING COUNT(*) > 1
What was the high points when the team was Washington?
CREATE TABLE table_27755603_10 (high_points VARCHAR, team VARCHAR)
SELECT high_points FROM table_27755603_10 WHERE team = "Washington"
Name the total number of points for newell's old boys
CREATE TABLE table_17968282_1 (points VARCHAR, team VARCHAR)
SELECT COUNT(points) FROM table_17968282_1 WHERE team = "Newell's Old Boys"
What score was on 13 June 2004?
CREATE TABLE table_name_50 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_50 WHERE date = "13 june 2004"
Name the number of against for portuguesa santista
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR)
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista"
Name the production code for 4.92 million viewers
CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR)
SELECT prod_code FROM table_23117208_4 WHERE viewers__millions_ = "4.92"
The winner Arnfinn Bergmann has what under country?
CREATE TABLE table_name_45 (country VARCHAR, winner VARCHAR)
SELECT country FROM table_name_45 WHERE winner = "arnfinn bergmann"
Name the english gloss for haŋȟ’áŋna
CREATE TABLE table_1499774_5 (english_gloss VARCHAR, santee_sisseton VARCHAR)
SELECT english_gloss FROM table_1499774_5 WHERE santee_sisseton = "haŋȟ’áŋna"
What's the Chinese (simplified/traditional) name of Susong County?
CREATE TABLE table_1976898_1 (chinese_name__simplified___traditional_ VARCHAR, english_name VARCHAR)
SELECT chinese_name__simplified___traditional_ FROM table_1976898_1 WHERE english_name = "Susong County"
Who is the team at vikings stadium?
CREATE TABLE table_name_64 (team VARCHAR, stadium VARCHAR)
SELECT team FROM table_name_64 WHERE stadium = "vikings stadium"
How many episodes have a series number of 35?
CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR)
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35
If the national trophy/rookie is Simone Iaquinta, what is the season total number?
CREATE TABLE table_25563779_4 (season VARCHAR, national_trophy_rookie VARCHAR)
SELECT COUNT(season) FROM table_25563779_4 WHERE national_trophy_rookie = "Simone Iaquinta"
When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?
CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR)
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE change__2010_to_2011_ = "+1.0%"
what season was written by jonathan collier?
CREATE TABLE table_25716399_1 (no_in_season INTEGER, written_by VARCHAR)
SELECT MAX(no_in_season) FROM table_25716399_1 WHERE written_by = "Jonathan Collier"
Pick # of 203 went to which college?
CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR)
SELECT college FROM table_name_16 WHERE pick__number = 203
Which Away team has a Venue of mcg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_82 WHERE venue = "mcg"
What is the date of the tournament at Hokkaidō with prize of ¥150000000?
CREATE TABLE table_26144632_1 (dates VARCHAR, location VARCHAR, prize_fund___¥__ VARCHAR)
SELECT dates FROM table_26144632_1 WHERE location = "Hokkaidō" AND prize_fund___¥__ = 150000000
Which country has an IATA of EVN?
CREATE TABLE table_name_8 (country VARCHAR, iata VARCHAR)
SELECT country FROM table_name_8 WHERE iata = "evn"
What is the lowest Industry, when Year is greater than 2005, and when Agriculture is greater than 11?
CREATE TABLE table_name_96 (industry INTEGER, year VARCHAR, agriculture VARCHAR)
SELECT MIN(industry) FROM table_name_96 WHERE year > 2005 AND agriculture > 11
How many Pick #s have a Name of tory epps, and a Round larger than 8?
CREATE TABLE table_name_96 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
SELECT COUNT(pick__number) FROM table_name_96 WHERE name = "tory epps" AND round > 8
What role was played in 2007?
CREATE TABLE table_name_37 (role VARCHAR, year VARCHAR)
SELECT role FROM table_name_37 WHERE year = 2007
Who was the head coach?
CREATE TABLE table_name_19 (name VARCHAR, position VARCHAR)
SELECT name FROM table_name_19 WHERE position = "head coach"
Who is the composer of El Hanone?
CREATE TABLE table_name_98 (composer VARCHAR, title VARCHAR)
SELECT composer FROM table_name_98 WHERE title = "el hanone"
How many years have a weeks at #1 value of exactly 8?
CREATE TABLE table_27441210_6 (year VARCHAR, weeks_at__number1 VARCHAR)
SELECT COUNT(year) FROM table_27441210_6 WHERE weeks_at__number1 = 8
How many Tries against have a Team of dinamo bucureşti, and Tries for smaller than 19?
CREATE TABLE table_name_48 (tries_against VARCHAR, team VARCHAR, tries_for VARCHAR)
SELECT COUNT(tries_against) FROM table_name_48 WHERE team = "dinamo bucureşti" AND tries_for < 19
what is the total score for the date of january 3?
CREATE TABLE table_13619027_7 (score VARCHAR, date VARCHAR)
SELECT COUNT(score) FROM table_13619027_7 WHERE date = "January 3"
What result did Janis Ian have in the episode of top 3?
CREATE TABLE table_name_9 (result VARCHAR, episode VARCHAR, original_artist VARCHAR)
SELECT result FROM table_name_9 WHERE episode = "top 3" AND original_artist = "janis ian"
How many episodes directed by ben jones and written by paul dini?
CREATE TABLE table_20360535_3 (no VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT COUNT(no) FROM table_20360535_3 WHERE directed_by = "Ben Jones" AND written_by = "Paul Dini"
Show all official native languages that contain the word "English".
CREATE TABLE country (Official_native_language VARCHAR)
SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%"
Who was the opposing team for game 53?
CREATE TABLE table_13619135_6 (team VARCHAR, game VARCHAR)
SELECT team FROM table_13619135_6 WHERE game = 53
Where was d: 25~70nm, l: 10~20 μm geometry researched?
CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μm"
What is the number founded for the nickname mountain hawks?
CREATE TABLE table_name_68 (founded VARCHAR, nickname VARCHAR)
SELECT COUNT(founded) FROM table_name_68 WHERE nickname = "mountain hawks"
Which Band has a Ratio of 9/9?
CREATE TABLE table_name_76 (band VARCHAR, ratio VARCHAR)
SELECT band FROM table_name_76 WHERE ratio = "9/9"
What is the ISIN associated with the maturity date of 3/11/2011?
CREATE TABLE table_21692771_1 (isin VARCHAR, maturity VARCHAR)
SELECT isin FROM table_21692771_1 WHERE maturity = "3/11/2011"
What is the connection for the proxyconn web accelerator web client accelerator?
CREATE TABLE table_name_62 (connection VARCHAR, web_client_accelerator VARCHAR)
SELECT connection FROM table_name_62 WHERE web_client_accelerator = "proxyconn web accelerator"
What was the Attendance when the Time was 2:13?
CREATE TABLE table_name_34 (attendance INTEGER, time VARCHAR)
SELECT MIN(attendance) FROM table_name_34 WHERE time = "2:13"
How many dates have a big ten team of #10 purdue?
CREATE TABLE table_21330550_2 (date VARCHAR, big_ten_team VARCHAR)
SELECT COUNT(date) FROM table_21330550_2 WHERE big_ten_team = "#10 Purdue"
Which driver finished in position 8?
CREATE TABLE table_name_50 (driver VARCHAR, fin_pos VARCHAR)
SELECT driver FROM table_name_50 WHERE fin_pos = 8
List the name of the phone model launched in year 2002 and with the highest RAM size.
CREATE TABLE chip_model (Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR); CREATE TABLE phone (Hardware_Model_name VARCHAR, chip_model VARCHAR)
SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 ORDER BY T1.RAM_MiB DESC LIMIT 1
What is the English title with a Director named ang lee?
CREATE TABLE table_name_30 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_30 WHERE director = "ang lee"
What is the max pressure of the .38 long colt cartridge?
CREATE TABLE table_173103_1 (max_pressure VARCHAR, cartridge VARCHAR)
SELECT max_pressure FROM table_173103_1 WHERE cartridge = ".38 Long Colt"
How many different episode numbers are there for episodes directed by Wayne Rose?
CREATE TABLE table_21696800_1 (_number VARCHAR, directed_by VARCHAR)
SELECT COUNT(_number) FROM table_21696800_1 WHERE directed_by = "Wayne Rose"
What is the number of gold medals for Lithuania (ltu), when the total is more than 1?
CREATE TABLE table_name_57 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(gold) FROM table_name_57 WHERE nation = "lithuania (ltu)" AND total > 1
How many position does Teodor Salparov play on?
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_14038363_1 WHERE player = "Teodor Salparov"
The game on Saturday, May 25 took place on which week?
CREATE TABLE table_24776075_2 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_24776075_2 WHERE date = "Saturday, May 25"
What date is associated with the Spunk label?
CREATE TABLE table_name_76 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_76 WHERE label = "spunk"
How many total drawn has less than 4 lost and 8 points?
CREATE TABLE table_name_59 (drawn INTEGER, lost VARCHAR, points VARCHAR)
SELECT SUM(drawn) FROM table_name_59 WHERE lost < 4 AND points = 8
Which name has an Area of kennedy bay?
CREATE TABLE table_name_50 (name VARCHAR, area VARCHAR)
SELECT name FROM table_name_50 WHERE area = "kennedy bay"
Who is number 7 when Sophia is number 3 and Abigail is number 10?
CREATE TABLE table_name_70 (no_7 VARCHAR, no_3 VARCHAR, no_10 VARCHAR)
SELECT no_7 FROM table_name_70 WHERE no_3 = "sophia" AND no_10 = "abigail"
What is the sum of gold medals for the United States with silver medal count greater than 3?
CREATE TABLE table_name_26 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT SUM(gold) FROM table_name_26 WHERE nation = "united states" AND silver > 3
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 was the loss of the game when the record was 3–2?
CREATE TABLE table_name_56 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_56 WHERE record = "3–2"
Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61?
CREATE TABLE table_name_71 (total_votes VARCHAR, election VARCHAR, candidates_fielded VARCHAR)
SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61
What is the number of Jianshu when the total is more than 19.16, for Nguyen Huy Thanh ( vie ), and Qiangshu is more than 9.66?
CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR)
SELECT COUNT(jianshu) FROM table_name_76 WHERE total > 19.16 AND athlete = "nguyen huy thanh ( vie )" AND qiangshu > 9.66
What races achieved 0 f/laps and 1 pole position?
CREATE TABLE table_26998693_1 (races VARCHAR, f_laps VARCHAR, poles VARCHAR)
SELECT races FROM table_26998693_1 WHERE f_laps = 0 AND poles = 1
If the Away team is essendon, what was the Date they played?
CREATE TABLE table_name_62 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_62 WHERE away_team = "essendon"
What are the highest points that have a Mugen V8 engine and happened in 1991?
CREATE TABLE table_name_83 (points INTEGER, engine VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_83 WHERE engine = "mugen v8" AND year = 1991
Which province is Parun in?
CREATE TABLE table_name_98 (province VARCHAR, centers VARCHAR)
SELECT province FROM table_name_98 WHERE centers = "parun"
What is the average rank for players with less than 2.9 Assists per game?
CREATE TABLE table_name_35 (rank INTEGER, ast_avg INTEGER)
SELECT AVG(rank) FROM table_name_35 WHERE ast_avg < 2.9
What 1992 has atp masters series for the 1995?
CREATE TABLE table_name_50 (Id VARCHAR)
SELECT 1992 FROM table_name_50 WHERE 1995 = "atp masters series"
Can you tell me the Mascot that has the School of rosedale?
CREATE TABLE table_name_70 (mascot VARCHAR, school VARCHAR)
SELECT mascot FROM table_name_70 WHERE school = "rosedale"
How many attended the game with a record of 43-34?
CREATE TABLE table_name_59 (attendance VARCHAR, record VARCHAR)
SELECT COUNT(attendance) FROM table_name_59 WHERE record = "43-34"
What role has the team of Troyes AC Grenoble Foot?
CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR)
SELECT role FROM table_name_89 WHERE teams = "troyes ac grenoble foot"
Which Pick has the College named Far Eastern / PSBA?
CREATE TABLE table_name_68 (pick VARCHAR, college VARCHAR)
SELECT pick FROM table_name_68 WHERE college = "far eastern / psba"
Name the total number of golds when total is 1 and silver is 1
CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, silver VARCHAR)
SELECT COUNT(gold) FROM table_name_50 WHERE total = 1 AND silver = 1
What is the team 1 with nîmes olympique (d2) as team 2?
CREATE TABLE table_name_66 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_66 WHERE team_2 = "nîmes olympique (d2)"
Which Series has a Score of 3 – 8?
CREATE TABLE table_name_63 (series VARCHAR, score VARCHAR)
SELECT series FROM table_name_63 WHERE score = "3 – 8"
what is the country when the score is 68-72-67=207?
CREATE TABLE table_name_75 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_75 WHERE score = 68 - 72 - 67 = 207
What is the origin of the constellation that can be abbreviated to tele?
CREATE TABLE table_287159_1 (origin VARCHAR, other_abbreviation VARCHAR)
SELECT origin FROM table_287159_1 WHERE other_abbreviation = "Tele"
What position did the draft pick for Toronto Maple Leafs play?
CREATE TABLE table_2886617_8 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_2886617_8 WHERE nhl_team = "Toronto Maple Leafs"
Show all information on the airport that has the largest number of international passengers.
CREATE TABLE airport (International_Passengers VARCHAR)
SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1
When is the earliest year the venue is in gothenburg, sweden?
CREATE TABLE table_name_69 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_69 WHERE venue = "gothenburg, sweden"
What is Opinion Research Centre (OPC), when Party is Conservative?
CREATE TABLE table_name_40 (opinion_research_centre__opc_ VARCHAR, party VARCHAR)
SELECT opinion_research_centre__opc_ FROM table_name_40 WHERE party = "conservative"
What's the total failures among rockets that had more than 3 successes, type ariane 5 and more than 0 partial failures?
CREATE TABLE table_name_92 (failures VARCHAR, partial_failures VARCHAR, successes VARCHAR, type VARCHAR)
SELECT COUNT(failures) FROM table_name_92 WHERE successes > 3 AND type = "ariane 5" AND partial_failures > 0
What is the Season when league shows bundesliga, and a European competition of played korac cup?
CREATE TABLE table_name_25 (season VARCHAR, league VARCHAR, european_competitions VARCHAR)
SELECT season FROM table_name_25 WHERE league = "bundesliga" AND european_competitions = "played korac cup"
During what years was álvaro pérez the number 2 ranked player?
CREATE TABLE table_name_39 (year_s_ VARCHAR, rank VARCHAR, player VARCHAR)
SELECT year_s_ FROM table_name_39 WHERE rank = 2 AND player = "álvaro pérez"
What is the language of the film originally titled רגעים?
CREATE TABLE table_name_39 (language VARCHAR, original_name VARCHAR)
SELECT language FROM table_name_39 WHERE original_name = "רגעים"
Who ha the gold and 1 bronze, and more than 0 silver?
CREATE TABLE table_name_58 (gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT gold FROM table_name_58 WHERE bronze = 1 AND silver > 0
What is every team on March 5?
CREATE TABLE table_23248910_9 (team VARCHAR, date VARCHAR)
SELECT team FROM table_23248910_9 WHERE date = "March 5"
Which of Real Betis career had appearances smaller than 98, nationality of Spain, and goals greater than 15?
CREATE TABLE table_name_63 (real_betis_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)
SELECT real_betis_career FROM table_name_63 WHERE appearances < 98 AND nationality = "spain" AND goals > 15
Which champion has a Group Stage LLWS in Russellville?
CREATE TABLE table_name_16 (champion VARCHAR, llws VARCHAR, city VARCHAR)
SELECT champion FROM table_name_16 WHERE llws = "group stage" AND city = "russellville"
Who is sezen aksu's producer?
CREATE TABLE table_name_43 (producer_s_ VARCHAR, songwriter_s_ VARCHAR)
SELECT producer_s_ FROM table_name_43 WHERE songwriter_s_ = "sezen aksu"