question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
What was the record against Boston?
create table table_15780718_8 (record varchar, team varchar, PRIMARY KEY (record))
select record from table_15780718_8 where team = "boston"
What was Lambert's song choice in the top 13?
create table table_21501511_1 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))
select song_choice from table_21501511_1 where week__number = "top 13"
Show the names of conductors and the orchestras they have conducted.
create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name)); create table orchestra (orchestra varchar, conductor_id varchar, PRIMARY KEY (orchestra))
select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id
How many barony's appear when Ballyvadona is the townland.
create table table_30120556_1 (barony varchar, townland varchar, PRIMARY KEY (barony))
select count(barony) from table_30120556_1 where townland = "ballyvadona"
What is the custody level of the facility in Shelton?
create table table_25346763_1 (custody_level_s_ varchar, location varchar, PRIMARY KEY (custody_level_s_))
select custody_level_s_ from table_25346763_1 where location = "shelton"
What day did episode number 4 air originally?
create table table_24648983_1 (original_air_date varchar, № varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_24648983_1 where № = 4
List the distinct hometowns that are not associated with any gymnast.
create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (hometown varchar, people_id varchar, PRIMARY KEY (hometown)); create table people (hometown varchar, PRIMARY KEY (hometown))
select distinct hometown from people except select distinct t2.hometown from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id
How many dates of polls occur in the Madhya Pradesh state?
create table table_15329030_1 (date_of_polls varchar, state varchar, PRIMARY KEY (date_of_polls))
select count(date_of_polls) from table_15329030_1 where state = "madhya pradesh"
what's the college/junior/club team with nhl team being california golden seals
create table table_1473672_9 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))
select college_junior_club_team from table_1473672_9 where nhl_team = "california golden seals"
How many students enrolled in 2005 at New Hampshire Institute of Art?
create table table_2076490_1 (enrollment__2005_ varchar, school varchar, PRIMARY KEY (enrollment__2005_))
select enrollment__2005_ from table_2076490_1 where school = "new hampshire institute of art"
Who was in home (2nd leg) when Talleres was in home (1st leg)
create table table_14219514_1 (home__2nd_leg_ varchar, home__1st_leg_ varchar, PRIMARY KEY (home__2nd_leg_))
select home__2nd_leg_ from table_14219514_1 where home__1st_leg_ = "talleres"
Name the region 1 for episode number 13
create table table_171320_3 (region_1 varchar, ep__number varchar, PRIMARY KEY (region_1))
select region_1 from table_171320_3 where ep__number = 13
How much was spent in 1949 (in $ millions) in the country where the cumulative expenditure is $376 millions?
create table table_19766_1 (cumulative__$_millions_ varchar, PRIMARY KEY (cumulative__$_millions_))
select min(1949) as $_millions_ from table_19766_1 where cumulative__$_millions_ = 376
Show the names of all the employees with role "HR".
create table employees (employee_name varchar, role_code varchar, PRIMARY KEY (employee_name))
select employee_name from employees where role_code = "hr"
Which province had population of 210295 South Asians in 2001?
create table table_1717824_1 (province varchar, south_asians_2001 varchar, PRIMARY KEY (province))
select province from table_1717824_1 where south_asians_2001 = 210295
What is the pluperfect for the perfect si bio/la; bio/la si?
create table table_27298240_26 (pluperfect varchar, perfect varchar, PRIMARY KEY (pluperfect))
select pluperfect from table_27298240_26 where perfect = "si bio/la; bio/la si"
how many capital with population census 2009 being 284657
create table table_1404456_1 (capital varchar, population_census_2009 varchar, PRIMARY KEY (capital))
select count(capital) from table_1404456_1 where population_census_2009 = 284657
Name the first broadcast for trisha goddard and glenn wool
create table table_23292220_5 (first_broadcast varchar, jasons_team varchar, PRIMARY KEY (first_broadcast))
select first_broadcast from table_23292220_5 where jasons_team = "trisha goddard and glenn wool"
Name the drivetrain for 2ur-fse
create table table_21530474_1 (drivetrain varchar, engine_code varchar, PRIMARY KEY (drivetrain))
select drivetrain from table_21530474_1 where engine_code = "2ur-fse"
What place is there a change of -19.3?
create table table_2500440_1 (name varchar, change___percentage_ varchar, PRIMARY KEY (name))
select count(name) from table_2500440_1 where change___percentage_ = "-19.3"
What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative?
create table table_21690339_1 (_percentage_cut varchar, alternative_fuel varchar, PRIMARY KEY (_percentage_cut))
select _percentage_cut from table_21690339_1 where alternative_fuel = "fuel oil stocks need only for industry"
Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?
create table table_18943444_1 (producer varchar, product varchar, PRIMARY KEY (producer))
select producer from table_18943444_1 where product = "金必氏牌嬰幼兒配方乳粉"
What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?
create table table_17487395_1 (callsign varchar, branding varchar, PRIMARY KEY (callsign))
select callsign from table_17487395_1 where branding = "mom's radio 101.5 tacloban"
Show the station name with at least two trains.
create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, PRIMARY KEY (station_id))
select t2.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id group by t1.station_id having count(*) >= 2
Find the number of companies whose industry is "Banking" or "Conglomerate",
create table companies (industry varchar, PRIMARY KEY (industry))
select count(*) from companies where industry = "banking" or industry = "conglomerate"
Which address do not have any member with the black membership card?
create table member (address varchar, membership_card varchar, PRIMARY KEY (address))
select address from member except select address from member where membership_card = 'black'
How many different items appear in the television column when the results where Iowa State 14, Minnesota 13?
create table table_23718905_6 (television varchar, matchup_results varchar, PRIMARY KEY (television))
select count(television) from table_23718905_6 where matchup_results = "iowa state 14, minnesota 13"
What were the results for incumbent Jim McCrery?
create table table_1341453_20 (results varchar, incumbent varchar, PRIMARY KEY (results))
select results from table_1341453_20 where incumbent = "jim mccrery"
What school is nicknamed the panthers?
create table table_24935743_2 (school varchar, nickname varchar, PRIMARY KEY (school))
select school from table_24935743_2 where nickname = "panthers"
Name the family for uk31
create table table_19897294_8 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))
select family_families from table_19897294_8 where no_overall = "uk31"
On what year was the local government area with a surface of 4563 square kilometers established?
create table table_23685890_2 (est varchar, land_area__km²_ varchar, PRIMARY KEY (est))
select est from table_23685890_2 where land_area__km²_ = "4563"
Does the sounddock series I v2 have dual voltage?
create table table_24384861_1 (dual_voltage varchar, version varchar, PRIMARY KEY (dual_voltage))
select dual_voltage from table_24384861_1 where version = "sounddock series i v2"
How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?
create table table_27116696_1 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))
select us_viewers__million_ from table_27116696_1 where directed_by = "allison liddi-brown"
what's the naturalisation by marriage with regbeingtration of a minor child being 114
create table table_11214212_1 (naturalisation_by_marriage varchar, registration_of_a_minor_child varchar, PRIMARY KEY (naturalisation_by_marriage))
select naturalisation_by_marriage from table_11214212_1 where registration_of_a_minor_child = 114
The person who had 0 WSOP earnings had how man WSOP cashes?
create table table_23696862_6 (wsop_cashes varchar, wsop_earnings varchar, PRIMARY KEY (wsop_cashes))
select wsop_cashes from table_23696862_6 where wsop_earnings = "0"
What game allow the 1980s to be exportable?
create table table_14160327_4 (exportable varchar, decade varchar, PRIMARY KEY (exportable))
select exportable from table_14160327_4 where decade = "1980s"
What is the description of document status code 'working'?
create table ref_document_status (document_status_description varchar, document_status_code varchar, PRIMARY KEY (document_status_description))
select document_status_description from ref_document_status where document_status_code = "working"
Which dates of polls occur in the Mizoram state?
create table table_15329030_1 (date_of_polls varchar, state varchar, PRIMARY KEY (date_of_polls))
select date_of_polls from table_15329030_1 where state = "mizoram"
What is every school with stunts of 48?
create table table_21995420_6 (school varchar, stunts varchar, PRIMARY KEY (school))
select school from table_21995420_6 where stunts = "48"
Which visitors have a leading scorer of roy : 25
create table table_11964047_7 (visitor varchar, leading_scorer varchar, PRIMARY KEY (visitor))
select visitor from table_11964047_7 where leading_scorer = "roy : 25"
When Denizli was the province, what was the total number of valid votes?
create table table_27274222_2 (valid_votes varchar, province varchar, PRIMARY KEY (valid_votes))
select count(valid_votes) from table_27274222_2 where province = "denizli"
Which team had a manager who was replaced by Faraz Kamalvand?
create table table_22297140_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))
select team from table_22297140_3 where replaced_by = "faraz kamalvand"
Who played as the away team when coventry city was the home team?
create table table_24887326_8 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))
select away_team from table_24887326_8 where home_team = "coventry city"
What is the ab ripper x when exercise is x stretch?
create table table_27512025_1 (ab_ripper_x varchar, exercise varchar, PRIMARY KEY (ab_ripper_x))
select ab_ripper_x from table_27512025_1 where exercise = "x stretch"
How many athletes completed a trans 1 within 0:26?
create table table_17085947_32 (athlete varchar, trans_1 varchar, PRIMARY KEY (athlete))
select count(athlete) from table_17085947_32 where trans_1 = "0:26"
How many problems does the product with the most problems have? List the number of the problems and product name.
create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name))
select count(*), t1.product_name from product as t1 join problems as t2 on t1.product_id = t2.product_id group by t1.product_name order by count(*) desc limit 1
Who picked a player from Weber State?
create table table_16575609_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))
select cfl_team from table_16575609_1 where college = "weber state"
When 14.85 kilometers squared is the land area what is the name?
create table table_189598_7 (name varchar, land_area__km²_ varchar, PRIMARY KEY (name))
select name from table_189598_7 where land_area__km²_ = "14.85"
Name the settlement for александрово
create table table_2562572_37 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))
select settlement from table_2562572_37 where cyrillic_name_other_names = "александрово"
Name the region 1 where region 4 for april 2, 2009
create table table_171320_3 (region_1 varchar, region_4 varchar, PRIMARY KEY (region_1))
select region_1 from table_171320_3 where region_4 = "april 2, 2009"
List document IDs, document names, and document descriptions for all documents.
create table documents (document_id varchar, document_name varchar, document_description varchar, PRIMARY KEY (document_id))
select document_id, document_name, document_description from documents
what's the occupied territory with operational period of may 1940 – january 1945
create table table_10335_1 (occupied_territory varchar, operational varchar, PRIMARY KEY (occupied_territory))
select occupied_territory from table_10335_1 where operational = "may 1940 – january 1945"
What is the species when jewel is coal?
create table table_26615633_1 (species varchar, jewel varchar, PRIMARY KEY (species))
select species from table_26615633_1 where jewel = "coal"
Name the number of regular judge when host is bernie chan
create table table_1597866_3 (regular_judge varchar, host varchar, PRIMARY KEY (regular_judge))
select count(regular_judge) from table_1597866_3 where host = "bernie chan"
Which planet has the transcription of wan suk?
create table table_180802_3 (planet varchar, transcription varchar, PRIMARY KEY (planet))
select planet from table_180802_3 where transcription = "wan suk"
Who was the GTU winning team when the TO winning team was Steve Ross?
create table table_13642023_2 (gtu_winning_team varchar, to_winning_team varchar, PRIMARY KEY (gtu_winning_team))
select gtu_winning_team from table_13642023_2 where to_winning_team = "steve ross"
What is the number for t c (k) when the notation is tl-2212?
create table table_101336_1 (t_c__k_ varchar, notation varchar, PRIMARY KEY (t_c__k_))
select count(t_c__k_) from table_101336_1 where notation = "tl-2212"
List all information about the assessment notes sorted by date in ascending order.
create table assessment_notes (date_of_notes varchar, PRIMARY KEY (date_of_notes))
select * from assessment_notes order by date_of_notes
how many first performances where performer is wilfred engelman category:articles with hcards
create table table_19189856_1 (first_performance varchar, performer varchar, PRIMARY KEY (first_performance))
select count(first_performance) from table_19189856_1 where performer = "wilfred engelman category:articles with hcards"
Name the high rebounds for charlotte
create table table_27700375_11 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_27700375_11 where team = "charlotte"
when was the ending time where the enemy met in the iron bowl
create table table_2846320_4 (last_meeting varchar, name_of_rivalry varchar, PRIMARY KEY (last_meeting))
select last_meeting from table_2846320_4 where name_of_rivalry = "iron bowl"
Find the id of routes whose source and destination airports are in the United States.
create table routes (rid varchar, dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (rid)); create table airports (rid varchar, dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (rid))
select rid from routes where dst_apid in (select apid from airports where country = 'united states') and src_apid in (select apid from airports where country = 'united states')
Name the period for uruguay
create table table_24565004_19 (period varchar, nationality² varchar, PRIMARY KEY (period))
select period from table_24565004_19 where nationality² = "uruguay"
Who played in group 11 when Persipal Palu played in group 12?
create table table_19523142_5 (group_11 varchar, group_12 varchar, PRIMARY KEY (group_11))
select group_11 from table_19523142_5 where group_12 = "persipal palu"
List all pilot names in ascending alphabetical order.
create table pilot (name varchar, PRIMARY KEY (name))
select name from pilot order by name
How many pageants were in san fernando, pampanga?
create table table_1825751_14 (pageant varchar, hometown varchar, PRIMARY KEY (pageant))
select count(pageant) from table_1825751_14 where hometown = "san fernando, pampanga"
What is the dirty electric grid rocky mountains (denver) for the vehicle with the clean electric grid california (san francisco) of 160 g/mi (99 g/km)?
create table table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ varchar, clean_electric_grid_california__san_francisco_ varchar, PRIMARY KEY (dirty_electric_grid_rocky_mountains__denver_))
select dirty_electric_grid_rocky_mountains__denver_ from table_23840623_4 where clean_electric_grid_california__san_francisco_ = "160 g/mi (99 g/km)"
List the document ids for any documents with the status code done and the type code paper.
create table documents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id))
select document_id from documents where document_status_code = "done" and document_type_code = "paper"
With the official name Quispamsis, what is the census ranking?
create table table_171236_1 (census_ranking varchar, official_name varchar, PRIMARY KEY (census_ranking))
select census_ranking from table_171236_1 where official_name = "quispamsis"
What was the air date when the team guest captain was john bishop?
create table table_25816476_2 (air_date varchar, team_guest_captain varchar, PRIMARY KEY (air_date))
select air_date from table_25816476_2 where team_guest_captain = "john bishop"
What is the call sign for channel 6?
create table table_2638104_1 (callsign varchar, channel varchar, PRIMARY KEY (callsign))
select callsign from table_2638104_1 where channel = 6
What was the year when Chūnqiū Cháshì (春秋茶室) was submitted?
create table table_17350255_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))
select year__ceremony_ from table_17350255_1 where original_title = "chūnqiū cháshì (春秋茶室)"
what the team where the record is 1-1 and the player is 1-1
create table table_26173058_2 (× varchar, jeel varchar, ramtha varchar, PRIMARY KEY (×))
select × from table_26173058_2 where jeel = "1-1" and ramtha = "1-1"
Who played Richmond at home?
create table table_14312471_7 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))
select home_team from table_14312471_7 where away_team = "richmond"
Who was the aggressive rider when the winner was luis león sánchez?
create table table_25580292_13 (aggressive_rider varchar, winner varchar, PRIMARY KEY (aggressive_rider))
select aggressive_rider from table_25580292_13 where winner = "luis león sánchez"
Show the document id with paragraph text 'Brazil' and 'Ireland'.
create table paragraphs (document_id varchar, paragraph_text varchar, PRIMARY KEY (document_id))
select document_id from paragraphs where paragraph_text = 'brazil' intersect select document_id from paragraphs where paragraph_text = 'ireland'
Who was the horse when the jockey was Peter Wells?
create table table_24915874_1 (horse varchar, jockey varchar, PRIMARY KEY (horse))
select horse from table_24915874_1 where jockey = "peter wells"
Show the different nationalities and the number of journalists of each nationality.
create table journalist (nationality varchar, PRIMARY KEY (nationality))
select nationality, count(*) from journalist group by nationality
Name the nat for total apps for 27
create table table_19018191_5 (nat varchar, total_apps varchar, PRIMARY KEY (nat))
select nat from table_19018191_5 where total_apps = 27
How many figures are given for pubs 2011 in Chennai?
create table table_167354_2 (pubs_2011 varchar, location varchar, PRIMARY KEY (pubs_2011))
select count(pubs_2011) from table_167354_2 where location = "chennai"
Where 19 seats were won, what was the minimum number of forfeited seats?
create table table_22582663_1 (forfeited_in_seats integer, seats_won varchar, PRIMARY KEY (forfeited_in_seats))
select min(forfeited_in_seats) from table_22582663_1 where seats_won = 19
Who made highest assists when high rebounds was Al Horford (17)
create table table_17311759_4 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))
select high_assists from table_17311759_4 where high_rebounds = "al horford (17)"
Who was the original artist for week number Top 16 (8 women)?
create table table_15796072_1 (original_artist varchar, week__number varchar, PRIMARY KEY (original_artist))
select original_artist from table_15796072_1 where week__number = "top 16 (8 women)"
what is the material of the surface in the dehradun , uttarakhand, india location
create table table_29127804_3 (surface varchar, location varchar, PRIMARY KEY (surface))
select surface from table_29127804_3 where location = "dehradun , uttarakhand, india"
Name the original title of the Suzana Amaral film
create table table_15277629_1 (original_title varchar, director varchar, PRIMARY KEY (original_title))
select original_title from table_15277629_1 where director = "suzana amaral"
How many datas were recorded on January 15-16 if August 21-22 is 155?
create table table_25216791_3 (january_15_16 varchar, august_21_22 varchar, PRIMARY KEY (january_15_16))
select count(january_15_16) from table_25216791_3 where august_21_22 = "155"
What is year of construction of spitallamm?
create table table_10020178_1 (year_of_construction integer, name varchar, PRIMARY KEY (year_of_construction))
select min(year_of_construction) from table_10020178_1 where name = "spitallamm"
How many millions of US viewers watched the episode written by Jack Sanderson?
create table table_27462177_1 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))
select us_viewers__millions_ from table_27462177_1 where written_by = "jack sanderson"
How many locations are there for the athletic nickname is blue crusaders?
create table table_22171978_1 (location varchar, athletic_nickname varchar, PRIMARY KEY (location))
select count(location) from table_22171978_1 where athletic_nickname = "blue crusaders"
What candidate was featured in the election for incumbent samuel j. nicholls' seat?
create table table_1342451_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select candidates from table_1342451_38 where incumbent = "samuel j. nicholls"
What is the attribute data type of the attribute with name "Green"?
create table attribute_definitions (attribute_data_type varchar, attribute_name varchar, PRIMARY KEY (attribute_data_type))
select attribute_data_type from attribute_definitions where attribute_name = "green"
What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?
create table table_1682026_3 (assets__billion_$_ varchar, headquarters varchar, profits__billion_$_ varchar, PRIMARY KEY (assets__billion_$_))
select assets__billion_$_ from table_1682026_3 where headquarters = "china" and profits__billion_$_ = "21.2"
When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age?
create table table_23537091_1 (copper_age varchar, ubaid_period_in_mesopotamia varchar, PRIMARY KEY (copper_age))
select copper_age from table_23537091_1 where ubaid_period_in_mesopotamia = "hittite old kingdom , minoan eruption"
Who did the high rebounds for the team Minnesota?
create table table_27734769_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_27734769_9 where team = "minnesota"
Name the hdtv for sky primafila 17
create table table_15887683_6 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))
select hdtv from table_15887683_6 where television_service = "sky primafila 17"
What is the title of the episode directed by Rich Correll and written by Dennis Rinsler?
create table table_29102100_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))
select title from table_29102100_1 where directed_by = "rich correll" and written_by = "dennis rinsler"
When are the birthdays of customer who are classified as 'Good Customer' status?
create table customers (date_of_birth varchar, customer_status_code varchar, PRIMARY KEY (date_of_birth))
select date_of_birth from customers where customer_status_code = 'good customer'
What year and the corresponding ceremony was the english titled movie "time out" submitted?
create table table_22102732_1 (year__ceremony_ varchar, english_title varchar, PRIMARY KEY (year__ceremony_))
select year__ceremony_ from table_22102732_1 where english_title = "time out"
Name the number of rank for april 2013 for 2012 ran kbeing 225
create table table_24307126_3 (april_2013_cum_rank varchar, rank_2012 varchar, PRIMARY KEY (april_2013_cum_rank))
select count(april_2013_cum_rank) from table_24307126_3 where rank_2012 = 225
Tell me what the notes are for South Australia
create table table_1000181_1 (notes varchar, current_slogan varchar, PRIMARY KEY (notes))
select notes from table_1000181_1 where current_slogan = "south australia"