question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
What is the program where the focus is risk management and regulation?
create table table_12591022_2 (program varchar, focus varchar, PRIMARY KEY (program))
select program from table_12591022_2 where focus = "risk management and regulation"
In Tonga, what is the conversion from patent application?
create table table_2279413_1 (conversion_from_patent_application varchar, country varchar, PRIMARY KEY (conversion_from_patent_application))
select conversion_from_patent_application from table_2279413_1 where country = "tonga"
How many kinds of enzymes are there?
create table enzyme (id varchar, PRIMARY KEY (id))
select count(*) from enzyme
Name the author for peri and april 2010
create table table_1620397_2 (author varchar, featuring varchar, released varchar, PRIMARY KEY (author))
select author from table_1620397_2 where featuring = "peri" and released = "april 2010"
Wh owas the captian of the north east stars?
create table table_25794138_1 (captain varchar, team varchar, PRIMARY KEY (captain))
select captain from table_25794138_1 where team = "north east stars"
Name the successor for james noble died in previous congress
create table table_225198_3 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))
select successor from table_225198_3 where reason_for_change = "james noble died in previous congress"
If the winner is Rui Costa, who made the mountains classification?
create table table_27573848_18 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))
select mountains_classification from table_27573848_18 where winner = "rui costa"
What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?
create table table_16201038_4 (at_opponents_venue varchar, last_5_meetings varchar, at_neutral_site varchar, PRIMARY KEY (at_opponents_venue))
select at_opponents_venue from table_16201038_4 where last_5_meetings = "mu, 4-1" and at_neutral_site = "tied, 0-0"
How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta?
create table table_28793672_1 (golden_tickets varchar, callback_venue varchar, PRIMARY KEY (golden_tickets))
select count(golden_tickets) from table_28793672_1 where callback_venue = "rcti studio, jakarta"
In what years was a film submitted with the title The Enigma of Kaspar Hauser?
create table table_10874596_1 (year_ varchar, e_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year_))
select year_[e_] as __ceremony_ from table_10874596_1 where film_title_used_in_nomination = "the enigma of kaspar hauser"
If winner is alejandro Valverde and the points Classification is by Erik Zabel, who is the mountain classification?
create table table_15059783_1 (mountains_classification varchar, winner varchar, points_classification varchar, PRIMARY KEY (mountains_classification))
select mountains_classification from table_15059783_1 where winner = "alejandro valverde" and points_classification = "erik zabel"
what is the compression ratio whre the torque is 208?
create table table_23722304_2 (compression_ratio varchar, torque__n_m_ varchar, PRIMARY KEY (compression_ratio))
select compression_ratio from table_23722304_2 where torque__n_m_ = 208
What was the loss/gain when the affiliation was solidarity?
create table table_25818630_2 (loss_gain varchar, affiliation varchar, PRIMARY KEY (loss_gain))
select loss_gain from table_25818630_2 where affiliation = "solidarity"
What are the names of gymnasts?
create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))
select t2.name from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id
what is the bore where the vehicle code is t214?
create table table_23722304_2 (bore__mm_ varchar, vehicle_code varchar, PRIMARY KEY (bore__mm_))
select bore__mm_ from table_23722304_2 where vehicle_code = "t214"
Which air dates have 1.229 canadian viewers (millions)?
create table table_18424435_5 (us_air_date varchar, canadian_viewers__million_ varchar, PRIMARY KEY (us_air_date))
select us_air_date from table_18424435_5 where canadian_viewers__million_ = "1.229"
where was the total attendance-regular season record made
create table table_21436373_12 (stadium varchar, type_of_record varchar, PRIMARY KEY (stadium))
select stadium from table_21436373_12 where type_of_record = "total attendance-regular season"
Name the most bits 14-12 for output from accumulator to character bus
create table table_14249278_1 (bits_14_12 integer, description varchar, PRIMARY KEY (bits_14_12))
select min(bits_14_12) from table_14249278_1 where description = "output from accumulator to character bus"
what is the frequency (hz) when the g (μs/km) is 53.205?
create table table_261642_3 (frequency__hz_ varchar, g__μs_km_ varchar, PRIMARY KEY (frequency__hz_))
select frequency__hz_ from table_261642_3 where g__μs_km_ = "53.205"
How many percentage figures are given for the urban population when the total population number is 14685?
create table table_16645_1 (__percentage varchar, urban varchar, population__000_ varchar, PRIMARY KEY (__percentage))
select count(urban), __percentage from table_16645_1 where population__000_ = 14685
Title is the total number where u.s. viewers (million) is 7.56.
create table table_27115960_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))
select count(title) from table_27115960_1 where us_viewers__million_ = "7.56"
Who was the iron chef when herb Faust was the challenger?
create table table_29281529_2 (iron_chef varchar, challenger varchar, PRIMARY KEY (iron_chef))
select iron_chef from table_29281529_2 where challenger = "herb faust"
Who scored the most rebounds in the game against Chicago?
create table table_15869204_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_15869204_9 where team = "chicago"
What was the stadium in Moorabbin, Victoria built for?
create table table_28885977_1 (built_for varchar, location varchar, PRIMARY KEY (built_for))
select built_for from table_28885977_1 where location = "moorabbin, victoria"
Name the womens singles for korea open super series
create table table_14496232_2 (womens_singles varchar, tour varchar, PRIMARY KEY (womens_singles))
select womens_singles from table_14496232_2 where tour = "korea open super series"
Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?
create table table_27743641_2 (lmp2_winning_driver varchar, lmp1_winning_team varchar, PRIMARY KEY (lmp2_winning_driver))
select lmp2_winning_driver from table_27743641_2 where lmp1_winning_team = "no. 20 oryx dyson racing"
What is the NCBI Accession Number of the Homo Sapiens species?
create table table_16849531_2 (ncbi_accession_number__mrna_protein_ varchar, species varchar, PRIMARY KEY (ncbi_accession_number__mrna_protein_))
select ncbi_accession_number__mrna_protein_ from table_16849531_2 where species = "homo sapiens"
What is the name of the element with isotopic mass of 158.925 34(2)?
create table table_15366768_1 (element varchar, isotopic_mass___u__ varchar, PRIMARY KEY (element))
select element from table_15366768_1 where isotopic_mass___u__ = "158.925 34(2)"
How many years was the original title was স্বপ্নডানায় (swopnodanay)?
create table table_17156199_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))
select count(year__ceremony_) from table_17156199_1 where original_title = "স্বপ্নডানায় (swopnodanay)"
what's the computing mechanbeingm with name being atanasoff–berry computer (us)
create table table_13636_1 (computing_mechanism varchar, name varchar, PRIMARY KEY (computing_mechanism))
select computing_mechanism from table_13636_1 where name = "atanasoff–berry computer (us)"
Please show the names of the buildings whose status is "on-hold", in ascending order of stories.
create table buildings (name varchar, status varchar, stories varchar, PRIMARY KEY (name))
select name from buildings where status = "on-hold" order by stories
Who was in the 2005 film with the role mark cohen?
create table table_26436_2 (role varchar, PRIMARY KEY (role))
select 2005 as _film from table_26436_2 where role = "mark cohen"
Find the emails and phone numbers of all the customers, ordered by email address and phone number.
create table customers (email_address varchar, phone_number varchar, PRIMARY KEY (email_address))
select email_address, phone_number from customers order by email_address, phone_number
What is the coverage for relay tv-37?
create table table_12379297_1 (coverage__transmitter_site_ varchar, station_type varchar, ch__number varchar, PRIMARY KEY (coverage__transmitter_site_))
select coverage__transmitter_site_ from table_12379297_1 where station_type = "relay" and ch__number = "tv-37"
What song did Robin perform with a result of 4.0?
create table table_21234111_10 (song varchar, robin varchar, PRIMARY KEY (song))
select song from table_21234111_10 where robin = "4.0"
How many teams drafted players from the University of Maryland?
create table table_25518547_3 (mls_team varchar, affiliation varchar, PRIMARY KEY (mls_team))
select count(mls_team) from table_25518547_3 where affiliation = "university of maryland"
What nationality is listed when the college/junior/club team is oshawa generals (ohl)?
create table table_2850912_7 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))
select nationality from table_2850912_7 where college_junior_club_team = "oshawa generals (ohl)"
List the names of people that are not poker players.
create table poker_player (name varchar, people_id varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))
select name from people where not people_id in (select people_id from poker_player)
What university team is referred to as the tigers?
create table table_2419754_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))
select institution from table_2419754_1 where nickname = "tigers"
How many drivers drove on Suzuka Circuit where Loïc Duval took pole position?
create table table_22379931_2 (winning_driver varchar, circuit varchar, pole_position varchar, PRIMARY KEY (winning_driver))
select count(winning_driver) from table_22379931_2 where circuit = "suzuka circuit" and pole_position = "loïc duval"
What is the general classification with the winner being evgeni berzin?
create table table_12261926_2 (general_classification varchar, winner varchar, PRIMARY KEY (general_classification))
select count(general_classification) from table_12261926_2 where winner = "evgeni berzin"
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
create table table_2383498_4 (last_year_in_qld_cup varchar, qld_cup_premierships varchar, PRIMARY KEY (last_year_in_qld_cup))
select count(last_year_in_qld_cup) from table_2383498_4 where qld_cup_premierships = "1996, 2001"
What is the civil parish of Aghafullim?
create table table_28802165_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))
select civil_parish from table_28802165_1 where townland = "aghafullim"
What is the model number for part numbers of cm80616003177acbx80616i5660?
create table table_23028629_2 (model_number varchar, part_number_s_ varchar, PRIMARY KEY (model_number))
select model_number from table_23028629_2 where part_number_s_ = "cm80616003177acbx80616i5660"
What was the margin of victory over Justin Leonard, phillip price?
create table table_11570261_2 (margin_of_victory varchar, runner_s__up varchar, PRIMARY KEY (margin_of_victory))
select count(margin_of_victory) from table_11570261_2 where runner_s__up = "justin leonard, phillip price"
How many tree species are in the kitechura reserve?
create table table_16577990_1 (tree_species varchar, central_forest_reserve varchar, PRIMARY KEY (tree_species))
select tree_species from table_16577990_1 where central_forest_reserve = "kitechura"
What is the 3-dart average with a high checkout of 112?
create table table_20948329_1 (high_checkout varchar, PRIMARY KEY (high_checkout))
select 3 as _dart_average from table_20948329_1 where high_checkout = 112
What is the description of the measure that got 78.27% yes votes?
create table table_256286_55 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))
select description from table_256286_55 where _percentage_yes = "78.27%"
What is the maximum speed for total power of ps (kw; bhp)?
create table table_21154679_1 (top_speed varchar, max_power varchar, PRIMARY KEY (top_speed))
select top_speed from table_21154679_1 where max_power = "ps (kw; bhp)"
Find the name of the shops that do not hire any employee.
create table shop (name varchar, shop_id varchar, PRIMARY KEY (name)); create table hiring (name varchar, shop_id varchar, PRIMARY KEY (name))
select name from shop where not shop_id in (select shop_id from hiring)
who is the the candidates with incumbent being alfred j. elliott
create table table_1342233_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))
select candidates from table_1342233_6 where incumbent = "alfred j. elliott"
How many stations are called radyo5 101.9 news fm?
create table table_17822401_1 (location varchar, branding varchar, PRIMARY KEY (location))
select count(location) from table_17822401_1 where branding = "radyo5 101.9 news fm"
what is the official rating 16-39 for the episode with a 16-39 share of 22,77%?
create table table_29804176_23 (official_rating_16_39 varchar, share_16_39 varchar, PRIMARY KEY (official_rating_16_39))
select official_rating_16_39 from table_29804176_23 where share_16_39 = "22,77%"
List all people names in the order of their date of birth from old to young.
create table people (name varchar, date_of_birth varchar, PRIMARY KEY (name))
select name from people order by date_of_birth
Which position is most popular among players in the tryout?
create table tryout (ppos varchar, PRIMARY KEY (ppos))
select ppos from tryout group by ppos order by count(*) desc limit 1
Name the language for b. ajith kumar
create table table_24446718_3 (language varchar, awardee_s_ varchar, PRIMARY KEY (language))
select language from table_24446718_3 where awardee_s_ = "b. ajith kumar"
Name the outgoing manager for position in table being 11th
create table table_17039232_3 (outgoing_manager varchar, position_in_table varchar, PRIMARY KEY (outgoing_manager))
select outgoing_manager from table_17039232_3 where position_in_table = "11th"
What is the title that aired from 17 may 2008 – 21 june 2008 on Nederland 3?
create table table_178242_1 (name varchar, channel varchar, premiere___aired varchar, PRIMARY KEY (name))
select name from table_178242_1 where channel = "nederland 3" and premiere___aired = "17 may 2008 – 21 june 2008"
What are the ids, names and FDA approval status of medicines in descending order of the number of enzymes that it can interact with.
create table medicine_enzyme_interaction (medicine_id varchar, PRIMARY KEY (medicine_id)); create table medicine (id varchar, name varchar, fda_approved varchar, PRIMARY KEY (id))
select t1.id, t1.name, t1.fda_approved from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id group by t1.id order by count(*) desc
List the carriers of devices in ascending alphabetical order.
create table device (carrier varchar, PRIMARY KEY (carrier))
select carrier from device order by carrier
What is every entry for description when the value of %yes is 51.82%?
create table table_256286_43 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))
select description from table_256286_43 where _percentage_yes = "51.82%"
For home of River Plate, what is the first leg listed?
create table table_17968229_1 (home__2nd_leg_ varchar, PRIMARY KEY (home__2nd_leg_))
select 1 as st_leg from table_17968229_1 where home__2nd_leg_ = "river plate"
Which parts have more than 2 faults? Show the part name and id.
create table parts (part_name varchar, part_id varchar, PRIMARY KEY (part_name)); create table part_faults (part_id varchar, PRIMARY KEY (part_id))
select t1.part_name, t1.part_id from parts as t1 join part_faults as t2 on t1.part_id = t2.part_id group by t1.part_id having count(*) > 2
What is the lowest 2011 number (,000)?
create table table_273617_6 (id varchar, PRIMARY KEY (id))
select min(2011 as _number__), 000 as _ from table_273617_6
Who is the manager of FK Andijan?
create table table_25527255_2 (manager varchar, team varchar, PRIMARY KEY (manager))
select manager from table_25527255_2 where team = "fk andijan"
how many notes are form the date (from) 14 march 1910?
create table table_12562214_1 (notes varchar, date__from_ varchar, PRIMARY KEY (notes))
select count(notes) from table_12562214_1 where date__from_ = "14 march 1910"
What are the descriptions of the courses with name "database"?
create table courses (course_description varchar, course_name varchar, PRIMARY KEY (course_description))
select course_description from courses where course_name = "database"
what is гә гә [ɡʷ] when ҕь ҕь [ʁʲ/ɣʲ] is ҭә ҭә [tʷʰ]?
create table table_202365_2 (гә_гә_ varchar, ɡʷ varchar, ҕь_ҕь_ varchar, ʁʲ_ɣʲ varchar, PRIMARY KEY (гә_гә_))
select гә_гә_[ɡʷ] from table_202365_2 where ҕь_ҕь_[ʁʲ_ɣʲ] = "ҭә ҭә [tʷʰ]"
Name the route number for santa rosa avenue
create table table_25692955_1 (route_number varchar, north_east_terminal varchar, PRIMARY KEY (route_number))
select route_number from table_25692955_1 where north_east_terminal = "santa rosa avenue"
Who had all the high rebounds when kevin love (20) scored the highest points?
create table table_17058226_5 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))
select high_rebounds from table_17058226_5 where high_points = "kevin love (20)"
What is the total amount of allied-unrelated where the component is human capital?
create table table_11944282_1 (allied_unrelated varchar, component varchar, PRIMARY KEY (allied_unrelated))
select count(allied_unrelated) from table_11944282_1 where component = "human capital"
What is the title of S02E01?
create table table_20360535_3 (title varchar, television_order varchar, PRIMARY KEY (title))
select title from table_20360535_3 where television_order = "s02e01"
How many friends does Dan have?
create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, PRIMARY KEY (name))
select count(t2.friend) from person as t1 join personfriend as t2 on t1.name = t2.name where t1.name = 'dan'
How many distinct hometowns did these people have?
create table people (hometown varchar, PRIMARY KEY (hometown))
select count(distinct hometown) from people
San Juan Jabloteh calls which stadium home?
create table table_24039173_1 (stadium varchar, team varchar, PRIMARY KEY (stadium))
select stadium from table_24039173_1 where team = "san juan jabloteh"
Find the list of documents that are both in the most three popular type and have the most three popular structure.
create table documents (document_name varchar, document_type_code varchar, document_structure_code varchar, PRIMARY KEY (document_name))
select document_name from documents group by document_type_code order by count(*) desc limit 3 intersect select document_name from documents group by document_structure_code order by count(*) desc limit 3
On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?
create table table_1157867_2 (date_built varchar, wheel_arrangement varchar, builder varchar, PRIMARY KEY (date_built))
select date_built from table_1157867_2 where wheel_arrangement = "0-6-0 st" and builder = "hudswell clarke"
Name the percentage of votes for violinist
create table table_26267849_11 (percentage_of_votes varchar, act varchar, PRIMARY KEY (percentage_of_votes))
select percentage_of_votes from table_26267849_11 where act = "violinist"
How many themes have the original artist of Judy Garland?
create table table_15796100_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))
select count(theme) from table_15796100_1 where original_artist = "judy garland"
How many numbers were recorded under revenue when revenue per capita was $6,126?
create table table_14700336_1 (revenue__millions_ varchar, revenue_per_capita varchar, PRIMARY KEY (revenue__millions_))
select count(revenue__millions_) from table_14700336_1 where revenue_per_capita = "$6,126"
Name the title that aired for november 08, 1985
create table table_20967430_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))
select title from table_20967430_2 where original_air_date = "november 08, 1985"
What is the control for the school accredited by the higher learning commission ( nca ), ccne?
create table table_2076522_2 (control varchar, accreditation varchar, PRIMARY KEY (control))
select control from table_2076522_2 where accreditation = "the higher learning commission ( nca ), ccne"
How many rankings (timeslot) were there for the episode that aired on May 2, 2010?
create table table_23397386_2 (rank__timeslot_ varchar, airdate varchar, PRIMARY KEY (rank__timeslot_))
select count(rank__timeslot_) from table_23397386_2 where airdate = "may 2, 2010"
What are the international tourist arrivals(2010) where change from 2009 to 2010 is +11.1%?
create table table_14752049_2 (international_tourist_arrivals__2010_ varchar, change__2009_to_2010_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))
select international_tourist_arrivals__2010_ from table_14752049_2 where change__2009_to_2010_ = "+11.1%"
When gordon (27) had high points, what was the number of high assists?
create table table_11960610_10 (high_assists varchar, high_points varchar, PRIMARY KEY (high_assists))
select count(high_assists) from table_11960610_10 where high_points = "gordon (27)"
What are the issue dates of volumes associated with the artist "Gorgoroth"?
create table artist (artist_id varchar, artist varchar, PRIMARY KEY (artist_id)); create table volume (issue_date varchar, artist_id varchar, PRIMARY KEY (issue_date))
select t2.issue_date from artist as t1 join volume as t2 on t1.artist_id = t2.artist_id where t1.artist = "gorgoroth"
What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?
create table table_2383498_4 (first_year_in_qld_cup varchar, home_ground varchar, PRIMARY KEY (first_year_in_qld_cup))
select first_year_in_qld_cup from table_2383498_4 where home_ground = "corbett park, crosby park, lang park, anz stadium"
Show the party that has the most people.
create table people (party varchar, PRIMARY KEY (party))
select party from people group by party order by count(*) desc limit 1
What are all the countries where the electric company Ebisa has a presence?
create table table_19001916_2 (country varchar, entities varchar, PRIMARY KEY (country))
select country from table_19001916_2 where entities = "ebisa"
Which films participated in the 30th Hawaii International Film Festival?
create table table_29644931_1 (participants_recipients varchar, film_festival varchar, PRIMARY KEY (participants_recipients))
select participants_recipients from table_29644931_1 where film_festival = "30th hawaii international film_festival"
what is the total number of sesamin were secoisolariciresinol is 240?
create table table_1831262_2 (sesamin varchar, secoisolariciresinol varchar, PRIMARY KEY (sesamin))
select sesamin from table_1831262_2 where secoisolariciresinol = 240
Name the number of titles written by adam i. lapidus
create table table_12030612_9 (title varchar, written_by varchar, PRIMARY KEY (title))
select count(title) from table_12030612_9 where written_by = "adam i. lapidus"
Name the segment c for crash test dummies
create table table_15187735_10 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))
select count(segment_c) from table_15187735_10 where segment_d = "crash test dummies"
What is the Format for Branding of 1290 wkbk w281au 104.1?
create table table_10333757_1 (format varchar, branding varchar, PRIMARY KEY (format))
select format from table_10333757_1 where branding = "1290 wkbk w281au 104.1"
How many college teams have a player with a nationality of Russia?
create table table_2840500_6 (college_junior_club_team varchar, nationality varchar, PRIMARY KEY (college_junior_club_team))
select count(college_junior_club_team) from table_2840500_6 where nationality = "russia"
Show the name of the party that has at least two records.
create table party (party varchar, PRIMARY KEY (party))
select party from party group by party having count(*) >= 2
What is the date opened if thedistrict ID is 11901?
create table table_22665117_1 (date_opened varchar, dist_id varchar, PRIMARY KEY (date_opened))
select date_opened from table_22665117_1 where dist_id = 11901
Who was Henry Hyde's opponent in the race?
create table table_1341568_14 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))
select opponent from table_1341568_14 where incumbent = "henry hyde"
How many years has station KPIX been owned?
create table table_1553485_1 (years_owned varchar, station varchar, PRIMARY KEY (years_owned))
select count(years_owned) from table_1553485_1 where station = "kpix"
When arthur collins is the winner what is the reason?
create table table_28898948_3 (reason varchar, winner varchar, PRIMARY KEY (reason))
select reason from table_28898948_3 where winner = "arthur collins"