question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
which team(s) won $2,605,05
create table table_2012187_1 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))
select team_s_ from table_2012187_1 where winnings = "$2,605,05"
What was the loan club when Derry played?
create table table_12608427_8 (loan_club varchar, name varchar, PRIMARY KEY (loan_club))
select loan_club from table_12608427_8 where name = "derry"
What is the phone and email for customer with first name Aniyah and last name Feest?
create table customers (customer_phone varchar, customer_email varchar, customer_first_name varchar, customer_last_name varchar, PRIMARY KEY (customer_phone))
select customer_phone, customer_email from customers where customer_first_name = "aniyah" and customer_last_name = "feest"
which driver got best time of day 1:16.93
create table table_20090682_4 (driver varchar, best_time_of_day varchar, PRIMARY KEY (driver))
select driver from table_20090682_4 where best_time_of_day = "1:16.93"
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?
create table table_26758262_1 (judges_residence varchar, municipalities_served varchar, PRIMARY KEY (judges_residence))
select judges_residence from table_26758262_1 where municipalities_served = "beacon falls , naugatuck , middlebury , prospect"
What is Liscumb when Haydon is 1632?
create table table_11447995_2 (liscumb varchar, haydon varchar, PRIMARY KEY (liscumb))
select liscumb from table_11447995_2 where haydon = "1632"
What is the land area for the RCM that has a population of 18847?
create table table_214920_1 (land_area varchar, population_canada_2011_census varchar, PRIMARY KEY (land_area))
select land_area from table_214920_1 where population_canada_2011_census = 18847
Name the minimum derby county goals
create table table_15201666_3 (derby_county integer, PRIMARY KEY (derby_county))
select min(derby_county) as goals from table_15201666_3
THe audio book with ISBN 978-1-4084-6879-1 is read by whom?
create table table_2950964_5 (read_by varchar, isbn varchar, PRIMARY KEY (read_by))
select read_by from table_2950964_5 where isbn = "isbn 978-1-4084-6879-1"
When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?
create table table_18143210_2 (first_season_of_current_spell_in_top_division varchar, first_season_in_top_division varchar, PRIMARY KEY (first_season_of_current_spell_in_top_division))
select first_season_of_current_spell_in_top_division from table_18143210_2 where first_season_in_top_division = "1964-65"
What is the project id and detail for the project with at least two documents?
create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id)); create table documents (project_id varchar, PRIMARY KEY (project_id))
select t1.project_id, t1.project_details from projects as t1 join documents as t2 on t1.project_id = t2.project_id group by t1.project_id having count(*) > 2
in the ft pct .667 what is the number of gp-gs
create table table_23817012_6 (gp_gs varchar, ft_pct varchar, PRIMARY KEY (gp_gs))
select count(gp_gs) from table_23817012_6 where ft_pct = ".667"
Name the country for troops per one million being 54.9
create table table_30108346_1 (country varchar, troops_per_one_million_population varchar, PRIMARY KEY (country))
select country from table_30108346_1 where troops_per_one_million_population = "54.9"
How many car models are produced by each maker ? Only list the count and the maker full name .
create table model_list (maker varchar, PRIMARY KEY (maker)); create table car_makers (fullname varchar, id varchar, PRIMARY KEY (fullname))
select count(*), t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id
How many tickets are sold for the Carver-Hawkeye Arena?
create table table_18277458_2 (ticket_sold___available varchar, venue varchar, PRIMARY KEY (ticket_sold___available))
select ticket_sold___available from table_18277458_2 where venue = "carver-hawkeye arena"
What is every high point when the team is Washington?
create table table_17325580_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))
select high_points from table_17325580_6 where team = "washington"
How many claim processing stages are there in total?
create table claims_processing_stages (id varchar, PRIMARY KEY (id))
select count(*) from claims_processing_stages
What is the id of the most recent order?
create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id))
select order_id from orders order by date_order_placed desc limit 1
List the name of physicians who took some appointment.
create table appointment (physician varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))
select t2.name from appointment as t1 join physician as t2 on t1.physician = t2.employeeid
List all the document names which contains "CV".
create table documents (document_name varchar, PRIMARY KEY (document_name))
select document_name from documents where document_name like "%cv%"
When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
create table table_189598_7 (population_density__per_km²_ varchar, name varchar, PRIMARY KEY (population_density__per_km²_))
select count(population_density__per_km²_) from table_189598_7 where name = "buffalo narrows"
What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?
create table table_2383498_4 (qld_cup_premierships varchar, home_ground varchar, PRIMARY KEY (qld_cup_premierships))
select qld_cup_premierships from table_2383498_4 where home_ground = "dairy farmers stadium"
Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee.
create table employees (first_name varchar, last_name varchar, id varchar, PRIMARY KEY (first_name)); create table employees (reports_to varchar, PRIMARY KEY (reports_to))
select t2.first_name, t2.last_name, count(t1.reports_to) from employees as t1 join employees as t2 on t1.reports_to = t2.id group by t1.reports_to order by count(t1.reports_to) desc limit 1
Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium
create table table_19317584_2 (city_and_venue varchar, PRIMARY KEY (city_and_venue))
select 3 as rd_placed from table_19317584_2 where city_and_venue = "krško , slovenia matije gubca stadium"
What is the license that is described as a tool for designing and executing workflows?
create table table_25474825_1 (license varchar, description varchar, PRIMARY KEY (license))
select license from table_25474825_1 where description = "tool for designing and executing workflows"
Name the 3 where weightlifter is m. van der goten ( bel )
create table table_16779068_5 (weightlifter varchar, PRIMARY KEY (weightlifter))
select 3 from table_16779068_5 where weightlifter = "m. van der goten ( bel )"
What are the names of the channels owned by CCTV or HBS?
create table channel (name varchar, owner varchar, PRIMARY KEY (name))
select name from channel where owner = 'cctv' or owner = 'hbs'
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?
create table table_16724844_1 (mens_open varchar, womens_40 varchar, PRIMARY KEY (mens_open))
select mens_open from table_16724844_1 where womens_40 = "sydney scorpions defeated hunter hornets"
What is the result at the Masters for the player who finished R16 at the PGA Ch.?
create table table_1506950_9 (masters varchar, pga_ch varchar, PRIMARY KEY (masters))
select masters from table_1506950_9 where pga_ch = "r16"
What was the original airdate of the episode "The Cold Turkey", which was viewed by 3.73 million viewers?
create table table_17467578_1 (original_airdate varchar, us_viewers__million_ varchar, PRIMARY KEY (original_airdate))
select original_airdate from table_17467578_1 where us_viewers__million_ = "3.73"
what is the date (from) where date (to) is 1919?
create table table_12562214_1 (date__from_ varchar, date__to_ varchar, PRIMARY KEY (date__from_))
select date__from_ from table_12562214_1 where date__to_ = "1919"
Name the total number of reason for change for not filled this congress
create table table_225200_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))
select count(reason_for_change) from table_225200_4 where date_successor_seated = "not filled this congress"
When town is the type what is the settlement?
create table table_2562572_25 (settlement varchar, type varchar, PRIMARY KEY (settlement))
select settlement from table_2562572_25 where type = "town"
What is the id, name and nationality of the architect who built most mills?
create table architect (id varchar, name varchar, nationality varchar, PRIMARY KEY (id)); create table mill (architect_id varchar, PRIMARY KEY (architect_id))
select t1.id, t1.name, t1.nationality from architect as t1 join mill as t2 on t1.id = t2.architect_id group by t1.id order by count(*) desc limit 1
How many status are there for Moncton?
create table table_176529_2 (status varchar, official_name varchar, PRIMARY KEY (status))
select count(status) from table_176529_2 where official_name = "moncton"
How many project staff worked as leaders or started working before '1989-04-24 23:51:54'?
create table project_staff (role_code varchar, date_from varchar, PRIMARY KEY (role_code))
select count(*) from project_staff where role_code = 'leader' or date_from < '1989-04-24 23:51:54'
what's the state with highest point being mount katahdin
create table table_1416612_1 (state varchar, highest_point varchar, PRIMARY KEY (state))
select state from table_1416612_1 where highest_point = "mount katahdin"
How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
create table table_23840623_4 (clean_electric_grid_california__san_francisco_ varchar, vehicle varchar, PRIMARY KEY (clean_electric_grid_california__san_francisco_))
select count(clean_electric_grid_california__san_francisco_) from table_23840623_4 where vehicle = "nissan leaf"
When middle prut valley is the land formation what is the highest of which currently forests, km² ?
create table table_19242_5 (_km² varchar, of_which_currently_forests integer, land_formation varchar, PRIMARY KEY (_km²))
select max(of_which_currently_forests), _km² from table_19242_5 where land_formation = "middle prut valley"
Show all document ids, names and the number of paragraphs in each document.
create table documents (document_name varchar, document_id varchar, PRIMARY KEY (document_name)); create table paragraphs (document_id varchar, PRIMARY KEY (document_id))
select t1.document_id, t2.document_name, count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id
What are the names and trade names of the medicines which has 'Yes' value in the FDA record?
create table medicine (name varchar, trade_name varchar, fda_approved varchar, PRIMARY KEY (name))
select name, trade_name from medicine where fda_approved = 'yes'
Which titles have been published by Gamehouse Live?
create table table_28621502_1 (title varchar, publisher varchar, PRIMARY KEY (title))
select title from table_28621502_1 where publisher = "gamehouse live"
Who wrote the episode that aired December 1, 1956?
create table table_25800134_1 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_))
select writer_s_ from table_25800134_1 where airdate = "december 1, 1956"
Who is every play-by-play announcer when Chris Rose is the trophy presenter?
create table table_2941848_2 (play_by_play_announcer varchar, trophy_presentation varchar, PRIMARY KEY (play_by_play_announcer))
select play_by_play_announcer from table_2941848_2 where trophy_presentation = "chris rose"
When was successor David Atwood (R) seated?
create table table_2417345_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))
select date_successor_seated from table_2417345_4 where successor = "david atwood (r)"
How many peak positions were there on the daily charts?
create table table_23180638_1 (peak_position varchar, oricon_albums_chart varchar, PRIMARY KEY (peak_position))
select peak_position from table_23180638_1 where oricon_albums_chart = "daily charts"
What is every value for Serbs if value for Hungarians is 9.26%?
create table table_2374338_2 (serbs varchar, hungarians varchar, PRIMARY KEY (serbs))
select serbs from table_2374338_2 where hungarians = "9.26%"
List the email, cell phone and home phone of all the professionals.
create table professionals (email_address varchar, cell_number varchar, home_phone varchar, PRIMARY KEY (email_address))
select email_address, cell_number, home_phone from professionals
how many open 2nd viii had u15 3rd iv being gt
create table table_11318462_5 (open_2nd_viii varchar, u15_3rd_iv varchar, PRIMARY KEY (open_2nd_viii))
select count(open_2nd_viii) from table_11318462_5 where u15_3rd_iv = "gt"
Which authority has a rocket launch called rehnuma-8?
create table table_11869952_1 (institutional_authority varchar, rocket_launch varchar, PRIMARY KEY (institutional_authority))
select institutional_authority from table_11869952_1 where rocket_launch = "rehnuma-8"
Who is the lites 2 race two winning team when #11 Performance Tech is the lites 1 race two winning team?
create table table_26638600_3 (lites_2_race_two_winning_team varchar, lites_1_race_two_winning_team varchar, PRIMARY KEY (lites_2_race_two_winning_team))
select lites_2_race_two_winning_team from table_26638600_3 where lites_1_race_two_winning_team = "#11 performance tech"
How many songs are there?
create table songs (id varchar, PRIMARY KEY (id))
select count(*) from songs
Name the network for dré steemans ann van elsen
create table table_16884579_1 (network varchar, host_s_ varchar, PRIMARY KEY (network))
select network from table_16884579_1 where host_s_ = "dré steemans ann van elsen"
Who took first place in week 6?
create table table_2054561_2 (first_place varchar, no_of_weeks varchar, PRIMARY KEY (first_place))
select count(first_place) from table_2054561_2 where no_of_weeks = 6
What is who-two where you and i is ngœban?
create table table_1015914_24 (who_two varchar, you_and_i varchar, PRIMARY KEY (who_two))
select who_two from table_1015914_24 where you_and_i = "ngœban"
What classifications does Fish Rap live! has?
create table table_2266990_2 (classification varchar, title varchar, PRIMARY KEY (classification))
select classification from table_2266990_2 where title = "fish rap live!"
What is the rate limit when the desired rate (p) is 162?
create table table_25316812_1 (rate_limit__p_ varchar, desired_rate__p_ varchar, PRIMARY KEY (rate_limit__p_))
select rate_limit__p_ from table_25316812_1 where desired_rate__p_ = "162"
Which player went to college in Oklahoma?
create table table_10966926_2 (player_name varchar, college varchar, PRIMARY KEY (player_name))
select player_name from table_10966926_2 where college = "oklahoma"
If the -250m is 18.852, what is the
create table table_1912276_2 (__750m varchar, __250m varchar, PRIMARY KEY (__750m))
select __750m from table_1912276_2 where __250m = "18.852"
What is every value for approximate duration when event details is women's foil?
create table table_28003469_1 (approx_duration varchar, event_details varchar, PRIMARY KEY (approx_duration))
select approx_duration from table_28003469_1 where event_details = "women's foil"
Name the coach for may 20, 2010
create table table_2140071_10 (coach varchar, premier_date varchar, PRIMARY KEY (coach))
select coach from table_2140071_10 where premier_date = "may 20, 2010"
Who won the race at the Jersey circuit?
create table table_1140119_5 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))
select winning_driver from table_1140119_5 where circuit = "jersey"
What is the FSB of the model with part number lf80537ge0251mn?
create table table_11602313_4 (fsb varchar, part_number_s_ varchar, PRIMARY KEY (fsb))
select fsb from table_11602313_4 where part_number_s_ = "lf80537ge0251mn"
What is every team in the location of Port Moresby?
create table table_2383498_4 (team varchar, location varchar, PRIMARY KEY (team))
select team from table_2383498_4 where location = "port moresby"
Name the high points for 21-45 record
create table table_22871239_9 (high_points varchar, record varchar, PRIMARY KEY (high_points))
select count(high_points) from table_22871239_9 where record = "21-45"
What was the original air date for the episode with 13.92 million us viewers?
create table table_26565936_2 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_26565936_2 where us_viewers__millions_ = "13.92"
Name the trinidad for yellow-bellied puffing snake
create table table_1850282_7 (trinidad varchar, common_name varchar, PRIMARY KEY (trinidad))
select trinidad from table_1850282_7 where common_name = "yellow-bellied puffing snake"
Show all card type codes and the number of cards in each type.
create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))
select card_type_code, count(*) from customers_cards group by card_type_code
Who made the decision on the game where the record was 29-28-12?
create table table_27537518_9 (decision varchar, record varchar, PRIMARY KEY (decision))
select decision from table_27537518_9 where record = "29-28-12"
If the opponent was the Philadelphia flyers, what was the record?
create table table_27537870_6 (record varchar, opponent varchar, PRIMARY KEY (record))
select record from table_27537870_6 where opponent = "philadelphia flyers"
Name the nickerie for marowijne being 4.7%
create table table_16886076_1 (nickerie varchar, marowijne varchar, PRIMARY KEY (nickerie))
select count(nickerie) from table_16886076_1 where marowijne = "4.7%"
What is Esperance pipeline co total diameter?
create table table_17918238_1 (maximum_diameter varchar, owner_operator varchar, PRIMARY KEY (maximum_diameter))
select maximum_diameter from table_17918238_1 where owner_operator = "esperance pipeline co"
Find the names of all artists that have "a" in their names.
create table artist (name varchar, PRIMARY KEY (name))
select name from artist where name like "%a%"
How many cellos are suggested in the reference with section size for 20 players?
create table table_2414_1 (celli varchar, section_size varchar, PRIMARY KEY (celli))
select celli from table_2414_1 where section_size = "20 players"
Which title did Neil Affleck direct?
create table table_14724369_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
select title from table_14724369_1 where directed_by = "neil affleck"
what race name had a uci rating of cn?
create table table_27887723_1 (race_name varchar, uci_rating varchar, PRIMARY KEY (race_name))
select race_name from table_27887723_1 where uci_rating = "cn"
What is the format for South Australia?
create table table_1000181_1 (format varchar, state_territory varchar, PRIMARY KEY (format))
select format from table_1000181_1 where state_territory = "south australia"
What is the title when u.s. viewers (millions) is 3.97?
create table table_18481791_3 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))
select title from table_18481791_3 where us_viewers__in_millions_ = "3.97"
state the institution in glenside, pennsylvania
create table table_1974632_1 (institution varchar, location varchar, PRIMARY KEY (institution))
select institution from table_1974632_1 where location = "glenside, pennsylvania"
How many players attended Hillcrest High School?
create table table_11677691_1 (college varchar, school varchar, PRIMARY KEY (college))
select count(college) from table_11677691_1 where school = "hillcrest high school"
What bran is the callsign dytc-fm?
create table table_2610582_7 (branding varchar, callsign varchar, PRIMARY KEY (branding))
select branding from table_2610582_7 where callsign = "dytc-fm"
Which country does Airline "JetBlue Airways" belong to?
create table airlines (country varchar, airline varchar, PRIMARY KEY (country))
select country from airlines where airline = "jetblue airways"
What period was the life expectancy at 62.4?
create table table_27434_2 (period varchar, life_expectancy_total varchar, PRIMARY KEY (period))
select period from table_27434_2 where life_expectancy_total = "62.4"
Who wrote the episodes watched by 1.816 million people in Canada?
create table table_18424435_3 (written_by varchar, canadian_viewers__million_ varchar, PRIMARY KEY (written_by))
select written_by from table_18424435_3 where canadian_viewers__million_ = "1.816"
What is the engine type when the max torque at rpm is n·m ( lbf·ft ) @ 4,800 Answers:?
create table table_1147705_1 (engine_type varchar, max_torque_at_rpm varchar, PRIMARY KEY (engine_type))
select engine_type from table_1147705_1 where max_torque_at_rpm = "n·m ( lbf·ft ) @ 4,800"
Which episode number aired on 18 october 2012?
create table table_25721_3 (episode_no integer, airdate varchar, PRIMARY KEY (episode_no))
select min(episode_no) from table_25721_3 where airdate = "18 october 2012"
Who had the fastest lap when the winning driver is giorgio sanna?
create table table_26920192_5 (fastest_lap varchar, winning_driver varchar, PRIMARY KEY (fastest_lap))
select fastest_lap from table_26920192_5 where winning_driver = "giorgio sanna"
What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95?
create table table_11916083_1 (mintage__bu_ varchar, _clarification_needed_ varchar, artist varchar, issue_price__proof_ varchar, PRIMARY KEY (mintage__bu_))
select mintage__bu_[_clarification_needed_] from table_11916083_1 where artist = "royal canadian mint staff" and issue_price__proof_ = "$54.95"
Which team classification has malaysian team classification of mncf continental team?
create table table_22464308_2 (team_classification varchar, malaysian_team_classification varchar, PRIMARY KEY (team_classification))
select team_classification from table_22464308_2 where malaysian_team_classification = "mncf continental team"
What is the link abilities when the predecessors is ti-85?
create table table_11703336_1 (link_abilities varchar, predecessors varchar, PRIMARY KEY (link_abilities))
select link_abilities from table_11703336_1 where predecessors = "ti-85"
what is the party where the incumbent is edward boland?
create table table_1341690_21 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1341690_21 where incumbent = "edward boland"
Name the featuring for pat mills
create table table_1620397_2 (featuring varchar, author varchar, PRIMARY KEY (featuring))
select featuring from table_1620397_2 where author = "pat mills"
what are the song names for the film kaal bhairav?
create table table_11827596_2 (song_name varchar, film_name varchar, PRIMARY KEY (song_name))
select song_name from table_11827596_2 where film_name = "kaal bhairav"
Which team has an up/down of + 3479?
create table table_2472711_31 (team varchar, up_down varchar, PRIMARY KEY (team))
select team from table_2472711_31 where up_down = "+ 3479"
How many head coaches are there for the website, http://www.burleighbulldogs.org/?
create table table_11365528_2 (head_coach varchar, website varchar, PRIMARY KEY (head_coach))
select count(head_coach) from table_11365528_2 where website = "http://www.burleighbulldogs.org/"
What is the Original air date for the episode directed by Tricia Brock?
create table table_13183076_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_13183076_3 where directed_by = "tricia brock"
Which competition did the toronto city saints win?
create table table_25735_1 (competition varchar, winner varchar, PRIMARY KEY (competition))
select competition from table_25735_1 where winner = "toronto city saints"
how many categories fall under the category of britons?
create table table_261895_1 (type varchar, nickname varchar, PRIMARY KEY (type))
select count(type) from table_261895_1 where nickname = "britons"
What is the trademark listed for the molecular target : dna-binding?
create table table_12715053_1 (trademark varchar, molecular_target varchar, PRIMARY KEY (trademark))
select trademark from table_12715053_1 where molecular_target = "dna-binding"
Who is the famous for that finished 2nd?
create table table_14345690_5 (famous_for varchar, finished varchar, PRIMARY KEY (famous_for))
select famous_for from table_14345690_5 where finished = "2nd"