question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
name the team for 36-29 record
create table table_27902171_8 (team varchar, record varchar, PRIMARY KEY (team))
select team from table_27902171_8 where record = "36-29"
What is the November 3 result when the result for January 15-16 is 141?
create table table_25284864_3 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))
select november_3 from table_25284864_3 where january_15_16 = "141"
Who is the advisor of student with ID 1004?
create table student (advisor varchar, stuid varchar, PRIMARY KEY (advisor))
select advisor from student where stuid = 1004
What is the name of the song that was released in the most recent year?
create table song (song_name varchar, releasedate varchar, PRIMARY KEY (song_name))
select song_name, releasedate from song order by releasedate desc limit 1
What is the English title of the episode with 1.92 million Hong Kong viewers?
create table table_24856090_1 (english_title varchar, hk_viewers varchar, PRIMARY KEY (english_title))
select english_title from table_24856090_1 where hk_viewers = "1.92 million"
Name the game coast for chicago and north western
create table table_243664_1 (game_cost varchar, railroad varchar, PRIMARY KEY (game_cost))
select game_cost from table_243664_1 where railroad = "chicago and north western"
What provinces were formed from New Munster?
create table table_275023_1 (province varchar, formed_from varchar, PRIMARY KEY (province))
select province from table_275023_1 where formed_from = "new munster"
What is the location for the club with the nickname the bears?
create table table_18752986_1 (location varchar, nickname varchar, PRIMARY KEY (location))
select location from table_18752986_1 where nickname = "bears"
what is the affiliation of charles h. brand
create table table_1342379_10 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1342379_10 where incumbent = "charles h. brand"
Find the names of the swimmers who have no record.
create table swimmer (name varchar, id varchar, swimmer_id varchar, PRIMARY KEY (name)); create table record (name varchar, id varchar, swimmer_id varchar, PRIMARY KEY (name))
select name from swimmer where not id in (select swimmer_id from record)
What is every value for Italian when the part is English?
create table table_25401_15 (italian varchar, english varchar, PRIMARY KEY (italian))
select italian from table_25401_15 where english = "part"
How many episodes did Cliff Bole directed in season 3?
create table table_17861265_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
select count(title) from table_17861265_1 where directed_by = "cliff bole"
How many total miles recorded for the racer who finished in 1:05:33?
create table table_17802778_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))
select miles__km_ from table_17802778_1 where race_time = "1:05:33"
What is the maximum t20 on green lane?
create table table_1176371_1 (t20_matches integer, name_of_ground varchar, PRIMARY KEY (t20_matches))
select max(t20_matches) from table_1176371_1 where name_of_ground = "green lane"
What's the team #2 in the round where team #1 is Iraklis?
create table table_19130829_4 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))
select team__number2 from table_19130829_4 where team__number1 = "iraklis"
What is the party when the constituency is 1. Chennai North?
create table table_22753245_1 (party varchar, constituency varchar, PRIMARY KEY (party))
select party from table_22753245_1 where constituency = "1. chennai north"
Find the number of characteristics that the product "flax" has.
create table characteristics (characteristic_id varchar, PRIMARY KEY (characteristic_id)); create table products (product_id varchar, product_name varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))
select count(*) from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id join characteristics as t3 on t2.characteristic_id = t3.characteristic_id where t1.product_name = "flax"
What's the compression ratio of the model with L35 RPO and 5 applications?
create table table_20007413_6 (compression_ratio varchar, rpo varchar, applications varchar, PRIMARY KEY (compression_ratio))
select compression_ratio from table_20007413_6 where rpo = "l35" and applications = 5
What is the title of the episode with the original air date of february 6, 1997?
create table table_11951237_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))
select title from table_11951237_3 where original_air_date = "february 6, 1997"
Who was the Class A winner in 2006-07?
create table table_14603057_2 (class_a varchar, school_year varchar, PRIMARY KEY (class_a))
select class_a from table_14603057_2 where school_year = "2006-07"
What is listed under try bonus when listed under Tries for is tries for?
create table table_13399573_3 (try_bonus varchar, PRIMARY KEY (try_bonus))
select try_bonus from table_13399573_3 where "tries_for" = "tries_for"
For how many contestants was the background internet dreamer?
create table table_19810459_1 (contestant varchar, background varchar, PRIMARY KEY (contestant))
select count(contestant) from table_19810459_1 where background = "internet dreamer"
how many times is the location is homestead, florida?
create table table_2696531_2 (pole_position varchar, location varchar, PRIMARY KEY (pole_position))
select count(pole_position) from table_2696531_2 where location = "homestead, florida"
How many states or District of Columbia have 65.4% overweight or obese adults?
create table table_18958648_1 (state_and_district_of_columbia varchar, overweight__incl_obese__adults varchar, PRIMARY KEY (state_and_district_of_columbia))
select count(state_and_district_of_columbia) from table_18958648_1 where overweight__incl_obese__adults = "65.4%"
Name the location for golden tornadoes
create table table_262476_1 (location varchar, nickname varchar, PRIMARY KEY (location))
select location from table_262476_1 where nickname = "golden tornadoes"
What was the record for the Orangemen when they played against Army?
create table table_23346983_1 (record varchar, opponent varchar, PRIMARY KEY (record))
select record from table_23346983_1 where opponent = "army"
How many teams lost at the sydney football stadium, sydney (11)?
create table table_11236195_5 (losingteam varchar, location varchar, PRIMARY KEY (losingteam))
select count(losingteam) from table_11236195_5 where location = "sydney football stadium, sydney (11)"
what is the address of history department?
create table department (dept_address varchar, dept_name varchar, PRIMARY KEY (dept_address))
select dept_address from department where dept_name = 'history'
Whatis the original title for lion's den?
create table table_13834298_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))
select original_title from table_13834298_1 where film_title_used_in_nomination = "lion's den"
What was date of appointment for Ergün Penbe?
create table table_27091128_2 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))
select date_of_appointment from table_27091128_2 where replaced_by = "ergün penbe"
Name the final place for july 25, 2009
create table table_23819979_3 (final_place varchar, last_match varchar, PRIMARY KEY (final_place))
select final_place from table_23819979_3 where last_match = "july 25, 2009"
what's the wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon
create table table_13663434_1 (wii_points varchar, title_and_source varchar, PRIMARY KEY (wii_points))
select wii_points from table_13663434_1 where title_and_source = "tsūshin taikyoku: igo dōjō 2700-mon"
What is the party for the incumbent Wyche Fowler?
create table table_1341598_11 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1341598_11 where incumbent = "wyche fowler"
How many different set of candidates were there when the incumbent was david e. finley?
create table table_1346137_4 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select count(candidates) from table_1346137_4 where incumbent = "david e. finley"
If Villa Rivero Municipality if 7, what is the language?
create table table_2509112_3 (language varchar, villa_rivero_municipality varchar, PRIMARY KEY (language))
select language from table_2509112_3 where villa_rivero_municipality = 7
When 七色アーチ is the japanese title what is the japanese translation?
create table table_2144389_9 (japanese_translation varchar, japanese_title varchar, PRIMARY KEY (japanese_translation))
select japanese_translation from table_2144389_9 where japanese_title = "七色アーチ"
What are the transit connections from Pioneer Square U?
create table table_22771048_2 (transit_connections varchar, station varchar, PRIMARY KEY (transit_connections))
select transit_connections from table_22771048_2 where station = "pioneer square u"
Name the total number of year to april for ebit being 24.5
create table table_18304259_1 (year_to_april varchar, ebit__£m_ varchar, PRIMARY KEY (year_to_april))
select count(year_to_april) from table_18304259_1 where ebit__£m_ = "24.5"
what is the total rank on airdate march 30, 2011?
create table table_27987623_4 (rank_timeslot_ varchar, airdate varchar, PRIMARY KEY (rank_timeslot_))
select count(rank_timeslot_) from table_27987623_4 where airdate = "march 30, 2011"
What was the year for the film "Vitus"?
create table table_22034853_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))
select year__ceremony_ from table_22034853_1 where original_title = "vitus"
How many current account balances are associated with GDP at constant prices growth rates of 4.6?
create table table_30133_1 (current_account_balance__percent_of_gdp_ varchar, gdp_at_constant_prices_growth_rate__percent_change_ varchar, PRIMARY KEY (current_account_balance__percent_of_gdp_))
select count(current_account_balance__percent_of_gdp_) from table_30133_1 where gdp_at_constant_prices_growth_rate__percent_change_ = "4.6"
How many devices are there?
create table device (id varchar, PRIMARY KEY (id))
select count(*) from device
What is the product ID of the most frequently ordered item on invoices?
create table invoices (product_id varchar, PRIMARY KEY (product_id))
select product_id from invoices group by product_id order by count(*) desc limit 1
What is the series episode where Segment B is popcorn ?
create table table_15187735_12 (series_ep varchar, segment_b varchar, PRIMARY KEY (series_ep))
select series_ep from table_15187735_12 where segment_b = "popcorn"
Who was Andrew and Georgies guest when Jamie and Johns guest was Jessica Ennis?
create table table_29141354_2 (andrew_and_georgies_guest varchar, jamie_and_johns_guest varchar, PRIMARY KEY (andrew_and_georgies_guest))
select andrew_and_georgies_guest from table_29141354_2 where jamie_and_johns_guest = "jessica ennis"
How many different status codes of things are there?
create table timed_status_of_things (status_of_thing_code varchar, PRIMARY KEY (status_of_thing_code))
select count(distinct status_of_thing_code) from timed_status_of_things
Who directed the episode that was watched by 6.62 million U.S. viewers?
create table table_22181917_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))
select directed_by from table_22181917_2 where us_viewers__millions_ = "6.62"
Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12
create table table_16423070_4 (volleyball varchar, school_year varchar, basketball varchar, swimming varchar, PRIMARY KEY (volleyball))
select volleyball from table_16423070_4 where basketball = "west holmes" and swimming = "wooster" and school_year = "2011-12"
Name the high assists for yi jianlian , brook lopez (7)
create table table_17322817_6 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))
select high_assists from table_17322817_6 where high_rebounds = "yi jianlian , brook lopez (7)"
How many types of settlement if Neradin?
create table table_2562572_50 (type varchar, settlement varchar, PRIMARY KEY (type))
select count(type) from table_2562572_50 where settlement = "neradin"
list the spokespersons where voting order is 9
create table table_184803_4 (spokespersons varchar, voting_order varchar, PRIMARY KEY (spokespersons))
select spokespersons from table_184803_4 where voting_order = 9
what is the dadar xi b where the good shepherd is sea liner fc?
create table table_28759261_5 (dadar_xi_‘b’ varchar, good_shepherd varchar, PRIMARY KEY (dadar_xi_‘b’))
select dadar_xi_‘b’ from table_28759261_5 where good_shepherd = "sea liner fc"
How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?
create table table_22050544_3 (elapsed_time varchar, event varchar, PRIMARY KEY (elapsed_time))
select count(elapsed_time) from table_22050544_3 where event = "$16.50 fixed-limit badugi"
Name the number of top 10s for scoring rank of 9
create table table_18198579_6 (top_10s varchar, scoring_rank varchar, PRIMARY KEY (top_10s))
select count(top_10s) from table_18198579_6 where scoring_rank = "9"
What episode was directed by David Duchovny?
create table table_13336122_7 (title varchar, directed_by varchar, PRIMARY KEY (title))
select title from table_13336122_7 where directed_by = "david duchovny"
what is the minimum rockhampton
create table table_12570207_1 (rockhampton integer, PRIMARY KEY (rockhampton))
select min(rockhampton) from table_12570207_1
What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
create table table_29217650_1 (december_27 varchar, movies varchar, PRIMARY KEY (december_27))
select december_27 from table_29217650_1 where movies = "ang tanging ina mo (last na 'to!)"
Name the metrical equivalence for linha
create table table_26538461_2 (metrical_equivalence varchar, portuguese_name varchar, PRIMARY KEY (metrical_equivalence))
select metrical_equivalence from table_26538461_2 where portuguese_name = "linha"
what are the film names with the co-singer vinod rathod?
create table table_11827596_2 (film_name varchar, co_singer varchar, PRIMARY KEY (film_name))
select film_name from table_11827596_2 where co_singer = "vinod rathod"
What are the different cities listed?
create table manufacturers (headquarter varchar, PRIMARY KEY (headquarter))
select distinct headquarter from manufacturers
How many flights do we have?
create table flights (id varchar, PRIMARY KEY (id))
select count(*) from flights
Name the team for record 3-2
create table table_22654073_6 (team varchar, record varchar, PRIMARY KEY (team))
select team from table_22654073_6 where record = "3-2"
Name the fastest lap for piquet sports and silverstone
create table table_25322130_3 (fastest_lap varchar, winning_team varchar, circuit varchar, PRIMARY KEY (fastest_lap))
select fastest_lap from table_25322130_3 where winning_team = "piquet sports" and circuit = "silverstone"
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?
create table table_19398910_4 (bout_1 varchar, bout_5 varchar, PRIMARY KEY (bout_1))
select bout_1 from table_19398910_4 where bout_5 = "andreev ( rus ) w 5-2"
What is the gender of the student Linda Smith?
create table student (sex varchar, fname varchar, lname varchar, PRIMARY KEY (sex))
select sex from student where fname = "linda" and lname = "smith"
What were the former schools of the player from East Brunswick, NJ?
create table table_25177625_1 (former_school varchar, hometown varchar, PRIMARY KEY (former_school))
select former_school from table_25177625_1 where hometown = "east brunswick, nj"
How many people had the high assists @ minnesota?
create table table_13619135_7 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))
select count(high_assists) from table_13619135_7 where team = "@ minnesota"
How many hometowns are there when Charis Prep was the previous school?
create table table_29970488_2 (hometown varchar, previous_school varchar, PRIMARY KEY (hometown))
select count(hometown) from table_29970488_2 where previous_school = "charis prep"
How many film are there?
create table film (id varchar, PRIMARY KEY (id))
select count(*) from film
What is the result for salmonella spp. if you use citrate?
create table table_16083989_1 (citrate varchar, species varchar, PRIMARY KEY (citrate))
select count(citrate) from table_16083989_1 where species = "salmonella spp."
What party was Kevin Brady?
create table table_1341395_44 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1341395_44 where incumbent = "kevin brady"
What episode number in the season had 1.05 million U.S. viewers?
create table table_26136228_3 (episode_no integer, us_viewers__millions_ varchar, PRIMARY KEY (episode_no))
select max(episode_no) from table_26136228_3 where us_viewers__millions_ = "1.05"
What is the nickname of the newberry college?
create table table_11658094_3 (nickname varchar, institution varchar, PRIMARY KEY (nickname))
select nickname from table_11658094_3 where institution = "newberry college"
What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
create table table_29039942_1 (original_airdate varchar, writer varchar, director varchar, PRIMARY KEY (original_airdate))
select original_airdate from table_29039942_1 where writer = "daisuke habara" and director = "akimitsu sasaki"
what's the byu-uu score with uu-usu score being 44–16
create table table_13665809_2 (byu_uu_score varchar, uu_usu_score varchar, PRIMARY KEY (byu_uu_score))
select byu_uu_score from table_13665809_2 where uu_usu_score = "44–16"
What is the green house made of?
create table table_11464746_1 (composition varchar, colours varchar, PRIMARY KEY (composition))
select composition from table_11464746_1 where colours = "green"
how many callings of trains arriving at 09.06
create table table_18333678_2 (calling_at varchar, arrival varchar, PRIMARY KEY (calling_at))
select count(calling_at) from table_18333678_2 where arrival = "09.06"
When 60,254 (58.0) is the toll poll percentage what is the for percentage?
create table table_20683381_3 (for___percentage_ varchar, total_poll___percentage_ varchar, PRIMARY KEY (for___percentage_))
select for___percentage_ from table_20683381_3 where total_poll___percentage_ = "60,254 (58.0)"
What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11?
create table table_26362472_1 (left_office varchar, election_number varchar, PRIMARY KEY (left_office))
select left_office from table_26362472_1 where election_number = 11
What was the maximum fab (nm)?
create table table_26860595_2 (fab___nm__ integer, PRIMARY KEY (fab___nm__))
select max(fab___nm__) from table_26860595_2
How many economy stats for the player with 2/19 BBI?
create table table_28846752_13 (economy varchar, bbi varchar, PRIMARY KEY (economy))
select count(economy) from table_28846752_13 where bbi = "2/19"
what is the Chinese name for Forensic heroes ii?
create table table_11926114_1 (chinese_title varchar, english_title varchar, PRIMARY KEY (chinese_title))
select chinese_title from table_11926114_1 where english_title = "forensic heroes ii"
How many 180s have legs won of 45?
create table table_20948329_1 (legs_won varchar, PRIMARY KEY (legs_won))
select count(*) from table_20948329_1 where legs_won = 45
What is the order number for the theme of Mariah Carey?
create table table_15796100_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number))
select order__number from table_15796100_1 where theme = "mariah carey"
how much sesamin is in sesame seed?
create table table_1831262_2 (sesamin varchar, foodstuff varchar, PRIMARY KEY (sesamin))
select sesamin from table_1831262_2 where foodstuff = "sesame seed"
List the nations that have more than two ships.
create table ship (nationality varchar, PRIMARY KEY (nationality))
select nationality from ship group by nationality having count(*) > 2
List the description of all aircrafts.
create table aircraft (description varchar, PRIMARY KEY (description))
select description from aircraft
How many second place showings does snooker have?
create table table_20823568_2 (second_place_s_ varchar, sporting_profession varchar, PRIMARY KEY (second_place_s_))
select second_place_s_ from table_20823568_2 where sporting_profession = "snooker"
Name the least internal transfers
create table table_17650725_1 (internal_transfers integer, PRIMARY KEY (internal_transfers))
select min(internal_transfers) from table_17650725_1
Show the names and ids of tourist attractions that are visited at most once.
create table visits (tourist_attraction_id varchar, PRIMARY KEY (tourist_attraction_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))
select t1.name, t1.tourist_attraction_id from tourist_attractions as t1 join visits as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id group by t2.tourist_attraction_id having count(*) <= 1
What RolePlay actor played the same role Alison Pargeter played in the original production?
create table table_17827271_1 (roleplay varchar, actor_in_original_production varchar, PRIMARY KEY (roleplay))
select roleplay from table_17827271_1 where actor_in_original_production = "alison pargeter"
Name the artist for 7 points
create table table_21378339_5 (artist varchar, televote_points varchar, PRIMARY KEY (artist))
select count(artist) from table_21378339_5 where televote_points = 7
Name the probably futures for गरेस् gares 'may you do'
create table table_16337329_5 (probable_future varchar, imperative varchar, PRIMARY KEY (probable_future))
select probable_future from table_16337329_5 where imperative = "गरेस् gares 'may you do'"
Louisville International Airport had how many tonnes of cargo in 2011?
create table table_18047346_5 (tonnes varchar, airport_name varchar, PRIMARY KEY (tonnes))
select tonnes from table_18047346_5 where airport_name = "louisville international airport"
Who sponsors owner Bobby Dotter's team?
create table table_19908313_2 (primary_sponsor_s_ varchar, listed_owner_s_ varchar, PRIMARY KEY (primary_sponsor_s_))
select primary_sponsor_s_ from table_19908313_2 where listed_owner_s_ = "bobby dotter"
Find the name of all the cities and states.
create table addresses (town_city varchar, state_province_county varchar, PRIMARY KEY (town_city))
select town_city from addresses union select state_province_county from addresses
Show all payment method codes and the number of orders for each code.
create table invoices (payment_method_code varchar, PRIMARY KEY (payment_method_code))
select payment_method_code, count(*) from invoices group by payment_method_code
how many number of english when kunrei-shiki is otya
create table table_26263954_1 (english varchar, kunrei_shiki varchar, PRIMARY KEY (english))
select count(english) from table_26263954_1 where kunrei_shiki = "otya"
Name the dominant religion of srpska crnja
create table table_2562572_37 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))
select dominant_religion__2002_ from table_2562572_37 where settlement = "srpska crnja"
How many languages are in these films?
create table film (language_id varchar, PRIMARY KEY (language_id))
select count(distinct language_id) from film