diff --git "a/refined-sql-create-context.json" "b/refined-sql-create-context.json" new file mode 100644--- /dev/null +++ "b/refined-sql-create-context.json" @@ -0,0 +1,58163 @@ +[ + { + "question": "What are the id and name of the museum visited most times?", + "context": "create table museum (name varchar, museum_id varchar, PRIMARY KEY (name)); create table visit (museum_id varchar, PRIMARY KEY (museum_id))", + "answer": "select t2.museum_id, t1.name from museum as t1 join visit as t2 on t1.museum_id = t2.museum_id group by t2.museum_id order by count(*) desc limit 1" + }, + { + "question": "Find the first name and gender of student who have more than one pet.", + "context": "create table student (fname varchar, sex varchar, stuid varchar, PRIMARY KEY (fname)); create table has_pet (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select t1.fname, t1.sex from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid having count(*) > 1" + }, + { + "question": "Find the id of users who are followed by Mary and Susan.", + "context": "create table follows (f1 varchar, f2 varchar, PRIMARY KEY (f1)); create table user_profiles (uid varchar, name varchar, PRIMARY KEY (uid))", + "answer": "select t2.f1 from user_profiles as t1 join follows as t2 on t1.uid = t2.f2 where t1.name = \"mary\" intersect select t2.f1 from user_profiles as t1 join follows as t2 on t1.uid = t2.f2 where t1.name = \"susan\"" + }, + + { + "question": "Which document type is described with the prefix 'Initial'?", + "context": "create table document_types (document_type_code varchar, document_description varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from document_types where document_description like 'initial%'" + }, + { + "question": "Find the names of stadiums which have never had any event.", + "context": "create table stadium (name_ varchar, id varchar, stadium_id varchar, PRIMARY KEY (name_)); create table events_ (name_ varchar, id varchar, stadium_id varchar, PRIMARY KEY (name_))", + "answer": "select name_ from stadium where not id in (select stadium_id from events_)" + }, + { + "question": "Name the explanation for alben w. barkley", + "context": "create table table_2026548_1 (explanation varchar, vice_president varchar, PRIMARY KEY (explanation))", + "answer": "select explanation from table_2026548_1 where vice_president = \"alben w. barkley\"" + }, + { + "question": "If the parallel bars is 16.150, who is the gymnast?", + "context": "create table table_18662026_10 (gymnast varchar, parallel_bars varchar, PRIMARY KEY (gymnast))", + "answer": "select gymnast from table_18662026_10 where parallel_bars = \"16.150\"" + }, + { + "question": "how many times is the cyrillic name \u0441\u0438\u0431\u0430\u0447?", + "context": "create table table_2562572_52 (dominant_religion__2002_ varchar, cyrillic_name varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select count(dominant_religion__2002_) from table_2562572_52 where cyrillic_name = \"\u0441\u0438\u0431\u0430\u0447\"" + }, + { + "question": "What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment?", + "context": "create table table_17118006_2 (local_investment__us$_ varchar, bid_pronar_investment__us$_ varchar, PRIMARY KEY (local_investment__us$_))", + "answer": "select local_investment__us$_ from table_17118006_2 where bid_pronar_investment__us$_ = \"912,185\"" + }, + { + "question": "What was the elapsed time for the championship that had $9,377.42 in prize money?", + "context": "create table table_22050544_4 (elapsed_time varchar, prize varchar, PRIMARY KEY (elapsed_time))", + "answer": "select elapsed_time from table_22050544_4 where prize = \"$9,377.42\"" + }, + { + "question": "What is the incident type description for the incident type with code \"VIOLENCE\"?", + "context": "create table ref_incident_type (incident_type_description varchar, incident_type_code varchar, PRIMARY KEY (incident_type_description))", + "answer": "select incident_type_description from ref_incident_type where incident_type_code = \"violence\"" + }, + { + "question": "How many inches is the barrel length when the rear sight is weaver and the barrel profile is A2?", + "context": "create table table_12834315_8 (barrel_length varchar, rear_sight varchar, barrel_profile varchar, PRIMARY KEY (barrel_length))", + "answer": "select barrel_length from table_12834315_8 where rear_sight = \"weaver\" and barrel_profile = \"a2\"" + }, + { + "question": "How many towns exist on the government area with a surface of 110 square kilometers?", + "context": "create table table_23685890_2 (towns integer, land_area__km\u00b2_ varchar, PRIMARY KEY (towns))", + "answer": "select min(towns) from table_23685890_2 where land_area__km\u00b2_ = \"110\"" + }, + { + "question": "When Ryan Anderson won the mountains classification, and Michael Rogers won the general classification, who won the sprint classification?", + "context": "create table table_25055040_22 (sprint_classification varchar, mountains_classification varchar, general_classification varchar, PRIMARY KEY (sprint_classification))", + "answer": "select sprint_classification from table_25055040_22 where mountains_classification = \"ryan anderson\" and general_classification = \"michael rogers\"" + }, + { + "question": "Name the total number of qualifiying for race 3 being 3", + "context": "create table table_15530244_5 (qualifying varchar, race_3 varchar, PRIMARY KEY (qualifying))", + "answer": "select count(qualifying) from table_15530244_5 where race_3 = \"3\"" + }, + { + "question": "Name the b winning car for #88 team mitsubishi 88 mitsubishi starion", + "context": "create table table_27965906_2 (b_winning_car varchar, a_winning_car varchar, PRIMARY KEY (b_winning_car))", + "answer": "select b_winning_car from table_27965906_2 where a_winning_car = \"#88 team mitsubishi 88 mitsubishi starion\"" + }, + { + "question": "How many births per year are there for the period with 998 000 deaths per year?", + "context": "create table table_18950570_2 (live_births_per_year varchar, deaths_per_year varchar, PRIMARY KEY (live_births_per_year))", + "answer": "select live_births_per_year from table_18950570_2 where deaths_per_year = \"998 000\"" + }, + { + "question": "What are the dates of the assessment notes?", + "context": "create table assessment_notes (date_of_notes varchar, PRIMARY KEY (date_of_notes))", + "answer": "select date_of_notes from assessment_notes" + }, + { + "question": "Find the ids of orders whose status is 'Success'.", + "context": "create table actual_orders (actual_order_id varchar, order_status_code varchar, PRIMARY KEY (actual_order_id))", + "answer": "select actual_order_id from actual_orders where order_status_code = 'success'" + }, + { + "question": "When 2 is the ka-band how many properties are there?", + "context": "create table table_186468_1 (property varchar, ka_band varchar, PRIMARY KEY (property))", + "answer": "select count(property) from table_186468_1 where ka_band = \"2\"" + }, + { + "question": "Name the name of the state", + "context": "create table table_15463188_7 (name varchar, school_club_team varchar, PRIMARY KEY (name))", + "answer": "select name from table_15463188_7 where school_club_team = \"state\"" + }, + { + "question": "How many different kinds of lens brands are there?", + "context": "create table camera_lens (brand varchar, PRIMARY KEY (brand))", + "answer": "select count(distinct brand) from camera_lens" + }, + { + "question": "What is the flange width (mm) for cross section area (cm 2) 16.4?", + "context": "create table table_2071644_1 (flange_width__mm_ varchar, cross_section_area__cm_2__ varchar, PRIMARY KEY (flange_width__mm_))", + "answer": "select count(flange_width__mm_) from table_2071644_1 where cross_section_area__cm_2__ = \"16.4\"" + }, + { + "question": "What party did the incumbent Joseph Pearson belong to?", + "context": "create table table_2668367_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668367_14 where incumbent = \"joseph pearson\"" + }, + { + "question": "If the team is Rubio \u00f1\u00fa, what is the 08 points?", + "context": "create table table_22011138_7 (team varchar, PRIMARY KEY (team))", + "answer": "select 08 as _pts from table_22011138_7 where team = \"rubio \u00f1\u00fa\"" + }, + { + "question": "What is the name of the road race held in Omsk, Russia?", + "context": "create table table_26166836_3 (road_race varchar, location varchar, PRIMARY KEY (road_race))", + "answer": "select road_race from table_26166836_3 where location = \"omsk\"" + }, + { + "question": "What is the brand name for the antibody Brentuximab Vedotin?", + "context": "create table table_1661124_1 (brand_name varchar, antibody varchar, PRIMARY KEY (brand_name))", + "answer": "select brand_name from table_1661124_1 where antibody = \"brentuximab vedotin\"" + }, + { + "question": "How many digital terrestrial channels are there for channel 4?", + "context": "create table table_182410_10 (digital_terrestrial_channel varchar, channel varchar, PRIMARY KEY (digital_terrestrial_channel))", + "answer": "select count(digital_terrestrial_channel) from table_182410_10 where channel = \"channel 4\"" + }, + { + "question": "How many written by have wendey stanzler as the director?", + "context": "create table table_22570439_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_22570439_1 where directed_by = \"wendey stanzler\"" + }, + { + "question": "What was the percentage of others when the number for Bush was 3196?", + "context": "create table table_1733513_1 (others_percentage varchar, bush_number varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_1733513_1 where bush_number = 3196" + }, + { + "question": "Name the number of naming for anomic aphasia", + "context": "create table table_2088_1 (naming varchar, type_of_aphasia varchar, PRIMARY KEY (naming))", + "answer": "select count(naming) from table_2088_1 where type_of_aphasia = \"anomic aphasia\"" + }, + { + "question": "How many values of free float for the BSE code of 4EH?", + "context": "create table table_20667854_1 (free_float varchar, bse_code varchar, PRIMARY KEY (free_float))", + "answer": "select count(free_float) from table_20667854_1 where bse_code = \"4eh\"" + }, + { + "question": "What is the date of the tournament at Hokkaid\u014d with prize of \uffe5150000000?", + "context": "create table table_26144632_1 (dates varchar, location varchar, prize_fund___\uffe5__ varchar, PRIMARY KEY (dates))", + "answer": "select dates from table_26144632_1 where location = \"hokkaid\u014d\" and prize_fund___\uffe5__ = 150000000" + }, + { + "question": "Find the names of swimmers who has a result of \"win\".", + "context": "create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id where result = 'win'" + }, + { + "question": "How many people had the high points when a. webb (7) had the high assists?", + "context": "create table table_27882867_9 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_27882867_9 where high_assists = \"a. webb (7)\"" + }, + { + "question": "What is the economy when the strike rate is 54.0?", + "context": "create table table_19662262_6 (economy_rate varchar, strike_rate varchar, PRIMARY KEY (economy_rate))", + "answer": "select economy_rate from table_19662262_6 where strike_rate = \"54.0\"" + }, + { + "question": "Which conference has the nickname Lions?", + "context": "create table table_1973729_2 (current_conference varchar, nickname varchar, PRIMARY KEY (current_conference))", + "answer": "select current_conference from table_1973729_2 where nickname = \"lions\"" + }, + { + "question": "Who wrote the episode that was directed by Dennie Gordon", + "context": "create table table_15938543_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_15938543_1 where directed_by = \"dennie gordon\"" + }, + { + "question": "When 169.182 is the average speed miles per hour what is the chassis?", + "context": "create table table_1771753_3 (chassis varchar, average_speed__mph_ varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_1771753_3 where average_speed__mph_ = \"169.182\"" + }, + { + "question": "Who was the winner of the race at Belmont?", + "context": "create table table_1358608_4 (winner_2nd varchar, venue varchar, PRIMARY KEY (winner_2nd))", + "answer": "select winner_2nd from table_1358608_4 where venue = \"belmont\"" + }, + { + "question": "Name the story number for paul cornell", + "context": "create table table_18012738_1 (story_no varchar, written_by varchar, PRIMARY KEY (story_no))", + "answer": "select story_no from table_18012738_1 where written_by = \"paul cornell\"" + }, + { + "question": "What is the human development index for the year 2000 where the ingei code is 10?", + "context": "create table table_1480455_1 (human_development_index__2000_ varchar, inegi_code varchar, PRIMARY KEY (human_development_index__2000_))", + "answer": "select human_development_index__2000_ from table_1480455_1 where inegi_code = 10" + }, + { + "question": "How many times was lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32?", + "context": "create table table_26335424_86 (round_of_16 varchar, round_of_32 varchar, PRIMARY KEY (round_of_16))", + "answer": "select count(round_of_16) from table_26335424_86 where round_of_32 = \"lakpa tashi sherpa ( bhu ) w pts 12-5\"" + }, + { + "question": "What was the first day cover cancellation for the University of Saskatchewan themed stamp?", + "context": "create table table_11900773_5 (first_day_cover_cancellation varchar, theme varchar, PRIMARY KEY (first_day_cover_cancellation))", + "answer": "select first_day_cover_cancellation from table_11900773_5 where theme = \"university of saskatchewan\"" + }, + { + "question": "how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%?", + "context": "create table table_1341718_14 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_1341718_14 where candidates = \"phil crane (r) 58.0% edward a. warman (d) 42.0%\"" + }, + { + "question": "At what venue did Alex Mettam/Mark Williams be named Man of the Match?", + "context": "create table table_17120964_6 (venue varchar, man_of_the_match varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_17120964_6 where man_of_the_match = \"alex mettam/mark williams\"" + }, + { + "question": "Find the name of students who took some course offered by Statistics department.", + "context": "create table student (name varchar, id varchar, PRIMARY KEY (name)); create table takes (course_id varchar, id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id))", + "answer": "select t3.name from course as t1 join takes as t2 on t1.course_id = t2.course_id join student as t3 on t2.id = t3.id where t1.dept_name = 'statistics'" + }, + { + "question": "Where did Audette Racing win?", + "context": "create table table_25773116_2 (location varchar, winning_team varchar, PRIMARY KEY (location))", + "answer": "select location from table_25773116_2 where winning_team = \"audette racing\"" + }, + { + "question": "Name the last title for 2012", + "context": "create table table_2454589_1 (last_title varchar, first_season_in_current_spell varchar, PRIMARY KEY (last_title))", + "answer": "select last_title from table_2454589_1 where first_season_in_current_spell = 2012" + }, + { + "question": "Who was eliminated when the vote was 8-1?", + "context": "create table table_25016824_2 (eliminated varchar, vote varchar, PRIMARY KEY (eliminated))", + "answer": "select eliminated from table_25016824_2 where vote = \"8-1\"" + }, + { + "question": "What party did incumbent Howard Coble belong to?", + "context": "create table table_1341568_34 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341568_34 where incumbent = \"howard coble\"" + }, + { + "question": "How many zodiac signs does the month by the Thai name of \u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19 belong to?", + "context": "create table table_180802_2 (zodiac_sign varchar, thai_name varchar, PRIMARY KEY (zodiac_sign))", + "answer": "select count(zodiac_sign) from table_180802_2 where thai_name = \"\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19\"" + }, + { + "question": "Who was the host country when Bar was the host city?", + "context": "create table table_26669939_1 (host_country varchar, host_city varchar, PRIMARY KEY (host_country))", + "answer": "select host_country from table_26669939_1 where host_city = \"bar\"" + }, + { + "question": "Who was the republican candidate in the race with incumbent thelma drake?", + "context": "create table table_17503169_1 (republican varchar, incumbent varchar, PRIMARY KEY (republican))", + "answer": "select republican from table_17503169_1 where incumbent = \"thelma drake\"" + }, + { + "question": "What is the config core 1 of the model with a processing power GFLOPs of 432?", + "context": "create table table_26860595_2 (config_core_1 varchar, processing_power_gflops varchar, PRIMARY KEY (config_core_1))", + "answer": "select config_core_1 from table_26860595_2 where processing_power_gflops = \"432\"" + }, + { + "question": "What was the percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion in 2011?", + "context": "create table table_29789_3 (_percentage_change varchar, international_tourism_expenditure_2011 varchar, PRIMARY KEY (_percentage_change))", + "answer": "select _percentage_change from table_29789_3 where international_tourism_expenditure_2011 = \"$85.9 billion\"" + }, + { + "question": "On which episode did actress Sela Ward make her last appearance?", + "context": "create table table_11240028_1 (last_appearance varchar, portrayed_by varchar, PRIMARY KEY (last_appearance))", + "answer": "select last_appearance from table_11240028_1 where portrayed_by = \"sela ward\"" + }, + { + "question": "Show all paragraph ids and texts for the document with name 'Welcome to NY'.", + "context": "create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table paragraphs (paragraph_id varchar, paragraph_text varchar, document_id varchar, PRIMARY KEY (paragraph_id))", + "answer": "select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'welcome to ny'" + }, + { + "question": "How many transactions do we have?", + "context": "create table financial_transactions (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from financial_transactions" + }, + { + "question": "What is the number of external links with a coach named Katie Kansas?", + "context": "create table table_2140071_13 (external_link varchar, coach varchar, PRIMARY KEY (external_link))", + "answer": "select count(external_link) from table_2140071_13 where coach = \"katie kansas\"" + }, + { + "question": "List the first names of people in alphabetical order?", + "context": "create table people (first_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name from people order by first_name" + }, + { + "question": "When did the program air on Vier?", + "context": "create table table_178242_1 (premiere___aired varchar, channel varchar, PRIMARY KEY (premiere___aired))", + "answer": "select premiere___aired from table_178242_1 where channel = \"vier\"" + }, + { + "question": "List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.", + "context": "create table table_24725951_1 (directed_and_produced_by varchar, celebrities varchar, PRIMARY KEY (directed_and_produced_by))", + "answer": "select directed_and_produced_by from table_24725951_1 where celebrities = \"bill turnbull and louise minchin\"" + }, + { + "question": "What are the investors of entrepreneurs and the corresponding number of entrepreneurs invested by each investor?", + "context": "create table entrepreneur (investor varchar, PRIMARY KEY (investor))", + "answer": "select investor, count(*) from entrepreneur group by investor" + }, + { + "question": "What is the percentage of others when the number for Bush is 1329?", + "context": "create table table_1733513_1 (others_percentage varchar, bush_number varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_1733513_1 where bush_number = 1329" + }, + { + "question": "How many earnings values are associated with players who had a best finish of T38?", + "context": "create table table_28540609_2 (earnings__ varchar, best_finish varchar, PRIMARY KEY (earnings__))", + "answer": "select count(earnings__) as \u20ac_ from table_28540609_2 where best_finish = \"t38\"" + }, + { + "question": "What is the nt identity when the species is drosophilia melanogaster?", + "context": "create table table_26708105_5 (nt_identity varchar, species varchar, PRIMARY KEY (nt_identity))", + "answer": "select nt_identity from table_26708105_5 where species = \"drosophilia melanogaster\"" + }, + { + "question": "When was the show first aired that was viewed by 3.57 million U.S. viewers?", + "context": "create table table_11694832_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11694832_1 where us_viewers__millions_ = \"3.57\"" + }, + { + "question": "On what circuit was the City of Ipswich 400 race held?", + "context": "create table table_14016079_1 (circuit varchar, race_title varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_14016079_1 where race_title = \"city of ipswich 400\"" + }, + { + "question": "How many wrestlers were born in nara, and have a completed 'career and other notes' section?", + "context": "create table table_1557974_1 (career_and_other_notes varchar, birthplace varchar, PRIMARY KEY (career_and_other_notes))", + "answer": "select count(career_and_other_notes) from table_1557974_1 where birthplace = \"nara\"" + }, + { + "question": "How many data are there under NO vote with a description of $1500 tax exemption amendment?", + "context": "create table table_256286_8 (no_votes varchar, description varchar, PRIMARY KEY (no_votes))", + "answer": "select count(no_votes) from table_256286_8 where description = \"$1500 tax exemption amendment\"" + }, + { + "question": "When interjection is the subject how many performers are there?", + "context": "create table table_191105_2 (performed_by varchar, subject varchar, PRIMARY KEY (performed_by))", + "answer": "select count(performed_by) from table_191105_2 where subject = \"interjection\"" + }, + { + "question": "Who was the winner when Mateus Rocha finished in 3rd place?", + "context": "create table table_25214321_1 (winner varchar, third_place varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_25214321_1 where third_place = \"mateus rocha\"" + }, + { + "question": "Name the manner of departure for luis enrique", + "context": "create table table_27666856_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27666856_3 where outgoing_manager = \"luis enrique\"" + }, + { + "question": "The theme Auditioner's Choice\thas what song choice?", + "context": "create table table_26250199_1 (song_choice varchar, theme varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_26250199_1 where theme = \"auditioner's choice\"" + }, + { + "question": "What episode did tomoyuki furumaya", + "context": "create table table_29039942_1 (title varchar, director varchar, PRIMARY KEY (title))", + "answer": "select title from table_29039942_1 where director = \"tomoyuki furumaya\"" + }, + { + "question": "What are the names and location of the shops in ascending alphabetical order of name.", + "context": "create table shop (shop_name varchar, location varchar, PRIMARY KEY (shop_name))", + "answer": "select shop_name, location from shop order by shop_name" + }, + { + "question": "When bbc two is the original channel what is the date of original removal?", + "context": "create table table_19114172_11 (date_s__of_original_removal varchar, original_channel varchar, PRIMARY KEY (date_s__of_original_removal))", + "answer": "select date_s__of_original_removal from table_19114172_11 where original_channel = \"bbc two\"" + }, + { + "question": "What is the nationality of th player who's school is Clemson?", + "context": "create table table_15621965_16 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_15621965_16 where school_club_team = \"clemson\"" + }, + { + "question": "what is b - bishop where ab - angry boar is vw - vertical wolf?", + "context": "create table table_2603017_2 (b___bishop varchar, ab___angry_boar varchar, PRIMARY KEY (b___bishop))", + "answer": "select b___bishop from table_2603017_2 where ab___angry_boar = \"vw - vertical wolf\"" + }, + { + "question": "What is the meaning of a gentle personality?", + "context": "create table table_1912713_2 (\u610f\u7fa9_meaning varchar, \u6027\u60c5_personality varchar, PRIMARY KEY (\u610f\u7fa9_meaning))", + "answer": "select \u610f\u7fa9_meaning from table_1912713_2 where \u6027\u60c5_personality = \"gentle\"" + }, + { + "question": "Why did Robert L. Bacon (r) vacate?", + "context": "create table table_2159547_3 (reason_for_change varchar, vacator varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2159547_3 where vacator = \"robert l. bacon (r)\"" + }, + { + "question": "What party represents the district with incumbent matthew clay?", + "context": "create table table_2668378_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668378_18 where incumbent = \"matthew clay\"" + }, + { + "question": "Where did Kisnorbo move from?", + "context": "create table table_22810095_8 (moving_from varchar, name varchar, PRIMARY KEY (moving_from))", + "answer": "select moving_from from table_22810095_8 where name = \"kisnorbo\"" + }, + { + "question": "Who played River Plate?", + "context": "create table table_17282875_3 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_17282875_3 where team__number1 = \"river plate\"" + }, + { + "question": "what's the\u00a0title\u00a0where\u00a0original air date\u00a0is january18,2009", + "context": "create table table_11589522_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_11589522_3 where original_air_date = \"january18,2009\"" + }, + { + "question": "What is the largest ethnic group in 2002 for the cyrillic name, other name of \u0431\u0435\u0448\u043a\u0430?", + "context": "create table table_2562572_54 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_54 where cyrillic_name_other_names = \"\u0431\u0435\u0448\u043a\u0430\"" + }, + { + "question": "Name the english translation of 219", + "context": "create table table_13003460_1 (english_translation varchar, word_number varchar, PRIMARY KEY (english_translation))", + "answer": "select english_translation from table_13003460_1 where word_number = \"219\"" + }, + { + "question": "What conference is Tennessee?", + "context": "create table table_26423157_2 (conference varchar, school varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_26423157_2 where school = \"tennessee\"" + }, + { + "question": "List the names and the locations that the enzymes can make an effect.", + "context": "create table enzyme (name varchar, location varchar, PRIMARY KEY (name))", + "answer": "select name, location from enzyme" + }, + { + "question": "When portsmouth is the city of license who is the licensee?", + "context": "create table table_1949746_1 (licensee varchar, city_of_license varchar, PRIMARY KEY (licensee))", + "answer": "select licensee from table_1949746_1 where city_of_license = \"portsmouth\"" + }, + { + "question": "How many viewers in millions watched the episode 23:55 minutes long?", + "context": "create table table_1849243_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_1849243_1 where run_time = \"23:55\"" + }, + { + "question": "What are the names of perpetrators?", + "context": "create table perpetrator (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from people as t1 join perpetrator as t2 on t1.people_id = t2.people_id" + }, + { + "question": "What is the theme for Audition week?", + "context": "create table table_26250176_1 (theme varchar, week__number varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_26250176_1 where week__number = \"audition\"" + }, + { + "question": "What are all the states (class) when the successor was Joseph Anderson ( DR )?", + "context": "create table table_224839_3 (state__class_ varchar, successor varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_224839_3 where successor = \"joseph anderson ( dr )\"" + }, + { + "question": "What is the record when the high points is listed as Stephen Curry (32)?", + "context": "create table table_27755784_8 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_27755784_8 where high_points = \"stephen curry (32)\"" + }, + { + "question": "Who had the most high points and rebounds than charles oakley (9)?", + "context": "create table table_13812785_8 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13812785_8 where high_rebounds = \"charles oakley (9)\"" + }, + { + "question": "What is the 2fm for rnag 94.4?", + "context": "create table table_18475946_2 (rnag__mhz_ varchar, PRIMARY KEY (rnag__mhz_))", + "answer": "select 2 as fm__mhz_ from table_18475946_2 where rnag__mhz_ = \"94.4\"" + }, + { + "question": "Name the total number of hdtv for eurotic tv", + "context": "create table table_15887683_17 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select count(hdtv) from table_15887683_17 where television_service = \"eurotic tv\"" + }, + { + "question": "What background does the person from New york, New york, have?", + "context": "create table table_1289860_2 (background varchar, hometown varchar, PRIMARY KEY (background))", + "answer": "select background from table_1289860_2 where hometown = \"new york, new york\"" + }, + { + "question": "What was team Toshiba's round 4 score?", + "context": "create table table_16815824_1 (round4 integer, team varchar, PRIMARY KEY (round4))", + "answer": "select min(round4) from table_16815824_1 where team = \"team toshiba\"" + }, + { + "question": "What are the id of students who registered course 301?", + "context": "create table student_course_attendance (student_id varchar, course_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from student_course_attendance where course_id = 301" + }, + { + "question": "List all club names in ascending order of start year.", + "context": "create table club (name varchar, start_year varchar, PRIMARY KEY (name))", + "answer": "select name from club order by start_year" + }, + { + "question": "When the earning per share is listed as 22.0 what is the year to april?", + "context": "create table table_18077713_1 (year_to_april varchar, earnings_per_share__\u00a2_ varchar, PRIMARY KEY (year_to_april))", + "answer": "select count(year_to_april) from table_18077713_1 where earnings_per_share__\u00a2_ = \"22.0\"" + }, + { + "question": "What is the name of the candidate where the incumbent is named James P. Buchanan?", + "context": "create table table_1342331_43 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342331_43 where incumbent = \"james p. buchanan\"" + }, + { + "question": "What is the name of the war where the Ottoman sultan was Selim I?", + "context": "create table table_24706337_1 (name_of_the_war varchar, ottoman_sultan varchar, PRIMARY KEY (name_of_the_war))", + "answer": "select name_of_the_war from table_24706337_1 where ottoman_sultan = \"selim i\"" + }, + { + "question": "How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?", + "context": "create table table_15358729_6 (average_weekly_rank varchar, average_nightly_rank varchar, PRIMARY KEY (average_weekly_rank))", + "answer": "select count(average_weekly_rank) from table_15358729_6 where average_nightly_rank = \"no. 2\"" + }, + { + "question": "How many assessment notes are there in total?", + "context": "create table assessment_notes (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from assessment_notes" + }, + { + "question": "What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?", + "context": "create table table_10236830_6 (actors_name varchar, film_name varchar, nomination varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_6 where film_name = \"chopin: desire for love\" and nomination = \"best actress in a leading role\"" + }, + { + "question": "meadowlands sports complex is the circuit at which city/location?", + "context": "create table table_10707142_2 (city_location varchar, circuit varchar, PRIMARY KEY (city_location))", + "answer": "select city_location from table_10707142_2 where circuit = \"meadowlands sports complex\"" + }, + { + "question": "What are the networks whose version of the show includes the judges batuhan zeynio\u011flu piatti murat bozok erol kaynar?", + "context": "create table table_28190363_1 (network varchar, judges varchar, PRIMARY KEY (network))", + "answer": "select network from table_28190363_1 where judges = \"batuhan zeynio\u011flu piatti murat bozok erol kaynar\"" + }, + { + "question": "How many dominant religions are in \u0111ala?", + "context": "create table table_2562572_30 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select count(dominant_religion__2002_) from table_2562572_30 where settlement = \"\u0111ala\"" + }, + { + "question": "Name the payout for espn for music city bowl", + "context": "create table table_24427210_1 (payout___us$__ varchar, tv varchar, bowl_game varchar, PRIMARY KEY (payout___us$__))", + "answer": "select payout___us$__ from table_24427210_1 where tv = \"espn\" and bowl_game = \"music city bowl\"" + }, + { + "question": "What was the air date of the episod that had 456.58 thousand viewers?", + "context": "create table table_23114705_7 (original_air_date varchar, nz_viewers__thousand_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23114705_7 where nz_viewers__thousand_ = \"456.58\"" + }, + { + "question": "When fc oberau is the oberbayern a what is the oberpfalz?", + "context": "create table table_23224961_1 (oberpfalz varchar, oberbayern_a varchar, PRIMARY KEY (oberpfalz))", + "answer": "select oberpfalz from table_23224961_1 where oberbayern_a = \"fc oberau\"" + }, + { + "question": "Where is Tamunosiki Atorudibo from", + "context": "create table table_1231316_4 (country varchar, athlete varchar, PRIMARY KEY (country))", + "answer": "select country from table_1231316_4 where athlete = \"tamunosiki atorudibo\"" + }, + { + "question": "Which Allied Force targetted Woensdrecht?", + "context": "create table table_1160161_12 (allied_forces varchar, target varchar, PRIMARY KEY (allied_forces))", + "answer": "select allied_forces from table_1160161_12 where target = \"woensdrecht\"" + }, + { + "question": "Show ids for all documents in type CV without expense budgets.", + "context": "create table documents_with_expenses (document_id varchar, document_type_code varchar, PRIMARY KEY (document_id)); create table documents (document_id varchar, document_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents where document_type_code = \"cv\" except select document_id from documents_with_expenses" + }, + { + "question": "Name the centerfold model when interview subject is steve jobs", + "context": "create table table_1566848_6 (centerfold_model varchar, interview_subject varchar, PRIMARY KEY (centerfold_model))", + "answer": "select centerfold_model from table_1566848_6 where interview_subject = \"steve jobs\"" + }, + { + "question": "What is the number eliminated when kelly and brendan are safe?", + "context": "create table table_12305325_4 (eliminated varchar, safe varchar, PRIMARY KEY (eliminated))", + "answer": "select count(eliminated) from table_12305325_4 where safe = \"kelly and brendan\"" + }, + { + "question": "Name the mixed doubles when tour is hong kong super series", + "context": "create table table_14496232_2 (mixed_doubles varchar, tour varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14496232_2 where tour = \"hong kong super series\"" + }, + { + "question": "Name the most of 2500-3000ft", + "context": "create table table_1456056_1 (id varchar, PRIMARY KEY (id))", + "answer": "select max(2500 as _3000ft) from table_1456056_1" + }, + { + "question": "which team#2 played against poseidon neoi porroi", + "context": "create table table_21434618_1 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_21434618_1 where team__number1 = \"poseidon neoi porroi\"" + }, + { + "question": "What is the ISIN associated with the maturity date of 3/11/2011?", + "context": "create table table_21692771_1 (isin varchar, maturity varchar, PRIMARY KEY (isin))", + "answer": "select isin from table_21692771_1 where maturity = \"3/11/2011\"" + }, + { + "question": "What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?", + "context": "create table table_11780179_1 (gdp_per_capita__nominal_ varchar, gdp__nominal_ varchar, PRIMARY KEY (gdp_per_capita__nominal_))", + "answer": "select gdp_per_capita__nominal_ from table_11780179_1 where gdp__nominal_ = \"$52.0 billion\"" + }, + { + "question": "Name the host for john rotz and howard cosell", + "context": "create table table_22514845_5 (s_host varchar, s_analyst varchar, PRIMARY KEY (s_host))", + "answer": "select s_host from table_22514845_5 where s_analyst = \"john rotz and howard cosell\"" + }, + { + "question": "Name the total number of party for willis alston", + "context": "create table table_2668243_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2668243_18 where incumbent = \"willis alston\"" + }, + { + "question": "Which organisation hired the most number of research staff? List the organisation id, type and detail.", + "context": "create table organisations (organisation_id varchar, organisation_type varchar, organisation_details varchar, PRIMARY KEY (organisation_id)); create table research_staff (employer_organisation_id varchar, PRIMARY KEY (employer_organisation_id))", + "answer": "select t1.organisation_id, t1.organisation_type, t1.organisation_details from organisations as t1 join research_staff as t2 on t1.organisation_id = t2.employer_organisation_id group by t1.organisation_id order by count(*) desc limit 1" + }, + { + "question": "How many paper types did Ian Drolet design stamps on?", + "context": "create table table_11900773_6 (paper_type varchar, design varchar, PRIMARY KEY (paper_type))", + "answer": "select count(paper_type) from table_11900773_6 where design = \"ian drolet\"" + }, + { + "question": "What barony is Ballycunningham in?", + "context": "create table table_30120566_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select barony from table_30120566_1 where townland = \"ballycunningham\"" + }, + { + "question": "how many video out connections does the sounddock portable have?", + "context": "create table table_24384861_1 (video_out varchar, version varchar, PRIMARY KEY (video_out))", + "answer": "select count(video_out) from table_24384861_1 where version = \"sounddock portable\"" + }, + { + "question": "What is the composition at Valles lava dome?", + "context": "create table table_1081235_1 (composition varchar, name_of_lava_dome varchar, PRIMARY KEY (composition))", + "answer": "select composition from table_1081235_1 where name_of_lava_dome = \"valles lava dome\"" + }, + { + "question": "Who had the highest points against new york?", + "context": "create table table_23211041_5 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23211041_5 where team = \"new york\"" + }, + { + "question": "How many submission of the night occurred when the fighter was matt wiman?", + "context": "create table table_21114902_1 (submissions_of_the_night integer, fighter varchar, PRIMARY KEY (submissions_of_the_night))", + "answer": "select max(submissions_of_the_night) from table_21114902_1 where fighter = \"matt wiman\"" + }, + { + "question": "What was Great Britain's Round 1 score?", + "context": "create table table_16815824_1 (round1 varchar, team varchar, PRIMARY KEY (round1))", + "answer": "select round1 from table_16815824_1 where team = \"great britain\"" + }, + { + "question": "where is Fisk University located?", + "context": "create table table_262481_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_262481_2 where institution = \"fisk university\"" + }, + { + "question": "What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?", + "context": "create table table_16409745_1 (dimensions__mm_ varchar, product varchar, PRIMARY KEY (dimensions__mm_))", + "answer": "select dimensions__mm_ from table_16409745_1 where product = \"plustek mobileoffice d28 corporate\"" + }, + { + "question": "How many times has the points total for the afc cup competion been 289?", + "context": "create table table_14460937_1 (afc_cup varchar, points__total_500_ varchar, PRIMARY KEY (afc_cup))", + "answer": "select count(afc_cup) from table_14460937_1 where points__total_500_ = 289" + }, + { + "question": "What is the famous for where the finished is 5th?", + "context": "create table table_14345690_5 (famous_for varchar, finished varchar, PRIMARY KEY (famous_for))", + "answer": "select famous_for from table_14345690_5 where finished = \"5th\"" + }, + { + "question": "How many people in the sorata municipality when the quiabaya municipality has 33?", + "context": "create table table_2509202_2 (sorata_municipality varchar, quiabaya_municipality varchar, PRIMARY KEY (sorata_municipality))", + "answer": "select sorata_municipality from table_2509202_2 where quiabaya_municipality = \"33\"" + }, + { + "question": "What year was a movie with the original title La Leggenda del Santo Bevitore submitted?", + "context": "create table table_10321805_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_10321805_1 where original_title = \"la leggenda del santo bevitore\"" + }, + { + "question": "which countries' tv channels are not playing any cartoon written by Todd Casey?", + "context": "create table tv_channel (country varchar, id varchar, PRIMARY KEY (country)); create table tv_channel (country varchar, PRIMARY KEY (country)); create table cartoon (channel varchar, written_by varchar, PRIMARY KEY (channel))", + "answer": "select country from tv_channel except select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'todd casey'" + }, + { + "question": "How many railways are there?", + "context": "create table railway (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from railway" + }, + { + "question": "Which province is grey and bell electorate in", + "context": "create table table_1024710_2 (province varchar, electorate varchar, PRIMARY KEY (province))", + "answer": "select province from table_1024710_2 where electorate = \"grey and bell\"" + }, + { + "question": "Name the total number of status for eldon", + "context": "create table table_171361_2 (status varchar, official_name varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_171361_2 where official_name = \"eldon\"" + }, + { + "question": "How many were wounded when the complement was 173 off 2059 men?", + "context": "create table table_11793221_2 (wounded varchar, complement varchar, PRIMARY KEY (wounded))", + "answer": "select wounded from table_11793221_2 where complement = \"173 off 2059 men\"" + }, + { + "question": "What is the height in inches of contestants who are from the province of La Rioja?", + "context": "create table table_23476629_2 (height__in_ varchar, province varchar, PRIMARY KEY (height__in_))", + "answer": "select height__in_ from table_23476629_2 where province = \"la rioja\"" + }, + { + "question": "Who directed the episode that had 3.55 million viewers?", + "context": "create table table_29897962_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29897962_1 where us_viewers__million_ = \"3.55\"" + }, + { + "question": "What type of school is Cordoba University?", + "context": "create table table_2076608_3 (type varchar, school varchar, PRIMARY KEY (type))", + "answer": "select type from table_2076608_3 where school = \"cordoba university\"" + }, + { + "question": "What's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes?", + "context": "create table table_1304443_2 (others_percentage varchar, bush_percentage varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_1304443_2 where bush_percentage = \"51.6%\"" + }, + { + "question": "Name the conventional for defter", + "context": "create table table_2008069_2 (conventional varchar, uyghur___yen\u0261i_yezik\u0322__ varchar, PRIMARY KEY (conventional))", + "answer": "select conventional from table_2008069_2 where uyghur___yen\u0261i_yezik\u0322__ = \"defter\"" + }, + { + "question": "List the lowest super league for a 0 champion league.", + "context": "create table table_28068645_8 (super_league integer, champions_league varchar, PRIMARY KEY (super_league))", + "answer": "select min(super_league) from table_28068645_8 where champions_league = 0" + }, + { + "question": "How many total itv viewers were there for the episode with official itv ratings of 10.24 million?", + "context": "create table table_27319183_7 (total_itv_viewers__millions_ varchar, official_itv_rating__millions_ varchar, PRIMARY KEY (total_itv_viewers__millions_))", + "answer": "select total_itv_viewers__millions_ from table_27319183_7 where official_itv_rating__millions_ = \"10.24\"" + }, + { + "question": "Who scored the most points against Washington?", + "context": "create table table_15780049_5 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_15780049_5 where team = \"washington\"" + }, + { + "question": "How many odd of winning have 6th as the division?", + "context": "create table table_20195922_3 (odds_of_winning__1in_ varchar, divisions varchar, PRIMARY KEY (odds_of_winning__1in_))", + "answer": "select odds_of_winning__1in_ from table_20195922_3 where divisions = \"6th\"" + }, + { + "question": "What is the minimum possible for the NJCAA championships?", + "context": "create table table_22319599_1 (njcaa_championships integer, PRIMARY KEY (njcaa_championships))", + "answer": "select min(njcaa_championships) from table_22319599_1" + }, + { + "question": "What range does type FJ/PB/SCP work at?", + "context": "create table table_21538523_1 (range__m_ varchar, type varchar, PRIMARY KEY (range__m_))", + "answer": "select range__m_ from table_21538523_1 where type = \"fj/pb/scp\"" + }, + { + "question": "What is the title written by David Mamet?", + "context": "create table table_10908676_7 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_10908676_7 where written_by = \"david mamet\"" + }, + { + "question": "Find the last names of students with major 50.", + "context": "create table student (lname varchar, major varchar, PRIMARY KEY (lname))", + "answer": "select lname from student where major = 50" + }, + { + "question": "Show all distinct building descriptions.", + "context": "create table apartment_buildings (building_description varchar, PRIMARY KEY (building_description))", + "answer": "select distinct building_description from apartment_buildings" + }, + { + "question": "What is the 3'utr sequence with a variant id of ad'6a 4?", + "context": "create table table_14332822_1 (variant_id varchar, PRIMARY KEY (variant_id))", + "answer": "select 3 as \u2019utr_sequence from table_14332822_1 where variant_id = \"ad'6a 4\"" + }, + { + "question": "Who is the person that has no friend?", + "context": "create table personfriend (name varchar, PRIMARY KEY (name)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select name from person except select name from personfriend" + }, + { + "question": "What is the dominant religion in Gornji Tavankut?", + "context": "create table table_2562572_26 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_26 where settlement = \"gornji tavankut\"" + }, + { + "question": "what are all the date withdrawn for service entered on 21 november 1945", + "context": "create table table_11662133_3 (date_withdrawn varchar, date_entered_service varchar, PRIMARY KEY (date_withdrawn))", + "answer": "select date_withdrawn from table_11662133_3 where date_entered_service = \"21 november 1945\"" + }, + { + "question": "What are the document ids for the budget type code 'SF'?", + "context": "create table documents_with_expenses (document_id varchar, budget_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents_with_expenses where budget_type_code = 'sf'" + }, + { + "question": "How man students were from Maryland in Fall 05?", + "context": "create table table_15055594_6 (fall_05 varchar, states varchar, PRIMARY KEY (fall_05))", + "answer": "select fall_05 from table_15055594_6 where states = \"maryland\"" + }, + { + "question": "How many original artists were there for the Group Performance?", + "context": "create table table_26250176_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select count(original_artist) from table_26250176_1 where theme = \"group performance\"" + }, + { + "question": "Who was the mediator in k\u014dhaku number 53?", + "context": "create table table_1315616_1 (mediator varchar, k\u014dhaku__number varchar, PRIMARY KEY (mediator))", + "answer": "select mediator from table_1315616_1 where k\u014dhaku__number = 53" + }, + { + "question": "Find the name of all customers.", + "context": "create table customers (customer_name varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers" + }, + { + "question": "How many reviewers listed?", + "context": "create table reviewer (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from reviewer" + }, + { + "question": "Which province has a density of 971.4?", + "context": "create table table_1067441_1 (province varchar, density varchar, PRIMARY KEY (province))", + "answer": "select province from table_1067441_1 where density = \"971.4\"" + }, + { + "question": "What is the lowest number associated with Tonkolili?", + "context": "create table table_18103265_1 (tonkolili integer, PRIMARY KEY (tonkolili))", + "answer": "select min(tonkolili) from table_18103265_1" + }, + { + "question": "Who was replaced as manager on June 20?", + "context": "create table table_29414946_3 (outgoing_manager varchar, date_of_appointment varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_29414946_3 where date_of_appointment = \"june 20\"" + }, + { + "question": "Name the home team for manuka oval", + "context": "create table table_14312471_3 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_14312471_3 where ground = \"manuka oval\"" + }, + { + "question": "Name the running with for elizabeth falco", + "context": "create table table_1855841_1 (running_with__in_team_ varchar, candidate varchar, PRIMARY KEY (running_with__in_team_))", + "answer": "select running_with__in_team_ from table_1855841_1 where candidate = \"elizabeth falco\"" + }, + { + "question": "What was the result of the open cup when they finished 4th in the regular season?", + "context": "create table table_12002388_1 (open_cup varchar, reg_season varchar, PRIMARY KEY (open_cup))", + "answer": "select open_cup from table_12002388_1 where reg_season = \"4th\"" + }, + { + "question": "find the number of distinct country codes of all players.", + "context": "create table players (country_code varchar, PRIMARY KEY (country_code))", + "answer": "select count(distinct country_code) from players" + }, + { + "question": "How many 4wi were recorded by the player with an economy of 4.17?", + "context": "create table table_27922491_20 (economy varchar, PRIMARY KEY (economy))", + "answer": "select 4 as wi from table_27922491_20 where economy = \"4.17\"" + }, + { + "question": "Name the date of appointment for sacked and 14th position replaced by marco kostmann", + "context": "create table table_17327264_3 (date_of_appointment varchar, replaced_by varchar, manner_of_departure varchar, position_in_table varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_17327264_3 where manner_of_departure = \"sacked\" and position_in_table = \"14th\" and replaced_by = \"marco kostmann\"" + }, + { + "question": "How many air dates where directed by jim donovan?", + "context": "create table table_18424435_5 (us_air_date varchar, directed_by varchar, PRIMARY KEY (us_air_date))", + "answer": "select count(us_air_date) from table_18424435_5 where directed_by = \"jim donovan\"" + }, + { + "question": "List each owner's first name, last name, and the size of his for her dog.", + "context": "create table owners (first_name varchar, last_name varchar, owner_id varchar, PRIMARY KEY (first_name)); create table dogs (size_code varchar, owner_id varchar, PRIMARY KEY (size_code))", + "answer": "select t1.first_name, t1.last_name, t2.size_code from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id" + }, + { + "question": "what is the amount where the area is new brunswick", + "context": "create table table_29012710_1 (production__hectolitres_ varchar, province varchar, PRIMARY KEY (production__hectolitres_))", + "answer": "select production__hectolitres_ from table_29012710_1 where province = \"new brunswick\"" + }, + { + "question": "Name the ebit for eps being 1.78", + "context": "create table table_20614109_1 (earnings_before_interest_and_taxes__\u20acm_ varchar, earnings_per_share__\u20ac_ varchar, PRIMARY KEY (earnings_before_interest_and_taxes__\u20acm_))", + "answer": "select earnings_before_interest_and_taxes__\u20acm_ from table_20614109_1 where earnings_per_share__\u20ac_ = \"1.78\"" + }, + { + "question": "Name the miles for jeff gordon", + "context": "create table table_2144863_1 (miles__km_ varchar, driver varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_2144863_1 where driver = \"jeff gordon\"" + }, + { + "question": "What is the nickname of staff with first name as Janessa and last name as Sawayn?", + "context": "create table staff (nickname varchar, first_name varchar, last_name varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from staff where first_name = \"janessa\" and last_name = \"sawayn\"" + }, + { + "question": "What was the winning time in the year when the odds of the winner were 2.94?", + "context": "create table table_21676617_1 (winning_time__km_rate_ varchar, odds_of_winner varchar, PRIMARY KEY (winning_time__km_rate_))", + "answer": "select winning_time__km_rate_ from table_21676617_1 where odds_of_winner = \"2.94\"" + }, + { + "question": "Name the television service when primafila hot club", + "context": "create table table_15887683_6 (television_service varchar, content varchar, PRIMARY KEY (television_service))", + "answer": "select television_service from table_15887683_6 where content = \"primafila hot club\"" + }, + { + "question": "When 22' 37.06 100.090mph is the time for Monday August 24th how many times are there for Friday August 28th?", + "context": "create table table_23465864_3 (fri_28_aug varchar, mon_24_aug varchar, PRIMARY KEY (fri_28_aug))", + "answer": "select count(fri_28_aug) from table_23465864_3 where mon_24_aug = \"22' 37.06 100.090mph\"" + }, + { + "question": "Show all book categories and the number of books in each category.", + "context": "create table book_club (category varchar, PRIMARY KEY (category))", + "answer": "select category, count(*) from book_club group by category" + }, + { + "question": "List the phone numbers of all employees.", + "context": "create table employee (phone varchar, PRIMARY KEY (phone))", + "answer": "select phone from employee" + }, + { + "question": "Show all donor names.", + "context": "create table endowment (donator_name varchar, PRIMARY KEY (donator_name))", + "answer": "select distinct donator_name from endowment" + }, + { + "question": "What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?", + "context": "create table table_161591_2 (operating_profit__s$m_ varchar, expenditure__s$m_ varchar, PRIMARY KEY (operating_profit__s$m_))", + "answer": "select operating_profit__s$m_ from table_161591_2 where expenditure__s$m_ = \"12,127.8\"" + }, + { + "question": "What premieres had a finale on May 25, 2004?", + "context": "create table table_175980_2 (premiere varchar, finale varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_175980_2 where finale = \"may 25, 2004\"" + }, + { + "question": "Find the names of the items that did not receive any review.", + "context": "create table item (title varchar, i_id varchar, PRIMARY KEY (title)); create table review (title varchar, i_id varchar, PRIMARY KEY (title))", + "answer": "select title from item where not i_id in (select i_id from review)" + }, + { + "question": "who is the writer of the episode with prod.code 30-17", + "context": "create table table_13403120_1 (writer_s_ varchar, prodcode varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_13403120_1 where prodcode = \"30-17\"" + }, + { + "question": "Who wrote the episode that 2.93 million viewers?", + "context": "create table table_28019988_2 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28019988_2 where us_viewers__million_ = \"2.93\"" + }, + { + "question": "If the district name is the Academy of Flint, what is the authorizing agency?", + "context": "create table table_22665117_1 (authorizing_agency varchar, district_name varchar, PRIMARY KEY (authorizing_agency))", + "answer": "select authorizing_agency from table_22665117_1 where district_name = \"academy of flint\"" + }, + { + "question": "Find the unit of measurement and product category code of product named \"chervil\".", + "context": "create table ref_product_categories (unit_of_measure varchar, product_category_code varchar, PRIMARY KEY (unit_of_measure)); create table products (product_category_code varchar, product_name varchar, PRIMARY KEY (product_category_code))", + "answer": "select t2.unit_of_measure, t2.product_category_code from products as t1 join ref_product_categories as t2 on t1.product_category_code = t2.product_category_code where t1.product_name = \"chervil\"" + }, + { + "question": "Name the class 1-200 for university of hertfordshire for university of warwick", + "context": "create table table_1936678_1 (class_1 varchar, best_uk_team varchar, class_1a varchar, PRIMARY KEY (class_1))", + "answer": "select class_1 - 200 from table_1936678_1 where best_uk_team = \"university of hertfordshire\" and class_1a = \"university of warwick\"" + }, + { + "question": "If there are 11 lifts, what is the base elevation?", + "context": "create table table_25762852_1 (base_elevation__feet_ integer, lifts varchar, PRIMARY KEY (base_elevation__feet_))", + "answer": "select max(base_elevation__feet_) from table_25762852_1 where lifts = 11" + }, + { + "question": "Which civil parish is for the townland clooncugger?", + "context": "create table table_30121096_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30121096_1 where townland = \"clooncugger\"" + }, + { + "question": "What is the decor of room Recluse and defiance?", + "context": "create table rooms (decor varchar, roomname varchar, PRIMARY KEY (decor))", + "answer": "select decor from rooms where roomname = \"recluse and defiance\"" + }, + { + "question": "When did the episode featuring a master using Brazilian jiu-jitsu air?", + "context": "create table table_14937957_1 (original_airdate varchar, martial_art_style varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_14937957_1 where martial_art_style = \"brazilian jiu-jitsu\"" + }, + { + "question": "Name the country for hannes arch", + "context": "create table table_20036882_2 (country varchar, winning_pilot varchar, PRIMARY KEY (country))", + "answer": "select country from table_20036882_2 where winning_pilot = \"hannes arch\"" + }, + { + "question": "Who was the wenning witcher when ezequiel astacio was the losing pitcher?", + "context": "create table table_13710464_1 (winning_pitcher varchar, losing_pitcher varchar, PRIMARY KEY (winning_pitcher))", + "answer": "select winning_pitcher from table_13710464_1 where losing_pitcher = \"ezequiel astacio\"" + }, + { + "question": "What was the doctor when the author was Gary Hopkins category:articles with hcards?", + "context": "create table table_1620397_5 (doctor varchar, author varchar, PRIMARY KEY (doctor))", + "answer": "select doctor from table_1620397_5 where author = \"gary hopkins category:articles with hcards\"" + }, + { + "question": "Who is the together we can do more when democratic coalition is ren\u00e9 alinco ( ppd )?", + "context": "create table table_2651755_1 (together_we_can_do_more varchar, democratic_coalition varchar, PRIMARY KEY (together_we_can_do_more))", + "answer": "select together_we_can_do_more from table_2651755_1 where democratic_coalition = \"ren\u00e9 alinco ( ppd )\"" + }, + { + "question": "Who had the high assist in the game where the record is 13-11?", + "context": "create table table_18813011_6 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_18813011_6 where record = \"13-11\"" + }, + { + "question": "Who directed the film with the title three summer days?", + "context": "create table table_22265716_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select director from table_22265716_1 where film_title_used_in_nomination = \"three summer days\"" + }, + { + "question": "What is the location of the Moorabbin Oval stadium?", + "context": "create table table_28885977_1 (location varchar, stadium varchar, PRIMARY KEY (location))", + "answer": "select location from table_28885977_1 where stadium = \"moorabbin oval\"" + }, + { + "question": "what is th copa libertadores 1997 is qf?", + "context": "create table table_14310205_1 (copa_libertadores_1997 varchar, supercopa_1996 varchar, PRIMARY KEY (copa_libertadores_1997))", + "answer": "select copa_libertadores_1997 from table_14310205_1 where supercopa_1996 = \"qf\"" + }, + { + "question": "what is the fuel propulsion where the fleet series (quantity) is 310-329 (20)?", + "context": "create table table_10007452_3 (fuel_propulsion varchar, fleet_series__quantity_ varchar, PRIMARY KEY (fuel_propulsion))", + "answer": "select fuel_propulsion from table_10007452_3 where fleet_series__quantity_ = \"310-329 (20)\"" + }, + { + "question": "What is the marketing region code that has the most drama workshop groups?", + "context": "create table drama_workshop_groups (marketing_region_code varchar, PRIMARY KEY (marketing_region_code))", + "answer": "select marketing_region_code from drama_workshop_groups group by marketing_region_code order by count(*) desc limit 1" + }, + { + "question": "How many distinct locations have the things with service detail 'Unsatisfied' been located in?", + "context": "create table timed_locations_of_things (location_code varchar, thing_id varchar, PRIMARY KEY (location_code)); create table things (thing_id varchar, service_details varchar, PRIMARY KEY (thing_id))", + "answer": "select count(distinct t2.location_code) from things as t1 join timed_locations_of_things as t2 on t1.thing_id = t2.thing_id where t1.service_details = 'unsatisfied'" + }, + { + "question": "For each phone, show its names and total number of stocks.", + "context": "create table phone_market (num_of_stock integer, phone_id varchar, PRIMARY KEY (num_of_stock)); create table phone (name varchar, phone_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, sum(t1.num_of_stock) from phone_market as t1 join phone as t2 on t1.phone_id = t2.phone_id group by t2.name" + }, + { + "question": "Find the subject ID, name of subject and the corresponding number of courses for each subject, and sort by the course count in ascending order.", + "context": "create table courses (subject_id varchar, PRIMARY KEY (subject_id)); create table subjects (subject_name varchar, subject_id varchar, PRIMARY KEY (subject_name))", + "answer": "select t1.subject_id, t2.subject_name, count(*) from courses as t1 join subjects as t2 on t1.subject_id = t2.subject_id group by t1.subject_id order by count(*)" + }, + { + "question": "When \u0440\u0430\u0442\u043a\u043e\u0432\u043e is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement?", + "context": "create table table_2562572_25 (settlement varchar, cyrillic_name_other_names varchar, dominant_religion__2002_ varchar, type varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_25 where dominant_religion__2002_ = \"orthodox christianity\" and type = \"village\" and cyrillic_name_other_names = \"\u0440\u0430\u0442\u043a\u043e\u0432\u043e\"" + }, + { + "question": "What are all of the order # where authentic artist is maroon 5", + "context": "create table table_26250227_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250227_1 where original_artist = \"maroon 5\"" + }, + { + "question": "How many problems are there for product voluptatem?", + "context": "create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_id varchar, product_name varchar, PRIMARY KEY (product_id))", + "answer": "select count(*) from product as t1 join problems as t2 on t1.product_id = t2.product_id where t1.product_name = \"voluptatem\"" + }, + { + "question": "Who was the Best Male Lyricist if Neshia Nee won the Best Male Record?", + "context": "create table table_22546460_4 (best_male_lyricist varchar, best_male_record varchar, PRIMARY KEY (best_male_lyricist))", + "answer": "select best_male_lyricist from table_22546460_4 where best_male_record = \"neshia nee\"" + }, + { + "question": "What is listed in built for when the original number is 24d?", + "context": "create table table_29071587_1 (built_for varchar, original_no varchar, PRIMARY KEY (built_for))", + "answer": "select built_for from table_29071587_1 where original_no = \"24d\"" + }, + { + "question": "What is the maximum elevation in netherlands?", + "context": "create table table_24285393_1 (maximum_elevation varchar, country_or_region varchar, PRIMARY KEY (maximum_elevation))", + "answer": "select maximum_elevation from table_24285393_1 where country_or_region = \"netherlands\"" + }, + { + "question": "What is the nationality of the player from Vancouver Canucks?", + "context": "create table table_1013129_3 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1013129_3 where nhl_team = \"vancouver canucks\"" + }, + { + "question": "When did the term begin that ended January 3, 1995?", + "context": "create table table_224672_2 (term_began varchar, term_ended varchar, PRIMARY KEY (term_began))", + "answer": "select term_began from table_224672_2 where term_ended = \"january 3, 1995\"" + }, + { + "question": "Return the minister who left office at the latest time.", + "context": "create table party (minister varchar, left_office varchar, PRIMARY KEY (minister))", + "answer": "select minister from party order by left_office desc limit 1" + }, + { + "question": "List the names of products that are not in any event.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table products_in_events (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "select product_name from products where not product_id in (select product_id from products_in_events)" + }, + { + "question": "What is the total number of second place finishes when the city & nation was Chicago, USA?", + "context": "create table table_2146364_2 (second_place varchar, city_ varchar, _nation varchar, PRIMARY KEY (second_place))", + "answer": "select count(second_place) from table_2146364_2 where city_ & _nation = \"chicago, usa\"" + }, + { + "question": "Name the ppv for sky famiglia and dar 16:9 for mtv dance", + "context": "create table table_15887683_10 (ppv varchar, television_service varchar, package_option varchar, dar varchar, PRIMARY KEY (ppv))", + "answer": "select ppv from table_15887683_10 where package_option = \"sky famiglia\" and dar = \"16:9\" and television_service = \"mtv dance\"" + }, + { + "question": "List all public schools and their locations.", + "context": "create table university (school varchar, location varchar, affiliation varchar, PRIMARY KEY (school))", + "answer": "select school, location from university where affiliation = 'public'" + }, + { + "question": "What is the original air date when the u.s. viewers in millions was 5.39?", + "context": "create table table_27720737_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27720737_1 where us_viewers__million_ = \"5.39\"" + }, + { + "question": "Name the writers for swedish sailor", + "context": "create table table_19852975_3 (writer_s_ varchar, arties_disguises varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_19852975_3 where arties_disguises = \"swedish sailor\"" + }, + { + "question": "Who has the fastest lap where Beno\u00eet Tr\u00e9luyer got the pole position?", + "context": "create table table_22379931_2 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_22379931_2 where pole_position = \"beno\u00eet tr\u00e9luyer\"" + }, + { + "question": "Name the english gloss for ha\u014b\u021f\u2019\u00e1\u014bna", + "context": "create table table_1499774_5 (english_gloss varchar, santee_sisseton varchar, PRIMARY KEY (english_gloss))", + "answer": "select english_gloss from table_1499774_5 where santee_sisseton = \"ha\u014b\u021f\u2019\u00e1\u014bna\"" + }, + { + "question": "How many times did the team achieve an overrall record of mu, 21-19?", + "context": "create table table_16201038_4 (last_5_meetings varchar, overall_record varchar, PRIMARY KEY (last_5_meetings))", + "answer": "select count(last_5_meetings) from table_16201038_4 where overall_record = \"mu, 21-19\"" + }, + { + "question": "What is them two (the two) when you and i is ng\u0153balngu?", + "context": "create table table_1015914_24 (them_two__the_two_ varchar, you_and_i varchar, PRIMARY KEY (them_two__the_two_))", + "answer": "select them_two__the_two_ from table_1015914_24 where you_and_i = \"ng\u0153balngu\"" + }, + { + "question": "When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?", + "context": "create table table_14752049_6 (change__2011_to_2012_ varchar, change__2010_to_2011_ varchar, PRIMARY KEY (change__2011_to_2012_))", + "answer": "select change__2011_to_2012_ from table_14752049_6 where change__2010_to_2011_ = \"+1.0%\"" + }, + { + "question": "What is the most popular full name of the actors?", + "context": "create table actor (first_name varchar, last_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from actor group by first_name, last_name order by count(*) desc limit 1" + }, + { + "question": "What is the Sipe Sipe Municipality minimum if the language is Quechua?", + "context": "create table table_2509113_2 (sipe_sipe_municipality integer, language varchar, PRIMARY KEY (sipe_sipe_municipality))", + "answer": "select min(sipe_sipe_municipality) from table_2509113_2 where language = \"quechua\"" + }, + { + "question": "What are the results of the elections in which Ted Strickland is seeking re-election?", + "context": "create table table_1805191_36 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1805191_36 where incumbent = \"ted strickland\"" + }, + { + "question": "How many production stage managers worked with Gabriel di Chiara as the Male Rep?", + "context": "create table table_22410780_1 (production_stagemanager varchar, male_rep varchar, PRIMARY KEY (production_stagemanager))", + "answer": "select count(production_stagemanager) from table_22410780_1 where male_rep = \"gabriel di chiara\"" + }, + { + "question": "What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)?", + "context": "create table table_15909409_2 (country varchar, agricultural_use__m_3__p_yr__in__percentage_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_15909409_2 where agricultural_use__m_3__p_yr__in__percentage_ = \"2040(93%)\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0opponent\u00a0being marcy kaptur (d) 75.3% randy whitman (r) 24.7%", + "context": "create table table_1341522_38 (party varchar, opponent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341522_38 where opponent = \"marcy kaptur (d) 75.3% randy whitman (r) 24.7%\"" + }, + { + "question": "Name the final score for barcelona dragons", + "context": "create table table_26401898_2 (final_score varchar, opponent varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_26401898_2 where opponent = \"barcelona dragons\"" + }, + { + "question": "Where is the orchestra when the year of recording is 1934?", + "context": "create table table_222198_1 (orchestra varchar, year_of_recording varchar, PRIMARY KEY (orchestra))", + "answer": "select orchestra from table_222198_1 where year_of_recording = 1934" + }, + { + "question": "name the civil parish for garryduff", + "context": "create table table_30120664_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30120664_1 where townland = \"garryduff\"" + }, + { + "question": "What is the last date of the staff leaving the projects?", + "context": "create table project_staff (date_to varchar, PRIMARY KEY (date_to))", + "answer": "select date_to from project_staff order by date_to desc limit 1" + }, + { + "question": "Who is the director for diary for my loves?", + "context": "create table table_14975415_1 (director varchar, english_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_14975415_1 where english_title = \"diary for my loves\"" + }, + { + "question": "What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?", + "context": "create table table_290017_1 (subdivision_name___be____bgn_pcgn_ varchar, subdivision_name___ru____bgn_pcgn_ varchar, PRIMARY KEY (subdivision_name___be____bgn_pcgn_))", + "answer": "select subdivision_name___be____bgn_pcgn_ from table_290017_1 where subdivision_name___ru____bgn_pcgn_ = \"grodnenskaya oblast'\"" + }, + { + "question": "What is the title of the episode that aired on 13 august 1981?", + "context": "create table table_2570269_3 (episode_title varchar, original_air_date__uk_ varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_2570269_3 where original_air_date__uk_ = \"13 august 1981\"" + }, + { + "question": "Name the athelte for enkhzorig ( mgl ) l 1\u201310", + "context": "create table table_17417383_6 (athlete varchar, round_of_32 varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_17417383_6 where round_of_32 = \"enkhzorig ( mgl ) l 1\u201310\"" + }, + { + "question": "Who were the writers when there were 27.11 million viewers?", + "context": "create table table_18217753_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_18217753_1 where us_viewers__millions_ = \"27.11\"" + }, + { + "question": "On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage?", + "context": "create table table_159614_2 (opinion_research_centre__opc_ varchar, national_opinion_polls__nop_ varchar, PRIMARY KEY (opinion_research_centre__opc_))", + "answer": "select opinion_research_centre__opc_ from table_159614_2 where national_opinion_polls__nop_ = \"1.3%\"" + }, + { + "question": "Where the number of exports are 6,099.06, what is the total trade?", + "context": "create table table_26160007_1 (total_trade varchar, exports varchar, PRIMARY KEY (total_trade))", + "answer": "select total_trade from table_26160007_1 where exports = \"6,099.06\"" + }, + { + "question": "Show the names of companies and the number of employees they have", + "context": "create table company (name varchar, company_id varchar, PRIMARY KEY (name)); create table people (people_id varchar, PRIMARY KEY (people_id)); create table employment (people_id varchar, company_id varchar, PRIMARY KEY (people_id))", + "answer": "select t3.name, count(*) from employment as t1 join people as t2 on t1.people_id = t2.people_id join company as t3 on t1.company_id = t3.company_id group by t3.name" + }, + { + "question": "Show ids of students who don't play video game.", + "context": "create table plays_games (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student except select stuid from plays_games" + }, + { + "question": "What are the high rebounds in the jamal crawford (20) high points?", + "context": "create table table_27734577_8 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27734577_8 where high_points = \"jamal crawford (20)\"" + }, + { + "question": "The semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?", + "context": "create table table_18602462_22 (round_of_16 varchar, semifinals varchar, PRIMARY KEY (round_of_16))", + "answer": "select round_of_16 from table_18602462_22 where semifinals = \"vergeer ( ned ) l 0-6, 1-6\"" + }, + { + "question": "Where is the audition city when the venue is upi convention center?", + "context": "create table table_28793672_1 (audition_city varchar, venue varchar, PRIMARY KEY (audition_city))", + "answer": "select audition_city from table_28793672_1 where venue = \"upi convention center\"" + }, + { + "question": "When hot adult contemporary is the format what is the call sign?", + "context": "create table table_18536769_1 (call_sign varchar, format varchar, PRIMARY KEY (call_sign))", + "answer": "select call_sign from table_18536769_1 where format = \"hot adult contemporary\"" + }, + { + "question": "At what venues did Lorena Ochoa win the championship?", + "context": "create table table_1520559_1 (venue varchar, champion varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_1520559_1 where champion = \"lorena ochoa\"" + }, + { + "question": "How many frequency figures are given for next station service pattern?", + "context": "create table table_1612760_1 (frequency__per_hour_ varchar, service_pattern varchar, PRIMARY KEY (frequency__per_hour_))", + "answer": "select count(frequency__per_hour_) from table_1612760_1 where service_pattern = \"next station\"" + }, + { + "question": "Name the total number of segment d for wooden s barrel", + "context": "create table table_15187735_10 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select count(segment_d) from table_15187735_10 where segment_a = \"wooden s barrel\"" + }, + { + "question": "What is the total number of years active listings where Asian Cup played as a captain is Japan 1992?", + "context": "create table table_272865_20 (years_active varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (years_active))", + "answer": "select count(years_active) from table_272865_20 where asian_cup_played_as_a_captain = \"japan 1992\"" + }, + { + "question": "Show all document names using templates with template type code BK.", + "context": "create table documents (document_name varchar, template_id varchar, PRIMARY KEY (document_name)); create table templates (template_id varchar, template_type_code varchar, PRIMARY KEY (template_id))", + "answer": "select t2.document_name from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t1.template_type_code = \"bk\"" + }, + { + "question": "what's the\u00a0province\u00a0where\u00a0member\u00a0is dingley brittin category:articles with hcards", + "context": "create table table_1193568_1 (province varchar, member varchar, PRIMARY KEY (province))", + "answer": "select province from table_1193568_1 where member = \"dingley brittin category:articles with hcards\"" + }, + { + "question": "Who was Andrew and Georgies guest when Jamie and Johns guest was Joe Calzaghe?", + "context": "create table table_29141354_2 (andrew_and_georgies_guest varchar, jamie_and_johns_guest varchar, PRIMARY KEY (andrew_and_georgies_guest))", + "answer": "select andrew_and_georgies_guest from table_29141354_2 where jamie_and_johns_guest = \"joe calzaghe\"" + }, + { + "question": "If the episode was directed by Michael Offer, how many US Viewers watched it?", + "context": "create table table_25084227_1 (us_viewers__in_millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__in_millions_))", + "answer": "select us_viewers__in_millions_ from table_25084227_1 where directed_by = \"michael offer\"" + }, + { + "question": "Name the original title for the last metro", + "context": "create table table_18987377_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_18987377_1 where film_title_used_in_nomination = \"the last metro\"" + }, + { + "question": "Find the names of instructors who didn't each any courses in any Spring semester.", + "context": "create table teaches (name varchar, id varchar, semester varchar, PRIMARY KEY (name)); create table instructor (name varchar, id varchar, semester varchar, PRIMARY KEY (name))", + "answer": "select name from instructor where not id in (select id from teaches where semester = 'spring')" + }, + { + "question": "If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/d\u03c4 in units of c?", + "context": "create table table_15314901_1 (proper_velocity_w_dx_d\u03c4_in_units_of_c varchar, condition_parameter varchar, PRIMARY KEY (proper_velocity_w_dx_d\u03c4_in_units_of_c))", + "answer": "select proper_velocity_w_dx_d\u03c4_in_units_of_c from table_15314901_1 where condition_parameter = \"rapidity of 1 hyperbolic radian\"" + }, + { + "question": "Show the leader names and locations of colleges.", + "context": "create table college (leader_name varchar, college_location varchar, PRIMARY KEY (leader_name))", + "answer": "select leader_name, college_location from college" + }, + { + "question": "How many climbers are there?", + "context": "create table climber (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from climber" + }, + { + "question": "Return the names of the contestants whose names contain the substring 'Al' .", + "context": "create table contestants (contestant_name varchar, PRIMARY KEY (contestant_name))", + "answer": "select contestant_name from contestants where contestant_name like \"%al%\"" + }, + { + "question": "For each building, show the name of the building and the number of institutions in it.", + "context": "create table building (name varchar, building_id varchar, PRIMARY KEY (name)); create table institution (building_id varchar, PRIMARY KEY (building_id))", + "answer": "select t1.name, count(*) from building as t1 join institution as t2 on t1.building_id = t2.building_id group by t1.building_id" + }, + { + "question": "What is the number of seats in congress when the candidates per party is 6?", + "context": "create table table_2676980_4 (seats_in_congress varchar, candidates_per_party varchar, PRIMARY KEY (seats_in_congress))", + "answer": "select count(seats_in_congress) from table_2676980_4 where candidates_per_party = 6" + }, + { + "question": "Show the headquarters shared by more than two companies.", + "context": "create table companies (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from companies group by headquarters having count(*) > 2" + }, + { + "question": "What's the genre of Fever Ranma \u00bd: Hot Springs Athletic Chapter?", + "context": "create table table_12744399_1 (genre varchar, english_title_translation varchar, PRIMARY KEY (genre))", + "answer": "select genre from table_12744399_1 where english_title_translation = \"fever ranma \u00bd: hot springs athletic chapter\"" + }, + { + "question": "What was the revising convention of the field 'trimmers and stokers'?", + "context": "create table table_2001348_1 (revising_convention_s_ varchar, field varchar, PRIMARY KEY (revising_convention_s_))", + "answer": "select revising_convention_s_ from table_2001348_1 where field = \"trimmers and stokers\"" + }, + { + "question": "Who directed the episode that aired on September 25, 1967?", + "context": "create table table_25800134_12 (director varchar, airdate varchar, PRIMARY KEY (director))", + "answer": "select director from table_25800134_12 where airdate = \"september 25, 1967\"" + }, + { + "question": "How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'?", + "context": "create table table_2001348_1 (ilo_code varchar, revising_convention_s_ varchar, PRIMARY KEY (ilo_code))", + "answer": "select count(ilo_code) from table_2001348_1 where revising_convention_s_ = \"this convention, work in fishing convention\"" + }, + { + "question": "What is the charity of the celebrity with the background reality star?", + "context": "create table table_12286195_1 (charity varchar, background varchar, PRIMARY KEY (charity))", + "answer": "select charity from table_12286195_1 where background = \"reality star\"" + }, + { + "question": "How many millions of viewers watched the episode directed by Christine Moore?", + "context": "create table table_23255941_1 (viewers__in_millions_ varchar, directed_by varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_23255941_1 where directed_by = \"christine moore\"" + }, + { + "question": "What's the gender of the students taught in the school founded in 1894?", + "context": "create table table_1930857_1 (gender varchar, year_founded varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_1930857_1 where year_founded = \"1894\"" + }, + { + "question": "Find how many school locations have the word 'NY'.", + "context": "create table university (location varchar, PRIMARY KEY (location))", + "answer": "select count(*) from university where location like \"%ny%\"" + }, + { + "question": "What's the area coordinator for the municipality with 1715 people living in it in 2010?", + "context": "create table table_2402209_1 (area_coordinator varchar, population__2010_ varchar, PRIMARY KEY (area_coordinator))", + "answer": "select area_coordinator from table_2402209_1 where population__2010_ = 1715" + }, + { + "question": "for what crime was gunther volz executed at metz?", + "context": "create table table_2861364_1 (crime varchar, place_of_execution varchar, executed_person varchar, PRIMARY KEY (crime))", + "answer": "select crime from table_2861364_1 where place_of_execution = \"metz\" and executed_person = \"gunther volz\"" + }, + { + "question": "Who was the centerfold model when a pictorial was done on marilyn monroe?", + "context": "create table table_1566850_8 (centerfold_model varchar, pictorials varchar, PRIMARY KEY (centerfold_model))", + "answer": "select centerfold_model from table_1566850_8 where pictorials = \"marilyn monroe\"" + }, + { + "question": "Who was the writer when there were 15.85 million US viewers?", + "context": "create table table_15717093_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_15717093_1 where us_viewers__millions_ = \"15.85\"" + }, + { + "question": "what is the total number of high rebounds for minnesota?", + "context": "create table table_22879262_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_22879262_7 where team = \"minnesota\"" + }, + { + "question": "Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania?", + "context": "create table table_13012165_1 (maryland varchar, pennsylvania varchar, PRIMARY KEY (maryland))", + "answer": "select maryland from table_13012165_1 where pennsylvania = \"deep run valley ll hilltown\"" + }, + { + "question": "Name the team for susan bates", + "context": "create table table_24535095_2 (team varchar, listed_owner_s_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_24535095_2 where listed_owner_s_ = \"susan bates\"" + }, + { + "question": "Name the candidates for ellsworth b. buck", + "context": "create table table_1342233_32 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342233_32 where incumbent = \"ellsworth b. buck\"" + }, + { + "question": "What's the C_{low} value when C_{high} is 12.0?", + "context": "create table table_1942366_9 (low varchar, high varchar, PRIMARY KEY (low))", + "answer": "select struct(low) from table_1942366_9 where struct(high) = \"12.0\"" + }, + { + "question": "which vehicles got best time of day 1:17.17", + "context": "create table table_20090682_4 (vehicle varchar, best_time_of_day varchar, PRIMARY KEY (vehicle))", + "answer": "select vehicle from table_20090682_4 where best_time_of_day = \"1:17.17\"" + }, + { + "question": "List all dates of succession in the state class Missouri (3).", + "context": "create table table_2417330_3 (date_of_successors_formal_installation varchar, state__class_ varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select date_of_successors_formal_installation from table_2417330_3 where state__class_ = \"missouri (3)\"" + }, + { + "question": "What are all the denominations for China?", + "context": "create table table_2592308_1 (denominations__gold_weight_ varchar, country varchar, PRIMARY KEY (denominations__gold_weight_))", + "answer": "select denominations__gold_weight_ from table_2592308_1 where country = \"china\"" + }, + { + "question": "How many settlements were made on the claim with the most recent claim settlement date? List the number and the claim id.", + "context": "create table settlements (claim_id varchar, PRIMARY KEY (claim_id)); create table claims (claim_id varchar, date_claim_settled varchar, PRIMARY KEY (claim_id))", + "answer": "select count(*), t1.claim_id from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id order by t1.date_claim_settled desc limit 1" + }, + { + "question": "Who scored highest rebounds high points is charlie villanueva (32)", + "context": "create table table_17058116_7 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17058116_7 where high_points = \"charlie villanueva (32)\"" + }, + { + "question": "List from which date and to which date these staff work: project staff of the project which hires the most staffs", + "context": "create table project_staff (date_from varchar, date_to varchar, project_id varchar, role_code varchar, PRIMARY KEY (date_from))", + "answer": "select date_from, date_to from project_staff where project_id in (select project_id from project_staff group by project_id order by count(*) desc limit 1) union select date_from, date_to from project_staff where role_code = 'leader'" + }, + { + "question": "What percentage of voters chose McCain in the county where 1.1% of voters voted third party?", + "context": "create table table_20278716_2 (mccain__percentage varchar, others__percentage varchar, PRIMARY KEY (mccain__percentage))", + "answer": "select mccain__percentage from table_20278716_2 where others__percentage = \"1.1%\"" + }, + { + "question": "What is the region 1 (Canada) date associated with a region 2 (UK) date of May 18, 2009?", + "context": "create table table_240936_2 (region_1__can_ varchar, region_2__uk_ varchar, PRIMARY KEY (region_1__can_))", + "answer": "select region_1__can_ from table_240936_2 where region_2__uk_ = \"may 18, 2009\"" + }, + { + "question": "List the project details of the projects launched by the organisation", + "context": "create table projects (project_details varchar, organisation_id varchar, PRIMARY KEY (project_details))", + "answer": "select project_details from projects where organisation_id in (select organisation_id from projects group by organisation_id order by count(*) desc limit 1)" + }, + { + "question": "What was the weekly rank by Virgin media for the title aired on May 20, 2010?", + "context": "create table table_26826304_2 (weekly_rank_virgin_media integer, air_date varchar, PRIMARY KEY (weekly_rank_virgin_media))", + "answer": "select min(weekly_rank_virgin_media) from table_26826304_2 where air_date = \"may 20, 2010\"" + }, + { + "question": "who are the candidates when the incumbent is lindsey graham?", + "context": "create table table_1341423_40 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341423_40 where incumbent = \"lindsey graham\"" + }, + { + "question": "Find all the stage positions of the musicians with first name \"Solveig\"", + "context": "create table band (id varchar, PRIMARY KEY (id)); create table performance (stageposition varchar, bandmate varchar, PRIMARY KEY (stageposition))", + "answer": "select distinct t1.stageposition from performance as t1 join band as t2 on t1.bandmate = t2.id where firstname = \"solveig\"" + }, + { + "question": "What is the socket for the pentium dual-core t2410?", + "context": "create table table_11602313_4 (socket varchar, model_number varchar, PRIMARY KEY (socket))", + "answer": "select socket from table_11602313_4 where model_number = \"pentium dual-core t2410\"" + }, + { + "question": "Which of the countries has the most car makers? List the country name.", + "context": "create table car_makers (country varchar, PRIMARY KEY (country)); create table countries (countryname varchar, countryid varchar, PRIMARY KEY (countryname))", + "answer": "select t2.countryname from car_makers as t1 join countries as t2 on t1.country = t2.countryid group by t1.country order by count(*) desc limit 1" + }, + { + "question": "What are the names of products whose availability equals to 1?", + "context": "create table view_product_availability (product_id varchar, available_yn varchar, PRIMARY KEY (product_id)); create table products_for_hire (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "select t2.product_name from view_product_availability as t1 join products_for_hire as t2 on t1.product_id = t2.product_id where t1.available_yn = 1" + }, + { + "question": "List the names of climbers whose country is not Switzerland.", + "context": "create table climber (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from climber where country <> \"switzerland\"" + }, + { + "question": "Name the vessel type for beluga shipping", + "context": "create table table_26168687_5 (vessel_type varchar, vessel_operator varchar, PRIMARY KEY (vessel_type))", + "answer": "select vessel_type from table_26168687_5 where vessel_operator = \"beluga shipping\"" + }, + { + "question": "Name the total number of awardees for best screenplay", + "context": "create table table_24446718_3 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select count(awardee_s_) from table_24446718_3 where name_of_award = \"best screenplay\"" + }, + { + "question": "Which surfaces have the final score of 6\u20131, 6\u20137 (2\u20137) , 7\u20136 (7\u20135) , 7\u20136 (10\u20138)?", + "context": "create table table_22834834_3 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_22834834_3 where score_in_the_final = \"6\u20131, 6\u20137 (2\u20137) , 7\u20136 (7\u20135) , 7\u20136 (10\u20138)\"" + }, + { + "question": "What is the region 1 where region 4 is tba is the complete eighth series?", + "context": "create table table_1337525_1 (region_1 varchar, region_4 varchar, complete_series varchar, PRIMARY KEY (region_1))", + "answer": "select region_1 from table_1337525_1 where region_4 = \"tba\" and complete_series = \"the complete eighth series\"" + }, + { + "question": "In how many locations was the game against Barcelona Dragons played?", + "context": "create table table_1941183_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select count(game_site) from table_1941183_2 where opponent = \"barcelona dragons\"" + }, + { + "question": "Name the lower index kcal/ nm3 for 61.32", + "context": "create table table_1868929_1 (lower_index_kcal__nm_3 varchar, upper_index_mj__nm_3 varchar, PRIMARY KEY (lower_index_kcal__nm_3))", + "answer": "select lower_index_kcal__nm_3 from table_1868929_1 where upper_index_mj__nm_3 = \"61.32\"" + }, + { + "question": "What's the number of verbal nouns with the basic stem (root) -bil-?", + "context": "create table table_12784134_1 (verbal_noun varchar, basic_stem__root_ varchar, PRIMARY KEY (verbal_noun))", + "answer": "select count(verbal_noun) from table_12784134_1 where basic_stem__root_ = \"-bil-\"" + }, + { + "question": "How many junctions have \"replaced by bsi-35\" listed in their remarks section?", + "context": "create table table_11336756_6 (junctions varchar, remarks varchar, PRIMARY KEY (junctions))", + "answer": "select count(junctions) from table_11336756_6 where remarks = \"replaced by bsi-35\"" + }, + { + "question": "Which college did the player attend that went to Mission Viejo High School?", + "context": "create table table_11677691_4 (college varchar, school varchar, PRIMARY KEY (college))", + "answer": "select college from table_11677691_4 where school = \"mission viejo high school\"" + }, + { + "question": "How many values of r z (arcsecond) correspond with a r y (arcsecond) value of \u22120.247?", + "context": "create table table_15318324_1 (r_z___arcsecond__ varchar, r_y___arcsecond__ varchar, PRIMARY KEY (r_z___arcsecond__))", + "answer": "select r_z___arcsecond__ from table_15318324_1 where r_y___arcsecond__ = \"\u22120.247\"" + }, + { + "question": "What is the rank where the area is Los Angeles?", + "context": "create table table_1131183_2 (rank___wjc__ varchar, metro_area varchar, PRIMARY KEY (rank___wjc__))", + "answer": "select rank___wjc__ from table_1131183_2 where metro_area = \"los angeles\"" + }, + { + "question": "How many Latin Americans lived in 2011 in Saskatchewan?", + "context": "create table table_1939405_2 (latin_americans_2011 integer, province varchar, PRIMARY KEY (latin_americans_2011))", + "answer": "select min(latin_americans_2011) from table_1939405_2 where province = \"saskatchewan\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0brooklyn\u00a0value of 51.0%", + "context": "create table table_1108394_43 (party varchar, brooklyn varchar, PRIMARY KEY (party))", + "answer": "select party from table_1108394_43 where brooklyn = \"51.0_percentage\"" + }, + { + "question": "What are the vocal types used in song \"Le Pop\"?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = \"le pop\"" + }, + { + "question": "In how many different categories is the value of C_{low} 35.5?", + "context": "create table table_1942366_9 (category varchar, low varchar, PRIMARY KEY (category))", + "answer": "select count(category) from table_1942366_9 where struct(low) = \"35.5\"" + }, + { + "question": "In the Class T, what is the total of the 1958 UTA?", + "context": "create table t (id varchar, PRIMARY KEY (id))", + "answer": "select count(1958 as _uta) from \"t\" as able_name_49 where class = \"t\"" + }, + { + "question": "How many prefectures have a population density of 16 people/kilometers squared?", + "context": "create table table_221398_1 (pop_density___km\u00b2_ varchar, number_in_map varchar, PRIMARY KEY (pop_density___km\u00b2_))", + "answer": "select count(pop_density___km\u00b2_) from table_221398_1 where number_in_map = \"16\"" + }, + { + "question": "What is the name of party with most number of members?", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (party_id varchar, PRIMARY KEY (party_id))", + "answer": "select t2.party_name from member as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id order by count(*) desc limit 1" + }, + { + "question": "Which state does congressman jim demint represent?", + "context": "create table table_20803065_1 (state varchar, senator varchar, PRIMARY KEY (state))", + "answer": "select state from table_20803065_1 where senator = \"jim demint\"" + }, + { + "question": "how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?", + "context": "create table table_2668347_14 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2668347_14 where candidates = \"thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%\"" + }, + { + "question": "What is the amoun of marginal ordinary income tax rate where married filing jointly or qualified widow is $208,851\u2013$372,950?", + "context": "create table table_11647327_2 (marginal_ordinary_income_tax_rate varchar, married_filing_jointly_or_qualified_widow_er_ varchar, PRIMARY KEY (marginal_ordinary_income_tax_rate))", + "answer": "select count(marginal_ordinary_income_tax_rate) from table_11647327_2 where married_filing_jointly_or_qualified_widow_er_ = \"$208,851\u2013$372,950\"" + }, + { + "question": "Show the type of school and the number of buses for each type.", + "context": "create table school (type varchar, school_id varchar, PRIMARY KEY (type)); create table school_bus (school_id varchar, PRIMARY KEY (school_id))", + "answer": "select t2.type, count(*) from school_bus as t1 join school as t2 on t1.school_id = t2.school_id group by t2.type" + }, + { + "question": "where catalog number is 81258 , what are all the studio ?", + "context": "create table table_11222744_2 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))", + "answer": "select studio from table_11222744_2 where catalog_number = \"81258\"" + }, + { + "question": "What was the stats of Trinidad and Tobago", + "context": "create table table_1231316_4 (wind__m_s_ varchar, country varchar, PRIMARY KEY (wind__m_s_))", + "answer": "select wind__m_s_ from table_1231316_4 where country = \"trinidad and tobago\"" + }, + { + "question": "What is the last name of the author that has published the most papers?", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (lname varchar, fname varchar, authid varchar, PRIMARY KEY (lname)); create table papers (paperid varchar, PRIMARY KEY (paperid))", + "answer": "select t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid group by t1.fname, t1.lname order by count(*) desc limit 1" + }, + { + "question": "Show all student IDs with more than total 10 hours per week on all sports played.", + "context": "create table sportsinfo (stuid varchar, hoursperweek integer, PRIMARY KEY (stuid))", + "answer": "select stuid from sportsinfo group by stuid having sum(hoursperweek) > 10" + }, + { + "question": "What is the location of the institution nicknamed Lions?", + "context": "create table table_2562113_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_2562113_1 where nickname = \"lions\"" + }, + { + "question": "Who in the original Toronto cast played the character played by Kate Rockwell in the current Broadway cast?", + "context": "create table table_19529639_3 (original_toronto_cast varchar, current_broadway_cast varchar, PRIMARY KEY (original_toronto_cast))", + "answer": "select original_toronto_cast from table_19529639_3 where current_broadway_cast = \"kate rockwell\"" + }, + { + "question": "What is the description of the restaurant type Sandwich?", + "context": "create table restaurant_type (restypedescription varchar, restypename varchar, PRIMARY KEY (restypedescription))", + "answer": "select restypedescription from restaurant_type where restypename = \"sandwich\"" + }, + { + "question": "How many activities do we have?", + "context": "create table activity (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from activity" + }, + { + "question": "Show the id, name of each festival and the number of artworks it has nominated.", + "context": "create table nomination (festival_id varchar, artwork_id varchar, PRIMARY KEY (festival_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name)); create table artwork (artwork_id varchar, PRIMARY KEY (artwork_id))", + "answer": "select t1.festival_id, t3.festival_name, count(*) from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id group by t1.festival_id" + }, + { + "question": "What are the largest ethnic groups where the cyrillic name and other names is \u043f\u0430\u0447\u0438\u0440 (hungarian: pacs\u00e9r)?", + "context": "create table table_2562572_27 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_27 where cyrillic_name_other_names = \"\u043f\u0430\u0447\u0438\u0440 (hungarian: pacs\u00e9r)\"" + }, + { + "question": "What is the calling at for the 09.50 departure?", + "context": "create table table_18332845_2 (calling_at varchar, departure varchar, PRIMARY KEY (calling_at))", + "answer": "select calling_at from table_18332845_2 where departure = \"09.50\"" + }, + { + "question": "Find number of tracks in each genre?", + "context": "create table tracks (genre_id varchar, PRIMARY KEY (genre_id)); create table genres (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select count(*), t1.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id group by t1.name" + }, + { + "question": "What's the name of the course with most number of enrollments?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_enrolment_courses (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1" + }, + { + "question": "When Spencer is the county what is the in no.?", + "context": "create table table_14253123_1 (in_no varchar, county_name varchar, PRIMARY KEY (in_no))", + "answer": "select in_no from table_14253123_1 where county_name = \"spencer\"" + }, + { + "question": "How many statuses are listed for the parish officially named Gagetown?", + "context": "create table table_171356_2 (status varchar, official_name varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_171356_2 where official_name = \"gagetown\"" + }, + { + "question": "What time was the highest for 2nd finishers?", + "context": "create table table_10021158_3 (id varchar, PRIMARY KEY (id))", + "answer": "select max(2 as nd) from table_10021158_3" + }, + { + "question": "What is the team Sussex' highest score?", + "context": "create table table_27268238_4 (highest_score varchar, team varchar, PRIMARY KEY (highest_score))", + "answer": "select highest_score from table_27268238_4 where team = \"sussex\"" + }, + { + "question": "What was the number of viewers in millions for the broadcast from 2010?", + "context": "create table table_24212608_1 (viewers__millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select viewers__millions_ from table_24212608_1 where broadcast_date = 2010" + }, + { + "question": "What is the broadcast date when 8.3 million viewers watched?", + "context": "create table table_1785117_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_1785117_1 where viewers__in_millions_ = \"8.3\"" + }, + { + "question": "List the names of countries whose language is not \"German\".", + "context": "create table country (name varchar, languages varchar, PRIMARY KEY (name))", + "answer": "select name from country where languages <> \"german\"" + }, + { + "question": "Find name of the services that has never been used.", + "context": "create table services (service_name varchar, PRIMARY KEY (service_name)); create table party_services (service_id varchar, PRIMARY KEY (service_id)); create table services (service_name varchar, service_id varchar, PRIMARY KEY (service_name))", + "answer": "select service_name from services except select t1.service_name from services as t1 join party_services as t2 on t1.service_id = t2.service_id" + }, + { + "question": "who was executed during president charles de gaulle's reign for thr crime of child murder after rape?", + "context": "create table table_2861364_1 (executed_person varchar, under_president varchar, crime varchar, PRIMARY KEY (executed_person))", + "answer": "select executed_person from table_2861364_1 where under_president = \"charles de gaulle\" and crime = \"child murder after rape\"" + }, + { + "question": "What is the running of marlene sanchez?", + "context": "create table table_12407546_2 (running varchar, athlete varchar, PRIMARY KEY (running))", + "answer": "select running from table_12407546_2 where athlete = \"marlene sanchez\"" + }, + { + "question": "What are the numbers for the order number 713096-713119?", + "context": "create table table_2351952_1 (numbers varchar, order_number varchar, PRIMARY KEY (numbers))", + "answer": "select numbers from table_2351952_1 where order_number = \"713096-713119\"" + }, + { + "question": "Find the number of reviews.", + "context": "create table review (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from review" + }, + { + "question": "What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph?", + "context": "create table table_23465864_5 (mon_24_aug varchar, fri_28_aug varchar, PRIMARY KEY (mon_24_aug))", + "answer": "select mon_24_aug from table_23465864_5 where fri_28_aug = \"23' 22.25 96.864mph\"" + }, + { + "question": "When did the Prime Minister of Italy take office?", + "context": "create table table_10026563_1 (entered_office_as_head_of_state_or_government varchar, office varchar, PRIMARY KEY (entered_office_as_head_of_state_or_government))", + "answer": "select entered_office_as_head_of_state_or_government from table_10026563_1 where office = \"prime minister of italy\"" + }, + { + "question": "What is the theme where the original artist is Noemi feat. Fiorella Mannoia?", + "context": "create table table_25374338_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_25374338_1 where original_artist = \"noemi feat. fiorella mannoia\"" + }, + { + "question": "Which city has a school where the nickname is Pioneers?", + "context": "create table table_262560_2 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_262560_2 where nickname = \"pioneers\"" + }, + { + "question": "What is the mascot for the instition of Kansas city Kansas community college?", + "context": "create table table_12434380_1 (mascot varchar, institution varchar, PRIMARY KEY (mascot))", + "answer": "select mascot from table_12434380_1 where institution = \"kansas city kansas community college\"" + }, + { + "question": "Name the dates for margin of victory being 5 strokes", + "context": "create table table_1628792_1 (dates varchar, margin_of_victory varchar, PRIMARY KEY (dates))", + "answer": "select count(dates) from table_1628792_1 where margin_of_victory = \"5 strokes\"" + }, + { + "question": "Find the name of the candidates whose oppose percentage is the lowest for each sex.", + "context": "create table candidate (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, sex varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t1.sex, min(oppose_rate) from people as t1 join candidate as t2 on t1.people_id = t2.people_id group by t1.sex" + }, + { + "question": "Show names of actors and names of musicals they are in.", + "context": "create table actor (name varchar, musical_id varchar, PRIMARY KEY (name)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t2.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id" + }, + { + "question": "How many writers were there in the episode directed by Charles Haid?", + "context": "create table table_23255941_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_23255941_1 where directed_by = \"charles haid\"" + }, + { + "question": "Name the driver for race time being 2:34:21", + "context": "create table table_16493961_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_16493961_1 where race_time = \"2:34:21\"" + }, + { + "question": "Which teams won when Bobby Rahal was their winning driver?", + "context": "create table table_10706961_2 (winning_team varchar, winning_driver varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_10706961_2 where winning_driver = \"bobby rahal\"" + }, + { + "question": "What was the GF attendance at the location of Sydney Football Stadium, Sydney (6)?", + "context": "create table table_11236195_2 (gf_attendance varchar, location varchar, PRIMARY KEY (gf_attendance))", + "answer": "select count(gf_attendance) from table_11236195_2 where location = \"sydney football stadium, sydney (6)\"" + }, + { + "question": "How man teams have a writer named harry angus?", + "context": "create table table_28243323_1 (name_of_team_song varchar, writer_composer varchar, PRIMARY KEY (name_of_team_song))", + "answer": "select count(name_of_team_song) from table_28243323_1 where writer_composer = \"harry angus\"" + }, + { + "question": "What is the education in Nepal?", + "context": "create table table_23050383_1 (education varchar, country varchar, PRIMARY KEY (education))", + "answer": "select education from table_23050383_1 where country = \"nepal\"" + }, + { + "question": "What are the entry names of catalog with the attribute possessed by most entries.", + "context": "create table catalog_contents_additional_attributes (catalog_entry_id varchar, attribute_value varchar, PRIMARY KEY (catalog_entry_id)); create table catalog_contents (catalog_entry_name varchar, catalog_entry_id varchar, PRIMARY KEY (catalog_entry_name)); create table catalog_contents_additional_attributes (attribute_value varchar, PRIMARY KEY (attribute_value))", + "answer": "select t1.catalog_entry_name from catalog_contents as t1 join catalog_contents_additional_attributes as t2 on t1.catalog_entry_id = t2.catalog_entry_id where t2.attribute_value = (select attribute_value from catalog_contents_additional_attributes group by attribute_value order by count(*) desc limit 1)" + }, + { + "question": "Name the competition of panathinaikos", + "context": "create table table_17594659_1 (competition varchar, opposition varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_17594659_1 where opposition = \"panathinaikos\"" + }, + { + "question": "When Yaroslav Popovych won most corageous, who won the mountains classification?", + "context": "create table table_25055040_22 (mountains_classification varchar, most_courageous varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_25055040_22 where most_courageous = \"yaroslav popovych\"" + }, + { + "question": "What are the home team scores when richmond is the home team?", + "context": "create table table_16388506_1 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388506_1 where home_team = \"richmond\"" + }, + { + "question": "What is the location for the office whose term ended December 2, 1976", + "context": "create table table_1602620_1 (location varchar, term_ended varchar, PRIMARY KEY (location))", + "answer": "select location from table_1602620_1 where term_ended = \"december 2, 1976\"" + }, + { + "question": "If the team in the New England Patriots, what is the super bowl championship minimum number?", + "context": "create table table_1952057_5 (super_bowl_championships integer, team varchar, PRIMARY KEY (super_bowl_championships))", + "answer": "select min(super_bowl_championships) from table_1952057_5 where team = \"new england patriots\"" + }, + { + "question": "What is the total number of television channels when one of the radio stations is onda madrid?", + "context": "create table table_23143607_1 (television_channels varchar, radio_stations varchar, PRIMARY KEY (television_channels))", + "answer": "select count(television_channels) from table_23143607_1 where radio_stations = \"onda madrid\"" + }, + { + "question": "When did the club UNAM played the first season in top division?", + "context": "create table table_18143210_2 (first_season_in_top_division varchar, club varchar, PRIMARY KEY (first_season_in_top_division))", + "answer": "select first_season_in_top_division from table_18143210_2 where club = \"unam\"" + }, + { + "question": "Name the comprehension for non-fluent, effortful, slow", + "context": "create table table_2088_1 (auditory_comprehension varchar, fluency varchar, PRIMARY KEY (auditory_comprehension))", + "answer": "select auditory_comprehension from table_2088_1 where fluency = \"non-fluent, effortful, slow\"" + }, + { + "question": "give the location of subtrate coproporphyrinogen iii", + "context": "create table table_182499_1 (location varchar, substrate varchar, PRIMARY KEY (location))", + "answer": "select location from table_182499_1 where substrate = \"coproporphyrinogen iii\"" + }, + { + "question": "What is the coverage of relay 5kw of dyfj-tv?", + "context": "create table table_12379297_1 (coverage__transmitter_site_ varchar, callsign varchar, station_type varchar, power__kw_ varchar, PRIMARY KEY (coverage__transmitter_site_))", + "answer": "select coverage__transmitter_site_ from table_12379297_1 where station_type = \"relay\" and power__kw_ = \"5kw\" and callsign = \"dyfj-tv\"" + }, + { + "question": "If the calculated activity (CI) is 4.96\u00d710 \u221211, what is the specimen weight/size?", + "context": "create table table_26211058_1 (specimen_weight_size varchar, calculated_activity___ci__ varchar, PRIMARY KEY (specimen_weight_size))", + "answer": "select specimen_weight_size from table_26211058_1 where calculated_activity___ci__ = \"4.96\u00d710 \u221211\"" + }, + { + "question": "In what season did the team get in the conference finals of the playoffs?", + "context": "create table table_1939214_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))", + "answer": "select regular_season from table_1939214_1 where playoffs = \"conference finals\"" + }, + { + "question": "HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?", + "context": "create table table_1566852_7 (cover_model varchar, centerfold_model varchar, PRIMARY KEY (cover_model))", + "answer": "select count(cover_model) from table_1566852_7 where centerfold_model = \"stephanie larimore\"" + }, + { + "question": "When 27,822 (72.3) is the percentage for how many electorate measurements are there?", + "context": "create table table_20683381_3 (electorate varchar, for___percentage_ varchar, PRIMARY KEY (electorate))", + "answer": "select count(electorate) from table_20683381_3 where for___percentage_ = \"27,822 (72.3)\"" + }, + { + "question": "What is HSN's official virtual channel in Minneapolis-St. Paul?", + "context": "create table table_1404984_1 (virtual_channel varchar, network varchar, PRIMARY KEY (virtual_channel))", + "answer": "select virtual_channel from table_1404984_1 where network = \"hsn\"" + }, + { + "question": "What is every pregame analyst with Chris Rose as trophy presenter?", + "context": "create table table_2941848_2 (pregame_analysts varchar, trophy_presentation varchar, PRIMARY KEY (pregame_analysts))", + "answer": "select pregame_analysts from table_2941848_2 where trophy_presentation = \"chris rose\"" + }, + { + "question": "What's part 1 of the verb whose part 4 is gevroren?", + "context": "create table table_1745843_7 (part_1 varchar, part_4 varchar, PRIMARY KEY (part_1))", + "answer": "select part_1 from table_1745843_7 where part_4 = \"gevroren\"" + }, + { + "question": "What is the date when the document \"Marry CV\" was stored?", + "context": "create table all_documents (date_stored varchar, document_name varchar, PRIMARY KEY (date_stored))", + "answer": "select date_stored from all_documents where document_name = \"marry cv\"" + }, + { + "question": "What is the budget type code with most number of documents.", + "context": "create table documents_with_expenses (budget_type_code varchar, PRIMARY KEY (budget_type_code))", + "answer": "select budget_type_code from documents_with_expenses group by budget_type_code order by count(*) desc limit 1" + }, + { + "question": "What is the last name of the musician that has been at the back position the most?", + "context": "create table band (lastname varchar, id varchar, PRIMARY KEY (lastname)); create table performance (bandmate varchar, PRIMARY KEY (bandmate))", + "answer": "select t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id where stageposition = \"back\" group by lastname order by count(*) desc limit 1" + }, + { + "question": "How many paragraphs for the document with name 'Summer Show'?", + "context": "create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select count(*) from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'summer show'" + }, + { + "question": "Where was the 2011-2012 soccer state tournament held?", + "context": "create table table_2849652_2 (sport varchar, PRIMARY KEY (sport))", + "answer": "select 2011 as _2012_state_tournament_location from table_2849652_2 where sport = \"soccer\"" + }, + { + "question": "What are the unique types of player positions in the tryout?", + "context": "create table tryout (ppos varchar, PRIMARY KEY (ppos))", + "answer": "select count(distinct ppos) from tryout" + }, + { + "question": "For the game whose developer was Ailive, is it a Move-only release?", + "context": "create table table_26538035_1 (move_only varchar, developer varchar, PRIMARY KEY (move_only))", + "answer": "select move_only from table_26538035_1 where developer = \"ailive\"" + }, + { + "question": "What is the average horizontal bar points for all gymnasts?", + "context": "create table gymnast (horizontal_bar_points integer, PRIMARY KEY (horizontal_bar_points))", + "answer": "select avg(horizontal_bar_points) from gymnast" + }, + { + "question": "what are the lines served where station users is 210076?", + "context": "create table table_14748457_1 (lines_served varchar, station_users_2008_9 varchar, PRIMARY KEY (lines_served))", + "answer": "select lines_served from table_14748457_1 where station_users_2008_9 = \"210076\"" + }, + { + "question": "How many tasks are there in total?", + "context": "create table tasks (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from tasks" + }, + { + "question": "Who was in the election that was for incumbent bud shuster's seat?", + "context": "create table table_1341522_41 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_1341522_41 where incumbent = \"bud shuster\"" + }, + { + "question": "What is the institution whose current conference is gcac (naia)?", + "context": "create table table_262481_2 (institution varchar, current_conference varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_262481_2 where current_conference = \"gcac (naia)\"" + }, + { + "question": "What team does the player who went to Nebraska play for?", + "context": "create table table_21321804_3 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_21321804_3 where college = \"nebraska\"" + }, + { + "question": "Name the incumbent for candidates Joseph Hiester (dr) 83.2% Roswell Wells (f) 16.8%.", + "context": "create table table_2668401_12 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668401_12 where candidates = \"joseph hiester (dr) 83.2% roswell wells (f) 16.8%\"" + }, + { + "question": "how many\u00a0high assists with\u00a0record\u00a0being 15-11", + "context": "create table table_13762472_4 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_13762472_4 where record = \"15-11\"" + }, + { + "question": "Who had the play-by-play on espn with sideline reporter monica gonzalez?", + "context": "create table table_17516922_1 (play_by_play varchar, network varchar, sideline_reporters varchar, PRIMARY KEY (play_by_play))", + "answer": "select play_by_play from table_17516922_1 where network = \"espn\" and sideline_reporters = \"monica gonzalez\"" + }, + { + "question": "What is the tournament location when Vicky Hurst in the champion?", + "context": "create table table_12243817_1 (tournament_location varchar, champion varchar, PRIMARY KEY (tournament_location))", + "answer": "select tournament_location from table_12243817_1 where champion = \"vicky hurst\"" + }, + { + "question": "What is the abbreviation of Airline \"JetBlue Airways\"?", + "context": "create table airlines (abbreviation varchar, airline varchar, PRIMARY KEY (abbreviation))", + "answer": "select abbreviation from airlines where airline = \"jetblue airways\"" + }, + { + "question": "Name the total number of material collected for justice league of america by george p\u00e9rez, vol. 2", + "context": "create table table_19534677_1 (material_collected varchar, volume_title varchar, PRIMARY KEY (material_collected))", + "answer": "select count(material_collected) from table_19534677_1 where volume_title = \"justice league of america by george p\u00e9rez, vol. 2\"" + }, + { + "question": "Show the ids and names of festivals that have at least two nominations for artworks.", + "context": "create table nomination (festival_id varchar, artwork_id varchar, PRIMARY KEY (festival_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name)); create table artwork (artwork_id varchar, PRIMARY KEY (artwork_id))", + "answer": "select t1.festival_id, t3.festival_name from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id group by t1.festival_id having count(*) >= 2" + }, + { + "question": "How many fault status codes are recorded in the fault log parts table?", + "context": "create table fault_log_parts (fault_status varchar, PRIMARY KEY (fault_status))", + "answer": "select distinct fault_status from fault_log_parts" + }, + { + "question": "Name the profits for market value of 11.8", + "context": "create table table_19112_3 (profits__billion_$_ varchar, market_value__billion_$_ varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_19112_3 where market_value__billion_$_ = \"11.8\"" + }, + { + "question": "Find the first names of students studying in room 108.", + "context": "create table list (firstname varchar, classroom varchar, PRIMARY KEY (firstname))", + "answer": "select firstname from list where classroom = 108" + }, + { + "question": "What year was Ontario's first LLCR?", + "context": "create table table_28457809_3 (first_llcr varchar, province varchar, PRIMARY KEY (first_llcr))", + "answer": "select first_llcr from table_28457809_3 where province = \"ontario\"" + }, + { + "question": "What is the title for episode number 30?", + "context": "create table table_26952212_1 (title varchar, no_in_total varchar, PRIMARY KEY (title))", + "answer": "select title from table_26952212_1 where no_in_total = \"30\"" + }, + { + "question": "what are all the gtc winners for pole position no. 21 team modena", + "context": "create table table_13079788_3 (gtc_winner varchar, pole_position varchar, PRIMARY KEY (gtc_winner))", + "answer": "select gtc_winner from table_13079788_3 where pole_position = \"no. 21 team modena\"" + }, + { + "question": "Who was the writer for the episode with 2.15 million u.s.viewers?", + "context": "create table table_22380270_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_22380270_1 where us_viewers__millions_ = \"2.15\"" + }, + { + "question": "which institutes gave the democratic renewal 18.0% \u2013 22.0% on a poll from October 6, 1985?", + "context": "create table table_1919538_1 (institute varchar, democratic_renewal varchar, PRIMARY KEY (institute))", + "answer": "select institute from table_1919538_1 where democratic_renewal = \"18.0% \u2013 22.0%\"" + }, + { + "question": "What spacecraft was launched from the LC34 launch complex?", + "context": "create table table_179174_2 (spacecraft varchar, launch_complex varchar, PRIMARY KEY (spacecraft))", + "answer": "select spacecraft from table_179174_2 where launch_complex = \"lc34\"" + }, + { + "question": "When was the original air date written by michael s. chernuchin & joe morgenstern?", + "context": "create table table_2618072_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_2618072_1 where written_by = \"michael s. chernuchin & joe morgenstern\"" + }, + { + "question": "Who directed the episode that was watched by 2.97 million U.S. viewers?", + "context": "create table table_29920800_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29920800_1 where us_viewers__million_ = \"2.97\"" + }, + { + "question": "Who was the turbine manufacturer of the wind farm that started service on 2005?", + "context": "create table table_24837750_1 (turbine_manufacturer varchar, date_in_service varchar, PRIMARY KEY (turbine_manufacturer))", + "answer": "select turbine_manufacturer from table_24837750_1 where date_in_service = \"2005\"" + }, + { + "question": "Which archive has a run time of 23:48?", + "context": "create table table_2114238_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2114238_1 where run_time = \"23:48\"" + }, + { + "question": "What is the name and description for document type code RV?", + "context": "create table ref_document_types (document_type_name varchar, document_type_description varchar, document_type_code varchar, PRIMARY KEY (document_type_name))", + "answer": "select document_type_name, document_type_description from ref_document_types where document_type_code = \"rv\"" + }, + { + "question": "What is the first and last name of the student participating in the most activities?", + "context": "create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table participates_in (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select t1.fname, t1.lname from student as t1 join participates_in as t2 on t1.stuid = t2.stuid group by t1.stuid order by count(*) desc limit 1" + }, + { + "question": "What is the flange thickness when the weight is 19.9?", + "context": "create table table_2071644_2 (flange_thickness__mm_ varchar, weight__kg_m_ varchar, PRIMARY KEY (flange_thickness__mm_))", + "answer": "select flange_thickness__mm_ from table_2071644_2 where weight__kg_m_ = \"19.9\"" + }, + { + "question": "Name the yarn type for standard yarn weight system for 3 or light", + "context": "create table table_20297668_1 (yarn_type__us_ varchar, standard_yarn_weight_system varchar, PRIMARY KEY (yarn_type__us_))", + "answer": "select yarn_type__us_ from table_20297668_1 where standard_yarn_weight_system = \"3 or light\"" + }, + { + "question": "Show different carriers of phones together with the number of phones with each carrier.", + "context": "create table phone (carrier varchar, PRIMARY KEY (carrier))", + "answer": "select carrier, count(*) from phone group by carrier" + }, + { + "question": "Find the organisation type description of the organisation detailed as 'quo'.", + "context": "create table organisations (organisation_type varchar, organisation_details varchar, PRIMARY KEY (organisation_type)); create table organisation_types (organisation_type_description varchar, organisation_type varchar, PRIMARY KEY (organisation_type_description))", + "answer": "select t1.organisation_type_description from organisation_types as t1 join organisations as t2 on t1.organisation_type = t2.organisation_type where t2.organisation_details = 'quo'" + }, + { + "question": "What party is incumbent virgil chapman from?", + "context": "create table table_1342233_17 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342233_17 where incumbent = \"virgil chapman\"" + }, + { + "question": "Name the name for san beda", + "context": "create table table_15463188_7 (name varchar, school_club_team varchar, PRIMARY KEY (name))", + "answer": "select name from table_15463188_7 where school_club_team = \"san beda\"" + }, + { + "question": "What is the sigma (with 1.5\u03c3 shift) when there are 69% defective?", + "context": "create table table_222448_1 (sigma__with_15\u03c3_shift_ varchar, percent_defective varchar, PRIMARY KEY (sigma__with_15\u03c3_shift_))", + "answer": "select sigma__with_15\u03c3_shift_ from table_222448_1 where percent_defective = \"69%\"" + }, + { + "question": "Who had the pole position when matt davies had the fastest lap?", + "context": "create table table_29162856_1 (pole_position varchar, fastest_lap varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_29162856_1 where fastest_lap = \"matt davies\"" + }, + { + "question": "What is the stadium for alloa athletic?", + "context": "create table table_11206787_5 (stadium varchar, team varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_11206787_5 where team = \"alloa athletic\"" + }, + { + "question": "How many themes are there where the order # is 9?", + "context": "create table table_26250253_1 (theme varchar, order__number varchar, PRIMARY KEY (theme))", + "answer": "select count(theme) from table_26250253_1 where order__number = \"9\"" + }, + { + "question": "When the winner was Alessandro Ballan, how many total team classifications were there?", + "context": "create table table_15294880_2 (team_classification varchar, winner varchar, PRIMARY KEY (team_classification))", + "answer": "select count(team_classification) from table_15294880_2 where winner = \"alessandro ballan\"" + }, + { + "question": "timothy truman worked on what dates", + "context": "create table table_1420954_1 (publication_dates varchar, artist_s_ varchar, PRIMARY KEY (publication_dates))", + "answer": "select publication_dates from table_1420954_1 where artist_s_ = \"timothy truman\"" + }, + { + "question": "Show the name of colleges that have at least two players.", + "context": "create table match_season (college varchar, PRIMARY KEY (college))", + "answer": "select college from match_season group by college having count(*) >= 2" + }, + { + "question": "What is the U.S. air date when the U.S. viewers are 7.5 million?", + "context": "create table table_2866503_1 (us_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_2866503_1 where us_viewers__million_ = \"7.5\"" + }, + { + "question": "Who did the fastest lap in the race won by Paul Tracy, with Emerson Fittipaldi at the pole position?", + "context": "create table table_19908651_3 (fastest_lap varchar, pole_position varchar, winning_driver varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_19908651_3 where pole_position = \"emerson fittipaldi\" and winning_driver = \"paul tracy\"" + }, + { + "question": "What is the first appearance of the character played by Obdul Reid?", + "context": "create table table_26240046_1 (first_appearance varchar, played_by varchar, PRIMARY KEY (first_appearance))", + "answer": "select first_appearance from table_26240046_1 where played_by = \"obdul reid\"" + }, + { + "question": "Which winning team beat the New York Yankees?", + "context": "create table table_10548224_1 (winning_team varchar, losing_team varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_10548224_1 where losing_team = \"new york yankees\"" + }, + { + "question": "Show the names of members and names of colleges they go to.", + "context": "create table member (name varchar, college_id varchar, PRIMARY KEY (name)); create table college (name varchar, college_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t1.name from college as t1 join member as t2 on t1.college_id = t2.college_id" + }, + { + "question": "What is the barony for the Ballintaggart townland?", + "context": "create table table_30120619_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select barony from table_30120619_1 where townland = \"ballintaggart\"" + }, + { + "question": "Who won the Mens Singles when the Mixed doubles went to Stellan Mohlin Kerstin St\u00e5hl , Aik?", + "context": "create table table_12266757_1 (mens_singles varchar, mixed_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_12266757_1 where mixed_doubles = \"stellan mohlin kerstin st\u00e5hl , aik\"" + }, + { + "question": "Who is the incoming manager when the date of vacancy was 21 march 2011?", + "context": "create table table_26914854_3 (incoming_manager varchar, date_of_vacancy varchar, PRIMARY KEY (incoming_manager))", + "answer": "select incoming_manager from table_26914854_3 where date_of_vacancy = \"21 march 2011\"" + }, + { + "question": "How many distinct artists do the volumes associate to?", + "context": "create table volume (artist_id varchar, PRIMARY KEY (artist_id))", + "answer": "select count(distinct artist_id) from volume" + }, + { + "question": "What is the phone number and postal code of the address 1031 Daugavpils Parkway?", + "context": "create table address (phone varchar, postal_code varchar, address varchar, PRIMARY KEY (phone))", + "answer": "select phone, postal_code from address where address = '1031 daugavpils parkway'" + }, + { + "question": "What are the id and address of the shops which have a happy hour in May?", + "context": "create table shop (address varchar, shop_id varchar, PRIMARY KEY (address)); create table happy_hour (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select t1.address, t1.shop_id from shop as t1 join happy_hour as t2 on t1.shop_id = t2.shop_id where month = 'may'" + }, + { + "question": "What is the total number of goals on the debut date of 14-04-1907?", + "context": "create table table_11585313_1 (number_of_goals varchar, date_of_debut varchar, PRIMARY KEY (number_of_goals))", + "answer": "select count(number_of_goals) from table_11585313_1 where date_of_debut = \"14-04-1907\"" + }, + { + "question": "What are the attributes when the type is \"DOMNodeRemoved\"?", + "context": "create table table_1507852_1 (attribute varchar, type varchar, PRIMARY KEY (attribute))", + "answer": "select attribute from table_1507852_1 where type = \"domnoderemoved\"" + }, + { + "question": "What is the English word for the French word cheval?", + "context": "create table table_15040_8 (english varchar, french varchar, PRIMARY KEY (english))", + "answer": "select english from table_15040_8 where french = \"cheval\"" + }, + { + "question": "What is the number of nicknames for the meaning of god knows my journey.", + "context": "create table table_11908801_1 (nickname varchar, meaning varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_11908801_1 where meaning = \"god knows my journey\"" + }, + { + "question": "Name the james e. holmes for duane hensley", + "context": "create table table_25330991_3 (james_e_holmes varchar, western_rockingham_middle_school varchar, PRIMARY KEY (james_e_holmes))", + "answer": "select james_e_holmes from table_25330991_3 where western_rockingham_middle_school = \"duane hensley\"" + }, + { + "question": "What was the country in which the agricultural use (m 3 /p/yr)(in %) was 794(86%)?", + "context": "create table table_15909409_2 (country varchar, agricultural_use__m_3__p_yr__in__percentage_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_15909409_2 where agricultural_use__m_3__p_yr__in__percentage_ = \"794(86%)\"" + }, + { + "question": "Name the total number of golden tickets being rosen shingle creek resort", + "context": "create table table_22897967_1 (golden_tickets varchar, callback_venue varchar, PRIMARY KEY (golden_tickets))", + "answer": "select count(golden_tickets) from table_22897967_1 where callback_venue = \"rosen shingle creek resort\"" + }, + { + "question": "How many parks is Zippin Pippin located in", + "context": "create table table_2665085_1 (park varchar, name varchar, PRIMARY KEY (park))", + "answer": "select count(park) from table_2665085_1 where name = \"zippin pippin\"" + }, + { + "question": "What is the others# when bush% is 57.0%?", + "context": "create table table_1302886_1 (others_number integer, bush_percentage varchar, PRIMARY KEY (others_number))", + "answer": "select max(others_number) from table_1302886_1 where bush_percentage = \"57.0%\"" + }, + { + "question": "What episode titles have 17.93 million U.S. viewers?", + "context": "create table table_16617025_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_16617025_1 where us_viewers__millions_ = \"17.93\"" + }, + { + "question": "In which location is aci vallelunga circuit?", + "context": "create table table_23315271_2 (location varchar, circuit varchar, PRIMARY KEY (location))", + "answer": "select location from table_23315271_2 where circuit = \"aci vallelunga circuit\"" + }, + { + "question": "How many of 3:26.00 when hicham el guerrouj ( mar ) is hudson de souza ( bra )?", + "context": "create table table_23987362_2 (hicham_el_guerrouj___mar__ varchar, PRIMARY KEY (hicham_el_guerrouj___mar__))", + "answer": "select count(3) as :2600 from table_23987362_2 where hicham_el_guerrouj___mar__ = \"hudson de souza ( bra )\"" + }, + { + "question": "what's the\u00a0monday\u00a0time with\u00a0tuesday\u00a0being 9:00-6:00", + "context": "create table table_11019212_1 (monday varchar, tuesday varchar, PRIMARY KEY (monday))", + "answer": "select monday from table_11019212_1 where tuesday = \"9:00-6:00\"" + }, + { + "question": "What is the highest number of episodes?", + "context": "create table table_1467951_4 (ep_no integer, PRIMARY KEY (ep_no))", + "answer": "select max(ep_no) from table_1467951_4" + }, + { + "question": "What are the task details, task id and project id for the projects which are detailed as 'omnis' or have more than 2 outcomes?", + "context": "create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id)); create table project_outcomes (project_id varchar, PRIMARY KEY (project_id)); create table tasks (task_details varchar, task_id varchar, project_id varchar, PRIMARY KEY (task_details))", + "answer": "select t1.task_details, t1.task_id, t2.project_id from tasks as t1 join projects as t2 on t1.project_id = t2.project_id where t2.project_details = 'omnis' union select t1.task_details, t1.task_id, t2.project_id from tasks as t1 join projects as t2 on t1.project_id = t2.project_id join project_outcomes as t3 on t2.project_id = t3.project_id group by t2.project_id having count(*) > 2" + }, + { + "question": "Show the most common nationality of pilots.", + "context": "create table pilot (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from pilot group by nationality order by count(*) desc limit 1" + }, + { + "question": "Who had the high point total when the team was 24-17?", + "context": "create table table_13762472_5 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13762472_5 where record = \"24-17\"" + }, + { + "question": "Who had the high points while Dirk Nowitzki (13) had the high rebounds?", + "context": "create table table_17288869_7 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17288869_7 where high_rebounds = \"dirk nowitzki (13)\"" + }, + { + "question": "how many\u00a0\u2193 function / genus \u2192\u00a0with\u00a0escherichia\u00a0being espd", + "context": "create table table_10321124_1 (count varchar, escherichia varchar, PRIMARY KEY (count))", + "answer": "select count as \u2193_function___genus_\u2192 from table_10321124_1 where escherichia = \"espd\"" + }, + { + "question": "What party does incumbent edwin reinecke represent?", + "context": "create table table_1341738_6 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341738_6 where incumbent = \"edwin reinecke\"" + }, + { + "question": "What alumni were in rw: cancun as their original season?", + "context": "create table table_26419467_1 (alumni varchar, original_season varchar, PRIMARY KEY (alumni))", + "answer": "select alumni from table_26419467_1 where original_season = \"rw: cancun\"" + }, + { + "question": "What was the dominant religion in 2002 of the settlement with the cyrillic and other name of \u0432\u043e\u0458\u0432\u043e\u0434\u0438\u043d\u0446\u0438 (romanian: voivodin\u0163)?", + "context": "create table table_2562572_46 (dominant_religion__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_46 where cyrillic_name_other_names = \"\u0432\u043e\u0458\u0432\u043e\u0434\u0438\u043d\u0446\u0438 (romanian: voivodin\u0163)\"" + }, + { + "question": "which countries have more than 2 airports?", + "context": "create table airport (country varchar, PRIMARY KEY (country))", + "answer": "select country from airport group by country having count(*) > 2" + }, + { + "question": "Name who wrote the episode that aired april 9, 1989", + "context": "create table table_2226817_4 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2226817_4 where original_air_date = \"april 9, 1989\"" + }, + { + "question": "In womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win?", + "context": "create table table_12194021_1 (womens_doubles varchar, mens_singles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_12194021_1 where mens_singles = \"arvind bhat\" and mixed_doubles = \"valiyaveetil diju jwala gutta\"" + }, + { + "question": "what is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100?", + "context": "create table table_13114949_3 (qualifying_rank integer, qualifying_score varchar, competition varchar, final_rank varchar, PRIMARY KEY (qualifying_rank))", + "answer": "select max(qualifying_rank) from table_13114949_3 where competition = \"olympic trials\" and final_rank = \"4\" and qualifying_score = \"15.100\"" + }, + { + "question": "How many entries are listed under \"current status\" for the WJW-TV ++ Station?", + "context": "create table table_1353096_2 (current_status varchar, station varchar, PRIMARY KEY (current_status))", + "answer": "select count(current_status) from table_1353096_2 where station = \"wjw-tv ++\"" + }, + { + "question": "What is every value for points per game if passing yards per game is 179.6?", + "context": "create table table_27487336_1 (points_per_game varchar, passing_yards_per_game varchar, PRIMARY KEY (points_per_game))", + "answer": "select points_per_game from table_27487336_1 where passing_yards_per_game = \"179.6\"" + }, + { + "question": "What is the sub-parish for the church names H\u00f8yanger Kyrkje?", + "context": "create table table_178389_1 (sub_parish__sogn_ varchar, church_name varchar, PRIMARY KEY (sub_parish__sogn_))", + "answer": "select sub_parish__sogn_ from table_178389_1 where church_name = \"h\u00f8yanger kyrkje\"" + }, + { + "question": "Who is every main presenter for the Estonia region/country?", + "context": "create table table_24224647_2 (main_presenter varchar, region_country varchar, PRIMARY KEY (main_presenter))", + "answer": "select main_presenter from table_24224647_2 where region_country = \"estonia\"" + }, + { + "question": "what are the u.s. air dates with a Canadian air date of may 4, 2009", + "context": "create table table_12294557_3 (us_airdate varchar, canadian_airdate varchar, PRIMARY KEY (us_airdate))", + "answer": "select us_airdate from table_12294557_3 where canadian_airdate = \"may 4, 2009\"" + }, + { + "question": "Show all cities along with the number of drama workshop groups in each city.", + "context": "create table addresses (city_town varchar, address_id varchar, PRIMARY KEY (city_town)); create table drama_workshop_groups (address_id varchar, PRIMARY KEY (address_id))", + "answer": "select t1.city_town, count(*) from addresses as t1 join drama_workshop_groups as t2 on t1.address_id = t2.address_id group by t1.city_town" + }, + { + "question": "What state/country was the yacht from that had 15.79 LOA (metres)?", + "context": "create table table_25595107_1 (state_country varchar, loa__metres_ varchar, PRIMARY KEY (state_country))", + "answer": "select state_country from table_25595107_1 where loa__metres_ = \"15.79\"" + }, + { + "question": "How many weights are there when the flange with is 304?", + "context": "create table table_2071644_2 (weight__kg_m_ varchar, flange_width__mm_ varchar, PRIMARY KEY (weight__kg_m_))", + "answer": "select count(weight__kg_m_) from table_2071644_2 where flange_width__mm_ = 304" + }, + { + "question": "What is the hometown of Plutonic?", + "context": "create table table_27529608_21 (hometown varchar, name_name_of_act varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_27529608_21 where name_name_of_act = \"plutonic\"" + }, + { + "question": "How many journalists are there?", + "context": "create table journalist (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from journalist" + }, + { + "question": "What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?", + "context": "create table table_2562572_43 (dominant_religion__2002_ varchar, largest_ethnic_group__2002_ varchar, type varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_43 where largest_ethnic_group__2002_ = \"slovaks\" and type = \"village\"" + }, + { + "question": "Name the total number of air dates for 05 cycle", + "context": "create table table_16976547_2 (air_dates varchar, cycle_no varchar, PRIMARY KEY (air_dates))", + "answer": "select count(air_dates) from table_16976547_2 where cycle_no = \"05\"" + }, + { + "question": "What's the total power of the unit whose construction finished on 14.06.1963?", + "context": "create table table_12983929_1 (total_power varchar, construction_finish varchar, PRIMARY KEY (total_power))", + "answer": "select total_power from table_12983929_1 where construction_finish = \"14.06.1963\"" + }, + { + "question": "Show different locations and the number of performances at each location.", + "context": "create table performance (location varchar, PRIMARY KEY (location))", + "answer": "select location, count(*) from performance group by location" + }, + { + "question": "who directed the episode with the original air date of November 22, 1989?", + "context": "create table table_18367694_2 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18367694_2 where original_air_date = \"november 22, 1989\"" + }, + { + "question": "What was the max demand charge for the user with a tariff of 8.85?", + "context": "create table table_25479607_3 (max_demand_charge___rs__kva_ varchar, tariff___rs__kwh_ varchar, PRIMARY KEY (max_demand_charge___rs__kva_))", + "answer": "select max_demand_charge___rs__kva_ from table_25479607_3 where tariff___rs__kwh_ = \"8.85\"" + }, + { + "question": "The hanja \u6714\u5dde is for what province?", + "context": "create table table_160510_1 (province varchar, hanja varchar, PRIMARY KEY (province))", + "answer": "select province from table_160510_1 where hanja = \"\u6714\u5dde\"" + }, + { + "question": "whare are al of the launche dates where th carrier is orange and the up is 5.76 mbit/s", + "context": "create table table_19246_2 (launch_date__ddmmyyyy_ varchar, _up_ varchar, carrier varchar, PRIMARY KEY (launch_date__ddmmyyyy_))", + "answer": "select launch_date__ddmmyyyy_ from table_19246_2 where _up_ = \"5.76 mbit/s\" and carrier = \"orange\"" + }, + { + "question": "Show the names of high schoolers who have likes, and numbers of likes for each.", + "context": "create table likes (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, count(*) from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id" + }, + { + "question": "Who had high points when high rebound is gray (8)?", + "context": "create table table_11960610_10 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_11960610_10 where high_rebounds = \"gray (8)\"" + }, + { + "question": "What yacht type is involved where Bob Oatley is the skipper?", + "context": "create table table_25594888_1 (yacht varchar, skipper varchar, PRIMARY KEY (yacht))", + "answer": "select yacht as type from table_25594888_1 where skipper = \"bob oatley\"" + }, + { + "question": "What is every value for cores if TDP is 17 W?", + "context": "create table table_2467150_2 (cores varchar, tdp varchar, PRIMARY KEY (cores))", + "answer": "select cores from table_2467150_2 where tdp = \"17 w\"" + }, + { + "question": "Find the origins from which more than 1 train starts.", + "context": "create table train (origin varchar, PRIMARY KEY (origin))", + "answer": "select origin from train group by origin having count(*) > 1" + }, + { + "question": "Name the zodiac for \u0d15\u0d28\u0d4d\u0d28\u0d3f", + "context": "create table table_20354_7 (zodiac_sign varchar, malayalam_name varchar, PRIMARY KEY (zodiac_sign))", + "answer": "select zodiac_sign from table_20354_7 where malayalam_name = \"\u0d15\u0d28\u0d4d\u0d28\u0d3f\"" + }, + { + "question": "Name the yankton yanktonai for wi\u010dh\u00e1\u0161a", + "context": "create table table_1499791_2 (yankton_yanktonai varchar, southern_lakota varchar, PRIMARY KEY (yankton_yanktonai))", + "answer": "select yankton_yanktonai from table_1499791_2 where southern_lakota = \"wi\u010dh\u00e1\u0161a\"" + }, + { + "question": "What was the location for the team name of patriots?", + "context": "create table table_24195232_1 (location varchar, team_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_24195232_1 where team_name = \"patriots\"" + }, + { + "question": "How many final scores were there on the game at Amsterdam arena?", + "context": "create table table_24786958_2 (final_score varchar, game_site varchar, PRIMARY KEY (final_score))", + "answer": "select count(final_score) from table_24786958_2 where game_site = \"amsterdam arena\"" + }, + { + "question": "who directed the episode that 6.3 million u.s. viewers saw?", + "context": "create table table_27811555_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27811555_1 where us_viewers__millions_ = \"6.3\"" + }, + { + "question": "Find the first names of all the authors who have written a paper with title containing the word \"Functional\".", + "context": "create table authors (fname varchar, authid varchar, PRIMARY KEY (fname)); create table papers (paperid varchar, title varchar, PRIMARY KEY (paperid)); create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid))", + "answer": "select t1.fname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t3.title like \"%functional%\"" + }, + { + "question": "Who is the womens doubles on the tour french super series?", + "context": "create table table_27753492_2 (womens_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_27753492_2 where tour = \"french super series\"" + }, + { + "question": "With the distribution mechanism of Microsoft website and the security issues of 98-004, what is the version?", + "context": "create table table_2263152_1 (version varchar, security_issues varchar, distribution_mechanism varchar, PRIMARY KEY (version))", + "answer": "select version from table_2263152_1 where security_issues = \"98-004\" and distribution_mechanism = \"microsoft website\"" + }, + { + "question": "Find the number of routes from the United States to Canada.", + "context": "create table airports (dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (dst_apid)); create table routes (dst_apid varchar, src_apid varchar, apid varchar, country varchar, PRIMARY KEY (dst_apid))", + "answer": "select count(*) from routes where dst_apid in (select apid from airports where country = 'canada') and src_apid in (select apid from airports where country = 'united states')" + }, + { + "question": "What are all the instruments used?", + "context": "create table instruments (instrument varchar, PRIMARY KEY (instrument))", + "answer": "select distinct instrument from instruments" + }, + { + "question": "What is the department name of the students with lowest gpa belongs to?", + "context": "create table student (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name from student as t1 join department as t2 on t1.dept_code = t2.dept_code order by stu_gpa limit 1" + }, + { + "question": "what's the\u00a0u.s. open cup status\u00a0for regular season\u00a0of 4th, atlantic division", + "context": "create table table_1046170_5 (us_open_cup varchar, regular_season varchar, PRIMARY KEY (us_open_cup))", + "answer": "select us_open_cup from table_1046170_5 where regular_season = \"4th, atlantic division\"" + }, + { + "question": "Name the proto-austrronesian for *pine, *papine", + "context": "create table table_15568886_14 (proto_austronesian varchar, proto_oceanic varchar, PRIMARY KEY (proto_austronesian))", + "answer": "select proto_austronesian from table_15568886_14 where proto_oceanic = \"*pine, *papine\"" + }, + { + "question": "How many different nationalities do conductors have?", + "context": "create table conductor (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select count(distinct nationality) from conductor" + }, + { + "question": "How many entries are shown for an air date when the team guest captain was stephen k amos?", + "context": "create table table_25816476_2 (air_date varchar, team_guest_captain varchar, PRIMARY KEY (air_date))", + "answer": "select count(air_date) from table_25816476_2 where team_guest_captain = \"stephen k amos\"" + }, + { + "question": "What college's team is the Saskatchewan Roughriders?", + "context": "create table table_10812403_4 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_10812403_4 where cfl_team = \"saskatchewan roughriders\"" + }, + { + "question": "What are the names of the heads who are born outside the California state?", + "context": "create table head (name varchar, born_state varchar, PRIMARY KEY (name))", + "answer": "select name from head where born_state <> 'california'" + }, + { + "question": "Tell me the least amount of democratic colation", + "context": "create table table_15306124_1 (democratic_coalition integer, PRIMARY KEY (democratic_coalition))", + "answer": "select min(democratic_coalition) from table_15306124_1" + }, + { + "question": "Name the outgoing manager for mutual consent and position 16th", + "context": "create table table_27225944_3 (outgoing_manager varchar, manner_of_departure varchar, position_in_table varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27225944_3 where manner_of_departure = \"mutual consent\" and position_in_table = \"16th\"" + }, + { + "question": "How many incumbent candidates in the election featuring sam m. gibbons (d) unopposed?", + "context": "create table table_1341690_9 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_1341690_9 where candidates = \"sam m. gibbons (d) unopposed\"" + }, + { + "question": "Who drove the winning car constructed by Jordan - Mugen-Honda?", + "context": "create table table_1137694_3 (winning_driver varchar, winning_constructor varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137694_3 where winning_constructor = \"jordan - mugen-honda\"" + }, + { + "question": "On what air date were there 2.15 million u.s. viewers?", + "context": "create table table_22380270_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_22380270_1 where us_viewers__millions_ = \"2.15\"" + }, + { + "question": "What is the netflix code where the series and episode are 4-11?", + "context": "create table table_15187735_4 (netflix varchar, series_ep varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_4 where series_ep = \"4-11\"" + }, + { + "question": "Who played against team 1 Vit\u00f3ria?", + "context": "create table table_17282875_2 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_17282875_2 where team__number1 = \"vit\u00f3ria\"" + }, + { + "question": "Who performed the song named \"Le Pop\"?", + "context": "create table band (firstname varchar, lastname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select t2.firstname, t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = \"le pop\"" + }, + { + "question": "Name the party with edward boland", + "context": "create table table_1341865_23 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341865_23 where incumbent = \"edward boland\"" + }, + { + "question": "what's the\u00a0constructor\u00a0with\u00a0location\u00a0being hockenheimring", + "context": "create table table_1140074_2 (constructor varchar, location varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140074_2 where location = \"hockenheimring\"" + }, + { + "question": "The new entries this round was shown to be 12, in which phase would you find this?", + "context": "create table table_1281200_1 (phase varchar, new_entries_this_round varchar, PRIMARY KEY (phase))", + "answer": "select phase from table_1281200_1 where new_entries_this_round = \"12\"" + }, + { + "question": "Name the name for visayas", + "context": "create table table_15463188_16 (name varchar, school_club_team varchar, PRIMARY KEY (name))", + "answer": "select name from table_15463188_16 where school_club_team = \"visayas\"" + }, + { + "question": "Where are the headquarters of the company whose sales were 69.2 billion?", + "context": "create table table_1682026_3 (headquarters varchar, sales__billion_$_ varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from table_1682026_3 where sales__billion_$_ = \"69.2\"" + }, + { + "question": "What programs were held in charleston, illinois?", + "context": "create table table_16275828_4 (program varchar, location varchar, PRIMARY KEY (program))", + "answer": "select program from table_16275828_4 where location = \"charleston, illinois\"" + }, + { + "question": "How many candidates ran in the election where Wayne Gilchrest was the incumbent?", + "context": "create table table_1341423_20 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341423_20 where incumbent = \"wayne gilchrest\"" + }, + { + "question": "What is the status of the London Aquatics Centre project at the time of production?", + "context": "create table table_1792122_11 (status_at_production varchar, project varchar, PRIMARY KEY (status_at_production))", + "answer": "select status_at_production from table_1792122_11 where project = \"london aquatics centre\"" + }, + { + "question": "Find the last names of all the authors that have written a paper with title containing the word \"Monadic\".", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (lname varchar, authid varchar, PRIMARY KEY (lname)); create table papers (paperid varchar, title varchar, PRIMARY KEY (paperid))", + "answer": "select t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t3.title like \"%monadic%\"" + }, + { + "question": "Which constructor was present at the Redex Trophy race?", + "context": "create table table_1140114_5 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140114_5 where race_name = \"redex trophy\"" + }, + { + "question": "Where was the game played when the result/margin was won by 70?", + "context": "create table table_24919137_2 (venue varchar, result_margin varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_24919137_2 where result_margin = \"won by 70\"" + }, + { + "question": "Name the number of cancelled for turnham green", + "context": "create table table_211615_2 (cancelled varchar, station varchar, PRIMARY KEY (cancelled))", + "answer": "select count(cancelled) from table_211615_2 where station = \"turnham green\"" + }, + { + "question": "Name the total number of kenesia for african record", + "context": "create table table_24011830_2 (kenenisa_bekele___eth__ varchar, world_record varchar, PRIMARY KEY (kenenisa_bekele___eth__))", + "answer": "select count(kenenisa_bekele___eth__) from table_24011830_2 where world_record = \"african record\"" + }, + { + "question": "Who had high assists when they played against San Antonio?", + "context": "create table table_10812293_3 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_10812293_3 where team = \"san antonio\"" + }, + { + "question": "To what party does Cardiss Collins belong?", + "context": "create table table_1341577_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341577_14 where incumbent = \"cardiss collins\"" + }, + { + "question": "Is the biggest win recorded as home or away?", + "context": "create table table_1233808_2 (home_or_away varchar, record varchar, PRIMARY KEY (home_or_away))", + "answer": "select home_or_away from table_1233808_2 where record = \"biggest win\"" + }, + { + "question": "who guest starred on the episode with a 1.44m rating", + "context": "create table table_29135051_3 (guest_s_ varchar, ratings varchar, PRIMARY KEY (guest_s_))", + "answer": "select guest_s_ from table_29135051_3 where ratings = \"1.44m\"" + }, + { + "question": "What is the title for the episode written by Robert Carlock & Dana Klein Borkow?", + "context": "create table table_14889988_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_14889988_1 where written_by = \"robert carlock & dana klein borkow\"" + }, + { + "question": "List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement.", + "context": "create table claims (claim_id varchar, date_claim_made varchar, date_claim_settled varchar, claim_id varchar, PRIMARY KEY (claim_id)); create table settlements (claim_id varchar, PRIMARY KEY (claim_id))", + "answer": "select t1.claim_id, t1.date_claim_made, t1.date_claim_settled from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id having count(*) = 1" + }, + { + "question": "Who directed episode number 3?", + "context": "create table table_158088_2 (directed_by varchar, episode_no varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_158088_2 where episode_no = 3" + }, + { + "question": "Which is the class A when Marion was the class AA", + "context": "create table table_14747043_1 (class_a varchar, class_aa varchar, marion varchar, PRIMARY KEY (class_a))", + "answer": "select class_a from table_14747043_1 where class_aa = marion" + }, + { + "question": "How do you say Friday in Polish?", + "context": "create table table_1277350_5 (friday_fifth_day varchar, day__see_irregularities__ varchar, PRIMARY KEY (friday_fifth_day))", + "answer": "select friday_fifth_day from table_1277350_5 where day__see_irregularities__ = \"polish\"" + }, + { + "question": "Find the number of rooms located on each block floor.", + "context": "create table room (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor)); create table block (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor))", + "answer": "select count(*), t1.blockfloor from block as t1 join room as t2 on t1.blockfloor = t2.blockfloor and t1.blockcode = t2.blockcode group by t1.blockfloor" + }, + { + "question": "How many wins are with Dodge vehicles?", + "context": "create table table_2241841_1 (miles__km_ varchar, manufacturer varchar, PRIMARY KEY (miles__km_))", + "answer": "select count(miles__km_) from table_2241841_1 where manufacturer = \"dodge\"" + }, + { + "question": "What is the document type name for the document with name \"How to read a book\"?", + "context": "create table ref_document_types (document_type_name varchar, document_type_code varchar, PRIMARY KEY (document_type_name)); create table all_documents (document_type_code varchar, document_name varchar, PRIMARY KEY (document_type_code))", + "answer": "select t2.document_type_name from all_documents as t1 join ref_document_types as t2 on t1.document_type_code = t2.document_type_code where t1.document_name = \"how to read a book\"" + }, + { + "question": "What are all the course names of the courses which ever have students enrolled in?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_enrolment_courses (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select distinct t1.course_name from courses as t1 join student_enrolment_courses as t2 on t1.course_id = t2.course_id" + }, + { + "question": "what's the\u00a0author / editor / source\u00a0with\u00a0index (year)\u00a0being press freedom (2007)", + "context": "create table table_12000368_1 (author___editor___source varchar, index__year_ varchar, PRIMARY KEY (author___editor___source))", + "answer": "select author___editor___source from table_12000368_1 where index__year_ = \"press freedom (2007)\"" + }, + { + "question": "What is the background of the candidate daniel phillips?", + "context": "create table table_26263322_1 (background varchar, candidate varchar, PRIMARY KEY (background))", + "answer": "select background from table_26263322_1 where candidate = \"daniel phillips\"" + }, + { + "question": "How did the manager who was replaced by Jakob Michelsen depart?", + "context": "create table table_27782699_3 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27782699_3 where replaced_by = \"jakob michelsen\"" + }, + { + "question": "Which teams had a difference of 8 between goals scored and goals conceeded", + "context": "create table table_15420044_1 (team varchar, difference varchar, PRIMARY KEY (team))", + "answer": "select team from table_15420044_1 where difference = \"8\"" + }, + { + "question": "if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team", + "context": "create table table_29826467_2 (lmp2_winning_team varchar, flm_winning_team varchar, PRIMARY KEY (lmp2_winning_team))", + "answer": "select lmp2_winning_team from table_29826467_2 where flm_winning_team = \"no. 99 jmb racing\"" + }, + { + "question": "How many LOA metres were there when the skipper is lou abrahams?", + "context": "create table table_25594271_2 (loa__metres_ varchar, skipper varchar, PRIMARY KEY (loa__metres_))", + "answer": "select loa__metres_ from table_25594271_2 where skipper = \"lou abrahams\"" + }, + { + "question": "List all the image name and URLs in the order of their names.", + "context": "create table images (image_name varchar, image_url varchar, PRIMARY KEY (image_name))", + "answer": "select image_name, image_url from images order by image_name" + }, + { + "question": "What are the name and assets of each company, sorted in ascending order of company name?", + "context": "create table companies (name varchar, assets_billion varchar, PRIMARY KEY (name))", + "answer": "select name, assets_billion from companies order by name" + }, + { + "question": "What was the title of the episode that aired on October 7, 1965?", + "context": "create table table_25046766_3 (title varchar, original_airdate_uk varchar, PRIMARY KEY (title))", + "answer": "select title from table_25046766_3 where original_airdate_uk = \"october 7, 1965\"" + }, + { + "question": "which company released audiobooks authored by day, martin martin day", + "context": "create table table_20174050_24 (company varchar, author varchar, PRIMARY KEY (company))", + "answer": "select company from table_20174050_24 where author = \"day, martin martin day\"" + }, + { + "question": "How many episodes were written by Kirstie Falkous & John Regier?", + "context": "create table table_21025437_2 (episode_no varchar, written_by varchar, PRIMARY KEY (episode_no))", + "answer": "select count(episode_no) from table_21025437_2 where written_by = \"kirstie falkous & john regier\"" + }, + { + "question": "List the clubs that have at least a member with advisor \"1121\".", + "context": "create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname)); create table student (stuid varchar, advisor varchar, PRIMARY KEY (stuid))", + "answer": "select distinct t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.advisor = 1121" + }, + { + "question": "Which conference did boise state university play at?", + "context": "create table table_27816698_2 (current_conference varchar, institution varchar, PRIMARY KEY (current_conference))", + "answer": "select current_conference from table_27816698_2 where institution = \"boise state university\"" + }, + { + "question": "What team was Pearson on when his winnings were $5,200?", + "context": "create table table_2626564_2 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2626564_2 where winnings = \"$5,200\"" + }, + { + "question": "How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers?", + "context": "create table table_17628022_2 (play_by_play varchar, pregame_analysts varchar, PRIMARY KEY (play_by_play))", + "answer": "select count(play_by_play) from table_17628022_2 where pregame_analysts = \"darren flutie, eric tillman and greg frers\"" + }, + { + "question": "What medium was used for the sculpture by Ernest Richard Gause?", + "context": "create table table_20903658_1 (medium varchar, artist varchar, PRIMARY KEY (medium))", + "answer": "select medium from table_20903658_1 where artist = \"ernest richard gause\"" + }, + { + "question": "Which nominations was the film 27 Stolen Kisses nominated for?", + "context": "create table table_10236830_6 (nomination varchar, film_name varchar, PRIMARY KEY (nomination))", + "answer": "select nomination from table_10236830_6 where film_name = \"27 stolen kisses\"" + }, + { + "question": "How many writers write the episode whose director is Jonathan Herron?", + "context": "create table table_22580855_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_22580855_1 where directed_by = \"jonathan herron\"" + }, + { + "question": "Show all male student ids who don't play football.", + "context": "create table sportsinfo (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where sex = 'm' except select stuid from sportsinfo where sportname = \"football\"" + }, + { + "question": "Which school has the Raiders as their mascot?", + "context": "create table table_11044765_1 (school varchar, mascot varchar, PRIMARY KEY (school))", + "answer": "select school from table_11044765_1 where mascot = \"raiders\"" + }, + { + "question": "What was the round of 16 result for felipe saucedo?", + "context": "create table table_29521180_35 (round_of_16 varchar, athlete varchar, PRIMARY KEY (round_of_16))", + "answer": "select round_of_16 from table_29521180_35 where athlete = \"felipe saucedo\"" + }, + { + "question": "How many teams does Jeff Wyler own?", + "context": "create table table_19908313_2 (team varchar, listed_owner_s_ varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_19908313_2 where listed_owner_s_ = \"jeff wyler\"" + }, + { + "question": "Name the number of parish for vilnes kyrkje", + "context": "create table table_178399_1 (parish__prestegjeld_ varchar, church_name varchar, PRIMARY KEY (parish__prestegjeld_))", + "answer": "select count(parish__prestegjeld_) from table_178399_1 where church_name = \"vilnes kyrkje\"" + }, + { + "question": "Name the title directed by charles beeson by jeremy carver", + "context": "create table table_19396259_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_19396259_1 where directed_by = \"charles beeson\" and written_by = \"jeremy carver\"" + }, + { + "question": "How many categories for, replaced by, exist when the outgoing manager is Alan Buckley?", + "context": "create table table_18795125_6 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select count(replaced_by) from table_18795125_6 where outgoing_manager = \"alan buckley\"" + }, + { + "question": "What is the 1st leg when club is a.c. libertas?", + "context": "create table table_1233026_4 (club varchar, PRIMARY KEY (club))", + "answer": "select 1 as st_leg from table_1233026_4 where club = \"a.c. libertas\"" + }, + { + "question": "Find the number of products with category \"Spices\" and typically sold above 1000.", + "context": "create table products (product_category_code varchar, typical_buying_price varchar, PRIMARY KEY (product_category_code))", + "answer": "select count(*) from products where product_category_code = \"spices\" and typical_buying_price > 1000" + }, + { + "question": "Which elementary schools list Cort Monroe as the principal from 2013 to 2014?", + "context": "create table table_14254419_3 (elementary_schools varchar, principal__2013_2014_ varchar, PRIMARY KEY (elementary_schools))", + "answer": "select elementary_schools from table_14254419_3 where principal__2013_2014_ = \"cort monroe\"" + }, + { + "question": "What country is in the region of France?", + "context": "create table table_29487895_2 (title_in_country varchar, country___region varchar, PRIMARY KEY (title_in_country))", + "answer": "select title_in_country from table_29487895_2 where country___region = \"france\"" + }, + { + "question": "Who won mens singles the year sveinn logi s\u00f6lvason tryggvi nilsen won mens doubles and elsa nielsen won womens singles", + "context": "create table table_14903999_1 (mens_singles varchar, mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_14903999_1 where mens_doubles = \"sveinn logi s\u00f6lvason tryggvi nilsen\" and womens_singles = \"elsa nielsen\"" + }, + { + "question": "Count the products that have the color description \"white\" or have the characteristic name \"hot\".", + "context": "create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "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 join ref_colors as t4 on t1.color_code = t4.color_code where t4.color_description = \"white\" or t3.characteristic_name = \"hot\"" + }, + { + "question": "What's the wheelbase (in mm/inch) of the model with model designation 97G00?", + "context": "create table table_20866024_3 (wheelbase__mm_inch_ varchar, model_designation varchar, PRIMARY KEY (wheelbase__mm_inch_))", + "answer": "select wheelbase__mm_inch_ from table_20866024_3 where model_designation = \"97g00\"" + }, + { + "question": "What was the final score when the game was @ roughriders?", + "context": "create table table_21761882_4 (final_score varchar, opponent varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_21761882_4 where opponent = \"@ roughriders\"" + }, + { + "question": "List the addresses of all the course authors or tutors.", + "context": "create table course_authors_and_tutors (address_line_1 varchar, PRIMARY KEY (address_line_1))", + "answer": "select address_line_1 from course_authors_and_tutors" + }, + { + "question": "Who were the candidates in the district where the incumbent was Nathaniel Macon?", + "context": "create table table_2668367_14 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668367_14 where incumbent = \"nathaniel macon\"" + }, + { + "question": "What was the DRAM type of an SM Count of 6?", + "context": "create table table_26040604_1 (dram_type varchar, sm_count varchar, PRIMARY KEY (dram_type))", + "answer": "select dram_type from table_26040604_1 where sm_count = 6" + }, + { + "question": "When was the successor who got his seat because of \"until august 2, 1813\" seated?", + "context": "create table table_225096_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_225096_4 where reason_for_change = \"until august 2, 1813\"" + }, + { + "question": "Who was the home team when Burnley were the away team?", + "context": "create table table_17736890_5 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_17736890_5 where away_team = \"burnley\"" + }, + { + "question": "How many miles (km) were driven when the average speed (mph) was 103.145?", + "context": "create table table_2175685_1 (miles__km_ varchar, average_speed__mph_ varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_2175685_1 where average_speed__mph_ = \"103.145\"" + }, + { + "question": "What is the status of the county that has a 14.7% poverty rate?", + "context": "create table table_22815568_1 (status varchar, poverty_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_1 where poverty_rate = \"14.7%\"" + }, + { + "question": "What batting partners played in sydney?", + "context": "create table table_1670921_2 (batting_partners varchar, venue varchar, PRIMARY KEY (batting_partners))", + "answer": "select batting_partners from table_1670921_2 where venue = \"sydney\"" + }, + { + "question": "What was the highest vote number for Bush?", + "context": "create table table_1756284_1 (bush_number integer, PRIMARY KEY (bush_number))", + "answer": "select max(bush_number) from table_1756284_1" + }, + { + "question": "what's the\u00a0saturday saturnus ( saturn)\u00a0with\u00a0wednesday mercurius (mercury)\u00a0being mercuridi", + "context": "create table table_1277350_1 (saturday_saturnus___saturn_ varchar, wednesday_mercurius__mercury_ varchar, PRIMARY KEY (saturday_saturnus___saturn_))", + "answer": "select saturday_saturnus___saturn_ from table_1277350_1 where wednesday_mercurius__mercury_ = \"mercuridi\"" + }, + { + "question": "Name the replaced by for position in table is 1st", + "context": "create table table_17039232_3 (replaced_by varchar, position_in_table varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17039232_3 where position_in_table = \"1st\"" + }, + { + "question": "How many introductory phrases were there on David Finkel's guest episode?", + "context": "create table table_25691838_8 (introductory_phrase varchar, guest varchar, PRIMARY KEY (introductory_phrase))", + "answer": "select count(introductory_phrase) from table_25691838_8 where guest = \"david finkel\"" + }, + { + "question": "How many solar eclipse during January 15-16 and august 21-22 on august 21, 2017?", + "context": "create table table_25287007_2 (january_15_16 varchar, august_21_22 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25287007_2 where august_21_22 = \"august 21, 2017\"" + }, + { + "question": "Name the minimum for prohibition?", + "context": "create table table_120778_1 (for_prohibition integer, PRIMARY KEY (for_prohibition))", + "answer": "select min(for_prohibition) from table_120778_1" + }, + { + "question": "How many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?", + "context": "create table reservations (kids varchar, lastname varchar, checkin varchar, firstname varchar, PRIMARY KEY (kids))", + "answer": "select kids from reservations where checkin = \"2010-09-21\" and firstname = \"damien\" and lastname = \"trachsel\"" + }, + { + "question": "What is the largest ethnic group in doline?", + "context": "create table table_2562572_33 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_33 where settlement = \"doline\"" + }, + { + "question": "What are the dates for the documents with both 'GV' type and 'SF' type expenses?", + "context": "create table documents_with_expenses (document_id varchar, budget_type_code varchar, PRIMARY KEY (document_id)); create table documents (document_date varchar, document_id varchar, PRIMARY KEY (document_date))", + "answer": "select t1.document_date from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t2.budget_type_code = 'gv' intersect select t1.document_date from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t2.budget_type_code = 'sf'" + }, + { + "question": "Who directed the episode written by Matt Ford?", + "context": "create table table_18712423_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18712423_3 where written_by = \"matt ford\"" + }, + { + "question": "What's the percentage of immigrants in 2004 in the country with 2.1% of the immigrants in 2006?", + "context": "create table table_23619212_1 (_percentage_of_all_immigrants_2004 varchar, _percentage_of_all_immigrants_2006 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2004))", + "answer": "select _percentage_of_all_immigrants_2004 from table_23619212_1 where _percentage_of_all_immigrants_2006 = \"2.1%\"" + }, + { + "question": "What is 2010 when 2003 is 5.6?", + "context": "create table table_27146868_1 (id varchar, PRIMARY KEY (id))", + "answer": "select 2010 from table_27146868_1 where 2003 = \"5.6\"" + }, + { + "question": "What is the program where the focus is risk management and regulation?", + "context": "create table table_12591022_2 (program varchar, focus varchar, PRIMARY KEY (program))", + "answer": "select program from table_12591022_2 where focus = \"risk management and regulation\"" + }, + { + "question": "In Tonga, what is the conversion from patent application?", + "context": "create table table_2279413_1 (conversion_from_patent_application varchar, country varchar, PRIMARY KEY (conversion_from_patent_application))", + "answer": "select conversion_from_patent_application from table_2279413_1 where country = \"tonga\"" + }, + { + "question": "How many kinds of enzymes are there?", + "context": "create table enzyme (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from enzyme" + }, + { + "question": "Name the author for peri and april 2010", + "context": "create table table_1620397_2 (author varchar, featuring varchar, released varchar, PRIMARY KEY (author))", + "answer": "select author from table_1620397_2 where featuring = \"peri\" and released = \"april 2010\"" + }, + { + "question": "Wh owas the captian of the north east stars?", + "context": "create table table_25794138_1 (captain varchar, team varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_25794138_1 where team = \"north east stars\"" + }, + { + "question": "Name the successor for james noble died in previous congress", + "context": "create table table_225198_3 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_225198_3 where reason_for_change = \"james noble died in previous congress\"" + }, + { + "question": "If the winner is Rui Costa, who made the mountains classification?", + "context": "create table table_27573848_18 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_27573848_18 where winner = \"rui costa\"" + }, + { + "question": "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?", + "context": "create table table_16201038_4 (at_opponents_venue varchar, last_5_meetings varchar, at_neutral_site varchar, PRIMARY KEY (at_opponents_venue))", + "answer": "select at_opponents_venue from table_16201038_4 where last_5_meetings = \"mu, 4-1\" and at_neutral_site = \"tied, 0-0\"" + }, + { + "question": "How many times is there a golden tickets entry when the callback venue is rcti studio, jakarta?", + "context": "create table table_28793672_1 (golden_tickets varchar, callback_venue varchar, PRIMARY KEY (golden_tickets))", + "answer": "select count(golden_tickets) from table_28793672_1 where callback_venue = \"rcti studio, jakarta\"" + }, + { + "question": "In what years was a film submitted with the title The Enigma of Kaspar Hauser?", + "context": "create table table_10874596_1 (year_ varchar, e_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year_))", + "answer": "select year_[e_] as __ceremony_ from table_10874596_1 where film_title_used_in_nomination = \"the enigma of kaspar hauser\"" + }, + { + "question": "If winner is alejandro Valverde and the points Classification is by Erik Zabel, who is the mountain classification?", + "context": "create table table_15059783_1 (mountains_classification varchar, winner varchar, points_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_15059783_1 where winner = \"alejandro valverde\" and points_classification = \"erik zabel\"" + }, + { + "question": "what is the compression ratio whre the torque is 208?", + "context": "create table table_23722304_2 (compression_ratio varchar, torque__n_m_ varchar, PRIMARY KEY (compression_ratio))", + "answer": "select compression_ratio from table_23722304_2 where torque__n_m_ = 208" + }, + { + "question": "What was the loss/gain when the affiliation was solidarity?", + "context": "create table table_25818630_2 (loss_gain varchar, affiliation varchar, PRIMARY KEY (loss_gain))", + "answer": "select loss_gain from table_25818630_2 where affiliation = \"solidarity\"" + }, + { + "question": "What are the names of gymnasts?", + "context": "create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id" + }, + { + "question": "what is the bore where the vehicle code is t214?", + "context": "create table table_23722304_2 (bore__mm_ varchar, vehicle_code varchar, PRIMARY KEY (bore__mm_))", + "answer": "select bore__mm_ from table_23722304_2 where vehicle_code = \"t214\"" + }, + { + "question": "Which air dates have 1.229 canadian viewers (millions)?", + "context": "create table table_18424435_5 (us_air_date varchar, canadian_viewers__million_ varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_18424435_5 where canadian_viewers__million_ = \"1.229\"" + }, + { + "question": "where was the total attendance-regular season record made", + "context": "create table table_21436373_12 (stadium varchar, type_of_record varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_12 where type_of_record = \"total attendance-regular season\"" + }, + { + "question": "Name the most bits 14-12 for output from accumulator to character bus", + "context": "create table table_14249278_1 (bits_14_12 integer, description varchar, PRIMARY KEY (bits_14_12))", + "answer": "select min(bits_14_12) from table_14249278_1 where description = \"output from accumulator to character bus\"" + }, + { + "question": "what is the frequency (hz) when the g (\u03bcs/km) is 53.205?", + "context": "create table table_261642_3 (frequency__hz_ varchar, g__\u03bcs_km_ varchar, PRIMARY KEY (frequency__hz_))", + "answer": "select frequency__hz_ from table_261642_3 where g__\u03bcs_km_ = \"53.205\"" + }, + { + "question": "How many percentage figures are given for the urban population when the total population number is 14685?", + "context": "create table table_16645_1 (__percentage varchar, urban varchar, population__000_ varchar, PRIMARY KEY (__percentage))", + "answer": "select count(urban), __percentage from table_16645_1 where population__000_ = 14685" + }, + { + "question": "Title is the total number where u.s. viewers (million) is 7.56.", + "context": "create table table_27115960_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_27115960_1 where us_viewers__million_ = \"7.56\"" + }, + { + "question": "Who was the iron chef when herb Faust was the challenger?", + "context": "create table table_29281529_2 (iron_chef varchar, challenger varchar, PRIMARY KEY (iron_chef))", + "answer": "select iron_chef from table_29281529_2 where challenger = \"herb faust\"" + }, + { + "question": "Who scored the most rebounds in the game against Chicago?", + "context": "create table table_15869204_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_15869204_9 where team = \"chicago\"" + }, + { + "question": "What was the stadium in Moorabbin, Victoria built for?", + "context": "create table table_28885977_1 (built_for varchar, location varchar, PRIMARY KEY (built_for))", + "answer": "select built_for from table_28885977_1 where location = \"moorabbin, victoria\"" + }, + { + "question": "Name the womens singles for korea open super series", + "context": "create table table_14496232_2 (womens_singles varchar, tour varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_14496232_2 where tour = \"korea open super series\"" + }, + { + "question": "Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?", + "context": "create table table_27743641_2 (lmp2_winning_driver varchar, lmp1_winning_team varchar, PRIMARY KEY (lmp2_winning_driver))", + "answer": "select lmp2_winning_driver from table_27743641_2 where lmp1_winning_team = \"no. 20 oryx dyson racing\"" + }, + { + "question": "What is the NCBI Accession Number of the Homo Sapiens species?", + "context": "create table table_16849531_2 (ncbi_accession_number__mrna_protein_ varchar, species varchar, PRIMARY KEY (ncbi_accession_number__mrna_protein_))", + "answer": "select ncbi_accession_number__mrna_protein_ from table_16849531_2 where species = \"homo sapiens\"" + }, + { + "question": "What is the name of the element with isotopic mass of 158.925 34(2)?", + "context": "create table table_15366768_1 (element varchar, isotopic_mass___u__ varchar, PRIMARY KEY (element))", + "answer": "select element from table_15366768_1 where isotopic_mass___u__ = \"158.925 34(2)\"" + }, + { + "question": "How many years was the original title was \u09b8\u09cd\u09ac\u09aa\u09cd\u09a8\u09a1\u09be\u09a8\u09be\u09af\u09bc (swopnodanay)?", + "context": "create table table_17156199_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select count(year__ceremony_) from table_17156199_1 where original_title = \"\u09b8\u09cd\u09ac\u09aa\u09cd\u09a8\u09a1\u09be\u09a8\u09be\u09af\u09bc (swopnodanay)\"" + }, + { + "question": "what's the\u00a0computing mechanbeingm\u00a0with\u00a0name\u00a0being atanasoff\u2013berry computer (us)", + "context": "create table table_13636_1 (computing_mechanism varchar, name varchar, PRIMARY KEY (computing_mechanism))", + "answer": "select computing_mechanism from table_13636_1 where name = \"atanasoff\u2013berry computer (us)\"" + }, + { + "question": "Please show the names of the buildings whose status is \"on-hold\", in ascending order of stories.", + "context": "create table buildings (name varchar, status varchar, stories varchar, PRIMARY KEY (name))", + "answer": "select name from buildings where status = \"on-hold\" order by stories" + }, + { + "question": "Who was in the 2005 film with the role mark cohen?", + "context": "create table table_26436_2 (role varchar, PRIMARY KEY (role))", + "answer": "select 2005 as _film from table_26436_2 where role = \"mark cohen\"" + }, + { + "question": "Find the emails and phone numbers of all the customers, ordered by email address and phone number.", + "context": "create table customers (email_address varchar, phone_number varchar, PRIMARY KEY (email_address))", + "answer": "select email_address, phone_number from customers order by email_address, phone_number" + }, + { + "question": "What is the coverage for relay tv-37?", + "context": "create table table_12379297_1 (coverage__transmitter_site_ varchar, station_type varchar, ch__number varchar, PRIMARY KEY (coverage__transmitter_site_))", + "answer": "select coverage__transmitter_site_ from table_12379297_1 where station_type = \"relay\" and ch__number = \"tv-37\"" + }, + { + "question": "What song did Robin perform with a result of 4.0?", + "context": "create table table_21234111_10 (song varchar, robin varchar, PRIMARY KEY (song))", + "answer": "select song from table_21234111_10 where robin = \"4.0\"" + }, + { + "question": "How many teams drafted players from the University of Maryland?", + "context": "create table table_25518547_3 (mls_team varchar, affiliation varchar, PRIMARY KEY (mls_team))", + "answer": "select count(mls_team) from table_25518547_3 where affiliation = \"university of maryland\"" + }, + { + "question": "What nationality is listed when the college/junior/club team is oshawa generals (ohl)?", + "context": "create table table_2850912_7 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_2850912_7 where college_junior_club_team = \"oshawa generals (ohl)\"" + }, + { + "question": "List the names of people that are not poker players.", + "context": "create table poker_player (name varchar, people_id varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select people_id from poker_player)" + }, + { + "question": "What university team is referred to as the tigers?", + "context": "create table table_2419754_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_2419754_1 where nickname = \"tigers\"" + }, + { + "question": "How many drivers drove on Suzuka Circuit where Lo\u00efc Duval took pole position?", + "context": "create table table_22379931_2 (winning_driver varchar, circuit varchar, pole_position varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_22379931_2 where circuit = \"suzuka circuit\" and pole_position = \"lo\u00efc duval\"" + }, + { + "question": "What is the general classification with the winner being evgeni berzin?", + "context": "create table table_12261926_2 (general_classification varchar, winner varchar, PRIMARY KEY (general_classification))", + "answer": "select count(general_classification) from table_12261926_2 where winner = \"evgeni berzin\"" + }, + { + "question": "How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?", + "context": "create table table_2383498_4 (last_year_in_qld_cup varchar, qld_cup_premierships varchar, PRIMARY KEY (last_year_in_qld_cup))", + "answer": "select count(last_year_in_qld_cup) from table_2383498_4 where qld_cup_premierships = \"1996, 2001\"" + }, + { + "question": "What is the civil parish of Aghafullim?", + "context": "create table table_28802165_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_28802165_1 where townland = \"aghafullim\"" + }, + { + "question": "What is the model number for part numbers of cm80616003177acbx80616i5660?", + "context": "create table table_23028629_2 (model_number varchar, part_number_s_ varchar, PRIMARY KEY (model_number))", + "answer": "select model_number from table_23028629_2 where part_number_s_ = \"cm80616003177acbx80616i5660\"" + }, + { + "question": "What was the margin of victory over Justin Leonard, phillip price?", + "context": "create table table_11570261_2 (margin_of_victory varchar, runner_s__up varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select count(margin_of_victory) from table_11570261_2 where runner_s__up = \"justin leonard, phillip price\"" + }, + { + "question": "How many tree species are in the kitechura reserve?", + "context": "create table table_16577990_1 (tree_species varchar, central_forest_reserve varchar, PRIMARY KEY (tree_species))", + "answer": "select tree_species from table_16577990_1 where central_forest_reserve = \"kitechura\"" + }, + { + "question": "What is the 3-dart average with a high checkout of 112?", + "context": "create table table_20948329_1 (high_checkout varchar, PRIMARY KEY (high_checkout))", + "answer": "select 3 as _dart_average from table_20948329_1 where high_checkout = 112" + }, + { + "question": "What is the description of the measure that got 78.27% yes votes?", + "context": "create table table_256286_55 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_55 where _percentage_yes = \"78.27%\"" + }, + { + "question": "What is the maximum speed for total power of ps (kw; bhp)?", + "context": "create table table_21154679_1 (top_speed varchar, max_power varchar, PRIMARY KEY (top_speed))", + "answer": "select top_speed from table_21154679_1 where max_power = \"ps (kw; bhp)\"" + }, + { + "question": "Find the name of the shops that do not hire any employee.", + "context": "create table shop (name varchar, shop_id varchar, PRIMARY KEY (name)); create table hiring (name varchar, shop_id varchar, PRIMARY KEY (name))", + "answer": "select name from shop where not shop_id in (select shop_id from hiring)" + }, + { + "question": "who is the the\u00a0candidates\u00a0with\u00a0incumbent\u00a0being alfred j. elliott", + "context": "create table table_1342233_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342233_6 where incumbent = \"alfred j. elliott\"" + }, + { + "question": "How many stations are called radyo5 101.9 news fm?", + "context": "create table table_17822401_1 (location varchar, branding varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_17822401_1 where branding = \"radyo5 101.9 news fm\"" + }, + { + "question": "what is the official rating 16-39 for the episode with a 16-39 share of 22,77%?", + "context": "create table table_29804176_23 (official_rating_16_39 varchar, share_16_39 varchar, PRIMARY KEY (official_rating_16_39))", + "answer": "select official_rating_16_39 from table_29804176_23 where share_16_39 = \"22,77%\"" + }, + { + "question": "List all people names in the order of their date of birth from old to young.", + "context": "create table people (name varchar, date_of_birth varchar, PRIMARY KEY (name))", + "answer": "select name from people order by date_of_birth" + }, + { + "question": "Which position is most popular among players in the tryout?", + "context": "create table tryout (ppos varchar, PRIMARY KEY (ppos))", + "answer": "select ppos from tryout group by ppos order by count(*) desc limit 1" + }, + { + "question": "Name the language for b. ajith kumar", + "context": "create table table_24446718_3 (language varchar, awardee_s_ varchar, PRIMARY KEY (language))", + "answer": "select language from table_24446718_3 where awardee_s_ = \"b. ajith kumar\"" + }, + { + "question": "Name the outgoing manager for position in table being 11th", + "context": "create table table_17039232_3 (outgoing_manager varchar, position_in_table varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_17039232_3 where position_in_table = \"11th\"" + }, + { + "question": "What is the title that aired from 17 may 2008 \u2013 21 june 2008 on Nederland 3?", + "context": "create table table_178242_1 (name varchar, channel varchar, premiere___aired varchar, PRIMARY KEY (name))", + "answer": "select name from table_178242_1 where channel = \"nederland 3\" and premiere___aired = \"17 may 2008 \u2013 21 june 2008\"" + }, + { + "question": "What are the ids, names and FDA approval status of medicines in descending order of the number of enzymes that it can interact with.", + "context": "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))", + "answer": "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" + }, + { + "question": "List the carriers of devices in ascending alphabetical order.", + "context": "create table device (carrier varchar, PRIMARY KEY (carrier))", + "answer": "select carrier from device order by carrier" + }, + { + "question": "What is every entry for description when the value of %yes is 51.82%?", + "context": "create table table_256286_43 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_43 where _percentage_yes = \"51.82%\"" + }, + { + "question": "For home of River Plate, what is the first leg listed?", + "context": "create table table_17968229_1 (home__2nd_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select 1 as st_leg from table_17968229_1 where home__2nd_leg_ = \"river plate\"" + }, + { + "question": "Which parts have more than 2 faults? Show the part name and id.", + "context": "create table parts (part_name varchar, part_id varchar, PRIMARY KEY (part_name)); create table part_faults (part_id varchar, PRIMARY KEY (part_id))", + "answer": "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" + }, + { + "question": "What is the lowest 2011 number (,000)?", + "context": "create table table_273617_6 (id varchar, PRIMARY KEY (id))", + "answer": "select min(2011 as _number__), 000 as _ from table_273617_6" + }, + { + "question": "Who is the manager of FK Andijan?", + "context": "create table table_25527255_2 (manager varchar, team varchar, PRIMARY KEY (manager))", + "answer": "select manager from table_25527255_2 where team = \"fk andijan\"" + }, + { + "question": "how many notes are form the date (from) 14 march 1910?", + "context": "create table table_12562214_1 (notes varchar, date__from_ varchar, PRIMARY KEY (notes))", + "answer": "select count(notes) from table_12562214_1 where date__from_ = \"14 march 1910\"" + }, + { + "question": "What are the descriptions of the courses with name \"database\"?", + "context": "create table courses (course_description varchar, course_name varchar, PRIMARY KEY (course_description))", + "answer": "select course_description from courses where course_name = \"database\"" + }, + { + "question": "what is \u0433\u04d9 \u0433\u04d9 [\u0261\u02b7] when \u0495\u044c \u0495\u044c [\u0281\u02b2/\u0263\u02b2] is \u04ad\u04d9 \u04ad\u04d9 [t\u02b7\u02b0]?", + "context": "create table table_202365_2 (\u0433\u04d9_\u0433\u04d9_ varchar, \u0261\u02b7 varchar, \u0495\u044c_\u0495\u044c_ varchar, \u0281\u02b2_\u0263\u02b2 varchar, PRIMARY KEY (\u0433\u04d9_\u0433\u04d9_))", + "answer": "select \u0433\u04d9_\u0433\u04d9_[\u0261\u02b7] from table_202365_2 where \u0495\u044c_\u0495\u044c_[\u0281\u02b2_\u0263\u02b2] = \"\u04ad\u04d9 \u04ad\u04d9 [t\u02b7\u02b0]\"" + }, + { + "question": "Name the route number for santa rosa avenue", + "context": "create table table_25692955_1 (route_number varchar, north_east_terminal varchar, PRIMARY KEY (route_number))", + "answer": "select route_number from table_25692955_1 where north_east_terminal = \"santa rosa avenue\"" + }, + { + "question": "Who had all the high rebounds when kevin love (20) scored the highest points?", + "context": "create table table_17058226_5 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17058226_5 where high_points = \"kevin love (20)\"" + }, + { + "question": "What is the total amount of allied-unrelated where the component is human capital?", + "context": "create table table_11944282_1 (allied_unrelated varchar, component varchar, PRIMARY KEY (allied_unrelated))", + "answer": "select count(allied_unrelated) from table_11944282_1 where component = \"human capital\"" + }, + { + "question": "What is the title of S02E01?", + "context": "create table table_20360535_3 (title varchar, television_order varchar, PRIMARY KEY (title))", + "answer": "select title from table_20360535_3 where television_order = \"s02e01\"" + }, + { + "question": "How many friends does Dan have?", + "context": "create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select count(t2.friend) from person as t1 join personfriend as t2 on t1.name = t2.name where t1.name = 'dan'" + }, + { + "question": "How many distinct hometowns did these people have?", + "context": "create table people (hometown varchar, PRIMARY KEY (hometown))", + "answer": "select count(distinct hometown) from people" + }, + { + "question": "San Juan Jabloteh calls which stadium home?", + "context": "create table table_24039173_1 (stadium varchar, team varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_24039173_1 where team = \"san juan jabloteh\"" + }, + { + "question": "Find the list of documents that are both in the most three popular type and have the most three popular structure.", + "context": "create table documents (document_name varchar, document_type_code varchar, document_structure_code varchar, PRIMARY KEY (document_name))", + "answer": "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" + }, + { + "question": "On what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?", + "context": "create table table_1157867_2 (date_built varchar, wheel_arrangement varchar, builder varchar, PRIMARY KEY (date_built))", + "answer": "select date_built from table_1157867_2 where wheel_arrangement = \"0-6-0 st\" and builder = \"hudswell clarke\"" + }, + { + "question": "Name the percentage of votes for violinist", + "context": "create table table_26267849_11 (percentage_of_votes varchar, act varchar, PRIMARY KEY (percentage_of_votes))", + "answer": "select percentage_of_votes from table_26267849_11 where act = \"violinist\"" + }, + { + "question": "How many themes have the original artist of Judy Garland?", + "context": "create table table_15796100_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select count(theme) from table_15796100_1 where original_artist = \"judy garland\"" + }, + { + "question": "How many numbers were recorded under revenue when revenue per capita was $6,126?", + "context": "create table table_14700336_1 (revenue__millions_ varchar, revenue_per_capita varchar, PRIMARY KEY (revenue__millions_))", + "answer": "select count(revenue__millions_) from table_14700336_1 where revenue_per_capita = \"$6,126\"" + }, + { + "question": "Name the title that aired for november 08, 1985", + "context": "create table table_20967430_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_20967430_2 where original_air_date = \"november 08, 1985\"" + }, + { + "question": "What is the control for the school accredited by the higher learning commission ( nca ), ccne?", + "context": "create table table_2076522_2 (control varchar, accreditation varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076522_2 where accreditation = \"the higher learning commission ( nca ), ccne\"" + }, + { + "question": "How many rankings (timeslot) were there for the episode that aired on May 2, 2010?", + "context": "create table table_23397386_2 (rank__timeslot_ varchar, airdate varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select count(rank__timeslot_) from table_23397386_2 where airdate = \"may 2, 2010\"" + }, + { + "question": "What are the international tourist arrivals(2010) where change from 2009 to 2010 is +11.1%?", + "context": "create table table_14752049_2 (international_tourist_arrivals__2010_ varchar, change__2009_to_2010_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))", + "answer": "select international_tourist_arrivals__2010_ from table_14752049_2 where change__2009_to_2010_ = \"+11.1%\"" + }, + { + "question": "When gordon (27) had high points, what was the number of high assists?", + "context": "create table table_11960610_10 (high_assists varchar, high_points varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_11960610_10 where high_points = \"gordon (27)\"" + }, + { + "question": "What are the issue dates of volumes associated with the artist \"Gorgoroth\"?", + "context": "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))", + "answer": "select t2.issue_date from artist as t1 join volume as t2 on t1.artist_id = t2.artist_id where t1.artist = \"gorgoroth\"" + }, + { + "question": "What is every value for first year in QLD Cup if home ground is Corbett Park, Crosby Park, Lang Park, ANZ Stadium?", + "context": "create table table_2383498_4 (first_year_in_qld_cup varchar, home_ground varchar, PRIMARY KEY (first_year_in_qld_cup))", + "answer": "select first_year_in_qld_cup from table_2383498_4 where home_ground = \"corbett park, crosby park, lang park, anz stadium\"" + }, + { + "question": "Show the party that has the most people.", + "context": "create table people (party varchar, PRIMARY KEY (party))", + "answer": "select party from people group by party order by count(*) desc limit 1" + }, + { + "question": "What are all the countries where the electric company Ebisa has a presence?", + "context": "create table table_19001916_2 (country varchar, entities varchar, PRIMARY KEY (country))", + "answer": "select country from table_19001916_2 where entities = \"ebisa\"" + }, + { + "question": "Which films participated in the 30th Hawaii International Film Festival?", + "context": "create table table_29644931_1 (participants_recipients varchar, film_festival varchar, PRIMARY KEY (participants_recipients))", + "answer": "select participants_recipients from table_29644931_1 where film_festival = \"30th hawaii international film_festival\"" + }, + { + "question": "what is the total number of sesamin were secoisolariciresinol is 240?", + "context": "create table table_1831262_2 (sesamin varchar, secoisolariciresinol varchar, PRIMARY KEY (sesamin))", + "answer": "select sesamin from table_1831262_2 where secoisolariciresinol = 240" + }, + { + "question": "Name the number of titles written by adam i. lapidus", + "context": "create table table_12030612_9 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_12030612_9 where written_by = \"adam i. lapidus\"" + }, + { + "question": "Name the segment c for crash test dummies", + "context": "create table table_15187735_10 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))", + "answer": "select count(segment_c) from table_15187735_10 where segment_d = \"crash test dummies\"" + }, + { + "question": "What is the Format for Branding of 1290 wkbk w281au 104.1?", + "context": "create table table_10333757_1 (format varchar, branding varchar, PRIMARY KEY (format))", + "answer": "select format from table_10333757_1 where branding = \"1290 wkbk w281au 104.1\"" + }, + { + "question": "How many college teams have a player with a nationality of Russia?", + "context": "create table table_2840500_6 (college_junior_club_team varchar, nationality varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_2840500_6 where nationality = \"russia\"" + }, + { + "question": "Show the name of the party that has at least two records.", + "context": "create table party (party varchar, PRIMARY KEY (party))", + "answer": "select party from party group by party having count(*) >= 2" + }, + { + "question": "What is the date opened if thedistrict ID is 11901?", + "context": "create table table_22665117_1 (date_opened varchar, dist_id varchar, PRIMARY KEY (date_opened))", + "answer": "select date_opened from table_22665117_1 where dist_id = 11901" + }, + { + "question": "Who was Henry Hyde's opponent in the race?", + "context": "create table table_1341568_14 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_1341568_14 where incumbent = \"henry hyde\"" + }, + { + "question": "How many years has station KPIX been owned?", + "context": "create table table_1553485_1 (years_owned varchar, station varchar, PRIMARY KEY (years_owned))", + "answer": "select count(years_owned) from table_1553485_1 where station = \"kpix\"" + }, + { + "question": "When arthur collins is the winner what is the reason?", + "context": "create table table_28898948_3 (reason varchar, winner varchar, PRIMARY KEY (reason))", + "answer": "select reason from table_28898948_3 where winner = \"arthur collins\"" + }, + { + "question": "Find all the songs that do not have a lead vocal.", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table vocals (songid varchar, PRIMARY KEY (songid))", + "answer": "select distinct title from vocals as t1 join songs as t2 on t1.songid = t2.songid except select t2.title from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = \"lead\"" + }, + { + "question": "find the number of medicines offered by each trade.", + "context": "create table medicine (trade_name varchar, PRIMARY KEY (trade_name))", + "answer": "select trade_name, count(*) from medicine group by trade_name" + }, + { + "question": "What are the names of all unix shell with PowerShell (Cmdlet) of select-string?", + "context": "create table table_14465871_1 (unix_shell varchar, powershell__cmdlet_ varchar, PRIMARY KEY (unix_shell))", + "answer": "select unix_shell from table_14465871_1 where powershell__cmdlet_ = \"select-string\"" + }, + { + "question": "Name the team anthem that was written by quentin eyers and les kaczmarek.", + "context": "create table table_28243323_1 (name_of_team_song varchar, writer_composer varchar, PRIMARY KEY (name_of_team_song))", + "answer": "select name_of_team_song from table_28243323_1 where writer_composer = \"quentin eyers and les kaczmarek\"" + }, + { + "question": "What are the largest ethnic groups in gunaro\u0161?", + "context": "create table table_2562572_27 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_27 where settlement = \"gunaro\u0161\"" + }, + { + "question": "what is the record where the locaiton is tampa, fl and the opponent is louisville?", + "context": "create table table_23346303_3 (record varchar, location varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23346303_3 where location = \"tampa, fl\" and opponent = \"louisville\"" + }, + { + "question": "How many patients' prescriptions are made by physician John Dorian?", + "context": "create table patient (ssn varchar, PRIMARY KEY (ssn)); create table prescribes (patient varchar, physician varchar, PRIMARY KEY (patient)); create table physician (employeeid varchar, name varchar, PRIMARY KEY (employeeid))", + "answer": "select count(t1.ssn) from patient as t1 join prescribes as t2 on t1.ssn = t2.patient join physician as t3 on t2.physician = t3.employeeid where t3.name = \"john dorian\"" + }, + { + "question": "What is the SDLP of Belfast?", + "context": "create table table_28005809_2 (sdlp integer, council varchar, PRIMARY KEY (sdlp))", + "answer": "select max(sdlp) from table_28005809_2 where council = \"belfast\"" + }, + { + "question": "What university is houston dynamo affiliated with?", + "context": "create table table_25518547_4 (affiliation varchar, mls_team varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_25518547_4 where mls_team = \"houston dynamo\"" + }, + { + "question": "Name the h when c max is 99", + "context": "create table table (h varchar, c__max_ varchar, PRIMARY KEY (h))", + "answer": "select h from table where c__max_ = 99" + }, + { + "question": "what the highest number for the opposite of offense for the green bay packers", + "context": "create table table_1402270_1 (team_defense_rank integer, nfl_team varchar, PRIMARY KEY (team_defense_rank))", + "answer": "select max(team_defense_rank) from table_1402270_1 where nfl_team = \"green bay packers\"" + }, + { + "question": "What is the description of the department whose name has the substring the computer?", + "context": "create table departments (department_description varchar, department_name varchar, PRIMARY KEY (department_description))", + "answer": "select department_description from departments where department_name like '%computer%'" + }, + { + "question": "Who were the comedians during the episode located in Birmingham Hippodrome?", + "context": "create table table_23122988_1 (comedians varchar, location varchar, PRIMARY KEY (comedians))", + "answer": "select comedians from table_23122988_1 where location = \"birmingham hippodrome\"" + }, + { + "question": "What is the football conference for Henniker, New Hampshire>?", + "context": "create table table_261927_2 (football_conference varchar, location varchar, PRIMARY KEY (football_conference))", + "answer": "select football_conference from table_261927_2 where location = \"henniker, new hampshire\"" + }, + { + "question": "What is the branding of the callsign DWBA-TV?", + "context": "create table table_2610582_3 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2610582_3 where callsign = \"dwba-tv\"" + }, + { + "question": "What was the original air date of the episode that had 4.08 million U.S. viewers?", + "context": "create table table_21304155_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_21304155_1 where us_viewers__millions_ = \"4.08\"" + }, + { + "question": "When 2 is the k-band what is the v-band?", + "context": "create table table_186468_1 (v_band varchar, k_band varchar, PRIMARY KEY (v_band))", + "answer": "select v_band from table_186468_1 where k_band = \"2\"" + }, + { + "question": "How many points did the opponents with a 6-2 record against the Spartans score?", + "context": "create table table_22860990_3 (opp_points integer, record varchar, PRIMARY KEY (opp_points))", + "answer": "select min(opp_points) from table_22860990_3 where record = \"6-2\"" + }, + { + "question": "tell who made the most scores on new jersey", + "context": "create table table_13464416_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13464416_6 where team = \"new jersey\"" + }, + { + "question": "What is the amount of marginal ordinary income tax rate for single in which the range is $8,351\u2013 $33,950?", + "context": "create table table_11647327_2 (marginal_ordinary_income_tax_rate varchar, single varchar, PRIMARY KEY (marginal_ordinary_income_tax_rate))", + "answer": "select count(marginal_ordinary_income_tax_rate) from table_11647327_2 where single = \"$8,351\u2013 $33,950\"" + }, + { + "question": "Show all student IDs with the number of sports and total number of games played", + "context": "create table sportsinfo (stuid varchar, gamesplayed integer, PRIMARY KEY (stuid))", + "answer": "select stuid, count(*), sum(gamesplayed) from sportsinfo group by stuid" + }, + { + "question": "How many men had an event 1 medley score of 6 (16.6m)?", + "context": "create table table_24302700_2 (event_2_truck_pull varchar, event_1_medley varchar, PRIMARY KEY (event_2_truck_pull))", + "answer": "select count(event_2_truck_pull) from table_24302700_2 where event_1_medley = \"6 (16.6m)\"" + }, + { + "question": "Name the junes", + "context": "create table table_1539201_1 (june varchar, PRIMARY KEY (june))", + "answer": "select june from table_1539201_1" + }, + { + "question": "Name the total number of b winning car and bobby archer, tommy archer", + "context": "create table table_27965906_2 (b_winning_car varchar, ss_winning_car varchar, PRIMARY KEY (b_winning_car))", + "answer": "select count(b_winning_car) from table_27965906_2 where ss_winning_car = \"bobby archer, tommy archer\"" + }, + { + "question": "Name the air date that chris long directed", + "context": "create table table_18569389_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_18569389_1 where directed_by = \"chris long\"" + }, + { + "question": "What was the win/loss record for All Neutral games for the team whose Big 10 winning percentage was .833?", + "context": "create table table_18135572_2 (all_neutral varchar, b10__percentage varchar, PRIMARY KEY (all_neutral))", + "answer": "select all_neutral from table_18135572_2 where b10__percentage = \".833\"" + }, + { + "question": "What is the netflix episode number where Segment D is high-performance engines?", + "context": "create table table_15187735_15 (netflix varchar, segment_d varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_15 where segment_d = \"high-performance engines\"" + }, + { + "question": "Which kind of policy type was chosen by the most customers?", + "context": "create table customer_policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code from customer_policies group by policy_type_code order by count(*) desc limit 1" + }, + { + "question": "What was the playoff result for the team name of bay area seals", + "context": "create table table_1427998_1 (playoffs varchar, team_name varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1427998_1 where team_name = \"bay area seals\"" + }, + { + "question": "When 30% is scott mcadams (d) percentage how many poll sources are there?", + "context": "create table table_20597634_3 (poll_source varchar, scott_mcadams__d_ varchar, PRIMARY KEY (poll_source))", + "answer": "select count(poll_source) from table_20597634_3 where scott_mcadams__d_ = \"30%\"" + }, + { + "question": "What is the total number of successors when the vacator was William North ( F )", + "context": "create table table_224839_3 (successor varchar, vacator varchar, PRIMARY KEY (successor))", + "answer": "select count(successor) from table_224839_3 where vacator = \"william north ( f )\"" + }, + { + "question": "what's the\u00a0salmonella\u00a0with\u00a0escherichia\u00a0being espd", + "context": "create table table_10321124_1 (salmonella varchar, escherichia varchar, PRIMARY KEY (salmonella))", + "answer": "select salmonella from table_10321124_1 where escherichia = \"espd\"" + }, + { + "question": "When h.264 is 9.0, how much is vp9 ( webm )", + "context": "create table table_26099252_1 (vp9___webm__ varchar, h264 varchar, PRIMARY KEY (vp9___webm__))", + "answer": "select vp9___webm__ from table_26099252_1 where h264 = \"9.0\"" + }, + { + "question": "How many languages is refractaire as the film title used in nomination?", + "context": "create table table_22073745_1 (languages varchar, film_title_used_in_nomination varchar, PRIMARY KEY (languages))", + "answer": "select count(languages) from table_22073745_1 where film_title_used_in_nomination = \"refractaire\"" + }, + { + "question": "If the rings are 60.500, what is the parallel bars number?", + "context": "create table table_18662026_1 (parallel_bars varchar, rings varchar, PRIMARY KEY (parallel_bars))", + "answer": "select parallel_bars from table_18662026_1 where rings = \"60.500\"" + }, + { + "question": "Which school/club team has a player named Mark Sanford?", + "context": "create table table_15463188_17 (school_club_team varchar, name varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_15463188_17 where name = \"mark sanford\"" + }, + { + "question": "How many countries are the Tata Sabaya Lava domes located in?", + "context": "create table table_1081235_1 (country varchar, name_of_lava_dome varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_1081235_1 where name_of_lava_dome = \"tata sabaya lava domes\"" + }, + { + "question": "What date did the West Indies win the match?", + "context": "create table table_22384475_1 (match_date varchar, winner varchar, PRIMARY KEY (match_date))", + "answer": "select match_date from table_22384475_1 where winner = \"west indies\"" + }, + { + "question": "Find the number of the products that have their color described as \"red\" and have a characteristic named \"slow\".", + "context": "create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "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 join ref_colors as t4 on t1.color_code = t4.color_code where t4.color_description = \"red\" and t3.characteristic_name = \"slow\"" + }, + { + "question": "What are all Tamil months when the season in English is monsoon?", + "context": "create table table_1740431_3 (tamil_months varchar, season_in_english varchar, PRIMARY KEY (tamil_months))", + "answer": "select tamil_months from table_1740431_3 where season_in_english = \"monsoon\"" + }, + { + "question": "Report all advisors that advise more than 2 students.", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor from student group by advisor having count(*) > 2" + }, + { + "question": "List the organisation id with the maximum outcome count, and the count.", + "context": "create table project_outcomes (project_id varchar, PRIMARY KEY (project_id)); create table projects (organisation_id varchar, project_id varchar, PRIMARY KEY (organisation_id))", + "answer": "select t1.organisation_id, count(*) from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id group by t1.organisation_id order by count(*) desc limit 1" + }, + { + "question": "On what yacht was the sail number aus70?", + "context": "create table table_1858574_3 (yacht varchar, sail_number varchar, PRIMARY KEY (yacht))", + "answer": "select yacht from table_1858574_3 where sail_number = \"aus70\"" + }, + { + "question": "What is the id and type code for the template used by the most documents?", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code))", + "answer": "select t1.template_id, t2.template_type_code from documents as t1 join templates as t2 on t1.template_id = t2.template_id group by t1.template_id order by count(*) desc limit 1" + }, + { + "question": "Name the name for deceased spouse being louis malle", + "context": "create table table_24143253_1 (name varchar, deceased_spouse varchar, PRIMARY KEY (name))", + "answer": "select name from table_24143253_1 where deceased_spouse = \"louis malle\"" + }, + { + "question": "What are all the places where Birgit Fischer competed?", + "context": "create table table_14884844_2 (location varchar, athletes varchar, PRIMARY KEY (location))", + "answer": "select location from table_14884844_2 where athletes = \"birgit fischer\"" + }, + { + "question": "What was the maximum value that Christer Tornell gave when Trine Dehli Cleve gave a 9?", + "context": "create table table_28677723_8 (christer_tornell integer, trine_dehli_cleve varchar, PRIMARY KEY (christer_tornell))", + "answer": "select max(christer_tornell) from table_28677723_8 where trine_dehli_cleve = 9" + }, + { + "question": "How many Grand Prix were the winning constructor Benetton - Ford and the pole position was Michael Schumacher?", + "context": "create table table_1137702_3 (grand_prix varchar, winning_constructor varchar, pole_position varchar, PRIMARY KEY (grand_prix))", + "answer": "select count(grand_prix) from table_1137702_3 where winning_constructor = \"benetton - ford\" and pole_position = \"michael schumacher\"" + }, + { + "question": "Which situation has an original u.s. airdate of December 5, 2007?", + "context": "create table table_14570857_1 (situation varchar, original_us_airdate varchar, PRIMARY KEY (situation))", + "answer": "select situation from table_14570857_1 where original_us_airdate = \"december 5, 2007\"" + }, + { + "question": "List the tournament that kent state won?", + "context": "create table table_24348134_3 (conference varchar, tournament_winner varchar, PRIMARY KEY (conference))", + "answer": "select conference as tournament from table_24348134_3 where tournament_winner = \"kent state\"" + }, + { + "question": "Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?", + "context": "create table table_29225103_2 (ep_winning_team varchar, fm_winning_team varchar, hm_winning_team varchar, PRIMARY KEY (ep_winning_team))", + "answer": "select ep_winning_team from table_29225103_2 where fm_winning_team = \"brabham - ford\" and hm_winning_team = \"osca\"" + }, + { + "question": "how many match points rotherham lose", + "context": "create table table_27987767_2 (match_points varchar, losers varchar, PRIMARY KEY (match_points))", + "answer": "select match_points from table_27987767_2 where losers = \"rotherham\"" + }, + { + "question": "When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity?", + "context": "create table table_11497980_1 (gcm__kg__technical_capacity varchar, transmission_make_type_speed varchar, PRIMARY KEY (gcm__kg__technical_capacity))", + "answer": "select gcm__kg__technical_capacity from table_11497980_1 where transmission_make_type_speed = \"eaton fs 5306-a manual synchromesh 6 speed\"" + }, + { + "question": "how many date of birts are if the previous club is chelsea", + "context": "create table table_27998152_1 (date_of_birth varchar, previous_club varchar, PRIMARY KEY (date_of_birth))", + "answer": "select count(date_of_birth) from table_27998152_1 where previous_club = \"chelsea\"" + }, + { + "question": "Name the current womens lacrosse conference for bison", + "context": "create table table_27378582_1 (current_womens_lacrosse_conference varchar, nickname varchar, PRIMARY KEY (current_womens_lacrosse_conference))", + "answer": "select current_womens_lacrosse_conference from table_27378582_1 where nickname = \"bison\"" + }, + { + "question": "For students who have pets , how many pets does each student have ? list their ids instead of names .", + "context": "create table has_pet (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(*), t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid" + }, + { + "question": "What was the yield of the K-4 explosion?", + "context": "create table table_148578_1 (yield__approximate_ varchar, explosion varchar, PRIMARY KEY (yield__approximate_))", + "answer": "select yield__approximate_ from table_148578_1 where explosion = \"k-4\"" + }, + { + "question": "How many Ford Focus electric vehicle emission test scores were recorded in California?", + "context": "create table table_16105186_2 (california__san_francisco_ varchar, vehicle varchar, PRIMARY KEY (california__san_francisco_))", + "answer": "select count(california__san_francisco_) from table_16105186_2 where vehicle = \"ford focus electric\"" + }, + { + "question": "Name the number of song for julia bermejo", + "context": "create table table_19763199_5 (song varchar, artist varchar, PRIMARY KEY (song))", + "answer": "select count(song) from table_19763199_5 where artist = \"julia bermejo\"" + }, + { + "question": "What are the states or counties of the address of the stores with marketing region code \"CA\"?", + "context": "create table addresses (state_county varchar, address_id varchar, PRIMARY KEY (state_county)); create table stores (address_id varchar, marketing_region_code varchar, PRIMARY KEY (address_id))", + "answer": "select t1.state_county from addresses as t1 join stores as t2 on t1.address_id = t2.address_id where t2.marketing_region_code = \"ca\"" + }, + { + "question": "What is the web thickness if the flange width is 100?", + "context": "create table table_2071644_2 (web_thickness__mm_ varchar, flange_width__mm_ varchar, PRIMARY KEY (web_thickness__mm_))", + "answer": "select web_thickness__mm_ from table_2071644_2 where flange_width__mm_ = 100" + }, + { + "question": "What's the total (in million \u20ac) in the region where PPP is 21779 million \u20ac?", + "context": "create table table_2293510_1 (total__million_\u20ac__ varchar, ppp__million_\u20ac_ varchar, PRIMARY KEY (total__million_\u20ac__))", + "answer": "select total__million_\u20ac__ from table_2293510_1 where ppp__million_\u20ac_ = 21779" + }, + { + "question": "give me names of all compatible browsers and accelerators in the descending order of compatible year", + "context": "create table accelerator_compatible_browser (browser_id varchar, accelerator_id varchar, compatible_since_year varchar, PRIMARY KEY (browser_id)); create table web_client_accelerator (name varchar, id varchar, PRIMARY KEY (name)); create table browser (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t3.name from accelerator_compatible_browser as t1 join browser as t2 on t1.browser_id = t2.id join web_client_accelerator as t3 on t1.accelerator_id = t3.id order by t1.compatible_since_year desc" + }, + { + "question": "What weapon is used by the guardian whose consort is \u015bac\u012b?", + "context": "create table table_100518_1 (weapon varchar, consort varchar, PRIMARY KEY (weapon))", + "answer": "select weapon from table_100518_1 where consort = \"\u015bac\u012b\"" + }, + { + "question": "List all information regarding the basketball match.", + "context": "create table basketball_match (id varchar, PRIMARY KEY (id))", + "answer": "select * from basketball_match" + }, + { + "question": "What was the survivor count for the episode directed by Gwyneth Horder-Payton?", + "context": "create table table_21304131_2 (survivor_count varchar, directed_by varchar, PRIMARY KEY (survivor_count))", + "answer": "select survivor_count from table_21304131_2 where directed_by = \"gwyneth horder-payton\"" + }, + { + "question": "How many games share their western title with the Chinese title of \u6478\u6478\u8000\u897f-\u4e91\u4e2d\u6f2b\u6b65 ?", + "context": "create table table_1616608_2 (western_title varchar, chinese_title varchar, PRIMARY KEY (western_title))", + "answer": "select count(western_title) from table_1616608_2 where chinese_title = \"\u6478\u6478\u8000\u897f-\u4e91\u4e2d\u6f2b\u6b65\"" + }, + { + "question": "In which week # was the original artist of Barreto's song choice was Leila Pinheiro?", + "context": "create table table_27614571_1 (week__number varchar, original_artist varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_27614571_1 where original_artist = \"leila pinheiro\"" + }, + { + "question": "Name march 27-29 where january 15-16 is january 15, 1991", + "context": "create table table_1708610_3 (march_27_29 varchar, january_15_16 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_1708610_3 where january_15_16 = \"january 15, 1991\"" + }, + { + "question": "how many winnings does jeff gordon have?", + "context": "create table table_27781212_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))", + "answer": "select winnings from table_27781212_1 where driver = \"jeff gordon\"" + }, + { + "question": "Find the patient who most recently stayed in room 111.", + "context": "create table stay (patient varchar, room varchar, staystart varchar, PRIMARY KEY (patient))", + "answer": "select patient from stay where room = 111 order by staystart desc limit 1" + }, + { + "question": "How many times did the team play charlotte?", + "context": "create table table_17058116_6 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17058116_6 where team = \"charlotte\"" + }, + { + "question": "Find the founder of the company whose name begins with the letter 'S'.", + "context": "create table manufacturers (founder varchar, name varchar, PRIMARY KEY (founder))", + "answer": "select founder from manufacturers where name like 's%'" + }, + { + "question": "What is the publisher with most number of books?", + "context": "create table book_club (publisher varchar, PRIMARY KEY (publisher))", + "answer": "select publisher from book_club group by publisher order by count(*) desc limit 1" + }, + { + "question": "Name the crew chief for ricky craven", + "context": "create table table_2187178_1 (crew_chief varchar, driver_s_ varchar, PRIMARY KEY (crew_chief))", + "answer": "select crew_chief from table_2187178_1 where driver_s_ = \"ricky craven\"" + }, + { + "question": "Who was the pilot of max altitude of 55.9 miles?", + "context": "create table table_221315_3 (pilot varchar, max_altitude__miles_ varchar, PRIMARY KEY (pilot))", + "answer": "select pilot from table_221315_3 where max_altitude__miles_ = \"55.9\"" + }, + { + "question": "What is the manner of departure for the team racing santander?", + "context": "create table table_24231638_3 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_24231638_3 where team = \"racing santander\"" + }, + { + "question": "Name the tier 1 ratio for irish life and permanent", + "context": "create table table_22368322_2 (tier_1_ratio varchar, institution varchar, PRIMARY KEY (tier_1_ratio))", + "answer": "select tier_1_ratio from table_22368322_2 where institution = \"irish life and permanent\"" + }, + { + "question": "In what conflicts was the Italian Navy Combatants B?", + "context": "create table table_26977890_1 (conflict varchar, combatants_b varchar, PRIMARY KEY (conflict))", + "answer": "select conflict from table_26977890_1 where combatants_b = \"italian navy\"" + }, + { + "question": "Name the total water resources m3 for rainfall being 650", + "context": "create table table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 varchar, average_annual_rainfall__mm_ varchar, PRIMARY KEY (per_capita_average_annual_renewable_water_resources_m_3))", + "answer": "select count(per_capita_average_annual_renewable_water_resources_m_3) from table_22854436_1 where average_annual_rainfall__mm_ = \"650\"" + }, + { + "question": "How many episodes were directed by Rod Hardy?", + "context": "create table table_25740548_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_25740548_2 where directed_by = \"rod hardy\"" + }, + { + "question": "What is every song title for the rock genre and Guitar Hero as original game and the artist is Queens of the Stone Age?", + "context": "create table table_21500850_1 (song_title varchar, artist varchar, genre varchar, original_game varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_21500850_1 where genre = \"rock\" and original_game = \"guitar hero\" and artist = \"queens of the stone age\"" + }, + { + "question": "Who is the first driver(s) when the country is romania?", + "context": "create table table_27279050_3 (first_driver_s_ varchar, country varchar, PRIMARY KEY (first_driver_s_))", + "answer": "select first_driver_s_ from table_27279050_3 where country = \"romania\"" + }, + { + "question": "Who wrote the episode that originally aired April 29, 1994?", + "context": "create table table_2468961_4 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2468961_4 where original_air_date = \"april 29, 1994\"" + }, + { + "question": "How many transaction does each account have? Show the number and account id.", + "context": "create table financial_transactions (account_id varchar, PRIMARY KEY (account_id))", + "answer": "select count(*), account_id from financial_transactions" + }, + { + "question": "What is the aa length when the protein name is c11orf73?", + "context": "create table table_26708105_5 (aa_length varchar, protein_name varchar, PRIMARY KEY (aa_length))", + "answer": "select aa_length from table_26708105_5 where protein_name = \"c11orf73\"" + }, + { + "question": "What brand is model I7-8xx?", + "context": "create table table_24018112_1 (brand_name varchar, model__list_ varchar, PRIMARY KEY (brand_name))", + "answer": "select brand_name from table_24018112_1 where model__list_ = \"i7-8xx\"" + }, + { + "question": "If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality?", + "context": "create table table_19998428_3 (san_juli\u00e1n_municipality___percentage_ varchar, san_antonio_de_lomer\u00edo_municipality___percentage_ varchar, PRIMARY KEY (san_juli\u00e1n_municipality___percentage_))", + "answer": "select count(san_juli\u00e1n_municipality___percentage_) from table_19998428_3 where san_antonio_de_lomer\u00edo_municipality___percentage_ = \"5.480\"" + }, + { + "question": "If the event was bantamweight (-63kg), and the quarterfinals did not advance, then who was in round of 32?", + "context": "create table table_26335424_86 (round_of_32 varchar, quarterfinals varchar, event varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_26335424_86 where quarterfinals = \"did not advance\" and event = \"bantamweight (-63kg)\"" + }, + { + "question": "What was the time in part 3 when Nick Heidfeld was the driver?", + "context": "create table table_20159025_1 (part_3 varchar, driver varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_20159025_1 where driver = \"nick heidfeld\"" + }, + { + "question": "How many documents are using the template with type code 'PPT'?", + "context": "create table templates (template_id varchar, template_type_code varchar, PRIMARY KEY (template_id)); create table documents (template_id varchar, PRIMARY KEY (template_id))", + "answer": "select count(*) from documents as t1 join templates as t2 on t1.template_id = t2.template_id where t2.template_type_code = 'ppt'" + }, + { + "question": "Find the policy type used by more than 4 customers.", + "context": "create table available_policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code from available_policies group by policy_type_code having count(*) > 4" + }, + { + "question": "What are all of the dates in the country of Canada?", + "context": "create table table_15315816_1 (dates varchar, country varchar, PRIMARY KEY (dates))", + "answer": "select dates from table_15315816_1 where country = \"canada\"" + }, + { + "question": "What province was New Plymouth formed from?", + "context": "create table table_275023_1 (formed_from varchar, province varchar, PRIMARY KEY (formed_from))", + "answer": "select formed_from from table_275023_1 where province = \"new plymouth\"" + }, + { + "question": "when deland is the fcsl team and 2008 is the year played who is the mlb team?", + "context": "create table table_18373863_2 (mlb_team varchar, years_played varchar, fcsl_team varchar, PRIMARY KEY (mlb_team))", + "answer": "select mlb_team from table_18373863_2 where years_played = \"2008\" and fcsl_team = \"deland\"" + }, + { + "question": "What is the epa rated combined fuel economy for the all-electric vehicle with dirty electric grid rocky mountains (denver) of 330 g/mi (205 g/km)?", + "context": "create table table_23840623_4 (epa_rated_combined_fuel_economy varchar, operating_mode varchar, dirty_electric_grid_rocky_mountains__denver_ varchar, PRIMARY KEY (epa_rated_combined_fuel_economy))", + "answer": "select epa_rated_combined_fuel_economy from table_23840623_4 where operating_mode = \"all-electric\" and dirty_electric_grid_rocky_mountains__denver_ = \"330 g/mi (205 g/km)\"" + }, + { + "question": "what's the\u00a0camp\u00a0with\u00a0estimated deaths\u00a0of 600,000", + "context": "create table table_10335_1 (camp varchar, estimated_deaths varchar, PRIMARY KEY (camp))", + "answer": "select camp from table_10335_1 where estimated_deaths = \"600,000\"" + }, + { + "question": "What was the waveform of the encoding with a bit rate of 6.203?", + "context": "create table table_1926240_1 (waveform varchar, bit_rate_ varchar, _mbit_s_ varchar, PRIMARY KEY (waveform))", + "answer": "select waveform from table_1926240_1 where bit_rate_[_mbit_s_] = \"6.203\"" + }, + { + "question": "How many people wrote the episode that had 7.26 million u.s. viewers?", + "context": "create table table_28037619_2 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_28037619_2 where us_viewers__million_ = \"7.26\"" + }, + { + "question": "What was the world rank by ARWU in 2013 of the University of T\u00fcbingen?", + "context": "create table table_27484208_1 (world_rank_by_arwu_ varchar, _2013 varchar, members varchar, PRIMARY KEY (world_rank_by_arwu_))", + "answer": "select world_rank_by_arwu_, _2013 from table_27484208_1 where members = \"university of t\u00fcbingen\"" + }, + { + "question": "Show the most common nationality of hosts.", + "context": "create table host (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from host group by nationality order by count(*) desc limit 1" + }, + { + "question": "What film did michaylo ilyenko make with best actor in a supporting role?", + "context": "create table table_10236830_1 (film_name varchar, director varchar, nomination varchar, PRIMARY KEY (film_name))", + "answer": "select film_name from table_10236830_1 where director = \"michaylo ilyenko\" and nomination = \"best actor in a supporting role\"" + }, + { + "question": "How many countries are listed?", + "context": "create table countries (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from countries" + }, + { + "question": "Name the discipline for 1561 fis points", + "context": "create table table_30073089_2 (discipline varchar, fis_points varchar, PRIMARY KEY (discipline))", + "answer": "select discipline from table_30073089_2 where fis_points = 1561" + }, + { + "question": "Which stadium had the result/game montreal 20 @ ottawa 10?", + "context": "create table table_21436373_8 (stadium varchar, result_games varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_8 where result_games = \"montreal 20 @ ottawa 10\"" + }, + { + "question": "Find the names of all physicians and their primary affiliated departments' names.", + "context": "create table department (name varchar, departmentid varchar, PRIMARY KEY (name)); create table affiliated_with (physician varchar, department varchar, primaryaffiliation varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t3.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t2.primaryaffiliation = 1" + }, + { + "question": "How many degrees does the engineering department offer?", + "context": "create table degree_programs (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_id varchar, department_name varchar, PRIMARY KEY (department_id))", + "answer": "select count(*) from departments as t1 join degree_programs as t2 on t1.department_id = t2.department_id where t1.department_name = 'engineer'" + }, + { + "question": "Name the genus/species of accession number bx897699.1", + "context": "create table table_27155678_2 (genus_species varchar, accession_number varchar, PRIMARY KEY (genus_species))", + "answer": "select genus_species from table_27155678_2 where accession_number = \"bx897699.1\"" + }, + { + "question": "What is the original air date of the episode directed by Paul Marcus?", + "context": "create table table_15026994_3 (original_air_date varchar, director varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_15026994_3 where director = \"paul marcus\"" + }, + { + "question": "Who is the team captain when the club is k.f.c. germinal beerschot?", + "context": "create table table_27374004_2 (team_captain varchar, club varchar, PRIMARY KEY (team_captain))", + "answer": "select team_captain from table_27374004_2 where club = \"k.f.c. germinal beerschot\"" + }, + { + "question": "What was the location when the winning driver was Nathana\u00ebl Berthon?", + "context": "create table table_25572068_1 (location varchar, winning_driver varchar, PRIMARY KEY (location))", + "answer": "select location from table_25572068_1 where winning_driver = \"nathana\u00ebl berthon\"" + }, + { + "question": "Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?", + "context": "create table table_23285761_7 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23285761_7 where high_rebounds = \"amar'e stoudemire (10)\"" + }, + { + "question": "who is the the\u00a0mens singles\u00a0with\u00a0mens doubles\u00a0being kaj lindfors kaj osterberg", + "context": "create table table_13857700_1 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_13857700_1 where mens_doubles = \"kaj lindfors kaj osterberg\"" + }, + { + "question": "Name the number of teams for 11th position september 10", + "context": "create table table_25361570_2 (team varchar, position_in_table varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_25361570_2 where position_in_table = \"11th\" and date_of_appointment = \"september 10\"" + }, + { + "question": "Name the host when first premiere is august 3, 2007", + "context": "create table table_1597866_3 (host varchar, first_premiere varchar, PRIMARY KEY (host))", + "answer": "select host from table_1597866_3 where first_premiere = \"august 3, 2007\"" + }, + { + "question": "Who wrote the episode that had 8.84 million viewers?", + "context": "create table table_21025437_5 (written_by varchar, viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_21025437_5 where viewers__millions_ = \"8.84\"" + }, + { + "question": "When was the coin with the mass of 3.7 g first minted?", + "context": "create table table_1307572_1 (first_minting varchar, mass varchar, PRIMARY KEY (first_minting))", + "answer": "select first_minting from table_1307572_1 where mass = \"3.7 g\"" + }, + { + "question": "When the change (2011 to 2012) is -0.1% what is the country?", + "context": "create table table_14752049_6 (country varchar, change__2011_to_2012_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_14752049_6 where change__2011_to_2012_ = \"-0.1%\"" + }, + { + "question": "When 0.6\u20131.4 is the b r (t) what is the h ci (ka/m)?", + "context": "create table table_2282444_1 (h_ci__ka_m_ varchar, b_r__t_ varchar, PRIMARY KEY (h_ci__ka_m_))", + "answer": "select h_ci__ka_m_ from table_2282444_1 where b_r__t_ = \"0.6\u20131.4\"" + }, + { + "question": "What are the japanese title(s) for tv asahi?", + "context": "create table table_18539834_2 (japanese_title varchar, tv_station varchar, PRIMARY KEY (japanese_title))", + "answer": "select japanese_title from table_18539834_2 where tv_station = \"tv asahi\"" + }, + { + "question": "When the high assists were Shawn Marion (6) who had high rebounds?", + "context": "create table table_17323092_7 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17323092_7 where high_assists = \"shawn marion (6)\"" + }, + { + "question": "How many students have advisors?", + "context": "create table advisor (s_id varchar, PRIMARY KEY (s_id))", + "answer": "select count(distinct s_id) from advisor" + }, + { + "question": "Find the name of airports which do not have any flight in and out.", + "context": "create table flights (airportname varchar, airportcode varchar, sourceairport varchar, destairport varchar, PRIMARY KEY (airportname)); create table airports (airportname varchar, airportcode varchar, sourceairport varchar, destairport varchar, PRIMARY KEY (airportname))", + "answer": "select airportname from airports where not airportcode in (select sourceairport from flights union select destairport from flights)" + }, + { + "question": "How many players had a best winning average of 20?", + "context": "create table table_27533947_1 (games_won varchar, best_winning_average varchar, PRIMARY KEY (games_won))", + "answer": "select count(games_won) from table_27533947_1 where best_winning_average = \"20\"" + }, + { + "question": "What is the modern equivalent of the former kingdom \"silla\" with the hanja \u5c19\u5dde?", + "context": "create table table_160510_1 (modern_equivalent varchar, former_kingdom varchar, hanja varchar, PRIMARY KEY (modern_equivalent))", + "answer": "select count(modern_equivalent) from table_160510_1 where former_kingdom = \"silla\" and hanja = \"\u5c19\u5dde\"" + }, + { + "question": "What were the guests that aired on 7 June 2010?", + "context": "create table table_26733129_1 (guests varchar, air_date varchar, PRIMARY KEY (guests))", + "answer": "select guests from table_26733129_1 where air_date = \"7 june 2010\"" + }, + { + "question": "How many route numbers occur for the origin of Birmingham and destination of Bristol?", + "context": "create table table_3005999_1 (route_number varchar, origin varchar, destination varchar, PRIMARY KEY (route_number))", + "answer": "select count(route_number) from table_3005999_1 where origin = \"birmingham\" and destination = \"bristol\"" + }, + { + "question": "what is the score in fg-fga if in ft-fta is 16-21", + "context": "create table table_23817012_6 (fg_fga varchar, ft_fta varchar, PRIMARY KEY (fg_fga))", + "answer": "select fg_fga from table_23817012_6 where ft_fta = \"16-21\"" + }, + { + "question": "What is the average finish when winnings equals $71,200?", + "context": "create table table_2182562_1 (avg_finish varchar, winnings varchar, PRIMARY KEY (avg_finish))", + "answer": "select avg_finish from table_2182562_1 where winnings = \"$71,200\"" + }, + { + "question": "What are the first names of students studying in room 107?", + "context": "create table list (firstname varchar, classroom varchar, PRIMARY KEY (firstname))", + "answer": "select distinct firstname from list where classroom = 107" + }, + { + "question": "For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?", + "context": "create table table_16729930_18 (sspec_number varchar, tdp varchar, model_number varchar, PRIMARY KEY (sspec_number))", + "answer": "select sspec_number from table_16729930_18 where tdp = \"3.6 w\" and model_number = \"atom e665c\"" + }, + { + "question": "Name the driver matched db for joseph grado signature", + "context": "create table table_1601027_2 (driver_matched_db varchar, headphone_class varchar, PRIMARY KEY (driver_matched_db))", + "answer": "select driver_matched_db from table_1601027_2 where headphone_class = \"joseph grado signature\"" + }, + { + "question": "How much uranium did Russia use in 2006 to 2008?", + "context": "create table table_15624586_2 (uranium_required_2006_08 varchar, country varchar, PRIMARY KEY (uranium_required_2006_08))", + "answer": "select uranium_required_2006_08 from table_15624586_2 where country = \"russia\"" + }, + { + "question": "What train number is heading to amritsar?", + "context": "create table table_12095519_1 (train_no varchar, destination varchar, PRIMARY KEY (train_no))", + "answer": "select train_no from table_12095519_1 where destination = \"amritsar\"" + }, + { + "question": "When philippe gilbert is the winner who is the points classification?", + "context": "create table table_18733814_2 (points_classification varchar, winner varchar, PRIMARY KEY (points_classification))", + "answer": "select points_classification from table_18733814_2 where winner = \"philippe gilbert\"" + }, + { + "question": "What is other when no party preference is 19.1%?", + "context": "create table table_27003186_3 (other varchar, no_party_preference varchar, PRIMARY KEY (other))", + "answer": "select other from table_27003186_3 where no_party_preference = \"19.1%\"" + }, + { + "question": "What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?", + "context": "create table table_16201038_5 (last_5_meetings varchar, overall_record varchar, PRIMARY KEY (last_5_meetings))", + "answer": "select last_5_meetings from table_16201038_5 where overall_record = \"um, 2-1\"" + }, + { + "question": "When westcott 1935 is in division two how many leagues are in division three?", + "context": "create table table_24575253_4 (division_three varchar, division_two varchar, PRIMARY KEY (division_three))", + "answer": "select count(division_three) from table_24575253_4 where division_two = \"westcott 1935\"" + }, + { + "question": "What is the overall attendance in the places where the average attendance was 17148?", + "context": "create table table_2771237_1 (overall_attendance varchar, average_attendance varchar, PRIMARY KEY (overall_attendance))", + "answer": "select overall_attendance from table_2771237_1 where average_attendance = 17148" + }, + { + "question": "what's the\u00a0notes\u00a0where\u00a0withdrawn\u00a0is 1956\u201357", + "context": "create table table_1181375_1 (notes varchar, withdrawn varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_1181375_1 where withdrawn = \"1956\u201357\"" + }, + { + "question": "What is the ICT when education is 1.73 and KI is ag 1.99?", + "context": "create table table_23050383_1 (ict varchar, education varchar, ki varchar, PRIMARY KEY (ict))", + "answer": "select ict from table_23050383_1 where education = \"1.73\" and ki = \"1.99\"" + }, + { + "question": "Find the number of phones for each accreditation type.", + "context": "create table phone (accreditation_type varchar, PRIMARY KEY (accreditation_type))", + "answer": "select accreditation_type, count(*) from phone group by accreditation_type" + }, + { + "question": "Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?", + "context": "create table table_23649244_1 (mix_artist varchar, artist_1 varchar, artist_2 varchar, PRIMARY KEY (mix_artist))", + "answer": "select mix_artist from table_23649244_1 where artist_1 = \"tears for fears\" and artist_2 = \"eric prydz\"" + }, + { + "question": "What are the id and the amount of refund of the booking that incurred the most times of payments?", + "context": "create table payments (booking_id varchar, PRIMARY KEY (booking_id)); create table bookings (booking_id varchar, amount_of_refund varchar, PRIMARY KEY (booking_id))", + "answer": "select t1.booking_id, t1.amount_of_refund from bookings as t1 join payments as t2 on t1.booking_id = t2.booking_id group by t1.booking_id order by count(*) desc limit 1" + }, + { + "question": "What is the transcription of the sanskrit word chandra?", + "context": "create table table_180802_3 (transcription varchar, sanskrit_word varchar, PRIMARY KEY (transcription))", + "answer": "select transcription from table_180802_3 where sanskrit_word = \"chandra\"" + }, + { + "question": "Name the record for milwaukee", + "context": "create table table_23248940_7 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23248940_7 where team = \"milwaukee\"" + }, + { + "question": "What was the gender of the contestant on RR: South Pacific season?", + "context": "create table table_18974269_1 (gender varchar, original_season varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_18974269_1 where original_season = \"rr: south pacific\"" + }, + { + "question": "How many team franchises are active, with active value 'Y'?", + "context": "create table team_franchise (active varchar, PRIMARY KEY (active))", + "answer": "select count(*) from team_franchise where active = 'y'" + }, + { + "question": "Who are the mens doubles and and mens singles is lee hyun-il?", + "context": "create table table_13553701_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_13553701_1 where mens_singles = \"lee hyun-il\"" + }, + { + "question": "What are all the possible breed type and size type combinations?", + "context": "create table dogs (breed_code varchar, size_code varchar, PRIMARY KEY (breed_code))", + "answer": "select distinct breed_code, size_code from dogs" + }, + { + "question": "What is the lyric fm for rnag 93.2?", + "context": "create table table_18475946_2 (lyric_fm__mhz_ varchar, rnag__mhz_ varchar, PRIMARY KEY (lyric_fm__mhz_))", + "answer": "select lyric_fm__mhz_ from table_18475946_2 where rnag__mhz_ = \"93.2\"" + }, + { + "question": "Name the city for \u0430\u0434\u0430", + "context": "create table table_2562572_5 (city___municipality varchar, cyrillic_name varchar, PRIMARY KEY (city___municipality))", + "answer": "select city___municipality from table_2562572_5 where cyrillic_name = \"\u0430\u0434\u0430\"" + }, + { + "question": "How long has Mel Daniels been playing?", + "context": "create table table_22719663_3 (experience varchar, name varchar, PRIMARY KEY (experience))", + "answer": "select experience from table_22719663_3 where name = \"mel daniels\"" + }, + { + "question": "On week 11 when Dixon scored an 8, what was tonioli's score?", + "context": "create table table_2803106_1 (tonioli varchar, week__number varchar, dixon varchar, PRIMARY KEY (tonioli))", + "answer": "select tonioli from table_2803106_1 where week__number = 11 and dixon = \"8\"" + }, + { + "question": "What is the pinyin name for the english name xin county?", + "context": "create table table_2847477_2 (pinyin varchar, english_name varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2847477_2 where english_name = \"xin county\"" + }, + { + "question": "Carl Elliott is a member of which party?", + "context": "create table table_1342149_3 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342149_3 where incumbent = \"carl elliott\"" + }, + { + "question": "What was the reading score in the year the science score was 96.13?", + "context": "create table table_2534578_1 (reading varchar, science varchar, PRIMARY KEY (reading))", + "answer": "select reading from table_2534578_1 where science = \"96.13\"" + }, + { + "question": "Which college is present in the hometown of Crete, Illinois?", + "context": "create table table_11677691_9 (college varchar, hometown varchar, PRIMARY KEY (college))", + "answer": "select college from table_11677691_9 where hometown = \"crete, illinois\"" + }, + { + "question": "How many different results for red (e8) does the model with parchment/saddle interior/roof have?", + "context": "create table table_2066296_5 (red__e8_ varchar, interior_roof varchar, PRIMARY KEY (red__e8_))", + "answer": "select count(red__e8_) from table_2066296_5 where interior_roof = \"parchment/saddle\"" + }, + { + "question": "who is the\u00a0coach\u00a0where\u00a0dudley tuckey medal\u00a0is ben howlett", + "context": "create table table_1165048_1 (coach varchar, dudley_tuckey_medal varchar, PRIMARY KEY (coach))", + "answer": "select coach from table_1165048_1 where dudley_tuckey_medal = \"ben howlett\"" + }, + { + "question": "How many outcomes are listed when the final opponent was Johan Kriek?", + "context": "create table table_22597626_5 (outcome varchar, opponent_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select count(outcome) from table_22597626_5 where opponent_in_the_final = \"johan kriek\"" + }, + { + "question": "Name the won promotion for kalmar ff", + "context": "create table table_2119448_3 (won_promotion varchar, lost_promotion_playoffs varchar, PRIMARY KEY (won_promotion))", + "answer": "select won_promotion from table_2119448_3 where lost_promotion_playoffs = \"kalmar ff\"" + }, + { + "question": "What is the county for senator C. Anthony Muse?", + "context": "create table table_11948857_1 (county_s__represented varchar, member_senator varchar, PRIMARY KEY (county_s__represented))", + "answer": "select county_s__represented from table_11948857_1 where member_senator = \"c. anthony muse\"" + }, + { + "question": "List the title of all cartoon directed by \"Ben Jones\" or \"Brandon Vietti\".", + "context": "create table cartoon (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from cartoon where directed_by = \"ben jones\" or directed_by = \"brandon vietti\"" + }, + { + "question": "Find the name of bank branches that provided some loans.", + "context": "create table loan (branch_id varchar, PRIMARY KEY (branch_id)); create table bank (bname varchar, branch_id varchar, PRIMARY KEY (bname))", + "answer": "select distinct t1.bname from bank as t1 join loan as t2 on t1.branch_id = t2.branch_id" + }, + { + "question": "What is the webkit version when the minor version was 3.1.2.?", + "context": "create table table_24257833_4 (webkit_version varchar, minor_version varchar, PRIMARY KEY (webkit_version))", + "answer": "select webkit_version from table_24257833_4 where minor_version = \"3.1.2\"" + }, + { + "question": "How many year locations are there for the womens doubles in jing junhong li jiawei?", + "context": "create table table_28138035_20 (year_location varchar, womens_doubles varchar, PRIMARY KEY (year_location))", + "answer": "select count(year_location) from table_28138035_20 where womens_doubles = \"jing junhong li jiawei\"" + }, + { + "question": "How many times has Ma Long won the men's singles?", + "context": "create table table_28138035_33 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select count(mens_doubles) from table_28138035_33 where mens_singles = \"ma long\"" + }, + { + "question": "What is the name of the writer when the ratings was 2.61 million?", + "context": "create table table_23705843_1 (writer varchar, ratings__millions_ varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_23705843_1 where ratings__millions_ = \"2.61\"" + }, + { + "question": "During the 2013 debut, what is the w-I(total) number?", + "context": "create table table_11233358_2 (w_l__total_ varchar, debut varchar, PRIMARY KEY (w_l__total_))", + "answer": "select count(w_l__total_) from table_11233358_2 where debut = 2013" + }, + { + "question": "What is the original title of the film submitted by Greece?", + "context": "create table table_18994724_1 (original_title varchar, submitting_country varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_18994724_1 where submitting_country = \"greece\"" + }, + { + "question": "What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the U.S.?", + "context": "create table table_28511558_2 (original_air_date__us_ varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date__us_))", + "answer": "select original_air_date__us_ from table_28511558_2 where directed_by = \"curt geda\" and written_by = \"mitch watson\"" + }, + { + "question": "Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville?", + "context": "create table table_13012165_1 (maryland varchar, new_jersey varchar, PRIMARY KEY (maryland))", + "answer": "select maryland from table_13012165_1 where new_jersey = \"somerset hills ll bernardsville\"" + }, + { + "question": "Name the main location for public and masters university", + "context": "create table table_2076533_1 (main_location varchar, control varchar, type varchar, PRIMARY KEY (main_location))", + "answer": "select main_location from table_2076533_1 where control = \"public\" and type = \"masters university\"" + }, + { + "question": "Return the names of singers who are from UK and released an English song.", + "context": "create table song (artist_name varchar, languages varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, country varchar, PRIMARY KEY (artist_name))", + "answer": "select artist_name from artist where country = \"uk\" intersect select t1.artist_name from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t2.languages = \"english\"" + }, + { + "question": "Who had the fastest lap in the race where Patrick Tambay was on the pole?", + "context": "create table table_1140073_2 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1140073_2 where pole_position = \"patrick tambay\"" + }, + { + "question": "Who were the candidates when ed markey was the incumbent?", + "context": "create table table_1341395_22 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341395_22 where incumbent = \"ed markey\"" + }, + { + "question": "What was the language of \"Mein Name Ist Bach\"?", + "context": "create table table_22034853_1 (language_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (language_s_))", + "answer": "select language_s_ from table_22034853_1 where film_title_used_in_nomination = \"mein name ist bach\"" + }, + { + "question": "What record label corresponds to the single \"I can't stay\"?", + "context": "create table table_18710512_3 (record_label varchar, single varchar, PRIMARY KEY (record_label))", + "answer": "select record_label from table_18710512_3 where single = \"i can't stay\"" + }, + { + "question": "Name the text for \u5fc3\u733f\u610f\u9a6c", + "context": "create table table_16162581_1 (text varchar, simplified_characters varchar, PRIMARY KEY (text))", + "answer": "select text from table_16162581_1 where simplified_characters = \"\u5fc3\u733f\u610f\u9a6c\"" + }, + { + "question": "What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan?", + "context": "create table table_14562722_1 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_14562722_1 where directed_by = \"giancarlo volpe\" and written_by = \"john o'bryan\"" + }, + { + "question": "How many inhabitants does Sweden have per square kilometer?", + "context": "create table table_24066938_1 (pop_density_people_km_2 varchar, member_state varchar, PRIMARY KEY (pop_density_people_km_2))", + "answer": "select pop_density_people_km_2 from table_24066938_1 where member_state = \"sweden\"" + }, + { + "question": "With team #21/#07 ss-green light racing, what was the average finish number?", + "context": "create table table_2190919_3 (avg_finish varchar, team_s_ varchar, PRIMARY KEY (avg_finish))", + "answer": "select avg_finish from table_2190919_3 where team_s_ = \"#21/#07 ss-green light racing\"" + }, + { + "question": "what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)?", + "context": "create table table_19017269_5 (latin_america_caribbean varchar, asia varchar, PRIMARY KEY (latin_america_caribbean))", + "answer": "select count(latin_america_caribbean) from table_19017269_5 where asia = \"4,894 (46.1%)\"" + }, + { + "question": "What is the part number for s-spec number sk096?", + "context": "create table table_15261_1 (part_number varchar, s_spec_number varchar, PRIMARY KEY (part_number))", + "answer": "select part_number from table_15261_1 where s_spec_number = \"sk096\"" + }, + { + "question": "What are the womens singles of naoko fukuman kurumi yonao?", + "context": "create table table_12104319_1 (womens_singles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12104319_1 where womens_doubles = \"naoko fukuman kurumi yonao\"" + }, + { + "question": "What was the title of the episode directed by Rowan Woods?", + "context": "create table table_23918997_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23918997_1 where directed_by = \"rowan woods\"" + }, + { + "question": "Show the locations that have more than one railways.", + "context": "create table railway (location varchar, PRIMARY KEY (location))", + "answer": "select location from railway group by location having count(*) > 1" + }, + { + "question": "How many athletes were named federico muller?", + "context": "create table table_29521180_35 (quarterfinals varchar, athlete varchar, PRIMARY KEY (quarterfinals))", + "answer": "select count(quarterfinals) from table_29521180_35 where athlete = \"federico muller\"" + }, + { + "question": "Find the states which do not have any employee in their record.", + "context": "create table employees (state_province_county varchar, address_id varchar, employee_address_id varchar, PRIMARY KEY (state_province_county)); create table addresses (state_province_county varchar, address_id varchar, employee_address_id varchar, PRIMARY KEY (state_province_county))", + "answer": "select state_province_county from addresses where not address_id in (select employee_address_id from employees)" + }, + { + "question": "How many times did incumbent ruben hinojosa get elected?", + "context": "create table table_1341453_45 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_1341453_45 where incumbent = \"ruben hinojosa\"" + }, + { + "question": "How many locations are listed for the winner Temple?", + "context": "create table table_22645714_5 (tournament_venue__city_ varchar, tournament_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select count(tournament_venue__city_) from table_22645714_5 where tournament_winner = \"temple\"" + }, + { + "question": "What were all USAF space flights when the aximum speed was 3822?", + "context": "create table table_221315_3 (usaf_space_flights varchar, max_speed__mph_ varchar, PRIMARY KEY (usaf_space_flights))", + "answer": "select usaf_space_flights from table_221315_3 where max_speed__mph_ = 3822" + }, + { + "question": "What is the number for march 27-29 whern november 3 is 153?", + "context": "create table table_25252080_3 (march_27_29 varchar, november_3 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_25252080_3 where november_3 = \"153\"" + }, + { + "question": "If the equation is 8 \u00d7 9\u00b2 + 8 \u00d7 9 + 8, what is the 2nd throw?", + "context": "create table table_17265535_7 (equation varchar, PRIMARY KEY (equation))", + "answer": "select min(2 as nd_throw) from table_17265535_7 where equation = \"8 \u00d7 9\u00b2 + 8 \u00d7 9 + 8\"" + }, + { + "question": "Which institution does \"Katsuhiro Ueno\" belong to?", + "context": "create table authorship (authid varchar, instid varchar, PRIMARY KEY (authid)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid)); create table inst (name varchar, instid varchar, PRIMARY KEY (name))", + "answer": "select distinct t3.name from authors as t1 join authorship as t2 on t1.authid = t2.authid join inst as t3 on t2.instid = t3.instid where t1.fname = \"katsuhiro\" and t1.lname = \"ueno\"" + }, + { + "question": "Name the points for top tens being 24 and ownder david pearson", + "context": "create table table_27786562_1 (points__margin_ varchar, top_tens varchar, owner varchar, PRIMARY KEY (points__margin_))", + "answer": "select points__margin_ from table_27786562_1 where top_tens = 24 and owner = \"david pearson\"" + }, + { + "question": "Name the runs conceded where overs bowled is 53", + "context": "create table table_15700367_2 (runs_conceded varchar, overs_bowled varchar, PRIMARY KEY (runs_conceded))", + "answer": "select count(runs_conceded) from table_15700367_2 where overs_bowled = \"53\"" + }, + { + "question": "Who were the commanders when 8 off 0 men were wounded?", + "context": "create table table_11793221_2 (commander varchar, wounded varchar, PRIMARY KEY (commander))", + "answer": "select commander from table_11793221_2 where wounded = \"8 off 0 men\"" + }, + { + "question": "What was the domestic box office for \"House on Haunted Hill\"?", + "context": "create table table_2203760_4 (domestic_box_office varchar, film varchar, PRIMARY KEY (domestic_box_office))", + "answer": "select domestic_box_office from table_2203760_4 where film = \"house on haunted hill\"" + }, + { + "question": "Name the language for el villar 1264", + "context": "create table table_2509350_3 (language varchar, el_villar_municipality varchar, PRIMARY KEY (language))", + "answer": "select language from table_2509350_3 where el_villar_municipality = 1264" + }, + { + "question": "How many villages had 21.7% of slovenes in 1991?", + "context": "create table table_10797463_1 (village__german_ varchar, percent_of_slovenes_1991 varchar, PRIMARY KEY (village__german_))", + "answer": "select count(village__german_) from table_10797463_1 where percent_of_slovenes_1991 = \"21.7%\"" + }, + { + "question": "Name the broadcast network for saitama prefecture", + "context": "create table table_21076286_2 (broadcast_network varchar, broadcast_scope varchar, PRIMARY KEY (broadcast_network))", + "answer": "select broadcast_network from table_21076286_2 where broadcast_scope = \"saitama prefecture\"" + }, + { + "question": "What was the departure time of the train that arrived at 21.26?", + "context": "create table table_18365784_3 (departure varchar, arrival varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18365784_3 where arrival = \"21.26\"" + }, + { + "question": "How many episodes had 9.90 million viewers?", + "context": "create table table_12146637_1 (episode_title varchar, us_viewers__millions_ varchar, PRIMARY KEY (episode_title))", + "answer": "select count(episode_title) from table_12146637_1 where us_viewers__millions_ = \"9.90\"" + }, + { + "question": "What is the chinese name of the province whose capital is hangzhou?", + "context": "create table table_254234_1 (chinese_name varchar, capital varchar, PRIMARY KEY (chinese_name))", + "answer": "select chinese_name from table_254234_1 where capital = \"hangzhou\"" + }, + { + "question": "What is the period total number if the name is Gerald\u00e3o?", + "context": "create table table_24565004_8 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select count(period) from table_24565004_8 where name = \"gerald\u00e3o\"" + }, + { + "question": "What is the GDP (nominal) for Uzbekistan?", + "context": "create table table_11780179_1 (gdp__nominal_ varchar, country varchar, PRIMARY KEY (gdp__nominal_))", + "answer": "select gdp__nominal_ from table_11780179_1 where country = \"uzbekistan\"" + }, + { + "question": "What was the margin of victory when runner-up was K. J. Choi?", + "context": "create table table_247955_2 (margin_of_victory varchar, runner_s__up varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_247955_2 where runner_s__up = \"k. j. choi\"" + }, + { + "question": "how many different meanings does Wednesday have?", + "context": "create table table_2624098_1 (english_day_name_meaning varchar, modern_english_day_name varchar, PRIMARY KEY (english_day_name_meaning))", + "answer": "select count(english_day_name_meaning) from table_2624098_1 where modern_english_day_name = \"wednesday\"" + }, + { + "question": "how many millions of North American people saw the episode whose director was Ed Sherin?", + "context": "create table table_2791668_1 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_2791668_1 where directed_by = \"ed sherin\"" + }, + { + "question": "when notes are prima italica:raised for aborted caucasus war, when was that founded?", + "context": "create table table_242785_1 (date_founded__founder varchar, notes varchar, PRIMARY KEY (date_founded__founder))", + "answer": "select date_founded__founder from table_242785_1 where notes = \"prima italica:raised for aborted caucasus war\"" + }, + { + "question": "How much does the champion get for stadthalle dinslaken, dinslaken?", + "context": "create table table_18828487_1 (champion varchar, venue varchar, PRIMARY KEY (champion))", + "answer": "select champion from table_18828487_1 where venue = \"stadthalle dinslaken, dinslaken\"" + }, + { + "question": "what is the maximum number of pinorinol in wheat bran?", + "context": "create table table_1831262_2 (pinoresinol integer, foodstuff varchar, PRIMARY KEY (pinoresinol))", + "answer": "select max(pinoresinol) from table_1831262_2 where foodstuff = \"wheat bran\"" + }, + { + "question": "What movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?", + "context": "create table table_2528382_5 (movie_album varchar, co_stars varchar, lyricist varchar, PRIMARY KEY (movie_album))", + "answer": "select movie_album from table_2528382_5 where co_stars = \"vijayalaxmi\" and lyricist = \"shakeel badayuni\"" + }, + { + "question": "Who wrote the episode that had 12.15 million viewers?", + "context": "create table table_24961421_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_24961421_1 where us_viewers__millions_ = \"12.15\"" + }, + { + "question": "What party did Frank J. Becker represent?", + "context": "create table table_1342013_31 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342013_31 where incumbent = \"frank j. becker\"" + }, + { + "question": "What is every entry for Tuesday August 23 if the entry for Wednesday August 24 is 22' 23.29 101.116mph?", + "context": "create table table_30058355_7 (tues_23_aug varchar, wed_24_aug varchar, PRIMARY KEY (tues_23_aug))", + "answer": "select tues_23_aug from table_30058355_7 where wed_24_aug = \"22' 23.29 101.116mph\"" + }, + { + "question": "Name the most numbers dam and gnis query link for borough or census area for fairbanks north star", + "context": "create table table_18760137_2 (_number_s_dam_and_gnis_query_link integer, borough_or_census_area varchar, PRIMARY KEY (_number_s_dam_and_gnis_query_link))", + "answer": "select max(_number_s_dam_and_gnis_query_link) from table_18760137_2 where borough_or_census_area = \"fairbanks north star\"" + }, + { + "question": "What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?", + "context": "create table table_19589113_5 (male_population_2001 varchar, growth_rate_1991_01 varchar, PRIMARY KEY (male_population_2001))", + "answer": "select male_population_2001 from table_19589113_5 where growth_rate_1991_01 = \"36.16\"" + }, + { + "question": "Which vacancy happened on 4 November 2008?", + "context": "create table table_18788823_5 (position_in_table varchar, date_of_vacancy varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_18788823_5 where date_of_vacancy = \"4 november 2008\"" + }, + { + "question": "Find the names of all swimmers, sorted by their 100 meter scores in ascending order.", + "context": "create table swimmer (name varchar, meter_100 varchar, PRIMARY KEY (name))", + "answer": "select name from swimmer order by meter_100" + }, + { + "question": "How many teachers are there?", + "context": "create table teacher (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from teacher" + }, + { + "question": "What was the record at the game where Deron Williams (6) did the high assists?", + "context": "create table table_23286223_8 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_23286223_8 where high_assists = \"deron williams (6)\"" + }, + { + "question": "How many times was the date of vacancy 14 february 2011?", + "context": "create table table_24231638_3 (position_in_table varchar, date_of_vacancy varchar, PRIMARY KEY (position_in_table))", + "answer": "select count(position_in_table) from table_24231638_3 where date_of_vacancy = \"14 february 2011\"" + }, + { + "question": "Show the employee ids for all employees with role name \"Human Resource\" or \"Manager\".", + "context": "create table employees (employee_id varchar, role_code varchar, PRIMARY KEY (employee_id)); create table roles (role_code varchar, role_name varchar, PRIMARY KEY (role_code))", + "answer": "select t1.employee_id from employees as t1 join roles as t2 on t1.role_code = t2.role_code where t2.role_name = \"human resource\" or t2.role_name = \"manager\"" + }, + { + "question": "How many cast members had sydney walker as their fresh meat partner?", + "context": "create table table_26419467_1 (hometown varchar, fresh_meat_partner varchar, PRIMARY KEY (hometown))", + "answer": "select count(hometown) from table_26419467_1 where fresh_meat_partner = \"sydney walker\"" + }, + { + "question": "What batting partners batted for pakistan?", + "context": "create table table_1670921_2 (batting_partners varchar, batting_team varchar, PRIMARY KEY (batting_partners))", + "answer": "select batting_partners from table_1670921_2 where batting_team = \"pakistan\"" + }, + { + "question": "Who was the supporting actress in a film with Diane Keaton as the leading actress?", + "context": "create table table_24225238_1 (supporting_actress varchar, leading_actress varchar, PRIMARY KEY (supporting_actress))", + "answer": "select supporting_actress from table_24225238_1 where leading_actress = \"diane keaton\"" + }, + { + "question": "What is the most common participant type?", + "context": "create table participants (participant_type_code varchar, PRIMARY KEY (participant_type_code))", + "answer": "select participant_type_code from participants group by participant_type_code order by count(*) desc limit 1" + }, + { + "question": "What is the college of the afl team of buffalo bills?", + "context": "create table table_12165135_1 (college varchar, afl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_12165135_1 where afl_team = \"buffalo bills\"" + }, + { + "question": "who directed the episode written by Shonda Rhimes?", + "context": "create table table_23492454_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23492454_1 where written_by = \"shonda rhimes\"" + }, + { + "question": "In which city was the berlin marathon?", + "context": "create table table_26166836_1 (location varchar, road_race varchar, PRIMARY KEY (location))", + "answer": "select location from table_26166836_1 where road_race = \"berlin marathon\"" + }, + { + "question": "When were ships laid down that were commissioned on october 29, 1965?", + "context": "create table table_1014206_2 (laid_down varchar, commissioned varchar, PRIMARY KEY (laid_down))", + "answer": "select laid_down from table_1014206_2 where commissioned = \"october 29, 1965\"" + }, + { + "question": "How many male (sex is M) students have class senator votes in the fall election cycle?", + "context": "create table voting_record (election_cycle varchar, PRIMARY KEY (election_cycle)); create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from student as t1 join voting_record as t2 on t1.stuid = class_senator_vote where t1.sex = \"m\" and t2.election_cycle = \"fall\"" + }, + { + "question": "How many clubs does \"Linda Smith\" belong to?", + "context": "create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubid varchar, PRIMARY KEY (clubid))", + "answer": "select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = \"linda\" and t3.lname = \"smith\"" + }, + { + "question": "If the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?", + "context": "create table table_26335424_86 (semifinals varchar, round_of_16 varchar, PRIMARY KEY (semifinals))", + "answer": "select semifinals from table_26335424_86 where round_of_16 = \"yulius fernando ( ina ) l pts 5-6\"" + }, + { + "question": "Name the delay when scientific linux release is 5.10", + "context": "create table table_1500146_1 (delay varchar, scientific_linux_release varchar, PRIMARY KEY (delay))", + "answer": "select delay from table_1500146_1 where scientific_linux_release = \"5.10\"" + }, + { + "question": "Who were the children of Benjamin Harrison?", + "context": "create table table_24143253_5 (children_together varchar, name varchar, PRIMARY KEY (children_together))", + "answer": "select children_together from table_24143253_5 where name = \"benjamin harrison\"" + }, + { + "question": "Who is the captain of the team in Southampton?", + "context": "create table table_18461635_1 (captain varchar, location varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_18461635_1 where location = \"southampton\"" + }, + { + "question": "Show different hometown of teachers and the number of teachers from each hometown.", + "context": "create table teacher (hometown varchar, PRIMARY KEY (hometown))", + "answer": "select hometown, count(*) from teacher group by hometown" + }, + { + "question": "What is the feature type name of feature AirCon?", + "context": "create table other_available_features (feature_type_code varchar, feature_name varchar, PRIMARY KEY (feature_type_code)); create table ref_feature_types (feature_type_name varchar, feature_type_code varchar, PRIMARY KEY (feature_type_name))", + "answer": "select t2.feature_type_name from other_available_features as t1 join ref_feature_types as t2 on t1.feature_type_code = t2.feature_type_code where t1.feature_name = \"aircon\"" + }, + { + "question": "What was the race time for Jeff Gordon?", + "context": "create table table_2196127_1 (race_time varchar, driver varchar, PRIMARY KEY (race_time))", + "answer": "select race_time from table_2196127_1 where driver = \"jeff gordon\"" + }, + { + "question": "What is the barony of mountcotton?", + "context": "create table table_30120605_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select barony from table_30120605_1 where townland = \"mountcotton\"" + }, + { + "question": "List all OS's with a webkit version of 525.29.1.", + "context": "create table table_24257833_4 (operating_system varchar, webkit_version varchar, PRIMARY KEY (operating_system))", + "answer": "select operating_system from table_24257833_4 where webkit_version = \"525.29.1\"" + }, + { + "question": "What was the host city of the 8th edition in the the host country of Croatia?", + "context": "create table table_26669939_1 (host_city varchar, host_country varchar, edition varchar, PRIMARY KEY (host_city))", + "answer": "select host_city from table_26669939_1 where host_country = \"croatia\" and edition = \"8th\"" + }, + { + "question": "how many notes were read by reader varma, idria indira varma?", + "context": "create table table_20174050_23 (notes varchar, reader varchar, PRIMARY KEY (notes))", + "answer": "select count(notes) from table_20174050_23 where reader = \"varma, idria indira varma\"" + }, + { + "question": "which electorate is 54787 of the constituency", + "context": "create table table_15082102_3 (constituency varchar, electorate varchar, PRIMARY KEY (constituency))", + "answer": "select constituency from table_15082102_3 where electorate = 54787" + }, + { + "question": "Who are shown as candidates when George Darden is the incumbent?", + "context": "create table table_1341598_11 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341598_11 where incumbent = \"george darden\"" + }, + { + "question": "What was segment C when segment B was package printing?", + "context": "create table table_15187735_1 (segment_c varchar, segment_b varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_1 where segment_b = \"package printing\"" + }, + { + "question": "Name the performance order for 2.15%", + "context": "create table table_26267849_11 (performance_order varchar, percentage_of_votes varchar, PRIMARY KEY (performance_order))", + "answer": "select performance_order from table_26267849_11 where percentage_of_votes = \"2.15%\"" + }, + { + "question": "Find id of the candidate whose email is stanley.monahan@example.org?", + "context": "create table candidates (candidate_id varchar, PRIMARY KEY (candidate_id)); create table people (person_id varchar, email_address varchar, PRIMARY KEY (person_id))", + "answer": "select t2.candidate_id from people as t1 join candidates as t2 on t1.person_id = t2.candidate_id where t1.email_address = \"stanley.monahan@example.org\"" + }, + { + "question": "how many formats of books authored by day, martin martin day", + "context": "create table table_20174050_24 (format varchar, author varchar, PRIMARY KEY (format))", + "answer": "select count(format) from table_20174050_24 where author = \"day, martin martin day\"" + }, + { + "question": "Where is the real estate agent from?", + "context": "create table table_1289860_2 (hometown varchar, background varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_1289860_2 where background = \"real estate agent\"" + }, + { + "question": "Show names of teachers that teach at least two courses.", + "context": "create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table course_arrange (teacher_id varchar, PRIMARY KEY (teacher_id))", + "answer": "select t2.name from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name having count(*) >= 2" + }, + { + "question": "Find the department name that is in Building \"Mergenthaler\".", + "context": "create table department (dname varchar, building varchar, PRIMARY KEY (dname))", + "answer": "select dname from department where building = \"mergenthaler\"" + }, + { + "question": "How many wins are listed when the first title is 2004?", + "context": "create table table_27864661_6 (total_wins varchar, first_title varchar, PRIMARY KEY (total_wins))", + "answer": "select total_wins from table_27864661_6 where first_title = 2004" + }, + { + "question": "Which country had a production (bbl/day) of 2,494,000 (10th)?", + "context": "create table table_166346_1 (country varchar, production___bbl__day_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_166346_1 where production___bbl__day_ = \"2,494,000 (10th)\"" + }, + { + "question": "How many places have as their cyrillic name and other names \u045a\u0435\u0433\u043e\u0448\u0435\u0432\u043e?", + "context": "create table table_2562572_27 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select count(settlement) from table_2562572_27 where cyrillic_name_other_names = \"\u045a\u0435\u0433\u043e\u0448\u0435\u0432\u043e\"" + }, + { + "question": "Name the traditional for \u5c4f\u5357\u53bf", + "context": "create table table_2013618_1 (traditional varchar, simplified varchar, PRIMARY KEY (traditional))", + "answer": "select traditional from table_2013618_1 where simplified = \"\u5c4f\u5357\u53bf\"" + }, + { + "question": "What was the archive for episode with 6.6 million viewers?", + "context": "create table table_1601935_1 (archive varchar, viewers__in_millions_ varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_1601935_1 where viewers__in_millions_ = \"6.6\"" + }, + { + "question": "Name the number of nat for total g of 6", + "context": "create table table_22542179_3 (nat varchar, total_g varchar, PRIMARY KEY (nat))", + "answer": "select count(nat) from table_22542179_3 where total_g = 6" + }, + { + "question": "Name the director for coup de torchon", + "context": "create table table_18987377_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select director from table_18987377_1 where film_title_used_in_nomination = \"coup de torchon\"" + }, + { + "question": "Name the school that is private", + "context": "create table table_2293402_2 (institution varchar, type varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_2293402_2 where type = \"private\"" + }, + { + "question": "What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?", + "context": "create table table_16105186_2 (mid_atlantic_south__washington varchar, _dc_ varchar, alaska___juneau__ varchar, california__san_francisco_ varchar, PRIMARY KEY (mid_atlantic_south__washington))", + "answer": "select mid_atlantic_south__washington, _dc_ from table_16105186_2 where alaska___juneau__ = \"90 g/mi (56 g/km)\" and california__san_francisco_ = \"110 g/mi (68 g/km)\"" + }, + { + "question": "What's Eli Bremer's fencing score?", + "context": "create table table_12407546_1 (fencing varchar, athlete__noc_ varchar, PRIMARY KEY (fencing))", + "answer": "select fencing from table_12407546_1 where athlete__noc_ = \"eli bremer\"" + }, + { + "question": "Show different citizenship of singers and the number of singers of each citizenship.", + "context": "create table singer (citizenship varchar, PRIMARY KEY (citizenship))", + "answer": "select citizenship, count(*) from singer group by citizenship" + }, + { + "question": "How many qualifying start dates for the Concacaf confederation?", + "context": "create table table_23995075_2 (qualifying_start_date varchar, confederation varchar, PRIMARY KEY (qualifying_start_date))", + "answer": "select count(qualifying_start_date) from table_23995075_2 where confederation = \"concacaf\"" + }, + { + "question": "Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?", + "context": "create table table_29218221_2 (rider varchar, fri_3_june varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_29218221_2 where fri_3_june = \"18' 19.68 123.516mph\"" + }, + { + "question": "What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?", + "context": "create table services (service_type_code varchar, organization_id varchar, PRIMARY KEY (service_type_code)); create table organizations (organization_id varchar, organization_details varchar, PRIMARY KEY (organization_id))", + "answer": "select distinct t1.service_type_code from services as t1 join organizations as t2 on t1.organization_id = t2.organization_id where t2.organization_details = 'denesik and sons party'" + }, + { + "question": "If the founding university is in Washington, D.C., what was the founding date?", + "context": "create table table_2538117_7 (founding_date varchar, founding_university varchar, PRIMARY KEY (founding_date))", + "answer": "select founding_date from table_2538117_7 where founding_university = \"washington, d.c.\"" + }, + { + "question": "What is the percentage of females where in India and are maharashtra?", + "context": "create table table_14598_9 (females___percentage_ varchar, india_state_ut varchar, PRIMARY KEY (females___percentage_))", + "answer": "select females___percentage_ from table_14598_9 where india_state_ut = \"maharashtra\"" + }, + { + "question": "What Wireless LAN had a process technology of 90nm and a Carmel centrino?", + "context": "create table table_199666_1 (wireless_lan varchar, process_technology varchar, centrino varchar, PRIMARY KEY (wireless_lan))", + "answer": "select wireless_lan from table_199666_1 where process_technology = \"90nm\" and centrino = \"carmel\"" + }, + { + "question": "What is the smallest quantity displayed under the title \"first runner-up\"?", + "context": "create table table_29942205_1 (id varchar, PRIMARY KEY (id))", + "answer": "select min(1 as st_runner_up) from table_29942205_1" + }, + { + "question": "When is the first broadcast for episodes where Rufus's guest is Jack Whitehall?", + "context": "create table table_19930660_3 (first_broadcast varchar, rufus_guest varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_19930660_3 where rufus_guest = \"jack whitehall\"" + }, + { + "question": "What percentage did Obama get when McCain got 52.8%?", + "context": "create table table_20799905_1 (obama_percentage varchar, mccain_percentage varchar, PRIMARY KEY (obama_percentage))", + "answer": "select obama_percentage from table_20799905_1 where mccain_percentage = \"52.8%\"" + }, + { + "question": "What is the setting for the hard difficulty?", + "context": "create table table_24463470_1 (setting varchar, difficulty varchar, PRIMARY KEY (setting))", + "answer": "select setting from table_24463470_1 where difficulty = \"hard\"" + }, + { + "question": "What to Footscray score at home?", + "context": "create table table_16387653_1 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16387653_1 where home_team = \"footscray\"" + }, + { + "question": "What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?", + "context": "create table table_27592654_2 (province varchar, election_date varchar, PRIMARY KEY (province))", + "answer": "select province from table_27592654_2 where election_date = \"5 cannot handle non-empty timestamp argument! 1861\"" + }, + { + "question": "How many Class AAAA winners where in 2002-03?", + "context": "create table table_14603057_2 (class_aaaa varchar, school_year varchar, PRIMARY KEY (class_aaaa))", + "answer": "select count(class_aaaa) from table_14603057_2 where school_year = \"2002-03\"" + }, + { + "question": "What is the total number of music genre/style in which the lyrics are a detective story?", + "context": "create table table_10416547_1 (music_genre_style varchar, lyrics_theme_style varchar, PRIMARY KEY (music_genre_style))", + "answer": "select count(music_genre_style) from table_10416547_1 where lyrics_theme_style = \"detective story\"" + }, + { + "question": "How many times is the candidates charles f. mercer (f) 100%?", + "context": "create table table_2668336_24 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_2668336_24 where candidates = \"charles f. mercer (f) 100%\"" + }, + { + "question": "Name the california where alaska tennessee", + "context": "create table table_17425749_1 (california varchar, alaska varchar, PRIMARY KEY (california))", + "answer": "select california from table_17425749_1 where alaska = \"tennessee\"" + }, + { + "question": "What are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?", + "context": "create table products_for_hire (product_name varchar, product_description varchar, product_type_code varchar, daily_hire_cost varchar, PRIMARY KEY (product_name))", + "answer": "select product_name, product_description from products_for_hire where product_type_code = 'cutlery' and daily_hire_cost < 20" + }, + { + "question": "who is the the\u00a0voice actor (englbeingh 1998 / pioneer)\u00a0with\u00a0voice actor (englbeingh 1997 / saban)\u00a0being alec willows and\u00a0voice actor (englbeingh 2006 / funimation)\u00a0being andy mcavin", + "context": "create table table_1410384_1 (voice_actor__english_1998___pioneer_ varchar, voice_actor__english_1997___saban_ varchar, voice_actor__english_2006___funimation_ varchar, PRIMARY KEY (voice_actor__english_1998___pioneer_))", + "answer": "select voice_actor__english_1998___pioneer_ from table_1410384_1 where voice_actor__english_1997___saban_ = \"alec willows\" and voice_actor__english_2006___funimation_ = \"andy mcavin\"" + }, + { + "question": "Name the winner for jason byrne", + "context": "create table table_19930660_1 (winner varchar, marcus_guest varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_19930660_1 where marcus_guest = \"jason byrne\"" + }, + { + "question": "what is march 27-29 when november 3 is 133?", + "context": "create table table_25355392_2 (march_27_29 varchar, november_3 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_25355392_2 where november_3 = \"133\"" + }, + { + "question": "Which city had the charleston area convention center as its callback location", + "context": "create table table_11129123_1 (audition_city varchar, callback_venue varchar, PRIMARY KEY (audition_city))", + "answer": "select audition_city from table_11129123_1 where callback_venue = \"charleston area convention center\"" + }, + { + "question": "If the name is Patrick Grappin, what is the nationality?", + "context": "create table table_24565004_8 (nationality\u00b2 varchar, name varchar, PRIMARY KEY (nationality\u00b2))", + "answer": "select nationality\u00b2 from table_24565004_8 where name = \"patrick grappin\"" + }, + { + "question": "what was the number of candidates when Leon Sacks was incumbent?", + "context": "create table table_1342256_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342256_38 where incumbent = \"leon sacks\"" + }, + { + "question": "Name the points classification for mark renshaw and team csc", + "context": "create table table_14856023_18 (points_classification varchar, general_classification varchar, team_classification varchar, PRIMARY KEY (points_classification))", + "answer": "select points_classification from table_14856023_18 where general_classification = \"mark renshaw\" and team_classification = \"team csc\"" + }, + { + "question": "What is the population density of the Capital Region of Denmark?", + "context": "create table table_16278602_1 (pop_density__per_km\u00b2_ varchar, english_name varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_16278602_1 where english_name = \"capital region of denmark\"" + }, + { + "question": "Display the first name, and department number for all employees whose last name is \"McEwen\".", + "context": "create table employees (first_name varchar, department_id varchar, last_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, department_id from employees where last_name = 'mcewen'" + }, + { + "question": "When thomas l\u00f6fkvist is the young rider classification and alessandro petacchi is the points classification who are the general classifications?", + "context": "create table table_18733814_2 (general_classification varchar, points_classification varchar, young_rider_classification varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_18733814_2 where points_classification = \"alessandro petacchi\" and young_rider_classification = \"thomas l\u00f6fkvist\"" + }, + { + "question": "what's the\u00a0transmbeingsion\u00a0with\u00a0trim\u00a0being xe (2009)", + "context": "create table table_1373768_1 (transmission varchar, trim varchar, PRIMARY KEY (transmission))", + "answer": "select transmission from table_1373768_1 where trim = \"xe (2009)\"" + }, + { + "question": "What are all the conjugated forms of the verb moler where the vosotros / vosotras is mol\u00e1is for the yo tense?", + "context": "create table table_1977630_2 (yo varchar, vosotros___vosotras varchar, PRIMARY KEY (yo))", + "answer": "select yo from table_1977630_2 where vosotros___vosotras = \"mol\u00e1is\"" + }, + { + "question": "Who directed the film Gomorra?", + "context": "create table table_18994724_1 (director_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director_s_))", + "answer": "select director_s_ from table_18994724_1 where film_title_used_in_nomination = \"gomorra\"" + }, + { + "question": "What is the \u03b5 (m \u22121 cm \u22121 ) of the orange flourescent dye?", + "context": "create table table_26428602_1 (\u03b5__m_\u22121_cm_\u22121__ varchar, color varchar, PRIMARY KEY (\u03b5__m_\u22121_cm_\u22121__))", + "answer": "select \u03b5__m_\u22121_cm_\u22121__ from table_26428602_1 where color = \"orange\"" + }, + { + "question": "How many years were recorded when world ranking was 21st?", + "context": "create table table_19948664_2 (index__year_ varchar, world_ranking__1_ varchar, PRIMARY KEY (index__year_))", + "answer": "select count(index__year_) from table_19948664_2 where world_ranking__1_ = \"21st\"" + }, + { + "question": "Show the top 3 most common colleges of players in match seasons.", + "context": "create table match_season (college varchar, PRIMARY KEY (college))", + "answer": "select college from match_season group by college order by count(*) desc limit 3" + }, + { + "question": "How many airlines does Russia has?", + "context": "create table airlines (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from airlines where country = 'russia'" + }, + { + "question": "who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real salt lake?", + "context": "create table table_11148572_1 (mls_cup_runner_up varchar, mls_cup_winner varchar, PRIMARY KEY (mls_cup_runner_up))", + "answer": "select mls_cup_runner_up from table_11148572_1 where mls_cup_winner = \"real salt lake\"" + }, + { + "question": "What date did De Vries start?", + "context": "create table table_12608427_8 (started varchar, name varchar, PRIMARY KEY (started))", + "answer": "select started from table_12608427_8 where name = \"de vries\"" + }, + { + "question": "Name the largest ethnic group for kosan\u010di\u0107", + "context": "create table table_2562572_20 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_20 where settlement = \"kosan\u010di\u0107\"" + }, + { + "question": "Who had the mountains classification when borut bo\u017ei\u010d was the winner?", + "context": "create table table_25655781_17 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_25655781_17 where winner = \"borut bo\u017ei\u010d\"" + }, + { + "question": "Find the number of clubs where \"Tracy Kim\" is a member.", + "context": "create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubid varchar, PRIMARY KEY (clubid))", + "answer": "select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = \"tracy\" and t3.lname = \"kim\"" + }, + { + "question": "how many arabic in colobians is finnish", + "context": "create table table_24807774_1 (arabic varchar, colombian varchar, PRIMARY KEY (arabic))", + "answer": "select arabic from table_24807774_1 where colombian = \"finnish\"" + }, + { + "question": "What is the most popular first name of the actors?", + "context": "create table actor (first_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name from actor group by first_name order by count(*) desc limit 1" + }, + { + "question": "What country is the show aired on TVNZ?", + "context": "create table table_14523485_9 (country varchar, channel varchar, PRIMARY KEY (country))", + "answer": "select country from table_14523485_9 where channel = \"tvnz\"" + }, + { + "question": "What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?", + "context": "create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id)); create table problems (reported_by_staff_id varchar, PRIMARY KEY (reported_by_staff_id))", + "answer": "select product_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = \"dameon\" and t2.staff_last_name = \"frami\" union select product_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = \"jolie\" and t2.staff_last_name = \"weber\"" + }, + { + "question": "What are the names of all clubs?", + "context": "create table club (clubname varchar, PRIMARY KEY (clubname))", + "answer": "select clubname from club" + }, + { + "question": "Which terminations correspond with headphone model SR80I?", + "context": "create table table_1601027_1 (termination varchar, headphone_model varchar, PRIMARY KEY (termination))", + "answer": "select termination from table_1601027_1 where headphone_model = \"sr80i\"" + }, + { + "question": "Name the master recording for europe", + "context": "create table table_22457674_1 (master_recording varchar, artist varchar, PRIMARY KEY (master_recording))", + "answer": "select master_recording from table_22457674_1 where artist = \"europe\"" + }, + { + "question": "What is the hometown of the players for de la salle high school", + "context": "create table table_11677691_12 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_12 where school = \"de la salle high school\"" + }, + { + "question": "how many premieres had the episode that had 12.68 millions of north american viewers?", + "context": "create table table_2791668_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_2791668_1 where us_viewers__millions_ = \"12.68\"" + }, + { + "question": "what percent of slovenes did the village called \u010dahor\u010de in slovenian have in 1991?", + "context": "create table table_10797463_1 (percent_of_slovenes_1991 varchar, village__slovenian_ varchar, PRIMARY KEY (percent_of_slovenes_1991))", + "answer": "select percent_of_slovenes_1991 from table_10797463_1 where village__slovenian_ = \"\u010dahor\u010de\"" + }, + { + "question": "What are all the section titles of the document named \"David CV\"?", + "context": "create table documents (document_code varchar, document_name varchar, PRIMARY KEY (document_code)); create table document_sections (section_title varchar, document_code varchar, PRIMARY KEY (section_title))", + "answer": "select t2.section_title from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code where t1.document_name = \"david cv\"" + }, + { + "question": "What was the competition when there was no competition for mens doubles?", + "context": "create table table_15001572_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_15001572_1 where mens_doubles = \"no competition\"" + }, + { + "question": "what is the maximum\u00a0total region\u00a0with\u00a0fitzroy\u00a0being 8047", + "context": "create table table_12570207_1 (total_region integer, fitzroy varchar, PRIMARY KEY (total_region))", + "answer": "select max(total_region) from table_12570207_1 where fitzroy = 8047" + }, + { + "question": "Show all template type codes and the number of documents using each type.", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code))", + "answer": "select t1.template_type_code, count(*) from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code" + }, + { + "question": "what is the name of the episode directed by james bobin", + "context": "create table table_29803475_3 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_29803475_3 where directed_by = \"james bobin\"" + }, + { + "question": "Name the host for prime", + "context": "create table table_16884579_1 (host_s_ varchar, network varchar, PRIMARY KEY (host_s_))", + "answer": "select host_s_ from table_16884579_1 where network = \"prime\"" + }, + { + "question": "What won est pc intro when 4k0 (polka brothers) won best amiga intro?", + "context": "create table table_2490289_1 (pc_intro varchar, amiga_intro varchar, PRIMARY KEY (pc_intro))", + "answer": "select pc_intro from table_2490289_1 where amiga_intro = \"4k0 (polka brothers)\"" + }, + { + "question": "Which celebrity was raised 03?", + "context": "create table table_12286195_1 (celebrity varchar, raised varchar, PRIMARY KEY (celebrity))", + "answer": "select celebrity from table_12286195_1 where raised = \"03\"" + }, + { + "question": "Find the last names of the teachers that teach fifth grade.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname))", + "answer": "select distinct t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where grade = 5" + }, + { + "question": "What are all the operating systems for sbagen?", + "context": "create table table_15038373_1 (operating_systems varchar, software varchar, PRIMARY KEY (operating_systems))", + "answer": "select operating_systems from table_15038373_1 where software = \"sbagen\"" + }, + { + "question": "List the ship with 1x115-2x70-2x12-pounders for primary artillery.", + "context": "create table table_23614702_2 (warship varchar, main_artillery varchar, PRIMARY KEY (warship))", + "answer": "select warship from table_23614702_2 where main_artillery = \"1x115-2x70-2x12-pounders\"" + }, + { + "question": "how many times was the exposures 53?", + "context": "create table table_2583036_1 (camera varchar, exposures varchar, PRIMARY KEY (camera))", + "answer": "select count(camera) from table_2583036_1 where exposures = 53" + }, + { + "question": "How many teams were there when chris bosh , lebron james (8) had the high rebounds?", + "context": "create table table_27713030_16 (team varchar, high_rebounds varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27713030_16 where high_rebounds = \"chris bosh , lebron james (8)\"" + }, + { + "question": "How much absorption in nm does the orange dye have?", + "context": "create table table_26428602_1 (absorb__nm_ integer, color varchar, PRIMARY KEY (absorb__nm_))", + "answer": "select min(absorb__nm_) from table_26428602_1 where color = \"orange\"" + }, + { + "question": "Which accelerator name contains substring \"Opera\"?", + "context": "create table web_client_accelerator (name varchar, PRIMARY KEY (name))", + "answer": "select name from web_client_accelerator where name like \"%opera%\"" + }, + { + "question": "What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?", + "context": "create table table_2267345_2 (winner varchar, team_classification varchar, combativity_award varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_2267345_2 where team_classification = \"kelme-costa blanca\" and combativity_award = \"jacky durand\"" + }, + { + "question": "What is the name of person that scored 10 goals?", + "context": "create table table_11585313_1 (name varchar, number_of_goals varchar, PRIMARY KEY (name))", + "answer": "select name from table_11585313_1 where number_of_goals = 10" + }, + { + "question": "what is the virtual callsign if is wnet", + "context": "create table table_1979203_1 (_virtual_ varchar, callsign varchar, PRIMARY KEY (_virtual_))", + "answer": "select _virtual_ from table_1979203_1 where callsign = \"wnet\"" + }, + { + "question": "How many nicknames does the school in Newark, DE have", + "context": "create table table_16432543_1 (nickname varchar, location varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_16432543_1 where location = \"newark, de\"" + }, + { + "question": "how many times was the catalog number cal05 / 0091037137357?", + "context": "create table table_27303975_3 (title varchar, catalog_number varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_27303975_3 where catalog_number = \"cal05 / 0091037137357\"" + }, + { + "question": "List all candidates in the democratic party where the election had the incumbent Frank Chelf running.", + "context": "create table table_1342218_17 (candidates varchar, party varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342218_17 where party = \"democratic\" and incumbent = \"frank chelf\"" + }, + { + "question": "How many people wrote the episode with 3.40 million U.S viewers?", + "context": "create table table_26748252_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_26748252_1 where us_viewers__in_millions_ = \"3.40\"" + }, + { + "question": "What was the surface for the opponents in the final with fitzgerald vilas?", + "context": "create table table_22597626_17 (surface varchar, opponents_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_22597626_17 where opponents_in_the_final = \"fitzgerald vilas\"" + }, + { + "question": "How many engineers did each staff contact? List both the contact staff name and number of engineers contacted.", + "context": "create table engineer_visits (contact_staff_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name))", + "answer": "select t1.staff_name, count(*) from staff as t1 join engineer_visits as t2 on t1.staff_id = t2.contact_staff_id group by t1.staff_name" + }, + { + "question": "What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap?", + "context": "create table table_19908651_3 (report varchar, winning_driver varchar, fastest_lap varchar, PRIMARY KEY (report))", + "answer": "select report from table_19908651_3 where winning_driver = \"michael andretti\" and fastest_lap = \"nigel mansell\"" + }, + { + "question": "Show all countries and the number of people from each country.", + "context": "create table people (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from people group by country" + }, + { + "question": "Name the playoffs for 2nd round open cup", + "context": "create table table_14240688_1 (playoffs varchar, open_cup varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_14240688_1 where open_cup = \"2nd round\"" + }, + { + "question": "What is the membership card held by both members living in Hartford and ones living in Waterbury address?", + "context": "create table member (membership_card varchar, address varchar, PRIMARY KEY (membership_card))", + "answer": "select membership_card from member where address = 'hartford' intersect select membership_card from member where address = 'waterbury'" + }, + { + "question": "Why did Majid bagherinia leave?", + "context": "create table table_22297198_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_22297198_3 where outgoing_manager = \"majid bagherinia\"" + }, + { + "question": "What is the finished place where exited is day 11?", + "context": "create table table_14345690_5 (finished varchar, exited varchar, PRIMARY KEY (finished))", + "answer": "select finished from table_14345690_5 where exited = \"day 11\"" + }, + { + "question": "What is the name of the episode that aired originally on November 10, 1998?", + "context": "create table table_228973_5 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_228973_5 where original_air_date = \"november 10, 1998\"" + }, + { + "question": "When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)?", + "context": "create table table_14253123_1 (population__2010___rank_ varchar, area_sq_mi__km_2____rank_ varchar, PRIMARY KEY (population__2010___rank_))", + "answer": "select population__2010___rank_ from table_14253123_1 where area_sq_mi__km_2____rank_ = \"sqmi (km2) (5)\"" + }, + { + "question": "List all program origins in the alphabetical order.", + "context": "create table program (origin varchar, PRIMARY KEY (origin))", + "answer": "select origin from program order by origin" + }, + { + "question": "When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings are there?", + "context": "create table table_22915134_2 (ignition_timing varchar, graphical varchar, PRIMARY KEY (ignition_timing))", + "answer": "select count(ignition_timing) from table_22915134_2 where graphical = \"1-1-0-0-1-1-0-0-\"" + }, + { + "question": "What is the percentage of registered voters in which the d-r spread is +10.4%?", + "context": "create table table_27003223_4 (registered_voters varchar, d_r_spread varchar, PRIMARY KEY (registered_voters))", + "answer": "select registered_voters from table_27003223_4 where d_r_spread = \"+10.4%\"" + }, + { + "question": "What is the description of the intact software?", + "context": "create table table_25474825_1 (description varchar, software varchar, PRIMARY KEY (description))", + "answer": "select description from table_25474825_1 where software = \"intact\"" + }, + { + "question": "How many external (cm 2 ) are there for the .338 lapua magnum chambering?", + "context": "create table table_26967904_2 (a_external__cm_2__ varchar, chambering varchar, PRIMARY KEY (a_external__cm_2__))", + "answer": "select count(a_external__cm_2__) from table_26967904_2 where chambering = \".338 lapua magnum\"" + }, + { + "question": "Find all the catalog publishers whose name contains \"Murray\"", + "context": "create table catalogs (catalog_publisher varchar, PRIMARY KEY (catalog_publisher))", + "answer": "select distinct (catalog_publisher) from catalogs where catalog_publisher like \"%murray%\"" + }, + { + "question": "Who was the opponent in the game in which Austin Daye (16) did the most high points?", + "context": "create table table_27755603_2 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_27755603_2 where high_points = \"austin daye (16)\"" + }, + { + "question": "What date did the epiode that had 1.37 million as the rating originally air?", + "context": "create table table_27218002_2 (originalairdate varchar, ratings varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_27218002_2 where ratings = \"1.37 million\"" + }, + { + "question": "What is the enrollment for the school in bottineau?", + "context": "create table table_2076522_2 (enrollment__fall_2010_ varchar, location_s_ varchar, PRIMARY KEY (enrollment__fall_2010_))", + "answer": "select enrollment__fall_2010_ from table_2076522_2 where location_s_ = \"bottineau\"" + }, + { + "question": "what tims is wed may 28 and mon may 26 is 17' 58.34 125.960mph?", + "context": "create table table_14209455_1 (wed_28_may varchar, mon_26_may varchar, PRIMARY KEY (wed_28_may))", + "answer": "select wed_28_may from table_14209455_1 where mon_26_may = \"17' 58.34 125.960mph\"" + }, + { + "question": "What is the autonomous community with television channels tpa tpa2 rtpa internacional?", + "context": "create table table_23143607_1 (autonomous_community varchar, television_channels varchar, PRIMARY KEY (autonomous_community))", + "answer": "select autonomous_community from table_23143607_1 where television_channels = \"tpa tpa2 rtpa internacional\"" + }, + { + "question": "Name the total number of list votes for 20.95%", + "context": "create table table_14834801_1 (list_votes varchar, list_pct varchar, PRIMARY KEY (list_votes))", + "answer": "select count(list_votes) from table_14834801_1 where list_pct = \"20.95%\"" + }, + { + "question": "What is the percentage for manhattan 45,901?", + "context": "create table table_1108394_24 (_percentage varchar, manhattan varchar, PRIMARY KEY (_percentage))", + "answer": "select count(_percentage) from table_1108394_24 where manhattan = \"45,901\"" + }, + { + "question": "what is the date (from) where the notes are apeldoornsche tramweg-maatschappij?", + "context": "create table table_12562214_1 (date__from_ varchar, notes varchar, PRIMARY KEY (date__from_))", + "answer": "select date__from_ from table_12562214_1 where notes = \"apeldoornsche tramweg-maatschappij\"" + }, + { + "question": "during which period did albert baning play?", + "context": "create table table_24565004_3 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select period from table_24565004_3 where name = \"albert baning\"" + }, + { + "question": "Who wrote the episode that was watched by 2.97 million U.S. viewers?", + "context": "create table table_29920800_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29920800_1 where us_viewers__million_ = \"2.97\"" + }, + { + "question": "Find the description of the most popular role among the users that have logged in.", + "context": "create table users (role_description varchar, role_code varchar, user_login varchar, PRIMARY KEY (role_description)); create table roles (role_description varchar, role_code varchar, user_login varchar, PRIMARY KEY (role_description))", + "answer": "select role_description from roles where role_code = (select role_code from users where user_login = 1 group by role_code order by count(*) desc limit 1)" + }, + { + "question": "Find the title of all the albums of the artist \"AC/DC\".", + "context": "create table artist (artistid varchar, name varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid))", + "answer": "select title from album as t1 join artist as t2 on t1.artistid = t2.artistid where t2.name = \"ac/dc\"" + }, + { + "question": "what is the affiliation of the hilltoppers mascot?", + "context": "create table table_20887670_1 (affiliation varchar, mascot varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_20887670_1 where mascot = \"hilltoppers\"" + }, + { + "question": "What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?", + "context": "create table table_16409745_1 (dimensions__mm_ varchar, product varchar, PRIMARY KEY (dimensions__mm_))", + "answer": "select dimensions__mm_ from table_16409745_1 where product = \"fujitsu fi-6130 a4 series scanner\"" + }, + { + "question": "How many matches as captain were played where Asian Cup played as a captain is Qatar 1988", + "context": "create table table_272865_20 (matches_as_captain varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (matches_as_captain))", + "answer": "select matches_as_captain from table_272865_20 where asian_cup_played_as_a_captain = \"qatar 1988\"" + }, + { + "question": "How many singles does Lisa Stansfield have?", + "context": "create table table_26400075_2 (single varchar, artist varchar, PRIMARY KEY (single))", + "answer": "select count(single) from table_26400075_2 where artist = \"lisa stansfield\"" + }, + { + "question": "What is the netflow version when vendor and type is pc and servers?", + "context": "create table table_1206114_2 (netflow_version varchar, vendor_and_type varchar, PRIMARY KEY (netflow_version))", + "answer": "select netflow_version from table_1206114_2 where vendor_and_type = \"pc and servers\"" + }, + { + "question": "Who made the decision on the game where the record was 27-28-11?", + "context": "create table table_27537518_9 (decision varchar, record varchar, PRIMARY KEY (decision))", + "answer": "select decision from table_27537518_9 where record = \"27-28-11\"" + }, + { + "question": "who is the the\u00a0writer(s)\u00a0with\u00a0original airdate\u00a0being february 7, 2001", + "context": "create table table_13956521_2 (writer_s_ varchar, original_airdate varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_13956521_2 where original_airdate = \"february 7, 2001\"" + }, + { + "question": "Name the air date for alex taub", + "context": "create table table_27504682_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27504682_1 where written_by = \"alex taub\"" + }, + { + "question": "What was the record in the game where McWilliams (8) did the most high rebounds?", + "context": "create table table_19789597_6 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_19789597_6 where high_rebounds = \"mcwilliams (8)\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0opponent\u00a0being anthony weiner (d) unopposed", + "context": "create table table_13833770_3 (incumbent varchar, opponent varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_13833770_3 where opponent = \"anthony weiner (d) unopposed\"" + }, + { + "question": "How many different years was the name/designation cetme?", + "context": "create table table_26389588_1 (year_of_introduction varchar, name___designation varchar, PRIMARY KEY (year_of_introduction))", + "answer": "select count(year_of_introduction) from table_26389588_1 where name___designation = \"cetme\"" + }, + { + "question": "What is the date of return for the program for the program \"Big Brother\"?", + "context": "create table table_29566606_11 (date_of_return varchar, programme varchar, PRIMARY KEY (date_of_return))", + "answer": "select date_of_return from table_29566606_11 where programme = \"big brother\"" + }, + { + "question": "How many locations have the call signs dxjp-fm?", + "context": "create table table_17487395_1 (location varchar, callsign varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_17487395_1 where callsign = \"dxjp-fm\"" + }, + { + "question": "how many times is the name of film narmeen?", + "context": "create table table_25926120_7 (cash_prize varchar, name_of_film varchar, PRIMARY KEY (cash_prize))", + "answer": "select count(cash_prize) from table_25926120_7 where name_of_film = \"narmeen\"" + }, + { + "question": "Name the most top 10s for 2 best finish", + "context": "create table table_2112220_6 (top_10s integer, best_finish varchar, PRIMARY KEY (top_10s))", + "answer": "select max(top_10s) from table_2112220_6 where best_finish = \"2\"" + }, + { + "question": "Name the deceased spouse for length of marriage being 24 years", + "context": "create table table_24143253_1 (deceased_spouse varchar, length_of_marriage varchar, PRIMARY KEY (deceased_spouse))", + "answer": "select deceased_spouse from table_24143253_1 where length_of_marriage = \"24 years\"" + }, + { + "question": "What is the 2006-2007 points total number if the team is Saracens?", + "context": "create table table_23215145_2 (team varchar, PRIMARY KEY (team))", + "answer": "select count(2006 as _07_points) from table_23215145_2 where team = \"saracens\"" + }, + { + "question": "When the standard stamp duty is 367 what is the percentage over gdp?", + "context": "create table table_1618358_1 (over_gdp__in__percentage_ varchar, standard_stamp_duty varchar, PRIMARY KEY (over_gdp__in__percentage_))", + "answer": "select over_gdp__in__percentage_ from table_1618358_1 where standard_stamp_duty = \"367\"" + }, + { + "question": "What are the records of games where high rebounds is amar'e stoudemire (11)", + "context": "create table table_17340355_6 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17340355_6 where high_rebounds = \"amar'e stoudemire (11)\"" + }, + { + "question": "When did the show directed by Michael Dimartino first air?", + "context": "create table table_14724369_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_14724369_1 where directed_by = \"michael dimartino\"" + }, + { + "question": "where is the private/presbyterian institute", + "context": "create table table_1974632_1 (location varchar, type varchar, PRIMARY KEY (location))", + "answer": "select location from table_1974632_1 where type = \"private/presbyterian\"" + }, + { + "question": "How many times is the title am/pm callanetics?", + "context": "create table table_27303975_3 (studio varchar, title varchar, PRIMARY KEY (studio))", + "answer": "select count(studio) from table_27303975_3 where title = \"am/pm callanetics\"" + }, + { + "question": "In seris episode 11-04, what is the B segment titled?", + "context": "create table table_15187735_11 (segment_b varchar, series_ep varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_11 where series_ep = \"11-04\"" + }, + { + "question": "which countries' tv channels are playing some cartoon written by Todd Casey?", + "context": "create table tv_channel (country varchar, id varchar, PRIMARY KEY (country)); create table cartoon (channel varchar, written_by varchar, PRIMARY KEY (channel))", + "answer": "select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'todd casey'" + }, + { + "question": "What is the branding of metro manila?", + "context": "create table table_12379297_4 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_12379297_4 where location = \"metro manila\"" + }, + { + "question": "Name the number of spring enrollment for sioux falls seminary", + "context": "create table table_2076557_2 (enrollment__spring_2012_ varchar, school varchar, PRIMARY KEY (enrollment__spring_2012_))", + "answer": "select count(enrollment__spring_2012_) from table_2076557_2 where school = \"sioux falls seminary\"" + }, + { + "question": "Show all transaction ids with transaction code 'PUR'.", + "context": "create table transactions (transaction_id varchar, transaction_type_code varchar, PRIMARY KEY (transaction_id))", + "answer": "select transaction_id from transactions where transaction_type_code = 'pur'" + }, + { + "question": "Show the location name for document \"Robin CV\".", + "context": "create table ref_locations (location_name varchar, location_code varchar, PRIMARY KEY (location_name)); create table all_documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table document_locations (document_id varchar, location_code varchar, PRIMARY KEY (document_id))", + "answer": "select t3.location_name from all_documents as t1 join document_locations as t2 on t1.document_id = t2.document_id join ref_locations as t3 on t2.location_code = t3.location_code where t1.document_name = \"robin cv\"" + }, + { + "question": "When michael van stayen is the points classification what is the team classification?", + "context": "create table table_28298471_14 (team_classification varchar, points_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_28298471_14 where points_classification = \"michael van stayen\"" + }, + { + "question": "Where was the istanbul marathon?", + "context": "create table table_26166836_1 (location varchar, road_race varchar, PRIMARY KEY (location))", + "answer": "select location from table_26166836_1 where road_race = \"istanbul marathon\"" + }, + { + "question": "Which season titles were directed by Laura Innes?", + "context": "create table table_17355933_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_17355933_1 where directed_by = \"laura innes\"" + }, + { + "question": "What is the Portuguese word for the English word 'grandfather'?", + "context": "create table table_26614365_5 (portuguese varchar, english varchar, PRIMARY KEY (portuguese))", + "answer": "select portuguese from table_26614365_5 where english = \"grandfather\"" + }, + { + "question": "What is the name of the winning driver where the circuit name is posillipo?", + "context": "create table table_1140105_6 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140105_6 where circuit = \"posillipo\"" + }, + { + "question": "Find all the male members of club \"Hopkins Student Enterprises\". Show the first name and last name.", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (fname varchar, lname varchar, stuid varchar, sex varchar, PRIMARY KEY (fname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))", + "answer": "select t3.fname, t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"hopkins student enterprises\" and t3.sex = \"m\"" + }, + { + "question": "How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79?", + "context": "create table table_1601027_1 (earpads varchar, headphone_class varchar, us_msrp varchar, PRIMARY KEY (earpads))", + "answer": "select count(earpads) from table_1601027_1 where headphone_class = \"prestige\" and us_msrp = \"$79\"" + }, + { + "question": "Name the surface for 6\u20130, 6\u20133", + "context": "create table table_22597626_6 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_22597626_6 where score_in_the_final = \"6\u20130, 6\u20133\"" + }, + { + "question": "What was the gtc winning team when lmp winning team was #8 drayson racing?", + "context": "create table table_24037660_2 (gtc_winning_team varchar, lmp_winning_team varchar, PRIMARY KEY (gtc_winning_team))", + "answer": "select gtc_winning_team from table_24037660_2 where lmp_winning_team = \"#8 drayson racing\"" + }, + { + "question": "Who is the successor when the reason for change is died November 11, 1845?", + "context": "create table table_225205_4 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_225205_4 where reason_for_change = \"died november 11, 1845\"" + }, + { + "question": "How many poker players are there?", + "context": "create table poker_player (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from poker_player" + }, + { + "question": "What is the original name of the district with the current English name of South Bogor?", + "context": "create table table_1104312_5 (original_name varchar, english_name varchar, PRIMARY KEY (original_name))", + "answer": "select original_name from table_1104312_5 where english_name = \"south bogor\"" + }, + { + "question": "What is the settlement destiny in Aleksandrovo?", + "context": "create table table_2562572_56 (settlement varchar, PRIMARY KEY (settlement))", + "answer": "select settlement as destiny from table_2562572_56 where settlement = \"aleksandrovo\"" + }, + { + "question": "Which outgoing manager was replaced by Jafar Fatahi?", + "context": "create table table_22297140_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_22297140_3 where replaced_by = \"jafar fatahi\"" + }, + { + "question": "Name the location for eagles", + "context": "create table table_1973648_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_1973648_1 where nickname = \"eagles\"" + }, + { + "question": "Which administrative division had a 2011 population of 606,699 according to the siak database?", + "context": "create table table_21734764_1 (administrative_division varchar, population_2011_siak_database varchar, PRIMARY KEY (administrative_division))", + "answer": "select administrative_division from table_21734764_1 where population_2011_siak_database = \"606,699\"" + }, + { + "question": "Name the team for scott dixon", + "context": "create table table_17271495_1 (team varchar, driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_17271495_1 where driver = \"scott dixon\"" + }, + { + "question": "What is the smallest number of European Parliament sets when the international affiliation is global greens, egp?", + "context": "create table table_158282_1 (european_parliament_seats integer, international_affiliation varchar, PRIMARY KEY (european_parliament_seats))", + "answer": "select min(european_parliament_seats) from table_158282_1 where international_affiliation = \"global greens, egp\"" + }, + { + "question": "Find the names of the top 10 airlines that operate the most number of routes.", + "context": "create table airlines (name varchar, alid varchar, PRIMARY KEY (name)); create table routes (alid varchar, PRIMARY KEY (alid))", + "answer": "select t1.name, t2.alid from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t2.alid order by count(*) desc limit 10" + }, + { + "question": "What is the description, code and the corresponding count of each service type?", + "context": "create table services (service_type_code varchar, PRIMARY KEY (service_type_code)); create table ref_service_types (service_type_description varchar, service_type_code varchar, PRIMARY KEY (service_type_description))", + "answer": "select t1.service_type_description, t2.service_type_code, count(*) from ref_service_types as t1 join services as t2 on t1.service_type_code = t2.service_type_code group by t2.service_type_code" + }, + { + "question": "What is the number of total candidates when registered voters is 47742?", + "context": "create table table_2676980_4 (total_candidates varchar, registered_voters varchar, PRIMARY KEY (total_candidates))", + "answer": "select total_candidates from table_2676980_4 where registered_voters = 47742" + }, + { + "question": "When 2010 v australia is the interantional debut what is the club?", + "context": "create table table_28286776_50 (club_s_ varchar, international_debut varchar, PRIMARY KEY (club_s_))", + "answer": "select club_s_ from table_28286776_50 where international_debut = \"2010 v australia\"" + }, + { + "question": "Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.", + "context": "create table course (dno varchar, cname varchar, PRIMARY KEY (dno)); create table department (dname varchar, room varchar, dno varchar, PRIMARY KEY (dname))", + "answer": "select t2.dname, t2.room from course as t1 join department as t2 on t1.dno = t2.dno where t1.cname = \"introduction to computer science\"" + }, + { + "question": "Name the total number of publishers for flushed away", + "context": "create table table_14325653_2 (publisher_s_ varchar, video_game varchar, PRIMARY KEY (publisher_s_))", + "answer": "select count(publisher_s_) from table_14325653_2 where video_game = \"flushed away\"" + }, + { + "question": "What is the Alpha 2 code for the area also known as TCA?", + "context": "create table table_222771_1 (alpha_2_code varchar, alpha_3_code varchar, PRIMARY KEY (alpha_2_code))", + "answer": "select alpha_2_code from table_222771_1 where alpha_3_code = \"tca\"" + }, + { + "question": "what's the\u00a0regionalliga nord\u00a0with\u00a0regionalliga s\u00fcd\u00a0being 1. fc nuremberg spvgg greuther f\u00fcrth", + "context": "create table table_14242137_11 (regionalliga_nord varchar, regionalliga_s\u00fcd varchar, PRIMARY KEY (regionalliga_nord))", + "answer": "select regionalliga_nord from table_14242137_11 where regionalliga_s\u00fcd = \"1. fc nuremberg spvgg greuther f\u00fcrth\"" + }, + { + "question": "Who creates the catalog with the number \"cal03 / 0091037137333\"?", + "context": "create table table_11222744_3 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))", + "answer": "select studio from table_11222744_3 where catalog_number = \"cal03 / 0091037137333\"" + }, + { + "question": "How many number of screenings have an opening film of the journey of vaan nguyen?", + "context": "create table table_18220102_1 (number_of_screening varchar, opening_film varchar, PRIMARY KEY (number_of_screening))", + "answer": "select count(number_of_screening) from table_18220102_1 where opening_film = \"the journey of vaan nguyen\"" + }, + { + "question": "Who is the shirt sponsor of the team with an average squad age of 25.46?", + "context": "create table table_25527255_2 (shirt_sponsor varchar, average_squad_age varchar, PRIMARY KEY (shirt_sponsor))", + "answer": "select shirt_sponsor from table_25527255_2 where average_squad_age = \"25.46\"" + }, + { + "question": "Find the name of amenities Smith Hall dorm have.", + "context": "create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))", + "answer": "select t3.amenity_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t1.dorm_name = 'smith hall'" + }, + { + "question": "What is the % of annual production of solar?", + "context": "create table table_11456251_5 (_percentage_of_annual_production varchar, power_source varchar, PRIMARY KEY (_percentage_of_annual_production))", + "answer": "select _percentage_of_annual_production from table_11456251_5 where power_source = \"solar\"" + }, + { + "question": "How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with the codename Arrandale?", + "context": "create table table_199666_1 (chipset varchar, codename varchar, wireless_lan varchar, PRIMARY KEY (chipset))", + "answer": "select chipset from table_199666_1 where codename = \"arrandale\" and wireless_lan = \"intel centrino ultimate-n 6300\"" + }, + { + "question": "How much is the net profit when the revenue is 150.6 million dollars?", + "context": "create table table_18077713_1 (net_profit__us_$m_ varchar, revenue__us_$million_ varchar, PRIMARY KEY (net_profit__us_$m_))", + "answer": "select net_profit__us_$m_ from table_18077713_1 where revenue__us_$million_ = \"150.6\"" + }, + { + "question": "Name the country for sky primafila 7 hd", + "context": "create table table_15887683_6 (country varchar, television_service varchar, PRIMARY KEY (country))", + "answer": "select country from table_15887683_6 where television_service = \"sky primafila 7 hd\"" + }, + { + "question": "What is the col location for the location of france / italy?", + "context": "create table table_2731431_1 (col_location varchar, location varchar, PRIMARY KEY (col_location))", + "answer": "select col_location from table_2731431_1 where location = \"france / italy\"" + }, + { + "question": "How many gymnasts are there?", + "context": "create table gymnast (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from gymnast" + }, + { + "question": "What identities do the genus/species arabidopsis thaliana have?", + "context": "create table table_15417439_1 (identity varchar, genus_species varchar, PRIMARY KEY (identity))", + "answer": "select identity from table_15417439_1 where genus_species = \"arabidopsis thaliana\"" + }, + { + "question": "What is the issue price (proof) where the issue price (bu) is 34.95?", + "context": "create table table_11916083_1 (issue_price__proof_ varchar, issue_price__bu_ varchar, _clarification_needed_ varchar, PRIMARY KEY (issue_price__proof_))", + "answer": "select issue_price__proof_ from table_11916083_1 where issue_price__bu_[_clarification_needed_] = \"34.95\"" + }, + { + "question": "Which institution has an endowment of $25.9m?", + "context": "create table table_27599216_6 (institution varchar, endowment varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_27599216_6 where endowment = \"$25.9m\"" + }, + { + "question": "How many people directed the episode that Joe Toplyn wrote?", + "context": "create table table_25716397_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_25716397_1 where written_by = \"joe toplyn\"" + }, + { + "question": "What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?", + "context": "create table table_24096813_15 (part_number_s_ varchar, tdp varchar, PRIMARY KEY (part_number_s_))", + "answer": "select part_number_s_ from table_24096813_15 where tdp = \"2.9 (max.4.1~5.4) w\"" + }, + { + "question": "What is the name of the episode in which Jenn is eliminated?", + "context": "create table table_1272844_2 (episode_title varchar, eliminated varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_1272844_2 where eliminated = \"jenn\"" + }, + { + "question": "List the number of locations for the team known as the billikens.", + "context": "create table table_2419754_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_2419754_1 where nickname = \"billikens\"" + }, + { + "question": "How many rebounds per game did Andrej D\u017eakovi\u0107 average when playing 35 minutes per game?", + "context": "create table table_28547289_1 (rebounds_per_game varchar, minutes_per_game varchar, PRIMARY KEY (rebounds_per_game))", + "answer": "select rebounds_per_game from table_28547289_1 where minutes_per_game = \"35\"" + }, + { + "question": "What party did incumbent Brooks Hays belong to?", + "context": "create table table_1342249_5 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342249_5 where incumbent = \"brooks hays\"" + }, + { + "question": "For the game against Iowa, who had the most assists?", + "context": "create table table_20010140_9 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_20010140_9 where team = \"iowa\"" + }, + { + "question": "Find the first names of students who took exactly one class.", + "context": "create table enroll (stu_num varchar, PRIMARY KEY (stu_num)); create table student (stu_fname varchar, stu_num varchar, PRIMARY KEY (stu_fname))", + "answer": "select t1.stu_fname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num group by t2.stu_num having count(*) = 1" + }, + { + "question": "What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ?", + "context": "create table table_14752049_2 (international_tourist_arrivals__2010_ varchar, change__2010_to_2011_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))", + "answer": "select international_tourist_arrivals__2010_ from table_14752049_2 where change__2010_to_2011_ = \"+11.2%\"" + }, + { + "question": "How many countries had a total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 428(62%)?", + "context": "create table table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ varchar, agricultural_use__m_3__p_yr__in__percentage_ varchar, PRIMARY KEY (total_freshwater_withdrawal__km_3__yr_))", + "answer": "select count(total_freshwater_withdrawal__km_3__yr_) from table_15909409_2 where agricultural_use__m_3__p_yr__in__percentage_ = \"428(62%)\"" + }, + { + "question": "Find the brand and name for each camera lens, and sort in descending order of maximum aperture.", + "context": "create table camera_lens (brand varchar, name varchar, max_aperture varchar, PRIMARY KEY (brand))", + "answer": "select brand, name from camera_lens order by max_aperture desc" + }, + { + "question": "How many episodes had a broadcast date and run time of 24:43?", + "context": "create table table_1429629_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select count(broadcast_date) from table_1429629_1 where run_time = \"24:43\"" + }, + { + "question": "Name the glass bulb color for ordinary", + "context": "create table table_1538516_1 (glass_bulb_color varchar, temperature_classification varchar, PRIMARY KEY (glass_bulb_color))", + "answer": "select glass_bulb_color from table_1538516_1 where temperature_classification = \"ordinary\"" + }, + { + "question": "Give me the maximum low temperature and average precipitation at the Amersham station.", + "context": "create table weekly_weather (low_temperature integer, precipitation integer, station_id varchar, PRIMARY KEY (low_temperature)); create table station (id varchar, network_name varchar, PRIMARY KEY (id))", + "answer": "select max(t1.low_temperature), avg(t1.precipitation) from weekly_weather as t1 join station as t2 on t1.station_id = t2.id where t2.network_name = \"amersham\"" + }, + { + "question": "Which film has the most copies in the inventory? List both title and id.", + "context": "create table film (title varchar, film_id varchar, PRIMARY KEY (title)); create table inventory (film_id varchar, PRIMARY KEY (film_id))", + "answer": "select t1.title, t1.film_id from film as t1 join inventory as t2 on t1.film_id = t2.film_id group by t1.film_id order by count(*) desc limit 1" + }, + { + "question": "Where was Kristen Kirchner from?", + "context": "create table table_1289860_2 (hometown varchar, candidate varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_1289860_2 where candidate = \"kristen kirchner\"" + }, + { + "question": "In what even was the compulsory dance scored 23.75?", + "context": "create table table_22644589_4 (event varchar, compulsory_dance__cd_ varchar, PRIMARY KEY (event))", + "answer": "select event from table_22644589_4 where compulsory_dance__cd_ = \"23.75\"" + }, + { + "question": "What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?", + "context": "create table table_298883_5 (dimensions varchar, reverse varchar, PRIMARY KEY (dimensions))", + "answer": "select dimensions from table_298883_5 where reverse = \"western sea barrage and locks at taedong gang\"" + }, + { + "question": "What's the percentage of all immigrants in 2007 in the country with 1.7% of all immigrants in 2008?", + "context": "create table table_23619212_1 (_percentage_of_all_immigrants_2007 varchar, _percentage_of_all_immigrants_2008 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2007))", + "answer": "select _percentage_of_all_immigrants_2007 from table_23619212_1 where _percentage_of_all_immigrants_2008 = \"1.7%\"" + }, + { + "question": "List pairs of the owner's first name and the dogs's name.", + "context": "create table dogs (name varchar, owner_id varchar, PRIMARY KEY (name)); create table owners (first_name varchar, owner_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id" + }, + { + "question": "What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?", + "context": "create table table_10592536_8 (date_of_vacancy varchar, date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_10592536_8 where date_of_appointment = \"28 november 2007\" and replaced_by = \"alex mcleish\"" + }, + { + "question": "Name the min total pts for team dennis conner", + "context": "create table table_21471897_2 (total_pts integer, team_name varchar, PRIMARY KEY (total_pts))", + "answer": "select min(total_pts) from table_21471897_2 where team_name = \"team dennis conner\"" + }, + { + "question": "Find the name of physicians who are affiliated with both Surgery and Psychiatry departments.", + "context": "create table affiliated_with (physician varchar, department varchar, PRIMARY KEY (physician)); create table department (departmentid varchar, name varchar, PRIMARY KEY (departmentid)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t3.name = 'surgery' intersect select t1.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t3.name = 'psychiatry'" + }, + { + "question": "What is the figure for December 28 for ang tanging ina mo (last na 'to!)?", + "context": "create table table_29217650_1 (december_28 varchar, movies varchar, PRIMARY KEY (december_28))", + "answer": "select december_28 from table_29217650_1 where movies = \"ang tanging ina mo (last na 'to!)\"" + }, + { + "question": "How many addresses are there in country USA?", + "context": "create table addresses (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from addresses where country = 'usa'" + }, + { + "question": "What was the number of nominations for natalia raskokoha?", + "context": "create table table_10236830_1 (nomination varchar, actors_name varchar, PRIMARY KEY (nomination))", + "answer": "select count(nomination) from table_10236830_1 where actors_name = \"natalia raskokoha\"" + }, + { + "question": "how many times was third place held by drnovice?", + "context": "create table table_2429942_2 (club varchar, third_place varchar, PRIMARY KEY (club))", + "answer": "select count(club) from table_2429942_2 where third_place = \"drnovice\"" + }, + { + "question": "When Mark Cavendish wins sprint classification and Maarten Tjallingii wins most courageous, who wins youth classification?", + "context": "create table table_25055040_22 (youth_classification varchar, sprint_classification varchar, most_courageous varchar, PRIMARY KEY (youth_classification))", + "answer": "select youth_classification from table_25055040_22 where sprint_classification = \"mark cavendish\" and most_courageous = \"maarten tjallingii\"" + }, + { + "question": "How many adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010?", + "context": "create table reservations (adults varchar, lastname varchar, checkin varchar, firstname varchar, PRIMARY KEY (adults))", + "answer": "select adults from reservations where checkin = \"2010-10-23\" and firstname = \"conrad\" and lastname = \"selbig\"" + }, + { + "question": "How many times did M. Gounder win for Party A?", + "context": "create table table_22756549_1 (party varchar, winner varchar, PRIMARY KEY (party))", + "answer": "select count(party) as a from table_22756549_1 where winner = \"m. gounder\"" + }, + { + "question": "How many top division titles were won during the 'first season of current spell in top division' in 1979-80?", + "context": "create table table_18143210_2 (top_division_titles varchar, first_season_of_current_spell_in_top_division varchar, PRIMARY KEY (top_division_titles))", + "answer": "select top_division_titles from table_18143210_2 where first_season_of_current_spell_in_top_division = \"1979-80\"" + }, + { + "question": "What was the language score when the reading score was 94.47?", + "context": "create table table_2534578_1 (language varchar, reading varchar, PRIMARY KEY (language))", + "answer": "select language from table_2534578_1 where reading = \"94.47\"" + }, + { + "question": "If the radio stations is radio nou si radio radio nou m\u00fasica; what were the total number of television channels?", + "context": "create table table_23143607_1 (television_channels varchar, radio_stations varchar, PRIMARY KEY (television_channels))", + "answer": "select count(television_channels) from table_23143607_1 where radio_stations = \"radio nou si radio radio nou m\u00fasica\"" + }, + { + "question": "how many locations has spain as the winner?", + "context": "create table table_1359212_2 (location varchar, winner varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_1359212_2 where winner = \"spain\"" + }, + { + "question": "List the grapes and appelations of all wines.", + "context": "create table wine (grape varchar, appelation varchar, PRIMARY KEY (grape))", + "answer": "select grape, appelation from wine" + }, + { + "question": "Who wrote the episode \"The Dream Lover\", which was viewed by 3.96 million viewers?", + "context": "create table table_17467578_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_17467578_1 where us_viewers__million_ = \"3.96\"" + }, + { + "question": "What is every team with a record of 9-7?", + "context": "create table table_27902171_5 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_27902171_5 where record = \"9-7\"" + }, + { + "question": "What is the template type code for template type description \"Book\".", + "context": "create table ref_template_types (template_type_code varchar, template_type_description varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code from ref_template_types where template_type_description = \"book\"" + }, + { + "question": "What was the gtu winning team when the gto winning team was #48 greenwood racing?", + "context": "create table table_13657883_2 (gtu_winning_team varchar, gto_winning_team varchar, PRIMARY KEY (gtu_winning_team))", + "answer": "select gtu_winning_team from table_13657883_2 where gto_winning_team = \"#48 greenwood racing\"" + }, + { + "question": "how many schools exist in total?", + "context": "create table department (school_code varchar, PRIMARY KEY (school_code))", + "answer": "select count(distinct school_code) from department" + }, + { + "question": "what's the\u00a0nhl team\u00a0with\u00a0college/junior/club team\u00a0being brandon wheat kings (wchl)", + "context": "create table table_1473672_9 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1473672_9 where college_junior_club_team = \"brandon wheat kings (wchl)\"" + }, + { + "question": "Name the home team for football park", + "context": "create table table_16388439_3 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_16388439_3 where ground = \"football park\"" + }, + { + "question": "what is the meaning of the latin day name \"dies saturni\"?", + "context": "create table table_2624098_1 (latin_day_name_meaning varchar, glossed_from_latin_day_name varchar, PRIMARY KEY (latin_day_name_meaning))", + "answer": "select latin_day_name_meaning from table_2624098_1 where glossed_from_latin_day_name = \"dies saturni\"" + }, + { + "question": "what is the number of hydroxymatairesinol where sesamin is 62724?", + "context": "create table table_1831262_2 (hydroxymatairesinol varchar, sesamin varchar, PRIMARY KEY (hydroxymatairesinol))", + "answer": "select hydroxymatairesinol from table_1831262_2 where sesamin = \"62724\"" + }, + { + "question": "List email address and birthday of customer whose first name as Carole.", + "context": "create table customers (email_address varchar, date_of_birth varchar, first_name varchar, PRIMARY KEY (email_address))", + "answer": "select email_address, date_of_birth from customers where first_name = \"carole\"" + }, + { + "question": "Name the simplified characters for wade giles is ch'ing-y\u00fcan \u2026 i-ma", + "context": "create table table_16162581_1 (simplified_characters varchar, wade_giles varchar, PRIMARY KEY (simplified_characters))", + "answer": "select simplified_characters from table_16162581_1 where wade_giles = \"ch'ing-y\u00fcan \u2026 i-ma\"" + }, + { + "question": "Which location has the ecosystem of kelp forest?", + "context": "create table table_15635768_1 (place_of_issue varchar, ecosystem varchar, PRIMARY KEY (place_of_issue))", + "answer": "select place_of_issue from table_15635768_1 where ecosystem = \"kelp forest\"" + }, + { + "question": "Find all students taught by OTHA MOYER. Output the first and last names of the students.", + "context": "create table list (firstname varchar, lastname varchar, classroom varchar, PRIMARY KEY (firstname)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select t1.firstname, t1.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = \"otha\" and t2.lastname = \"moyer\"" + }, + { + "question": "Who is the guest 1 in the episode where guest 4 is Jill Douglas?", + "context": "create table table_20466963_4 (guest_1 varchar, guest_4 varchar, PRIMARY KEY (guest_1))", + "answer": "select guest_1 from table_20466963_4 where guest_4 = \"jill douglas\"" + }, + { + "question": "What is every value for % 40-59 if % 60-74 is 12,40%?", + "context": "create table table_23606500_4 (_percentage_40_59 varchar, _percentage_60_74 varchar, PRIMARY KEY (_percentage_40_59))", + "answer": "select _percentage_40_59 from table_23606500_4 where _percentage_60_74 = \"12,40%\"" + }, + { + "question": "How many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?", + "context": "create table table_28562675_3 (germany varchar, italy varchar, england varchar, PRIMARY KEY (germany))", + "answer": "select count(germany) from table_28562675_3 where italy = \"naples ll naples\" and england = \"london area youth london\"" + }, + { + "question": "Who was crew chief for the team owned by Bob Leavine?", + "context": "create table table_1266602_2 (crew_chief varchar, owner_s_ varchar, PRIMARY KEY (crew_chief))", + "answer": "select crew_chief from table_1266602_2 where owner_s_ = \"bob leavine\"" + }, + { + "question": "What is the first name and last name of the student who have most number of sports?", + "context": "create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select t2.fname, t2.lname from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid group by t1.stuid order by count(*) desc limit 1" + }, + { + "question": "What are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital?", + "context": "create table table_28741_1 (_usd__2012_ varchar, gdp__nominal__per_capita varchar, capital varchar, PRIMARY KEY (_usd__2012_))", + "answer": "select count(gdp__nominal__per_capita), _usd__2012_ from table_28741_1 where capital = \"phnom penh\"" + }, + { + "question": "Who played 2nd base when nomar garciaparra was at 1st base?", + "context": "create table table_12142298_2 (second_baseman varchar, first_baseman varchar, PRIMARY KEY (second_baseman))", + "answer": "select second_baseman from table_12142298_2 where first_baseman = \"nomar garciaparra\"" + }, + { + "question": "What's the PM for the standard with 12.3 g/kWh CO?", + "context": "create table table_2780146_6 (pm__g_kwh_ varchar, co__g_kwh_ varchar, PRIMARY KEY (pm__g_kwh_))", + "answer": "select pm__g_kwh_ from table_2780146_6 where co__g_kwh_ = \"12.3\"" + }, + { + "question": "Find the name of students who have taken the prerequisite course of the course with title International Finance.", + "context": "create table student (name varchar, id varchar, PRIMARY KEY (name)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table takes (id varchar, course_id varchar, PRIMARY KEY (id))", + "answer": "select t1.name from student as t1 join takes as t2 on t1.id = t2.id where t2.course_id in (select t4.prereq_id from course as t3 join prereq as t4 on t3.course_id = t4.course_id where t3.title = 'international finance')" + }, + { + "question": "What opposing team was playing when sebastian telfair (7) had the highest assists?", + "context": "create table table_17058226_5 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_17058226_5 where high_assists = \"sebastian telfair (7)\"" + }, + { + "question": "What was the French title of the story published in 1968?", + "context": "create table table_23963073_1 (french_title varchar, date_of_publication varchar, PRIMARY KEY (french_title))", + "answer": "select french_title from table_23963073_1 where date_of_publication = 1968" + }, + { + "question": "Who was the outgoing manager replaced by Marian Bucurescu?", + "context": "create table table_17115950_2 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_17115950_2 where replaced_by = \"marian bucurescu\"" + }, + { + "question": "Name the number of record for 12 cowboys points", + "context": "create table table_22815259_1 (record varchar, cowboys_points varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_22815259_1 where cowboys_points = 12" + }, + { + "question": "What is the party when the candidates were ernest istook (r) 69% garland mcwatters (d) 28%?", + "context": "create table table_1341423_36 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341423_36 where candidates = \"ernest istook (r) 69% garland mcwatters (d) 28%\"" + }, + { + "question": "In football league one, what coach was hired as a replacement on 8 October 2007", + "context": "create table table_28181347_6 (replaced_by varchar, date_of_vacancy varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_28181347_6 where date_of_vacancy = \"8 october 2007\"" + }, + { + "question": "Who is the tournament winner in the Atlantic Coast Conference?", + "context": "create table table_22779004_1 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_22779004_1 where conference = \"atlantic coast conference\"" + }, + { + "question": "List all week 37 results when week 33 is 14.3%.", + "context": "create table table_23680576_3 (week_37 varchar, week_33 varchar, PRIMARY KEY (week_37))", + "answer": "select week_37 from table_23680576_3 where week_33 = \"14.3%\"" + }, + { + "question": "Which malaysian team classification had mohd nur rizuan zainal as points classification?", + "context": "create table table_22464308_2 (malaysian_team_classification varchar, points_classification varchar, PRIMARY KEY (malaysian_team_classification))", + "answer": "select malaysian_team_classification from table_22464308_2 where points_classification = \"mohd nur rizuan zainal\"" + }, + { + "question": "What is the US air date when the director is ken girotti?", + "context": "create table table_30012404_4 (us_air_date varchar, directed_by varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_30012404_4 where directed_by = \"ken girotti\"" + }, + { + "question": "How many nhl teams are listed when college/junior/club team is listed as newton north high school (ushs-ma)?", + "context": "create table table_2850912_7 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select count(nhl_team) from table_2850912_7 where college_junior_club_team = \"newton north high school (ushs-ma)\"" + }, + { + "question": "who was running where the winner is daniel montgomery", + "context": "create table table_2668378_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668378_13 where incumbent = \"daniel montgomery\"" + }, + { + "question": "in the leage what was the minimum 4wi", + "context": "create table table_28798161_3 (id varchar, PRIMARY KEY (id))", + "answer": "select min(4 as wi) from table_28798161_3" + }, + { + "question": "What colors does David Langdon use?", + "context": "create table table_19624708_1 (colours varchar, owner varchar, PRIMARY KEY (colours))", + "answer": "select colours from table_19624708_1 where owner = \"david langdon\"" + }, + { + "question": "How many dvd releases where directed by david decoteau?", + "context": "create table table_19982699_1 (dvd_release varchar, director varchar, PRIMARY KEY (dvd_release))", + "answer": "select count(dvd_release) from table_19982699_1 where director = \"david decoteau\"" + }, + { + "question": "List the name of film studio that have the most number of films.", + "context": "create table film (studio varchar, PRIMARY KEY (studio))", + "answer": "select studio from film group by studio order by count(*) desc limit 1" + }, + { + "question": "Show the names of countries that have more than one roller coaster.", + "context": "create table roller_coaster (country_id varchar, PRIMARY KEY (country_id)); create table country (name varchar, country_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from country as t1 join roller_coaster as t2 on t1.country_id = t2.country_id group by t1.name having count(*) > 1" + }, + { + "question": "What is the home ground if team is Sunshine Coast Falcons?", + "context": "create table table_2383498_4 (home_ground varchar, team varchar, PRIMARY KEY (home_ground))", + "answer": "select home_ground from table_2383498_4 where team = \"sunshine coast falcons\"" + }, + { + "question": "What is the maximum number of km listed?", + "context": "create table table_206361_2 (kilometer integer, PRIMARY KEY (kilometer))", + "answer": "select max(kilometer) from table_206361_2" + }, + { + "question": "Who is every high rebound when the team is Mount St. Mary's?", + "context": "create table table_29846807_4 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_29846807_4 where team = \"mount st. mary's\"" + }, + { + "question": "Name the most ceiling temperature for intermediate", + "context": "create table table_1538516_1 (maximum_ceiling_temperature varchar, temperature_classification varchar, PRIMARY KEY (maximum_ceiling_temperature))", + "answer": "select maximum_ceiling_temperature from table_1538516_1 where temperature_classification = \"intermediate\"" + }, + { + "question": "What are the names of products with category \"Spices\"?", + "context": "create table products (product_name varchar, product_category_code varchar, PRIMARY KEY (product_name))", + "answer": "select product_name from products where product_category_code = \"spices\"" + }, + { + "question": "How many co-singers were there when Parveen Babi co-starred?", + "context": "create table table_2528382_5 (singers varchar, co varchar, co_stars varchar, PRIMARY KEY (singers))", + "answer": "select count(co) - singers from table_2528382_5 where co_stars = \"parveen babi\"" + }, + { + "question": "List the id of students who attended some courses?", + "context": "create table student_course_attendance (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from student_course_attendance" + }, + { + "question": "Where was the tourney when Weber State won the regular season?", + "context": "create table table_21269441_4 (tournament_venue__city_ varchar, regular_season_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_21269441_4 where regular_season_winner = \"weber state\"" + }, + { + "question": "What is the Galician (reintegrationist) word of the Galician (Official) is bo d\u00eda / bos d\u00edas?", + "context": "create table table_26614365_5 (galician___reintegrationist__ varchar, galician___official__ varchar, PRIMARY KEY (galician___reintegrationist__))", + "answer": "select galician___reintegrationist__ from table_26614365_5 where galician___official__ = \"bo d\u00eda / bos d\u00edas\"" + }, + { + "question": "What was the margin of victory with the winning score \"63-68-68-68=267\"?", + "context": "create table table_1602858_1 (margin_of_victory varchar, winning_score varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_1602858_1 where winning_score = 63 - 68 - 68 - 68 = 267" + }, + { + "question": "What is every affiliation for candidate Daren Ireland?", + "context": "create table table_25818630_1 (affiliation varchar, candidate varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_25818630_1 where candidate = \"daren ireland\"" + }, + { + "question": "When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?", + "context": "create table table_23537091_1 (early_chalcolithic varchar, ubaid_period_in_mesopotamia varchar, PRIMARY KEY (early_chalcolithic))", + "answer": "select count(early_chalcolithic) from table_23537091_1 where ubaid_period_in_mesopotamia = \"hittite middle kingdom , new kingdom of egypt\"" + }, + { + "question": "What is the rev for all of the Aston Martin applications?", + "context": "create table table_1310499_1 (rev varchar, application varchar, PRIMARY KEY (rev))", + "answer": "select rev from table_1310499_1 where application = \"aston martin\"" + }, + { + "question": "What are the movies that are written and dircted by john sullivan with the airdate of 15january2009.", + "context": "create table table_17641206_8 (directed_by varchar, written_by varchar, original_airdate varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_17641206_8 where written_by = \"john sullivan\" and original_airdate = \"15january2009\"" + }, + { + "question": "List the names and locations of all stations ordered by their yearly entry exit and interchange amounts.", + "context": "create table station (name varchar, location varchar, annual_entry_exit varchar, annual_interchanges varchar, PRIMARY KEY (name))", + "answer": "select name, location from station order by annual_entry_exit, annual_interchanges" + }, + { + "question": "Name the viewers for the episode directed by tony phelan", + "context": "create table table_19501664_1 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_19501664_1 where directed_by = \"tony phelan\"" + }, + { + "question": "What was the winning team when mikhail goikhberg was the winning driver?", + "context": "create table table_25668203_2 (winning_team varchar, winning_driver varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_25668203_2 where winning_driver = \"mikhail goikhberg\"" + }, + { + "question": "How many afc titles did the Cleveland Browns have?", + "context": "create table table_1952065_4 (afc_titles integer, teams_with_division_titles varchar, PRIMARY KEY (afc_titles))", + "answer": "select max(afc_titles) from table_1952065_4 where teams_with_division_titles = \"cleveland browns\"" + }, + { + "question": "where title is am/pm callanetics , what are all the copyright information?", + "context": "create table table_11222744_2 (copyright_information varchar, title varchar, PRIMARY KEY (copyright_information))", + "answer": "select copyright_information from table_11222744_2 where title = \"am/pm callanetics\"" + }, + { + "question": "Which teams are located in highland township?", + "context": "create table table_11094950_1 (team varchar, location varchar, PRIMARY KEY (team))", + "answer": "select team from table_11094950_1 where location = \"highland township\"" + }, + { + "question": "What is the 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June?", + "context": "create table table_25220821_4 (wed_2_june varchar, thurs_3_june varchar, PRIMARY KEY (wed_2_june))", + "answer": "select wed_2_june from table_25220821_4 where thurs_3_june = \"17' 48.58 127.111mph\"" + }, + { + "question": "What type of institution is San Diego Christian college?", + "context": "create table table_2562113_1 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562113_1 where institution = \"san diego christian college\"" + }, + { + "question": "How many times was taiwan 3rd runner-up?", + "context": "create table table_28634206_1 (country varchar, PRIMARY KEY (country))", + "answer": "select max(3 as rd_runner_up) from table_28634206_1 where country = \"taiwan\"" + }, + { + "question": "how many years has \u0441\u0435\u043d\u043a\u0438 been nominated?", + "context": "create table table_14928423_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select count(year__ceremony_) from table_14928423_1 where original_title = \"\u0441\u0435\u043d\u043a\u0438\"" + }, + { + "question": "How many seats in 2006 has a % 1997 rating of 38.9?", + "context": "create table table_21132404_1 (seats_2006 varchar, _percentage_1997 varchar, PRIMARY KEY (seats_2006))", + "answer": "select count(seats_2006) from table_21132404_1 where _percentage_1997 = \"38.9\"" + }, + { + "question": "The player for what club had 2 tests?", + "context": "create table table_27771406_1 (club varchar, tests varchar, PRIMARY KEY (club))", + "answer": "select club from table_27771406_1 where tests = 2" + }, + { + "question": "Name the away team score for carlton", + "context": "create table table_16388439_3 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team as score from table_16388439_3 where home_team = \"carlton\"" + }, + { + "question": "what's the\u00a0airport\u00a0with\u00a0% change 2005/2006\u00a0being 13.0%", + "context": "create table table_13836704_9 (airport varchar, _percentage_change_2005_2006 varchar, PRIMARY KEY (airport))", + "answer": "select airport from table_13836704_9 where _percentage_change_2005_2006 = \"13.0%\"" + }, + { + "question": "What team had high assists Rafer Alston (5)?", + "context": "create table table_15872814_7 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_15872814_7 where high_assists = \"rafer alston (5)\"" + }, + { + "question": "Find the addresses and author IDs of the course authors that teach at least two courses.", + "context": "create table courses (author_id varchar, PRIMARY KEY (author_id)); create table course_authors_and_tutors (address_line_1 varchar, author_id varchar, PRIMARY KEY (address_line_1))", + "answer": "select t1.address_line_1, t2.author_id from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id group by t2.author_id having count(*) >= 2" + }, + { + "question": "Find how many different affiliation types there are.", + "context": "create table university (affiliation varchar, PRIMARY KEY (affiliation))", + "answer": "select count(distinct affiliation) from university" + }, + { + "question": "Rome is in which country?", + "context": "create table table_14903081_1 (country varchar, location varchar, PRIMARY KEY (country))", + "answer": "select country from table_14903081_1 where location = \"rome\"" + }, + { + "question": "What are the details and opening hours of the museums?", + "context": "create table tourist_attractions (opening_hours varchar, tourist_attraction_id varchar, PRIMARY KEY (opening_hours)); create table museums (museum_details varchar, museum_id varchar, PRIMARY KEY (museum_details))", + "answer": "select t1.museum_details, t2.opening_hours from museums as t1 join tourist_attractions as t2 on t1.museum_id = t2.tourist_attraction_id" + }, + { + "question": "How many segment b's when segment a is filigree glass", + "context": "create table table_15187735_16 (segment_b varchar, segment_a varchar, PRIMARY KEY (segment_b))", + "answer": "select count(segment_b) from table_15187735_16 where segment_a = \"filigree glass\"" + }, + { + "question": "Name the finished for kerry katona", + "context": "create table table_14345690_4 (finished varchar, celebrity varchar, PRIMARY KEY (finished))", + "answer": "select count(finished) from table_14345690_4 where celebrity = \"kerry katona\"" + }, + { + "question": "Who was nominated for best supporting actor in the movie Going My Way?", + "context": "create table table_18638067_1 (actor_actress varchar, film_title_used_in_nomination varchar, category varchar, PRIMARY KEY (actor_actress))", + "answer": "select actor_actress from table_18638067_1 where film_title_used_in_nomination = \"going my way\" and category = \"best supporting actor\"" + }, + { + "question": "What is the athlete from Edwardsville?", + "context": "create table table_1231316_7 (athlete varchar, location varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_1231316_7 where location = \"edwardsville\"" + }, + { + "question": "What is the innovation when the economic incentive grime is 7.14?", + "context": "create table table_23050383_1 (innovation varchar, economic_incentive_regime varchar, PRIMARY KEY (innovation))", + "answer": "select innovation from table_23050383_1 where economic_incentive_regime = \"7.14\"" + }, + { + "question": "Name the regular judge when host is anja rubik", + "context": "create table table_1597866_3 (regular_judge varchar, host varchar, PRIMARY KEY (regular_judge))", + "answer": "select regular_judge from table_1597866_3 where host = \"anja rubik\"" + }, + { + "question": "what is the scoreboard when karen was 4.5", + "context": "create table table_19744915_3 (scoreboard varchar, karen varchar, PRIMARY KEY (scoreboard))", + "answer": "select scoreboard from table_19744915_3 where karen = \"4.5\"" + }, + { + "question": "Show the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.", + "context": "create table phone_market (phone_id varchar, num_of_stock integer, PRIMARY KEY (phone_id)); create table phone (name varchar, phone_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from phone_market as t1 join phone as t2 on t1.phone_id = t2.phone_id group by t2.name having sum(t1.num_of_stock) >= 2000 order by sum(t1.num_of_stock) desc" + }, + { + "question": "Which circuit was located in st. petersburg, florida?", + "context": "create table table_30134667_2 (circuit varchar, location varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_30134667_2 where location = \"st. petersburg, florida\"" + }, + { + "question": "Name the record for houston", + "context": "create table table_23186738_6 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23186738_6 where team = \"houston\"" + }, + { + "question": "when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted", + "context": "create table table_29135051_3 (broadcast_date varchar, guest_s_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_29135051_3 where guest_s_ = \"barbara windsor and heston blumenthal\"" + }, + { + "question": "What was the Ram's conference record when they were the CBI champions?", + "context": "create table table_14609295_4 (conference varchar, postseason varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_14609295_4 where postseason = \"cbi champions\"" + }, + { + "question": "Name the opponent for record 10-13-3", + "context": "create table table_27537870_5 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_27537870_5 where record = \"10-13-3\"" + }, + { + "question": "When the network mask is 255.255.255.224 what is the highest total usable host?", + "context": "create table table_149426_4 (total_usable_hosts integer, network_mask varchar, PRIMARY KEY (total_usable_hosts))", + "answer": "select max(total_usable_hosts) from table_149426_4 where network_mask = \"255.255.255.224\"" + }, + { + "question": "What is the original air date when the director is Rowan Woods and the writer is Peter Duncan?", + "context": "create table table_29494395_3 (originalair_date varchar, director varchar, writer varchar, PRIMARY KEY (originalair_date))", + "answer": "select originalair_date from table_29494395_3 where director = \"rowan woods\" and writer = \"peter duncan\"" + }, + { + "question": "Find the top 3 wineries with the greatest number of wines made of white color grapes.", + "context": "create table grapes (grape varchar, color varchar, PRIMARY KEY (grape)); create table wine (winery varchar, grape varchar, PRIMARY KEY (winery))", + "answer": "select t2.winery from grapes as t1 join wine as t2 on t1.grape = t2.grape where t1.color = \"white\" group by t2.winery order by count(*) desc limit 3" + }, + { + "question": "How many different numbers of B shares does Handelsbanken fonder have?", + "context": "create table table_206359_1 (b_shares varchar, shareholder_name varchar, PRIMARY KEY (b_shares))", + "answer": "select count(b_shares) from table_206359_1 where shareholder_name = \"handelsbanken fonder\"" + }, + { + "question": "List the companies and the investors of entrepreneurs.", + "context": "create table entrepreneur (company varchar, investor varchar, PRIMARY KEY (company))", + "answer": "select company, investor from entrepreneur" + }, + { + "question": "How many winners of binibining pilipinas-International when Maria Karla Bautista won binibining pilipinas-world?", + "context": "create table table_1825751_4 (binibining_pilipinas_international varchar, binibining_pilipinas_world varchar, PRIMARY KEY (binibining_pilipinas_international))", + "answer": "select count(binibining_pilipinas_international) from table_1825751_4 where binibining_pilipinas_world = \"maria karla bautista\"" + }, + { + "question": "What is the English title when the original title is Die Qual Der Wahl?", + "context": "create table table_1481865_1 (title__english_ varchar, title__original_ varchar, PRIMARY KEY (title__english_))", + "answer": "select title__english_ from table_1481865_1 where title__original_ = \"die qual der wahl\"" + }, + { + "question": "What is the d-r spread if the no party preference is 31.8%?", + "context": "create table table_25200461_9 (d_r_spread varchar, no_party_preference varchar, PRIMARY KEY (d_r_spread))", + "answer": "select d_r_spread from table_25200461_9 where no_party_preference = \"31.8%\"" + }, + { + "question": "Which broadcast date has 6.8 million viewers?", + "context": "create table table_2114238_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2114238_1 where viewers__in_millions_ = \"6.8\"" + }, + { + "question": "WHO WAS THE COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS?", + "context": "create table table_1566852_3 (cover_model varchar, centerfold_model varchar, PRIMARY KEY (cover_model))", + "answer": "select cover_model from table_1566852_3 where centerfold_model = \"shallan meiers\"" + }, + { + "question": "When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?", + "context": "create table table_1889619_5 (total_footage_remaining_from_missing_episodes__mm varchar, story_no varchar, source varchar, PRIMARY KEY (total_footage_remaining_from_missing_episodes__mm))", + "answer": "select total_footage_remaining_from_missing_episodes__mm as :ss_ from table_1889619_5 where story_no = \"018\" and source = \"private individual\"" + }, + { + "question": "What is the title(s) of episodes written by aron eli coleite?", + "context": "create table table_28215780_4 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28215780_4 where written_by = \"aron eli coleite\"" + }, + { + "question": "Name the umbr of creators for flash of two worlds", + "context": "create table table_19534677_1 (creators varchar, volume_title varchar, PRIMARY KEY (creators))", + "answer": "select count(creators) from table_19534677_1 where volume_title = \"flash of two worlds\"" + }, + { + "question": "What stadium does FK Rudar play in?", + "context": "create table table_28668784_1 (stadium varchar, home_team varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_28668784_1 where home_team = \"fk rudar\"" + }, + { + "question": "Who is the successor when the reason for change is seat declared vacant January 2, 1808", + "context": "create table table_225093_4 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_225093_4 where reason_for_change = \"seat declared vacant january 2, 1808\"" + }, + { + "question": "What was the manner of departure for the appointment date of 21 september 2010", + "context": "create table table_27495117_3 (manner_of_departure varchar, date_of_appointment varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27495117_3 where date_of_appointment = \"21 september 2010\"" + }, + { + "question": "Find the number of routes that have destination John F Kennedy International Airport.", + "context": "create table airports (apid varchar, name varchar, PRIMARY KEY (apid)); create table routes (dst_apid varchar, PRIMARY KEY (dst_apid))", + "answer": "select count(*) from airports as t1 join routes as t2 on t1.apid = t2.dst_apid where t1.name = 'john f kennedy international airport'" + }, + { + "question": "What is listed in hight points when the high rebounds is listed as Nick Collison (10)?", + "context": "create table table_28768469_7 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_28768469_7 where high_rebounds = \"nick collison (10)\"" + }, + { + "question": "What is the location of the tournament that the share of winning is 7000?", + "context": "create table table_12243817_1 (tournament_location varchar, winners_share__$_ varchar, PRIMARY KEY (tournament_location))", + "answer": "select tournament_location from table_12243817_1 where winners_share__$_ = 7000" + }, + { + "question": "How many numbers were recorded for Chester when the religion was Hindu?", + "context": "create table table_16974228_1 (chester varchar, religion varchar, PRIMARY KEY (chester))", + "answer": "select count(chester) from table_16974228_1 where religion = \"hindu\"" + }, + { + "question": "when was the last performance of the first performance on 11/15/1909", + "context": "create table table_19189856_1 (last_performance varchar, first_performance varchar, PRIMARY KEY (last_performance))", + "answer": "select last_performance from table_19189856_1 where first_performance = \"11/15/1909\"" + }, + { + "question": "How many data was given the total electricity in GW-h if the renewable electricity w/o hydro (GW-h) is 3601?", + "context": "create table table_25244412_2 (total_electricity__gw varchar, renewable_electricity_w_o_hydro__gw\u00b7h_ varchar, PRIMARY KEY (total_electricity__gw))", + "answer": "select count(total_electricity__gw) as \u00b7h_ from table_25244412_2 where renewable_electricity_w_o_hydro__gw\u00b7h_ = 3601" + }, + { + "question": "Name the school that is cougars", + "context": "create table table_24216139_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_24216139_2 where nickname = \"cougars\"" + }, + { + "question": "Who sand He's Bigfoot?", + "context": "create table table_23667534_1 (singer_s_ varchar, song_s__title varchar, PRIMARY KEY (singer_s_))", + "answer": "select singer_s_ from table_23667534_1 where song_s__title = \"he's bigfoot\"" + }, + { + "question": "In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?", + "context": "create table table_10725629_2 (report varchar, pole_position varchar, winning_team varchar, PRIMARY KEY (report))", + "answer": "select report from table_10725629_2 where pole_position = \"michael andretti\" and winning_team = \"galles-kraco racing\"" + }, + { + "question": "what's the\u00a0estimated value\u00a0where\u00a0cover date\u00a0is august 1962", + "context": "create table table_1217448_1 (estimated_value varchar, cover_date varchar, PRIMARY KEY (estimated_value))", + "answer": "select estimated_value from table_1217448_1 where cover_date = \"august 1962\"" + }, + { + "question": "Where are all school boards associated with a number of elementary schools of 96?", + "context": "create table table_1506619_1 (school_board varchar, number_of_elementary_schools varchar, PRIMARY KEY (school_board))", + "answer": "select school_board from table_1506619_1 where number_of_elementary_schools = 96" + }, + { + "question": "what is faisaly when wehdat is xxx?", + "context": "create table table_26173063_2 (faisaly varchar, wehdat varchar, PRIMARY KEY (faisaly))", + "answer": "select faisaly from table_26173063_2 where wehdat = \"xxx\"" + }, + { + "question": "What is the average high temperature for each day of week?", + "context": "create table weekly_weather (day_of_week varchar, high_temperature integer, PRIMARY KEY (day_of_week))", + "answer": "select avg(high_temperature), day_of_week from weekly_weather group by day_of_week" + }, + { + "question": "Which authority has a rocket launch called rehbar-ii?", + "context": "create table table_11869952_1 (institutional_authority varchar, rocket_launch varchar, PRIMARY KEY (institutional_authority))", + "answer": "select institutional_authority from table_11869952_1 where rocket_launch = \"rehbar-ii\"" + }, + { + "question": "List the forenames of all distinct drivers in alphabetical order?", + "context": "create table drivers (forename varchar, PRIMARY KEY (forename))", + "answer": "select distinct forename from drivers order by forename" + }, + { + "question": "who is the driver that had winnings of $225,000?", + "context": "create table table_27781212_1 (driver varchar, winnings varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_27781212_1 where winnings = \"$225,000\"" + }, + { + "question": "What are the title that have 19.48 million u.s. viewers?", + "context": "create table table_1130632_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_1130632_1 where us_viewers__million_ = \"19.48\"" + }, + { + "question": "How many countries does honoree Roberto de Vicenzo represent?", + "context": "create table table_1515346_2 (country varchar, honoree_s_ varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_1515346_2 where honoree_s_ = \"roberto de vicenzo\"" + }, + { + "question": "How many television service are in italian and n\u00b0is greater than 856.0?", + "context": "create table table_15887683_15 (television_service varchar, language varchar, n\u00b0 varchar, PRIMARY KEY (television_service))", + "answer": "select television_service from table_15887683_15 where language = \"italian\" and n\u00b0 > 856.0" + }, + { + "question": "What is the lowest overall number for total(min. 2 medals)?", + "context": "create table table_22355_65 (total_min_2_medals_ integer, PRIMARY KEY (total_min_2_medals_))", + "answer": "select min(total_min_2_medals_) from table_22355_65" + }, + { + "question": "What week #(s featured sara bareilles as the original artist?", + "context": "create table table_21501564_1 (week__number varchar, original_artist varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501564_1 where original_artist = \"sara bareilles\"" + }, + { + "question": "What is the stadium in Kuopio?", + "context": "create table table_25129482_1 (stadium varchar, location varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_25129482_1 where location = \"kuopio\"" + }, + { + "question": "Name the growth rate for density of 1087", + "context": "create table table_231623_3 (growth_rate varchar, density_per_kilometer varchar, PRIMARY KEY (growth_rate))", + "answer": "select count(growth_rate) from table_231623_3 where density_per_kilometer = 1087" + }, + { + "question": "In the circuit Showevent Olympiastadion M\u00fcnchen, where the winning driver is Bruno Spengler, what is the pole position?", + "context": "create table table_26267607_2 (pole_position varchar, winning_driver varchar, circuit varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_26267607_2 where winning_driver = \"bruno spengler\" and circuit = \"showevent olympiastadion m\u00fcnchen\"" + }, + { + "question": "What was the date of appointment when J\u00fcrgen Kohler was the outgoing manager?", + "context": "create table table_17085981_2 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_17085981_2 where outgoing_manager = \"j\u00fcrgen kohler\"" + }, + { + "question": "What location did Zach Veach have the fastest lap?", + "context": "create table table_29285076_2 (location varchar, fastest_lap varchar, PRIMARY KEY (location))", + "answer": "select location from table_29285076_2 where fastest_lap = \"zach veach\"" + }, + { + "question": "Which team did they play at Rich Stadium?", + "context": "create table table_14423274_3 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_14423274_3 where game_site = \"rich stadium\"" + }, + { + "question": "Who is the captain of Dave Jones' team?", + "context": "create table table_26593762_2 (team varchar, manager varchar, PRIMARY KEY (team))", + "answer": "select team as captain from table_26593762_2 where manager = \"dave jones\"" + }, + { + "question": "What was the cyclone's pressure in the storm that death was equal to 95km/h (60mph)?", + "context": "create table table_10602294_1 (pressure varchar, deaths varchar, PRIMARY KEY (pressure))", + "answer": "select pressure from table_10602294_1 where deaths = \"95km/h (60mph)\"" + }, + { + "question": "What is the document id and name with greatest number of paragraphs?", + "context": "create table documents (document_name varchar, document_id varchar, PRIMARY KEY (document_name)); create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select t1.document_id, t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id group by t1.document_id order by count(*) desc limit 1" + }, + { + "question": "Who did Abdelhafid Benchebla face in the quarterfinals?", + "context": "create table table_17427004_7 (quarterfinals varchar, athlete varchar, PRIMARY KEY (quarterfinals))", + "answer": "select quarterfinals from table_17427004_7 where athlete = \"abdelhafid benchebla\"" + }, + { + "question": "Who were the directors of the film with the original title o.k.?", + "context": "create table table_10874596_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_10874596_1 where original_title = \"o.k.\"" + }, + { + "question": "What is the sanskrit word for the color red?", + "context": "create table table_180802_3 (sanskrit_word varchar, color varchar, PRIMARY KEY (sanskrit_word))", + "answer": "select sanskrit_word from table_180802_3 where color = \"red\"" + }, + { + "question": "How many songs have mi-chemin as their Japanese name and romanji name?", + "context": "create table table_10979230_4 (romaji_title varchar, japanese_title varchar, PRIMARY KEY (romaji_title))", + "answer": "select count(romaji_title) from table_10979230_4 where japanese_title = \"mi-chemin\"" + }, + { + "question": "What is the lowest number of members lost when the net change is \u22121?", + "context": "create table table_27671835_3 (members_lost integer, net_change varchar, PRIMARY KEY (members_lost))", + "answer": "select min(members_lost) from table_27671835_3 where net_change = \"\u22121\"" + }, + { + "question": "What is ithe range for married filing separately where head of household is $117,451\u2013$190,200?", + "context": "create table table_11647327_2 (married_filing_separately varchar, head_of_household varchar, PRIMARY KEY (married_filing_separately))", + "answer": "select married_filing_separately from table_11647327_2 where head_of_household = \"$117,451\u2013$190,200\"" + }, + { + "question": "What were the interview subjects on those occasions where Bai Ling was the cover model?", + "context": "create table table_1566852_6 (interview_subject varchar, cover_model varchar, PRIMARY KEY (interview_subject))", + "answer": "select interview_subject from table_1566852_6 where cover_model = \"bai ling\"" + }, + { + "question": "what are all the circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer", + "context": "create table table_13079788_3 (circuit varchar, gtc_winner varchar, pole_position varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_13079788_3 where gtc_winner = \"graeme mundy jamie smyth\" and pole_position = \"bradley ellis alex mortimer\"" + }, + { + "question": "What percentage did kennedy win while coakly won 37.9%", + "context": "create table table_24115349_4 (kennedy__percentage varchar, coakley__percentage varchar, PRIMARY KEY (kennedy__percentage))", + "answer": "select kennedy__percentage from table_24115349_4 where coakley__percentage = \"37.9%\"" + }, + { + "question": "What was the founding university of the organization Tau Epsilon Phi 1?", + "context": "create table table_2538117_5 (founding_university varchar, organization varchar, PRIMARY KEY (founding_university))", + "answer": "select founding_university from table_2538117_5 where organization = \"tau epsilon phi 1\"" + }, + { + "question": "The serial numbers 713096-713119 are in which country?", + "context": "create table table_2351952_1 (country varchar, serial_numbers varchar, PRIMARY KEY (country))", + "answer": "select country from table_2351952_1 where serial_numbers = \"713096-713119\"" + }, + { + "question": "Show all allergies with type food.", + "context": "create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy))", + "answer": "select distinct allergy from allergy_type where allergytype = \"food\"" + }, + { + "question": "Which artist has the most albums?", + "context": "create table album (artistid varchar, PRIMARY KEY (artistid)); create table artist (name varchar, artistid varchar, PRIMARY KEY (name))", + "answer": "select t2.name from album as t1 join artist as t2 on t1.artistid = t2.artistid group by t2.name order by count(*) desc limit 1" + }, + { + "question": "What is the strongs words compounded when the english spelling is jonadab?", + "context": "create table table_1242447_1 (strongs_words_compounded varchar, english_spelling varchar, PRIMARY KEY (strongs_words_compounded))", + "answer": "select strongs_words_compounded from table_1242447_1 where english_spelling = \"jonadab\"" + }, + { + "question": "Where is the University of North Carolina at Greensboro located?", + "context": "create table table_255188_3 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_255188_3 where institution = \"university of north carolina at greensboro\"" + }, + { + "question": "How many mixed doubles were there in the year that Olga Koseli won the women's singles?", + "context": "create table table_15002177_1 (mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select count(mixed_doubles) from table_15002177_1 where womens_singles = \"olga koseli\"" + }, + { + "question": "Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job?", + "context": "create table table_29171931_3 (incoming_head_coach varchar, outgoing_head_coach varchar, PRIMARY KEY (incoming_head_coach))", + "answer": "select incoming_head_coach from table_29171931_3 where outgoing_head_coach = \"wan jamak wan hassan\"" + }, + { + "question": "Name the womens doubles for werner schlager", + "context": "create table table_28138035_4 (womens_doubles varchar, mens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_28138035_4 where mens_singles = \"werner schlager\"" + }, + { + "question": "Which song directed by datta naik had the ending stranza written by Johnny Walker?", + "context": "create table table_2528382_1 (additional_info varchar, music_director varchar, PRIMARY KEY (additional_info))", + "answer": "select additional_info from table_2528382_1 where music_director = \"datta naik\"" + }, + { + "question": "When did the episode written by Abe Sylvia originally air?", + "context": "create table table_26961951_6 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26961951_6 where written_by = \"abe sylvia\"" + }, + { + "question": "How many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?", + "context": "create table table_2402209_1 (no_of_barangays varchar, population__2010_ varchar, PRIMARY KEY (no_of_barangays))", + "answer": "select count(no_of_barangays) from table_2402209_1 where population__2010_ = 13824" + }, + { + "question": "What is the percentage of the Shivalik Zone where the percentage of the Mid-Hill Zone is 10%?", + "context": "create table table_10638523_1 (shivalik_zone varchar, mid_hill_zone varchar, PRIMARY KEY (shivalik_zone))", + "answer": "select shivalik_zone from table_10638523_1 where mid_hill_zone = \"10%\"" + }, + { + "question": "When brive proceeded to quarter final what were the match points?", + "context": "create table table_27987767_3 (match_points varchar, proceed_to_quarter_final varchar, PRIMARY KEY (match_points))", + "answer": "select match_points from table_27987767_3 where proceed_to_quarter_final = \"brive\"" + }, + { + "question": "What are the results of those elections for which Marcy Kaptur is the incumbent?", + "context": "create table table_1805191_36 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1805191_36 where incumbent = \"marcy kaptur\"" + }, + { + "question": "How many flights does airline 'JetBlue Airways' have?", + "context": "create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (uid varchar, airline varchar, PRIMARY KEY (uid))", + "answer": "select count(*) from flights as t1 join airlines as t2 on t1.airline = t2.uid where t2.airline = \"jetblue airways\"" + }, + { + "question": "Who was the tournament winner in the Southwestern Athletic Conference?", + "context": "create table table_28884880_4 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_28884880_4 where conference = \"southwestern athletic conference\"" + }, + { + "question": "What is the total number of drivers who have cars constructed by Mercedes-Benz?", + "context": "create table table_18893428_1 (driver varchar, constructor varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_18893428_1 where constructor = \"mercedes-benz\"" + }, + { + "question": "What are the titles of the episodes which had 1.10 million U.S. viewers?", + "context": "create table table_23399481_4 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23399481_4 where us_viewers__in_millions_ = \"1.10\"" + }, + { + "question": "Show the start dates and end dates of all the apartment bookings made by guests with gender code \"Female\".", + "context": "create table apartment_bookings (booking_start_date varchar, guest_id varchar, PRIMARY KEY (booking_start_date)); create table guests (guest_id varchar, gender_code varchar, PRIMARY KEY (guest_id))", + "answer": "select t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join guests as t2 on t1.guest_id = t2.guest_id where t2.gender_code = \"female\"" + }, + { + "question": "Find the papers which have \"Olin Shivers\" as an author.", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid))", + "answer": "select t3.title from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = \"olin\" and t1.lname = \"shivers\"" + }, + { + "question": "On June 30, 2008 who what was the Republican: Jeff Sessions percentage?", + "context": "create table table_16751596_12 (republican varchar, dates_administered varchar, PRIMARY KEY (republican))", + "answer": "select republican as :_jeff_sessions from table_16751596_12 where dates_administered = \"june 30, 2008\"" + }, + { + "question": "Who won in the men singles group in the year when Yoshie Takada won in the women singles?", + "context": "create table table_28138035_13 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_28138035_13 where womens_singles = \"yoshie takada\"" + }, + { + "question": "Show the party and the number of drivers in each party.", + "context": "create table driver (party varchar, PRIMARY KEY (party))", + "answer": "select party, count(*) from driver group by party" + }, + { + "question": "When the home attendance is 3.123, what's the highest away attendance?", + "context": "create table table_1816947_2 (highest_attendance_away varchar, average_attendance_home varchar, PRIMARY KEY (highest_attendance_away))", + "answer": "select highest_attendance_away from table_1816947_2 where average_attendance_home = \"3.123\"" + }, + { + "question": "what are all the date withdrawn for koningin beatrix", + "context": "create table table_11662133_3 (date_withdrawn varchar, ships_name varchar, PRIMARY KEY (date_withdrawn))", + "answer": "select date_withdrawn from table_11662133_3 where ships_name = \"koningin beatrix\"" + }, + { + "question": "What is the name of the stadium when the capacity percentage is 83.9%", + "context": "create table table_28884858_1 (stadium varchar, capacity_percentage varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_28884858_1 where capacity_percentage = \"83.9%\"" + }, + { + "question": "When cardboard boxes is segment c what is segment a?", + "context": "create table table_15187735_5 (segment_a varchar, segment_c varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_5 where segment_c = \"cardboard boxes\"" + }, + { + "question": "What is the hand number of the hand where player 1 is south and the east wind is prevailing?", + "context": "create table table_26853172_1 (hand_number varchar, player_1 varchar, prevailing_wind varchar, PRIMARY KEY (hand_number))", + "answer": "select count(hand_number) from table_26853172_1 where player_1 = \"south\" and prevailing_wind = \"east\"" + }, + { + "question": "What sponsor has the head coach Samad Marfavi?", + "context": "create table table_27383390_2 (shirt_sponsor varchar, head_coach varchar, PRIMARY KEY (shirt_sponsor))", + "answer": "select shirt_sponsor from table_27383390_2 where head_coach = \"samad marfavi\"" + }, + { + "question": "When was the date of appointment for St. Johnstone's manager?", + "context": "create table table_16075179_6 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_16075179_6 where team = \"st. johnstone\"" + }, + { + "question": "Name the number of song for scoreboard being 3rd", + "context": "create table table_21234111_6 (song varchar, scoreboard varchar, PRIMARY KEY (song))", + "answer": "select count(song) from table_21234111_6 where scoreboard = \"3rd\"" + }, + { + "question": "How many winners had a debut album titled \"mike\"?", + "context": "create table table_1646960_3 (winner varchar, debut_album varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_1646960_3 where debut_album = \"mike\"" + }, + { + "question": "Where is the cunningham hill infant school located?", + "context": "create table table_28523_2 (location varchar, school varchar, PRIMARY KEY (location))", + "answer": "select location from table_28523_2 where school = \"cunningham hill infant school\"" + }, + { + "question": "are in tobago species liophis cobellus cobellus?", + "context": "create table table_1850282_5 (tobago varchar, species varchar, PRIMARY KEY (tobago))", + "answer": "select tobago from table_1850282_5 where species = \"liophis cobellus cobellus\"" + }, + { + "question": "In what division was there a population density in km2 of 4,491.8 in 2011?", + "context": "create table table_24027047_1 (administrative_division varchar, population_density___km\u00b2_2011_ varchar, PRIMARY KEY (administrative_division))", + "answer": "select administrative_division from table_24027047_1 where population_density___km\u00b2_2011_ = \"4,491.8\"" + }, + { + "question": "Name the year for japanese", + "context": "create table table_21790203_1 (year__ceremony_ varchar, language_s_ varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_21790203_1 where language_s_ = \"japanese\"" + }, + { + "question": "List the names of people that are not employed by any company", + "context": "create table employment (name varchar, people_id varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select people_id from employment)" + }, + { + "question": "Who and what were the high points player for the game against Detroit?", + "context": "create table table_27756572_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27756572_6 where team = \"detroit\"" + }, + { + "question": "What are the conditions of access where access using a Croatian identity card is yes and the length of stay permitted is freedom of movement?", + "context": "create table table_25965003_3 (conditions_of_access varchar, access_using_a_croatian_identity_card varchar, length_of_stay_permitted varchar, PRIMARY KEY (conditions_of_access))", + "answer": "select conditions_of_access from table_25965003_3 where access_using_a_croatian_identity_card = \"yes\" and length_of_stay_permitted = \"freedom of movement\"" + }, + { + "question": "When did the callbacks from rancho bernardo inn air", + "context": "create table table_11129123_1 (episode_air_date varchar, callback_venue varchar, PRIMARY KEY (episode_air_date))", + "answer": "select episode_air_date from table_11129123_1 where callback_venue = \"rancho bernardo inn\"" + }, + { + "question": "What is the strongs # of the english spelling word jehojakin?", + "context": "create table table_1242447_1 (strongs__number varchar, english_spelling varchar, PRIMARY KEY (strongs__number))", + "answer": "select strongs__number from table_1242447_1 where english_spelling = \"jehojakin\"" + }, + { + "question": "What is the final score when they played Frankfurt Galaxy?", + "context": "create table table_24882796_2 (final_score varchar, opponent varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_24882796_2 where opponent = \"frankfurt galaxy\"" + }, + { + "question": "How many games had an average of 12796?", + "context": "create table table_27094070_4 (overall_gms varchar, overall_avg varchar, PRIMARY KEY (overall_gms))", + "answer": "select count(overall_gms) from table_27094070_4 where overall_avg = 12796" + }, + { + "question": "What is the \u03b5 (m \u22121 cm \u22121 ) of the red dye?", + "context": "create table table_26428602_1 (\u03b5__m_\u22121_cm_\u22121__ varchar, color varchar, PRIMARY KEY (\u03b5__m_\u22121_cm_\u22121__))", + "answer": "select \u03b5__m_\u22121_cm_\u22121__ from table_26428602_1 where color = \"red\"" + }, + { + "question": "what is the name of the episode whose writers were jeff astrof & matt goldman?", + "context": "create table table_27914606_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_27914606_1 where written_by = \"jeff astrof & matt goldman\"" + }, + { + "question": "what's the\u00a0opponent\u00a0with\u00a0stadium\u00a0being jeppesen stadium", + "context": "create table table_14102379_4 (opponent varchar, stadium varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_14102379_4 where stadium = \"jeppesen stadium\"" + }, + { + "question": "For franklin of class aa, which school years does this occur?", + "context": "create table table_14603212_1 (school_year varchar, class_aa varchar, franklin varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_14603212_1 where class_aa = franklin" + }, + { + "question": "What round does Duncan Tappy drive in?", + "context": "create table table_23293785_3 (sf_round integer, driver varchar, PRIMARY KEY (sf_round))", + "answer": "select max(sf_round) from table_23293785_3 where driver = \"duncan tappy\"" + }, + { + "question": "What is the highest number of dave viewers of an episode with 119000 dave ja vu viewers?", + "context": "create table table_25721_3 (dave_viewers integer, dave_ja_vu_viewers varchar, PRIMARY KEY (dave_viewers))", + "answer": "select max(dave_viewers) from table_25721_3 where dave_ja_vu_viewers = 119000" + }, + { + "question": "what's the\u00a0permanence of the body\u00a0where\u00a0purity\u00a0is apprehension", + "context": "create table table_11609814_1 (permanence_of_the_body varchar, purity varchar, PRIMARY KEY (permanence_of_the_body))", + "answer": "select permanence_of_the_body from table_11609814_1 where purity = \"apprehension\"" + }, + { + "question": "Who is in the pole position for the French Grand Prix?", + "context": "create table table_1132568_3 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1132568_3 where grand_prix = \"french grand_prix\"" + }, + { + "question": "Where is every location where Nick is Bru?", + "context": "create table table_2112260_1 (location varchar, nick varchar, PRIMARY KEY (location))", + "answer": "select location from table_2112260_1 where nick = \"bru\"" + }, + { + "question": "List the date of each treatment, together with the first name of the professional who operated it.", + "context": "create table treatments (date_of_treatment varchar, professional_id varchar, PRIMARY KEY (date_of_treatment)); create table professionals (first_name varchar, professional_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.date_of_treatment, t2.first_name from treatments as t1 join professionals as t2 on t1.professional_id = t2.professional_id" + }, + { + "question": "How many different horse-powers does the Cochrane have?", + "context": "create table table_23614702_1 (horse__power varchar, warship varchar, PRIMARY KEY (horse__power))", + "answer": "select count(horse__power) from table_23614702_1 where warship = \"cochrane\"" + }, + { + "question": "What are the market city/market(s) for Rapid City Alternative format?", + "context": "create table table_134987_3 (target_city__market varchar, city_of_license varchar, format varchar, PRIMARY KEY (target_city__market))", + "answer": "select target_city__market from table_134987_3 where city_of_license = \"rapid city\" and format = \"alternative\"" + }, + { + "question": "What is the area of the province with a density of 533.59?", + "context": "create table table_254234_1 (area\u00b3 integer, density\u00b2 varchar, PRIMARY KEY (area\u00b3))", + "answer": "select max(area\u00b3) from table_254234_1 where density\u00b2 = \"533.59\"" + }, + { + "question": "What was the 2nd leg for team #1 River Plate?", + "context": "create table table_24426072_1 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 2 as nd_leg from table_24426072_1 where team__number1 = \"river plate\"" + }, + { + "question": "What is the first name and last name of the customer that has email \"luisg@embraer.com.br\"?", + "context": "create table customer (firstname varchar, lastname varchar, email varchar, PRIMARY KEY (firstname))", + "answer": "select firstname, lastname from customer where email = \"luisg@embraer.com.br\"" + }, + { + "question": "How many students whose are playing the role of goalie?", + "context": "create table tryout (ppos varchar, PRIMARY KEY (ppos))", + "answer": "select count(*) from tryout where ppos = 'goalie'" + }, + { + "question": "What is the highest cr number?", + "context": "create table table_1886270_1 (cr_no integer, PRIMARY KEY (cr_no))", + "answer": "select max(cr_no) from table_1886270_1" + }, + { + "question": "How many remaining places in finals when 1 team can still qualify and 0 teams have secured qualification?", + "context": "create table table_23995075_2 (remaining_places_in_finals varchar, teams_that_can_still_qualify varchar, teams_that_have_secured_qualification varchar, PRIMARY KEY (remaining_places_in_finals))", + "answer": "select remaining_places_in_finals from table_23995075_2 where teams_that_can_still_qualify = \"1\" and teams_that_have_secured_qualification = \"0\"" + }, + { + "question": "What are the names of enzymes who does not produce 'Heme'?", + "context": "create table enzyme (name varchar, product varchar, PRIMARY KEY (name))", + "answer": "select name from enzyme where product <> 'heme'" + }, + { + "question": "what is the material of the surface in noida , uttar pradesh, india", + "context": "create table table_29127804_3 (surface varchar, location varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_29127804_3 where location = \"noida , uttar pradesh, india\"" + }, + { + "question": "Who directed the episode aired on February 27, 2009?", + "context": "create table table_18424435_3 (directed_by varchar, us_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18424435_3 where us_air_date = \"february 27, 2009\"" + }, + { + "question": "Name the control for albany", + "context": "create table table_2076533_1 (control varchar, main_location varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076533_1 where main_location = \"albany\"" + }, + { + "question": "Name the vacator for failure to elect", + "context": "create table table_225205_3 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225205_3 where reason_for_change = \"failure to elect\"" + }, + { + "question": "Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee?", + "context": "create table table_29264319_1 (mix_artist varchar, setlist varchar, artist_1 varchar, PRIMARY KEY (mix_artist))", + "answer": "select mix_artist from table_29264319_1 where setlist = \"closing party\" and artist_1 = \"dillinja and skibadee\"" + }, + { + "question": "How many of 3:26.00 have a championship record?", + "context": "create table table_23987362_2 (world_record varchar, PRIMARY KEY (world_record))", + "answer": "select count(3) as :2600 from table_23987362_2 where world_record = \"championship record\"" + }, + { + "question": "Name the former codes for merged into panama ( pa , pan , 591 )", + "context": "create table table_222666_1 (former_codes varchar, new_country_names_and_codes varchar, PRIMARY KEY (former_codes))", + "answer": "select former_codes from table_222666_1 where new_country_names_and_codes = \"merged into panama ( pa , pan , 591 )\"" + }, + { + "question": "Show the budget type code and description and the corresponding document id.", + "context": "create table ref_budget_codes (budget_type_code varchar, budget_type_description varchar, PRIMARY KEY (budget_type_code)); create table documents_with_expenses (document_id varchar, budget_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select t2.budget_type_code, t2.budget_type_description, t1.document_id from documents_with_expenses as t1 join ref_budget_codes as t2 on t1.budget_type_code = t2.budget_type_code" + }, + { + "question": "Name the date of vacancy for 29 december 2008 being date of appointment", + "context": "create table table_18522916_5 (date_of_vacancy varchar, date_of_appointment varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_18522916_5 where date_of_appointment = \"29 december 2008\"" + }, + { + "question": "How many items were listed under world rank under the nation of Nigeria?", + "context": "create table table_2248991_2 (world_rank varchar, nation varchar, PRIMARY KEY (world_rank))", + "answer": "select count(world_rank) from table_2248991_2 where nation = \"nigeria\"" + }, + { + "question": "Name the centennial for location", + "context": "create table table_15977768_1 (centennial varchar, information varchar, PRIMARY KEY (centennial))", + "answer": "select centennial from table_15977768_1 where information = \"location\"" + }, + { + "question": "How many candidates are listed all together for the incumbent named bob clement?", + "context": "create table table_1341577_43 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341577_43 where incumbent = \"bob clement\"" + }, + { + "question": "List the power output for Phoenix.", + "context": "create table table_2523809_1 (power__kw_ varchar, coverage varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_2523809_1 where coverage = \"phoenix\"" + }, + { + "question": "Name the name for 15 yield", + "context": "create table table_2189647_1 (name_or_number varchar, yield__megatons_ varchar, PRIMARY KEY (name_or_number))", + "answer": "select name_or_number from table_2189647_1 where yield__megatons_ = \"15\"" + }, + { + "question": "How many French words does zinnap\u00f2tamu in Central-Southern Calabrian translate to?", + "context": "create table table_2077192_2 (french varchar, central_southern_calabrian varchar, PRIMARY KEY (french))", + "answer": "select count(french) from table_2077192_2 where central_southern_calabrian = \"zinnap\u00f2tamu\"" + }, + { + "question": "What is the name of the episode written by Ross Brown?", + "context": "create table table_2468961_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2468961_2 where written_by = \"ross brown\"" + }, + { + "question": "What is the fewest number of shuttles where the shuttle time is 6.55 seconds?", + "context": "create table table_1751142_2 (shuttles integer, shuttle_time__seconds_ varchar, PRIMARY KEY (shuttles))", + "answer": "select min(shuttles) from table_1751142_2 where shuttle_time__seconds_ = \"6.55\"" + }, + { + "question": "What brand is model G6xxx?", + "context": "create table table_24018112_1 (brand_name varchar, model__list_ varchar, PRIMARY KEY (brand_name))", + "answer": "select brand_name from table_24018112_1 where model__list_ = \"g6xxx\"" + }, + { + "question": "when was the school/club team for grizzles was maryland", + "context": "create table table_16494599_5 (years_for_grizzlies varchar, school_club_team varchar, PRIMARY KEY (years_for_grizzlies))", + "answer": "select years_for_grizzlies from table_16494599_5 where school_club_team = \"maryland\"" + }, + { + "question": "what's the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being sam hobbs (d) 88.2% c. w. mckay (r) 11.8%", + "context": "create table table_1342292_2 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342292_2 where candidates = \"sam hobbs (d) 88.2% c. w. mckay (r) 11.8%\"" + }, + { + "question": "What party does James Pleasants belong to?", + "context": "create table table_2668352_19 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668352_19 where incumbent = \"james pleasants\"" + }, + { + "question": "how many division southwest was there when division east was babi", + "context": "create table table_17881033_1 (division_southwest varchar, division_east varchar, PRIMARY KEY (division_southwest))", + "answer": "select count(division_southwest) from table_17881033_1 where division_east = \"babi\"" + }, + { + "question": "Where is the University at Albany located?", + "context": "create table table_12936521_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_12936521_2 where institution = \"university at albany\"" + }, + { + "question": "What's the record of the @ miami team?", + "context": "create table table_27734577_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27734577_8 where team = \"@ miami\"" + }, + { + "question": "Find the last names of teachers teaching in classroom 109.", + "context": "create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname))", + "answer": "select lastname from teachers where classroom = 109" + }, + { + "question": "How many air dates had 3.2 million viewers?", + "context": "create table table_26448179_4 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_26448179_4 where us_viewers__millions_ = \"3.2\"" + }, + { + "question": "Who was the team 2 that played against team 1 Atl\u00e9tico la Sabana?", + "context": "create table table_27603010_14 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_27603010_14 where team__number1 = \"atl\u00e9tico la sabana\"" + }, + { + "question": "Which major has most number of students?", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select major from student group by major order by count(*) desc limit 1" + }, + { + "question": "What is the investor that has invested in the most number of entrepreneurs?", + "context": "create table entrepreneur (investor varchar, PRIMARY KEY (investor))", + "answer": "select investor from entrepreneur group by investor order by count(*) desc limit 1" + }, + { + "question": "How many networks are there that have a channel number 7?", + "context": "create table table_160728_4 (network varchar, channel varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_160728_4 where channel = 7" + }, + { + "question": "How many points did the Cowboys have when they had a 7-0 record?", + "context": "create table table_21197135_1 (cowboys_points varchar, record varchar, PRIMARY KEY (cowboys_points))", + "answer": "select cowboys_points from table_21197135_1 where record = \"7-0\"" + }, + { + "question": "Which episode did 18.74 million people tune in?", + "context": "create table table_25996938_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_25996938_1 where us_viewers__million_ = \"18.74\"" + }, + { + "question": "What is the country where there are 8 children per donor and no data for donor payments?", + "context": "create table table_16175217_1 (country varchar, children_per_donor varchar, donor_payment varchar, PRIMARY KEY (country))", + "answer": "select country from table_16175217_1 where children_per_donor = \"8 children\" and donor_payment = \"no data\"" + }, + { + "question": "Name the aircraft type for jagdgeschwader 6", + "context": "create table table_28342423_1 (aircraft_type varchar, parent_unit varchar, PRIMARY KEY (aircraft_type))", + "answer": "select aircraft_type from table_28342423_1 where parent_unit = \"jagdgeschwader 6\"" + }, + { + "question": "Who had the most assist when the opponent was Cleveland?", + "context": "create table table_15780049_6 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_15780049_6 where team = \"cleveland\"" + }, + { + "question": "What are the slovenian names of the villages that had 65.9% of slovenes in 1951?", + "context": "create table table_10797463_1 (village__slovenian_ varchar, percent_of_slovenes_1951 varchar, PRIMARY KEY (village__slovenian_))", + "answer": "select village__slovenian_ from table_10797463_1 where percent_of_slovenes_1951 = \"65.9%\"" + }, + { + "question": "What was the margin of victory in the year when the honoree was Tommy Armour?", + "context": "create table table_1515346_2 (margin_of_victory varchar, honoree_s_ varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_1515346_2 where honoree_s_ = \"tommy armour\"" + }, + { + "question": "List the id, color scheme, and name for all the photos.", + "context": "create table photos (id varchar, color varchar, name varchar, PRIMARY KEY (id))", + "answer": "select id, color, name from photos" + }, + { + "question": "Who manufactured the car that won with an average speed of 126.259 mph?", + "context": "create table table_22298383_1 (manufacturer varchar, average_speed__mph_ varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_22298383_1 where average_speed__mph_ = \"126.259\"" + }, + { + "question": "What is the 2nd ratio of 1996-2002 Dodge Viper?", + "context": "create table table_1310499_1 (application varchar, PRIMARY KEY (application))", + "answer": "select 2 as nd from table_1310499_1 where application = \"1996-2002 dodge viper\"" + }, + { + "question": "Find the name of scientists who are assigned to some project.", + "context": "create table assignedto (scientist varchar, PRIMARY KEY (scientist)); create table scientists (name varchar, ssn varchar, PRIMARY KEY (name))", + "answer": "select t2.name from assignedto as t1 join scientists as t2 on t1.scientist = t2.ssn" + }, + { + "question": "When frederick remann (r) is the vacator what is the reason for vacancy?", + "context": "create table table_2417445_4 (reason_for_vacancy varchar, vacator varchar, PRIMARY KEY (reason_for_vacancy))", + "answer": "select reason_for_vacancy from table_2417445_4 where vacator = \"frederick remann (r)\"" + }, + { + "question": "What's the nickname of the school in Maryville, Tennessee?", + "context": "create table table_1973842_2 (nickname varchar, location varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_1973842_2 where location = \"maryville, tennessee\"" + }, + { + "question": "How many degrees were conferred in \"San Jose State University\" in 2000?", + "context": "create table degrees (id varchar, PRIMARY KEY (id)); create table campuses (id varchar, PRIMARY KEY (id))", + "answer": "select degrees from campuses as t1 join degrees as t2 on t1.id = t2.campus where t1.campus = \"san jose state university\" and t2.year = 2000" + }, + { + "question": "What musical performances aired on 5 April 2010?", + "context": "create table table_26733129_1 (musical_performance varchar, air_date varchar, PRIMARY KEY (musical_performance))", + "answer": "select musical_performance from table_26733129_1 where air_date = \"5 april 2010\"" + }, + { + "question": "How many vacant seats were filled by newcomer Joseph H. Bottum (r)?", + "context": "create table table_1802522_3 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select count(vacator) from table_1802522_3 where successor = \"joseph h. bottum (r)\"" + }, + { + "question": "what is the total number of census designated places with a population of 10581?", + "context": "create table table_22916979_2 (census_designated_place varchar, population__2000_census_ varchar, PRIMARY KEY (census_designated_place))", + "answer": "select count(census_designated_place) from table_22916979_2 where population__2000_census_ = 10581" + }, + { + "question": "How may times did a player that attended Iowa state appear on the all time roster?", + "context": "create table table_11734041_1 (years_for_rockets varchar, school_club_team_country varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select count(years_for_rockets) from table_11734041_1 where school_club_team_country = \"iowa state\"" + }, + { + "question": "Name the total number of eu for quinn", + "context": "create table table_22667773_8 (count varchar, name varchar, PRIMARY KEY (count))", + "answer": "select count as eu from table_22667773_8 where name = \"quinn\"" + }, + { + "question": "Which outcomes have a final score of 6\u20133, 6\u20132?", + "context": "create table table_22834834_3 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_22834834_3 where score_in_the_final = \"6\u20133, 6\u20132\"" + }, + { + "question": "What is the date of birth for the player in the Inglewood club?", + "context": "create table table_26847237_2 (dob varchar, club varchar, PRIMARY KEY (dob))", + "answer": "select dob from table_26847237_2 where club = \"inglewood\"" + }, + { + "question": "What are the names and descriptions of all the sections?", + "context": "create table sections (section_name varchar, section_description varchar, PRIMARY KEY (section_name))", + "answer": "select section_name, section_description from sections" + }, + { + "question": "What gun has a time to feet ratio of 18.8 at 55 degrees?", + "context": "create table table_16439764_1 (gun varchar, time_to_ft__m__at_55\u00b0__seconds_ varchar, PRIMARY KEY (gun))", + "answer": "select gun from table_16439764_1 where time_to_ft__m__at_55\u00b0__seconds_ = \"18.8\"" + }, + { + "question": "Show the nominees that have nominated musicals for both \"Tony Award\" and \"Drama Desk Award\".", + "context": "create table musical (nominee varchar, award varchar, PRIMARY KEY (nominee))", + "answer": "select nominee from musical where award = \"tony award\" intersect select nominee from musical where award = \"drama desk award\"" + }, + { + "question": "Find the last name of the individuals that have been contact individuals of an organization.", + "context": "create table individuals (individual_last_name varchar, individual_id varchar, PRIMARY KEY (individual_last_name)); create table organization_contact_individuals (individual_id varchar, PRIMARY KEY (individual_id))", + "answer": "select distinct t1.individual_last_name from individuals as t1 join organization_contact_individuals as t2 on t1.individual_id = t2.individual_id" + }, + { + "question": "What is the ch# of dwlj-tv?", + "context": "create table table_12379297_1 (ch__number varchar, callsign varchar, PRIMARY KEY (ch__number))", + "answer": "select ch__number from table_12379297_1 where callsign = \"dwlj-tv\"" + }, + { + "question": "What is the longest number of weeks any 1 song was at number #1?", + "context": "create table table_19542477_9 (whole_weeks integer, PRIMARY KEY (whole_weeks))", + "answer": "select max(whole_weeks) from table_19542477_9" + }, + { + "question": "Who were the builders of the boat designed by Botin Carkeek?", + "context": "create table table_19872699_1 (builder varchar, design_firm varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_19872699_1 where design_firm = \"botin carkeek\"" + }, + { + "question": "Show the id and details for the investors who have the top 3 number of transactions.", + "context": "create table transactions (investor_id varchar, PRIMARY KEY (investor_id)); create table investors (investor_details varchar, investor_id varchar, PRIMARY KEY (investor_details))", + "answer": "select t2.investor_id, t1.investor_details from investors as t1 join transactions as t2 on t1.investor_id = t2.investor_id group by t2.investor_id order by count(*) desc limit 3" + }, + { + "question": "What is the name of the integrated where the component are customers?", + "context": "create table table_11944282_1 (integrated varchar, component varchar, PRIMARY KEY (integrated))", + "answer": "select integrated from table_11944282_1 where component = \"customers\"" + }, + { + "question": "How scored the most points where the record is 3-0 for the season?", + "context": "create table table_23285849_5 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23285849_5 where record = \"3-0\"" + }, + { + "question": "Show different locations of railways along with the corresponding number of railways at each location.", + "context": "create table railway (location varchar, PRIMARY KEY (location))", + "answer": "select location, count(*) from railway group by location" + }, + { + "question": "Where was the tour when jing junhong li jiawei played womens doubles?", + "context": "create table table_28138035_20 (year_location varchar, womens_doubles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_20 where womens_doubles = \"jing junhong li jiawei\"" + }, + { + "question": "Find the id and name of the staff who has been assigned for the shortest period.", + "context": "create table staff_department_assignments (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (staff_id varchar, staff_name varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.staff_id, t1.staff_name from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id order by date_assigned_to - date_assigned_from limit 1" + }, + { + "question": "List the names of members in ascending alphabetical order.", + "context": "create table member (name varchar, PRIMARY KEY (name))", + "answer": "select name from member order by name" + }, + { + "question": "What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?", + "context": "create table table_1341640_11 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341640_11 where candidates = \"newt gingrich (r) 59.1% dock h. davis (d) 40.9%\"" + }, + { + "question": "Name the number of master recording for doobie brothers the doobie brothers", + "context": "create table table_22457674_1 (master_recording varchar, artist varchar, PRIMARY KEY (master_recording))", + "answer": "select count(master_recording) from table_22457674_1 where artist = \"doobie brothers the doobie brothers\"" + }, + { + "question": "When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there?", + "context": "create table table_1714685_1 (title varchar, aired_in_japan_3 varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_1714685_1 where aired_in_japan_3 = \"7 april 2001 to 29 september 2001\"" + }, + { + "question": "Show the distinct fate of missions that involve ships with nationality \"United States\"", + "context": "create table mission (fate varchar, ship_id varchar, PRIMARY KEY (fate)); create table ship (ship_id varchar, nationality varchar, PRIMARY KEY (ship_id))", + "answer": "select distinct t1.fate from mission as t1 join ship as t2 on t1.ship_id = t2.ship_id where t2.nationality = \"united states\"" + }, + { + "question": "What is download bandwith where the provider is deutsche telekom ag?", + "context": "create table table_1773908_3 (down__up_to_kbit_s_ integer, provider varchar, PRIMARY KEY (down__up_to_kbit_s_))", + "answer": "select max(down__up_to_kbit_s_) from table_1773908_3 where provider = \"deutsche telekom ag\"" + }, + { + "question": "Which player went to Emporia State?", + "context": "create table table_10361230_1 (player_name varchar, college varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_10361230_1 where college = \"emporia state\"" + }, + { + "question": "what is the old English name of Saturday?", + "context": "create table table_2624098_1 (old_english_day_name varchar, modern_english_day_name varchar, PRIMARY KEY (old_english_day_name))", + "answer": "select old_english_day_name from table_2624098_1 where modern_english_day_name = \"saturday\"" + }, + { + "question": "Name the last match for argentina - estadio jos\u00e9 mar\u00eda minella", + "context": "create table table_23819979_3 (last_match varchar, final_place varchar, PRIMARY KEY (last_match))", + "answer": "select last_match from table_23819979_3 where final_place = \"argentina - estadio jos\u00e9 mar\u00eda minella\"" + }, + { + "question": "How many clubs are there?", + "context": "create table club (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from club" + }, + { + "question": "What are the famous titles of the artist \"Triumfall\"?", + "context": "create table artist (famous_title varchar, artist varchar, PRIMARY KEY (famous_title))", + "answer": "select famous_title from artist where artist = \"triumfall\"" + }, + { + "question": "Name the college for calgary stampeders", + "context": "create table table_16575609_4 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_16575609_4 where cfl_team = \"calgary stampeders\"" + }, + { + "question": "What is the lowest when pohang steelyard is the stadium?", + "context": "create table table_21824695_8 (lowest varchar, stadium varchar, PRIMARY KEY (lowest))", + "answer": "select lowest from table_21824695_8 where stadium = \"pohang steelyard\"" + }, + { + "question": "List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.", + "context": "create table problem_log (assigned_to_staff_id varchar, problem_id varchar, PRIMARY KEY (assigned_to_staff_id)); create table staff (staff_id varchar, PRIMARY KEY (staff_id))", + "answer": "select distinct staff_first_name, staff_last_name from staff as t1 join problem_log as t2 on t1.staff_id = t2.assigned_to_staff_id where t2.problem_id = 1" + }, + { + "question": "What was the installation date in El Paso, Texas?", + "context": "create table table_21821014_1 (installation_date varchar, location varchar, PRIMARY KEY (installation_date))", + "answer": "select installation_date from table_21821014_1 where location = \"el paso, texas\"" + }, + { + "question": "what's the\u00a0fuel delivery\u00a0where\u00a0power\u00a0is hp (kw) @6500 rpm", + "context": "create table table_11167610_1 (fuel_delivery varchar, power varchar, PRIMARY KEY (fuel_delivery))", + "answer": "select fuel_delivery from table_11167610_1 where power = \"hp (kw) @6500 rpm\"" + }, + { + "question": "How many different counts of the population in Cavinti in 2010 are there?", + "context": "create table table_216776_2 (population__2010_ varchar, municipality varchar, PRIMARY KEY (population__2010_))", + "answer": "select count(population__2010_) from table_216776_2 where municipality = \"cavinti\"" + }, + { + "question": "What was the record lowest temperature with a precipitation of 1.71 in.?", + "context": "create table table_26558_1 (record_low varchar, precip varchar, PRIMARY KEY (record_low))", + "answer": "select record_low from table_26558_1 where precip = \"1.71 in.\"" + }, + { + "question": "Name the directors for peter gawler", + "context": "create table table_25764073_3 (director_s_ varchar, writer_s_ varchar, PRIMARY KEY (director_s_))", + "answer": "select director_s_ from table_25764073_3 where writer_s_ = \"peter gawler\"" + }, + { + "question": "What is the original of the ipa ( rio de janeiro )translation ki\u0325 mo\u031e\u0255\u02c8t\u027ea\u027e\u025c\u0303w\u0303 n\u0250 \u02c8t\u025b\u0281\u0259 t\u0255\u0129\u0291i\u02c8t\u025c\u0303n\u0259?", + "context": "create table table_23915_4 (translation varchar, ipa___rio_de_janeiro__ varchar, PRIMARY KEY (translation))", + "answer": "select translation from table_23915_4 where ipa___rio_de_janeiro__ = \"ki\u0325 mo\u031e\u0255\u02c8t\u027ea\u027e\u025c\u0303w\u0303 n\u0250 \u02c8t\u025b\u0281\u0259 t\u0255\u0129\u0291i\u02c8t\u025c\u0303n\u0259\"" + }, + { + "question": "What was the author/editor/source when the l.a. ranking was 1st?", + "context": "create table table_19948664_2 (author___editor___source varchar, ranking_la__2_ varchar, PRIMARY KEY (author___editor___source))", + "answer": "select author___editor___source from table_19948664_2 where ranking_la__2_ = \"1st\"" + }, + { + "question": "Show all the planned delivery dates and actual delivery dates of bookings.", + "context": "create table bookings (planned_delivery_date varchar, actual_delivery_date varchar, PRIMARY KEY (planned_delivery_date))", + "answer": "select planned_delivery_date, actual_delivery_date from bookings" + }, + { + "question": "What is the number of distinct publication dates?", + "context": "create table publication (publication_date varchar, PRIMARY KEY (publication_date))", + "answer": "select count(distinct publication_date) from publication" + }, + { + "question": "Name the status for unemployment rate being 6.7%", + "context": "create table table_22815568_12 (status varchar, unemployment_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_12 where unemployment_rate = \"6.7%\"" + }, + { + "question": "What was Anthony Leung Kam-Chung previous position?", + "context": "create table table_2263674_1 (portfolio varchar, romanised_name varchar, PRIMARY KEY (portfolio))", + "answer": "select portfolio from table_2263674_1 where romanised_name = \"anthony leung kam-chung\"" + }, + { + "question": "Who was awarded mountains classification when Alessandro petacchi won?", + "context": "create table table_25551880_2 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_25551880_2 where winner = \"alessandro petacchi\"" + }, + { + "question": "How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?", + "context": "create table table_298883_5 (date_of_issue varchar, obverse varchar, PRIMARY KEY (date_of_issue))", + "answer": "select count(date_of_issue) from table_298883_5 where obverse = \"kumsusan memorial palace\"" + }, + { + "question": "Which films does the actor Alla Sergiyko star in?", + "context": "create table table_10236830_6 (film_name varchar, actors_name varchar, PRIMARY KEY (film_name))", + "answer": "select film_name from table_10236830_6 where actors_name = \"alla sergiyko\"" + }, + { + "question": "What are the names of the directors who made exactly one movie?", + "context": "create table movie (director varchar, PRIMARY KEY (director))", + "answer": "select director from movie group by director having count(*) = 1" + }, + { + "question": "what's\u00a0the mole\u00a0with\u00a0prize money\u00a0being \u20ac24,475", + "context": "create table table_13036251_1 (the_mole varchar, prize_money varchar, PRIMARY KEY (the_mole))", + "answer": "select the_mole from table_13036251_1 where prize_money = \"\u20ac24,475\"" + }, + { + "question": "Name the viewers for 520", + "context": "create table table_23958944_6 (us_viewers__in_millions_ varchar, production_number varchar, PRIMARY KEY (us_viewers__in_millions_))", + "answer": "select us_viewers__in_millions_ from table_23958944_6 where production_number = 520" + }, + { + "question": "What is the highest population in 2001?", + "context": "create table table_27366772_3 (population__2001_ integer, PRIMARY KEY (population__2001_))", + "answer": "select max(population__2001_) from table_27366772_3" + }, + { + "question": "What is the last episode in the series written by Gregory S. Malins?", + "context": "create table table_27714985_1 (no_s__in_series integer, written_by varchar, PRIMARY KEY (no_s__in_series))", + "answer": "select max(no_s__in_series) from table_27714985_1 where written_by = \"gregory s. malins\"" + }, + { + "question": "What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?", + "context": "create table table_16400024_1 (socket varchar, sspec_number varchar, PRIMARY KEY (socket))", + "answer": "select socket from table_16400024_1 where sspec_number = \"sl3f7(kc0)sl3fj(kc0)\"" + }, + { + "question": "How many roles are there?", + "context": "create table roles (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from roles" + }, + { + "question": "How many titles did Trupti Murgunde claim?", + "context": "create table table_12194021_1 (womens_doubles varchar, womens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_12194021_1 where womens_singles = \"trupti murgunde\"" + }, + { + "question": "What are the approved treatments when the antibody is bevacizumab?", + "context": "create table table_1661124_1 (approved_treatment_s_ varchar, antibody varchar, PRIMARY KEY (approved_treatment_s_))", + "answer": "select approved_treatment_s_ from table_1661124_1 where antibody = \"bevacizumab\"" + }, + { + "question": "Who won best actor?", + "context": "create table table_25926120_3 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_25926120_3 where name_of_award = \"best actor\"" + }, + { + "question": "Which skill is used in fixing the most number of faults? List the skill id and description.", + "context": "create table skills (skill_id varchar, skill_description varchar, PRIMARY KEY (skill_id)); create table skills_required_to_fix (skill_id varchar, PRIMARY KEY (skill_id))", + "answer": "select t1.skill_id, t1.skill_description from skills as t1 join skills_required_to_fix as t2 on t1.skill_id = t2.skill_id group by t1.skill_id order by count(*) desc limit 1" + }, + { + "question": "If class a is canadian and class aaa is wimberley, which possible school years could this fall on?", + "context": "create table table_14603212_1 (school_year varchar, class_aaa varchar, wimberley varchar, class_a varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_14603212_1 where class_aaa = wimberley and class_a = \"canadian\"" + }, + { + "question": "Who wrote the episode that aired February 4, 2010?", + "context": "create table table_23483182_1 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23483182_1 where original_air_date = \"february 4, 2010\"" + }, + { + "question": "What is january 15-16 when november 3 is 153?", + "context": "create table table_25355392_2 (january_15_16 varchar, november_3 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25355392_2 where november_3 = \"153\"" + }, + { + "question": "What is the place of the Pinyin transcription Xi Wangri?", + "context": "create table table_1805919_1 (standard_order integer, transcription__based_on_pinyin_ varchar, PRIMARY KEY (standard_order))", + "answer": "select max(standard_order) from table_1805919_1 where transcription__based_on_pinyin_ = \"xi wangri\"" + }, + { + "question": "How many aircrafts are there?", + "context": "create table aircraft (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from aircraft" + }, + { + "question": "Name the club for quevedo", + "context": "create table table_2454589_1 (club varchar, home_city varchar, PRIMARY KEY (club))", + "answer": "select club from table_2454589_1 where home_city = \"quevedo\"" + }, + { + "question": "How many affiliations does the University of Toledo have?", + "context": "create table table_28211213_1 (affiliation varchar, institution varchar, PRIMARY KEY (affiliation))", + "answer": "select count(affiliation) from table_28211213_1 where institution = \"university of toledo\"" + }, + { + "question": "Where is ropery lane and la matches 7 location?", + "context": "create table table_1176371_1 (location varchar, la_matches varchar, name_of_ground varchar, PRIMARY KEY (location))", + "answer": "select location from table_1176371_1 where la_matches = 7 and name_of_ground = \"ropery lane\"" + }, + { + "question": "What location had a VFL Game number of 9?", + "context": "create table table_16527640_3 (location varchar, vfl_games varchar, PRIMARY KEY (location))", + "answer": "select location from table_16527640_3 where vfl_games = 9" + }, + { + "question": "What was the amount of winners share (in $) in the game with a margin victory of 2 strokes?", + "context": "create table table_1940012_2 (winners_share___$__ varchar, margin_of_victory varchar, PRIMARY KEY (winners_share___$__))", + "answer": "select winners_share___$__ from table_1940012_2 where margin_of_victory = \"2 strokes\"" + }, + { + "question": "When sylvania, oh is the location what is the team nickname?", + "context": "create table table_28211213_2 (team_nickname varchar, location varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_28211213_2 where location = \"sylvania, oh\"" + }, + { + "question": "Name th epopulation may for general terrero", + "context": "create table table_2068761_1 (population__may_1 varchar, _2000_ varchar, barangay varchar, PRIMARY KEY (population__may_1))", + "answer": "select population__may_1, _2000_ from table_2068761_1 where barangay = \"general terrero\"" + }, + { + "question": "What party does joel r. poinsett represent?", + "context": "create table table_2668264_22 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668264_22 where incumbent = \"joel r. poinsett\"" + }, + { + "question": "Who is Jason Leffler's primary sponsor?", + "context": "create table table_1529793_1 (primary_sponsor_s_ varchar, driver_s_ varchar, PRIMARY KEY (primary_sponsor_s_))", + "answer": "select primary_sponsor_s_ from table_1529793_1 where driver_s_ = \"jason leffler\"" + }, + { + "question": "What is the road record for Vanderbilt?", + "context": "create table table_23183195_2 (road_record varchar, team varchar, PRIMARY KEY (road_record))", + "answer": "select count(road_record) from table_23183195_2 where team = \"vanderbilt\"" + }, + { + "question": "What are the team and starting year of technicians?", + "context": "create table technician (team varchar, starting_year varchar, PRIMARY KEY (team))", + "answer": "select team, starting_year from technician" + }, + { + "question": "Name the flight up for 10 december 1982 19:02:36 utc", + "context": "create table table_245801_1 (flight_up varchar, landing_date varchar, PRIMARY KEY (flight_up))", + "answer": "select flight_up from table_245801_1 where landing_date = \"10 december 1982 19:02:36 utc\"" + }, + { + "question": "What is the highest value for map number?", + "context": "create table table_198175_2 (map_number integer, PRIMARY KEY (map_number))", + "answer": "select max(map_number) from table_198175_2" + }, + { + "question": "What is the national rank of Windstream?", + "context": "create table table_21926985_2 (national_rank integer, company_name varchar, PRIMARY KEY (national_rank))", + "answer": "select min(national_rank) from table_21926985_2 where company_name = \"windstream\"" + }, + { + "question": "How many companies were created by Andy?", + "context": "create table manufacturers (founder varchar, PRIMARY KEY (founder))", + "answer": "select count(*) from manufacturers where founder = 'andy'" + }, + { + "question": "What is the top speed of a 4-speed automatic with production in 2002-2005?", + "context": "create table table_1857216_1 (top_speed varchar, transmission varchar, production varchar, PRIMARY KEY (top_speed))", + "answer": "select top_speed from table_1857216_1 where transmission = \"4-speed automatic\" and production = \"2002-2005\"" + }, + { + "question": "What was the result of the playoffs when the regular season was 7th, southeast", + "context": "create table table_1214035_1 (playoffs varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1214035_1 where regular_season = \"7th, southeast\"" + }, + { + "question": "what is the name of the episode whose writer is Timothy J. Lea and the director is Norberto Barba?", + "context": "create table table_22580855_1 (title varchar, written_by varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_22580855_1 where written_by = \"timothy j. lea\" and directed_by = \"norberto barba\"" + }, + { + "question": "Who was RL S\u00fcd (1st) when FK Pirmasens was RL S\u00fcdwest (1st)?", + "context": "create table table_20217456_7 (rl_s\u00fcd__1st_ varchar, rl_s\u00fcdwest__1st_ varchar, PRIMARY KEY (rl_s\u00fcd__1st_))", + "answer": "select rl_s\u00fcd__1st_ from table_20217456_7 where rl_s\u00fcdwest__1st_ = \"fk pirmasens\"" + }, + { + "question": "If the province is Nunavut, what is the Arabs 2011 amount?", + "context": "create table table_1939367_1 (arabs_2011 varchar, province varchar, PRIMARY KEY (arabs_2011))", + "answer": "select arabs_2011 from table_1939367_1 where province = \"nunavut\"" + }, + { + "question": "How much power does dwzf have?", + "context": "create table table_27588823_2 (power__kw_ varchar, callsign varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_27588823_2 where callsign = \"dwzf\"" + }, + { + "question": "what is the gdp ( bn ) where capital is capital?", + "context": "create table table_12108_1 (gdp___bn__ varchar, PRIMARY KEY (gdp___bn__))", + "answer": "select gdp___bn__ from table_12108_1 where \"capital\" = \"capital\"" + }, + { + "question": "To which party does Frank T. Bow belong?", + "context": "create table table_1341865_37 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341865_37 where incumbent = \"frank t. bow\"" + }, + { + "question": "What length of stay is permitted in the European Union?", + "context": "create table table_25965003_3 (length_of_stay_permitted varchar, countries_and_territories varchar, PRIMARY KEY (length_of_stay_permitted))", + "answer": "select length_of_stay_permitted from table_25965003_3 where countries_and_territories = \"european union\"" + }, + { + "question": "What is the Old Galician for cantaste in Portuguese?", + "context": "create table table_26614365_1 (old_galician__13th_15th_c_ varchar, portuguese varchar, PRIMARY KEY (old_galician__13th_15th_c_))", + "answer": "select old_galician__13th_15th_c_ from table_26614365_1 where portuguese = \"cantaste\"" + }, + { + "question": "what's the\u00a0type\u00a0with\u00a0description\u00a0being fires when the overflow state changes.", + "context": "create table table_1507852_5 (type varchar, description varchar, PRIMARY KEY (type))", + "answer": "select type from table_1507852_5 where description = \"fires when the overflow state changes.\"" + }, + { + "question": "Who was the High Assist when the High Rebounds was andre iguodala (8)?", + "context": "create table table_17323042_11 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17323042_11 where high_rebounds = \"andre iguodala (8)\"" + }, + { + "question": "Who was the home team who played plymouth argyle?", + "context": "create table table_24887326_8 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_24887326_8 where away_team = \"plymouth argyle\"" + }, + { + "question": "What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order.", + "context": "create table organisation_types (organisation_type varchar, organisation_type_description varchar, PRIMARY KEY (organisation_type)); create table organisations (organisation_type varchar, PRIMARY KEY (organisation_type))", + "answer": "select organisation_details from organisations as t1 join organisation_types as t2 on t1.organisation_type = t2.organisation_type where t2.organisation_type_description = 'sponsor' order by organisation_details" + }, + { + "question": "Name the year for is my magic", + "context": "create table table_21790203_1 (year__ceremony_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_21790203_1 where film_title_used_in_nomination = \"my magic\"" + }, + { + "question": "What is Lisladeen poor law union?", + "context": "create table table_30120566_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30120566_1 where townland = \"lisladeen\"" + }, + { + "question": "Find the types and details for all premises and order by the premise type.", + "context": "create table premises (premises_type varchar, premise_details varchar, PRIMARY KEY (premises_type))", + "answer": "select premises_type, premise_details from premises order by premises_type" + }, + { + "question": "Name the least road wins", + "context": "create table table_1585112_2 (road_wins integer, PRIMARY KEY (road_wins))", + "answer": "select min(road_wins) from table_1585112_2" + }, + { + "question": "Which major has the most students?", + "context": "create table student (major varchar, major varchar, PRIMARY KEY (major))", + "answer": "select major from student group by major order by count(*) desc limit 1" + }, + { + "question": "The hanja \u5c19\u5dde is for what capital?", + "context": "create table table_160510_1 (capital varchar, hanja varchar, PRIMARY KEY (capital))", + "answer": "select capital from table_160510_1 where hanja = \"\u5c19\u5dde\"" + }, + { + "question": "Name the opponent for black knights points 27", + "context": "create table table_21091145_1 (opponent varchar, black_knights_points varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_21091145_1 where black_knights_points = 27" + }, + { + "question": "Name the segment d for s cufflink", + "context": "create table table_15187735_18 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_18 where segment_a = \"s cufflink\"" + }, + { + "question": "When tiger-cats is the opponent what is the location?", + "context": "create table table_24136365_2 (location varchar, opponent varchar, PRIMARY KEY (location))", + "answer": "select location from table_24136365_2 where opponent = \"tiger-cats\"" + }, + { + "question": "how many\u00a0bubbles\u00a0with\u00a0category\u00a0being input", + "context": "create table table_1507852_5 (bubbles varchar, category varchar, PRIMARY KEY (bubbles))", + "answer": "select count(bubbles) from table_1507852_5 where category = \"input\"" + }, + { + "question": "what is the largest city where the population is 6620100?", + "context": "create table table_17416221_1 (largest_city varchar, population__2013_ varchar, PRIMARY KEY (largest_city))", + "answer": "select largest_city from table_17416221_1 where population__2013_ = 6620100" + }, + { + "question": "What is the batting team with the batting partnets of thilina kandamby and rangana herath?", + "context": "create table table_11303072_5 (batting_team varchar, batting_partners varchar, PRIMARY KEY (batting_team))", + "answer": "select batting_team from table_11303072_5 where batting_partners = \"thilina kandamby and rangana herath\"" + }, + { + "question": "How many car makers are there in france?", + "context": "create table countries (countryid varchar, countryname varchar, PRIMARY KEY (countryid)); create table car_makers (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from car_makers as t1 join countries as t2 on t1.country = t2.countryid where t2.countryname = 'france'" + }, + { + "question": "WHAT PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE?", + "context": "create table table_11251601_2 (percentage_of_global_total varchar, country varchar, PRIMARY KEY (percentage_of_global_total))", + "answer": "select percentage_of_global_total from table_11251601_2 where country = \"india\"" + }, + { + "question": "What mechanical has lpm regulation?", + "context": "create table table_1348246_3 (mechanical varchar, regulating varchar, PRIMARY KEY (mechanical))", + "answer": "select mechanical from table_1348246_3 where regulating = \"lpm\"" + }, + { + "question": "When pok\u00e9mon ieru kana? bw is the romaji who is the vocalist?", + "context": "create table table_2144389_9 (vocalist varchar, r\u014dmaji varchar, PRIMARY KEY (vocalist))", + "answer": "select vocalist from table_2144389_9 where r\u014dmaji = \"pok\u00e9mon ieru kana? bw\"" + }, + { + "question": "What's the title of the episode seen by 3.8 million people in the US?", + "context": "create table table_20046379_3 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_20046379_3 where us_viewers__millions_ = \"3.8\"" + }, + { + "question": "What is the difficulty of the athens circuit?", + "context": "create table table_24463470_1 (difficulty varchar, circuit varchar, PRIMARY KEY (difficulty))", + "answer": "select difficulty from table_24463470_1 where circuit = \"athens\"" + }, + { + "question": "When n/a is the cash fate and n/a is the 31-day pass how many types of fare are there?", + "context": "create table table_20803241_1 (type_of_fare varchar, cash_fare varchar, day_pass varchar, PRIMARY KEY (type_of_fare))", + "answer": "select count(type_of_fare) from table_20803241_1 where 31 - day_pass = \"n/a\" and cash_fare = \"n/a\"" + }, + { + "question": "Who had the highest rebounds in the game where the record was 27-54?", + "context": "create table table_23186738_10 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23186738_10 where record = \"27-54\"" + }, + { + "question": "What was the team record when the team played @ Utah?", + "context": "create table table_21197135_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_21197135_1 where opponent = \"@ utah\"" + }, + { + "question": "Who was the Best Male MC if Best Album won the Best Male Lyricist?", + "context": "create table table_22546460_4 (best_male_mc varchar, best_male_lyricist varchar, PRIMARY KEY (best_male_mc))", + "answer": "select best_male_mc from table_22546460_4 where best_male_lyricist = \"best album\"" + }, + { + "question": "How many classes between senior and junior year for world history", + "context": "create table table_13967239_2 (senior__4th_year_ varchar, junior__3rd_year_ varchar, PRIMARY KEY (senior__4th_year_))", + "answer": "select count(senior__4th_year_) from table_13967239_2 where junior__3rd_year_ = \"world history\"" + }, + { + "question": "What is the broadcast are for channel 1?", + "context": "create table table_2638104_1 (broadcast_area varchar, channel varchar, PRIMARY KEY (broadcast_area))", + "answer": "select broadcast_area from table_2638104_1 where channel = 1" + }, + { + "question": "What is the other name for martono\u0161?", + "context": "create table table_2562572_33 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_33 where settlement = \"martono\u0161\"" + }, + { + "question": "what is june 10-11 when march 27-29 is 149?", + "context": "create table table_25355392_2 (june_10_11 varchar, march_27_29 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25355392_2 where march_27_29 = \"149\"" + }, + { + "question": "What is the name of the corporation that incorporated on october 15, 1955?", + "context": "create table table_28367242_1 (corporate_name varchar, incorporation_date__city_ varchar, PRIMARY KEY (corporate_name))", + "answer": "select corporate_name from table_28367242_1 where incorporation_date__city_ = \"october 15, 1955\"" + }, + { + "question": "Name the dar for mtv rocks", + "context": "create table table_15887683_10 (dar varchar, television_service varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_10 where television_service = \"mtv rocks\"" + }, + { + "question": "how many exposures where there when the total exposure time is 105,000s?", + "context": "create table table_2583036_1 (exposures varchar, total_exposure_time varchar, PRIMARY KEY (exposures))", + "answer": "select exposures from table_2583036_1 where total_exposure_time = \"105,000s\"" + }, + { + "question": "Which college/junior/club team did the player play on that played for the Buffalo Sabres in NHL?", + "context": "create table table_1473672_3 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1473672_3 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "Find the location and all games score of the school that has Clemson as its team name.", + "context": "create table basketball_match (all_games varchar, school_id varchar, PRIMARY KEY (all_games)); create table university (location varchar, school_id varchar, PRIMARY KEY (location))", + "answer": "select t2.all_games, t1.location from university as t1 join basketball_match as t2 on t1.school_id = t2.school_id where team_name = 'clemson'" + }, + { + "question": "Show the id and details of the investor that has the largest number of transactions.", + "context": "create table transactions (investor_id varchar, PRIMARY KEY (investor_id)); create table investors (investor_details varchar, investor_id varchar, PRIMARY KEY (investor_details))", + "answer": "select t2.investor_id, t1.investor_details from investors as t1 join transactions as t2 on t1.investor_id = t2.investor_id group by t2.investor_id order by count(*) desc limit 1" + }, + { + "question": "What is the home team score where the home team is Fremantle?", + "context": "create table table_16388478_4 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388478_4 where home_team = \"fremantle\"" + }, + { + "question": "How many polls taken on different dates show an undecided percentage of 25%?", + "context": "create table table_20683381_2 (date_of_opinion_poll varchar, undecided varchar, PRIMARY KEY (date_of_opinion_poll))", + "answer": "select count(date_of_opinion_poll) from table_20683381_2 where undecided = \"25%\"" + }, + { + "question": "Show the name, phone, and payment method code for all customers in descending order of customer number.", + "context": "create table customers (customer_name varchar, customer_phone varchar, payment_method_code varchar, customer_number varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name, customer_phone, payment_method_code from customers order by customer_number desc" + }, + { + "question": "List the title of all cartoons in alphabetical order.", + "context": "create table cartoon (title varchar, title varchar, PRIMARY KEY (title))", + "answer": "select title from cartoon order by title" + }, + { + "question": "Show the student IDs and numbers of friends corresponding to each.", + "context": "create table friend (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id, count(*) from friend group by student_id" + }, + { + "question": "Who was the vacator when the date successor seated was august 21, 1973?", + "context": "create table table_1134091_4 (vacator varchar, date_successor_seated varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_1134091_4 where date_successor_seated = \"august 21, 1973\"" + }, + { + "question": "What is every value for sacks if interceptions is 19?", + "context": "create table table_27487336_1 (sacks varchar, interceptions varchar, PRIMARY KEY (sacks))", + "answer": "select sacks from table_27487336_1 where interceptions = \"19\"" + }, + { + "question": "What is the name of the episode that had 9.89 million U.S. viewers?", + "context": "create table table_24648983_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_24648983_1 where us_viewers__million_ = \"9.89\"" + }, + { + "question": "What network showed the season with Australia as the destination?", + "context": "create table table_20026849_1 (network varchar, destination varchar, PRIMARY KEY (network))", + "answer": "select network from table_20026849_1 where destination = \"australia\"" + }, + { + "question": "Show all allergy type with number of students affected.", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy)); create table allergy_type (allergytype varchar, allergy varchar, PRIMARY KEY (allergytype))", + "answer": "select t2.allergytype, count(*) from has_allergy as t1 join allergy_type as t2 on t1.allergy = t2.allergy group by t2.allergytype" + }, + { + "question": "Find the name of amenity that is most common in all dorms.", + "context": "create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table has_amenity (amenid varchar, PRIMARY KEY (amenid))", + "answer": "select t1.amenity_name from dorm_amenity as t1 join has_amenity as t2 on t1.amenid = t2.amenid group by t2.amenid order by count(*) desc limit 1" + }, + { + "question": "Who led the points classification when Roman Kreuziger led the young rider classification?", + "context": "create table table_14395920_2 (points_classification varchar, young_rider_classification varchar, PRIMARY KEY (points_classification))", + "answer": "select points_classification from table_14395920_2 where young_rider_classification = \"roman kreuziger\"" + }, + { + "question": "How many opponents were there when the record was 6-0?", + "context": "create table table_21197135_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_21197135_1 where record = \"6-0\"" + }, + { + "question": "What office is Jon Huntsman a candidate for?", + "context": "create table table_20246201_9 (office varchar, candidate varchar, PRIMARY KEY (office))", + "answer": "select office from table_20246201_9 where candidate = \"jon huntsman\"" + }, + { + "question": "What was the number for Schwante where B\u00e4renklau is 1.270?", + "context": "create table table_11680175_1 (schwante varchar, b\u00e4renklau varchar, PRIMARY KEY (schwante))", + "answer": "select schwante from table_11680175_1 where b\u00e4renklau = \"1.270\"" + }, + { + "question": "List all the product names with the color description \"white\".", + "context": "create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_name varchar, color_code varchar, PRIMARY KEY (product_name))", + "answer": "select t1.product_name from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t2.color_description = \"white\"" + }, + { + "question": "Show the number of document types.", + "context": "create table ref_document_types (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_document_types" + }, + { + "question": "How many different team captains does the club Sliven 2000 have?", + "context": "create table table_23214833_1 (team_captain varchar, club varchar, PRIMARY KEY (team_captain))", + "answer": "select count(team_captain) from table_23214833_1 where club = \"sliven 2000\"" + }, + { + "question": "On which dates did the episodes directed by TR Babu Subramaniam air?", + "context": "create table table_17355820_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_17355820_1 where directed_by = \"tr babu subramaniam\"" + }, + { + "question": "When ratkovo is the settlement what is the cyrllic name other names?", + "context": "create table table_2562572_25 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_25 where settlement = \"ratkovo\"" + }, + { + "question": "How many segment A were in series episode 14-05", + "context": "create table table_15187735_14 (segment_a varchar, series_ep varchar, PRIMARY KEY (segment_a))", + "answer": "select count(segment_a) from table_15187735_14 where series_ep = \"14-05\"" + }, + { + "question": "What years did the player from LaSalle play for the Rockets?", + "context": "create table table_11734041_2 (years_for_rockets varchar, school_club_team_country varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select years_for_rockets from table_11734041_2 where school_club_team_country = \"lasalle\"" + }, + { + "question": "how many verbs have the yo form as sienta?", + "context": "create table table_1977630_2 (verbs varchar, yo varchar, PRIMARY KEY (verbs))", + "answer": "select count(verbs) from table_1977630_2 where yo = \"sienta\"" + }, + { + "question": "What are all the metropolis / municipality where mayor is helen c. De castro", + "context": "create table table_255812_1 (city___municipality varchar, mayor varchar, PRIMARY KEY (city___municipality))", + "answer": "select city___municipality from table_255812_1 where mayor = \"helen c. de castro\"" + }, + { + "question": "What is the dysart of the principal?", + "context": "create table table_11340432_1 (dysart varchar, information varchar, PRIMARY KEY (dysart))", + "answer": "select dysart from table_11340432_1 where information = \"principal\"" + }, + { + "question": "Name the studio analysts for espn with erin andrews and tom rinaldi", + "context": "create table table_2724704_5 (studio_analyst_s_ varchar, network_s_ varchar, sideline_reporter_s_ varchar, PRIMARY KEY (studio_analyst_s_))", + "answer": "select studio_analyst_s_ from table_2724704_5 where network_s_ = \"espn\" and sideline_reporter_s_ = \"erin andrews and tom rinaldi\"" + }, + { + "question": "When the average away attendance is 1.889 in the Superettan, what's the average home attendance?", + "context": "create table table_1816947_2 (average_attendance_home varchar, division___section varchar, average_attendance_away varchar, PRIMARY KEY (average_attendance_home))", + "answer": "select average_attendance_home from table_1816947_2 where division___section = \"superettan\" and average_attendance_away = \"1.889\"" + }, + { + "question": "What is the semifinal result for Dorrie Timmermans-Van Hall?", + "context": "create table table_18602462_22 (semifinals varchar, athlete varchar, PRIMARY KEY (semifinals))", + "answer": "select semifinals from table_18602462_22 where athlete = \"dorrie timmermans-van hall\"" + }, + { + "question": "Name the party for tim lee hall", + "context": "create table table_1341672_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341672_14 where incumbent = \"tim lee hall\"" + }, + { + "question": "How many customers have email that contains \"gmail.com\"?", + "context": "create table customer (email varchar, PRIMARY KEY (email))", + "answer": "select count(*) from customer where email like \"%gmail.com%\"" + }, + { + "question": "In 2010, how many people lived in cities with a population density of 3,965.02?", + "context": "create table table_2004733_2 (population__2010_ varchar, population_density__2010_ varchar, PRIMARY KEY (population__2010_))", + "answer": "select population__2010_ from table_2004733_2 where population_density__2010_ = \"3,965.02\"" + }, + { + "question": "What are the names of people in ascending alphabetical order?", + "context": "create table people (name varchar, PRIMARY KEY (name))", + "answer": "select name from people order by name" + }, + { + "question": "What channel number is Gladiators on", + "context": "create table table_13549921_18 (new_channel_s_ varchar, programme varchar, PRIMARY KEY (new_channel_s_))", + "answer": "select new_channel_s_ from table_13549921_18 where programme = \"gladiators\"" + }, + { + "question": "How many data was given the total electricity in GW-h if % renewable is 92.3%?", + "context": "create table table_25244412_2 (total_electricity__gw varchar, _percentage_renewable varchar, PRIMARY KEY (total_electricity__gw))", + "answer": "select count(total_electricity__gw) as \u00b7h_ from table_25244412_2 where _percentage_renewable = \"92.3%\"" + }, + { + "question": "What week # featured first solo as the theme?", + "context": "create table table_21501564_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501564_1 where theme = \"first solo\"" + }, + { + "question": "What was the data on January 15-16 if March 27-29 is March 29, 2006?", + "context": "create table table_25216791_3 (january_15_16 varchar, march_27_29 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25216791_3 where march_27_29 = \"march 29, 2006\"" + }, + { + "question": "what's the\u00a0permanence of the body\u00a0where\u00a0constancy\u00a0is interestedness", + "context": "create table table_11609814_1 (permanence_of_the_body varchar, constancy varchar, PRIMARY KEY (permanence_of_the_body))", + "answer": "select permanence_of_the_body from table_11609814_1 where constancy = \"interestedness\"" + }, + { + "question": "What is the winning span for the name of bernard gallacher?", + "context": "create table table_1953516_1 (winning_span varchar, name varchar, PRIMARY KEY (winning_span))", + "answer": "select winning_span from table_1953516_1 where name = \"bernard gallacher\"" + }, + { + "question": "How many lessons were in cancelled state?", + "context": "create table lessons (lesson_status_code varchar, PRIMARY KEY (lesson_status_code))", + "answer": "select count(*) from lessons where lesson_status_code = \"cancelled\"" + }, + { + "question": "What is the number of meaning where full name is chidinma anulika?", + "context": "create table table_11908801_1 (meaning varchar, full_name varchar, PRIMARY KEY (meaning))", + "answer": "select count(meaning) from table_11908801_1 where full_name = \"chidinma anulika\"" + }, + { + "question": "How many p.ret are there when kr avg is 11.3 ?", + "context": "create table table_16912000_13 (p_ret varchar, kr_avg varchar, PRIMARY KEY (p_ret))", + "answer": "select count(p_ret) from table_16912000_13 where kr_avg = \"11.3\"" + }, + { + "question": "Which type of record has result/games of 9 games (57,144 avg.)", + "context": "create table table_21436373_6 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_6 where result_games = \"9 games (57,144 avg.)\"" + }, + { + "question": "Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit.", + "context": "create table student (id varchar, dept_name varchar, tot_cred varchar, PRIMARY KEY (id)); create table advisor (i_id varchar, s_id varchar, PRIMARY KEY (i_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from advisor as t1 join instructor as t2 on t1.i_id = t2.id join student as t3 on t1.s_id = t3.id where t3.dept_name = 'math' order by t3.tot_cred" + }, + { + "question": "Which city and state hosted the adelaide street circuit?", + "context": "create table table_26686908_2 (city___state varchar, circuit varchar, PRIMARY KEY (city___state))", + "answer": "select city___state from table_26686908_2 where circuit = \"adelaide street circuit\"" + }, + { + "question": "What member of the original Toronto cast played the character played by Constantine Maroulis in the first national tour cast?", + "context": "create table table_19529639_3 (original_toronto_cast varchar, first_national_tour_cast varchar, PRIMARY KEY (original_toronto_cast))", + "answer": "select original_toronto_cast from table_19529639_3 where first_national_tour_cast = \"constantine maroulis\"" + }, + { + "question": "Who are all the Moto2 winners when the grand prix was Shell Advance Malaysian Grand Prix?", + "context": "create table table_26781017_1 (moto2_winner varchar, grand_prix varchar, PRIMARY KEY (moto2_winner))", + "answer": "select moto2_winner from table_26781017_1 where grand_prix = \"shell advance malaysian grand_prix\"" + }, + { + "question": "What is the most Miss Fires any country has had?", + "context": "create table table_30008638_1 (miss_fire integer, PRIMARY KEY (miss_fire))", + "answer": "select max(miss_fire) from table_30008638_1" + }, + { + "question": "How many different store locations are there?", + "context": "create table shop (location varchar, PRIMARY KEY (location))", + "answer": "select count(distinct location) from shop" + }, + { + "question": "How many distinct teams are involved in match seasons?", + "context": "create table match_season (team varchar, PRIMARY KEY (team))", + "answer": "select count(distinct team) from match_season" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0incumbent\u00a0being herbert covington bonner", + "context": "create table table_1341930_33 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341930_33 where incumbent = \"herbert covington bonner\"" + }, + { + "question": "When guiguinto, bulacan is the home or representative town or province how many names are there?", + "context": "create table table_19061741_3 (name varchar, home_or_representative_town_or_province varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_19061741_3 where home_or_representative_town_or_province = \"guiguinto, bulacan\"" + }, + { + "question": "How many export volume of goods and services values are associated with GDP at current prices of 161.340?", + "context": "create table table_30133_1 (export_volume_of_goods_and_services__percent_change_ varchar, gdp_at_current_prices__usd_billions_ varchar, PRIMARY KEY (export_volume_of_goods_and_services__percent_change_))", + "answer": "select count(export_volume_of_goods_and_services__percent_change_) from table_30133_1 where gdp_at_current_prices__usd_billions_ = \"161.340\"" + }, + { + "question": "Is wireless combo keyboard and mouse support part of the DDM class?", + "context": "create table table_1153898_1 (ddm_class varchar, comparisons varchar, PRIMARY KEY (ddm_class))", + "answer": "select ddm_class from table_1153898_1 where comparisons = \"wireless combo keyboard and mouse support\"" + }, + { + "question": "What is the title of the show with director Paul Annett?", + "context": "create table table_2582519_6 (title varchar, director varchar, PRIMARY KEY (title))", + "answer": "select title from table_2582519_6 where director = \"paul annett\"" + }, + { + "question": "Luis Salom had the fastest lap on which circuits?", + "context": "create table table_18303274_1 (circuit varchar, fastest_lap varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_18303274_1 where fastest_lap = \"luis salom\"" + }, + { + "question": "Can one access the Jersey territory using a Croatian identity card?", + "context": "create table table_25965003_3 (access_using_a_croatian_identity_card varchar, countries_and_territories varchar, PRIMARY KEY (access_using_a_croatian_identity_card))", + "answer": "select access_using_a_croatian_identity_card from table_25965003_3 where countries_and_territories = \"jersey\"" + }, + { + "question": "List the name of a building along with the name of a company whose office is in the building.", + "context": "create table buildings (name varchar, id varchar, PRIMARY KEY (name)); create table office_locations (building_id varchar, company_id varchar, PRIMARY KEY (building_id)); create table companies (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t3.name, t2.name from office_locations as t1 join buildings as t2 on t1.building_id = t2.id join companies as t3 on t1.company_id = t3.id" + }, + { + "question": "What is every institution with a nickname of Ravens?", + "context": "create table table_262514_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_262514_1 where nickname = \"ravens\"" + }, + { + "question": "If the hometown is Omuthiya, what is the contestant name?", + "context": "create table table_23576576_2 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_23576576_2 where hometown = \"omuthiya\"" + }, + { + "question": "Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.", + "context": "create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))", + "answer": "select t3.amenity_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t1.dorm_name = 'smith hall' order by t3.amenity_name" + }, + { + "question": "Who was the team swash when the team guest captain was gail porter?", + "context": "create table table_25816476_2 (team_swash varchar, team_guest_captain varchar, PRIMARY KEY (team_swash))", + "answer": "select team_swash from table_25816476_2 where team_guest_captain = \"gail porter\"" + }, + { + "question": "How many captains have the kitmaker as n/a?", + "context": "create table table_27631756_2 (captain varchar, kitmaker varchar, PRIMARY KEY (captain))", + "answer": "select count(captain) from table_27631756_2 where kitmaker = \"n/a\"" + }, + { + "question": "what's the\u00a0team\u00a0with\u00a0stadium\u00a0being borough briggs", + "context": "create table table_14003108_1 (team varchar, stadium varchar, PRIMARY KEY (team))", + "answer": "select team from table_14003108_1 where stadium = \"borough briggs\"" + }, + { + "question": "Which month has the most happy hours?", + "context": "create table happy_hour (month varchar, PRIMARY KEY (month))", + "answer": "select month from happy_hour group by month order by count(*) desc limit 1" + }, + { + "question": "What was the overall record of Oral Roberts college?", + "context": "create table table_16295365_1 (record varchar, school varchar, PRIMARY KEY (record))", + "answer": "select record from table_16295365_1 where school = \"oral roberts\"" + }, + { + "question": "Was there HDTV when the service was Priv\u00e8?", + "context": "create table table_15887683_19 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_19 where television_service = \"priv\u00e8\"" + }, + { + "question": "What is the minimum number of 50s scored?", + "context": "create table table_27922491_24 (id varchar, PRIMARY KEY (id))", + "answer": "select min(50 as s) from table_27922491_24" + }, + { + "question": "What is every name origin with the name Ovda Fluctus?", + "context": "create table table_16799784_12 (name varchar, PRIMARY KEY (name))", + "answer": "select name as origin from table_16799784_12 where name = \"ovda fluctus\"" + }, + { + "question": "What is the maximum total wins he had for any year?", + "context": "create table table_22839669_12 (total_wins integer, PRIMARY KEY (total_wins))", + "answer": "select max(total_wins) from table_22839669_12" + }, + { + "question": "What is the affiliation when the institution was ohio christian university?", + "context": "create table table_24195232_1 (affiliation varchar, institution varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_24195232_1 where institution = \"ohio christian university\"" + }, + { + "question": "what is the number of provincial captial where the province is northern cape?", + "context": "create table table_17416221_1 (provincial_capital varchar, province varchar, PRIMARY KEY (provincial_capital))", + "answer": "select count(provincial_capital) from table_17416221_1 where province = \"northern cape\"" + }, + { + "question": "What is the media market ranking for the Blackhawks?", + "context": "create table table_1205598_1 (media_market_ranking varchar, nhl_team_s_ varchar, PRIMARY KEY (media_market_ranking))", + "answer": "select count(media_market_ranking) from table_1205598_1 where nhl_team_s_ = \"blackhawks\"" + }, + { + "question": "For team reggina please mention all the outgoing manager", + "context": "create table table_27114708_2 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27114708_2 where team = \"reggina\"" + }, + { + "question": "Show all document ids and the number of paragraphs in each document. Order by document id.", + "context": "create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, count(*) from paragraphs group by document_id order by document_id" + }, + { + "question": "How many regions are affected?", + "context": "create table affected_region (region_id varchar, PRIMARY KEY (region_id))", + "answer": "select count(distinct region_id) from affected_region" + }, + { + "question": "Which major has between 2 and 30 number of students? List major and the number of students.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select major, count(*) from student group by major having count(major) between 2 and 30" + }, + { + "question": "Which division has an average home attendance of 2.459?", + "context": "create table table_1816947_2 (division___section varchar, average_attendance_home varchar, PRIMARY KEY (division___section))", + "answer": "select division___section from table_1816947_2 where average_attendance_home = \"2.459\"" + }, + { + "question": "What was the week ranking of the episode written by Thomas L. Moran and directed by Andrew Bernstein?", + "context": "create table table_23177573_1 (rank__week_ varchar, written_by varchar, directed_by varchar, PRIMARY KEY (rank__week_))", + "answer": "select rank__week_ from table_23177573_1 where written_by = \"thomas l. moran\" and directed_by = \"andrew bernstein\"" + }, + { + "question": "Who was eliminated from the competition when pau proceed to the quarter final?", + "context": "create table table_28068063_3 (eliminated_from_competition varchar, proceed_to_quarter_final varchar, PRIMARY KEY (eliminated_from_competition))", + "answer": "select eliminated_from_competition from table_28068063_3 where proceed_to_quarter_final = \"pau\"" + }, + { + "question": "How many courses are offered by the Computer Info. Systems department?", + "context": "create table course (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*) from department as t1 join course as t2 on t1.dept_code = t2.dept_code where dept_name = \"computer info. systems\"" + }, + { + "question": "What stadium was the 1994 Gator Bowl in?", + "context": "create table table_15190346_2 (stadium varchar, bowl_game varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_15190346_2 where bowl_game = \"1994 gator bowl\"" + }, + { + "question": "How many courses that do not have prerequisite?", + "context": "create table prereq (course_id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select count(*) from course where not course_id in (select course_id from prereq)" + }, + { + "question": "Name the awardee for tingya", + "context": "create table table_24446718_3 (awardee_s_ varchar, name_of_film varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_24446718_3 where name_of_film = \"tingya\"" + }, + { + "question": "What is the population density of Caramoran?", + "context": "create table table_255829_1 (pop_density__per_km_2__ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km_2__))", + "answer": "select pop_density__per_km_2__ from table_255829_1 where municipality = \"caramoran\"" + }, + { + "question": "Name the years in orlando for penn state", + "context": "create table table_15621965_1 (years_in_orlando varchar, school_club_team varchar, PRIMARY KEY (years_in_orlando))", + "answer": "select years_in_orlando from table_15621965_1 where school_club_team = \"penn state\"" + }, + { + "question": "What is the document id, template id and description for document named \"Robbin CV\"?", + "context": "create table documents (document_id varchar, template_id varchar, document_description varchar, document_name varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, template_id, document_description from documents where document_name = \"robbin cv\"" + }, + { + "question": "When Brett Lancaster won the general classification, who won the team calssification?", + "context": "create table table_25055040_22 (team_classification varchar, general_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_25055040_22 where general_classification = \"brett lancaster\"" + }, + { + "question": "What was the table position for the team whose outgoing manager was Brian Laws?", + "context": "create table table_26593762_3 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_26593762_3 where outgoing_manager = \"brian laws\"" + }, + { + "question": "Find the first name and office of history professor who did not get a Ph.D. degree.", + "context": "create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, prof_high_degree varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname))", + "answer": "select t2.emp_fname, t1.prof_office from professor as t1 join employee as t2 on t1.emp_num = t2.emp_num join department as t3 on t1.dept_code = t3.dept_code where t3.dept_name = 'history' and t1.prof_high_degree <> 'ph.d.'" + }, + { + "question": "what is the total rank where the rank is 58?", + "context": "create table table_15681686_4 (rank__timeslot_ varchar, rank__week_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select count(rank__timeslot_) from table_15681686_4 where rank__week_ = \"58\"" + }, + { + "question": "Find names of all students who took some course and got A or C.", + "context": "create table enroll (stu_num varchar, enroll_grade varchar, PRIMARY KEY (stu_num)); create table student (stu_fname varchar, stu_lname varchar, stu_num varchar, PRIMARY KEY (stu_fname))", + "answer": "select t1.stu_fname, t1.stu_lname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where t2.enroll_grade = 'c' or t2.enroll_grade = 'a'" + }, + { + "question": "how many endings have american pronounciation \u0259s", + "context": "create table table_17798093_20 (australian varchar, american varchar, PRIMARY KEY (australian))", + "answer": "select count(australian) from table_17798093_20 where american = \"\u0259s\"" + }, + { + "question": "What is the market value of a company in billions that has 172.7 billion in sales?", + "context": "create table table_1682026_6 (market_value__billion_$_ varchar, sales__billion_$_ varchar, PRIMARY KEY (market_value__billion_$_))", + "answer": "select market_value__billion_$_ from table_1682026_6 where sales__billion_$_ = \"172.7\"" + }, + { + "question": "Who was the republican candidate in 2013 when Staten Island was 451?", + "context": "create table table_1108394_6 (staten_island varchar, PRIMARY KEY (staten_island))", + "answer": "select 2013 as _republican_primary from table_1108394_6 where staten_island = \"451\"" + }, + { + "question": "What's the BTU/Gal of the fuel whose kWh/Gal is 24.04?", + "context": "create table table_2224692_1 (btu_gal varchar, kwh_gal varchar, PRIMARY KEY (btu_gal))", + "answer": "select btu_gal from table_2224692_1 where kwh_gal = \"24.04\"" + }, + { + "question": "What is the theme when the date of issue is 11 january 2010?", + "context": "create table table_25468520_1 (theme varchar, date_of_issue varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_25468520_1 where date_of_issue = \"11 january 2010\"" + }, + { + "question": "List the authors who do not have submission to any workshop.", + "context": "create table acceptance (author varchar, submission_id varchar, PRIMARY KEY (author)); create table submission (author varchar, submission_id varchar, PRIMARY KEY (author))", + "answer": "select author from submission where not submission_id in (select submission_id from acceptance)" + }, + { + "question": "How many groups of candidates are there in there in the district where the incumbent is Doc Hastings?", + "context": "create table table_16185956_1 (incumbent varchar, PRIMARY KEY (incumbent))", + "answer": "select count(2008 as _candidates) from table_16185956_1 where incumbent = \"doc hastings\"" + }, + { + "question": "Name the past habitual for \u0917\u0930\u094d\u091b garcha 'he does'", + "context": "create table table_16337329_5 (past_habitual varchar, probable_future varchar, PRIMARY KEY (past_habitual))", + "answer": "select past_habitual from table_16337329_5 where probable_future = \"\u0917\u0930\u094d\u091b garcha 'he does'\"" + }, + { + "question": "How many times was the candidates dick gephardt (d) 81.9% lee buchschacher (r) 18.1%?", + "context": "create table table_1341663_26 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_1341663_26 where candidates = \"dick gephardt (d) 81.9% lee buchschacher (r) 18.1%\"" + }, + { + "question": "How many stadiums have haka as the club?", + "context": "create table table_29250534_1 (stadium varchar, club varchar, PRIMARY KEY (stadium))", + "answer": "select count(stadium) from table_29250534_1 where club = \"haka\"" + }, + { + "question": "Who did the Orangemen play against when their record was 5-1?", + "context": "create table table_23346983_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_23346983_1 where record = \"5-1\"" + }, + { + "question": "What are the directions for the guardian whose weapon is kha\u1e0dga (sword)?", + "context": "create table table_100518_1 (direction varchar, weapon varchar, PRIMARY KEY (direction))", + "answer": "select direction from table_100518_1 where weapon = \"kha\u1e0dga (sword)\"" + }, + { + "question": "how many times is march 27-29 is 129?", + "context": "create table table_25355392_2 (november_3 varchar, march_27_29 varchar, PRIMARY KEY (november_3))", + "answer": "select count(november_3) from table_25355392_2 where march_27_29 = \"129\"" + }, + { + "question": "List the name, nationality and id of all male architects ordered by their names lexicographically.", + "context": "create table architect (name varchar, nationality varchar, id varchar, gender varchar, PRIMARY KEY (name))", + "answer": "select name, nationality, id from architect where gender = 'male' order by name" + }, + { + "question": "Display all the information about the department Marketing.", + "context": "create table departments (department_name varchar, PRIMARY KEY (department_name))", + "answer": "select * from departments where department_name = 'marketing'" + }, + { + "question": "What is the verb meaning of the word with part 3 \"sufun\"?", + "context": "create table table_1745843_8 (verb_meaning varchar, part_3 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select verb_meaning from table_1745843_8 where part_3 = \"sufun\"" + }, + { + "question": "Find the names of all instructors in computer science department", + "context": "create table instructor (name varchar, dept_name varchar, PRIMARY KEY (name))", + "answer": "select name from instructor where dept_name = 'comp. sci.'" + }, + { + "question": "Which kickoff has the opponent at new orleans saints?", + "context": "create table table_11449590_2 (kickoff_ varchar, a_ varchar, opponent varchar, PRIMARY KEY (kickoff_))", + "answer": "select kickoff_[a_] from table_11449590_2 where opponent = \"at new orleans saints\"" + }, + { + "question": "When \u0434\u0435\u0440\u043e\u045a\u0435 is the cyrillic name other names what is the largest ethnic group of 2002?", + "context": "create table table_2562572_25 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_25 where cyrillic_name_other_names = \"\u0434\u0435\u0440\u043e\u045a\u0435\"" + }, + { + "question": "What date did the Green-Communists receive 5.7%?", + "context": "create table table_1881642_1 (date_released varchar, green_communist varchar, PRIMARY KEY (date_released))", + "answer": "select date_released from table_1881642_1 where green_communist = \"5.7%\"" + }, + { + "question": "what's the\u00a0lowest elevation\u00a0with\u00a0highest point\u00a0being charles mound", + "context": "create table table_1416612_1 (lowest_elevation varchar, highest_point varchar, PRIMARY KEY (lowest_elevation))", + "answer": "select lowest_elevation from table_1416612_1 where highest_point = \"charles mound\"" + }, + { + "question": "What make was the car driven by Jeff Gordon?", + "context": "create table table_27940569_1 (make varchar, driver varchar, PRIMARY KEY (make))", + "answer": "select make from table_27940569_1 where driver = \"jeff gordon\"" + }, + { + "question": "How many distinct students have been in detention?", + "context": "create table students_in_detention (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select count(distinct student_id) from students_in_detention" + }, + { + "question": "Who was the candidate when the incumbent was Richard C. White?", + "context": "create table table_1341843_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341843_44 where incumbent = \"richard c. white\"" + }, + { + "question": "How many agencies did Budarin Nikolai Budarin working for?", + "context": "create table table_14125006_1 (agency varchar, astronaut varchar, PRIMARY KEY (agency))", + "answer": "select count(agency) from table_14125006_1 where astronaut = \"budarin nikolai budarin\"" + }, + { + "question": "Who has the most assists on Denver?", + "context": "create table table_17311812_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17311812_8 where team = \"denver\"" + }, + { + "question": "What are the names of workshop groups in which services with product name \"film\" are performed?", + "context": "create table services (workshop_group_id varchar, product_name varchar, PRIMARY KEY (workshop_group_id)); create table drama_workshop_groups (store_phone varchar, store_email_address varchar, workshop_group_id varchar, PRIMARY KEY (store_phone))", + "answer": "select t1.store_phone, t1.store_email_address from drama_workshop_groups as t1 join services as t2 on t1.workshop_group_id = t2.workshop_group_id where t2.product_name = \"film\"" + }, + { + "question": "What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard?", + "context": "create table table_27369069_4 (province varchar, soccer_stadium varchar, PRIMARY KEY (province))", + "answer": "select province from table_27369069_4 where soccer_stadium = \"terrain #2 of complexe sportif claude-robillard\"" + }, + { + "question": "What circuit was the race where Hideki Mutoh had the fastest lap?", + "context": "create table table_10264179_2 (circuit varchar, fastest_lap varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_10264179_2 where fastest_lap = \"hideki mutoh\"" + }, + { + "question": "How many products are there under the category \"Seeds\"?", + "context": "create table products (product_category_code varchar, PRIMARY KEY (product_category_code))", + "answer": "select count(*) from products where product_category_code = \"seeds\"" + }, + { + "question": "What is the date of appointment when replaced by is roy hodgson?", + "context": "create table table_10592536_8 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_10592536_8 where replaced_by = \"roy hodgson\"" + }, + { + "question": "How many companies are there?", + "context": "create table companies (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from companies" + }, + { + "question": "What is the ydi minimum?", + "context": "create table table_25773915_11 (ydl integer, PRIMARY KEY (ydl))", + "answer": "select min(ydl) from table_25773915_11" + }, + { + "question": "What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?", + "context": "create table table_1480455_1 (population__2005_ varchar, population_density___km_2__ varchar, PRIMARY KEY (population__2005_))", + "answer": "select count(population__2005_) from table_1480455_1 where population_density___km_2__ = \"35.9\"" + }, + { + "question": "What teams does jim mcinally manage?", + "context": "create table table_11207040_6 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_11207040_6 where outgoing_manager = \"jim mcinally\"" + }, + { + "question": "What is the number of region 4 for the series of the complete seventh series?", + "context": "create table table_1337525_1 (region_4 varchar, complete_series varchar, PRIMARY KEY (region_4))", + "answer": "select count(region_4) from table_1337525_1 where complete_series = \"the complete seventh series\"" + }, + { + "question": "Give me the start station and end station for the trips with the three oldest id.", + "context": "create table trip (start_station_name varchar, end_station_name varchar, id varchar, PRIMARY KEY (start_station_name))", + "answer": "select start_station_name, end_station_name from trip order by id limit 3" + }, + { + "question": "What is the earnings per share when the net profit is 16.2 million dollars?", + "context": "create table table_18077713_1 (earnings_per_share__\u00a2_ varchar, net_profit__us_$m_ varchar, PRIMARY KEY (earnings_per_share__\u00a2_))", + "answer": "select earnings_per_share__\u00a2_ from table_18077713_1 where net_profit__us_$m_ = \"16.2\"" + }, + { + "question": "What couple had a vote percentage of 7.691%", + "context": "create table table_19744915_15 (couple varchar, vote_percentage varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_19744915_15 where vote_percentage = \"7.691%\"" + }, + { + "question": "Find the full name of employee who supported the most number of customers.", + "context": "create table employees (first_name varchar, last_name varchar, id varchar, PRIMARY KEY (first_name)); create table customers (support_rep_id varchar, PRIMARY KEY (support_rep_id))", + "answer": "select t1.first_name, t1.last_name from employees as t1 join customers as t2 on t1.id = t2.support_rep_id group by t1.id order by count(*) desc limit 1" + }, + { + "question": "What is the Poor Law Union for Coolkirky?", + "context": "create table table_30120633_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30120633_1 where townland = \"coolkirky\"" + }, + { + "question": "When was the first UK broadcast for the episode with an official TNS Gallup rating of 1575000?", + "context": "create table table_26591309_2 (first_broadcast_uk___bbc_four__ varchar, official_tns_gallup_ratings varchar, PRIMARY KEY (first_broadcast_uk___bbc_four__))", + "answer": "select first_broadcast_uk___bbc_four__ from table_26591309_2 where official_tns_gallup_ratings = 1575000" + }, + { + "question": "How many 3rd ru does Costa Rica have?", + "context": "create table table_17522854_6 (country varchar, PRIMARY KEY (country))", + "answer": "select max(3 as rd_ru) from table_17522854_6 where country = \"costa rica\"" + }, + { + "question": "What was the teams record when they played the ottawa senators?", + "context": "create table table_27539535_7 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_27539535_7 where opponent = \"ottawa senators\"" + }, + { + "question": "Name the para for 1.5% commewijne", + "context": "create table table_16886076_1 (para varchar, commewijne varchar, PRIMARY KEY (para))", + "answer": "select para from table_16886076_1 where commewijne = \"1.5%\"" + }, + { + "question": "How many dvd titled \"series 5\" were released having a release date or a non available date in region 2?", + "context": "create table table_17697980_1 (region_2 varchar, dvd_title varchar, PRIMARY KEY (region_2))", + "answer": "select count(region_2) from table_17697980_1 where dvd_title = \"series 5\"" + }, + { + "question": "Name the total viewers on hallmark for pilot", + "context": "create table table_24222929_4 (total_viewers_on_hallmark varchar, title varchar, PRIMARY KEY (total_viewers_on_hallmark))", + "answer": "select total_viewers_on_hallmark + 1 from table_24222929_4 where title = \"pilot\"" + }, + { + "question": "What is the original artist when the vocal percussionist is Alexei Kalveks?", + "context": "create table table_28715942_5 (original_artist varchar, vocal_percussionist varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_28715942_5 where vocal_percussionist = \"alexei kalveks\"" + }, + { + "question": "For High Assists of Raymond Felton (12), who were the High rebounds?", + "context": "create table table_17001658_10 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17001658_10 where high_assists = \"raymond felton (12)\"" + }, + { + "question": "Show total hours per week and number of games played for student David Shieber.", + "context": "create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select sum(hoursperweek), sum(gamesplayed) from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid where t2.fname = \"david\" and t2.lname = \"shieber\"" + }, + { + "question": "display the department name and number of employees in each of the department.", + "context": "create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name)); create table employees (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select t2.department_name, count(*) from employees as t1 join departments as t2 on t1.department_id = t2.department_id group by t2.department_name" + }, + { + "question": "When there are 9.28 million viewers what is the share (18-49)?", + "context": "create table table_28980706_4 (share__18_49_ varchar, viewers__millions_ varchar, PRIMARY KEY (share__18_49_))", + "answer": "select share__18_49_ from table_28980706_4 where viewers__millions_ = \"9.28\"" + }, + { + "question": "Find the name of the ships that have more than one captain.", + "context": "create table captain (ship_id varchar, PRIMARY KEY (ship_id)); create table ship (name varchar, ship_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from ship as t1 join captain as t2 on t1.ship_id = t2.ship_id group by t2.ship_id having count(*) > 1" + }, + { + "question": "Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?", + "context": "create table table_29295463_9 (semifinalists varchar, champion varchar, PRIMARY KEY (semifinalists))", + "answer": "select semifinalists from table_29295463_9 where champion = \"mats wilander 7-6, 6-3\"" + }, + { + "question": "Who directed the show that was viewed by 2.06 million U.S. people?", + "context": "create table table_11694832_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11694832_1 where us_viewers__millions_ = \"2.06\"" + }, + { + "question": "What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico?", + "context": "create table table_11622562_1 (location varchar, PRIMARY KEY (location))", + "answer": "select min(1 as st_prize__) as $__ from table_11622562_1 where location = \"new mexico\"" + }, + { + "question": "What poor law union is Curradonohoe a part of?", + "context": "create table table_30120555_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30120555_1 where townland = \"curradonohoe\"" + }, + { + "question": "Name the least episode for november 29, 1985", + "context": "create table table_20967430_2 (ep integer, original_air_date varchar, PRIMARY KEY (ep))", + "answer": "select min(ep) from table_20967430_2 where original_air_date = \"november 29, 1985\"" + }, + { + "question": "How many entries are listed for party during the 69th congress?", + "context": "create table table_2841865_2 (party varchar, congress varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2841865_2 where congress = \"69th\"" + }, + { + "question": "WHat is the them for the order #2?", + "context": "create table table_26250145_1 (theme varchar, order__number varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_26250145_1 where order__number = \"2\"" + }, + { + "question": "Show the names of conductors that have conducted more than one orchestras.", + "context": "create table orchestra (conductor_id varchar, PRIMARY KEY (conductor_id)); create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id having count(*) > 1" + }, + { + "question": "What is the first year course in the program where geometry is taken in the third year?", + "context": "create table table_12148147_2 (first_year varchar, third_year varchar, PRIMARY KEY (first_year))", + "answer": "select first_year from table_12148147_2 where third_year = \"geometry\"" + }, + { + "question": "When winner is the status and 77 is the total days in pbb house what is the edition?", + "context": "create table table_19061741_3 (edition varchar, total_days_in_pbb_house varchar, status varchar, PRIMARY KEY (edition))", + "answer": "select edition from table_19061741_3 where total_days_in_pbb_house = 77 and status = \"winner\"" + }, + { + "question": "Show the number of transactions with transaction type code \"SALE\" for different investors if it is larger than 0.", + "context": "create table transactions (investor_id varchar, transaction_type_code varchar, PRIMARY KEY (investor_id))", + "answer": "select investor_id, count(*) from transactions where transaction_type_code = \"sale\" group by investor_id" + }, + { + "question": "For each nomination, show the name of the artwork and name of the festival where it is nominated.", + "context": "create table artwork (name varchar, artwork_id varchar, PRIMARY KEY (name)); create table nomination (artwork_id varchar, festival_id varchar, PRIMARY KEY (artwork_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name))", + "answer": "select t2.name, t3.festival_name from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id" + }, + { + "question": "If the event number is 5, what is the winner total number?", + "context": "create table table_2534387_11 (winner varchar, event__number varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_2534387_11 where event__number = 5" + }, + { + "question": "Show the company name and the main industry for all companies whose headquarters are not from USA.", + "context": "create table company (company varchar, main_industry varchar, headquarters varchar, PRIMARY KEY (company))", + "answer": "select company, main_industry from company where headquarters <> 'usa'" + }, + { + "question": "In which league would you find the player with a comp percentage of 54.0?", + "context": "create table table_18686317_1 (leagues varchar, comp__percentage varchar, PRIMARY KEY (leagues))", + "answer": "select leagues from table_18686317_1 where comp__percentage = \"54.0\"" + }, + { + "question": "Who owned the team Jeremy Mayfield raced for?", + "context": "create table table_1529793_1 (listed_owner_s_ varchar, driver_s_ varchar, PRIMARY KEY (listed_owner_s_))", + "answer": "select listed_owner_s_ from table_1529793_1 where driver_s_ = \"jeremy mayfield\"" + }, + { + "question": "For the model/engine of 1.8 Duratec HE, what is the torque?", + "context": "create table table_1212189_1 (torque__nm__rpm varchar, model_engine varchar, PRIMARY KEY (torque__nm__rpm))", + "answer": "select torque__nm__rpm from table_1212189_1 where model_engine = \"1.8 duratec he\"" + }, + { + "question": "Name the devices per channel for 2560", + "context": "create table table_174151_5 (devices_per_channel varchar, raw_bandwidth__mbit_s_ varchar, PRIMARY KEY (devices_per_channel))", + "answer": "select devices_per_channel from table_174151_5 where raw_bandwidth__mbit_s_ = 2560" + }, + { + "question": "What is the total number of January (\u00b0C) temperatures when the July (\u00b0C) temperatures were 22/13?", + "context": "create table table_21980_1 (january__ varchar, july__\u00b0c_ varchar, PRIMARY KEY (january__))", + "answer": "select count(january__) as \u00b0c_ from table_21980_1 where july__\u00b0c_ = \"22/13\"" + }, + { + "question": "where was the abbas family and the pickering family located", + "context": "create table table_19897294_9 (location_s_ varchar, family_families varchar, PRIMARY KEY (location_s_))", + "answer": "select location_s_ from table_19897294_9 where family_families = \"the abbas family and the pickering family\"" + }, + { + "question": "Which team picked from South Carolina college?", + "context": "create table table_14649522_1 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_14649522_1 where college = \"south carolina\"" + }, + { + "question": "What is every missile type with a code and location of M-20 Harbor Drive?", + "context": "create table table_22282917_26 (missile_type varchar, code_ varchar, _location varchar, PRIMARY KEY (missile_type))", + "answer": "select missile_type from table_22282917_26 where code_ & _location = \"m-20 harbor drive\"" + }, + { + "question": "Find the distinct number of president votes.", + "context": "create table voting_record (president_vote varchar, PRIMARY KEY (president_vote))", + "answer": "select count(distinct president_vote) from voting_record" + }, + { + "question": "Find the male friend of Alice whose job is a doctor?", + "context": "create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, job varchar, gender varchar, PRIMARY KEY (name))", + "answer": "select t2.friend from person as t1 join personfriend as t2 on t1.name = t2.friend where t2.name = 'alice' and t1.gender = 'male' and t1.job = 'doctor'" + }, + { + "question": "If the founding university is in Charlotte, NC, what is the nickname?", + "context": "create table table_2538117_7 (nickname varchar, founding_university varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_2538117_7 where founding_university = \"charlotte, nc\"" + }, + { + "question": "Name the dominant religion for village for \u0431\u0430\u0447\u043a\u043e \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0459\u0435", + "context": "create table table_2562572_20 (dominant_religion__2002_ varchar, type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_20 where type = \"village\" and cyrillic_name_other_names = \"\u0431\u0430\u0447\u043a\u043e \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0459\u0435\"" + }, + { + "question": "Name the high assists for chauncey billups , carmelo anthony (18)", + "context": "create table table_17355408_4 (high_assists varchar, high_points varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17355408_4 where high_points = \"chauncey billups , carmelo anthony (18)\"" + }, + { + "question": "List all characteristics of product named \"sesame\" with type code \"Grade\".", + "context": "create table characteristics (characteristic_name varchar, characteristic_id varchar, characteristic_type_code varchar, PRIMARY KEY (characteristic_name)); 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))", + "answer": "select t3.characteristic_name 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 = \"sesame\" and t3.characteristic_type_code = \"grade\"" + }, + { + "question": "What was the ER average for the player that conceded 368 runs?", + "context": "create table table_15700367_6 (er varchar, runs_conceded varchar, PRIMARY KEY (er))", + "answer": "select er from table_15700367_6 where runs_conceded = 368" + }, + { + "question": "What is the highest 2001 population when the ethnic group is white: british?", + "context": "create table table_282413_3 (ethnic_group varchar, PRIMARY KEY (ethnic_group))", + "answer": "select max(2001 as _population) from table_282413_3 where ethnic_group = \"white: british\"" + }, + { + "question": "What is the date founded/founder when the emblem was Hercules?", + "context": "create table table_242785_3 (date_founded__founder varchar, emblem varchar, PRIMARY KEY (date_founded__founder))", + "answer": "select date_founded__founder from table_242785_3 where emblem = \"hercules\"" + }, + { + "question": "What is the highest number of Brisbane viewers?", + "context": "create table table_24291077_4 (brisbane integer, PRIMARY KEY (brisbane))", + "answer": "select max(brisbane) from table_24291077_4" + }, + { + "question": "How many parties does incumbent stephen pace represent?", + "context": "create table table_1342249_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342249_11 where incumbent = \"stephen pace\"" + }, + { + "question": "What is the dominant religion in \u0441\u0442\u0435\u043f\u0430\u043d\u043e\u0432\u0438\u045b\u0435\u0432\u043e during 2002?", + "context": "create table table_2562572_9 (dominant_religion__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_9 where cyrillic_name_other_names = \"\u0441\u0442\u0435\u043f\u0430\u043d\u043e\u0432\u0438\u045b\u0435\u0432\u043e\"" + }, + { + "question": "What are the name and description for role code \"MG\"?", + "context": "create table roles (role_name varchar, role_description varchar, role_code varchar, PRIMARY KEY (role_name))", + "answer": "select role_name, role_description from roles where role_code = \"mg\"" + }, + { + "question": "What are the descriptions of all the project outcomes?", + "context": "create table research_outcomes (outcome_description varchar, outcome_code varchar, PRIMARY KEY (outcome_description)); create table project_outcomes (outcome_code varchar, PRIMARY KEY (outcome_code))", + "answer": "select t1.outcome_description from research_outcomes as t1 join project_outcomes as t2 on t1.outcome_code = t2.outcome_code" + }, + { + "question": "What are the papers published under the institution \"Indiana University\"?", + "context": "create table inst (instid varchar, name varchar, PRIMARY KEY (instid)); create table authorship (paperid varchar, instid varchar, PRIMARY KEY (paperid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title))", + "answer": "select distinct t1.title from papers as t1 join authorship as t2 on t1.paperid = t2.paperid join inst as t3 on t2.instid = t3.instid where t3.name = \"indiana university\"" + }, + { + "question": "What is the location and population of the institution called Bluefield College?", + "context": "create table table_262534_2 (location__population_ varchar, institution varchar, PRIMARY KEY (location__population_))", + "answer": "select location__population_ from table_262534_2 where institution = \"bluefield college\"" + }, + { + "question": "If the original air date is February 4, 2003, what is the episode title?", + "context": "create table table_228973_9 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_228973_9 where original_air_date = \"february 4, 2003\"" + }, + { + "question": "Name the ply (uk, nz, au) for fingering", + "context": "create table table_20297668_1 (ply__uk varchar, _nz varchar, _au_ varchar, yarn_type__us_ varchar, PRIMARY KEY (ply__uk))", + "answer": "select ply__uk, _nz, _au_ from table_20297668_1 where yarn_type__us_ = \"fingering\"" + }, + { + "question": "Find the name and address of the department that has the highest number of students.", + "context": "create table student (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_address varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name, t2.dept_address from student as t1 join department as t2 on t1.dept_code = t2.dept_code group by t1.dept_code order by count(*) desc limit 1" + }, + { + "question": "What's LSU's overall record/", + "context": "create table table_22993636_2 (overall_record varchar, team varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_22993636_2 where team = \"lsu\"" + }, + { + "question": "Which viewers have the language of troff (typesetter runoff) , groff (gnu runoff)?", + "context": "create table table_1574968_1 (viewer varchar, language varchar, PRIMARY KEY (viewer))", + "answer": "select viewer from table_1574968_1 where language = \"troff (typesetter runoff) , groff (gnu runoff)\"" + }, + { + "question": "Name the most 2012/13 for university of cambridge", + "context": "create table table_25057928_1 (institute varchar, PRIMARY KEY (institute))", + "answer": "select max(2012 as _13) from table_25057928_1 where institute = \"university of cambridge\"" + }, + { + "question": "Which team names have 44.5 for tumbling?", + "context": "create table table_22014431_3 (team_name varchar, tumbling varchar, PRIMARY KEY (team_name))", + "answer": "select team_name from table_22014431_3 where tumbling = \"44.5\"" + }, + { + "question": "What is the sector when the population change 2002-2012 (%) is 79.6?", + "context": "create table table_12496904_1 (sector varchar, population_change_2002_2012___percentage_ varchar, PRIMARY KEY (sector))", + "answer": "select sector from table_12496904_1 where population_change_2002_2012___percentage_ = \"79.6\"" + }, + { + "question": "How many years did notre dame participate?", + "context": "create table table_1571238_2 (years_participated integer, team varchar, PRIMARY KEY (years_participated))", + "answer": "select max(years_participated) from table_1571238_2 where team = \"notre dame\"" + }, + { + "question": "List the names and birth dates of people in ascending alphabetical order of name.", + "context": "create table people (name varchar, birth_date varchar, PRIMARY KEY (name))", + "answer": "select name, birth_date from people order by name" + }, + { + "question": "what is the total number of\u00a0record\u00a0where\u00a0streak\u00a0is l2 and\u00a0leading scorer\u00a0is roy : 23", + "context": "create table table_11964047_5 (record varchar, streak varchar, leading_scorer varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_11964047_5 where streak = \"l2\" and leading_scorer = \"roy : 23\"" + }, + { + "question": "What was the number of music directors where the suresh wadkar co singer of bhayanak?", + "context": "create table table_11827596_4 (music_director varchar, co_singer varchar, film_name varchar, PRIMARY KEY (music_director))", + "answer": "select count(music_director) from table_11827596_4 where co_singer = \"suresh wadkar\" and film_name = \"bhayanak\"" + }, + { + "question": "How many dirty electric grid rocky mountains (denver) vehicles have an epa rated combined fuel economy of 102 mpg-e (33kw-hrs/100mi)?", + "context": "create table table_23840623_4 (dirty_electric_grid_rocky_mountains__denver_ varchar, epa_rated_combined_fuel_economy varchar, PRIMARY KEY (dirty_electric_grid_rocky_mountains__denver_))", + "answer": "select count(dirty_electric_grid_rocky_mountains__denver_) from table_23840623_4 where epa_rated_combined_fuel_economy = \"102 mpg-e (33kw-hrs/100mi)\"" + }, + { + "question": "What's the smallest number for cores of any of the processor models?", + "context": "create table table_24099916_1 (cores integer, PRIMARY KEY (cores))", + "answer": "select min(cores) from table_24099916_1" + }, + { + "question": "Who is the director of the fimm Biola Tak Berdawai?", + "context": "create table table_13719788_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_13719788_1 where original_title = \"biola tak berdawai\"" + }, + { + "question": "What is draft detail of the document with id 7?", + "context": "create table document_drafts (draft_details varchar, document_id varchar, PRIMARY KEY (draft_details))", + "answer": "select draft_details from document_drafts where document_id = 7" + }, + { + "question": "List all directors from episodes with viewership of 1.945 million.", + "context": "create table table_22835602_1 (directed_by varchar, viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_22835602_1 where viewers__in_millions_ = \"1.945\"" + }, + { + "question": "What is the number of the sail with an overall length of 13.68?", + "context": "create table table_25595107_2 (sail_number varchar, loa__metres_ varchar, PRIMARY KEY (sail_number))", + "answer": "select sail_number from table_25595107_2 where loa__metres_ = \"13.68\"" + }, + { + "question": "Who's the captain of the team whose head coach is Alistair Edwards?", + "context": "create table table_1301373_1 (captain varchar, head_coach varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_1301373_1 where head_coach = \"alistair edwards\"" + }, + { + "question": "What was the cause of death in the marriage that lasted 28 years?", + "context": "create table table_24143253_4 (cause_of_death varchar, length_of_marriage varchar, PRIMARY KEY (cause_of_death))", + "answer": "select cause_of_death from table_24143253_4 where length_of_marriage = \"28 years\"" + }, + { + "question": "Name the date of appointment for petrik sander", + "context": "create table table_17327264_3 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_17327264_3 where replaced_by = \"petrik sander\"" + }, + { + "question": "How many annual interchanges in the millions occurred in 2011-12 when the number of annual entry/exits was 36.609 million?", + "context": "create table table_18118221_1 (annual_interchanges__millions__2011_12 varchar, annual_entry_exit__millions__2011_12 varchar, PRIMARY KEY (annual_interchanges__millions__2011_12))", + "answer": "select annual_interchanges__millions__2011_12 from table_18118221_1 where annual_entry_exit__millions__2011_12 = \"36.609\"" + }, + { + "question": "Show the names of singers that have more than one song.", + "context": "create table song (singer_id varchar, PRIMARY KEY (singer_id)); create table singer (name varchar, singer_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id group by t1.name having count(*) > 1" + }, + { + "question": "Who sang for the movie Amar Deep?", + "context": "create table table_2528382_5 (singer varchar, movie_album varchar, PRIMARY KEY (singer))", + "answer": "select singer from table_2528382_5 where movie_album = \"amar deep\"" + }, + { + "question": "Name the number of details for emlyn road", + "context": "create table table_211615_2 (details varchar, station varchar, PRIMARY KEY (details))", + "answer": "select count(details) from table_211615_2 where station = \"emlyn road\"" + }, + { + "question": "What is the location of the school named Brisbane Girls' Grammar School?", + "context": "create table table_11318462_29 (location varchar, school varchar, PRIMARY KEY (location))", + "answer": "select location from table_11318462_29 where school = \"brisbane girls' grammar school\"" + }, + { + "question": "Is icewind dale available for windows", + "context": "create table table_1322914_1 (windows varchar, title varchar, PRIMARY KEY (windows))", + "answer": "select windows from table_1322914_1 where title = \"icewind dale\"" + }, + { + "question": "When Yale is listed as the regular season winner, what tournament venue is given?", + "context": "create table table_28365816_2 (tournament_venue__city_ varchar, regular_season_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_28365816_2 where regular_season_winner = \"yale\"" + }, + { + "question": "Which organizations were founded in 1972, but became WOSM members until 1977?", + "context": "create table table_104858_1 (name_of_member_organization varchar, year_member_organization_was_founded varchar, year_current_scouting_organization_joined_wosm varchar, PRIMARY KEY (name_of_member_organization))", + "answer": "select name_of_member_organization from table_104858_1 where year_member_organization_was_founded = \"1972\" and year_current_scouting_organization_joined_wosm = \"1977\"" + }, + { + "question": "How many viewers watched the episode with a story by david simon & mari kornhauser?", + "context": "create table table_26914076_3 (us_viewers__millions_ varchar, story_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_26914076_3 where story_by = \"david simon & mari kornhauser\"" + }, + { + "question": "How many items in inventory does store 1 have?", + "context": "create table inventory (store_id varchar, PRIMARY KEY (store_id))", + "answer": "select count(*) from inventory where store_id = 1" + }, + { + "question": "Name the champion for london hunt and country club ( london , on )", + "context": "create table table_1628792_1 (champion varchar, tournament_location varchar, PRIMARY KEY (champion))", + "answer": "select champion from table_1628792_1 where tournament_location = \"london hunt and country club ( london , on )\"" + }, + { + "question": "Who made the challenge in the Australian Grand Prix?", + "context": "create table table_25531112_2 (challenge varchar, event varchar, PRIMARY KEY (challenge))", + "answer": "select challenge from table_25531112_2 where event = \"australian grand prix\"" + }, + { + "question": "Name the total number of immunity for cycle number of 13", + "context": "create table table_16976547_2 (immunity varchar, cycle_no varchar, PRIMARY KEY (immunity))", + "answer": "select count(immunity) from table_16976547_2 where cycle_no = \"13\"" + }, + { + "question": "How many 3rd ru does Canada have?", + "context": "create table table_17522854_6 (country varchar, PRIMARY KEY (country))", + "answer": "select count(3 as rd_ru) from table_17522854_6 where country = \"canada\"" + }, + { + "question": "Who wrote the episode that was set in winter 1541/february 13, 1542?", + "context": "create table table_10413597_5 (written_by varchar, setting varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_10413597_5 where setting = \"winter 1541/february 13, 1542\"" + }, + { + "question": "What country made the Flieger-Doppelpistole 1919?", + "context": "create table table_29474407_11 (country_of_origin varchar, name__designation varchar, PRIMARY KEY (country_of_origin))", + "answer": "select country_of_origin from table_29474407_11 where name__designation = \"flieger-doppelpistole 1919\"" + }, + { + "question": "For a processor with part number cy80632007221ab and TDP of 3.6 W, What are the available GPU frequencies?", + "context": "create table table_16729930_18 (gpu_frequency varchar, tdp varchar, part_number_s_ varchar, PRIMARY KEY (gpu_frequency))", + "answer": "select gpu_frequency from table_16729930_18 where tdp = \"3.6 w\" and part_number_s_ = \"cy80632007221ab\"" + }, + { + "question": "How many texture (gt/s) the card has if the tdp (watts) GPU only is 18?", + "context": "create table table_26860595_2 (texture___gt__s_ varchar, tdp__watts__gpu_only varchar, PRIMARY KEY (texture___gt__s_))", + "answer": "select count(texture___gt__s_) from table_26860595_2 where tdp__watts__gpu_only = \"18\"" + }, + { + "question": "what's the\u00a0province\u00a0where\u00a0member\u00a0is frederick merriman category:articles with hcards", + "context": "create table table_1193568_1 (province varchar, member varchar, PRIMARY KEY (province))", + "answer": "select province from table_1193568_1 where member = \"frederick merriman category:articles with hcards\"" + }, + { + "question": "What was the largest number of aggravated assaults when there were 3811 robberies?", + "context": "create table table_25271777_1 (aggravated_assault integer, robbery varchar, PRIMARY KEY (aggravated_assault))", + "answer": "select max(aggravated_assault) from table_25271777_1 where robbery = 3811" + }, + { + "question": "Name the high points for 30-23", + "context": "create table table_23286158_8 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23286158_8 where record = \"30-23\"" + }, + { + "question": "What is the best finish for the player whose earnings was $421050?", + "context": "create table table_29504351_2 (best_finish varchar, earnings__$_ varchar, PRIMARY KEY (best_finish))", + "answer": "select best_finish from table_29504351_2 where earnings__$_ = 421050" + }, + { + "question": "What is the description of the product named \"Chocolate\"?", + "context": "create table products (product_description varchar, product_name varchar, PRIMARY KEY (product_description))", + "answer": "select product_description from products where product_name = \"chocolate\"" + }, + { + "question": "Who were all the candidates when incumbent was Tim Valentine?", + "context": "create table table_1341577_34 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341577_34 where incumbent = \"tim valentine\"" + }, + { + "question": "List the types of competition and the number of competitions of each type.", + "context": "create table competition (competition_type varchar, PRIMARY KEY (competition_type))", + "answer": "select competition_type, count(*) from competition group by competition_type" + }, + { + "question": "Who's the principal of Edgewood High School?/", + "context": "create table table_1984697_53 (principal varchar, school varchar, PRIMARY KEY (principal))", + "answer": "select principal from table_1984697_53 where school = \"edgewood high school\"" + }, + { + "question": "For the engine family MaxxForce 11, what is the years produced?", + "context": "create table table_26352332_4 (years_produced varchar, engine_family varchar, PRIMARY KEY (years_produced))", + "answer": "select years_produced from table_26352332_4 where engine_family = \"maxxforce 11\"" + }, + { + "question": "When the assets are 2,550, what is the Market Value?", + "context": "create table table_1682026_2 (market_value__billion_$_ varchar, assets__billion_$_ varchar, PRIMARY KEY (market_value__billion_$_))", + "answer": "select market_value__billion_$_ from table_1682026_2 where assets__billion_$_ = \"2,550\"" + }, + { + "question": "Who was the aggressive rider when the sprint classification was andr\u00e9 greipel and mountains classification was timothy roe?", + "context": "create table table_25580292_13 (aggressive_rider varchar, sprint_classification varchar, mountains_classification varchar, PRIMARY KEY (aggressive_rider))", + "answer": "select aggressive_rider from table_25580292_13 where sprint_classification = \"andr\u00e9 greipel\" and mountains_classification = \"timothy roe\"" + }, + { + "question": "What is the status of channel 44.1?", + "context": "create table table_12271718_1 (status varchar, channel varchar, PRIMARY KEY (status))", + "answer": "select status from table_12271718_1 where channel = \"44.1\"" + }, + { + "question": "What is the product category description and unit of measurement of category \"Herbs\"?", + "context": "create table ref_product_categories (product_category_description varchar, unit_of_measure varchar, product_category_code varchar, PRIMARY KEY (product_category_description))", + "answer": "select product_category_description, unit_of_measure from ref_product_categories where product_category_code = \"herbs\"" + }, + { + "question": "When Interpol is in 6th, who is in 7th?", + "context": "create table table_17111812_1 (seventh varchar, sixth varchar, PRIMARY KEY (seventh))", + "answer": "select count(seventh) from table_17111812_1 where sixth = \"interpol\"" + }, + { + "question": "What was the 'calling at' station of the train that departed on 18.16?", + "context": "create table table_18365784_3 (calling_at varchar, departure varchar, PRIMARY KEY (calling_at))", + "answer": "select calling_at from table_18365784_3 where departure = \"18.16\"" + }, + { + "question": "Show the name of storms which don't have affected region in record.", + "context": "create table affected_region (name varchar, storm_id varchar, PRIMARY KEY (name)); create table storm (name varchar, storm_id varchar, PRIMARY KEY (name))", + "answer": "select name from storm where not storm_id in (select storm_id from affected_region)" + }, + { + "question": "Which stadium has a payout of $3 million?", + "context": "create table table_16046689_29 (stadium varchar, payout___us$__ varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_16046689_29 where payout___us$__ = \"$3 million\"" + }, + { + "question": "Which channel has the host Art Rooijakkers?", + "context": "create table table_178242_1 (channel varchar, host_s_ varchar, PRIMARY KEY (channel))", + "answer": "select channel from table_178242_1 where host_s_ = \"art rooijakkers\"" + }, + { + "question": "what is the total number of\u00a0years for rockets\u00a0where\u00a0school/club team/country\u00a0is baylor", + "context": "create table table_11734041_20 (years_for_rockets varchar, school_club_team_country varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select count(years_for_rockets) from table_11734041_20 where school_club_team_country = \"baylor\"" + }, + { + "question": "What is the rear sight in the Cole model no. 735?", + "context": "create table table_12834315_1 (rear_sight varchar, colt_model_no varchar, PRIMARY KEY (rear_sight))", + "answer": "select rear_sight from table_12834315_1 where colt_model_no = \"735\"" + }, + { + "question": "What is the French translation for the English word \"orange\"?", + "context": "create table table_2077192_2 (french varchar, english varchar, PRIMARY KEY (french))", + "answer": "select french from table_2077192_2 where english = \"orange\"" + }, + { + "question": "What it the international designation for the kosmos 2379 satellite?", + "context": "create table table_18161217_2 (cospar_id varchar, satellite varchar, PRIMARY KEY (cospar_id))", + "answer": "select cospar_id from table_18161217_2 where satellite = \"kosmos 2379\"" + }, + { + "question": "What year was Teresa Wright nominated best supporting actress?", + "context": "create table table_18638067_1 (year__ceremony_ varchar, actor_actress varchar, category varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_18638067_1 where actor_actress = \"teresa wright\" and category = \"best supporting actress\"" + }, + { + "question": "Name the event for hans ruep", + "context": "create table table_18646111_13 (event varchar, athlete varchar, PRIMARY KEY (event))", + "answer": "select event from table_18646111_13 where athlete = \"hans ruep\"" + }, + { + "question": "What are the comments when the vendor and type is alcatel-lucent routers?", + "context": "create table table_1206114_2 (comments varchar, vendor_and_type varchar, PRIMARY KEY (comments))", + "answer": "select comments from table_1206114_2 where vendor_and_type = \"alcatel-lucent routers\"" + }, + { + "question": "What is the title of the episode written by denis leary, peter tolan and evan reilly?", + "context": "create table table_10610087_3 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_10610087_3 where written_by = \"denis leary, peter tolan and evan reilly\"" + }, + { + "question": "Which team drafted the player from the HC Lada Togliatti (Russia)?", + "context": "create table table_2840500_5 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_2840500_5 where college_junior_club_team = \"hc lada togliatti (russia)\"" + }, + { + "question": "What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?", + "context": "create table table_22170495_6 (position_in_e4s_ratings_b varchar, original_airing_on_channel_4 varchar, PRIMARY KEY (position_in_e4s_ratings_b))", + "answer": "select position_in_e4s_ratings_b from table_22170495_6 where original_airing_on_channel_4 = \"june 30, 2010\"" + }, + { + "question": "What is the amount of renewable electricity without hydrogen power when the percentage of renewable energy is 83.4?", + "context": "create table table_25244412_1 (renewable_electricity_w_o_hydro__gw\u2022h_ varchar, _percentage_renewable varchar, PRIMARY KEY (renewable_electricity_w_o_hydro__gw\u2022h_))", + "answer": "select renewable_electricity_w_o_hydro__gw\u2022h_ from table_25244412_1 where _percentage_renewable = \"83.4\"" + }, + { + "question": "Name the number of locations for geneva college", + "context": "create table table_262476_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_262476_1 where institution = \"geneva college\"" + }, + { + "question": "What is them two (the two) when we two is ngalbelpa?", + "context": "create table table_1015914_24 (them_two__the_two_ varchar, we_two varchar, PRIMARY KEY (them_two__the_two_))", + "answer": "select them_two__the_two_ from table_1015914_24 where we_two = \"ngalbelpa\"" + }, + { + "question": "How many different templates do all document use?", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id))", + "answer": "select count(distinct template_id) from documents" + }, + { + "question": "what is the minimumfor 5wi?", + "context": "create table table_28846752_5 (id varchar, PRIMARY KEY (id))", + "answer": "select min(5 as wi) from table_28846752_5" + }, + { + "question": "What is air date of the episode directed by John P. Kousakis?", + "context": "create table table_28611413_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28611413_2 where directed_by = \"john p. kousakis\"" + }, + { + "question": "What instruments does the the song \"Le Pop\" use?", + "context": "create table instruments (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select instrument from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = \"le pop\"" + }, + { + "question": "What is the total number of CFL teams in the college Wilfrid Laurier", + "context": "create table table_15817998_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select count(cfl_team) from table_15817998_5 where college = \"wilfrid laurier\"" + }, + { + "question": "Name the constructor for b. bira", + "context": "create table table_28190534_1 (constructor varchar, driver varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_28190534_1 where driver = \"b. bira\"" + }, + { + "question": "When was the date successor seated when the vacator was charles e. chamberlain (r)?", + "context": "create table table_1134091_4 (date_successor_seated varchar, vacator varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_1134091_4 where vacator = \"charles e. chamberlain (r)\"" + }, + { + "question": "Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?", + "context": "create table table_11748792_2 (friday varchar, monday varchar, PRIMARY KEY (friday))", + "answer": "select friday from table_11748792_2 where monday = \"emma willis jamie east\"" + }, + { + "question": "When the change (2011 to 2012) is +13.4% what is the country?", + "context": "create table table_14752049_6 (country varchar, change__2011_to_2012_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_14752049_6 where change__2011_to_2012_ = \"+13.4%\"" + }, + { + "question": "Who won the spanish grand prix?", + "context": "create table table_15299235_1 (grand_prix varchar, PRIMARY KEY (grand_prix))", + "answer": "select 250 as cc_winner from table_15299235_1 where grand_prix = \"spanish grand_prix\"" + }, + { + "question": "Which parishes have a railroad length of 51.8 meters?", + "context": "create table table_16226584_1 (parish varchar, length_meters varchar, PRIMARY KEY (parish))", + "answer": "select parish from table_16226584_1 where length_meters = \"51.8\"" + }, + { + "question": "What is the status when livery is blue?", + "context": "create table table_1090916_2 (status varchar, livery varchar, PRIMARY KEY (status))", + "answer": "select status from table_1090916_2 where livery = \"blue\"" + }, + { + "question": "What type of school would you see when visiting Missouri Western State University?", + "context": "create table table_2076463_2 (control varchar, school varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076463_2 where school = \"missouri western state university\"" + }, + { + "question": "What is the percentage of land area in the ecozone that the percentage protected is 15.28?", + "context": "create table table_15555661_2 (percentage_of_land_area varchar, percentage_protected varchar, PRIMARY KEY (percentage_of_land_area))", + "answer": "select percentage_of_land_area from table_15555661_2 where percentage_protected = \"15.28\"" + }, + { + "question": "How many numbers were recorded for Qatari female when Qatari male was 97?", + "context": "create table table_19309079_2 (qatari_female varchar, qatari_male varchar, PRIMARY KEY (qatari_female))", + "answer": "select count(qatari_female) from table_19309079_2 where qatari_male = 97" + }, + { + "question": "When 1873-12-25 is the founding date how many organizations are there?", + "context": "create table table_28436909_4 (organization varchar, founding_date varchar, PRIMARY KEY (organization))", + "answer": "select count(organization) from table_28436909_4 where founding_date = \"1873-12-25\"" + }, + { + "question": "Name the fifth district for steve rudoni", + "context": "create table table_15442974_1 (fifth_district varchar, fourth_district varchar, PRIMARY KEY (fifth_district))", + "answer": "select fifth_district from table_15442974_1 where fourth_district = \"steve rudoni\"" + }, + { + "question": "Name the volume for co 2 for 168 g/km", + "context": "create table table_17941111_2 (volume varchar, co_2 varchar, PRIMARY KEY (volume))", + "answer": "select volume from table_17941111_2 where co_2 = \"168 g/km\"" + }, + { + "question": "Who directed an episode with 1.19 million?", + "context": "create table table_29273390_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29273390_1 where us_viewers__million_ = \"1.19\"" + }, + { + "question": "Name the name for doncaster newbury", + "context": "create table table_22977424_8 (name varchar, promoted_to_league varchar, PRIMARY KEY (name))", + "answer": "select name from table_22977424_8 where promoted_to_league = \"doncaster newbury\"" + }, + { + "question": "What official or native languages are spoken in the country whose capital city is Canberra?", + "context": "create table table_1008653_1 (official_or_native_language_s___alphabet_script_ varchar, capital___exonym__ varchar, PRIMARY KEY (official_or_native_language_s___alphabet_script_))", + "answer": "select official_or_native_language_s___alphabet_script_ from table_1008653_1 where capital___exonym__ = \"canberra\"" + }, + { + "question": "When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there?", + "context": "create table table_23537091_1 (early_chalcolithic varchar, ubaid_period_in_mesopotamia varchar, PRIMARY KEY (early_chalcolithic))", + "answer": "select count(early_chalcolithic) from table_23537091_1 where ubaid_period_in_mesopotamia = \"second intermediate period of egypt\"" + }, + { + "question": "Name the original title for the counterfeiters", + "context": "create table table_16255245_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_16255245_1 where film_title_used_in_nomination = \"the counterfeiters\"" + }, + { + "question": "Name the total number of director for oro diablo", + "context": "create table table_18123274_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_18123274_1 where original_title = \"oro diablo\"" + }, + { + "question": "What is the form (\"to sing\") when brazilian portuguese is [k\u0250\u0303\u02c8t\u1ebdmus]?", + "context": "create table table_25401_2 (form__to_sing_ varchar, brazilian_portuguese varchar, PRIMARY KEY (form__to_sing_))", + "answer": "select form__to_sing_ from table_25401_2 where brazilian_portuguese = \"[k\u0250\u0303\u02c8t\u1ebdmus]\"" + }, + { + "question": "Name the mission name for 21 november 1969", + "context": "create table table_1558077_8 (mission_name varchar, lunar_blastoff_date varchar, PRIMARY KEY (mission_name))", + "answer": "select mission_name from table_1558077_8 where lunar_blastoff_date = \"21 november 1969\"" + }, + { + "question": "How many status figures does James Finch have?", + "context": "create table table_27514362_7 (status varchar, entrant varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_27514362_7 where entrant = \"james finch\"" + }, + { + "question": "The U.S. airdate of 8 august 2008 also had canadian airdates of what?", + "context": "create table table_10935205_1 (canadian_airdate varchar, us_airdate varchar, PRIMARY KEY (canadian_airdate))", + "answer": "select canadian_airdate from table_10935205_1 where us_airdate = \"8 august 2008\"" + }, + { + "question": "What was the total number of weeks on peak for the Ireland Albums Top 75 chart?", + "context": "create table table_1160304_2 (weeks_on_peak varchar, chart varchar, PRIMARY KEY (weeks_on_peak))", + "answer": "select count(weeks_on_peak) from table_1160304_2 where chart = \"ireland albums top 75\"" + }, + { + "question": "How to you write \u043f\u043b\u0430\u0432\u043d\u0430 with the latin alphabet?", + "context": "create table table_2562572_11 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_11 where cyrillic_name_other_names = \"\u043f\u043b\u0430\u0432\u043d\u0430\"" + }, + { + "question": "How many sprint classifications are there where marco frapporti is the winner?", + "context": "create table table_25655781_17 (sprint_classification varchar, winner varchar, PRIMARY KEY (sprint_classification))", + "answer": "select count(sprint_classification) from table_25655781_17 where winner = \"marco frapporti\"" + }, + { + "question": "when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright?", + "context": "create table table_21313498_1 (original_air_date varchar, us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_21313498_1 where us_viewers__millions_ = \"3.3\" and written_by = \"rob wright\"" + }, + { + "question": "How economically free is the country of Armenia?", + "context": "create table table_1604579_2 (country varchar, PRIMARY KEY (country))", + "answer": "select 2013 as _index_of_economic_freedom from table_1604579_2 where country = \"armenia\"" + }, + { + "question": "Who were the candidates if the incumbent was Henry Logan?", + "context": "create table table_2668173_4 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668173_4 where incumbent = \"henry logan\"" + }, + { + "question": "What is Tony Stewart's average speed?", + "context": "create table table_1963459_2 (average_speed__mph_ varchar, driver varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_1963459_2 where driver = \"tony stewart\"" + }, + { + "question": "What is the name of the school/s in North Manchester?", + "context": "create table table_1984697_85 (school varchar, city___town varchar, PRIMARY KEY (school))", + "answer": "select school from table_1984697_85 where city___town = \"north manchester\"" + }, + { + "question": "What village has an area of 27.19 km2?", + "context": "create table table_2588674_1 (village varchar, area_km\u00b2 varchar, PRIMARY KEY (village))", + "answer": "select village from table_2588674_1 where area_km\u00b2 = \"27.19\"" + }, + { + "question": "Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?", + "context": "create table table_16201038_4 (missouri_vs varchar, at_neutral_site varchar, PRIMARY KEY (missouri_vs))", + "answer": "select missouri_vs from table_16201038_4 where at_neutral_site = \"mu, 2-1\"" + }, + { + "question": "Who had the high points when high assists is tim duncan (5)?", + "context": "create table table_27715173_8 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27715173_8 where high_assists = \"tim duncan (5)\"" + }, + { + "question": "What is the name of the breed with the most dogs?", + "context": "create table dogs (breed_code varchar, PRIMARY KEY (breed_code)); create table breeds (breed_name varchar, breed_code varchar, PRIMARY KEY (breed_name))", + "answer": "select t1.breed_name from breeds as t1 join dogs as t2 on t1.breed_code = t2.breed_code group by t1.breed_name order by count(*) desc limit 1" + }, + { + "question": "How many tariff codes have a bts retail price of 2p/min or inclusive?", + "context": "create table table_10408617_5 (tariff_code varchar, bts_retail_price__regulated_ varchar, PRIMARY KEY (tariff_code))", + "answer": "select count(tariff_code) from table_10408617_5 where bts_retail_price__regulated_ = \"2p/min or inclusive\"" + }, + { + "question": "Name the hdtv for sky famiglia and dar 16:9 for mydeejay", + "context": "create table table_15887683_10 (hdtv varchar, television_service varchar, package_option varchar, dar varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_10 where package_option = \"sky famiglia\" and dar = \"16:9\" and television_service = \"mydeejay\"" + }, + { + "question": "What is the smallest 07-08 oi best value?", + "context": "create table table_23938357_7 (id varchar, PRIMARY KEY (id))", + "answer": "select min(07 as _08_oi_best) from table_23938357_7" + }, + { + "question": "Name the outgoing manager for mantova", + "context": "create table table_17275810_7 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_17275810_7 where team = \"mantova\"" + }, + { + "question": "What's the storage case of the buttonholer described as ivory and red metal?", + "context": "create table table_28652521_1 (storage_case varchar, description varchar, PRIMARY KEY (storage_case))", + "answer": "select storage_case from table_28652521_1 where description = \"ivory and red metal\"" + }, + { + "question": "List the names of courses in alphabetical order?", + "context": "create table courses (course_name varchar, PRIMARY KEY (course_name))", + "answer": "select course_name from courses order by course_name" + }, + { + "question": "Find all the instruments ever used by the musician with last name \"Heilo\"?", + "context": "create table instruments (bandmateid varchar, PRIMARY KEY (bandmateid)); create table band (id varchar, lastname varchar, PRIMARY KEY (id))", + "answer": "select instrument from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = \"heilo\"" + }, + { + "question": "What was the record when they played the Los Angeles Rams?", + "context": "create table table_13259009_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_13259009_2 where opponent = \"los angeles rams\"" + }, + { + "question": "How many parties were represented for Charles R. Crisp?", + "context": "create table table_1342370_10 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342370_10 where incumbent = \"charles r. crisp\"" + }, + { + "question": "How many products are there in the records?", + "context": "create table catalog_contents (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from catalog_contents" + }, + { + "question": "What is the original air date for the episode written by daniel dratch?", + "context": "create table table_25716399_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25716399_1 where written_by = \"daniel dratch\"" + }, + { + "question": "What is the lifetime (years) for chemical formula ch 4?", + "context": "create table table_21350772_2 (lifetime__years_ varchar, chemical_formula varchar, PRIMARY KEY (lifetime__years_))", + "answer": "select lifetime__years_ from table_21350772_2 where chemical_formula = \"ch 4\"" + }, + { + "question": "Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline?", + "context": "create table table_10399701_2 (class_aaa varchar, class_a varchar, PRIMARY KEY (class_aaa))", + "answer": "select class_aaa from table_10399701_2 where class_a = \"(tie) apple springs/texline\"" + }, + { + "question": "When there are 10.02 million viewers what is the rating (18-49)?", + "context": "create table table_28980706_4 (rating__18_49_ varchar, viewers__millions_ varchar, PRIMARY KEY (rating__18_49_))", + "answer": "select rating__18_49_ from table_28980706_4 where viewers__millions_ = \"10.02\"" + }, + { + "question": "display those departments where more than ten employees work who got a commission percentage.", + "context": "create table employees (department_id varchar, commission_pct varchar, PRIMARY KEY (department_id))", + "answer": "select department_id from employees group by department_id having count(commission_pct) > 10" + }, + { + "question": "What wast the percent cut for the nation with an 80% full gas storage?", + "context": "create table table_21690339_1 (_percentage_cut varchar, gas_storage varchar, PRIMARY KEY (_percentage_cut))", + "answer": "select _percentage_cut from table_21690339_1 where gas_storage = \"80% full\"" + }, + { + "question": "How many north american brands have world headquarters in sagamihara?", + "context": "create table table_237199_1 (north_american_brands varchar, world_headquarters varchar, PRIMARY KEY (north_american_brands))", + "answer": "select count(north_american_brands) from table_237199_1 where world_headquarters = \"sagamihara\"" + }, + { + "question": "What city licensed the broadcast on virtual channel 8.2?", + "context": "create table table_2857352_3 (city_of_license varchar, virtual_channel varchar, PRIMARY KEY (city_of_license))", + "answer": "select city_of_license from table_2857352_3 where virtual_channel = \"8.2\"" + }, + { + "question": "How many times has a wrestler whose federation was roh, wwe competed in this event?", + "context": "create table table_2305948_1 (other_placings varchar, federation varchar, PRIMARY KEY (other_placings))", + "answer": "select count(other_placings) from table_2305948_1 where federation = \"roh, wwe\"" + }, + { + "question": "Show different nationalities along with the number of hosts of each nationality.", + "context": "create table host (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality, count(*) from host group by nationality" + }, + { + "question": "Which major town is located within the Outback Areas Community Development Trust?", + "context": "create table table_23685890_2 (major_town varchar, local_government_area varchar, PRIMARY KEY (major_town))", + "answer": "select major_town from table_23685890_2 where local_government_area = \"outback areas community development trust\"" + }, + { + "question": "Name the candidates where incumbent Carl Vinson is?", + "context": "create table table_1341884_12 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341884_12 where incumbent = \"carl vinson\"" + }, + { + "question": "What is the meaning of the constellation that has puppis /\u02c8p\u028cp\u0268s/ as genitive?", + "context": "create table table_287159_1 (meaning varchar, genitive varchar, PRIMARY KEY (meaning))", + "answer": "select meaning from table_287159_1 where genitive = \"puppis /\u02c8p\u028cp\u0268s/\"" + }, + { + "question": "What opponents played Waldstadion in a game?", + "context": "create table table_24951872_2 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_24951872_2 where game_site = \"waldstadion\"" + }, + { + "question": "How many documents do not have any expense?", + "context": "create table documents (document_id varchar, PRIMARY KEY (document_id)); create table documents_with_expenses (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select count(*) from documents where not document_id in (select document_id from documents_with_expenses)" + }, + { + "question": "How many total team penalties are there when cross country penalties is 30.40?", + "context": "create table table_18666752_3 (total_team_penalties varchar, cross_country_penalties varchar, PRIMARY KEY (total_team_penalties))", + "answer": "select total_team_penalties from table_18666752_3 where cross_country_penalties = \"30.40\"" + }, + { + "question": "How many professionals have performed any treatment to dogs?", + "context": "create table treatments (professional_id varchar, PRIMARY KEY (professional_id))", + "answer": "select count(distinct professional_id) from treatments" + }, + { + "question": "What was Brian Moran's share of the votes when Creigh Deeds had 30%?", + "context": "create table table_21535453_1 (brian_moran varchar, creigh_deeds varchar, PRIMARY KEY (brian_moran))", + "answer": "select brian_moran from table_21535453_1 where creigh_deeds = \"30%\"" + }, + { + "question": "Who ran in the race for Jack Brooks' seat?", + "context": "create table table_1341865_45 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341865_45 where incumbent = \"jack brooks\"" + }, + { + "question": "In connecticut the school/club team/country had a set height in ft. what is true for them?", + "context": "create table table_11734041_10 (height_in_ft varchar, school_club_team_country varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_10 where school_club_team_country = \"connecticut\"" + }, + { + "question": "How many letters were given to the organization with a founding date of 1997-12-12?", + "context": "create table table_2538117_12 (letters varchar, founding_date varchar, PRIMARY KEY (letters))", + "answer": "select count(letters) from table_2538117_12 where founding_date = \"1997-12-12\"" + }, + { + "question": "How many trains arrive at 11:00?", + "context": "create table table_27011761_2 (train_no varchar, arrival varchar, PRIMARY KEY (train_no))", + "answer": "select count(train_no) from table_27011761_2 where arrival = \"11:00\"" + }, + { + "question": "What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?", + "context": "create table table_10812938_3 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_10812938_3 where cfl_team = \"edmonton eskimos (via calgary)\"" + }, + { + "question": "When samai amari is the asian rider classification how many asian team classifications are there?", + "context": "create table table_21573750_2 (asian_team_classification varchar, asian_rider_classification varchar, PRIMARY KEY (asian_team_classification))", + "answer": "select count(asian_team_classification) from table_21573750_2 where asian_rider_classification = \"samai amari\"" + }, + { + "question": "How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?", + "context": "create table table_24865763_2 (lmp2_winning_team varchar, gt1_winning_team varchar, circuit varchar, PRIMARY KEY (lmp2_winning_team))", + "answer": "select count(lmp2_winning_team) from table_24865763_2 where gt1_winning_team = \"gabriele gardel patrice goueslard fernando rees\" and circuit = \"algarve\"" + }, + { + "question": "What are the slovenian names of the villages that had 16.7% of slovenes in 1991?", + "context": "create table table_10797463_1 (village__slovenian_ varchar, percent_of_slovenes_1991 varchar, PRIMARY KEY (village__slovenian_))", + "answer": "select village__slovenian_ from table_10797463_1 where percent_of_slovenes_1991 = \"16.7%\"" + }, + { + "question": "Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen", + "context": "create table table_14496232_2 (mens_singles varchar, womens_singles varchar, mixed_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_14496232_2 where womens_singles = \"wang lin\" and mixed_doubles = \"joachim fischer nielsen christinna pedersen\"" + }, + { + "question": "on how many days did the episode written by harold hayes jr. & craig s. phillips originally air", + "context": "create table table_29196086_4 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_29196086_4 where written_by = \"harold hayes jr. & craig s. phillips\"" + }, + { + "question": "Name the circuit for gt3 alex mortimer bradley ellis", + "context": "create table table_14574130_3 (circuit varchar, gt3_winner varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_14574130_3 where gt3_winner = \"alex mortimer bradley ellis\"" + }, + { + "question": "what is \u0433 \u0433 [\u0261] when \u0430 \u0430 [a] is \u0495\u04d9 \u0495\u04d9 [\u0281\u02b7/\u0263\u02b7]?", + "context": "create table table_202365_2 (\u0433_\u0433_ varchar, \u0261 varchar, \u0430_\u0430_ varchar, a varchar, PRIMARY KEY (\u0433_\u0433_))", + "answer": "select \u0433_\u0433_[\u0261] from table_202365_2 where \u0430_\u0430_[a] = \"\u0495\u04d9 \u0495\u04d9 [\u0281\u02b7/\u0263\u02b7]\"" + }, + { + "question": "Who directed the episode that originally aired on January 15, 2008?", + "context": "create table table_13301516_1 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_13301516_1 where original_air_date = \"january 15, 2008\"" + }, + { + "question": "What are the statuses of the districts whose successor is Wiltshire?", + "context": "create table table_2801185_2 (status varchar, successor varchar, PRIMARY KEY (status))", + "answer": "select status from table_2801185_2 where successor = \"wiltshire\"" + }, + { + "question": "Who won the stage when Fumiyuki Beppu won the combativity award?", + "context": "create table table_14395920_2 (winner varchar, combativity_award varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_14395920_2 where combativity_award = \"fumiyuki beppu\"" + }, + { + "question": "Which film title used in nomination has the year (ceremony) 1990 (63rd)?", + "context": "create table table_21655290_1 (film_title_used_in_nomination varchar, year__ceremony_ varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_21655290_1 where year__ceremony_ = \"1990 (63rd)\"" + }, + { + "question": "Name the reporters for dave johnson for eddie arcaro and howard cosell", + "context": "create table table_22514845_5 (reporters varchar, race_caller varchar, s_analyst varchar, PRIMARY KEY (reporters))", + "answer": "select reporters from table_22514845_5 where race_caller = \"dave johnson\" and s_analyst = \"eddie arcaro and howard cosell\"" + }, + { + "question": "Show the booking status code and the corresponding number of bookings.", + "context": "create table apartment_bookings (booking_status_code varchar, PRIMARY KEY (booking_status_code))", + "answer": "select booking_status_code, count(*) from apartment_bookings group by booking_status_code" + }, + { + "question": "List title of albums have the number of tracks greater than 10.", + "context": "create table tracks (album_id varchar, PRIMARY KEY (album_id)); create table albums (title varchar, id varchar, PRIMARY KEY (title))", + "answer": "select t1.title from albums as t1 join tracks as t2 on t1.id = t2.album_id group by t1.id having count(t1.id) > 10" + }, + { + "question": "Where can you find Colorado and Southern Railway #9?", + "context": "create table table_1057316_1 (disposition varchar, operational_owner_s_ varchar, PRIMARY KEY (disposition))", + "answer": "select disposition from table_1057316_1 where operational_owner_s_ = \"colorado and southern railway #9\"" + }, + { + "question": "What is title of episode aired on March 2, 2003?", + "context": "create table table_1876825_5 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_1876825_5 where original_air_date = \"march 2, 2003\"" + }, + { + "question": "Which network has s analyst of eddie arcaro?", + "context": "create table table_22514845_4 (network varchar, s_analyst varchar, PRIMARY KEY (network))", + "answer": "select network from table_22514845_4 where s_analyst = \"eddie arcaro\"" + }, + { + "question": "Name who directed the air date of 12 july 2010", + "context": "create table table_27218002_1 (directed_by varchar, originalairdate varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27218002_1 where originalairdate = \"12 july 2010\"" + }, + { + "question": "how many porphyria have substrate \u03b4-aminolevulinic acid", + "context": "create table table_182499_1 (porphyria varchar, substrate varchar, PRIMARY KEY (porphyria))", + "answer": "select count(porphyria) from table_182499_1 where substrate = \"\u03b4-aminolevulinic acid\"" + }, + { + "question": "What are the phones of departments in Room 268?", + "context": "create table department (dphone varchar, room varchar, PRIMARY KEY (dphone))", + "answer": "select dphone from department where room = 268" + }, + { + "question": "What is Jon Thorne's average speed?", + "context": "create table table_1963459_2 (average_speed__mph_ varchar, team varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_1963459_2 where team = \"jon thorne\"" + }, + { + "question": "What name is listed under representative for the 112th congress?", + "context": "create table table_2841865_2 (representative varchar, congress varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_2841865_2 where congress = \"112th\"" + }, + { + "question": "What is the title of the episode watched by 0.88 million U.S. viewers?", + "context": "create table table_28680377_2 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_28680377_2 where us_viewers__million_ = \"0.88\"" + }, + { + "question": "What team has draft picks from Mississippi?", + "context": "create table table_16729063_1 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_16729063_1 where college = \"mississippi\"" + }, + { + "question": "What's the meaning of the verb whose part 1 is slapen?", + "context": "create table table_1745843_7 (verb_meaning varchar, part_1 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select verb_meaning from table_1745843_7 where part_1 = \"slapen\"" + }, + { + "question": "What is the Raptors' record against New Jersey?", + "context": "create table table_15780718_9 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_15780718_9 where team = \"new jersey\"" + }, + { + "question": "Who was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton", + "context": "create table table_2231241_1 (seat_no_6 varchar, seat_no_1 varchar, seat_no_5 varchar, PRIMARY KEY (seat_no_6))", + "answer": "select seat_no_6 from table_2231241_1 where seat_no_1 = \"jacques lachapelle\" and seat_no_5 = \"donald s. dutton\"" + }, + { + "question": "In what prefecture is Nihon Bunri located?", + "context": "create table table_2518850_4 (prefecture varchar, high_school_name varchar, PRIMARY KEY (prefecture))", + "answer": "select prefecture from table_2518850_4 where high_school_name = \"nihon bunri\"" + }, + { + "question": "In how many countries is Itaipu a supply point for electricity?", + "context": "create table table_19001916_2 (country varchar, supply_point varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_19001916_2 where supply_point = \"itaipu\"" + }, + { + "question": "What is the population per km2 in Fishing Lake?", + "context": "create table table_2500440_1 (population_density__per_km_2__ varchar, name varchar, PRIMARY KEY (population_density__per_km_2__))", + "answer": "select population_density__per_km_2__ from table_2500440_1 where name = \"fishing lake\"" + }, + { + "question": "How many stadiums are not in country \"Russia\"?", + "context": "create table stadium (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from stadium where country <> 'russia'" + }, + { + "question": "Show the school name and driver name for all school buses.", + "context": "create table school (school varchar, school_id varchar, PRIMARY KEY (school)); create table school_bus (school_id varchar, driver_id varchar, PRIMARY KEY (school_id)); create table driver (name varchar, driver_id varchar, PRIMARY KEY (name))", + "answer": "select t2.school, t3.name from school_bus as t1 join school as t2 on t1.school_id = t2.school_id join driver as t3 on t1.driver_id = t3.driver_id" + }, + { + "question": "Name the most rr 1 pts", + "context": "create table table_21457754_2 (rr1_pts integer, PRIMARY KEY (rr1_pts))", + "answer": "select max(rr1_pts) from table_21457754_2" + }, + { + "question": "What is the name of the episode written by karina csolty?", + "context": "create table table_27969432_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_27969432_2 where written_by = \"karina csolty\"" + }, + { + "question": "What was the total ITV1 viewers in millions for the episode with a share (%) of 28.9?", + "context": "create table table_27319183_5 (total_itv1_viewers__millions_ varchar, share___percentage_ varchar, PRIMARY KEY (total_itv1_viewers__millions_))", + "answer": "select total_itv1_viewers__millions_ from table_27319183_5 where share___percentage_ = \"28.9\"" + }, + { + "question": "Find the number of trains starting from each origin.", + "context": "create table train (origin varchar, PRIMARY KEY (origin))", + "answer": "select origin, count(*) from train group by origin" + }, + { + "question": "Show student ids who are female and play football.", + "context": "create table sportsinfo (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, sex varchar, sportname varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where sex = 'f' intersect select stuid from sportsinfo where sportname = \"football\"" + }, + { + "question": "What is the ISIN that has a coupon of 1.02 and a value issued of 447,000,000?", + "context": "create table table_21692771_1 (isin varchar, coupon varchar, amount_issued_ varchar, \u20ac varchar, PRIMARY KEY (isin))", + "answer": "select isin from table_21692771_1 where coupon = \"1.02\" and amount_issued_[\u20ac] = \"447,000,000\"" + }, + { + "question": "Who is the winner when the st kilda score is 13.10.88?", + "context": "create table table_28211103_1 (winner varchar, st_kilda_score varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_28211103_1 where st_kilda_score = \"13.10.88\"" + }, + { + "question": "What was the record for the game where the opponent was the Carolina Hurricanes?", + "context": "create table table_27537518_9 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_27537518_9 where opponent = \"carolina hurricanes\"" + }, + { + "question": "What's the title of the episode with production number 103?", + "context": "create table table_23958944_2 (title varchar, production_number varchar, PRIMARY KEY (title))", + "answer": "select title from table_23958944_2 where production_number = 103" + }, + { + "question": "What was the date of appointment for the manager of the 23rd team?", + "context": "create table table_18795125_6 (date_of_appointment varchar, position_in_table varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_18795125_6 where position_in_table = \"23rd\"" + }, + { + "question": "If the special weapon is the Grenado, what is the armor?", + "context": "create table table_27704991_1 (armor varchar, special_weapon varchar, PRIMARY KEY (armor))", + "answer": "select armor from table_27704991_1 where special_weapon = \"grenado\"" + }, + { + "question": "What party does Bill McCollum belong to?", + "context": "create table table_1341453_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_11 where incumbent = \"bill mccollum\"" + }, + { + "question": "If the time on Wed aug 25 was 20' 09.25 112.324mph, what was the time on sat Aug 28?", + "context": "create table table_26986076_1 (sat_28_aug varchar, wed_25_aug varchar, PRIMARY KEY (sat_28_aug))", + "answer": "select sat_28_aug from table_26986076_1 where wed_25_aug = \"20' 09.25 112.324mph\"" + }, + { + "question": "What are the notes of the satellite whose nssdc id number is 1959-002a?", + "context": "create table table_191323_2 (notes varchar, nssdc_id_no varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_191323_2 where nssdc_id_no = \"1959-002a\"" + }, + { + "question": "If the dry density is 800, what is the drying shrinkage %?", + "context": "create table table_24969173_1 (drying_shrinkage___percentage_ varchar, dry_density__kg_m3_ varchar, PRIMARY KEY (drying_shrinkage___percentage_))", + "answer": "select drying_shrinkage___percentage_ from table_24969173_1 where dry_density__kg_m3_ = 800" + }, + { + "question": "When westcott is in division one how many leagues are in division 5?", + "context": "create table table_24575253_4 (division_five varchar, division_one varchar, PRIMARY KEY (division_five))", + "answer": "select count(division_five) from table_24575253_4 where division_one = \"westcott\"" + }, + { + "question": "When they played San Lorenzo, what was the score of the second leg?", + "context": "create table table_17282875_3 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 2 as nd_leg from table_17282875_3 where team__number1 = \"san lorenzo\"" + }, + { + "question": "as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat", + "context": "create table table_23197088_4 (score_in_final varchar, opponents_in_final varchar, PRIMARY KEY (score_in_final))", + "answer": "select count(score_in_final) from table_23197088_4 where opponents_in_final = \"alexandra fusai nathalie tauziat\"" + }, + { + "question": "What is the lowest score of all games for match 2?", + "context": "create table table_24538140_2 (match2 integer, PRIMARY KEY (match2))", + "answer": "select min(match2) from table_24538140_2" + }, + { + "question": "Who had highest assists at the game against Houston?", + "context": "create table table_27700530_11 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27700530_11 where team = \"houston\"" + }, + { + "question": "Which country has had 6 miss universe's?", + "context": "create table table_28634206_1 (country varchar, miss_universe varchar, PRIMARY KEY (country))", + "answer": "select country from table_28634206_1 where miss_universe = \"6\"" + }, + { + "question": "Which team was the away team when the home team was north melbourne?", + "context": "create table table_29090919_1 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_29090919_1 where home_team = \"north melbourne\"" + }, + { + "question": "What is the L3 cache for the processor having a speed of 2.93 GHz?", + "context": "create table table_269920_16 (l3_cache__mb_ varchar, speed__ghz_ varchar, PRIMARY KEY (l3_cache__mb_))", + "answer": "select l3_cache__mb_ from table_269920_16 where speed__ghz_ = \"2.93\"" + }, + { + "question": "How many players were drafted by the Philadelphia Flyers?", + "context": "create table table_2679061_11 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select count(nationality) from table_2679061_11 where nhl_team = \"philadelphia flyers\"" + }, + { + "question": "When did the episode written by Jim Morris air?", + "context": "create table table_10470082_8 (us_air_date varchar, writer varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_10470082_8 where writer = \"jim morris\"" + }, + { + "question": "What are the maximum, minimum, and average booked count for the products booked?", + "context": "create table products_booked (booked_count integer, PRIMARY KEY (booked_count))", + "answer": "select max(booked_count), min(booked_count), avg(booked_count) from products_booked" + }, + { + "question": "how many broadcaste dates features the overtones", + "context": "create table table_29135051_3 (broadcast_date varchar, singer_s_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select count(broadcast_date) from table_29135051_3 where singer_s_ = \"the overtones\"" + }, + { + "question": "How many players had the most assists against New Jersey?", + "context": "create table table_15873014_3 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_15873014_3 where team = \"new jersey\"" + }, + { + "question": "who is the the\u00a0judges\u00a0with\u00a0seasons and winners\u00a0being season 1, 2013\u20132014: upcoming season", + "context": "create table table_13779832_1 (judges varchar, seasons_and_winners varchar, PRIMARY KEY (judges))", + "answer": "select judges from table_13779832_1 where seasons_and_winners = \"season 1, 2013\u20132014: upcoming season\"" + }, + { + "question": "When was the first UK broadcast when the official Barb ratings was 1085000?", + "context": "create table table_26591309_2 (first_broadcast_uk___bbc_four__ varchar, official_barb_ratings varchar, PRIMARY KEY (first_broadcast_uk___bbc_four__))", + "answer": "select first_broadcast_uk___bbc_four__ from table_26591309_2 where official_barb_ratings = 1085000" + }, + { + "question": "What was the score on the 1st leg if the team 2 is botafogo?", + "context": "create table table_17282875_2 (team__number2 varchar, PRIMARY KEY (team__number2))", + "answer": "select count(1 as st_leg) from table_17282875_2 where team__number2 = \"botafogo\"" + }, + { + "question": "When bmw activee is the vehicle type what is the u.s national average electric mix?", + "context": "create table table_24620684_2 (us_national_average_electric_mix varchar, vehicle varchar, PRIMARY KEY (us_national_average_electric_mix))", + "answer": "select us_national_average_electric_mix from table_24620684_2 where vehicle = \"bmw activee\"" + }, + { + "question": "Show the names of companies in the banking or retailing industry?", + "context": "create table company (name varchar, industry varchar, PRIMARY KEY (name))", + "answer": "select name from company where industry = \"banking\" or industry = \"retailing\"" + }, + { + "question": "What was the outcome of the game when the opponent was Magdal\u00e9na Ryb\u00e1rikov\u00e1?", + "context": "create table table_18183850_12 (outcome varchar, opponent varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_18183850_12 where opponent = \"magdal\u00e9na ryb\u00e1rikov\u00e1\"" + }, + { + "question": "What is the percentage of republican voters in which the d-r spread is -14.1%?", + "context": "create table table_27003223_4 (republican varchar, d_r_spread varchar, PRIMARY KEY (republican))", + "answer": "select republican from table_27003223_4 where d_r_spread = \"-14.1%\"" + }, + { + "question": "Who won the episode in which Sean Lock was Rufus's guest?", + "context": "create table table_19930660_2 (winner varchar, rufus_guest varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_19930660_2 where rufus_guest = \"sean lock\"" + }, + { + "question": "How many companies operates airlines in each airport?", + "context": "create table airport (id varchar, PRIMARY KEY (id)); create table flight (id varchar, PRIMARY KEY (id)); create table operate_company (id varchar, PRIMARY KEY (id))", + "answer": "select t3.id, count(*) from operate_company as t1 join flight as t2 on t1.id = t2.company_id join airport as t3 on t2.airport_id = t3.id group by t3.id" + }, + { + "question": "Who won the Brands Hatch circuit?", + "context": "create table table_1140088_6 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140088_6 where circuit = \"brands hatch\"" + }, + { + "question": "where is the participant marelissa him from", + "context": "create table table_27515452_3 (hometown varchar, contestant varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_27515452_3 where contestant = \"marelissa him\"" + }, + { + "question": "How many years did he have an average finish of 29.2?", + "context": "create table table_1637041_2 (winnings varchar, avg_finish varchar, PRIMARY KEY (winnings))", + "answer": "select count(winnings) from table_1637041_2 where avg_finish = \"29.2\"" + }, + { + "question": "What was the missing for lieutenant general sir thomas picton?", + "context": "create table table_11793221_4 (missing varchar, commander varchar, PRIMARY KEY (missing))", + "answer": "select missing from table_11793221_4 where commander = \"lieutenant general sir thomas picton\"" + }, + { + "question": "Show all distinct product categories along with the number of mailshots in each category.", + "context": "create table mailshot_campaigns (product_category varchar, PRIMARY KEY (product_category))", + "answer": "select product_category, count(*) from mailshot_campaigns group by product_category" + }, + { + "question": "What is the Japanese title for Fantasy?", + "context": "create table table_11839306_2 (japanese_title varchar, english_title varchar, PRIMARY KEY (japanese_title))", + "answer": "select japanese_title from table_11839306_2 where english_title = \"fantasy\"" + }, + { + "question": "who is the the\u00a0high rebounds\u00a0with\u00a0team\u00a0being vancouver", + "context": "create table table_13557843_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13557843_7 where team = \"vancouver\"" + }, + { + "question": "How many locations are listed for the Big 12 Conference?", + "context": "create table table_22645714_5 (tournament_venue__city_ varchar, conference varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select count(tournament_venue__city_) from table_22645714_5 where conference = \"big 12 conference\"" + }, + { + "question": "How many words are there in rusyn for the bulgarian word \u043a\u0443\u043f\u0443\u0432\u0430 (kupuva)?", + "context": "create table table_28136_15 (rusyn varchar, bulgarian varchar, PRIMARY KEY (rusyn))", + "answer": "select count(rusyn) from table_28136_15 where bulgarian = \"\u043a\u0443\u043f\u0443\u0432\u0430 (kupuva)\"" + }, + { + "question": "Show all template type codes that are not used by any document.", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code from templates except select template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id" + }, + { + "question": "What is the winning coach total number if the top team in regular season (points) is the Kansas City Spurs (110 points)?", + "context": "create table table_237757_3 (winning_coach varchar, top_team_in_regular_season__points_ varchar, PRIMARY KEY (winning_coach))", + "answer": "select count(winning_coach) from table_237757_3 where top_team_in_regular_season__points_ = \"kansas city spurs (110 points)\"" + }, + { + "question": "When sweden is the country who is the skip?", + "context": "create table table_26912584_2 (skip varchar, country varchar, sweden varchar, PRIMARY KEY (skip))", + "answer": "select skip from table_26912584_2 where country = sweden" + }, + { + "question": "What are the ids of all students for courses and what are the names of those courses?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_registrations (student_id varchar, course_id varchar, PRIMARY KEY (student_id))", + "answer": "select t1.student_id, t2.course_name from student_course_registrations as t1 join courses as t2 on t1.course_id = t2.course_id" + }, + { + "question": "When 0,4, or 8 mb is the nupowr 117 what is the sonnet?", + "context": "create table table_3002894_4 (sonnet varchar, nupowr_117 varchar, PRIMARY KEY (sonnet))", + "answer": "select sonnet from table_3002894_4 where nupowr_117 = \"0,4, or 8 mb\"" + }, + { + "question": "List the top 5 genres by number of tracks. List genres name and total tracks.", + "context": "create table tracks (genre_id varchar, PRIMARY KEY (genre_id)); create table genres (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from genres as t1 join tracks as t2 on t2.genre_id = t1.id group by t1.id order by count(*) desc limit 5" + }, + { + "question": "What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer?", + "context": "create table table_26250155_1 (order__number varchar, theme varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250155_1 where theme = \"billboard hot 100 hits\" and original_artist = \"sixpence none the richer\"" + }, + { + "question": "How many candidates were there in the race where Cecil R. King is the incumbent?", + "context": "create table table_1342198_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342198_6 where incumbent = \"cecil r. king\"" + }, + { + "question": "Which US air date had 4.4 million viewers?", + "context": "create table table_17901155_4 (original_us_air_date varchar, viewers__millions_ varchar, PRIMARY KEY (original_us_air_date))", + "answer": "select original_us_air_date from table_17901155_4 where viewers__millions_ = \"4.4\"" + }, + { + "question": "who is the\u00a0champion\u00a0where\u00a0semi-finalist #2\u00a0is na and\u00a0location\u00a0is morrisville, nc", + "context": "create table table_11214772_1 (champion varchar, semi_finalist__number2 varchar, location varchar, PRIMARY KEY (champion))", + "answer": "select champion from table_11214772_1 where semi_finalist__number2 = \"na\" and location = \"morrisville, nc\"" + }, + { + "question": "Name the number of womens doubles for 2011 rio de janeiro", + "context": "create table table_28138035_4 (womens_doubles varchar, year_location varchar, PRIMARY KEY (womens_doubles))", + "answer": "select count(womens_doubles) from table_28138035_4 where year_location = \"2011 rio de janeiro\"" + }, + { + "question": "How many locations were recorded when the opponent Columbus Blue Jackets?", + "context": "create table table_17360840_9 (location varchar, opponent varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_17360840_9 where opponent = \"columbus blue jackets\"" + }, + { + "question": "What is the version with sbagen software?", + "context": "create table table_15038373_1 (version varchar, software varchar, PRIMARY KEY (version))", + "answer": "select version from table_15038373_1 where software = \"sbagen\"" + }, + { + "question": "Who wrote the episodes that were directed by Peter O'Fallon?", + "context": "create table table_28561455_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28561455_1 where directed_by = \"peter o'fallon\"" + }, + { + "question": "What is the name where p is mf?", + "context": "create table table_11891841_2 (name varchar, p varchar, PRIMARY KEY (name))", + "answer": "select name from table_11891841_2 where p = \"mf\"" + }, + { + "question": "What prefecture is listed in the map as number 39?", + "context": "create table table_221398_1 (prefecture varchar, number_in_map varchar, PRIMARY KEY (prefecture))", + "answer": "select prefecture from table_221398_1 where number_in_map = \"39\"" + }, + { + "question": "What's the area of the voivodenship with 51 communes?", + "context": "create table table_11656578_2 (area_km\u00b2__1998_ varchar, no_of_communes varchar, PRIMARY KEY (area_km\u00b2__1998_))", + "answer": "select area_km\u00b2__1998_ from table_11656578_2 where no_of_communes = 51" + }, + { + "question": "What is department name and office for the professor whose last name is Heffington?", + "context": "create table employee (emp_num varchar, emp_lname varchar, PRIMARY KEY (emp_num)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, PRIMARY KEY (prof_office))", + "answer": "select t3.dept_name, t2.prof_office from employee as t1 join professor as t2 on t1.emp_num = t2.emp_num join department as t3 on t2.dept_code = t3.dept_code where t1.emp_lname = 'heffington'" + }, + { + "question": "Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker?", + "context": "create table table_2226817_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2226817_3 where written_by = \"michael g. moye & ron leavitt & j. stanford parker\"" + }, + { + "question": "HOw many films did martin repka category:articles with hcards direct?", + "context": "create table table_22032599_1 (film_title_used_in_nomination varchar, director varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select count(film_title_used_in_nomination) from table_22032599_1 where director = \"martin repka category:articles with hcards\"" + }, + { + "question": "What is the location of the Carousel toll plaza?", + "context": "create table table_1211545_2 (location varchar, name varchar, PRIMARY KEY (location))", + "answer": "select location from table_1211545_2 where name = \"carousel toll plaza\"" + }, + { + "question": "What is the partition id of the user named \"Iron Man\".", + "context": "create table user_profiles (partitionid varchar, name varchar, PRIMARY KEY (partitionid))", + "answer": "select partitionid from user_profiles where name = 'iron man'" + }, + { + "question": "The Keutenberg race had what race length?", + "context": "create table table_1749567_2 (length__in_m_ integer, name varchar, PRIMARY KEY (length__in_m_))", + "answer": "select max(length__in_m_) from table_1749567_2 where name = \"keutenberg\"" + }, + { + "question": "When did the staff member with first name as Janessa and last name as Sawayn leave the company?", + "context": "create table staff (date_left_staff varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_left_staff))", + "answer": "select date_left_staff from staff where first_name = \"janessa\" and last_name = \"sawayn\"" + }, + { + "question": "Please show the employee last names that serves no more than 20 customers.", + "context": "create table employee (employeeid varchar, PRIMARY KEY (employeeid)); create table customer (lastname varchar, supportrepid varchar, PRIMARY KEY (lastname))", + "answer": "select t1.lastname from customer as t1 join employee as t2 on t1.supportrepid = t2.employeeid group by t1.supportrepid having count(*) <= 20" + }, + { + "question": "How many netflow version are there when the vendor and type is enterasys switches?", + "context": "create table table_1206114_2 (netflow_version varchar, vendor_and_type varchar, PRIMARY KEY (netflow_version))", + "answer": "select count(netflow_version) from table_1206114_2 where vendor_and_type = \"enterasys switches\"" + }, + { + "question": "Which conference has the nickname Chargers?", + "context": "create table table_1973729_2 (current_conference varchar, nickname varchar, PRIMARY KEY (current_conference))", + "answer": "select current_conference from table_1973729_2 where nickname = \"chargers\"" + }, + { + "question": "What province has the Chinese translation \u91cd\u5e86?", + "context": "create table table_16489766_2 (province varchar, chinese varchar, PRIMARY KEY (province))", + "answer": "select count(province) from table_16489766_2 where chinese = \"\u91cd\u5e86\"" + }, + { + "question": "List the object number of railways that do not have any trains.", + "context": "create table train (objectnumber varchar, railway_id varchar, PRIMARY KEY (objectnumber)); create table railway (objectnumber varchar, railway_id varchar, PRIMARY KEY (objectnumber))", + "answer": "select objectnumber from railway where not railway_id in (select railway_id from train)" + }, + { + "question": "How many entries are shown for winnings for team #07 robby gordon motorsports?", + "context": "create table table_1507423_5 (winnings varchar, team_s_ varchar, PRIMARY KEY (winnings))", + "answer": "select count(winnings) from table_1507423_5 where team_s_ = \"#07 robby gordon motorsports\"" + }, + { + "question": "How many papers are published by the institution \"Tokohu University\"?", + "context": "create table inst (instid varchar, name varchar, PRIMARY KEY (instid)); create table authorship (paperid varchar, instid varchar, PRIMARY KEY (paperid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title))", + "answer": "select count(distinct t1.title) from papers as t1 join authorship as t2 on t1.paperid = t2.paperid join inst as t3 on t2.instid = t3.instid where t3.name = \"tokohu university\"" + }, + { + "question": "what's the\u00a0mission with\u00a0primary payload(s)\u00a0being spacelab life sciences-2", + "context": "create table table_14118521_1 (mission varchar, primary_payload_s_ varchar, PRIMARY KEY (mission))", + "answer": "select mission from table_14118521_1 where primary_payload_s_ = \"spacelab life sciences-2\"" + }, + { + "question": "Return all distinct detention type codes.", + "context": "create table detention (detention_type_code varchar, PRIMARY KEY (detention_type_code))", + "answer": "select distinct detention_type_code from detention" + }, + { + "question": "Which continent is Anguilla in?", + "context": "create table country (continent varchar, name varchar, PRIMARY KEY (continent))", + "answer": "select continent from country where name = \"anguilla\"" + }, + { + "question": "What is the acronym used for Beirut Arab University?", + "context": "create table table_1160660_1 (acronym varchar, university_name varchar, PRIMARY KEY (acronym))", + "answer": "select acronym from table_1160660_1 where university_name = \"beirut arab university\"" + }, + { + "question": "What school had an enrollment in 2005 of 69?", + "context": "create table table_2076490_1 (school varchar, enrollment__2005_ varchar, PRIMARY KEY (school))", + "answer": "select school from table_2076490_1 where enrollment__2005_ = \"69\"" + }, + { + "question": "Show all role codes and the number of employees in each role.", + "context": "create table employees (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code, count(*) from employees group by role_code" + }, + { + "question": "Who is the manager for the fc inter club?", + "context": "create table table_29250534_1 (manager varchar, club varchar, PRIMARY KEY (manager))", + "answer": "select manager from table_29250534_1 where club = \"fc inter\"" + }, + { + "question": "Who is every driver for the location of Estoril Circuit?", + "context": "create table table_23293785_2 (driver varchar, location varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_23293785_2 where location = \"estoril circuit\"" + }, + { + "question": "What is the compound name listed where marine organism \u03b1 is worm", + "context": "create table table_12715053_1 (compound_name varchar, marine_organism_\u03b1 varchar, PRIMARY KEY (compound_name))", + "answer": "select compound_name from table_12715053_1 where marine_organism_\u03b1 = \"worm\"" + }, + { + "question": "What year is dayton in class AAAA?", + "context": "create table table_15315103_1 (school_year varchar, class_aaaa varchar, dayton varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_15315103_1 where class_aaaa = dayton" + }, + { + "question": "How many verbs mean to grow, to produce", + "context": "create table table_1745843_10 (part_1 varchar, verb_meaning varchar, PRIMARY KEY (part_1))", + "answer": "select count(part_1) from table_1745843_10 where verb_meaning = \"to grow, to produce\"" + }, + { + "question": "What is the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months?", + "context": "create table table_18161217_2 (cospar_id varchar, estimated_operational_life varchar, satellite varchar, PRIMARY KEY (cospar_id))", + "answer": "select cospar_id from table_18161217_2 where estimated_operational_life = \"2 months\" and satellite = \"kosmos 2397\"" + }, + { + "question": "What is the branding of the callsign DWCI-TV?", + "context": "create table table_2610582_2 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2610582_2 where callsign = \"dwci-tv\"" + }, + { + "question": "Group by ships by flag, and return number of ships that have each flag.", + "context": "create table ship (flag varchar, PRIMARY KEY (flag))", + "answer": "select count(*), flag from ship group by flag" + }, + { + "question": "Which nominations are connected to the film Totalitarian Romance?", + "context": "create table table_10236830_4 (nomination varchar, film_name varchar, PRIMARY KEY (nomination))", + "answer": "select nomination from table_10236830_4 where film_name = \"totalitarian romance\"" + }, + { + "question": "What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15%", + "context": "create table table_14752049_2 (international_tourist_arrivals__2010_ varchar, change__2010_to_2011_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))", + "answer": "select international_tourist_arrivals__2010_ from table_14752049_2 where change__2010_to_2011_ = \"+15%\"" + }, + { + "question": "who won mixed doubles when wang yihan won womens singles", + "context": "create table table_20361783_1 (mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_20361783_1 where womens_singles = \"wang yihan\"" + }, + { + "question": "Find the name and email for the users who have more than one follower.", + "context": "create table follows (f1 varchar, PRIMARY KEY (f1)); create table user_profiles (name varchar, email varchar, uid varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t1.email from user_profiles as t1 join follows as t2 on t1.uid = t2.f1 group by t2.f1 having count(*) > 1" + }, + { + "question": "Name the wraps per inch for 120-240", + "context": "create table table_20297668_1 (wraps_per_inch__wpi_ varchar, m_100g varchar, PRIMARY KEY (wraps_per_inch__wpi_))", + "answer": "select wraps_per_inch__wpi_ from table_20297668_1 where m_100g = \"120-240\"" + }, + { + "question": "What is Phil Crane, democrat or republican", + "context": "create table table_1341663_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341663_14 where incumbent = \"phil crane\"" + }, + { + "question": "What is the most popular payment method?", + "context": "create table payments (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code from payments group by payment_method_code order by count(*) desc limit 1" + }, + { + "question": "Which country has had 8 miss universes?", + "context": "create table table_28634206_1 (country varchar, miss_universe varchar, PRIMARY KEY (country))", + "answer": "select country from table_28634206_1 where miss_universe = \"8\"" + }, + { + "question": "How many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?", + "context": "create table table_25246990_5 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_25246990_5 where written_by = \"lazar saric & jed spingarn\"" + }, + { + "question": "Who was the radio 1 presenter for the broadcast that had 9.73 million viewers?", + "context": "create table table_24212608_1 (radio_1_presenter varchar, viewers__millions_ varchar, PRIMARY KEY (radio_1_presenter))", + "answer": "select radio_1_presenter from table_24212608_1 where viewers__millions_ = \"9.73\"" + }, + { + "question": "Name the transit connections for capitol hill u", + "context": "create table table_22771048_3 (transit_connections varchar, station varchar, PRIMARY KEY (transit_connections))", + "answer": "select transit_connections from table_22771048_3 where station = \"capitol hill u\"" + }, + { + "question": "During the 1st Place (Won the Series), who was the act?", + "context": "create table table_23429629_4 (act varchar, place_came varchar, PRIMARY KEY (act))", + "answer": "select act from table_23429629_4 where place_came = \"1st place (won the series)\"" + }, + { + "question": "What is the original air date that had the wykeham wonderers as team 1?", + "context": "create table table_18733480_1 (air_date varchar, team_1 varchar, PRIMARY KEY (air_date))", + "answer": "select air_date from table_18733480_1 where team_1 = \"wykeham wonderers\"" + }, + { + "question": "How many different actors from the Second national tour year 2 played the character played by Oliver Tompsett from the original West End cast?", + "context": "create table table_19529639_3 (second_national_tour_year_2 varchar, original_west_end_cast varchar, PRIMARY KEY (second_national_tour_year_2))", + "answer": "select count(second_national_tour_year_2) from table_19529639_3 where original_west_end_cast = \"oliver tompsett\"" + }, + { + "question": "Which school has the smallest amount of professors?", + "context": "create table department (school_code varchar, dept_code varchar, PRIMARY KEY (school_code)); create table professor (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select t1.school_code from department as t1 join professor as t2 on t1.dept_code = t2.dept_code group by t1.school_code order by count(*) limit 1" + }, + { + "question": "What state has a semifinal average of 8.538 (8) ?", + "context": "create table table_16268026_3 (state varchar, semifinal_average varchar, PRIMARY KEY (state))", + "answer": "select state from table_16268026_3 where semifinal_average = \"8.538 (8)\"" + }, + { + "question": "How many airports haven't the pilot 'Thompson' driven an aircraft?", + "context": "create table airport (id varchar, airport_id varchar, pilot varchar, PRIMARY KEY (id)); create table flight (id varchar, airport_id varchar, pilot varchar, PRIMARY KEY (id))", + "answer": "select count(*) from airport where not id in (select airport_id from flight where pilot = 'thompson')" + }, + { + "question": "Does the Scout Association of Hong Kong admit boys, girls, or both?", + "context": "create table table_104858_1 (admits_boys_girls varchar, name_of_member_organization varchar, PRIMARY KEY (admits_boys_girls))", + "answer": "select admits_boys_girls from table_104858_1 where name_of_member_organization = \"the scout association of hong kong\"" + }, + { + "question": "If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?", + "context": "create table table_25220821_3 (rider varchar, tues_1_june varchar, PRIMARY KEY (rider))", + "answer": "select count(rider) from table_25220821_3 where tues_1_june = \"21' 05.27 107.351mph\"" + }, + { + "question": "How many 3rd runner up values does Turkey have?", + "context": "create table table_30007801_1 (country_territory varchar, PRIMARY KEY (country_territory))", + "answer": "select count(3 as rd_runner_up) from table_30007801_1 where country_territory = \"turkey\"" + }, + { + "question": "What are the life spans of representatives from New York state or Indiana state?", + "context": "create table representative (lifespan varchar, state varchar, PRIMARY KEY (lifespan))", + "answer": "select lifespan from representative where state = \"new york\" or state = \"indiana\"" + }, + { + "question": "How many route/via's are there for the ernad express?", + "context": "create table table_29770377_1 (route_via varchar, train_name varchar, PRIMARY KEY (route_via))", + "answer": "select count(route_via) from table_29770377_1 where train_name = \"ernad express\"" + }, + { + "question": "What party is listed for the Representative under the 85th congress?", + "context": "create table table_2841865_2 (party varchar, congress varchar, PRIMARY KEY (party))", + "answer": "select party from table_2841865_2 where congress = \"85th\"" + }, + { + "question": "How many first place participants where from croatia?", + "context": "create table table_30018460_1 (country_territory varchar, PRIMARY KEY (country_territory))", + "answer": "select 3 as rd_runner_up from table_30018460_1 where country_territory = \"croatia\"" + }, + { + "question": "What is the number of cities/municipalities having an urban settlement of Srbobran?", + "context": "create table table_2562572_2 (city___municipality varchar, urban_settlement varchar, PRIMARY KEY (city___municipality))", + "answer": "select count(city___municipality) from table_2562572_2 where urban_settlement = \"srbobran\"" + }, + { + "question": "What is every surface with a score in the final of 6\u20134, 6\u20137 (1\u20137) , 6\u20137 (4\u20137) , 4\u20136?", + "context": "create table table_23235767_1 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_23235767_1 where score_in_the_final = \"6\u20134, 6\u20137 (1\u20137) , 6\u20137 (4\u20137) , 4\u20136\"" + }, + { + "question": "Name the total number of original titles written by john sullivan and keith lindsay", + "context": "create table table_17641206_6 (original_title varchar, written_by varchar, PRIMARY KEY (original_title))", + "answer": "select count(original_title) from table_17641206_6 where written_by = \"john sullivan and keith lindsay\"" + }, + { + "question": "Which film actor (actress) starred the most films? List his or her first name, last name and actor id.", + "context": "create table film_actor (actor_id varchar, PRIMARY KEY (actor_id)); create table actor (first_name varchar, last_name varchar, actor_id varchar, PRIMARY KEY (first_name))", + "answer": "select t2.first_name, t2.last_name, t2.actor_id from film_actor as t1 join actor as t2 on t1.actor_id = t2.actor_id group by t2.actor_id order by count(*) desc limit 1" + }, + { + "question": "How many press jury points did the song by Frank Aleksandersen get?", + "context": "create table table_20183474_1 (press_jury integer, artist varchar, PRIMARY KEY (press_jury))", + "answer": "select min(press_jury) from table_20183474_1 where artist = \"frank aleksandersen\"" + }, + { + "question": "What are all the order #s from the week \"top 6\"?", + "context": "create table table_29756040_1 (order__number varchar, week__number varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_29756040_1 where week__number = \"top 6\"" + }, + { + "question": "When saif saaeed shaheen ( qat ) is the saif saaeed shaheen ( qat ) what is the date on September 3rd, 2004?", + "context": "create table table_23988726_2 (id varchar, PRIMARY KEY (id))", + "answer": "select 3 as _september_2004 from table_23988726_2 where \"saif_saaeed_shaheen___qat__\" = \"saif_saaeed_shaheen___qat__\"" + }, + { + "question": "What is the name of the staff that is in charge of the attraction named \"US museum\"?", + "context": "create table tourist_attractions (tourist_attraction_id varchar, name varchar, PRIMARY KEY (tourist_attraction_id)); create table staff (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from staff as t1 join tourist_attractions as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id where t2.name = \"us museum\"" + }, + { + "question": "Name the studio for super callanetics", + "context": "create table table_27303975_2 (studio varchar, title varchar, PRIMARY KEY (studio))", + "answer": "select studio from table_27303975_2 where title = \"super callanetics\"" + }, + { + "question": "What was the maximum altitude for Neil Armstrong?", + "context": "create table table_221315_3 (max_altitude__miles_ varchar, pilot varchar, PRIMARY KEY (max_altitude__miles_))", + "answer": "select max_altitude__miles_ from table_221315_3 where pilot = \"neil armstrong\"" + }, + { + "question": "Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis?", + "context": "create table table_14132239_3 (defensive varchar, rookie varchar, offensive varchar, PRIMARY KEY (defensive))", + "answer": "select defensive from table_14132239_3 where rookie = \"daryl veltman\" and offensive = \"mark steenhuis\"" + }, + { + "question": "List the countries having more than 4 addresses listed.", + "context": "create table addresses (country varchar, address_id varchar, PRIMARY KEY (country))", + "answer": "select country from addresses group by country having count(address_id) > 4" + }, + { + "question": "If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?", + "context": "create table table_18427769_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_18427769_1 where directed_by = \"di drew\"" + }, + { + "question": "Find the number of items that did not receive any review.", + "context": "create table review (i_id varchar, PRIMARY KEY (i_id)); create table item (i_id varchar, PRIMARY KEY (i_id))", + "answer": "select count(*) from item where not i_id in (select i_id from review)" + }, + { + "question": "Name the high rebounds for td garden 18,624", + "context": "create table table_22871239_9 (high_rebounds varchar, arena_attendance varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_22871239_9 where arena_attendance = \"td garden 18,624\"" + }, + { + "question": "What was the enrollment (2005) for baccalaureate colleges , for Granite State College?", + "context": "create table table_2076490_1 (enrollment__2005_ varchar, type varchar, school varchar, PRIMARY KEY (enrollment__2005_))", + "answer": "select enrollment__2005_ from table_2076490_1 where type = \"baccalaureate college\" and school = \"granite state college\"" + }, + { + "question": "Name the lms number for serial number being 372", + "context": "create table table_20236726_2 (lms_no varchar, serial_no varchar, PRIMARY KEY (lms_no))", + "answer": "select lms_no from table_20236726_2 where serial_no = 372" + }, + { + "question": "Show different tourist attractions' names, ids, and the corresponding number of visits.", + "context": "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))", + "answer": "select t1.name, t2.tourist_attraction_id, count(*) from tourist_attractions as t1 join visits as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id group by t2.tourist_attraction_id" + }, + { + "question": "Who won 3rd place when the mutya ng pilipinas winner was was rochelle romero ong?", + "context": "create table table_24430894_20 (mutya_ng_pilipinas_asia_pacific varchar, PRIMARY KEY (mutya_ng_pilipinas_asia_pacific))", + "answer": "select 2 as nd_runner_up from table_24430894_20 where mutya_ng_pilipinas_asia_pacific = \"rochelle romero ong\"" + }, + { + "question": "Name the reidsville for enrollment", + "context": "create table table_25330991_3 (reidsville varchar, information varchar, PRIMARY KEY (reidsville))", + "answer": "select reidsville from table_25330991_3 where information = \"enrollment\"" + }, + { + "question": "Name the extension for university of washington", + "context": "create table table_22771048_3 (extension varchar, city_neighborhood varchar, PRIMARY KEY (extension))", + "answer": "select extension from table_22771048_3 where city_neighborhood = \"university of washington\"" + }, + { + "question": "What country is Pierre Vermeulen from?", + "context": "create table table_24565004_22 (nationality\u00b2 varchar, name varchar, PRIMARY KEY (nationality\u00b2))", + "answer": "select nationality\u00b2 from table_24565004_22 where name = \"pierre vermeulen\"" + }, + { + "question": "What is the broadcast date of the 16mm t/r episode?", + "context": "create table table_1849243_1 (broadcast_date varchar, archive varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_1849243_1 where archive = \"16mm t/r\"" + }, + { + "question": "Who was eliminated from the competition when connacht to the quarter final?", + "context": "create table table_28068063_3 (eliminated_from_competition varchar, proceed_to_quarter_final varchar, PRIMARY KEY (eliminated_from_competition))", + "answer": "select eliminated_from_competition from table_28068063_3 where proceed_to_quarter_final = \"connacht\"" + }, + { + "question": "What are the titles of segment c when segment d is motorcycle brake locks?", + "context": "create table table_15187735_21 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_21 where segment_d = \"motorcycle brake locks\"" + }, + { + "question": "How many calibers require the type LB/RN?", + "context": "create table table_21538523_1 (caliber varchar, type varchar, PRIMARY KEY (caliber))", + "answer": "select count(caliber) from table_21538523_1 where type = \"lb/rn\"" + }, + { + "question": "Show the account id and name with at least 4 transactions.", + "context": "create table financial_transactions (account_id varchar, PRIMARY KEY (account_id)); create table accounts (account_name varchar, account_id varchar, PRIMARY KEY (account_name))", + "answer": "select t1.account_id, t2.account_name from financial_transactions as t1 join accounts as t2 on t1.account_id = t2.account_id group by t1.account_id having count(*) >= 4" + }, + { + "question": "How many phone hardware models are produced by the company named \"Nokia Corporation\"?", + "context": "create table phone (company_name varchar, PRIMARY KEY (company_name))", + "answer": "select count(*) from phone where company_name = \"nokia corporation\"" + }, + { + "question": "What language is Sky Cinema Passion television service n. 308?", + "context": "create table table_15887683_5 (language varchar, television_service varchar, n\u00b0 varchar, PRIMARY KEY (language))", + "answer": "select language from table_15887683_5 where television_service = \"sky cinema passion\" and n\u00b0 = \"308\"" + }, + { + "question": "How many notes are there for the Devon Alexander vs. Shawn Porter fight?", + "context": "create table table_25840200_1 (notes varchar, fight varchar, PRIMARY KEY (notes))", + "answer": "select count(notes) from table_25840200_1 where fight = \"devon alexander vs. shawn porter\"" + }, + { + "question": "What was the original air date of Stargate SG-1 written by Peter Deluise?", + "context": "create table table_15431959_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_15431959_1 where written_by = \"peter deluise\"" + }, + { + "question": "what is the college for the player who's school is camden high school?", + "context": "create table table_11677760_1 (college varchar, school varchar, PRIMARY KEY (college))", + "answer": "select college from table_11677760_1 where school = \"camden high school\"" + }, + { + "question": "Name the high assists for 4-3", + "context": "create table table_23281862_5 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23281862_5 where record = \"4-3\"" + }, + { + "question": "What TV channel had a license from Boston?", + "context": "create table table_1353096_2 (channel_tv___dt__ varchar, city_of_license_market varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select channel_tv___dt__ from table_1353096_2 where city_of_license_market = \"boston\"" + }, + { + "question": "In language where Thursday is \u0628\u0631\u0633 \u0648\u0627\u0631 bres'var, what is Sunday?", + "context": "create table table_1277350_3 (sunday_surya__the_sun_ varchar, thursday_guru__jupiter_ varchar, PRIMARY KEY (sunday_surya__the_sun_))", + "answer": "select sunday_surya__the_sun_ from table_1277350_3 where thursday_guru__jupiter_ = \"\u0628\u0631\u0633 \u0648\u0627\u0631 bres'var\"" + }, + { + "question": "What is the description and code of the type of service that is performed the most often?", + "context": "create table services (service_type_code varchar, PRIMARY KEY (service_type_code)); create table ref_service_types (service_type_description varchar, service_type_code varchar, PRIMARY KEY (service_type_description))", + "answer": "select t1.service_type_description, t1.service_type_code from ref_service_types as t1 join services as t2 on t1.service_type_code = t2.service_type_code group by t1.service_type_code order by count(*) desc limit 1" + }, + { + "question": "While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast?", + "context": "create table table_24353141_1 (original_tokyo___seoul_tour_cast varchar, original_1st_us_tour_cast varchar, PRIMARY KEY (original_tokyo___seoul_tour_cast))", + "answer": "select original_tokyo___seoul_tour_cast from table_24353141_1 where original_1st_us_tour_cast = \"nicci claspell\"" + }, + { + "question": "When 4 mb is the sonnet what is the apple?", + "context": "create table table_3002894_4 (apple varchar, sonnet varchar, PRIMARY KEY (apple))", + "answer": "select apple from table_3002894_4 where sonnet = \"4 mb\"" + }, + { + "question": "What are the distinct template type descriptions for the templates ever used by any document?", + "context": "create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code)); create table documents (template_id varchar, PRIMARY KEY (template_id)); create table ref_template_types (template_type_description varchar, template_type_code varchar, PRIMARY KEY (template_type_description))", + "answer": "select distinct t1.template_type_description from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code join documents as t3 on t2.template_id = t3.template_id" + }, + { + "question": "How many directed by have 2.80 as u.s. viewers (in millions)?", + "context": "create table table_23499946_1 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_23499946_1 where us_viewers__in_millions_ = \"2.80\"" + }, + { + "question": "what is all the broadcast date when viewers were 8.4 millions", + "context": "create table table_2112766_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select count(broadcast_date) from table_2112766_1 where viewers__in_millions_ = \"8.4\"" + }, + { + "question": "How many data points for chrstians are 39.7?", + "context": "create table table_14598_5 (composition varchar, christians varchar, PRIMARY KEY (composition))", + "answer": "select count(composition) from table_14598_5 where christians = \"39.7\"" + }, + { + "question": "what is the max fs where the status is status and the method is method?", + "context": "create table table_17157367_1 (max_fs varchar, PRIMARY KEY (max_fs))", + "answer": "select max_fs from table_17157367_1 where \"status\" = \"status\" and \"method\" = \"method\"" + }, + { + "question": "How many original titles were listed as \"If the Sun Never Returns\"?", + "context": "create table table_22034853_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select count(original_title) from table_22034853_1 where film_title_used_in_nomination = \"if the sun never returns\"" + }, + { + "question": "What's the fencing score of the player with 9:40.31 (1080 pts) in running?", + "context": "create table table_12407546_1 (fencing varchar, running varchar, PRIMARY KEY (fencing))", + "answer": "select fencing from table_12407546_1 where running = \"9:40.31 (1080 pts)\"" + }, + { + "question": "Where is Southern Vermont College located?", + "context": "create table table_1973816_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_1973816_2 where institution = \"southern vermont college\"" + }, + { + "question": "find the names of programs whose origin is not in Beijing.", + "context": "create table program (name varchar, origin varchar, PRIMARY KEY (name))", + "answer": "select name from program where origin <> 'beijing'" + }, + { + "question": "How many measurements of the Czech Republic's population density are recorded in this table?", + "context": "create table table_24066938_1 (pop_density_people_km_2 varchar, member_state varchar, PRIMARY KEY (pop_density_people_km_2))", + "answer": "select count(pop_density_people_km_2) from table_24066938_1 where member_state = \"czech republic\"" + }, + { + "question": "What is the most adjusted points for Great Britain?", + "context": "create table table_26454128_4 (adjusted integer, country varchar, PRIMARY KEY (adjusted))", + "answer": "select max(adjusted) as points from table_26454128_4 where country = \"great britain\"" + }, + { + "question": "What was the record when the high rebounds was david lee (8)", + "context": "create table table_23248869_8 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_23248869_8 where high_rebounds = \"david lee (8)\"" + }, + { + "question": "What was the handicap when the prize money was 120s?", + "context": "create table table_2896329_1 (handicap varchar, prize_money varchar, PRIMARY KEY (handicap))", + "answer": "select handicap from table_2896329_1 where prize_money = \"120s\"" + }, + { + "question": "What spacecrafts had 22 orbital flights?", + "context": "create table table_179174_2 (spacecraft varchar, flights varchar, PRIMARY KEY (spacecraft))", + "answer": "select spacecraft from table_179174_2 where flights = \"22 orbital\"" + }, + { + "question": "What are the civilian total when the security force total is 36?", + "context": "create table table_21636599_2 (civilians varchar, security_forces varchar, PRIMARY KEY (civilians))", + "answer": "select civilians from table_21636599_2 where security_forces = \"36\"" + }, + { + "question": "Show all student ids and the number of hours played.", + "context": "create table plays_games (stuid varchar, hours_played integer, PRIMARY KEY (stuid))", + "answer": "select stuid, sum(hours_played) from plays_games group by stuid" + }, + { + "question": "Where was d: ~50nm, l: ~600nm geometry researched?", + "context": "create table table_30057479_1 (researched_at varchar, geometry varchar, PRIMARY KEY (researched_at))", + "answer": "select researched_at from table_30057479_1 where geometry = \"d: ~50nm, l: ~600nm\"" + }, + { + "question": "List all the log ids and their descriptions from the problem logs.", + "context": "create table problem_log (problem_log_id varchar, log_entry_description varchar, PRIMARY KEY (problem_log_id))", + "answer": "select problem_log_id, log_entry_description from problem_log" + }, + { + "question": "What is the power capacity when the generators were 781?", + "context": "create table table_11456251_5 (power_capacity__gw_ varchar, number_of_generators varchar, PRIMARY KEY (power_capacity__gw_))", + "answer": "select power_capacity__gw_ from table_11456251_5 where number_of_generators = 781" + }, + { + "question": "How many live births per year do people with a life expectancy of 65.1 have?", + "context": "create table table_27434_2 (live_births_per_year varchar, life_expectancy_total varchar, PRIMARY KEY (live_births_per_year))", + "answer": "select live_births_per_year from table_27434_2 where life_expectancy_total = \"65.1\"" + }, + { + "question": "Name the mountains classification for alexander kristoff", + "context": "create table table_19115414_4 (mountains_classification varchar, points_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_19115414_4 where points_classification = \"alexander kristoff\"" + }, + { + "question": "What is the 3 June time for the rider with 2 June time of 17' 45.11 127.525mph?", + "context": "create table table_25220821_4 (thurs_3_june varchar, wed_2_june varchar, PRIMARY KEY (thurs_3_june))", + "answer": "select thurs_3_june from table_25220821_4 where wed_2_june = \"17' 45.11 127.525mph\"" + }, + { + "question": "For democratic party, countries represented is montgomery and where committee is judiciary mention all the delegate name.", + "context": "create table table_27050336_7 (delegate varchar, counties_represented varchar, committee varchar, party varchar, PRIMARY KEY (delegate))", + "answer": "select delegate from table_27050336_7 where committee = \"judiciary\" and party = \"democratic\" and counties_represented = \"montgomery\"" + }, + { + "question": "What is the semester which most student registered in? Show both the name and the id.", + "context": "create table student_enrolment (semester_id varchar, PRIMARY KEY (semester_id)); create table semesters (semester_name varchar, semester_id varchar, PRIMARY KEY (semester_name))", + "answer": "select t1.semester_name, t1.semester_id from semesters as t1 join student_enrolment as t2 on t1.semester_id = t2.semester_id group by t1.semester_id order by count(*) desc limit 1" + }, + { + "question": "What is the location of the bridge named 'Kolob Arch' or 'Rainbow Bridge'?", + "context": "create table bridge (location varchar, name varchar, PRIMARY KEY (location))", + "answer": "select location from bridge where name = 'kolob arch' or name = 'rainbow bridge'" + }, + { + "question": "When was the motor gear of the LMS 1946 no. 1901 model fitted?", + "context": "create table table_2030453_1 (date_motor_gear_fitted varchar, lms_1946_no varchar, PRIMARY KEY (date_motor_gear_fitted))", + "answer": "select date_motor_gear_fitted from table_2030453_1 where lms_1946_no = 1901" + }, + { + "question": "Find the first and last name of students who are living in the dorms that have amenity TV Lounge.", + "context": "create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))", + "answer": "select t1.fname, t1.lname from student as t1 join lives_in as t2 on t1.stuid = t2.stuid where t2.dormid in (select t3.dormid from has_amenity as t3 join dorm_amenity as t4 on t3.amenid = t4.amenid where t4.amenity_name = 'tv lounge')" + }, + { + "question": "What was the archive for the episode with a run time of 25:24?", + "context": "create table table_2102714_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2102714_1 where run_time = \"25:24\"" + }, + { + "question": "When did the first payment happen?", + "context": "create table payment (payment_date varchar, PRIMARY KEY (payment_date))", + "answer": "select payment_date from payment order by payment_date limit 1" + }, + { + "question": "What is the product, chromosome and porphyria related to the enzymes which take effect at the location 'Cytosol'?", + "context": "create table enzyme (product varchar, chromosome varchar, porphyria varchar, location varchar, PRIMARY KEY (product))", + "answer": "select product, chromosome, porphyria from enzyme where location = 'cytosol'" + }, + { + "question": "How many networks run on virtual channel 23.4?", + "context": "create table table_2857352_3 (network varchar, virtual_channel varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_2857352_3 where virtual_channel = \"23.4\"" + }, + { + "question": "Name the gdp per capita for world rank being 131", + "context": "create table table_2249029_1 (gdp_per_capita varchar, gdp_world_rank varchar, PRIMARY KEY (gdp_per_capita))", + "answer": "select gdp_per_capita from table_2249029_1 where gdp_world_rank = \"131\"" + }, + { + "question": "How many Miss Waters has Canada had?", + "context": "create table table_30008638_1 (miss_water integer, country_territory varchar, PRIMARY KEY (miss_water))", + "answer": "select max(miss_water) from table_30008638_1 where country_territory = \"canada\"" + }, + { + "question": "Which city is listed first when Okinawa is listed as the second city?", + "context": "create table table_16066063_1 (city_1 varchar, city_2 varchar, PRIMARY KEY (city_1))", + "answer": "select city_1 from table_16066063_1 where city_2 = \"okinawa\"" + }, + { + "question": "Who was the outgoing manager of the team in 15th position that was sacked?", + "context": "create table table_27374004_4 (outgoing_manager varchar, manner_of_departure varchar, position_in_table varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27374004_4 where manner_of_departure = \"sacked\" and position_in_table = \"15th\"" + }, + { + "question": "What is the GDP at constant prices for a current account balance of 12.8?", + "context": "create table table_30133_1 (gdp_at_constant_prices__thb_trillions_ varchar, current_account_balance__percent_of_gdp_ varchar, PRIMARY KEY (gdp_at_constant_prices__thb_trillions_))", + "answer": "select gdp_at_constant_prices__thb_trillions_ from table_30133_1 where current_account_balance__percent_of_gdp_ = \"12.8\"" + }, + { + "question": "What is the total number of title with a u.s. air date of April 17, 2009", + "context": "create table table_12294557_3 (title varchar, us_airdate varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_12294557_3 where us_airdate = \"april 17, 2009\"" + }, + { + "question": "What is the name and country of origin of the artist who released a song that has \"love\" in its title?", + "context": "create table song (artist_name varchar, song_name varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, country varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.artist_name, t1.country from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t2.song_name like \"%love%\"" + }, + { + "question": "Which railroad is 112.6 kilometers from kingston?", + "context": "create table table_16226584_1 (name varchar, km_from_kingston varchar, PRIMARY KEY (name))", + "answer": "select name from table_16226584_1 where km_from_kingston = \"112.6\"" + }, + { + "question": "What date did the episode, with John O'Connell as the coach, premier?", + "context": "create table table_2140071_5 (premier_date varchar, coach varchar, PRIMARY KEY (premier_date))", + "answer": "select premier_date from table_2140071_5 where coach = \"john o'connell\"" + }, + { + "question": "Give me the names of members whose address is in Harford or Waterbury.", + "context": "create table member (name varchar, address varchar, PRIMARY KEY (name))", + "answer": "select name from member where address = 'harford' or address = 'waterbury'" + }, + { + "question": "How many scores were there for the home team when the away team was fitzroy?", + "context": "create table table_29090919_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select count(home_team) as score from table_29090919_1 where away_team = \"fitzroy\"" + }, + { + "question": "How many buddhists are where s jain have 941?", + "context": "create table table_14598_5 (buddhist varchar, s_jain varchar, PRIMARY KEY (buddhist))", + "answer": "select buddhist from table_14598_5 where s_jain = \"941\"" + }, + { + "question": "What is the name of organization that has the greatest number of contact individuals?", + "context": "create table organization_contact_individuals (organization_id varchar, PRIMARY KEY (organization_id)); create table organizations (organization_name varchar, organization_id varchar, PRIMARY KEY (organization_name))", + "answer": "select t1.organization_name from organizations as t1 join organization_contact_individuals as t2 on t1.organization_id = t2.organization_id group by t1.organization_name order by count(*) desc limit 1" + }, + { + "question": "How many locations have the callsign DXGH?", + "context": "create table table_28794440_1 (location varchar, callsign varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_28794440_1 where callsign = \"dxgh\"" + }, + { + "question": "What is the NHL team in the media market ranking number 7?", + "context": "create table table_1205598_1 (nhl_team_s_ varchar, media_market_ranking varchar, PRIMARY KEY (nhl_team_s_))", + "answer": "select nhl_team_s_ from table_1205598_1 where media_market_ranking = 7" + }, + { + "question": "What is the title of the episode that featured Abbud Siddiqui?", + "context": "create table table_29545336_2 (title varchar, featured_character_s_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_29545336_2 where featured_character_s_ = \"abbud siddiqui\"" + }, + { + "question": "In the system where Sunday is \u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1 \u0b95\u0bbf\u0bb4\u0bae\u0bc8 ny\u0101yitru kizhamai, what is Saturday?", + "context": "create table table_1277350_3 (saturday_shani__saturn_ varchar, sunday_surya__the_sun_ varchar, PRIMARY KEY (saturday_shani__saturn_))", + "answer": "select saturday_shani__saturn_ from table_1277350_3 where sunday_surya__the_sun_ = \"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1 \u0b95\u0bbf\u0bb4\u0bae\u0bc8 ny\u0101yitru kizhamai\"" + }, + { + "question": "List the locations that are shared by more than two wrestlers.", + "context": "create table wrestler (location varchar, PRIMARY KEY (location))", + "answer": "select location from wrestler group by location having count(*) > 2" + }, + { + "question": "Find the countries that have never participated in any competition with Friendly type.", + "context": "create table competition (country varchar, competition_type varchar, PRIMARY KEY (country))", + "answer": "select country from competition except select country from competition where competition_type = 'friendly'" + }, + { + "question": "What was the South Asian population in Nova Scotia in 2001?", + "context": "create table table_1717824_1 (south_asians_2001 varchar, province varchar, PRIMARY KEY (south_asians_2001))", + "answer": "select south_asians_2001 from table_1717824_1 where province = \"nova scotia\"" + }, + { + "question": "Which regular season contains playoffs in division finals?", + "context": "create table table_1241987_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))", + "answer": "select regular_season from table_1241987_1 where playoffs = \"division finals\"" + }, + { + "question": "Which organizations are not a parent organization of others? List the organization id.", + "context": "create table organizations (organization_id varchar, parent_organization_id varchar, PRIMARY KEY (organization_id))", + "answer": "select organization_id from organizations except select parent_organization_id from organizations" + }, + { + "question": "What is the second year course in the program where physics is taken in the fourth year?", + "context": "create table table_12148147_2 (second_year varchar, fourth_year varchar, PRIMARY KEY (second_year))", + "answer": "select second_year from table_12148147_2 where fourth_year = \"physics\"" + }, + { + "question": "what's the\u00a0dbeingtribution\u00a0with\u00a0grsecurity\u00a0being optional and\u00a0compile time buffer checks\u00a0being yes", + "context": "create table table_1357052_6 (distribution varchar, grsecurity varchar, compile_time_buffer_checks varchar, PRIMARY KEY (distribution))", + "answer": "select distribution from table_1357052_6 where grsecurity = \"optional\" and compile_time_buffer_checks = \"yes\"" + }, + { + "question": "Name the rank on channel mooning and crooning", + "context": "create table table_24222929_4 (rank_on_channel varchar, title varchar, PRIMARY KEY (rank_on_channel))", + "answer": "select rank_on_channel from table_24222929_4 where title = \"mooning and crooning\"" + }, + { + "question": "What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer?", + "context": "create table table_26250155_1 (week__number varchar, original_artist varchar, theme varchar, order__number varchar, PRIMARY KEY (week__number))", + "answer": "select count(week__number) from table_26250155_1 where theme = \"billboard hot 100 hits\" and order__number = \"3\" and original_artist = \"sixpence none the richer\"" + }, + { + "question": "What was the turnover when the profit before tax was 29.47?", + "context": "create table table_2856898_1 (turnover__\u00a3m_ varchar, profit_before_tax__\u00a3m_ varchar, PRIMARY KEY (turnover__\u00a3m_))", + "answer": "select turnover__\u00a3m_ from table_2856898_1 where profit_before_tax__\u00a3m_ = \"29.47\"" + }, + { + "question": "What is the largest population in regions where the average family size is 2.8 people?", + "context": "create table table_16048129_5 (number_of_people integer, average_family_size varchar, PRIMARY KEY (number_of_people))", + "answer": "select max(number_of_people) from table_16048129_5 where average_family_size = \"2.8\"" + }, + { + "question": "In what year and location did Liu Guozheng win the Mens Singles?", + "context": "create table table_28138035_35 (year_location varchar, mens_singles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_35 where mens_singles = \"liu guozheng\"" + }, + { + "question": "What's the title of the audio book with story number 91?", + "context": "create table table_20174050_1 (title varchar, story__number varchar, PRIMARY KEY (title))", + "answer": "select title from table_20174050_1 where story__number = 91" + }, + { + "question": "Name the number of nationality is tom hilde", + "context": "create table table_14407512_23 (nationality varchar, name varchar, PRIMARY KEY (nationality))", + "answer": "select count(nationality) from table_14407512_23 where name = \"tom hilde\"" + }, + { + "question": "Who is listed under the general classifcation where Ben Swift won and Cameron Meyer was listed under the young rider?", + "context": "create table table_29332810_14 (general_classification varchar, winner varchar, young_rider_classification varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_29332810_14 where winner = \"ben swift\" and young_rider_classification = \"cameron meyer\"" + }, + { + "question": "Find the number of dog pets that are raised by female students (with sex F).", + "context": "create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid)); create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t2.petid = t3.petid where t1.sex = 'f' and t3.pettype = 'dog'" + }, + { + "question": "Name the tourism receipts 2003 for colombia", + "context": "create table table_18524_6 (tourism_receipts__2003___as__percentage_of_gdp_ varchar, country varchar, PRIMARY KEY (tourism_receipts__2003___as__percentage_of_gdp_))", + "answer": "select tourism_receipts__2003___as__percentage_of_gdp_ from table_18524_6 where country = \"colombia\"" + }, + { + "question": "How many children did Dennis Hawley have at his time of death?", + "context": "create table table_24143253_2 (children_together varchar, deceased_spouse varchar, PRIMARY KEY (children_together))", + "answer": "select children_together from table_24143253_2 where deceased_spouse = \"dennis hawley\"" + }, + { + "question": "Show order ids and the number of products in each order.", + "context": "create table order_items (order_id varchar, product_id varchar, PRIMARY KEY (order_id))", + "answer": "select order_id, count(distinct product_id) from order_items group by order_id" + }, + { + "question": "Find the name of physicians who are affiliated with Surgery or Psychiatry department.", + "context": "create table affiliated_with (physician varchar, department varchar, PRIMARY KEY (physician)); create table department (departmentid varchar, name varchar, PRIMARY KEY (departmentid)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from physician as t1 join affiliated_with as t2 on t1.employeeid = t2.physician join department as t3 on t2.department = t3.departmentid where t3.name = 'surgery' or t3.name = 'psychiatry'" + }, + { + "question": "What are the original air date(s) for episodes written by aron eli coleite?", + "context": "create table table_28215780_4 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28215780_4 where written_by = \"aron eli coleite\"" + }, + { + "question": "Name the segment b for graphite s fly rod", + "context": "create table table_15187735_8 (segment_b varchar, segment_c varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_8 where segment_c = \"graphite s fly rod\"" + }, + { + "question": "What is the Alpha 2 code for Papua New Guinea?", + "context": "create table table_222771_1 (alpha_2_code varchar, english_short_name__upper_lower_case_ varchar, PRIMARY KEY (alpha_2_code))", + "answer": "select alpha_2_code from table_222771_1 where english_short_name__upper_lower_case_ = \"papua new guinea\"" + }, + { + "question": "What is the title of the episode that had 9.76 million U.S. viewers?", + "context": "create table table_22181917_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22181917_2 where us_viewers__millions_ = \"9.76\"" + }, + { + "question": "What is the title of the episode written by Vanessa Bates?", + "context": "create table table_19517621_4 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_19517621_4 where written_by = \"vanessa bates\"" + }, + { + "question": "HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL?", + "context": "create table table_10262329_1 (temp__ varchar, adhesive_type varchar, PRIMARY KEY (temp__))", + "answer": "select count(temp__) as \u00b0c_ from table_10262329_1 where adhesive_type = \"acryl\"" + }, + { + "question": "Find the names of all instructors who have taught some course and the course_id.", + "context": "create table instructor (id varchar, PRIMARY KEY (id)); create table teaches (id varchar, PRIMARY KEY (id))", + "answer": "select name, course_id from instructor as t1 join teaches as t2 on t1.id = t2.id" + }, + { + "question": "What is the smallest number of safeties?", + "context": "create table table_25642873_2 (safeties integer, PRIMARY KEY (safeties))", + "answer": "select min(safeties) from table_25642873_2" + }, + { + "question": "What's the format of the audio book titled The Mind Robber?", + "context": "create table table_20174050_1 (format varchar, title varchar, PRIMARY KEY (format))", + "answer": "select format from table_20174050_1 where title = \"the mind robber\"" + }, + { + "question": "What countries have had eruptions of growth episodes in 1986?", + "context": "create table table_1081235_1 (country varchar, last_eruption_or_growth_episode varchar, PRIMARY KEY (country))", + "answer": "select country from table_1081235_1 where last_eruption_or_growth_episode = \"1986\"" + }, + { + "question": "When the quiabaya municipality is 2 what is the combaya municipality?", + "context": "create table table_2509202_2 (combaya_municipality varchar, quiabaya_municipality varchar, PRIMARY KEY (combaya_municipality))", + "answer": "select combaya_municipality from table_2509202_2 where quiabaya_municipality = \"2\"" + }, + { + "question": "Name all the team clasification where the combination classification is mederic clain", + "context": "create table table_15088557_1 (team_classification varchar, combination_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_15088557_1 where combination_classification = \"mederic clain\"" + }, + { + "question": "What category was the movie Working Girl nominated?", + "context": "create table table_18638067_1 (category varchar, film_title_used_in_nomination varchar, PRIMARY KEY (category))", + "answer": "select category from table_18638067_1 where film_title_used_in_nomination = \"working girl\"" + }, + { + "question": "When Princeton was the regular season winner, who was the tournament winner?", + "context": "create table table_22733636_1 (tournament_winner varchar, regular_season_winner varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_22733636_1 where regular_season_winner = \"princeton\"" + }, + { + "question": "What's the record achieved in the gamed played at BC Place Stadium?", + "context": "create table table_21796261_4 (record varchar, location varchar, PRIMARY KEY (record))", + "answer": "select record from table_21796261_4 where location = \"bc place stadium\"" + }, + { + "question": "Find the name of customers who do not have a loan with a type of Mortgages.", + "context": "create table loan (cust_id varchar, loan_type varchar, PRIMARY KEY (cust_id)); create table customer (cust_name varchar, PRIMARY KEY (cust_name)); create table customer (cust_name varchar, cust_id varchar, PRIMARY KEY (cust_name))", + "answer": "select cust_name from customer except select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id where t2.loan_type = 'mortgages'" + }, + { + "question": "How many states-first place are there for the office of Governor?", + "context": "create table table_20246201_9 (states___first_place varchar, office varchar, PRIMARY KEY (states___first_place))", + "answer": "select count(states___first_place) from table_20246201_9 where office = \"governor\"" + }, + { + "question": "What poll source had an administered date on July 10, 2008?", + "context": "create table table_16751596_6 (poll_source varchar, dates_administered varchar, PRIMARY KEY (poll_source))", + "answer": "select poll_source from table_16751596_6 where dates_administered = \"july 10, 2008\"" + }, + { + "question": "Name the class a for carthage", + "context": "create table table_14630796_1 (class_a varchar, class_aaaa varchar, carthage varchar, PRIMARY KEY (class_a))", + "answer": "select class_a from table_14630796_1 where class_aaaa = carthage" + }, + { + "question": "What is the largest number of holding companies?", + "context": "create table table_1756264_2 (holding_companies integer, PRIMARY KEY (holding_companies))", + "answer": "select max(holding_companies) from table_1756264_2" + }, + { + "question": "What is the document status description of the document with id 1?", + "context": "create table documents (id varchar, PRIMARY KEY (id)); create table ref_document_status (id varchar, PRIMARY KEY (id))", + "answer": "select ref_document_status.document_status_description from ref_document_status join documents on documents.document_status_code = ref_document_status.document_status_code where documents.document_id = 1" + }, + { + "question": "How many stamps have a face value of 37\u00a2 and were printed in the banknote corporation of america?", + "context": "create table table_15635768_1 (no_stamps_in_sheet varchar, face_value varchar, printer varchar, PRIMARY KEY (no_stamps_in_sheet))", + "answer": "select count(no_stamps_in_sheet) from table_15635768_1 where face_value = \"37\u00a2\" and printer = \"banknote corporation of america\"" + }, + { + "question": "Which opponent has a record of 6-2?", + "context": "create table table_21091127_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_21091127_1 where record = \"6-2\"" + }, + { + "question": "What is the FY2008 $mil value associated with a FY2007 $mil value of exactly $120?", + "context": "create table table_25438110_5 (fy08_$millions varchar, fy07_$millions varchar, PRIMARY KEY (fy08_$millions))", + "answer": "select fy08_$millions from table_25438110_5 where fy07_$millions = \"$120\"" + }, + { + "question": "Name the summary for the success rate for 68.75%", + "context": "create table table_15829930_5 (summary varchar, success_rate varchar, PRIMARY KEY (summary))", + "answer": "select summary from table_15829930_5 where success_rate = \"68.75%\"" + }, + { + "question": "What time slot had an adult rating of 0.6?", + "context": "create table table_19188562_2 (timeslot varchar, rating__adults_18_49_ varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_19188562_2 where rating__adults_18_49_ = \"0.6\"" + }, + { + "question": "What is the color code and description of the product named \"chervil\"?", + "context": "create table products (color_code varchar, product_name varchar, PRIMARY KEY (color_code)); create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description))", + "answer": "select t1.color_code, t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t1.product_name = \"chervil\"" + }, + { + "question": "How many teams had an outgoing manager of antonio g\u00f3mez", + "context": "create table table_27495117_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select count(manner_of_departure) from table_27495117_3 where outgoing_manager = \"antonio g\u00f3mez\"" + }, + { + "question": "find the total percentage share of all channels owned by CCTV.", + "context": "create table channel (share_in_percent integer, owner varchar, PRIMARY KEY (share_in_percent))", + "answer": "select sum(share_in_percent) from channel where owner = 'cctv'" + }, + { + "question": "Which athlete competed in the flyweight division?", + "context": "create table table_1745820_5 (athlete varchar, event varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_1745820_5 where event = \"flyweight\"" + }, + { + "question": "what is the operator of trains arriving at 13.39", + "context": "create table table_18333678_2 (operator varchar, arrival varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_18333678_2 where arrival = \"13.39\"" + }, + { + "question": "Name the chassis for b. bira", + "context": "create table table_28190534_1 (chassis varchar, driver varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_28190534_1 where driver = \"b. bira\"" + }, + { + "question": "Name the ezhavas for muslims being 5.4", + "context": "create table table_23214055_2 (ezhavas varchar, muslims varchar, PRIMARY KEY (ezhavas))", + "answer": "select ezhavas from table_23214055_2 where muslims = \"5.4\"" + }, + { + "question": "Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit?", + "context": "create table table_11056278_3 (fastest_lap varchar, race_name varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_11056278_3 where race_name = \"tenneco automotive grand prix of detroit\"" + }, + { + "question": "What DS division has S. L. M. Haneefa as the divisional secretary?", + "context": "create table table_12485020_1 (ds_division varchar, divisional_secretary varchar, PRIMARY KEY (ds_division))", + "answer": "select ds_division from table_12485020_1 where divisional_secretary = \"s. l. m. haneefa\"" + }, + { + "question": "Who was the original artist of the chosen song when the theme was The Rolling Stones?", + "context": "create table table_26250189_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_26250189_1 where theme = \"the rolling stones\"" + }, + { + "question": "Name the total number of high asists for 34-27", + "context": "create table table_27902171_8 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_27902171_8 where record = \"34-27\"" + }, + { + "question": "What are the names of the spacewalkers for end (UTC) October 30, 2007 15:53?", + "context": "create table table_22385461_8 (spacewalkers varchar, end__utc_ varchar, PRIMARY KEY (spacewalkers))", + "answer": "select spacewalkers from table_22385461_8 where end__utc_ = \"october 30, 2007 15:53\"" + }, + { + "question": "What college did the T who was pick after 13 go to?", + "context": "create table t (id varchar, PRIMARY KEY (id))", + "answer": "select college from \"t\" as able_name_20 where pick__number > 13 and position = \"t\"" + }, + { + "question": "Name the landesliga mitte for fc gundelfingen and vfl frohnlach", + "context": "create table table_20181270_3 (landesliga_mitte varchar, landesliga_s\u00fcd varchar, landesliga_nord varchar, PRIMARY KEY (landesliga_mitte))", + "answer": "select landesliga_mitte from table_20181270_3 where landesliga_s\u00fcd = \"fc gundelfingen\" and landesliga_nord = \"vfl frohnlach\"" + }, + { + "question": "What is the number of titles written by Charleen Easton?", + "context": "create table table_2623498_5 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_2623498_5 where written_by = \"charleen easton\"" + }, + { + "question": "what's the\u00a0new south wales\u00a0with\u00a0crop (kilotonnes)\u00a0being canola", + "context": "create table table_1057262_2 (new_south_wales varchar, crop__kilotonnes_ varchar, PRIMARY KEY (new_south_wales))", + "answer": "select new_south_wales from table_1057262_2 where crop__kilotonnes_ = \"canola\"" + }, + { + "question": "Name the record for new orleans", + "context": "create table table_17355408_4 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17355408_4 where team = \"new orleans\"" + }, + { + "question": "What are the years of participation for pickerington north?", + "context": "create table table_17429402_7 (years_of_participation varchar, school varchar, PRIMARY KEY (years_of_participation))", + "answer": "select years_of_participation from table_17429402_7 where school = \"pickerington north\"" + }, + { + "question": "List the name of all products along with the number of complaints that they have received.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table complaints (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_name, count(*) from products as t1 join complaints as t2 on t1.product_id = t2.product_id group by t1.product_name" + }, + { + "question": "How many names have a country of civ?", + "context": "create table table_22810095_8 (count varchar, country varchar, PRIMARY KEY (count))", + "answer": "select count as name from table_22810095_8 where country = \"civ\"" + }, + { + "question": "Name the tongyong for qiaotou", + "context": "create table table_17015_2 (tongyong varchar, hanyu varchar, PRIMARY KEY (tongyong))", + "answer": "select count(tongyong) from table_17015_2 where hanyu = \"qiaotou\"" + }, + { + "question": "How many televotes are there where there is 4 jury votes?", + "context": "create table table_19763199_4 (televotes varchar, jury_votes varchar, PRIMARY KEY (televotes))", + "answer": "select televotes from table_19763199_4 where jury_votes = 4" + }, + { + "question": "How many cartoons were written by \"Joseph Kuhr\"?", + "context": "create table cartoon (written_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(*) from cartoon where written_by = \"joseph kuhr\"" + }, + { + "question": "Who is the director when Chris Hawkshaw is the writer?", + "context": "create table table_16175064_3 (director_s_ varchar, writer_s_ varchar, PRIMARY KEY (director_s_))", + "answer": "select director_s_ from table_16175064_3 where writer_s_ = \"chris hawkshaw\"" + }, + { + "question": "when changsha \u9577\u6c99 is the commandery what is the commandery capital?", + "context": "create table table_278229_1 (commandery varchar, PRIMARY KEY (commandery))", + "answer": "select commandery as capital from table_278229_1 where commandery = \"changsha \u9577\u6c99\"" + }, + { + "question": "What was the name of the episode that had 14.52 viewers?", + "context": "create table table_22904707_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22904707_1 where us_viewers__million_ = \"14.52\"" + }, + { + "question": "What vfl club(s) did players who played 23 cfl games play for?", + "context": "create table table_16527640_2 (vfl_club_s_ varchar, vfl_games varchar, PRIMARY KEY (vfl_club_s_))", + "answer": "select vfl_club_s_ from table_16527640_2 where vfl_games = 23" + }, + { + "question": "Who won the $109 no limit hold'em w/rebuys [turbo]?", + "context": "create table table_22050544_3 (winner varchar, event varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22050544_3 where event = \"$109 no limit hold'em w/rebuys [turbo]\"" + }, + { + "question": "When toronto blue jays are the mlb team who are the fscl team?", + "context": "create table table_18373863_2 (fcsl_team varchar, mlb_team varchar, PRIMARY KEY (fcsl_team))", + "answer": "select fcsl_team from table_18373863_2 where mlb_team = \"toronto blue jays\"" + }, + { + "question": "Name the driver for race 2 2", + "context": "create table table_15530244_5 (driver varchar, race_2 varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_15530244_5 where race_2 = \"2\"" + }, + { + "question": "What school did the 7-4 player attend?", + "context": "create table table_11734041_17 (school_club_team_country varchar, height_in_ft varchar, PRIMARY KEY (school_club_team_country))", + "answer": "select school_club_team_country from table_11734041_17 where height_in_ft = \"7-4\"" + }, + { + "question": "What type of settlement is Jazak?", + "context": "create table table_2562572_50 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_50 where settlement = \"jazak\"" + }, + { + "question": "How many players named sanath jayasuriya?", + "context": "create table table_15700367_6 (runs_conceded varchar, name varchar, PRIMARY KEY (runs_conceded))", + "answer": "select count(runs_conceded) from table_15700367_6 where name = \"sanath jayasuriya\"" + }, + { + "question": "What are all the different descriptions for the buttonholer with cardboard box for storage and a low shank type?", + "context": "create table table_28652521_1 (description varchar, storage_case varchar, for_shank_type varchar, PRIMARY KEY (description))", + "answer": "select description from table_28652521_1 where storage_case = \"cardboard box\" and for_shank_type = \"low\"" + }, + { + "question": "What is the number of vacators when the successor was William H. Wells ( F )?", + "context": "create table table_224839_3 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select count(vacator) from table_224839_3 where successor = \"william h. wells ( f )\"" + }, + { + "question": "What is the total number of opponents for the game recorded as 1-3?", + "context": "create table table_16710971_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_16710971_2 where record = \"1-3\"" + }, + { + "question": "Which catalog publisher has published the most catalogs?", + "context": "create table catalogs (catalog_publisher varchar, PRIMARY KEY (catalog_publisher))", + "answer": "select catalog_publisher from catalogs group by catalog_publisher order by count(*) desc limit 1" + }, + { + "question": "What is the title of episode 2?", + "context": "create table table_2430014_8 (title varchar, episode_no varchar, PRIMARY KEY (title))", + "answer": "select title from table_2430014_8 where episode_no = 2" + }, + { + "question": "Which aperture were built or used between 1987-2001?", + "context": "create table table_23851574_2 (aper_in varchar, built_used varchar, PRIMARY KEY (aper_in))", + "answer": "select aper_in from table_23851574_2 where built_used = \"1987-2001\"" + }, + { + "question": "Was the missile intercepted by patriot when the parking lot was damaged?", + "context": "create table table_23014685_1 (intercepted_by_patriot varchar, area_damaged varchar, PRIMARY KEY (intercepted_by_patriot))", + "answer": "select intercepted_by_patriot from table_23014685_1 where area_damaged = \"parking lot\"" + }, + { + "question": "If the letters is \u03c6\u03b1\u03bd, what is the founding date?", + "context": "create table table_2538117_7 (founding_date varchar, letters varchar, PRIMARY KEY (founding_date))", + "answer": "select founding_date from table_2538117_7 where letters = \"\u03c6\u03b1\u03bd\"" + }, + { + "question": "What candidates ran in the election when the incumbent was william j. driver?", + "context": "create table table_1342292_4 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342292_4 where incumbent = \"william j. driver\"" + }, + { + "question": "how many times did estudiantes de la plata participate in 2008 suruga bank championship", + "context": "create table table_18027411_1 (team___competition varchar, PRIMARY KEY (team___competition))", + "answer": "select count(2008 as _suruga_bank_championship) from table_18027411_1 where team___competition = \"estudiantes de la plata\"" + }, + { + "question": "How many next in lines had heirs of Archduke Karl?", + "context": "create table table_28241890_2 (next_in_line varchar, heir varchar, PRIMARY KEY (next_in_line))", + "answer": "select count(next_in_line) from table_28241890_2 where heir = \"archduke karl\"" + }, + { + "question": "Name the successor for not filled this congress", + "context": "create table table_225200_4 (successor varchar, date_successor_seated varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_225200_4 where date_successor_seated = \"not filled this congress\"" + }, + { + "question": "What are the names of perpetrators whose country is not \"China\"?", + "context": "create table perpetrator (people_id varchar, country varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from people as t1 join perpetrator as t2 on t1.people_id = t2.people_id where t2.country <> \"china\"" + }, + { + "question": "what's the\u00a0model name\u00a0with\u00a0engine code\u00a0being b5204 t5", + "context": "create table table_1147701_4 (model_name varchar, engine_code varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from table_1147701_4 where engine_code = \"b5204 t5\"" + }, + { + "question": "If the record was 22-21-5, who was the opponent?", + "context": "create table table_27537870_6 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_27537870_6 where record = \"22-21-5\"" + }, + { + "question": "Which area did estrella tv 62 provide coverage for?", + "context": "create table table_2523809_1 (coverage varchar, branding varchar, PRIMARY KEY (coverage))", + "answer": "select coverage from table_2523809_1 where branding = \"estrella tv 62\"" + }, + { + "question": "What is the nationality of Louis floch", + "context": "create table table_24565004_7 (nationality\u00b2 varchar, name varchar, PRIMARY KEY (nationality\u00b2))", + "answer": "select nationality\u00b2 from table_24565004_7 where name = \"louis floch\"" + }, + { + "question": "How many bookings do we have?", + "context": "create table bookings (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from bookings" + }, + { + "question": "How many date of appointments are there when the date of vacancy was 2 october 2010?", + "context": "create table table_26976615_3 (date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select count(date_of_appointment) from table_26976615_3 where date_of_vacancy = \"2 october 2010\"" + }, + { + "question": "what's the\u00a0dbeingtribution\u00a0with\u00a0grsecurity\u00a0being no", + "context": "create table table_1357052_6 (distribution varchar, grsecurity varchar, PRIMARY KEY (distribution))", + "answer": "select distribution from table_1357052_6 where grsecurity = \"no\"" + }, + { + "question": "what is the division east when division north was milano", + "context": "create table table_17881033_1 (division_east varchar, division_north varchar, PRIMARY KEY (division_east))", + "answer": "select division_east from table_17881033_1 where division_north = \"milano\"" + }, + { + "question": "How many villages have a density persons/ha of 5.5?", + "context": "create table table_21302_1 (no_of_villages varchar, density_persons___ha varchar, PRIMARY KEY (no_of_villages))", + "answer": "select count(no_of_villages) from table_21302_1 where density_persons___ha = \"5.5\"" + }, + { + "question": "Find the number of vocal types used in song \"Demon Kitty Rag\"?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = \"demon kitty rag\"" + }, + { + "question": "what's the\u00a0computing mechanbeingm\u00a0with\u00a0first operational\u00a0being february 1944", + "context": "create table table_13636_1 (computing_mechanism varchar, first_operational varchar, PRIMARY KEY (computing_mechanism))", + "answer": "select computing_mechanism from table_13636_1 where first_operational = \"february 1944\"" + }, + { + "question": "What is the womens singles of marcus ellis gabrielle white?", + "context": "create table table_12104319_1 (womens_singles varchar, mixed_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12104319_1 where mixed_doubles = \"marcus ellis gabrielle white\"" + }, + { + "question": "List the name of albums that are released by aritist whose name has 'Led'", + "context": "create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (title varchar, artist_id varchar, PRIMARY KEY (title))", + "answer": "select t2.title from artists as t1 join albums as t2 on t1.id = t2.artist_id where t1.name like '%led%'" + }, + { + "question": "How many movie directors are there?", + "context": "create table movie (director varchar, PRIMARY KEY (director))", + "answer": "select count(distinct director) from movie" + }, + { + "question": "How many classes are taken in the third year when pag-unawa was taken in the first year?", + "context": "create table table_12148147_2 (third_year varchar, first_year varchar, PRIMARY KEY (third_year))", + "answer": "select count(third_year) from table_12148147_2 where first_year = \"pag-unawa\"" + }, + { + "question": "what is \u0430 \u0430 [a] when \u0495\u044c \u0495\u044c [\u0281\u02b2/\u0263\u02b2] is \u0448 \u0448 [\u0282\u0283]?", + "context": "create table table_202365_2 (\u0430_\u0430_ varchar, a varchar, \u0495\u044c_\u0495\u044c_ varchar, \u0281\u02b2_\u0263\u02b2 varchar, PRIMARY KEY (\u0430_\u0430_))", + "answer": "select \u0430_\u0430_[a] from table_202365_2 where \u0495\u044c_\u0495\u044c_[\u0281\u02b2_\u0263\u02b2] = \"\u0448 \u0448 [\u0282\u0283]\"" + }, + { + "question": "What was the preliminary average for Miss Maryland?", + "context": "create table table_16323766_3 (preliminary_average varchar, state varchar, PRIMARY KEY (preliminary_average))", + "answer": "select preliminary_average from table_16323766_3 where state = \"maryland\"" + }, + { + "question": "Please show the most common publication date.", + "context": "create table publication (publication_date varchar, PRIMARY KEY (publication_date))", + "answer": "select publication_date from publication group by publication_date order by count(*) desc limit 1" + }, + { + "question": "Show the ids of all employees who have destroyed a document.", + "context": "create table documents_to_be_destroyed (destroyed_by_employee_id varchar, PRIMARY KEY (destroyed_by_employee_id))", + "answer": "select distinct destroyed_by_employee_id from documents_to_be_destroyed" + }, + { + "question": "What is the cyrillic name other names for the settlement of debelja\u010da?", + "context": "create table table_2562572_43 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_43 where settlement = \"debelja\u010da\"" + }, + { + "question": "what's the\u00a0date of completion\u00a0where\u00a0deadline for completion\u00a0is september 30, 2007", + "context": "create table table_12078626_1 (date_of_completion varchar, deadline_for_completion varchar, PRIMARY KEY (date_of_completion))", + "answer": "select date_of_completion from table_12078626_1 where deadline_for_completion = \"september 30, 2007\"" + }, + { + "question": "What hand guard system is used with a gas piston commando?", + "context": "create table table_12834315_5 (hand_guards varchar, name varchar, PRIMARY KEY (hand_guards))", + "answer": "select hand_guards from table_12834315_5 where name = \"gas piston commando\"" + }, + { + "question": "How many times was something listed under content when the television was R-light?", + "context": "create table table_15887683_19 (content varchar, television_service varchar, PRIMARY KEY (content))", + "answer": "select count(content) from table_15887683_19 where television_service = \"r-light\"" + }, + { + "question": "What is the date of appointment when the outgoing manager was mustafa denizli?", + "context": "create table table_26998135_2 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_26998135_2 where outgoing_manager = \"mustafa denizli\"" + }, + { + "question": "When 68-292-68-292 is the ignition timing how many graphicals is it?", + "context": "create table table_22915134_2 (graphical varchar, ignition_timing varchar, PRIMARY KEY (graphical))", + "answer": "select count(graphical) from table_22915134_2 where ignition_timing = \"68-292-68-292\"" + }, + { + "question": "Which countries have a scouting organization that was founded in 1926, and joined WOSM in 1930?", + "context": "create table table_104858_1 (country varchar, year_current_scouting_organization_joined_wosm varchar, year_member_organization_was_founded varchar, PRIMARY KEY (country))", + "answer": "select country from table_104858_1 where year_current_scouting_organization_joined_wosm = \"1930\" and year_member_organization_was_founded = \"1926\"" + }, + { + "question": "Which movies have 'Deleted Scenes' as a substring in the special feature?", + "context": "create table film (title varchar, special_features varchar, PRIMARY KEY (title))", + "answer": "select title from film where special_features like '%deleted scenes%'" + }, + { + "question": "What is the lowest dye absoprtion in nm?", + "context": "create table table_26428602_1 (absorb__nm_ integer, PRIMARY KEY (absorb__nm_))", + "answer": "select min(absorb__nm_) from table_26428602_1" + }, + { + "question": "What was the reason for change in staff in formal installations on March 15, 1865?", + "context": "create table table_2147588_3 (reason_for_change varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2147588_3 where date_of_successors_formal_installation = \"march 15, 1865\"" + }, + { + "question": "What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer?", + "context": "create table table_24066938_1 (population__percentage_of_eu varchar, pop_density_people_km_2 varchar, PRIMARY KEY (population__percentage_of_eu))", + "answer": "select population__percentage_of_eu from table_24066938_1 where pop_density_people_km_2 = \"110.8\"" + }, + { + "question": "How did Hamza Kramou fare in the semifinals?", + "context": "create table table_17427004_7 (semifinals varchar, athlete varchar, PRIMARY KEY (semifinals))", + "answer": "select semifinals from table_17427004_7 where athlete = \"hamza kramou\"" + }, + { + "question": "How many radio stations were built in Asia?", + "context": "create table table_27184837_1 (asia varchar, programs varchar, PRIMARY KEY (asia))", + "answer": "select asia from table_27184837_1 where programs = \"radio stations\"" + }, + { + "question": "what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009", + "context": "create table table_20360535_2 (television_order varchar, original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (television_order))", + "answer": "select television_order from table_20360535_2 where directed_by = \"ben jones\" and written_by = \"j. m. dematteis\" and original_air_date = \"february6,2009\"" + }, + { + "question": "Name the max for prohibition.", + "context": "create table table_120778_1 (for_prohibition integer, PRIMARY KEY (for_prohibition))", + "answer": "select max(for_prohibition) from table_120778_1" + }, + { + "question": "What was McCain's percentage when Obama had 64.39% of the vote?", + "context": "create table table_20722805_1 (mccain_percentage varchar, obama_percentage varchar, PRIMARY KEY (mccain_percentage))", + "answer": "select mccain_percentage from table_20722805_1 where obama_percentage = \"64.39%\"" + }, + { + "question": "Name who drected the episode written by george tibbles", + "context": "create table table_2342078_6 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2342078_6 where written_by = \"george tibbles\"" + }, + { + "question": "How many Latin Americans were there in the Northwest Territories in 2011?", + "context": "create table table_1939405_2 (latin_americans_2011 integer, province varchar, PRIMARY KEY (latin_americans_2011))", + "answer": "select min(latin_americans_2011) from table_1939405_2 where province = \"northwest territories\"" + }, + { + "question": "What is the maximum number of 2nd places for Tajikistan?", + "context": "create table table_2876467_3 (second_place integer, region_represented varchar, PRIMARY KEY (second_place))", + "answer": "select max(second_place) from table_2876467_3 where region_represented = \"tajikistan\"" + }, + { + "question": "Name the name of award for marathi", + "context": "create table table_24446718_3 (name_of_award varchar, language varchar, PRIMARY KEY (name_of_award))", + "answer": "select name_of_award from table_24446718_3 where language = \"marathi\"" + }, + { + "question": "How many distinct birth places are there?", + "context": "create table people (birth_place varchar, PRIMARY KEY (birth_place))", + "answer": "select count(distinct birth_place) from people" + }, + { + "question": "How many colors are there?", + "context": "create table ref_colors (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_colors" + }, + { + "question": "How many camera lenses are not used in taking any photos?", + "context": "create table photos (id varchar, camera_lens_id varchar, PRIMARY KEY (id)); create table camera_lens (id varchar, camera_lens_id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from camera_lens where not id in (select camera_lens_id from photos)" + }, + { + "question": "Find the name of the user who tweeted more than once, and number of tweets tweeted by them.", + "context": "create table tweets (uid varchar, PRIMARY KEY (uid)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid having count(*) > 1" + }, + { + "question": "How many distinct currency codes are there for all drama workshop groups?", + "context": "create table drama_workshop_groups (currency_code varchar, PRIMARY KEY (currency_code))", + "answer": "select count(distinct currency_code) from drama_workshop_groups" + }, + { + "question": "what's the\u00a0election date\u00a0where\u00a0electorate\u00a0is christchurch country", + "context": "create table table_1193568_1 (election_date varchar, electorate varchar, PRIMARY KEY (election_date))", + "answer": "select election_date from table_1193568_1 where electorate = \"christchurch country\"" + }, + { + "question": "What is every Finnish name for the English name of Province of Viborg and Nyslott?", + "context": "create table table_198175_2 (finnish_name varchar, english_name varchar, PRIMARY KEY (finnish_name))", + "answer": "select finnish_name from table_198175_2 where english_name = \"province of viborg and nyslott\"" + }, + { + "question": "What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00?", + "context": "create table table_1211545_2 (name varchar, heavy_vehicle__2_axles_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_1211545_2 where heavy_vehicle__2_axles_ = \"r87.00\"" + }, + { + "question": "Name the total number of lg for cg is larger than 1.0 for c apps is 3", + "context": "create table table_22538587_3 (l_g varchar, c_g varchar, c_apps varchar, PRIMARY KEY (l_g))", + "answer": "select count(l_g) from table_22538587_3 where c_g > 1.0 and c_apps = 3" + }, + { + "question": "Show all distinct location names.", + "context": "create table locations (location_name varchar, PRIMARY KEY (location_name))", + "answer": "select distinct location_name from locations" + }, + { + "question": "what's the\u00a0acronym\u00a0with\u00a0department\u00a0being department of finance kagawaran ng pananalapi", + "context": "create table table_1331313_1 (acronym varchar, department varchar, PRIMARY KEY (acronym))", + "answer": "select acronym from table_1331313_1 where department = \"department of finance kagawaran ng pananalapi\"" + }, + { + "question": "What status of school is the school represented by the baby olympians?", + "context": "create table table_2589963_1 (status varchar, juniors varchar, PRIMARY KEY (status))", + "answer": "select status from table_2589963_1 where juniors = \"baby olympians\"" + }, + { + "question": "which party is the newark representative from", + "context": "create table table_29486189_4 (party varchar, residence varchar, PRIMARY KEY (party))", + "answer": "select party from table_29486189_4 where residence = \"newark\"" + }, + { + "question": "What type institution is point park university", + "context": "create table table_10581768_2 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_10581768_2 where institution = \"point park university\"" + }, + { + "question": "If the games won are 5, what is the best winning average?", + "context": "create table table_27533947_1 (best_winning_average varchar, games_won varchar, PRIMARY KEY (best_winning_average))", + "answer": "select best_winning_average from table_27533947_1 where games_won = 5" + }, + { + "question": "How many capitals had brest litovsk voivodeship as voivodeship after 1569?", + "context": "create table table_1784514_1 (capital varchar, voivodeship_after_1569 varchar, PRIMARY KEY (capital))", + "answer": "select count(capital) from table_1784514_1 where voivodeship_after_1569 = \"brest litovsk voivodeship\"" + }, + { + "question": "What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?", + "context": "create table tourist_attractions (name varchar, location_id varchar, how_to_get_there varchar, PRIMARY KEY (name)); create table locations (location_id varchar, address varchar, PRIMARY KEY (location_id))", + "answer": "select t2.name from locations as t1 join tourist_attractions as t2 on t1.location_id = t2.location_id where t1.address = \"660 shea crescent\" or t2.how_to_get_there = \"walk\"" + }, + { + "question": "How many people are shown for mens doubles when guo yue played womens singles?", + "context": "create table table_28138035_20 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select count(mens_doubles) from table_28138035_20 where womens_singles = \"guo yue\"" + }, + { + "question": "Name the agency for santa rosa avenue", + "context": "create table table_25692955_1 (agency varchar, south_west_terminal varchar, PRIMARY KEY (agency))", + "answer": "select agency from table_25692955_1 where south_west_terminal = \"santa rosa avenue\"" + }, + { + "question": "Show different types of ships and the number of ships of each type.", + "context": "create table ship (type varchar, PRIMARY KEY (type))", + "answer": "select type, count(*) from ship group by type" + }, + { + "question": "How many episodes did Alison Maclean direct?", + "context": "create table table_17624965_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_17624965_1 where directed_by = \"alison maclean\"" + }, + { + "question": "What is the lowest cr number?", + "context": "create table table_1886270_1 (cr_no integer, PRIMARY KEY (cr_no))", + "answer": "select min(cr_no) from table_1886270_1" + }, + { + "question": "What was the sail number of Two True?", + "context": "create table table_25561560_3 (sail_number varchar, yacht varchar, PRIMARY KEY (sail_number))", + "answer": "select sail_number from table_25561560_3 where yacht = \"two true\"" + }, + { + "question": "What member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast?", + "context": "create table table_19529639_3 (current_west_end_cast varchar, original_west_end_cast varchar, PRIMARY KEY (current_west_end_cast))", + "answer": "select current_west_end_cast from table_19529639_3 where original_west_end_cast = \"jodie jacobs\"" + }, + { + "question": "How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?", + "context": "create table table_22083044_2 (event varchar, fastest_lap varchar, pole_position varchar, PRIMARY KEY (event))", + "answer": "select count(event) from table_22083044_2 where fastest_lap = \"tim macrow\" and pole_position = \"joey foster\"" + }, + { + "question": "What are all the programs on the Soy Guerrero network?", + "context": "create table table_2899987_2 (programming varchar, network varchar, PRIMARY KEY (programming))", + "answer": "select programming from table_2899987_2 where network = \"soy guerrero\"" + }, + { + "question": "Who is the opposing team when the game was played on the Shea Stadium?", + "context": "create table table_17386066_2 (opponent varchar, stadium varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_17386066_2 where stadium = \"shea stadium\"" + }, + { + "question": "What is the against percentage in the Vest-Agder constituency?", + "context": "create table table_1289762_1 (against___percentage_ varchar, constituency varchar, PRIMARY KEY (against___percentage_))", + "answer": "select against___percentage_ from table_1289762_1 where constituency = \"vest-agder\"" + }, + { + "question": "Who has the home ground Aami stadium?", + "context": "create table table_14312471_7 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_14312471_7 where ground = \"aami stadium\"" + }, + { + "question": "Which team had an outgoing manager of Behtash Fariba?", + "context": "create table table_22297140_3 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_22297140_3 where outgoing_manager = \"behtash fariba\"" + }, + { + "question": "What is every conformity to original design if registration is HB-DAI?", + "context": "create table table_22180353_1 (conformity_to_original_design varchar, registration varchar, PRIMARY KEY (conformity_to_original_design))", + "answer": "select conformity_to_original_design from table_22180353_1 where registration = \"hb-dai\"" + }, + { + "question": "Which species show a negative result with both voges-proskauer and indole?", + "context": "create table table_16083989_1 (species varchar, voges_proskauer varchar, indole varchar, PRIMARY KEY (species))", + "answer": "select species from table_16083989_1 where voges_proskauer = \"negative\" and indole = \"negative\"" + }, + { + "question": "Which leagues entered in rounds where there were 16 winners from the previous round?", + "context": "create table table_23449363_1 (leagues_entering_at_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (leagues_entering_at_this_round))", + "answer": "select leagues_entering_at_this_round from table_23449363_1 where winners_from_previous_round = \"16\"" + }, + { + "question": "What are the authors of submissions and their colleges?", + "context": "create table submission (author varchar, college varchar, PRIMARY KEY (author))", + "answer": "select author, college from submission" + }, + { + "question": "What is the English name given to the city of St. John's?", + "context": "create table table_1008653_1 (capital___exonym__ varchar, capital___endonym__ varchar, PRIMARY KEY (capital___exonym__))", + "answer": "select capital___exonym__ from table_1008653_1 where capital___endonym__ = \"st. john's\"" + }, + { + "question": "Show names of technicians and series of machines they are assigned to repair.", + "context": "create table machine (machine_series varchar, machine_id varchar, PRIMARY KEY (machine_series)); create table repair_assignment (machine_id varchar, technician_id varchar, PRIMARY KEY (machine_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name))", + "answer": "select t3.name, t2.machine_series from repair_assignment as t1 join machine as t2 on t1.machine_id = t2.machine_id join technician as t3 on t1.technician_id = t3.technician_id" + }, + { + "question": "Name the opponent for record 10-4", + "context": "create table table_18894744_5 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_18894744_5 where record = \"10-4\"" + }, + { + "question": "What was the report of the Belgian Grand Prix?", + "context": "create table table_1132600_3 (report varchar, grand_prix varchar, PRIMARY KEY (report))", + "answer": "select report from table_1132600_3 where grand_prix = \"belgian grand_prix\"" + }, + { + "question": "Find the first names and offices of all professors sorted by alphabetical order of their first name.", + "context": "create table professor (prof_office varchar, emp_num varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname))", + "answer": "select t2.emp_fname, t1.prof_office from professor as t1 join employee as t2 on t1.emp_num = t2.emp_num order by t2.emp_fname" + }, + { + "question": "Name the vocalist for kaze no mess\u0113ji (pokapoka-version)", + "context": "create table table_2144389_8 (vocalist varchar, r\u014dmaji varchar, PRIMARY KEY (vocalist))", + "answer": "select vocalist from table_2144389_8 where r\u014dmaji = \"kaze no mess\u0113ji (pokapoka-version)\"" + }, + { + "question": "How big (in km2) is the voivodenship also known by the abbreviation KN?", + "context": "create table table_11656578_2 (area_km\u00b2__1998_ varchar, abbreviation varchar, PRIMARY KEY (area_km\u00b2__1998_))", + "answer": "select area_km\u00b2__1998_ from table_11656578_2 where abbreviation = \"kn\"" + }, + { + "question": "Which administrative division had a population of 2011 according to the siak database of 3,672,994?", + "context": "create table table_21734764_1 (administrative_division varchar, population_2011_siak_database varchar, PRIMARY KEY (administrative_division))", + "answer": "select administrative_division from table_21734764_1 where population_2011_siak_database = \"3,672,994\"" + }, + { + "question": "Show all calendar dates and day Numbers.", + "context": "create table ref_calendar (calendar_date varchar, day_number varchar, PRIMARY KEY (calendar_date))", + "answer": "select calendar_date, day_number from ref_calendar" + }, + { + "question": "What is the title when the director is Maynard C. Virgil i ?", + "context": "create table table_28140588_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28140588_1 where directed_by = \"maynard c. virgil i\"" + }, + { + "question": "List the range distroration for the ramsan-630", + "context": "create table table_27615520_1 (form_factor varchar, product_name varchar, PRIMARY KEY (form_factor))", + "answer": "select form_factor from table_27615520_1 where product_name = \"ramsan-630\"" + }, + { + "question": "Return the first names and last names of all guests", + "context": "create table guests (guest_first_name varchar, guest_last_name varchar, PRIMARY KEY (guest_first_name))", + "answer": "select guest_first_name, guest_last_name from guests" + }, + { + "question": "What is the location when the opposition is mid canterbury?", + "context": "create table table_26847237_3 (location varchar, opposition varchar, PRIMARY KEY (location))", + "answer": "select location from table_26847237_3 where opposition = \"mid canterbury\"" + }, + { + "question": "Find the id and local authority of the station with has the highest average high temperature.", + "context": "create table weekly_weather (station_id varchar, PRIMARY KEY (station_id)); create table station (id varchar, local_authority varchar, PRIMARY KEY (id))", + "answer": "select t2.id, t2.local_authority from weekly_weather as t1 join station as t2 on t1.station_id = t2.id group by t1.station_id order by avg(high_temperature) desc limit 1" + }, + { + "question": "What is the description of document type 'Paper'?", + "context": "create table ref_document_types (document_type_description varchar, document_type_code varchar, PRIMARY KEY (document_type_description))", + "answer": "select document_type_description from ref_document_types where document_type_code = \"paper\"" + }, + { + "question": "What values of HDTV correspond to n\u00b0 of 862?", + "context": "create table table_15887683_16 (hdtv varchar, n\u00b0 varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_16 where n\u00b0 = 862" + }, + { + "question": "Name the party for jack thomas brinkley", + "context": "create table table_1341604_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341604_11 where incumbent = \"jack thomas brinkley\"" + }, + { + "question": "What is the party of Joseph Vance?", + "context": "create table table_2668243_19 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668243_19 where incumbent = \"joseph vance\"" + }, + { + "question": "What college did jeremy zuttah attend?", + "context": "create table table_15592941_1 (college varchar, player_name varchar, PRIMARY KEY (college))", + "answer": "select college from table_15592941_1 where player_name = \"jeremy zuttah\"" + }, + { + "question": "What was the scorecard when robin uthappa mark boucher jacques kallis was the batsmen?", + "context": "create table table_22962745_35 (scorecard varchar, batsmen varchar, PRIMARY KEY (scorecard))", + "answer": "select scorecard from table_22962745_35 where batsmen = \"robin uthappa mark boucher jacques kallis\"" + }, + { + "question": "How many million U.S. viewers was written by Matt Pelfrey?", + "context": "create table table_29545336_2 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_29545336_2 where written_by = \"matt pelfrey\"" + }, + { + "question": "Which last names are both used by customers and by staff?", + "context": "create table customers (last_name varchar, PRIMARY KEY (last_name)); create table staff (last_name varchar, PRIMARY KEY (last_name))", + "answer": "select last_name from customers intersect select last_name from staff" + }, + { + "question": "What's the Chinese population in the borough with 26347 Pakistanis?", + "context": "create table table_19149550_9 (chinese_population varchar, pakistani_population varchar, PRIMARY KEY (chinese_population))", + "answer": "select chinese_population from table_19149550_9 where pakistani_population = 26347" + }, + { + "question": "Where is the ballpark of the Twins?", + "context": "create table table_1987995_5 (location varchar, team varchar, PRIMARY KEY (location))", + "answer": "select location from table_1987995_5 where team = \"twins\"" + }, + { + "question": "who is the the\u00a0pole position\u00a0with\u00a0grand prix\u00a0being italian grand prix", + "context": "create table table_12161822_5 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_12161822_5 where grand_prix = \"italian grand_prix\"" + }, + { + "question": "How many countries had a per capita withdrawal (m 3 /p/yr) of 372?", + "context": "create table table_15909409_2 (country varchar, per_capita_withdrawal__m_3__p_yr_ varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_15909409_2 where per_capita_withdrawal__m_3__p_yr_ = 372" + }, + { + "question": "How many pageants were margaret ann awitan bayot the delegate of?", + "context": "create table table_1825751_14 (pageant varchar, delegate varchar, PRIMARY KEY (pageant))", + "answer": "select count(pageant) from table_1825751_14 where delegate = \"margaret ann awitan bayot\"" + }, + { + "question": "What is the structure of the document with the least number of accesses?", + "context": "create table document_structures (document_structure_description varchar, document_structure_code varchar, PRIMARY KEY (document_structure_description)); create table documents (document_structure_code varchar, PRIMARY KEY (document_structure_code))", + "answer": "select t2.document_structure_description from documents as t1 join document_structures as t2 on t1.document_structure_code = t2.document_structure_code group by t1.document_structure_code order by count(*) desc limit 1" + }, + { + "question": "What was the publication year ranking l.a. is 1st?", + "context": "create table table_19948664_2 (year_of_publication varchar, ranking_la__2_ varchar, PRIMARY KEY (year_of_publication))", + "answer": "select year_of_publication from table_19948664_2 where ranking_la__2_ = \"1st\"" + }, + { + "question": "What was the GTP winning team in the round in Portland during which Jack Baldwin become part of the GTU winning team?", + "context": "create table table_13643320_2 (gtp_winning_team varchar, circuit varchar, gtu_winning_team varchar, PRIMARY KEY (gtp_winning_team))", + "answer": "select gtp_winning_team from table_13643320_2 where circuit = \"portland\" and gtu_winning_team = \"jack baldwin\"" + }, + { + "question": "what's the\u00a0department\u00a0with\u00a0incumbent\u00a0being enrique ona", + "context": "create table table_1331313_1 (department varchar, incumbent varchar, PRIMARY KEY (department))", + "answer": "select department from table_1331313_1 where incumbent = \"enrique ona\"" + }, + { + "question": "what is the crashandride cymbalpads for the drumset name td-9k2", + "context": "create table table_2889300_6 (crashandride_cymbalpads varchar, drumset_name varchar, PRIMARY KEY (crashandride_cymbalpads))", + "answer": "select crashandride_cymbalpads from table_2889300_6 where drumset_name = \"td-9k2\"" + }, + { + "question": "What is the original air date for the writer tanaka shinichi?", + "context": "create table table_26591434_1 (original_airdate varchar, writer varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_26591434_1 where writer = \"tanaka shinichi\"" + }, + { + "question": "What's the voltage of the model with part number TT80503300?", + "context": "create table table_24096813_15 (voltage varchar, part_number_s_ varchar, PRIMARY KEY (voltage))", + "answer": "select voltage from table_24096813_15 where part_number_s_ = \"tt80503300\"" + }, + { + "question": "what's the\u00a0native american\u00a0with\u00a0es mulatto\u00a0being 0.7%", + "context": "create table table_1333612_1 (native_american varchar, es_mulatto varchar, PRIMARY KEY (native_american))", + "answer": "select native_american from table_1333612_1 where es_mulatto = \"0.7%\"" + }, + { + "question": "Name the model number for usf46", + "context": "create table table_21530474_1 (model_no varchar, chassis_code varchar, PRIMARY KEY (model_no))", + "answer": "select model_no from table_21530474_1 where chassis_code = \"usf46\"" + }, + { + "question": "Who was the Tournament Winner when UNC Wilmington won the regular season?", + "context": "create table table_24248450_3 (tournament_winner varchar, regular_season_winner varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_24248450_3 where regular_season_winner = \"unc wilmington\"" + }, + { + "question": "When the population change 2002-2012 (%) is 35.5 what is the rank in nyagatare sectors?", + "context": "create table table_12496904_1 (_2012 varchar, rank_in_nyagatare_sectors integer, population_change_2002_2012___percentage_ varchar, PRIMARY KEY (_2012))", + "answer": "select max(rank_in_nyagatare_sectors), _2012 from table_12496904_1 where population_change_2002_2012___percentage_ = \"35.5\"" + }, + { + "question": "What was the choice of song where the original artist was Stevie Wonder?", + "context": "create table table_26250189_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_26250189_1 where original_artist = \"stevie wonder\"" + }, + { + "question": "What is the smallest population recorded back in 2002?", + "context": "create table table_13764346_1 (id varchar, PRIMARY KEY (id))", + "answer": "select min(2002 as _population) from table_13764346_1" + }, + { + "question": "How many times did Fiji win r1?", + "context": "create table table_18812411_3 (r1 varchar, country varchar, PRIMARY KEY (r1))", + "answer": "select count(r1) from table_18812411_3 where country = \"fiji\"" + }, + { + "question": "How many people lived in the voivodenship whose capital is Siedlce in the year of 1980?", + "context": "create table table_11656578_2 (population__1980_ varchar, capital varchar, PRIMARY KEY (population__1980_))", + "answer": "select population__1980_ from table_11656578_2 where capital = \"siedlce\"" + }, + { + "question": "Name the number of tn seshan values for kr values is 478608", + "context": "create table table_22897453_1 (tn_seshan__values_ varchar, kr_narayanan__values_ varchar, PRIMARY KEY (tn_seshan__values_))", + "answer": "select count(tn_seshan__values_) from table_22897453_1 where kr_narayanan__values_ = 478608" + }, + { + "question": "What's the zodiac sing for the month abbreviated as \u0e21\u0e35.\u0e04.?", + "context": "create table table_180802_2 (zodiac_sign varchar, abbr varchar, PRIMARY KEY (zodiac_sign))", + "answer": "select zodiac_sign from table_180802_2 where abbr = \"\u0e21\u0e35.\u0e04.\"" + }, + { + "question": "How many nicknames were associated with Milton, Massachusetts?", + "context": "create table table_1973729_1 (nickname varchar, location varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_1973729_1 where location = \"milton, massachusetts\"" + }, + { + "question": "Name the institution for yellowjackets", + "context": "create table table_1974482_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1974482_1 where nickname = \"yellowjackets\"" + }, + { + "question": "What is the coast guard cross when you recieve the navy distinguished service medal?", + "context": "create table table_2104176_1 (coast_guard_cross varchar, distinguished_service_cross varchar, PRIMARY KEY (coast_guard_cross))", + "answer": "select coast_guard_cross from table_2104176_1 where distinguished_service_cross = \"navy distinguished service medal\"" + }, + { + "question": "how many million u.s. viewers watched the episode directed by dan lerner?", + "context": "create table table_25997153_1 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_25997153_1 where directed_by = \"dan lerner\"" + }, + { + "question": "who is the the\u00a0club (city/town)\u00a0with\u00a0goals for/against\u00a0being 14-2", + "context": "create table table_14181578_1 (club__city_town_ varchar, goals_for_against varchar, PRIMARY KEY (club__city_town_))", + "answer": "select club__city_town_ from table_14181578_1 where goals_for_against = \"14-2\"" + }, + { + "question": "Name the team #2 for river plate", + "context": "create table table_23812628_1 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_23812628_1 where team__number1 = \"river plate\"" + }, + { + "question": "Who is in group c when wisconsin is in group d?", + "context": "create table table_15290638_1 (group_c varchar, group_d varchar, PRIMARY KEY (group_c))", + "answer": "select group_c from table_15290638_1 where group_d = \"wisconsin\"" + }, + { + "question": "What is the name of the episode originally aired on September 29, 1999?", + "context": "create table table_18646432_4 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_18646432_4 where original_air_date = \"september 29, 1999\"" + }, + { + "question": "What is the placement date of the order whose invoice number is 10?", + "context": "create table orders (date_order_placed varchar, order_id varchar, PRIMARY KEY (date_order_placed)); create table shipments (order_id varchar, invoice_number varchar, PRIMARY KEY (order_id))", + "answer": "select t1.date_order_placed from orders as t1 join shipments as t2 on t1.order_id = t2.order_id where t2.invoice_number = 10" + }, + { + "question": "What are the names of all campuses located at Chico?", + "context": "create table campuses (campus varchar, location varchar, PRIMARY KEY (campus))", + "answer": "select campus from campuses where location = \"chico\"" + }, + { + "question": "What is the greatest number of valves?", + "context": "create table table_21021796_1 (valves integer, PRIMARY KEY (valves))", + "answer": "select min(valves) from table_21021796_1" + }, + { + "question": "Name the malayalam name for leo", + "context": "create table table_20354_7 (malayalam_name varchar, zodiac_sign varchar, PRIMARY KEY (malayalam_name))", + "answer": "select malayalam_name from table_20354_7 where zodiac_sign = \"leo\"" + }, + { + "question": "who directed the episode james clavell wrote?", + "context": "create table table_2626495_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2626495_1 where written_by = \"james clavell\"" + }, + { + "question": "What is the poverty rate in the county that has a market income per capita of $16,420?", + "context": "create table table_22815568_1 (poverty_rate varchar, market_income_per_capita varchar, PRIMARY KEY (poverty_rate))", + "answer": "select poverty_rate from table_22815568_1 where market_income_per_capita = \"$16,420\"" + }, + { + "question": "What home team played the West Coast away team?", + "context": "create table table_16388230_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_16388230_1 where away_team = \"west coast\"" + }, + { + "question": "what is the length where the time is 2009", + "context": "create table table_2846320_4 (streak varchar, last_meeting varchar, PRIMARY KEY (streak))", + "answer": "select streak from table_2846320_4 where last_meeting = 2009" + }, + { + "question": "How many persons had immunity in the episode when Wanda was eliminated?", + "context": "create table table_1272844_2 (immunity varchar, eliminated varchar, PRIMARY KEY (immunity))", + "answer": "select count(immunity) from table_1272844_2 where eliminated = \"wanda\"" + }, + { + "question": "How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?", + "context": "create table table_14260687_3 (blackberry_os varchar, symbian varchar, PRIMARY KEY (blackberry_os))", + "answer": "select blackberry_os from table_14260687_3 where symbian = \"10.4\"" + }, + { + "question": "Which payment method is used by most customers?", + "context": "create table customers (payment_method varchar, PRIMARY KEY (payment_method))", + "answer": "select payment_method from customers group by payment_method order by count(*) desc limit 1" + }, + { + "question": "List the names of wrestlers that have not been eliminated.", + "context": "create table elimination (name varchar, wrestler_id varchar, PRIMARY KEY (name)); create table wrestler (name varchar, wrestler_id varchar, PRIMARY KEY (name))", + "answer": "select name from wrestler where not wrestler_id in (select wrestler_id from elimination)" + }, + { + "question": "When steve holland is the writer what is the air date?", + "context": "create table table_27657925_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27657925_1 where written_by = \"steve holland\"" + }, + { + "question": "What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?", + "context": "create table table_14700336_1 (presidential_majority_2000_2004 varchar, presidential_majority_2012 varchar, PRIMARY KEY (presidential_majority_2000_2004))", + "answer": "select presidential_majority_2000_2004 from table_14700336_1 where presidential_majority_2012 = \"non-voting\"" + }, + { + "question": "How many directed by entries have UK viewership over 6.16 million?", + "context": "create table table_29063233_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_29063233_1 where uk_viewers__million_ = \"6.16\"" + }, + { + "question": "How many of the schools are designated private/Presbyterian?", + "context": "create table table_10082596_1 (location varchar, affiliation varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_10082596_1 where affiliation = \"private/presbyterian\"" + }, + { + "question": "what are all the\u00a0type\u00a0where\u00a0location\u00a0is st ives, cambridgeshire", + "context": "create table table_11934032_1 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select type from table_11934032_1 where location = \"st ives, cambridgeshire\"" + }, + { + "question": "name the school located at Milton, ma.", + "context": "create table table_2439728_1 (school varchar, location varchar, PRIMARY KEY (school))", + "answer": "select school from table_2439728_1 where location = \"milton, ma\"" + }, + { + "question": "Name the production for alpina model being b10 4,6", + "context": "create table table_2477085_1 (production varchar, alpina_model varchar, PRIMARY KEY (production))", + "answer": "select production from table_2477085_1 where alpina_model = \"b10 4,6\"" + }, + { + "question": "Who as the candidate when the result - % was 2.9%?", + "context": "create table table_25818630_2 (candidate varchar, result____percentage varchar, PRIMARY KEY (candidate))", + "answer": "select candidate from table_25818630_2 where result____percentage = \"2.9%\"" + }, + { + "question": "What is the verb meaning for *bundun?", + "context": "create table table_1745843_2 (verb_meaning varchar, part_3 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select verb_meaning from table_1745843_2 where part_3 = \"*bundun\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0candidates\u00a0being silvio conte (r) unopposed", + "context": "create table table_1341604_22 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341604_22 where candidates = \"silvio conte (r) unopposed\"" + }, + { + "question": "There were 68 worcs f-c matches played on Chester Road North Ground.", + "context": "create table table_1156428_2 (worcs_f_c_matches varchar, name_of_ground varchar, PRIMARY KEY (worcs_f_c_matches))", + "answer": "select worcs_f_c_matches from table_1156428_2 where name_of_ground = \"chester road north ground\"" + }, + { + "question": "Name the teleplay for david simon & eric overmyer and tom piazza", + "context": "create table table_26914076_2 (teleplay_by varchar, story_by varchar, PRIMARY KEY (teleplay_by))", + "answer": "select teleplay_by from table_26914076_2 where story_by = \"david simon & eric overmyer and tom piazza\"" + }, + { + "question": "what's the\u00a0the mole\u00a0with\u00a0airdate\u00a0being 5 january 2012", + "context": "create table table_13036251_1 (the_mole varchar, airdate varchar, PRIMARY KEY (the_mole))", + "answer": "select count(the_mole) from table_13036251_1 where airdate = \"5 january 2012\"" + }, + { + "question": "Who was Class AAAAA during the school year of 1995-96?", + "context": "create table table_10399701_2 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa))", + "answer": "select class_aaaaa from table_10399701_2 where school_year = \"1995-96\"" + }, + { + "question": "For the competition Mithras Cup 2nd Rd (2nd Leg), what is the date and time?", + "context": "create table table_1233808_2 (date_and_time varchar, competition varchar, PRIMARY KEY (date_and_time))", + "answer": "select date_and_time from table_1233808_2 where competition = \"mithras cup 2nd rd (2nd leg)\"" + }, + { + "question": "List the medicine name and trade name which can both interact as 'inhibitor' and 'activitor' with enzymes.", + "context": "create table medicine (name varchar, trade_name varchar, id varchar, PRIMARY KEY (name)); create table medicine_enzyme_interaction (medicine_id varchar, PRIMARY KEY (medicine_id))", + "answer": "select t1.name, t1.trade_name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id where interaction_type = 'inhibitor' intersect select t1.name, t1.trade_name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id where interaction_type = 'activitor'" + }, + { + "question": "What are the booking start and end dates of the apartments with type code \"Duplex\"?", + "context": "create table apartments (apt_id varchar, apt_type_code varchar, PRIMARY KEY (apt_id)); create table apartment_bookings (booking_start_date varchar, apt_id varchar, PRIMARY KEY (booking_start_date))", + "answer": "select t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t2.apt_type_code = \"duplex\"" + }, + { + "question": "How many teams did Farhad Kazemi leave?", + "context": "create table table_22297198_3 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_22297198_3 where outgoing_manager = \"farhad kazemi\"" + }, + { + "question": "what is the total number of\u00a0playoffs\u00a0where\u00a0regular season\u00a0is 6th, southwest", + "context": "create table table_1046454_1 (playoffs varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select count(playoffs) from table_1046454_1 where regular_season = \"6th, southwest\"" + }, + { + "question": "What date did Jatin Shah and Shalini Chandran perform?", + "context": "create table table_18278508_2 (date_performed varchar, main_contestant varchar, co_contestant__yaar_vs_pyaar_ varchar, PRIMARY KEY (date_performed))", + "answer": "select date_performed from table_18278508_2 where main_contestant = \"jatin shah\" and co_contestant__yaar_vs_pyaar_ = \"shalini chandran\"" + }, + { + "question": "With order number 7 and the theme is Motown, who were the original artists?", + "context": "create table table_21501565_1 (original_artist varchar, order__number varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_21501565_1 where order__number = \"7\" and theme = \"motown\"" + }, + { + "question": "Where is the school whose students are nicknamed Panthers located?", + "context": "create table table_1971074_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_1971074_1 where nickname = \"panthers\"" + }, + { + "question": "How many viewers (millions) were there for rank (week) 20?", + "context": "create table table_11253290_2 (viewers__millions_ varchar, rank__week_ varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select count(viewers__millions_) from table_11253290_2 where rank__week_ = \"20\"" + }, + { + "question": "What is the title of the first episode of the season that begin on february 27, 1954?", + "context": "create table table_15824796_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_15824796_3 where original_air_date = \"february 27, 1954\"" + }, + { + "question": "what's the\u00a0currency name\u00a0with\u00a0highest monthly inflation rate\u00a0being 29,500%", + "context": "create table table_13681_2 (currency_name varchar, highest_monthly_inflation_rate varchar, PRIMARY KEY (currency_name))", + "answer": "select currency_name from table_13681_2 where highest_monthly_inflation_rate = \"29,500%\"" + }, + { + "question": "Name the team for copa conmebol 1992 is round of 16", + "context": "create table table_15013825_8 (team varchar, copa_conmebol_1992 varchar, PRIMARY KEY (team))", + "answer": "select team from table_15013825_8 where copa_conmebol_1992 = \"round of 16\"" + }, + { + "question": "What college club team did the Dallas Stars choose their draft pick from?", + "context": "create table table_2886617_9 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2886617_9 where nhl_team = \"dallas stars\"" + }, + { + "question": "Name the market value for rhb capital", + "context": "create table table_19112_3 (market_value__billion_$_ varchar, company varchar, PRIMARY KEY (market_value__billion_$_))", + "answer": "select market_value__billion_$_ from table_19112_3 where company = \"rhb capital\"" + }, + { + "question": "During the year when Lansing's fare is $433.59, what is the fare to Kalamazoo?", + "context": "create table table_1637981_7 (kalamazoo__azo_ varchar, lansing__lan_ varchar, PRIMARY KEY (kalamazoo__azo_))", + "answer": "select kalamazoo__azo_ from table_1637981_7 where lansing__lan_ = \"$433.59\"" + }, + { + "question": "When was the Australian open?", + "context": "create table table_197638_7 (australian_open integer, PRIMARY KEY (australian_open))", + "answer": "select max(australian_open) from table_197638_7" + }, + { + "question": "If the team is uni\u00e3o de leiria, what is the date of appointment?", + "context": "create table table_27133147_3 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27133147_3 where team = \"uni\u00e3o de leiria\"" + }, + { + "question": "Show invoice dates and order id and details for all invoices.", + "context": "create table invoices (invoice_date varchar, order_id varchar, PRIMARY KEY (invoice_date)); create table orders (order_details varchar, order_id varchar, PRIMARY KEY (order_details))", + "answer": "select t1.invoice_date, t1.order_id, t2.order_details from invoices as t1 join orders as t2 on t1.order_id = t2.order_id" + }, + { + "question": "What is the average ticket sales gross in dollars of films?", + "context": "create table film (gross_in_dollar integer, PRIMARY KEY (gross_in_dollar))", + "answer": "select avg(gross_in_dollar) from film" + }, + { + "question": "What was the little league team from Ohio when the little league team from Kentucky was Warren County South LL Bowling Green?", + "context": "create table table_18461045_1 (ohio varchar, kentucky varchar, PRIMARY KEY (ohio))", + "answer": "select ohio from table_18461045_1 where kentucky = \"warren county south ll bowling green\"" + }, + { + "question": "How many directors got 6.79 million U.S. viewers from their episodes?", + "context": "create table table_28760804_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_28760804_1 where us_viewers__million_ = \"6.79\"" + }, + { + "question": "what was the achievement for the rival at scottish claymores", + "context": "create table table_27893892_2 (team_record varchar, opponent varchar, PRIMARY KEY (team_record))", + "answer": "select team_record from table_27893892_2 where opponent = \"at scottish claymores\"" + }, + { + "question": "What was Obama's percentage in those places where McCain's percentage was 55.46%?", + "context": "create table table_20524090_1 (obama_percentage varchar, mccain_percentage varchar, PRIMARY KEY (obama_percentage))", + "answer": "select obama_percentage from table_20524090_1 where mccain_percentage = \"55.46%\"" + }, + { + "question": "Please show the most common type of ships.", + "context": "create table ship (type varchar, PRIMARY KEY (type))", + "answer": "select type from ship group by type order by count(*) desc limit 1" + }, + { + "question": "What team did the Wizards play against when their record was 2-5?", + "context": "create table table_23274514_4 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_23274514_4 where record = \"2-5\"" + }, + { + "question": "who are all the visitor with a record of 25\u201318", + "context": "create table table_11964047_7 (visitor varchar, record varchar, PRIMARY KEY (visitor))", + "answer": "select visitor from table_11964047_7 where record = \"25\u201318\"" + }, + { + "question": "Who did the High Assists when Kevin Durant (28) took the High Points?", + "context": "create table table_17355628_7 (high_assists varchar, high_points varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17355628_7 where high_points = \"kevin durant (28)\"" + }, + { + "question": "When five is the new channel what is the date of original removal?", + "context": "create table table_19114172_11 (date_s__of_original_removal varchar, new_channel_s_ varchar, PRIMARY KEY (date_s__of_original_removal))", + "answer": "select date_s__of_original_removal from table_19114172_11 where new_channel_s_ = \"five\"" + }, + { + "question": "How many million viewers watched the episode that aired on March 28, 2010?", + "context": "create table table_23397386_2 (viewers__millions_ varchar, airdate varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select viewers__millions_ from table_23397386_2 where airdate = \"march 28, 2010\"" + }, + { + "question": "Find the emails of parties with the most popular party form.", + "context": "create table party_forms (form_id varchar, PRIMARY KEY (form_id)); create table parties (party_email varchar, party_id varchar, PRIMARY KEY (party_email)); create table party_forms (party_id varchar, form_id varchar, PRIMARY KEY (party_id))", + "answer": "select t1.party_email from parties as t1 join party_forms as t2 on t1.party_id = t2.party_id where t2.form_id = (select form_id from party_forms group by form_id order by count(*) desc limit 1)" + }, + { + "question": "List of high assists with high rebounds for k. mchale (10)", + "context": "create table table_17344582_11 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17344582_11 where high_rebounds = \"k. mchale (10)\"" + }, + { + "question": "How many release prices are there for the Pentium iii 550?", + "context": "create table table_16400024_1 (release_price___usd__ varchar, model_number varchar, PRIMARY KEY (release_price___usd__))", + "answer": "select count(release_price___usd__) from table_16400024_1 where model_number = \"pentium iii 550\"" + }, + { + "question": "Find the count and code of the job has most employees.", + "context": "create table employee (emp_jobcode varchar, PRIMARY KEY (emp_jobcode))", + "answer": "select emp_jobcode, count(*) from employee group by emp_jobcode order by count(*) desc limit 1" + }, + { + "question": "How many times was Mike McIntyre elected?", + "context": "create table table_1805191_34 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_1805191_34 where incumbent = \"mike mcintyre\"" + }, + { + "question": "What is the ISO for South Sudan?", + "context": "create table table_222771_1 (iso_3166_2_codes varchar, english_short_name__upper_lower_case_ varchar, PRIMARY KEY (iso_3166_2_codes))", + "answer": "select iso_3166_2_codes from table_222771_1 where english_short_name__upper_lower_case_ = \"south sudan\"" + }, + { + "question": "What is the location of the church when the church name is Ortnevik Kyrkje?", + "context": "create table table_178389_1 (location_of_the_church varchar, church_name varchar, PRIMARY KEY (location_of_the_church))", + "answer": "select location_of_the_church from table_178389_1 where church_name = \"ortnevik kyrkje\"" + }, + { + "question": "What is the group a winner for modena?", + "context": "create table table_1137142_1 (group_a_winner varchar, group_b_winner varchar, PRIMARY KEY (group_a_winner))", + "answer": "select group_a_winner from table_1137142_1 where group_b_winner = \"modena\"" + }, + { + "question": "Show the account id and the number of transactions for each account", + "context": "create table financial_transactions (account_id varchar, PRIMARY KEY (account_id))", + "answer": "select account_id, count(*) from financial_transactions group by account_id" + }, + { + "question": "Who is the driver of the entry constructed by Mercedes-Benz?", + "context": "create table table_18893428_1 (driver varchar, constructor varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_18893428_1 where constructor = \"mercedes-benz\"" + }, + { + "question": "How many air dates does the episode with 15.50 million viewers have?", + "context": "create table table_26198709_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_26198709_1 where us_viewers__million_ = \"15.50\"" + }, + { + "question": "What farm has a capacity of 70 and is operational?", + "context": "create table table_26387382_1 (name varchar, capacity__mw_ varchar, status varchar, PRIMARY KEY (name))", + "answer": "select name from table_26387382_1 where capacity__mw_ = \"70\" and status = \"operational\"" + }, + { + "question": "What is the slovenian name for the village that in german is known as st.margarethen?", + "context": "create table table_10797463_1 (village__slovenian_ varchar, village__german_ varchar, PRIMARY KEY (village__slovenian_))", + "answer": "select village__slovenian_ from table_10797463_1 where village__german_ = \"st.margarethen\"" + }, + { + "question": "Who is the coach of the team in Leicester?", + "context": "create table table_18461635_1 (coach varchar, location varchar, PRIMARY KEY (coach))", + "answer": "select coach from table_18461635_1 where location = \"leicester\"" + }, + { + "question": "If the Cuatro Ca\u00f1adas municipality percentage is 252, what are all the San Antonio de Lomer\u00edo municipality percentage?", + "context": "create table table_19998428_3 (san_antonio_de_lomer\u00edo_municipality___percentage_ varchar, cuatro_ca\u00f1adas_municipality___percentage_ varchar, PRIMARY KEY (san_antonio_de_lomer\u00edo_municipality___percentage_))", + "answer": "select san_antonio_de_lomer\u00edo_municipality___percentage_ from table_19998428_3 where cuatro_ca\u00f1adas_municipality___percentage_ = \"252\"" + }, + { + "question": "What are all info of students who registered courses but not attended courses?", + "context": "create table student_course_attendance (student_id varchar, PRIMARY KEY (student_id)); create table student_course_registrations (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select * from student_course_registrations where not student_id in (select student_id from student_course_attendance)" + }, + { + "question": "What are all the labels?", + "context": "create table albums (label varchar, PRIMARY KEY (label))", + "answer": "select distinct label from albums" + }, + { + "question": "What is every media type for the Dub genre?", + "context": "create table table_23829490_1 (media_type varchar, genre varchar, PRIMARY KEY (media_type))", + "answer": "select media_type from table_23829490_1 where genre = \"dub\"" + }, + { + "question": "Name the republican steve sauerberg for august 12, 2008", + "context": "create table table_16751596_2 (republican varchar, dates_administered varchar, PRIMARY KEY (republican))", + "answer": "select republican as :_steve_sauerberg from table_16751596_2 where dates_administered = \"august 12, 2008\"" + }, + { + "question": "What is the number for the moment of intertia in torsion (j) (cm 4) for the 4.7 web thickness (mm)?", + "context": "create table table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ varchar, web_thickness__mm_ varchar, PRIMARY KEY (moment_of_inertia_in_torsion__j___cm_4__))", + "answer": "select count(moment_of_inertia_in_torsion__j___cm_4__) from table_2071644_1 where web_thickness__mm_ = \"4.7\"" + }, + { + "question": "Name the number of captains for barcelona", + "context": "create table table_29398373_2 (captain varchar, team varchar, PRIMARY KEY (captain))", + "answer": "select count(captain) from table_29398373_2 where team = \"barcelona\"" + }, + { + "question": "Who had the high point total against cleveland?", + "context": "create table table_17311783_9 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17311783_9 where team = \"cleveland\"" + }, + { + "question": "How many members gained university status in 1900?", + "context": "create table table_142950_1 (research_funding__ varchar, gained_university_status varchar, PRIMARY KEY (research_funding__))", + "answer": "select count(research_funding__) as \u00a3, 000 as _ from table_142950_1 where gained_university_status = 1900" + }, + { + "question": "What is the willow canyon of Stallion?", + "context": "create table table_11340432_1 (willow_canyon varchar, shadow_ridge varchar, PRIMARY KEY (willow_canyon))", + "answer": "select willow_canyon from table_11340432_1 where shadow_ridge = \"stallion\"" + }, + { + "question": "What was the departure time when the arrival was 14.40?", + "context": "create table table_18332845_2 (departure varchar, arrival varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18332845_2 where arrival = \"14.40\"" + }, + { + "question": "Which engineers have never visited to maintain the assets? List the engineer first name and last name.", + "context": "create table engineer_visits (first_name varchar, last_name varchar, engineer_id varchar, PRIMARY KEY (first_name)); create table maintenance_engineers (first_name varchar, last_name varchar, engineer_id varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from maintenance_engineers where not engineer_id in (select engineer_id from engineer_visits)" + }, + { + "question": "Which first names are used for professionals or owners but are not used as dog names?", + "context": "create table owners (first_name varchar, name varchar, PRIMARY KEY (first_name)); create table dogs (first_name varchar, name varchar, PRIMARY KEY (first_name)); create table professionals (first_name varchar, name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name from professionals union select first_name from owners except select name from dogs" + }, + { + "question": "How many students does LORIA ONDERSMA teaches?", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = \"loria\" and t2.lastname = \"ondersma\"" + }, + { + "question": "What is the driver for the team whose primary sponsor is Quicken Loans / Haas Automation?", + "context": "create table table_1266602_1 (driver_s_ varchar, primary_sponsor_s_ varchar, PRIMARY KEY (driver_s_))", + "answer": "select driver_s_ from table_1266602_1 where primary_sponsor_s_ = \"quicken loans / haas automation\"" + }, + { + "question": "Name the common name for chironius multiventris septentrionalis", + "context": "create table table_1850282_7 (common_name varchar, species varchar, PRIMARY KEY (common_name))", + "answer": "select common_name from table_1850282_7 where species = \"chironius multiventris septentrionalis\"" + }, + { + "question": "What was the altitude of the explosion Hardtack Teak?", + "context": "create table table_148578_1 (altitude__km_ varchar, explosion varchar, PRIMARY KEY (altitude__km_))", + "answer": "select altitude__km_ from table_148578_1 where explosion = \"hardtack teak\"" + }, + { + "question": "What are the titles of segment a for series episode 21-12?", + "context": "create table table_15187735_21 (segment_a varchar, series_ep varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_21 where series_ep = \"21-12\"" + }, + { + "question": "What were the home team scores at york park?", + "context": "create table table_16388478_2 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388478_2 where ground = \"york park\"" + }, + { + "question": "How many power stations are connected to grid at Heysham 2", + "context": "create table table_143352_1 (connected_to_grid varchar, agr_power_station varchar, PRIMARY KEY (connected_to_grid))", + "answer": "select count(connected_to_grid) from table_143352_1 where agr_power_station = \"heysham 2\"" + }, + { + "question": "Name the man of the maatch for sheffield scimitars", + "context": "create table table_17120964_5 (man_of_the_match varchar, opponent varchar, PRIMARY KEY (man_of_the_match))", + "answer": "select man_of_the_match from table_17120964_5 where opponent = \"sheffield scimitars\"" + }, + { + "question": "When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?", + "context": "create table table_21576644_2 (mens_3rd_xi varchar, ladies_1st_xi varchar, PRIMARY KEY (mens_3rd_xi))", + "answer": "select mens_3rd_xi from table_21576644_2 where ladies_1st_xi = \"3rd, sedgemoor division 1\"" + }, + { + "question": "Find the number of students in total.", + "context": "create table list (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from list" + }, + { + "question": "Name the men doubles for els baert", + "context": "create table table_14903355_2 (men_doubles varchar, womens_singles varchar, PRIMARY KEY (men_doubles))", + "answer": "select men_doubles from table_14903355_2 where womens_singles = \"els baert\"" + }, + { + "question": "What station on the network is tv3?", + "context": "create table table_160728_4 (network varchar, station varchar, PRIMARY KEY (network))", + "answer": "select network from table_160728_4 where station = \"tv3\"" + }, + { + "question": "Name the assets when the rank is 1435", + "context": "create table table_24307126_3 (assets_2013__bil$_ varchar, rank_2013 varchar, PRIMARY KEY (assets_2013__bil$_))", + "answer": "select assets_2013__bil$_ from table_24307126_3 where rank_2013 = 1435" + }, + { + "question": "What year and ceremony was the original title \u09ac\u09c3\u09a4\u09cd\u09a4\u09c7\u09b0 \u09ac\u09be\u0987\u09b0\u09c7 (britter baire)?", + "context": "create table table_17156199_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17156199_1 where original_title = \"\u09ac\u09c3\u09a4\u09cd\u09a4\u09c7\u09b0 \u09ac\u09be\u0987\u09b0\u09c7 (britter baire)\"" + }, + { + "question": "Who is performing in the back stage position for the song \"Badlands\"? Show the first name and the last name.", + "context": "create table band (firstname varchar, lastname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, songid varchar, stageposition varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select t2.firstname, t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = \"badlands\" and t1.stageposition = \"back\"" + }, + { + "question": "Who published the title in the pet-raising simulator genre?", + "context": "create table table_21458142_1 (publisher varchar, genre varchar, PRIMARY KEY (publisher))", + "answer": "select publisher from table_21458142_1 where genre = \"pet-raising simulator\"" + }, + { + "question": "How many parties received 29.9% of the vote in Manhattan?", + "context": "create table table_1108394_47 (party varchar, manhattan varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1108394_47 where manhattan = \"29.9_percentage\"" + }, + { + "question": "What's the name of train number 15647/48?", + "context": "create table table_12095519_1 (train_name varchar, train_no varchar, PRIMARY KEY (train_name))", + "answer": "select train_name from table_12095519_1 where train_no = \"15647/48\"" + }, + { + "question": "Who is the captain of Neil Warnock's team?", + "context": "create table table_26593762_2 (team varchar, manager varchar, PRIMARY KEY (team))", + "answer": "select team as captain from table_26593762_2 where manager = \"neil warnock\"" + }, + { + "question": "When the stamp duty reserve tax is 3,669 what is the percentage over gdp?", + "context": "create table table_1618358_1 (over_gdp__in__percentage_ varchar, stamp_duty_reserve_tax varchar, PRIMARY KEY (over_gdp__in__percentage_))", + "answer": "select over_gdp__in__percentage_ from table_1618358_1 where stamp_duty_reserve_tax = \"3,669\"" + }, + { + "question": "Who were the candidates when Noble Jones Gregory was incumbent?", + "context": "create table table_1342270_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342270_17 where incumbent = \"noble jones gregory\"" + }, + { + "question": "Which network has bob costas as the studio host and darren pang as the ice level reporters?", + "context": "create table table_22485543_1 (network varchar, studio_host varchar, ice_level_reporters varchar, PRIMARY KEY (network))", + "answer": "select network from table_22485543_1 where studio_host = \"bob costas\" and ice_level_reporters = \"darren pang\"" + }, + { + "question": "How many juries are there for Brolle?", + "context": "create table table_27994983_8 (juries integer, artist varchar, PRIMARY KEY (juries))", + "answer": "select max(juries) from table_27994983_8 where artist = \"brolle\"" + }, + { + "question": "Who currently affiliates in San Francisco - Oakland - San Jose?", + "context": "create table table_1553485_1 (current_affiliation varchar, city_of_license__market varchar, PRIMARY KEY (current_affiliation))", + "answer": "select current_affiliation from table_1553485_1 where city_of_license__market = \"san francisco - oakland - san jose\"" + }, + { + "question": "Show the number of locations.", + "context": "create table ref_locations (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_locations" + }, + { + "question": "What is the model number with a release price of $496?", + "context": "create table table_16400024_1 (model_number varchar, release_price___usd__ varchar, PRIMARY KEY (model_number))", + "answer": "select model_number from table_16400024_1 where release_price___usd__ = \"$496\"" + }, + { + "question": "Which routes have \"replaced by US 81\" listed in their remarks section?", + "context": "create table table_11336756_6 (route_name varchar, remarks varchar, PRIMARY KEY (route_name))", + "answer": "select route_name from table_11336756_6 where remarks = \"replaced by us 81\"" + }, + { + "question": "What was the record when the Clippers played Philadelphia?", + "context": "create table table_27756572_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27756572_10 where team = \"philadelphia\"" + }, + { + "question": "What were the match points when Bordeaux-B\u00e8gles was eliminated from competition?", + "context": "create table table_27986200_3 (match_points varchar, eliminated_from_competition varchar, PRIMARY KEY (match_points))", + "answer": "select match_points from table_27986200_3 where eliminated_from_competition = \"bordeaux-b\u00e8gles\"" + }, + { + "question": "Show the protein name and the institution name.", + "context": "create table institution (institution varchar, institution_id varchar, PRIMARY KEY (institution)); create table protein (protein_name varchar, institution_id varchar, PRIMARY KEY (protein_name))", + "answer": "select t2.protein_name, t1.institution from institution as t1 join protein as t2 on t1.institution_id = t2.institution_id" + }, + { + "question": "Name the aspect ratio for 720", + "context": "create table table_15928363_1 (aspect_ratio varchar, horizontal varchar, PRIMARY KEY (aspect_ratio))", + "answer": "select aspect_ratio from table_15928363_1 where horizontal = 720" + }, + { + "question": "How many provinces are named \u9752\u6d77\u7701 q\u012bngh\u01cei sh\u011bng?", + "context": "create table table_254234_1 (iso_ varchar, chinese_name varchar, PRIMARY KEY (iso_))", + "answer": "select count(iso_) as \u2116 from table_254234_1 where chinese_name = \"\u9752\u6d77\u7701 q\u012bngh\u01cei sh\u011bng\"" + }, + { + "question": "How many winners did I Dessau Autobahnspinne have?", + "context": "create table table_1140116_6 (winning_driver varchar, race_name varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_1140116_6 where race_name = \"i dessau autobahnspinne\"" + }, + { + "question": "What is the i/o bus for the brand name Core i3-21xx?", + "context": "create table table_24538587_11 (i_o_bus varchar, brand_name__list_ varchar, PRIMARY KEY (i_o_bus))", + "answer": "select i_o_bus from table_24538587_11 where brand_name__list_ = \"core i3-21xx\"" + }, + { + "question": "Who was the original artist when the theme was 1980s?", + "context": "create table table_15796072_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_15796072_1 where theme = \"1980s\"" + }, + { + "question": "How many participants belong to the type 'Organizer'?", + "context": "create table participants (participant_type_code varchar, PRIMARY KEY (participant_type_code))", + "answer": "select count(*) from participants where participant_type_code = 'organizer'" + }, + { + "question": "What is the distinguished service cross when the navy cross is Coast Guard commendation medal?", + "context": "create table table_2104176_1 (distinguished_service_cross varchar, navy_cross varchar, PRIMARY KEY (distinguished_service_cross))", + "answer": "select distinguished_service_cross from table_2104176_1 where navy_cross = \"coast guard commendation medal\"" + }, + { + "question": "Name the callback date for amway arena", + "context": "create table table_22897967_1 (callback_date varchar, audition_venue varchar, PRIMARY KEY (callback_date))", + "answer": "select callback_date from table_22897967_1 where audition_venue = \"amway arena\"" + }, + { + "question": "When 21' 10.25 106.930mph is Tuesday August 24th what is Saturday August 29th?", + "context": "create table table_26986076_5 (sat_29_aug varchar, tues_24_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_26986076_5 where tues_24_aug = \"21' 10.25 106.930mph\"" + }, + { + "question": "What is the deficit (-surplus) of France?", + "context": "create table table_15624586_2 (deficit___surplus_ varchar, country varchar, PRIMARY KEY (deficit___surplus_))", + "answer": "select deficit___surplus_ from table_15624586_2 where country = \"france\"" + }, + { + "question": "List the type of the services in alphabetical order.", + "context": "create table services (service_type_code varchar, PRIMARY KEY (service_type_code))", + "answer": "select service_type_code from services order by service_type_code" + }, + { + "question": "What is the order number for songs by the original artist Luis Fonsi?", + "context": "create table table_12175755_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_12175755_1 where original_artist = \"luis fonsi\"" + }, + { + "question": "What is the current series where the new series began in June 2011?", + "context": "create table table_1000181_1 (current_series varchar, notes varchar, PRIMARY KEY (current_series))", + "answer": "select current_series from table_1000181_1 where notes = \"new series began in june 2011\"" + }, + { + "question": "Which department has more than 1 head at a time? List the id, name and the number of heads.", + "context": "create table management (department_id varchar, PRIMARY KEY (department_id)); create table department (department_id varchar, name varchar, PRIMARY KEY (department_id))", + "answer": "select t1.department_id, t1.name, count(*) from management as t2 join department as t1 on t1.department_id = t2.department_id group by t1.department_id having count(*) > 1" + }, + { + "question": "List the names of all music genres.", + "context": "create table genre (name varchar, PRIMARY KEY (name))", + "answer": "select name from genre" + }, + { + "question": "How many seasons in the top division for the team that finished 005 5th in 2012-2013", + "context": "create table table_1510519_1 (number_of_seasons_in_top_division varchar, position_in_2012_13 varchar, PRIMARY KEY (number_of_seasons_in_top_division))", + "answer": "select count(number_of_seasons_in_top_division) from table_1510519_1 where position_in_2012_13 = \"005 5th\"" + }, + { + "question": "Name the number for fifth district for richard houskamp", + "context": "create table table_15442974_1 (fifth_district varchar, third_district varchar, PRIMARY KEY (fifth_district))", + "answer": "select count(fifth_district) from table_15442974_1 where third_district = \"richard houskamp\"" + }, + { + "question": "How many episodes aired in Region 2 beginning May 26, 2008?", + "context": "create table table_1067134_1 (_number_of_ep integer, region_2 varchar, PRIMARY KEY (_number_of_ep))", + "answer": "select min(_number_of_ep) from table_1067134_1 where region_2 = \"may 26, 2008\"" + }, + { + "question": "Show the ids of the students who don't participate in any activity.", + "context": "create table participates_in (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student except select stuid from participates_in" + }, + { + "question": "What is the latest year a division was established?", + "context": "create table table_1784514_1 (year_established integer, PRIMARY KEY (year_established))", + "answer": "select max(year_established) from table_1784514_1" + }, + { + "question": "What is the original air date of the episode that was directed by Bruce Seth Green?", + "context": "create table table_29584044_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_29584044_1 where directed_by = \"bruce seth green\"" + }, + { + "question": "How many dogs went through any treatments?", + "context": "create table treatments (dog_id varchar, PRIMARY KEY (dog_id))", + "answer": "select count(distinct dog_id) from treatments" + }, + { + "question": "Does the sky calcio 6 hd have PPV?", + "context": "create table table_15887683_4 (ppv varchar, television_service varchar, PRIMARY KEY (ppv))", + "answer": "select ppv from table_15887683_4 where television_service = \"sky calcio 6 hd\"" + }, + { + "question": "What channels have stations that were affiliated in 2002?", + "context": "create table table_11147852_1 (channel_tv___dt__ varchar, year_of_affiliation varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select channel_tv___dt__ from table_11147852_1 where year_of_affiliation = \"2002\"" + }, + { + "question": "How many mountains classifications when Rui Costa is the winner?", + "context": "create table table_25999087_2 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select count(mountains_classification) from table_25999087_2 where winner = \"rui costa\"" + }, + { + "question": "What are the scores in matches against Tony Roche?", + "context": "create table table_2201724_1 (score_in_the_final varchar, opponent_in_the_final varchar, PRIMARY KEY (score_in_the_final))", + "answer": "select score_in_the_final from table_2201724_1 where opponent_in_the_final = \"tony roche\"" + }, + { + "question": "How many original titles did Marriage Italian-Style have?", + "context": "create table table_10321805_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select count(original_title) from table_10321805_1 where film_title_used_in_nomination = \"marriage italian-style\"" + }, + { + "question": "What are the approximate translations when the morphological category is masc. sing. active participle?", + "context": "create table table_2784232_1 (approximate_translation varchar, morphological_category varchar, PRIMARY KEY (approximate_translation))", + "answer": "select approximate_translation from table_2784232_1 where morphological_category = \"masc. sing. active participle\"" + }, + { + "question": "Name the saka era for malayalam \u0d2e\u0d3f\u0d25\u0d41\u0d28\u0d02", + "context": "create table table_169955_1 (saka_era varchar, in_malayalam varchar, PRIMARY KEY (saka_era))", + "answer": "select saka_era from table_169955_1 where in_malayalam = \"\u0d2e\u0d3f\u0d25\u0d41\u0d28\u0d02\"" + }, + { + "question": "what was the appointment date for outgoing manager luis c\u00e9sar sampedro", + "context": "create table table_27495117_3 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27495117_3 where outgoing_manager = \"luis c\u00e9sar sampedro\"" + }, + { + "question": "United kingdom is the country what is the change (2011 to 2012)?", + "context": "create table table_14752049_6 (change__2011_to_2012_ varchar, country varchar, PRIMARY KEY (change__2011_to_2012_))", + "answer": "select change__2011_to_2012_ from table_14752049_6 where country = \"united kingdom\"" + }, + { + "question": "Which orchestra has a recording year of 1951?", + "context": "create table table_222198_1 (orchestra varchar, year_of_recording varchar, PRIMARY KEY (orchestra))", + "answer": "select orchestra from table_222198_1 where year_of_recording = 1951" + }, + { + "question": "List the physicians' employee ids together with their primary affiliation departments' ids.", + "context": "create table affiliated_with (physician varchar, department varchar, primaryaffiliation varchar, PRIMARY KEY (physician))", + "answer": "select physician, department from affiliated_with where primaryaffiliation = 1" + }, + { + "question": "List all institutions with a team name of the Cardinals.", + "context": "create table table_18483171_1 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_18483171_1 where team_nickname = \"cardinals\"" + }, + { + "question": "Find all invoice dates corresponding to customers with first name Astrid and last name Gruber.", + "context": "create table customer (customerid varchar, firstname varchar, PRIMARY KEY (customerid)); create table invoice (invoicedate varchar, customerid varchar, PRIMARY KEY (invoicedate))", + "answer": "select t2.invoicedate from customer as t1 join invoice as t2 on t1.customerid = t2.customerid where t1.firstname = \"astrid\" and lastname = \"gruber\"" + }, + { + "question": "Where was the game with a 4-1 record played?", + "context": "create table table_23243769_4 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_23243769_4 where record = \"4-1\"" + }, + { + "question": "If the title if the Lost Boy, how many directors were there?", + "context": "create table table_19517621_3 (directed_by varchar, title varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_19517621_3 where title = \"the lost boy\"" + }, + { + "question": "How many times was the viewer target group 0.63?", + "context": "create table table_2639433_4 (market_share__target_group_14_49_ varchar, viewers__in_millions_target_group_14_49_ varchar, PRIMARY KEY (market_share__target_group_14_49_))", + "answer": "select count(market_share__target_group_14_49_) from table_2639433_4 where viewers__in_millions_target_group_14_49_ = \"0.63\"" + }, + { + "question": "what is the report where the location is kyalami?", + "context": "create table table_1140085_2 (report varchar, location varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140085_2 where location = \"kyalami\"" + }, + { + "question": "How many owners temporarily do not have any dogs?", + "context": "create table dogs (owner_id varchar, PRIMARY KEY (owner_id)); create table owners (owner_id varchar, PRIMARY KEY (owner_id))", + "answer": "select count(*) from owners where not owner_id in (select owner_id from dogs)" + }, + { + "question": "In the game resulting in a 5-11 record, who scored the high rebounds?", + "context": "create table table_17118657_8 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17118657_8 where record = \"5-11\"" + }, + { + "question": "For opponent is sandra kristj\u00e1nsd\u00f3ttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.", + "context": "create table table_27877656_7 (opponent_team varchar, opponent varchar, edition varchar, outcome varchar, PRIMARY KEY (opponent_team))", + "answer": "select opponent_team from table_27877656_7 where edition = \"2009 europe/africa group iiib\" and outcome = \"winner\" and opponent = \"sandra kristj\u00e1nsd\u00f3ttir\"" + }, + { + "question": "Find the first and last name of the author(s) who wrote the paper \"Nameless, Painless\".", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table papers (paperid varchar, title varchar, PRIMARY KEY (paperid)); create table authors (fname varchar, lname varchar, authid varchar, PRIMARY KEY (fname))", + "answer": "select t1.fname, t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t3.title = \"nameless , painless\"" + }, + { + "question": "How many targets are there with an approval date of 1997?", + "context": "create table table_1661124_1 (target varchar, approval_date varchar, PRIMARY KEY (target))", + "answer": "select count(target) from table_1661124_1 where approval_date = 1997" + }, + { + "question": "List all total poll percentages when the for percentage is 59,532 (54).", + "context": "create table table_1289762_1 (total_poll___percentage_ varchar, for___percentage_ varchar, PRIMARY KEY (total_poll___percentage_))", + "answer": "select total_poll___percentage_ from table_1289762_1 where for___percentage_ = \"59,532 (54)\"" + }, + { + "question": "What is the constructor for the Silverstone circuit?", + "context": "create table table_1140117_5 (constructor varchar, circuit varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140117_5 where circuit = \"silverstone\"" + }, + { + "question": "what is the production where the parent company is ariel?", + "context": "create table table_250309_1 (production__latest_figures_ varchar, parent_company varchar, PRIMARY KEY (production__latest_figures_))", + "answer": "select production__latest_figures_ from table_250309_1 where parent_company = \"ariel\"" + }, + { + "question": "Name the ebit for eps being 10.6", + "context": "create table table_18304259_1 (ebit__\u00a3m_ varchar, earnings_per_share__p_ varchar, PRIMARY KEY (ebit__\u00a3m_))", + "answer": "select ebit__\u00a3m_ from table_18304259_1 where earnings_per_share__p_ = \"10.6\"" + }, + { + "question": "How many video game types exist?", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select count(distinct gtype) from video_games" + }, + { + "question": "Name the gene name for methylobacterium nodulans", + "context": "create table table_27155678_2 (gene_name varchar, genus_species varchar, PRIMARY KEY (gene_name))", + "answer": "select gene_name from table_27155678_2 where genus_species = \"methylobacterium nodulans\"" + }, + { + "question": "What is the title when the catalog number is cal01 / 0091037137319?", + "context": "create table table_27303975_3 (title varchar, catalog_number varchar, PRIMARY KEY (title))", + "answer": "select title from table_27303975_3 where catalog_number = \"cal01 / 0091037137319\"" + }, + { + "question": "Show all storm names except for those with at least two affected regions.", + "context": "create table storm (name varchar, PRIMARY KEY (name)); create table affected_region (storm_id varchar, PRIMARY KEY (storm_id)); create table storm (name varchar, storm_id varchar, PRIMARY KEY (name))", + "answer": "select name from storm except select t1.name from storm as t1 join affected_region as t2 on t1.storm_id = t2.storm_id group by t1.storm_id having count(*) >= 2" + }, + { + "question": "What was the record when the Bruins had 41 points?", + "context": "create table table_20760407_1 (record varchar, bruins_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_20760407_1 where bruins_points = 41" + }, + { + "question": "What was the departure time of the train going to Boston?", + "context": "create table table_18365784_3 (departure varchar, going_to varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18365784_3 where going_to = \"boston\"" + }, + { + "question": "where births is 388 000 how many number is natural increase", + "context": "create table table_21258_1 (natural_increase varchar, births varchar, PRIMARY KEY (natural_increase))", + "answer": "select count(natural_increase) from table_21258_1 where births = \"388 000\"" + }, + { + "question": "What is the record when jameer nelson (19) had the high points?", + "context": "create table table_27700530_10 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_27700530_10 where high_points = \"jameer nelson (19)\"" + }, + { + "question": "What horse had a starting price of 66/1?", + "context": "create table table_29562161_1 (name varchar, starting_price varchar, PRIMARY KEY (name))", + "answer": "select name from table_29562161_1 where starting_price = \"66/1\"" + }, + { + "question": "how many innings had bbi 4/26?", + "context": "create table table_28846752_5 (innings varchar, bbi varchar, PRIMARY KEY (innings))", + "answer": "select innings from table_28846752_5 where bbi = \"4/26\"" + }, + { + "question": "How many episodes were written by Alexander Woo and directed by Scott Winant?", + "context": "create table table_26493520_1 (title varchar, written_by varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_26493520_1 where written_by = \"alexander woo\" and directed_by = \"scott winant\"" + }, + { + "question": "How many distinct transaction types are used in the transactions?", + "context": "create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code))", + "answer": "select count(distinct transaction_type_code) from transactions" + }, + { + "question": "Name the number of cyrillic name for stani\u0161i\u0107", + "context": "create table table_2562572_22 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select count(cyrillic_name_other_names) from table_2562572_22 where settlement = \"stani\u0161i\u0107\"" + }, + { + "question": "How many instances are there of party in the situation where Robert Bauman is the incumbent politician?", + "context": "create table table_1341690_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341690_20 where incumbent = \"robert bauman\"" + }, + { + "question": "Name the total number of wd number for lms number being 7638", + "context": "create table table_20236726_2 (wd_no varchar, lms_no varchar, PRIMARY KEY (wd_no))", + "answer": "select count(wd_no) from table_20236726_2 where lms_no = 7638" + }, + { + "question": "What are that status(es) of saint-jacques?", + "context": "create table table_171250_2 (status varchar, official_name varchar, PRIMARY KEY (status))", + "answer": "select status from table_171250_2 where official_name = \"saint-jacques\"" + }, + { + "question": "Show the names of festivals that have nominated artworks of type \"Program Talent Show\".", + "context": "create table nomination (artwork_id varchar, festival_id varchar, PRIMARY KEY (artwork_id)); create table artwork (artwork_id varchar, type varchar, PRIMARY KEY (artwork_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name))", + "answer": "select t3.festival_name from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id where t2.type = \"program talent show\"" + }, + { + "question": "What was the original air date of an episode set in 1544?", + "context": "create table table_10413597_5 (original_air_date varchar, setting varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_10413597_5 where setting = \"1544\"" + }, + { + "question": "Who operates the xfm station?", + "context": "create table table_1601792_3 (operator varchar, station varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_1601792_3 where station = \"xfm\"" + }, + { + "question": "what's the\u00a0wine style\u00a0with\u00a0village\u00a0being puligny-montrachet [d ]", + "context": "create table table_13981938_1 (wine_style varchar, village varchar, PRIMARY KEY (wine_style))", + "answer": "select wine_style from table_13981938_1 where village = \"puligny-montrachet [d ]\"" + }, + { + "question": "What is the molecular target listed under the trademark of irvalec \u00ae", + "context": "create table table_12715053_1 (molecular_target varchar, trademark varchar, PRIMARY KEY (molecular_target))", + "answer": "select molecular_target from table_12715053_1 where trademark = \"irvalec \u00ae\"" + }, + { + "question": "What was the model's DirectX if it has a Core of 700 700 mhz?", + "context": "create table table_26860595_2 (directx varchar, core___mhz__ varchar, PRIMARY KEY (directx))", + "answer": "select directx from table_26860595_2 where core___mhz__ = \"700 700\"" + }, + { + "question": "What is the label that has the most albums?", + "context": "create table albums (label varchar, PRIMARY KEY (label))", + "answer": "select label from albums group by label order by count(*) desc limit 1" + }, + { + "question": "How many production stage managers worked with secretary Rachel Hartmann?", + "context": "create table table_22410780_1 (production_stagemanager varchar, secretary varchar, PRIMARY KEY (production_stagemanager))", + "answer": "select count(production_stagemanager) from table_22410780_1 where secretary = \"rachel hartmann\"" + }, + { + "question": "How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown?", + "context": "create table table_18102421_2 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_18102421_2 where directed_by = \"allison liddi-brown\"" + }, + { + "question": "Who drives the abc supply sponsored cor?", + "context": "create table table_2503102_2 (driver_s_ varchar, primary_sponsor varchar, PRIMARY KEY (driver_s_))", + "answer": "select driver_s_ from table_2503102_2 where primary_sponsor = \"abc supply\"" + }, + { + "question": "When 17,874 (33.2) is the percentage against what is the percentage for?", + "context": "create table table_20683381_3 (for___percentage_ varchar, against___percentage_ varchar, PRIMARY KEY (for___percentage_))", + "answer": "select for___percentage_ from table_20683381_3 where against___percentage_ = \"17,874 (33.2)\"" + }, + { + "question": "How many draft copies does the document with id 2 have?", + "context": "create table draft_copies (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select count(*) from draft_copies where document_id = 2" + }, + { + "question": "What State/Country is Sean Langman the skipper?", + "context": "create table table_25594888_1 (state_country varchar, skipper varchar, PRIMARY KEY (state_country))", + "answer": "select state_country from table_25594888_1 where skipper = \"sean langman\"" + }, + { + "question": "Who is the director of the original title perl oder pica?", + "context": "create table table_22073745_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_22073745_1 where original_title = \"perl oder pica\"" + }, + { + "question": "Name the number of stations for 15 minutes travel time", + "context": "create table table_2385460_1 (stations varchar, travel_time varchar, PRIMARY KEY (stations))", + "answer": "select count(stations) from table_2385460_1 where travel_time = \"15 minutes\"" + }, + { + "question": "Who replaced the previous manager of Altay?", + "context": "create table table_27091128_2 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27091128_2 where team = \"altay\"" + }, + { + "question": "What is the November 3 result when June 10-11 is 147?", + "context": "create table table_25284864_3 (november_3 varchar, june_10_11 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25284864_3 where june_10_11 = \"147\"" + }, + { + "question": "What is the original airdate of the episode that had 8.23 million viewers?", + "context": "create table table_26139378_1 (original_airdate varchar, viewers__in_millions_ varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_26139378_1 where viewers__in_millions_ = \"8.23\"" + }, + { + "question": "Show all information about each body builder.", + "context": "create table body_builder (id varchar, PRIMARY KEY (id))", + "answer": "select * from body_builder" + }, + { + "question": "What is every English translation when Tamil months is M\u0101rkazhi, Tai?", + "context": "create table table_1740431_3 (english_translation varchar, tamil_months varchar, PRIMARY KEY (english_translation))", + "answer": "select english_translation from table_1740431_3 where tamil_months = \"m\u0101rkazhi, tai\"" + }, + { + "question": "What was the record when the timberwolves were played?", + "context": "create table table_23285849_7 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23285849_7 where team = \"timberwolves\"" + }, + { + "question": "What year did Karl Schnabl win the Winter Olympics?", + "context": "create table table_174491_2 (winter_olympics varchar, winner varchar, PRIMARY KEY (winter_olympics))", + "answer": "select winter_olympics from table_174491_2 where winner = \"karl schnabl\"" + }, + { + "question": "What was the theme when the original artist was The Beatles?", + "context": "create table table_15796072_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_15796072_1 where original_artist = \"the beatles\"" + }, + { + "question": "What is the type of video game Call of Destiny.", + "context": "create table video_games (gtype varchar, gname varchar, PRIMARY KEY (gtype))", + "answer": "select gtype from video_games where gname = \"call of destiny\"" + }, + { + "question": "What is the measure where the yes% is 44.06%?", + "context": "create table table_256286_39 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_39 where _percentage_yes = \"44.06%\"" + }, + { + "question": "which is the new pageant from spain?", + "context": "create table table_14308895_2 (new_pageant varchar, country_territory varchar, PRIMARY KEY (new_pageant))", + "answer": "select new_pageant from table_14308895_2 where country_territory = \"spain\"" + }, + { + "question": "What was the little league team from Michigan when the little league team from Indiana was Terre Haute North LL Terre Haute?", + "context": "create table table_18461045_1 (michigan varchar, indiana varchar, PRIMARY KEY (michigan))", + "answer": "select michigan from table_18461045_1 where indiana = \"terre haute north ll terre haute\"" + }, + { + "question": "What is the record after the Phoenix game?", + "context": "create table table_27723526_13 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27723526_13 where team = \"phoenix\"" + }, + { + "question": "What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer?", + "context": "create table table_28652521_1 (description varchar, singer_part_number varchar, PRIMARY KEY (description))", + "answer": "select description from table_28652521_1 where singer_part_number = \"121795 kit 121908 buttonholer\"" + }, + { + "question": "How many million U.S. viewers watched the episode that Daniel H. Forer directed?", + "context": "create table table_24223834_3 (us_viewers__in_millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__in_millions_))", + "answer": "select us_viewers__in_millions_ from table_24223834_3 where directed_by = \"daniel h. forer\"" + }, + { + "question": "What is the resale category for the provider NetCologne?", + "context": "create table table_1773908_3 (resale varchar, provider varchar, PRIMARY KEY (resale))", + "answer": "select resale from table_1773908_3 where provider = \"netcologne\"" + }, + { + "question": "Find names of the document without any images.", + "context": "create table document_sections_images (section_id varchar, PRIMARY KEY (section_id)); create table documents (document_name varchar, PRIMARY KEY (document_name)); create table documents (document_name varchar, document_code varchar, PRIMARY KEY (document_name)); create table document_sections (document_code varchar, section_id varchar, PRIMARY KEY (document_code))", + "answer": "select document_name from documents except select t1.document_name from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code join document_sections_images as t3 on t2.section_id = t3.section_id" + }, + { + "question": "Which advisor has most number of students?", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor from student group by advisor order by count(*) desc limit 1" + }, + { + "question": "What is the confederation when there are 4 places remaining in the finals?", + "context": "create table table_23995075_2 (confederation varchar, remaining_places_in_finals varchar, PRIMARY KEY (confederation))", + "answer": "select confederation from table_23995075_2 where remaining_places_in_finals = \"4\"" + }, + { + "question": "Does the Ghana Scout Association (founded in 1912) admit boys, girls, or both?", + "context": "create table table_104858_1 (admits_boys_girls varchar, year_member_organization_was_founded varchar, name_of_member_organization varchar, PRIMARY KEY (admits_boys_girls))", + "answer": "select admits_boys_girls from table_104858_1 where year_member_organization_was_founded = \"1912\" and name_of_member_organization = \"the ghana scout association\"" + }, + { + "question": "Find the names of states that have some college students playing in goalie and mid positions.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))", + "answer": "select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'goalie' intersect select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'mid'" + }, + { + "question": "What is the name of the episode written by glen mazzara?", + "context": "create table table_30030477_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_30030477_1 where written_by = \"glen mazzara\"" + }, + { + "question": "Where's the school that Mark Fletcher is the principal of?", + "context": "create table table_1984697_53 (city___town varchar, principal varchar, PRIMARY KEY (city___town))", + "answer": "select city___town from table_1984697_53 where principal = \"mark fletcher\"" + }, + { + "question": "who was the winner for souderton, pa?", + "context": "create table table_27887723_1 (winner varchar, location varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_27887723_1 where location = \"souderton, pa\"" + }, + { + "question": "Which party does the incumbent Mathias Morris belong to?", + "context": "create table table_2668169_2 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668169_2 where incumbent = \"mathias morris\"" + }, + { + "question": "Who won when V. A. Muthiah was the runner-up?", + "context": "create table table_22756549_1 (winner varchar, runner_up_a varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22756549_1 where runner_up_a = \"v. a. muthiah\"" + }, + { + "question": "Name the location of the church for berle kyrkje", + "context": "create table table_178408_1 (location_of_the_church varchar, church_name varchar, PRIMARY KEY (location_of_the_church))", + "answer": "select location_of_the_church from table_178408_1 where church_name = \"berle kyrkje\"" + }, + { + "question": "How many drivers did Bob Gerard Racing have?", + "context": "create table table_21977627_1 (driver varchar, entrant varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_21977627_1 where entrant = \"bob gerard racing\"" + }, + { + "question": "How many regions have 0.5% solar panels?", + "context": "create table table_25042332_26 (public_network varchar, solar_panel varchar, PRIMARY KEY (public_network))", + "answer": "select count(public_network) from table_25042332_26 where solar_panel = \"0.5%\"" + }, + { + "question": "How many womens singles winners were there when peter rasmussen won the mens singles?", + "context": "create table table_12027364_1 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))", + "answer": "select count(womens_singles) from table_12027364_1 where mens_singles = \"peter rasmussen\"" + }, + { + "question": "How many towns or cities are at milepost 71.1?", + "context": "create table table_2572788_1 (town_city varchar, milepost varchar, PRIMARY KEY (town_city))", + "answer": "select count(town_city) from table_2572788_1 where milepost = \"71.1\"" + }, + { + "question": "Name the successor for vacant and december 3, 1862", + "context": "create table table_2417330_4 (successor varchar, reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2417330_4 where reason_for_change = \"vacant\" and date_successor_seated = \"december 3, 1862\"" + }, + { + "question": "How many players came from Los Angeles?", + "context": "create table table_24055352_1 (name varchar, hometown varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_24055352_1 where hometown = \"los angeles\"" + }, + { + "question": "Which party had Clair Engle as an incumbent?", + "context": "create table table_1342149_6 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342149_6 where incumbent = \"clair engle\"" + }, + { + "question": "How many millions of viewers watched the episode directed by Anthony Hemingway?", + "context": "create table table_11230937_2 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_11230937_2 where directed_by = \"anthony hemingway\"" + }, + { + "question": "what's the\u00a0lowest point\u00a0with\u00a0highest point\u00a0being mount greylock", + "context": "create table table_1416612_1 (lowest_point varchar, highest_point varchar, PRIMARY KEY (lowest_point))", + "answer": "select lowest_point from table_1416612_1 where highest_point = \"mount greylock\"" + }, + { + "question": "What was the major version when the webkit version was 528.17?", + "context": "create table table_24257833_4 (major_version varchar, webkit_version varchar, PRIMARY KEY (major_version))", + "answer": "select major_version from table_24257833_4 where webkit_version = \"528.17\"" + }, + { + "question": "How many assists per game have 4.2 rebounds per game?", + "context": "create table table_2387461_1 (assists_per_game varchar, rebounds_per_game varchar, PRIMARY KEY (assists_per_game))", + "answer": "select assists_per_game from table_2387461_1 where rebounds_per_game = \"4.2\"" + }, + { + "question": "When was the park demolished in 1994 closed?", + "context": "create table table_1987995_5 (closed integer, demod varchar, PRIMARY KEY (closed))", + "answer": "select min(closed) from table_1987995_5 where demod = 1994" + }, + { + "question": "How many teams have channing frye, jason richardson (8) as high rebounds?", + "context": "create table table_23285761_11 (team varchar, high_rebounds varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_23285761_11 where high_rebounds = \"channing frye, jason richardson (8)\"" + }, + { + "question": "what is the total number of rank where viewers is 9.38?", + "context": "create table table_15681686_4 (rank__timeslot_ varchar, viewers__millions_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select count(rank__timeslot_) from table_15681686_4 where viewers__millions_ = \"9.38\"" + }, + { + "question": "Which college/junior/club teams nationality is canada and nhl team is minnesota north stars", + "context": "create table table_1213511_7 (college_junior_club_team varchar, nationality varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1213511_7 where nationality = \"canada\" and nhl_team = \"minnesota north stars\"" + }, + { + "question": "how many bosnian in cook islands is sri lankan", + "context": "create table table_24807774_1 (bosnian varchar, cook_islands varchar, PRIMARY KEY (bosnian))", + "answer": "select bosnian from table_24807774_1 where cook_islands = \"sri lankan\"" + }, + { + "question": "If the place is hemkunt sahib what is the category?", + "context": "create table table_1430913_1 (category varchar, name_of_place varchar, PRIMARY KEY (category))", + "answer": "select category from table_1430913_1 where name_of_place = \"hemkunt sahib\"" + }, + { + "question": "What episode number had US viewership of 4.87 million?", + "context": "create table table_27905664_1 (\u2116 varchar, us_viewers__million_ varchar, PRIMARY KEY (\u2116))", + "answer": "select \u2116 from table_27905664_1 where us_viewers__million_ = \"4.87\"" + }, + { + "question": "What is the pinyin for explaining music?", + "context": "create table table_1216675_1 (pinyin varchar, translation varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_1216675_1 where translation = \"explaining music\"" + }, + { + "question": "What was the preliminary average for the one who had a semifinal average of 8.966 (3)?", + "context": "create table table_16323766_3 (preliminary_average varchar, semifinal_average varchar, PRIMARY KEY (preliminary_average))", + "answer": "select preliminary_average from table_16323766_3 where semifinal_average = \"8.966 (3)\"" + }, + { + "question": "Who was the incumbent when the candidate was william drayton (j)?", + "context": "create table table_2668254_22 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668254_22 where candidates = \"william drayton (j)\"" + }, + { + "question": "How many legs has the player with high checkout of 80 won?", + "context": "create table table_20351295_2 (legs_won varchar, high_checkout varchar, PRIMARY KEY (legs_won))", + "answer": "select legs_won from table_20351295_2 where high_checkout = 80" + }, + { + "question": "How many average attendance has a capacity percentage of 96.5%", + "context": "create table table_28884858_1 (average_attendance varchar, capacity_percentage varchar, PRIMARY KEY (average_attendance))", + "answer": "select count(average_attendance) from table_28884858_1 where capacity_percentage = \"96.5%\"" + }, + { + "question": "Which flag was on the Green Marine's boat?", + "context": "create table table_19872699_1 (flag varchar, builder varchar, PRIMARY KEY (flag))", + "answer": "select flag from table_19872699_1 where builder = \"green marine\"" + }, + { + "question": "What is the hanja for the province of \"sangju\"?", + "context": "create table table_160510_1 (hanja varchar, province varchar, PRIMARY KEY (hanja))", + "answer": "select hanja from table_160510_1 where province = \"sangju\"" + }, + { + "question": "Name the most 10 3 bbl/d (2008) for present share being 1.7%", + "context": "create table table_23195_5 (present_share varchar, PRIMARY KEY (present_share))", + "answer": "select max(10 as _3_bbl_d__2008_) from table_23195_5 where present_share = \"1.7%\"" + }, + { + "question": "List all the themes designed by Isabelle Toussaint.", + "context": "create table table_11900773_6 (theme varchar, design varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_11900773_6 where design = \"isabelle toussaint\"" + }, + { + "question": "Name the number of vocalists for which one ~ is it?", + "context": "create table table_2144389_8 (vocalist varchar, japanese_translation varchar, PRIMARY KEY (vocalist))", + "answer": "select count(vocalist) from table_2144389_8 where japanese_translation = \"which one ~ is it?\"" + }, + { + "question": "How many locations featured the Webb Family?", + "context": "create table table_19897294_11 (location_s_ varchar, family_families varchar, PRIMARY KEY (location_s_))", + "answer": "select count(location_s_) from table_19897294_11 where family_families = \"the webb family\"" + }, + { + "question": "What was the record after the game in which the Hurricanes scored 24 points?", + "context": "create table table_20928682_1 (record varchar, hurricanes_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_20928682_1 where hurricanes_points = 24" + }, + { + "question": "Name the cfl team for saskatchewan", + "context": "create table table_25017530_6 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_25017530_6 where college = \"saskatchewan\"" + }, + { + "question": "Name the segment a for s duvet", + "context": "create table table_15187735_10 (segment_a varchar, segment_c varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_10 where segment_c = \"s duvet\"" + }, + { + "question": "What years were the Iowa State school/club team have a jazz club?", + "context": "create table table_11545282_19 (years_for_jazz varchar, school_club_team varchar, PRIMARY KEY (years_for_jazz))", + "answer": "select years_for_jazz from table_11545282_19 where school_club_team = \"iowa state\"" + }, + { + "question": "What is the sexual abuse rate where the conflict is the Second Sudanese Civil War?", + "context": "create table table_15652027_1 (sexual_abuse_1 integer, conflict varchar, PRIMARY KEY (sexual_abuse_1))", + "answer": "select min(sexual_abuse_1) from table_15652027_1 where conflict = \"second sudanese civil war\"" + }, + { + "question": "List all department names ordered by their starting date.", + "context": "create table department (dname varchar, mgr_start_date varchar, PRIMARY KEY (dname))", + "answer": "select dname from department order by mgr_start_date" + }, + { + "question": "List the name of all tracks in the playlists of Movies.", + "context": "create table playlists (id varchar, name varchar, PRIMARY KEY (id)); create table playlist_tracks (track_id varchar, playlist_id varchar, PRIMARY KEY (track_id)); create table tracks (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t3.id = t2.playlist_id where t3.name = \"movies\"" + }, + { + "question": "What was the original U.S. air date of the episode directed by Julian Petrillo?", + "context": "create table table_25246990_5 (original_us_air_date varchar, directed_by varchar, PRIMARY KEY (original_us_air_date))", + "answer": "select original_us_air_date from table_25246990_5 where directed_by = \"julian petrillo\"" + }, + { + "question": "What is the rank for Murphy Oil?", + "context": "create table table_21926985_2 (state_rank_by_revenue varchar, company_name varchar, PRIMARY KEY (state_rank_by_revenue))", + "answer": "select state_rank_by_revenue from table_21926985_2 where company_name = \"murphy oil\"" + }, + { + "question": "Which country is the player that went to Georgetown from?", + "context": "create table table_10015132_21 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_10015132_21 where school_club_team = \"georgetown\"" + }, + { + "question": "What are the highest point in latvia", + "context": "create table table_24285393_1 (highest_point varchar, country_or_region varchar, PRIMARY KEY (highest_point))", + "answer": "select highest_point from table_24285393_1 where country_or_region = \"latvia\"" + }, + { + "question": "What is the trans 2 duration if the total time is 1:51:19.45?", + "context": "create table table_17085947_32 (trans_2 varchar, total_time varchar, PRIMARY KEY (trans_2))", + "answer": "select trans_2 from table_17085947_32 where total_time = \"1:51:19.45\"" + }, + { + "question": "Show each author and the number of workshops they submitted to.", + "context": "create table submission (author varchar, submission_id varchar, PRIMARY KEY (author)); create table acceptance (workshop_id varchar, submission_id varchar, PRIMARY KEY (workshop_id))", + "answer": "select t2.author, count(distinct t1.workshop_id) from acceptance as t1 join submission as t2 on t1.submission_id = t2.submission_id group by t2.author" + }, + { + "question": "A what time was the title aired in October 22, 2009", + "context": "create table table_26826304_2 (timeslot varchar, air_date varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_26826304_2 where air_date = \"october 22, 2009\"" + }, + { + "question": "Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2?", + "context": "create table table_29295463_9 (quarterfinalists varchar, champion varchar, PRIMARY KEY (quarterfinalists))", + "answer": "select quarterfinalists from table_29295463_9 where champion = \"terry moor 3-6, 7-6, 6-2\"" + }, + { + "question": "What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?", + "context": "create table table_1598533_8 (inflation__percentage_annual__2012_ varchar, gdp_per_capita_in_ppp_us$__2012_ varchar, PRIMARY KEY (inflation__percentage_annual__2012_))", + "answer": "select inflation__percentage_annual__2012_ from table_1598533_8 where gdp_per_capita_in_ppp_us$__2012_ = 24505" + }, + { + "question": "What percentages of social democratic correspond to a 5.5% left bloc?", + "context": "create table table_1463383_1 (social_democratic varchar, left_bloc varchar, PRIMARY KEY (social_democratic))", + "answer": "select social_democratic from table_1463383_1 where left_bloc = \"5.5%\"" + }, + { + "question": "Name the men doubles for caroline persyn smids", + "context": "create table table_14903355_2 (men_doubles varchar, womens_doubles varchar, PRIMARY KEY (men_doubles))", + "answer": "select men_doubles from table_14903355_2 where womens_doubles = \"caroline persyn smids\"" + }, + { + "question": "List the type of bed and name of all traditional rooms.", + "context": "create table rooms (roomname varchar, bedtype varchar, decor varchar, PRIMARY KEY (roomname))", + "answer": "select roomname, bedtype from rooms where decor = \"traditional\"" + }, + { + "question": "What is the club when the shirt sponsor is e-lotto.be?", + "context": "create table table_27374004_2 (club varchar, shirt_sponsor varchar, PRIMARY KEY (club))", + "answer": "select club from table_27374004_2 where shirt_sponsor = \"e-lotto.be\"" + }, + { + "question": "What is the original air date for the episode directed by Peter Woeste?", + "context": "create table table_15431251_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_15431251_1 where directed_by = \"peter woeste\"" + }, + { + "question": "What are the names of artists who are Male and are from UK?", + "context": "create table artist (artist_name varchar, country varchar, gender varchar, PRIMARY KEY (artist_name))", + "answer": "select artist_name from artist where country = \"uk\" and gender = \"male\"" + }, + { + "question": "What is every CFL team from the Calgary college?", + "context": "create table table_28059992_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_28059992_1 where college = \"calgary\"" + }, + { + "question": "Name the location for yellow jackets", + "context": "create table table_28253870_1 (location varchar, team_nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_28253870_1 where team_nickname = \"yellow jackets\"" + }, + { + "question": "How many times is the accession number xp_001843282?", + "context": "create table table_26708105_5 (common_name varchar, accession_number varchar, PRIMARY KEY (common_name))", + "answer": "select count(common_name) from table_26708105_5 where accession_number = \"xp_001843282\"" + }, + { + "question": "Please show the police forces and the number of counties with each police force.", + "context": "create table county_public_safety (police_force varchar, PRIMARY KEY (police_force))", + "answer": "select police_force, count(*) from county_public_safety group by police_force" + }, + { + "question": "Name the number of stacks for 1 & 2 235 mw 3 & 4 88.2 mw", + "context": "create table table_23958917_1 (stacks varchar, unit_capacity__2009_ varchar, PRIMARY KEY (stacks))", + "answer": "select count(stacks) from table_23958917_1 where unit_capacity__2009_ = \"1 & 2 235 mw 3 & 4 88.2 mw\"" + }, + { + "question": "What was the margin of victory of Steve Stricker as a runner up?", + "context": "create table table_19630743_2 (margin_of_victory varchar, runner_s__up varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_19630743_2 where runner_s__up = \"steve stricker\"" + }, + { + "question": "What is the name of the high schooler who has the greatest number of likes?", + "context": "create table likes (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1" + }, + { + "question": "Who came in second place when the champion was south dakota school of mines & technology?", + "context": "create table table_2331549_1 (second_place varchar, champion varchar, PRIMARY KEY (second_place))", + "answer": "select second_place from table_2331549_1 where champion = \"south dakota school of mines & technology\"" + }, + { + "question": "what's the\u00a0election date\u00a0where\u00a0member\u00a0is william richmond category:articles with hcards", + "context": "create table table_1193568_1 (election_date varchar, member varchar, PRIMARY KEY (election_date))", + "answer": "select election_date from table_1193568_1 where member = \"william richmond category:articles with hcards\"" + }, + { + "question": "What is the up/down at the venue that hosted 7 games?", + "context": "create table table_1161065_28 (up_down varchar, hosted varchar, PRIMARY KEY (up_down))", + "answer": "select up_down from table_1161065_28 where hosted = 7" + }, + { + "question": "How many staff does each project has? List the project id and the number in an ascending order.", + "context": "create table project_staff (project_id varchar, PRIMARY KEY (project_id)); create table projects (project_id varchar, PRIMARY KEY (project_id))", + "answer": "select t1.project_id, count(*) from project_staff as t1 join projects as t2 on t1.project_id = t2.project_id group by t1.project_id order by count(*)" + }, + { + "question": "who is the reference when romaji title is heartbreak sniper?", + "context": "create table table_10979230_5 (reference varchar, romaji_title varchar, PRIMARY KEY (reference))", + "answer": "select reference from table_10979230_5 where romaji_title = \"heartbreak sniper\"" + }, + { + "question": "Does Venezuela admit only boys, only girls, or both?", + "context": "create table table_104858_1 (admits_boys_girls varchar, country varchar, PRIMARY KEY (admits_boys_girls))", + "answer": "select admits_boys_girls from table_104858_1 where country = \"venezuela\"" + }, + { + "question": "what are the previous performance details for games involving the montreal canadiens?", + "context": "create table table_23308178_7 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23308178_7 where opponent = \"montreal canadiens\"" + }, + { + "question": "Where did the team finish in the season when the playoff result was divisional finals.", + "context": "create table table_1427998_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))", + "answer": "select regular_season from table_1427998_1 where playoffs = \"divisional finals\"" + }, + { + "question": "Of which part does congressman dick clark belong to?", + "context": "create table table_24415627_2 (party varchar, senator varchar, PRIMARY KEY (party))", + "answer": "select party from table_24415627_2 where senator = \"dick clark\"" + }, + { + "question": "What is tuesday day three when thursday day five is kamis?", + "context": "create table table_1277350_7 (tuesday_day_three varchar, thursday_day_five varchar, PRIMARY KEY (tuesday_day_three))", + "answer": "select tuesday_day_three from table_1277350_7 where thursday_day_five = \"kamis\"" + }, + { + "question": "What was the record for the Sun Devils when they scored 44 points?", + "context": "create table table_21007615_1 (record varchar, sun_devils_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_21007615_1 where sun_devils_points = 44" + }, + { + "question": "What dated the episode written by is adam e. fierro & glen mazzara air?", + "context": "create table table_30030477_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_30030477_1 where written_by = \"adam e. fierro & glen mazzara\"" + }, + { + "question": "What are the distinct president votes on 08/30/2015?", + "context": "create table voting_record (president_vote varchar, registration_date varchar, PRIMARY KEY (president_vote))", + "answer": "select distinct president_vote from voting_record where registration_date = \"08/30/2015\"" + }, + { + "question": "How many LOA (metres) reported for Black Jack?", + "context": "create table table_20854943_2 (loa__metres_ varchar, yacht varchar, PRIMARY KEY (loa__metres_))", + "answer": "select count(loa__metres_) from table_20854943_2 where yacht = \"black jack\"" + }, + { + "question": "Who directed the episode that aired November 21, 2003?", + "context": "create table table_28859177_2 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_28859177_2 where original_air_date = \"november 21, 2003\"" + }, + { + "question": "Name the team classification for thomas de gendt", + "context": "create table table_29077342_19 (team_classification varchar, winner varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_29077342_19 where winner = \"thomas de gendt\"" + }, + { + "question": "List all students' first names and last names who majored in 600.", + "context": "create table student (fname varchar, lname varchar, major varchar, PRIMARY KEY (fname))", + "answer": "select fname, lname from student where major = 600" + }, + { + "question": "When ground is manuka oval what is the home team score?", + "context": "create table table_16388439_2 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select count(home_team) as score from table_16388439_2 where ground = \"manuka oval\"" + }, + { + "question": "What was the team's record when they faced orlando?", + "context": "create table table_17323042_5 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17323042_5 where team = \"orlando\"" + }, + { + "question": "What chapter number is Shiqiu?", + "context": "create table table_1216675_1 (chapter integer, pinyin varchar, PRIMARY KEY (chapter))", + "answer": "select min(chapter) from table_1216675_1 where pinyin = \"shiqiu\"" + }, + { + "question": "When the score in the final is 3\u20136, 6\u20134, 3\u20136, 4\u20136, who are all the opponents in the final?", + "context": "create table table_26202847_6 (opponent_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponent_in_the_final))", + "answer": "select opponent_in_the_final from table_26202847_6 where score_in_the_final = \"3\u20136, 6\u20134, 3\u20136, 4\u20136\"" + }, + { + "question": "What is the example of the Early Modern English ( [x] \u2192 /f/) /\u0254f/?", + "context": "create table table_28177800_5 (example varchar, early_modern_english varchar, PRIMARY KEY (example))", + "answer": "select example from table_28177800_5 where early_modern_english = \"( [x] \u2192 /f/) /\u0254f/\"" + }, + { + "question": "What was the miles (km) for the race that had an average speed of 136.117 MPH?", + "context": "create table table_2220432_1 (miles__km_ varchar, average_speed__mph_ varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_2220432_1 where average_speed__mph_ = \"136.117\"" + }, + { + "question": "Who was the Class A winner when the Class C winner was David Haynes?", + "context": "create table table_24852622_1 (class_a_winner varchar, class_c_winner varchar, PRIMARY KEY (class_a_winner))", + "answer": "select class_a_winner from table_24852622_1 where class_c_winner = \"david haynes\"" + }, + { + "question": "What are radio electricals when secretariat is wtr i?", + "context": "create table table_1348246_3 (radio varchar, secretariat varchar, PRIMARY KEY (radio))", + "answer": "select radio as electrical from table_1348246_3 where secretariat = \"wtr i\"" + }, + { + "question": "What was the election date for Arthur Hodges?", + "context": "create table table_1329532_2 (date_of_election varchar, elected_successor varchar, PRIMARY KEY (date_of_election))", + "answer": "select date_of_election from table_1329532_2 where elected_successor = \"arthur hodges\"" + }, + { + "question": "List the project details of the project both producing patent and paper as outcomes.", + "context": "create table project_outcomes (project_id varchar, outcome_code varchar, PRIMARY KEY (project_id)); create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details))", + "answer": "select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id where t2.outcome_code = 'paper' intersect select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id where t2.outcome_code = 'patent'" + }, + { + "question": "How many marks are there when tackles are 3?", + "context": "create table table_2814720_1 (marks varchar, tackles varchar, PRIMARY KEY (marks))", + "answer": "select marks from table_2814720_1 where tackles = 3" + }, + { + "question": "If the record is 5-8, what is the team name?", + "context": "create table table_23285805_4 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_23285805_4 where record = \"5-8\"" + }, + { + "question": "List the name of rooms with king or queen bed.", + "context": "create table rooms (roomname varchar, bedtype varchar, PRIMARY KEY (roomname))", + "answer": "select roomname from rooms where bedtype = \"king\" or bedtype = \"queen\"" + }, + { + "question": "Who was the subject of the sculpture created in 1982?", + "context": "create table table_20903658_1 (title_subject varchar, date_painted_created varchar, PRIMARY KEY (title_subject))", + "answer": "select title_subject from table_20903658_1 where date_painted_created = \"1982\"" + }, + { + "question": "what college has nhl team chicago black hawks?", + "context": "create table table_1213511_5 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1213511_5 where nhl_team = \"chicago black hawks\"" + }, + { + "question": "What is the date of appointment when the date of vacancy is 21 december 2007?", + "context": "create table table_10592536_8 (date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_10592536_8 where date_of_vacancy = \"21 december 2007\"" + }, + { + "question": "What conference was the churchill chargers team in?", + "context": "create table table_11094950_1 (conference varchar, team varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_11094950_1 where team = \"churchill chargers\"" + }, + { + "question": "Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?", + "context": "create table table_24706337_1 (ottoman_sultan varchar, treaty_at_the_end_of_the_war varchar, PRIMARY KEY (ottoman_sultan))", + "answer": "select ottoman_sultan from table_24706337_1 where treaty_at_the_end_of_the_war = \"treaty of constantinople (1590)\"" + }, + { + "question": "Name the number of species with sepal width of 3.4 and sepal length of 5.4", + "context": "create table table_10477224_1 (species varchar, sepal_width varchar, sepal_length varchar, PRIMARY KEY (species))", + "answer": "select count(species) from table_10477224_1 where sepal_width = \"3.4\" and sepal_length = \"5.4\"" + }, + { + "question": "What is the main presenter of bulgaria?", + "context": "create table table_1053802_1 (main_presenters varchar, region_country varchar, PRIMARY KEY (main_presenters))", + "answer": "select main_presenters from table_1053802_1 where region_country = \"bulgaria\"" + }, + { + "question": "During the Mid-American Conference who is listed as the tournament winner?", + "context": "create table table_28365816_2 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_28365816_2 where conference = \"mid-american conference\"" + }, + { + "question": "Which episode aired on august19,2012?", + "context": "create table table_20704243_6 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_20704243_6 where original_air_date = \"august19,2012\"" + }, + { + "question": "Who was the GT2 winning team when the GT3 winning team was #1 PTG?", + "context": "create table table_11875915_2 (gt2_winning_team varchar, gt3_winning_team varchar, PRIMARY KEY (gt2_winning_team))", + "answer": "select gt2_winning_team from table_11875915_2 where gt3_winning_team = \"#1 ptg\"" + }, + { + "question": "Which tittles have an original air date of March 19, 1998", + "context": "create table table_11951237_4 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_11951237_4 where original_air_date = \"march 19, 1998\"" + }, + { + "question": "How many different popular vote counts were there for the candidate Rick Perry?", + "context": "create table table_20246201_9 (popular_vote varchar, candidate varchar, PRIMARY KEY (popular_vote))", + "answer": "select count(popular_vote) from table_20246201_9 where candidate = \"rick perry\"" + }, + { + "question": "where value world rank is 12, what is the quantity world rank?", + "context": "create table table_21109892_1 (quantity_world_rank varchar, value_world_rank varchar, PRIMARY KEY (quantity_world_rank))", + "answer": "select quantity_world_rank from table_21109892_1 where value_world_rank = \"12\"" + }, + { + "question": "What was the date of appointment for the 10th person in position?", + "context": "create table table_22133191_3 (date_of_appointment varchar, position_in_table varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_22133191_3 where position_in_table = \"10th\"" + }, + { + "question": "what percentage is brooklyn when manhattan is 15.5%?", + "context": "create table table_23837321_4 (brooklyn varchar, manhattan varchar, PRIMARY KEY (brooklyn))", + "answer": "select brooklyn from table_23837321_4 where manhattan = \"15.5_percentage\"" + }, + { + "question": "Name the most world rank for asian rank being 31", + "context": "create table table_2249029_1 (world_rank integer, asian_rank varchar, PRIMARY KEY (world_rank))", + "answer": "select max(world_rank) from table_2249029_1 where asian_rank = 31" + }, + { + "question": "Find the ship type that are used by both ships with Panama and Malta flags.", + "context": "create table ship (type varchar, flag varchar, PRIMARY KEY (type))", + "answer": "select type from ship where flag = 'panama' intersect select type from ship where flag = 'malta'" + }, + { + "question": "Name the tourism receipts 2003 for tourism competitiveness 3.26", + "context": "create table table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ varchar, tourism_competitiveness__2011___ttci_ varchar, PRIMARY KEY (tourism_receipts__2003___as__percentage_of_exports_))", + "answer": "select count(tourism_receipts__2003___as__percentage_of_exports_) from table_18524_6 where tourism_competitiveness__2011___ttci_ = \"3.26\"" + }, + { + "question": "Who were the candidates in the district where Jerry Costello won?", + "context": "create table table_1341453_15 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341453_15 where incumbent = \"jerry costello\"" + }, + { + "question": "How many entries are there for type for the cyrillic name other names is \u043f\u0430\u0434\u0438\u043d\u0430 (slovak: padina)?", + "context": "create table table_2562572_43 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_2562572_43 where cyrillic_name_other_names = \"\u043f\u0430\u0434\u0438\u043d\u0430 (slovak: padina)\"" + }, + { + "question": "what is the continent in which the country russia is listed?", + "context": "create table table_27435931_1 (continent varchar, country varchar, PRIMARY KEY (continent))", + "answer": "select continent from table_27435931_1 where country = \"russia\"" + }, + { + "question": "Name the verb meaning for half drosch", + "context": "create table table_1745843_9 (verb_meaning varchar, part_2 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select verb_meaning from table_1745843_9 where part_2 = \"half drosch\"" + }, + { + "question": "How many departments offer courses?", + "context": "create table course (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select count(distinct dept_name) from course" + }, + { + "question": "What's the Slovene word for Thursday?", + "context": "create table table_1277350_5 (thursday_fourth_day varchar, day__see_irregularities__ varchar, PRIMARY KEY (thursday_fourth_day))", + "answer": "select thursday_fourth_day from table_1277350_5 where day__see_irregularities__ = \"slovene\"" + }, + { + "question": "If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge?", + "context": "create table table_26389588_1 (primary_cartridge varchar, year_of_introduction varchar, country_of_origin varchar, PRIMARY KEY (primary_cartridge))", + "answer": "select primary_cartridge from table_26389588_1 where year_of_introduction = \"1962\" and country_of_origin = \"denmark\"" + }, + { + "question": "Name the date successor seated for delegate seat established", + "context": "create table table_224837_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_224837_4 where reason_for_change = \"delegate seat established\"" + }, + { + "question": "What kind of chassis on the angie's list sponsored car?", + "context": "create table table_2503102_2 (chassis varchar, primary_sponsor varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_2503102_2 where primary_sponsor = \"angie's list\"" + }, + { + "question": "how mant different day names in old English were coined from the Latin day name \"dies iovis\"?", + "context": "create table table_2624098_1 (old_english_day_name varchar, glossed_from_latin_day_name varchar, PRIMARY KEY (old_english_day_name))", + "answer": "select count(old_english_day_name) from table_2624098_1 where glossed_from_latin_day_name = \"dies iovis\"" + }, + { + "question": "Who wrote the episode whose director is Karen Gaviola?", + "context": "create table table_23799653_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23799653_1 where directed_by = \"karen gaviola\"" + }, + { + "question": "Who played mens doubles for the 1999 kobe tour?", + "context": "create table table_28138035_20 (mens_doubles varchar, year_location varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28138035_20 where year_location = \"1999 kobe\"" + }, + { + "question": "What is the highest numbered event?", + "context": "create table table_30060356_3 (event integer, PRIMARY KEY (event))", + "answer": "select max(event) from table_30060356_3" + }, + { + "question": "Name the military expenditures for 2011 for romania", + "context": "create table table_17971449_2 (military_expenditures__2011 varchar, _us$_millions_ varchar, country varchar, PRIMARY KEY (military_expenditures__2011))", + "answer": "select military_expenditures__2011, _us$_millions_ from table_17971449_2 where country = \"romania\"" + }, + { + "question": "What was the vote % of Heather and Matt?", + "context": "create table table_26375386_18 (vote_percentage varchar, couple varchar, PRIMARY KEY (vote_percentage))", + "answer": "select vote_percentage from table_26375386_18 where couple = \"heather and matt\"" + }, + { + "question": "What was the overall record in the season where average attendance was 16720?", + "context": "create table table_2771237_1 (overall_record varchar, average_attendance varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_2771237_1 where average_attendance = 16720" + }, + { + "question": "What are the unique block codes that have available rooms?", + "context": "create table room (blockcode varchar, unavailable varchar, PRIMARY KEY (blockcode))", + "answer": "select distinct blockcode from room where unavailable = 0" + }, + { + "question": "Show all team names.", + "context": "create table team (name varchar, PRIMARY KEY (name))", + "answer": "select name from team" + }, + { + "question": "What was the manner of departure for the team whose incoming manager was George Burley?", + "context": "create table table_26593762_3 (manner_of_departure varchar, incoming_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_26593762_3 where incoming_manager = \"george burley\"" + }, + { + "question": "Who had the fastest lap in the Belgian Grand Prix?", + "context": "create table table_1132600_3 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1132600_3 where grand_prix = \"belgian grand_prix\"" + }, + { + "question": "What was the largest ethnic group in 2002 of the settlement with the cyrillic name of \u0432\u0430\u0442\u0438\u043d?", + "context": "create table table_2562572_46 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_46 where cyrillic_name_other_names = \"\u0432\u0430\u0442\u0438\u043d\"" + }, + { + "question": "Find the titles and studios of the films that are produced by some film studios that contained the word \"Universal\".", + "context": "create table film (title varchar, studio varchar, PRIMARY KEY (title))", + "answer": "select title, studio from film where studio like \"%universal%\"" + }, + { + "question": "Among deaths 106 000 how many is crude rate.", + "context": "create table table_21258_1 (crude_death_rate varchar, deaths varchar, PRIMARY KEY (crude_death_rate))", + "answer": "select crude_death_rate from table_21258_1 where deaths = \"106 000\"" + }, + { + "question": "What is the municipal status where the population density is 895.5?", + "context": "create table table_21284653_1 (municipal_status varchar, population_density varchar, PRIMARY KEY (municipal_status))", + "answer": "select municipal_status from table_21284653_1 where population_density = \"895.5\"" + }, + { + "question": "Find the number of students who participate in the tryout for each college ordered by descending count.", + "context": "create table tryout (cname varchar, PRIMARY KEY (cname))", + "answer": "select count(*), cname from tryout group by cname order by count(*) desc" + }, + { + "question": "What are the weapons used by guardians for the direction East?", + "context": "create table table_100518_1 (weapon varchar, direction varchar, PRIMARY KEY (weapon))", + "answer": "select weapon from table_100518_1 where direction = \"east\"" + }, + { + "question": "How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?", + "context": "create table table_105344_2 (flying_hours varchar, aircraft_kilometers integer, PRIMARY KEY (flying_hours))", + "answer": "select flying_hours from table_105344_2 where aircraft_kilometers > 64379058.0" + }, + { + "question": "the quartier menpenti has how many 40-59 year olds?", + "context": "create table table_29615165_5 (_percentage_40_59_years varchar, quartier varchar, PRIMARY KEY (_percentage_40_59_years))", + "answer": "select _percentage_40_59_years from table_29615165_5 where quartier = \"menpenti\"" + }, + { + "question": "What is the operating voltage of part number amql64dam22gg?", + "context": "create table table_27277284_27 (voltage varchar, order_part_number varchar, PRIMARY KEY (voltage))", + "answer": "select voltage from table_27277284_27 where order_part_number = \"amql64dam22gg\"" + }, + { + "question": "In which country (endonym) is Irish English the official or native language(s) (alphabet/script)?", + "context": "create table table_1008653_9 (country___endonym__ varchar, official_or_native_language_s___alphabet_script_ varchar, PRIMARY KEY (country___endonym__))", + "answer": "select country___endonym__ from table_1008653_9 where official_or_native_language_s___alphabet_script_ = \"irish english\"" + }, + { + "question": "How many women has got the first runner-up position in representation of Philippines?", + "context": "create table table_29942205_1 (country_territory varchar, PRIMARY KEY (country_territory))", + "answer": "select 1 as st_runner_up from table_29942205_1 where country_territory = \"philippines\"" + }, + { + "question": "How many publishers put out isbn 193700788x?", + "context": "create table table_16907214_1 (publisher varchar, hardcover varchar, PRIMARY KEY (publisher))", + "answer": "select count(publisher) from table_16907214_1 where hardcover = \"isbn 193700788x\"" + }, + { + "question": "What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?", + "context": "create table table_11148572_1 (mls_cup_winner varchar, mls_cup_runner_up varchar, PRIMARY KEY (mls_cup_winner))", + "answer": "select mls_cup_winner from table_11148572_1 where mls_cup_runner_up = \"colorado rapids\"" + }, + { + "question": "What is the most popular file format?", + "context": "create table files (formats varchar, PRIMARY KEY (formats))", + "answer": "select formats from files group by formats order by count(*) desc limit 1" + }, + { + "question": "Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?", + "context": "create table table_23157997_13 (mountains_classification varchar, youth_classification varchar, points_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_23157997_13 where youth_classification = \"nick frey\" and points_classification = \"tom zirbel\"" + }, + { + "question": "Which origin has most number of flights?", + "context": "create table flight (origin varchar, PRIMARY KEY (origin))", + "answer": "select origin from flight group by origin order by count(*) desc limit 1" + }, + { + "question": "Name the high assists for houston", + "context": "create table table_17288845_9 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17288845_9 where team = \"houston\"" + }, + { + "question": "What's the content offered by the package number 204?", + "context": "create table table_15887683_3 (content varchar, n\u00b0 varchar, PRIMARY KEY (content))", + "answer": "select content from table_15887683_3 where n\u00b0 = 204" + }, + { + "question": "What is the status for the monarch Mingyinyo?", + "context": "create table table_26460435_7 (status varchar, monarch varchar, PRIMARY KEY (status))", + "answer": "select status from table_26460435_7 where monarch = \"mingyinyo\"" + }, + { + "question": "How many different circuits had Gary Gibson has the Lites 1 race two winning team?", + "context": "create table table_26638600_3 (lites_2_race_one_winning_team varchar, lites_1_race_two_winning_team varchar, PRIMARY KEY (lites_2_race_one_winning_team))", + "answer": "select count(lites_2_race_one_winning_team) from table_26638600_3 where lites_1_race_two_winning_team = \"gary gibson\"" + }, + { + "question": "How many runs conceded for chaminda vaas?", + "context": "create table table_15700367_6 (runs_conceded varchar, name varchar, PRIMARY KEY (runs_conceded))", + "answer": "select runs_conceded from table_15700367_6 where name = \"chaminda vaas\"" + }, + { + "question": "What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?", + "context": "create table table_19526911_1 (arena__capacity_ varchar, head_coach varchar, PRIMARY KEY (arena__capacity_))", + "answer": "select count(arena__capacity_) from table_19526911_1 where head_coach = \"yuriy korotkevich\"" + }, + { + "question": "Name the country for lusail national stadium", + "context": "create table table_28281704_1 (country varchar, stadium varchar, PRIMARY KEY (country))", + "answer": "select country from table_28281704_1 where stadium = \"lusail national stadium\"" + }, + { + "question": "What residence hall has the vermin mascot?", + "context": "create table table_15873547_1 (residence_hall varchar, mascot varchar, PRIMARY KEY (residence_hall))", + "answer": "select residence_hall from table_15873547_1 where mascot = \"vermin\"" + }, + { + "question": "What is the minimum altitude (mslm) in all the commons?", + "context": "create table table_1449169_1 (altitude__mslm_ integer, PRIMARY KEY (altitude__mslm_))", + "answer": "select min(altitude__mslm_) from table_1449169_1" + }, + { + "question": "List roles that have more than one employee. List the role description and number of employees.", + "context": "create table roles (id varchar, PRIMARY KEY (id)); create table employees (id varchar, PRIMARY KEY (id))", + "answer": "select roles.role_description, count(employees.employee_id) from roles join employees on employees.role_code = roles.role_code group by employees.role_code having count(employees.employee_id) > 1" + }, + { + "question": "What was the area (km\u00b2) (per sqmi) of the country Colombia?", + "context": "create table table_26769_1 (area__km\u00b2___per_sqmi_ varchar, country_or_territory_with_flag varchar, PRIMARY KEY (area__km\u00b2___per_sqmi_))", + "answer": "select area__km\u00b2___per_sqmi_ from table_26769_1 where country_or_territory_with_flag = \"colombia\"" + }, + { + "question": "Show all cities where at least one customer lives in but no performer lives in.", + "context": "create table customers (address_id varchar, PRIMARY KEY (address_id)); create table addresses (city_town varchar, address_id varchar, PRIMARY KEY (city_town)); create table performers (address_id varchar, PRIMARY KEY (address_id))", + "answer": "select t1.city_town from addresses as t1 join customers as t2 on t1.address_id = t2.address_id except select t1.city_town from addresses as t1 join performers as t2 on t1.address_id = t2.address_id" + }, + { + "question": "How many clubs achieved the 5th position in 2012-13?", + "context": "create table table_1908877_2 (top_division_titles varchar, position_in_2012_13 varchar, PRIMARY KEY (top_division_titles))", + "answer": "select count(top_division_titles) from table_1908877_2 where position_in_2012_13 = \"5th\"" + }, + { + "question": "When 4 is the v-band what is the overall amount of ka-bands?", + "context": "create table table_186468_1 (ka_band varchar, v_band varchar, PRIMARY KEY (ka_band))", + "answer": "select count(ka_band) from table_186468_1 where v_band = \"4\"" + }, + { + "question": "What are the distinct nominees of the musicals with the award that is not \"Tony Award\"?", + "context": "create table musical (nominee varchar, award varchar, PRIMARY KEY (nominee))", + "answer": "select distinct nominee from musical where award <> \"tony award\"" + }, + { + "question": "How many figures are given for total number of South Asians in 2001 for the area where they were 4.4% of population in 2011?", + "context": "create table table_1717824_1 (south_asians_2001 varchar, _percentage_2011 varchar, PRIMARY KEY (south_asians_2001))", + "answer": "select count(south_asians_2001) from table_1717824_1 where _percentage_2011 = \"4.4%\"" + }, + { + "question": "What is the manner of departure when the incoming head coach is mohammad khakpour?", + "context": "create table table_27383390_4 (manner_of_departure varchar, incoming_head_coach varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27383390_4 where incoming_head_coach = \"mohammad khakpour\"" + }, + { + "question": "What is the coordinate velocity v dx/dt in units of c total number if the velocity angle \u03b7 in i-radians is ln[2 + \u221a5] \u2245 1.444?", + "context": "create table table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c varchar, velocity_angle_\u03b7_in_i_radians varchar, PRIMARY KEY (coordinate_velocity_v_dx_dt_in_units_of_c))", + "answer": "select count(coordinate_velocity_v_dx_dt_in_units_of_c) from table_15314901_1 where velocity_angle_\u03b7_in_i_radians = \"ln[2 + \u221a5] \u2245 1.444\"" + }, + { + "question": "What is the surface made of if the opponent in the final is Hewitt McMillan?", + "context": "create table table_22597626_2 (surface varchar, opponents_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_22597626_2 where opponents_in_the_final = \"hewitt mcmillan\"" + }, + { + "question": "Report the distinct registration date and the election cycle.", + "context": "create table voting_record (registration_date varchar, election_cycle varchar, PRIMARY KEY (registration_date))", + "answer": "select distinct registration_date, election_cycle from voting_record" + }, + { + "question": "Show names of teachers and the number of courses they teach.", + "context": "create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table course_arrange (teacher_id varchar, PRIMARY KEY (teacher_id))", + "answer": "select t2.name, count(*) from course_arrange as t1 join teacher as t2 on t1.teacher_id = t2.teacher_id group by t2.name" + }, + { + "question": "What is the preliminary average when the semifinal average is 8.834 (3) ?", + "context": "create table table_16268026_3 (preliminary_average varchar, semifinal_average varchar, PRIMARY KEY (preliminary_average))", + "answer": "select preliminary_average from table_16268026_3 where semifinal_average = \"8.834 (3)\"" + }, + { + "question": "Name who wrote the episode directed by patrick duffy airing on november 7, 1997", + "context": "create table table_2468961_8 (written_by varchar, directed_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2468961_8 where directed_by = \"patrick duffy\" and original_air_date = \"november 7, 1997\"" + }, + { + "question": "What is the cost per capita in the Courtenay municipality?", + "context": "create table table_12340907_1 (cost_per_capita varchar, municipality varchar, PRIMARY KEY (cost_per_capita))", + "answer": "select cost_per_capita from table_12340907_1 where municipality = \"courtenay\"" + }, + { + "question": "Name the gp for ff being 0 and qbh being 1", + "context": "create table table_15128839_22 (gp varchar, ff varchar, qbh varchar, PRIMARY KEY (gp))", + "answer": "select gp from table_15128839_22 where ff = 0 and qbh = 1" + }, + { + "question": "Find the name of persons who are friends with Bob.", + "context": "create table personfriend (name varchar, friend varchar, PRIMARY KEY (name)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select t1.name from person as t1 join personfriend as t2 on t1.name = t2.name where t2.friend = 'bob'" + }, + { + "question": "Who was the successor for the state of Maine (2) ?", + "context": "create table table_225099_3 (successor varchar, state__class_ varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_225099_3 where state__class_ = \"maine (2)\"" + }, + { + "question": "What is the party for the candidates edwin gray (dr)?", + "context": "create table table_2668393_18 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668393_18 where candidates = \"edwin gray (dr)\"" + }, + { + "question": "Name the song choice for michael jackson", + "context": "create table table_19508635_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_19508635_1 where original_artist = \"michael jackson\"" + }, + { + "question": "Name the player for 1945 for player", + "context": "create table table_19611329_1 (year_inducted varchar, inducted_as varchar, PRIMARY KEY (year_inducted))", + "answer": "select \"player\" from table_19611329_1 where year_inducted = 1945 and inducted_as = \"player\"" + }, + { + "question": "What is the judge's total for Roxanne and Daniel?", + "context": "create table table_19744915_16 (judges varchar, couple varchar, PRIMARY KEY (judges))", + "answer": "select judges from table_19744915_16 where couple = \"roxanne and daniel\"" + }, + { + "question": "Name the content for sky famiglia for italian and dar 16:9 for mtv hits", + "context": "create table table_15887683_10 (content varchar, television_service varchar, dar varchar, package_option varchar, language varchar, PRIMARY KEY (content))", + "answer": "select content from table_15887683_10 where package_option = \"sky famiglia\" and language = \"italian\" and dar = \"16:9\" and television_service = \"mtv hits\"" + }, + { + "question": "When mixed quad singles is the event what is the final/bronze medal match?", + "context": "create table table_18602462_21 (final__bronze_medal_match varchar, event varchar, PRIMARY KEY (final__bronze_medal_match))", + "answer": "select final__bronze_medal_match from table_18602462_21 where event = \"mixed quad singles\"" + }, + { + "question": "Name the sign of zodiac for chithirai", + "context": "create table table_169955_1 (sign_of_zodiac varchar, tamil_calendar varchar, PRIMARY KEY (sign_of_zodiac))", + "answer": "select sign_of_zodiac from table_169955_1 where tamil_calendar = \"chithirai\"" + }, + { + "question": "Show the names of donors who donated to both school \"Glenn\" and \"Triton.\"", + "context": "create table school (school_id varchar, school_name varchar, PRIMARY KEY (school_id)); create table endowment (donator_name varchar, school_id varchar, PRIMARY KEY (donator_name))", + "answer": "select t1.donator_name from endowment as t1 join school as t2 on t1.school_id = t2.school_id where t2.school_name = 'glenn' intersect select t1.donator_name from endowment as t1 join school as t2 on t1.school_id = t2.school_id where t2.school_name = 'triton'" + }, + { + "question": "Who is the mens singles and womens singlses is wang shixian?", + "context": "create table table_13553701_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_13553701_1 where womens_singles = \"wang shixian\"" + }, + { + "question": "Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?", + "context": "create table table_25773116_2 (pole_position varchar, fastest_lap varchar, location varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_25773116_2 where fastest_lap = \"victor carbone\" and location = \"braselton, georgia\"" + }, + { + "question": "What was the arrival time of the train that departed at 18.16?", + "context": "create table table_18365784_3 (arrival varchar, departure varchar, PRIMARY KEY (arrival))", + "answer": "select arrival from table_18365784_3 where departure = \"18.16\"" + }, + { + "question": "What's the original air date of the episode with a broadcast order s04 e01?", + "context": "create table table_1231892_4 (us_air_date varchar, broadcast_order varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_1231892_4 where broadcast_order = \"s04 e01\"" + }, + { + "question": "How many won the Men's Open if the players are from Sweden?", + "context": "create table table_182298_5 (mens_open varchar, country varchar, PRIMARY KEY (mens_open))", + "answer": "select count(mens_open) from table_182298_5 where country = \"sweden\"" + }, + { + "question": "Name the london great britain for championship record", + "context": "create table table_23619492_3 (london_ varchar, _great_britain varchar, world_record varchar, PRIMARY KEY (london_))", + "answer": "select london_, _great_britain from table_23619492_3 where world_record = \"championship record\"" + }, + { + "question": "How many figures are there for wheels for LMS numbers 16377-9?", + "context": "create table table_15412381_5 (wheels varchar, lms_nos varchar, PRIMARY KEY (wheels))", + "answer": "select count(wheels) from table_15412381_5 where lms_nos = \"16377-9\"" + }, + { + "question": "In what country is the El Hamada area of operation?", + "context": "create table table_13150274_1 (country varchar, area_of_operation varchar, PRIMARY KEY (country))", + "answer": "select country from table_13150274_1 where area_of_operation = \"el hamada\"" + }, + { + "question": "Find the number of rooms with a king bed.", + "context": "create table rooms (bedtype varchar, PRIMARY KEY (bedtype))", + "answer": "select count(*) from rooms where bedtype = \"king\"" + }, + { + "question": "when womens singles is wang yihan and tour is french super series, what were the men's singles?", + "context": "create table table_21001903_2 (mens_singles varchar, womens_singles varchar, tour varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_21001903_2 where womens_singles = \"wang yihan\" and tour = \"french super series\"" + }, + { + "question": "What is the french word for the Russian word filtrovat (\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c)?", + "context": "create table table_15040_8 (french varchar, russian varchar, PRIMARY KEY (french))", + "answer": "select french from table_15040_8 where russian = \"filtrovat (\u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c)\"" + }, + { + "question": "What is the number of cores associated with model name e2xxx?", + "context": "create table table_24099628_1 (cores varchar, model__list_ varchar, PRIMARY KEY (cores))", + "answer": "select cores from table_24099628_1 where model__list_ = \"e2xxx\"" + }, + { + "question": "What is the team whose driver Jeff Simmons?", + "context": "create table table_17319931_1 (team varchar, driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_17319931_1 where driver = \"jeff simmons\"" + }, + { + "question": "What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?", + "context": "create table table_19589113_5 (total_population_2001 integer, growth_rate_1991_01 varchar, PRIMARY KEY (total_population_2001))", + "answer": "select min(total_population_2001) from table_19589113_5 where growth_rate_1991_01 = \"33.08\"" + }, + { + "question": "Name the conventional for \u062a\u0627\u063a\u0627\u0631\u0645\u0627", + "context": "create table table_2008069_2 (conventional varchar, uyghur___k\u0322ona_yezik\u0322__ varchar, PRIMARY KEY (conventional))", + "answer": "select conventional from table_2008069_2 where uyghur___k\u0322ona_yezik\u0322__ = \"\u062a\u0627\u063a\u0627\u0631\u0645\u0627\"" + }, + { + "question": "Show names of actors that have appeared in musical with name \"The Phantom of the Opera\".", + "context": "create table actor (name varchar, musical_id varchar, PRIMARY KEY (name)); create table musical (musical_id varchar, name varchar, PRIMARY KEY (musical_id))", + "answer": "select t1.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id where t2.name = \"the phantom of the opera\"" + }, + { + "question": "What are the races that johnny rutherford has won?", + "context": "create table table_10706879_3 (name varchar, winning_driver varchar, PRIMARY KEY (name))", + "answer": "select name from table_10706879_3 where winning_driver = \"johnny rutherford\"" + }, + { + "question": "Show all allergy types.", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select distinct allergytype from allergy_type" + }, + { + "question": "What was the area in km2 in 2011 for the Narsingdi District?", + "context": "create table table_24027047_1 (area__km\u00b2__2011 varchar, administrative_division varchar, PRIMARY KEY (area__km\u00b2__2011))", + "answer": "select area__km\u00b2__2011 * * from table_24027047_1 where administrative_division = \"narsingdi district\"" + }, + { + "question": "What is JCTV's digital channel?", + "context": "create table table_1404984_1 (digital_channel varchar, network varchar, PRIMARY KEY (digital_channel))", + "answer": "select digital_channel from table_1404984_1 where network = \"jctv\"" + }, + { + "question": "what is the entry where the other person is zden\u011bk hr\u016fza", + "context": "create table table_28046929_2 (entrant varchar, co_driver varchar, PRIMARY KEY (entrant))", + "answer": "select entrant from table_28046929_2 where co_driver = \"zden\u011bk hr\u016fza\"" + }, + { + "question": "In what prefecture is Susaki located?", + "context": "create table table_2518850_4 (prefecture varchar, city_town varchar, PRIMARY KEY (prefecture))", + "answer": "select prefecture from table_2518850_4 where city_town = \"susaki\"" + }, + { + "question": "How many different locations does each school have?", + "context": "create table department (school_code varchar, dept_address varchar, PRIMARY KEY (school_code))", + "answer": "select count(distinct dept_address), school_code from department group by school_code" + }, + { + "question": "What are the names and buying prices of all the products?", + "context": "create table products (product_name varchar, typical_buying_price varchar, PRIMARY KEY (product_name))", + "answer": "select product_name, typical_buying_price from products" + }, + { + "question": "Name the hometown for ventrell jenkins", + "context": "create table table_14624447_39 (hometown varchar, name varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_14624447_39 where name = \"ventrell jenkins\"" + }, + { + "question": "List the total number of records from Lambeau Field.", + "context": "create table table_14477002_1 (record varchar, location varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_14477002_1 where location = \"lambeau field\"" + }, + { + "question": "What language for the glam genre?", + "context": "create table table_14160327_4 (language varchar, genre varchar, PRIMARY KEY (language))", + "answer": "select language from table_14160327_4 where genre = \"glam\"" + }, + { + "question": "how many afghan in banglash is hungarian", + "context": "create table table_24807774_1 (afghan varchar, bangladeshi varchar, PRIMARY KEY (afghan))", + "answer": "select afghan from table_24807774_1 where bangladeshi = \"hungarian\"" + }, + { + "question": "If the director is Yannick Bisson, what was the Canadian amount of viewers?", + "context": "create table table_25640730_7 (canadian_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (canadian_viewers__millions_))", + "answer": "select count(canadian_viewers__millions_) from table_25640730_7 where directed_by = \"yannick bisson\"" + }, + { + "question": "Name the saka era for sign of zodiac being pisces", + "context": "create table table_169955_1 (saka_era varchar, sign_of_zodiac varchar, PRIMARY KEY (saka_era))", + "answer": "select saka_era from table_169955_1 where sign_of_zodiac = \"pisces\"" + }, + { + "question": "What is the opponent of the veterans stadium", + "context": "create table table_12944805_15 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_12944805_15 where game_site = \"veterans stadium\"" + }, + { + "question": "What was the week ranking of the episode written by Russel Friend & Garrett Lerner?", + "context": "create table table_23177573_1 (rank__week_ varchar, written_by varchar, PRIMARY KEY (rank__week_))", + "answer": "select rank__week_ from table_23177573_1 where written_by = \"russel friend & garrett lerner\"" + }, + { + "question": "What is the benue house made of?", + "context": "create table table_11464746_1 (composition varchar, house_name varchar, PRIMARY KEY (composition))", + "answer": "select composition from table_11464746_1 where house_name = \"benue\"" + }, + { + "question": "How many students live in HKG or CHI?", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select count(*) from student where city_code = \"hkg\" or city_code = \"chi\"" + }, + { + "question": "Which airline has abbreviation 'UAL'?", + "context": "create table airlines (airline varchar, abbreviation varchar, PRIMARY KEY (airline))", + "answer": "select airline from airlines where abbreviation = \"ual\"" + }, + { + "question": "What are the phone numbers of all customers and suppliers.", + "context": "create table suppliers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone)); create table customers (customer_phone varchar, supplier_phone varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone from customers union select supplier_phone from suppliers" + }, + { + "question": "list the name, job title of all people ordered by their names.", + "context": "create table person (name varchar, job varchar, PRIMARY KEY (name))", + "answer": "select name, job from person order by name" + }, + { + "question": "Name the total number of party for willis alston (j) 93.9% george e. spruill 6.1%", + "context": "create table table_2668243_18 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2668243_18 where candidates = \"willis alston (j) 93.9% george e. spruill 6.1%\"" + }, + { + "question": "Who wrote the lyrics when Jeevankala co-starred?", + "context": "create table table_2528382_5 (lyricist varchar, co_stars varchar, PRIMARY KEY (lyricist))", + "answer": "select lyricist from table_2528382_5 where co_stars = \"jeevankala\"" + }, + { + "question": "What are McCain's Percent when Obama has 36.47%?", + "context": "create table table_20688030_1 (mccain_percentage varchar, obama_percentage varchar, PRIMARY KEY (mccain_percentage))", + "answer": "select mccain_percentage from table_20688030_1 where obama_percentage = \"36.47%\"" + }, + { + "question": "Who directed the episode that was viewed by 2.57 million people in the U.S.?", + "context": "create table table_11820086_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11820086_1 where us_viewers__millions_ = \"2.57\"" + }, + { + "question": "Find the names of all the products whose stock number starts with \"2\".", + "context": "create table catalog_contents (catalog_entry_name varchar, product_stock_number varchar, PRIMARY KEY (catalog_entry_name))", + "answer": "select catalog_entry_name from catalog_contents where product_stock_number like \"2%\"" + }, + { + "question": "Namethe team for feb 27, 1996", + "context": "create table table_1594772_2 (team__a_ varchar, match_date varchar, PRIMARY KEY (team__a_))", + "answer": "select team__a_ from table_1594772_2 where match_date = \"feb 27, 1996\"" + }, + { + "question": "When alicia molik is the partner what is the outcome?", + "context": "create table table_24901152_2 (outcome varchar, partner varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_24901152_2 where partner = \"alicia molik\"" + }, + { + "question": "Show names of shops that have more than one kind of device in stock.", + "context": "create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select t2.shop_name from stock as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id having count(*) > 1" + }, + { + "question": "When godstone is in division five who is in division four?", + "context": "create table table_24575253_4 (division_four varchar, division_five varchar, PRIMARY KEY (division_four))", + "answer": "select division_four from table_24575253_4 where division_five = \"godstone\"" + }, + { + "question": "Who had the high point total when they were 8-5?", + "context": "create table table_27902171_4 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27902171_4 where record = \"8-5\"" + }, + { + "question": "What is the home city for the team whose home ground is dnb nor arena?", + "context": "create table table_2522473_1 (home_city varchar, home_ground varchar, PRIMARY KEY (home_city))", + "answer": "select home_city from table_2522473_1 where home_ground = \"dnb nor arena\"" + }, + { + "question": "who made the recovers where the score is 12-30", + "context": "create table table_13464416_6 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13464416_6 where record = \"12-30\"" + }, + { + "question": "Find the name and attribute ID of the attribute definitions with attribute value 0.", + "context": "create table catalog_contents_additional_attributes (attribute_id varchar, attribute_value varchar, PRIMARY KEY (attribute_id)); create table attribute_definitions (attribute_name varchar, attribute_id varchar, PRIMARY KEY (attribute_name))", + "answer": "select t1.attribute_name, t1.attribute_id from attribute_definitions as t1 join catalog_contents_additional_attributes as t2 on t1.attribute_id = t2.attribute_id where t2.attribute_value = 0" + }, + { + "question": "Name the number of assets for australia", + "context": "create table table_24307126_3 (assets_2013__bil varchar, base varchar, PRIMARY KEY (assets_2013__bil))", + "answer": "select count(assets_2013__bil) as $_ from table_24307126_3 where base = \"australia\"" + }, + { + "question": "What are all the characteristic names of product \"sesame\"?", + "context": "create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); 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))", + "answer": "select t3.characteristic_name 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 = \"sesame\"" + }, + { + "question": "What was the vote tally on the episode aired May 5, 2005?", + "context": "create table table_1272844_2 (vote varchar, air_date varchar, PRIMARY KEY (vote))", + "answer": "select vote from table_1272844_2 where air_date = \"may 5, 2005\"" + }, + { + "question": "How many different software platforms are there for devices?", + "context": "create table device (software_platform varchar, PRIMARY KEY (software_platform))", + "answer": "select count(distinct software_platform) from device" + }, + { + "question": "what are all the Canadian air dates where the u.s. air date is may 1, 2009", + "context": "create table table_12294557_3 (canadian_airdate varchar, us_airdate varchar, PRIMARY KEY (canadian_airdate))", + "answer": "select canadian_airdate from table_12294557_3 where us_airdate = \"may 1, 2009\"" + }, + { + "question": "Name the most runs conceded", + "context": "create table table_15700367_4 (runs_conceded integer, PRIMARY KEY (runs_conceded))", + "answer": "select max(runs_conceded) from table_15700367_4" + }, + { + "question": "What is the Japanese title with an average rating of 11.6%?", + "context": "create table table_18540104_1 (japanese_title varchar, average_ratings varchar, PRIMARY KEY (japanese_title))", + "answer": "select japanese_title from table_18540104_1 where average_ratings = \"11.6%\"" + }, + { + "question": "Name the total number directed by for uk viewers being 6.86", + "context": "create table table_18012738_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_18012738_1 where uk_viewers__million_ = \"6.86\"" + }, + { + "question": "What is the make of the car that won the brazilian grand prix?", + "context": "create table table_1139087_2 (constructor varchar, grand_prix varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1139087_2 where grand_prix = \"brazilian grand_prix\"" + }, + { + "question": "What is every release price(USD) for model number core i5-650?", + "context": "create table table_23028629_2 (release_price___usd__ varchar, model_number varchar, PRIMARY KEY (release_price___usd__))", + "answer": "select release_price___usd__ from table_23028629_2 where model_number = \"core i5-650\"" + }, + { + "question": "Who directed episode number 23?", + "context": "create table table_21025437_6 (directed_by varchar, episode_no varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_21025437_6 where episode_no = 23" + }, + { + "question": "What is every entry for epoch if periselene is 2,291.250?", + "context": "create table table_206217_2 (epoch__utc_ varchar, periselene__km_ varchar, PRIMARY KEY (epoch__utc_))", + "answer": "select epoch__utc_ from table_206217_2 where periselene__km_ = \"2,291.250\"" + }, + { + "question": "How many characteristics are there?", + "context": "create table characteristics (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from characteristics" + }, + { + "question": "what is x when faisaly is 0-0?", + "context": "create table table_26173063_2 (\u00d7 varchar, faisaly varchar, PRIMARY KEY (\u00d7))", + "answer": "select \u00d7 from table_26173063_2 where faisaly = \"0-0\"" + }, + { + "question": "Find the kind of program which most number of students are enrolled in?", + "context": "create table student_enrolment (degree_program_id varchar, PRIMARY KEY (degree_program_id)); create table degree_programs (degree_summary_name varchar, degree_program_id varchar, PRIMARY KEY (degree_summary_name))", + "answer": "select t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_summary_name order by count(*) desc limit 1" + }, + { + "question": "How many times has the student Linda Smith visited Subway?", + "context": "create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table student (id varchar, PRIMARY KEY (id)); create table restaurant (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from student join visits_restaurant on student.stuid = visits_restaurant.stuid join restaurant on visits_restaurant.resid = restaurant.resid where student.fname = \"linda\" and student.lname = \"smith\" and restaurant.resname = \"subway\"" + }, + { + "question": "Which city does student Linda Smith live in?", + "context": "create table student (city_code varchar, fname varchar, lname varchar, PRIMARY KEY (city_code))", + "answer": "select city_code from student where fname = \"linda\" and lname = \"smith\"" + }, + { + "question": "What was the record in the game against Memphis?", + "context": "create table table_22879323_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_22879323_8 where team = \"memphis\"" + }, + { + "question": "If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface?", + "context": "create table table_22597626_2 (surface varchar, partner varchar, opponents_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_22597626_2 where partner = \"fleming\" and opponents_in_the_final = \"hewitt mcmillan\"" + }, + { + "question": "What is the total number for 3rd place for ducati xerox?", + "context": "create table table_13196576_2 (team varchar, PRIMARY KEY (team))", + "answer": "select count(3 as rd_pl) from table_13196576_2 where team = \"ducati xerox\"" + }, + { + "question": "What group a winner was for nocerina?", + "context": "create table table_1137142_1 (group_a_winner varchar, group_d_winner varchar, PRIMARY KEY (group_a_winner))", + "answer": "select group_a_winner from table_1137142_1 where group_d_winner = \"nocerina\"" + }, + { + "question": "What is the local name given to the capital of Anguilla?", + "context": "create table table_1008653_1 (capital___endonym__ varchar, country___endonym__ varchar, PRIMARY KEY (capital___endonym__))", + "answer": "select capital___endonym__ from table_1008653_1 where country___endonym__ = \"anguilla\"" + }, + { + "question": "Find the distinct last names of all the students who have president votes and whose advisor is 8741.", + "context": "create table student (lname varchar, president_vote varchar, advisor varchar, PRIMARY KEY (lname)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table voting_record (id varchar, PRIMARY KEY (id))", + "answer": "select distinct t1.lname from student as t1 join voting_record as t2 on t1.stuid = president_vote intersect select distinct lname from student where advisor = \"8741\"" + }, + { + "question": "What university was founded in 1898?", + "context": "create table table_24697604_1 (university varchar, year_founded varchar, PRIMARY KEY (university))", + "answer": "select university from table_24697604_1 where year_founded = 1898" + }, + { + "question": "What is the largest ethnic group of the settlement with the cyrillic name of \u0431\u0430\u043d\u0430\u0442\u0441\u043a\u043e \u0430\u0440\u0430\u043d\u0452\u0435\u043b\u043e\u0432\u043e?", + "context": "create table table_2562572_30 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_30 where cyrillic_name_other_names = \"\u0431\u0430\u043d\u0430\u0442\u0441\u043a\u043e \u0430\u0440\u0430\u043d\u0452\u0435\u043b\u043e\u0432\u043e\"" + }, + { + "question": "Provide me with the names of all the villages (German) that has 76.3% of Slovenes in 1951.", + "context": "create table table_10798421_1 (village__german_ varchar, percent_of_slovenes_1951 varchar, PRIMARY KEY (village__german_))", + "answer": "select village__german_ from table_10798421_1 where percent_of_slovenes_1951 = \"76.3%\"" + }, + { + "question": "What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?", + "context": "create table engineer_visits (contact_staff_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table fault_log (recorded_by_staff_id varchar, PRIMARY KEY (recorded_by_staff_id))", + "answer": "select t1.staff_name, t1.staff_id from staff as t1 join fault_log as t2 on t1.staff_id = t2.recorded_by_staff_id except select t3.staff_name, t3.staff_id from staff as t3 join engineer_visits as t4 on t3.staff_id = t4.contact_staff_id" + }, + { + "question": "What is every yellow jersey entry for the distance 125?", + "context": "create table table_275506_1 (yellow_jersey varchar, distance__km_ varchar, PRIMARY KEY (yellow_jersey))", + "answer": "select yellow_jersey from table_275506_1 where distance__km_ = \"125\"" + }, + { + "question": "How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984?", + "context": "create table table_12983929_1 (total_power varchar, construction_start varchar, commercial_operation varchar, PRIMARY KEY (total_power))", + "answer": "select count(total_power) from table_12983929_1 where construction_start = \"01.03.1977\" and commercial_operation = \"01.02.1984\"" + }, + { + "question": "What are all the payment methods?", + "context": "create table customers (payment_method varchar, PRIMARY KEY (payment_method))", + "answer": "select distinct payment_method from customers" + }, + { + "question": "how many times have there been helps by damon stoudamire (13)", + "context": "create table table_13464416_6 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_13464416_6 where high_assists = \"damon stoudamire (13)\"" + }, + { + "question": "What is the modern german standard wording for the german based writing system 2 phrase \"wie mir die vergewwe wu uns schuldich sinn.\"?", + "context": "create table table_181240_1 (modern_german__standard_wording_ varchar, writing_system_2__german_based_ varchar, PRIMARY KEY (modern_german__standard_wording_))", + "answer": "select modern_german__standard_wording_ from table_181240_1 where writing_system_2__german_based_ = \"wie mir die vergewwe wu uns schuldich sinn.\"" + }, + { + "question": "What are the distinct reigns of wrestlers whose location is not \"Tokyo,Japan\" ?", + "context": "create table wrestler (reign varchar, location varchar, PRIMARY KEY (reign))", + "answer": "select distinct reign from wrestler where location <> \"tokyo , japan\"" + }, + { + "question": "Return all the information for all employees without any department number.", + "context": "create table employees (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select * from employees where department_id = \"null\"" + }, + { + "question": "What are airlines that have some flight departing from airport 'AHD'?", + "context": "create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"ahd\"" + }, + { + "question": "What is the name of the episode that aired originally on October 18, 1991?", + "context": "create table table_2468961_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_2468961_2 where original_air_date = \"october 18, 1991\"" + }, + { + "question": "Name the guest 3 for iyare igiehon", + "context": "create table table_20466963_13 (guest_3 varchar, guest_2 varchar, PRIMARY KEY (guest_3))", + "answer": "select guest_3 from table_20466963_13 where guest_2 = \"iyare igiehon\"" + }, + { + "question": "What are the profits (in billions) of the company with a market value of 172.9 billion?", + "context": "create table table_1682026_3 (profits__billion_$_ varchar, market_value__billion_$_ varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_1682026_3 where market_value__billion_$_ = \"172.9\"" + }, + { + "question": "To which party does Robert W. Edgar belong?", + "context": "create table table_1341598_39 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341598_39 where incumbent = \"robert w. edgar\"" + }, + { + "question": "What are different nationalities of people and the corresponding number of people from each nation?", + "context": "create table people (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality, count(*) from people group by nationality" + }, + { + "question": "How many export volume of goods/services values are associated with GDP at constant prices values of 3.072?", + "context": "create table table_30133_1 (export_volume_of_goods_and_services__percent_change_ varchar, gdp_at_constant_prices__thb_trillions_ varchar, PRIMARY KEY (export_volume_of_goods_and_services__percent_change_))", + "answer": "select count(export_volume_of_goods_and_services__percent_change_) from table_30133_1 where gdp_at_constant_prices__thb_trillions_ = \"3.072\"" + }, + { + "question": "Who was on the pole position in the Texaco/Havoline 200 race?", + "context": "create table table_19908651_3 (pole_position varchar, race_name varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_19908651_3 where race_name = \"texaco/havoline 200\"" + }, + { + "question": "What is the biggest number of basses suggested in either one of the references?", + "context": "create table table_2414_1 (basses integer, PRIMARY KEY (basses))", + "answer": "select max(basses) from table_2414_1" + }, + { + "question": "What is the position for outgoing manager alfredo merino", + "context": "create table table_27495117_3 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_27495117_3 where outgoing_manager = \"alfredo merino\"" + }, + { + "question": "In language where Wednesday is \u09ac\u09c1\u09a7\u09ac\u09be\u09b0 budhbar, what is Thursday?", + "context": "create table table_1277350_3 (thursday_guru__jupiter_ varchar, wednesday_budha__mercury_ varchar, PRIMARY KEY (thursday_guru__jupiter_))", + "answer": "select thursday_guru__jupiter_ from table_1277350_3 where wednesday_budha__mercury_ = \"\u09ac\u09c1\u09a7\u09ac\u09be\u09b0 budhbar\"" + }, + { + "question": "What is the value of total costs (2005) in the Coldstream municipality?", + "context": "create table table_12340907_1 (total_costs__2005_ varchar, municipality varchar, PRIMARY KEY (total_costs__2005_))", + "answer": "select total_costs__2005_ from table_12340907_1 where municipality = \"coldstream\"" + }, + { + "question": "How many channels are there in the Greater Tokyo area?", + "context": "create table table_2638104_1 (channel varchar, broadcast_area varchar, PRIMARY KEY (channel))", + "answer": "select count(channel) from table_2638104_1 where broadcast_area = \"greater tokyo\"" + }, + { + "question": "what are all the u16 2nd viii with u15 3rd iv being bbc", + "context": "create table table_11318462_5 (u16_2nd_viii varchar, u15_3rd_iv varchar, PRIMARY KEY (u16_2nd_viii))", + "answer": "select u16_2nd_viii from table_11318462_5 where u15_3rd_iv = \"bbc\"" + }, + { + "question": "What is the invoice number and invoice date for the invoice with most number of transactions?", + "context": "create table invoices (invoice_number varchar, invoice_date varchar, PRIMARY KEY (invoice_number)); create table financial_transactions (invoice_number varchar, PRIMARY KEY (invoice_number))", + "answer": "select t2.invoice_number, t2.invoice_date from financial_transactions as t1 join invoices as t2 on t1.invoice_number = t2.invoice_number group by t1.invoice_number order by count(*) desc limit 1" + }, + { + "question": "When did the episode viewed by 10.50 millions of people in the US run for the first time?", + "context": "create table table_23799653_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23799653_1 where us_viewers__millions_ = \"10.50\"" + }, + { + "question": "When was there 8.9% Green-Communist?", + "context": "create table table_1463383_1 (date_released varchar, green_communist varchar, PRIMARY KEY (date_released))", + "answer": "select date_released from table_1463383_1 where green_communist = \"8.9%\"" + }, + { + "question": "What is the card type code with most number of cards?", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select card_type_code from customers_cards group by card_type_code order by count(*) desc limit 1" + }, + { + "question": "How many courses in total are listed?", + "context": "create table courses (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from courses" + }, + { + "question": "What is the cable rank for the airdate of 10 december 2009?", + "context": "create table table_24399615_3 (cable_rank varchar, airdate varchar, PRIMARY KEY (cable_rank))", + "answer": "select cable_rank from table_24399615_3 where airdate = \"10 december 2009\"" + }, + { + "question": "Name the least europa league", + "context": "create table table (europa_league integer, PRIMARY KEY (europa_league))", + "answer": "select min(europa_league) from table" + }, + { + "question": "what is the name ofhte company where the plant is in burnaston?", + "context": "create table table_250309_1 (company varchar, plant varchar, PRIMARY KEY (company))", + "answer": "select company from table_250309_1 where plant = \"burnaston\"" + }, + { + "question": "Name the stadium for regular season game", + "context": "create table table_21436373_11 (stadium varchar, type_of_record varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_11 where type_of_record = \"regular season game\"" + }, + { + "question": "What is the title with an average rating of 22.4%?", + "context": "create table table_18540104_1 (romaji_title varchar, average_ratings varchar, PRIMARY KEY (romaji_title))", + "answer": "select romaji_title from table_18540104_1 where average_ratings = \"22.4%\"" + }, + { + "question": "List the name of ships that are not involved in any mission", + "context": "create table mission (name varchar, ship_id varchar, PRIMARY KEY (name)); create table ship (name varchar, ship_id varchar, PRIMARY KEY (name))", + "answer": "select name from ship where not ship_id in (select ship_id from mission)" + }, + { + "question": "who directed the episode that elaine ko wrote?", + "context": "create table table_27332038_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27332038_1 where written_by = \"elaine ko\"" + }, + { + "question": "What organization had the founding date of 1998-11-08?", + "context": "create table table_2538117_12 (organization varchar, founding_date varchar, PRIMARY KEY (organization))", + "answer": "select organization from table_2538117_12 where founding_date = \"1998-11-08\"" + }, + { + "question": "Which customer status code has least number of customers?", + "context": "create table customers (customer_status_code varchar, PRIMARY KEY (customer_status_code))", + "answer": "select customer_status_code from customers group by customer_status_code order by count(*) limit 1" + }, + { + "question": "What is thursday day five when friday day six is \u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8 p'arask'evi?", + "context": "create table table_1277350_7 (thursday_day_five varchar, friday_day_six varchar, PRIMARY KEY (thursday_day_five))", + "answer": "select thursday_day_five from table_1277350_7 where friday_day_six = \"\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8 p'arask'evi\"" + }, + { + "question": "What school did the player attend who's hometown was Montvale, NJ?", + "context": "create table table_11677100_18 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677100_18 where hometown = \"montvale, nj\"" + }, + { + "question": "Show all member names who are not in charge of any event.", + "context": "create table member (member_name varchar, PRIMARY KEY (member_name)); create table party_events (member_in_charge_id varchar, PRIMARY KEY (member_in_charge_id)); create table member (member_name varchar, member_id varchar, PRIMARY KEY (member_name))", + "answer": "select member_name from member except select t1.member_name from member as t1 join party_events as t2 on t1.member_id = t2.member_in_charge_id" + }, + { + "question": "How many camera lenses have a focal length longer than 15 mm?", + "context": "create table camera_lens (focal_length_mm integer, PRIMARY KEY (focal_length_mm))", + "answer": "select count(*) from camera_lens where focal_length_mm > 15" + }, + { + "question": "Who shot an 80 in round 3", + "context": "create table table_14708760_3 (shooter varchar, round_3 varchar, PRIMARY KEY (shooter))", + "answer": "select shooter from table_14708760_3 where round_3 = 80" + }, + { + "question": "When was Quantum Research's poll conducted?", + "context": "create table table_20683381_2 (date_of_opinion_poll varchar, conductor varchar, PRIMARY KEY (date_of_opinion_poll))", + "answer": "select date_of_opinion_poll from table_20683381_2 where conductor = \"quantum research\"" + }, + { + "question": "Name the bus width bits when bandwidth mb/s is 3200", + "context": "create table table_142573_1 (bus_width__bits_ varchar, bandwidth__mb_s_ varchar, PRIMARY KEY (bus_width__bits_))", + "answer": "select bus_width__bits_ from table_142573_1 where bandwidth__mb_s_ = 3200" + }, + { + "question": "Show the institution type with the largest number of institutions.", + "context": "create table institution (type varchar, PRIMARY KEY (type))", + "answer": "select type from institution group by type order by count(*) desc limit 1" + }, + { + "question": "During what years did nabatingue toko play.", + "context": "create table table_24565004_21 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select period from table_24565004_21 where name = \"nabatingue toko\"" + }, + { + "question": "how many people come to visit when the 1654 exhibitions", + "context": "create table table_27685921_1 (visitors__total_ varchar, exhibitors__total_ varchar, PRIMARY KEY (visitors__total_))", + "answer": "select count(visitors__total_) from table_27685921_1 where exhibitors__total_ = 1654" + }, + { + "question": "What was the hometown of the player who attended Athens Drive High School?", + "context": "create table table_11677100_5 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677100_5 where school = \"athens drive high school\"" + }, + { + "question": "Who is the music by for episode the Elbow Room?", + "context": "create table table_191105_4 (music_by varchar, episode_title varchar, PRIMARY KEY (music_by))", + "answer": "select music_by from table_191105_4 where episode_title = \"elbow room\"" + }, + { + "question": "Who was in the original broadway cast while jake epstein was in the original 1st us tour cast?", + "context": "create table table_24353141_1 (original_broadway_cast varchar, original_1st_us_tour_cast varchar, PRIMARY KEY (original_broadway_cast))", + "answer": "select original_broadway_cast from table_24353141_1 where original_1st_us_tour_cast = \"jake epstein\"" + }, + { + "question": "How many entries are shown for school colors for the location of naga , camarines sur?", + "context": "create table table_22171978_1 (school_colors varchar, location varchar, PRIMARY KEY (school_colors))", + "answer": "select count(school_colors) from table_22171978_1 where location = \"naga , camarines sur\"" + }, + { + "question": "What all turbines have a capacity of 30 and have a Somerset location?", + "context": "create table table_26387382_1 (turbines varchar, location__county_ varchar, capacity__mw_ varchar, PRIMARY KEY (turbines))", + "answer": "select turbines from table_26387382_1 where location__county_ = \"somerset\" and capacity__mw_ = \"30\"" + }, + { + "question": "Steve Nash (24) got high points for how many teams?", + "context": "create table table_17340355_10 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_17340355_10 where high_points = \"steve nash (24)\"" + }, + { + "question": "What is the gender with a age range of 3-11 at the st adrian roman catholic primary school?", + "context": "create table table_28523_2 (gender varchar, age_range varchar, school varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_28523_2 where age_range = \"3-11\" and school = \"st adrian roman catholic primary school\"" + }, + { + "question": "How many award-winning films have the opening film of encounters at the end of the world?", + "context": "create table table_18220102_1 (award_winning_film varchar, opening_film varchar, PRIMARY KEY (award_winning_film))", + "answer": "select count(award_winning_film) from table_18220102_1 where opening_film = \"encounters at the end of the world\"" + }, + { + "question": "When wacker marktredwitz is the oberfranken ost how many unterfranken wests are there?", + "context": "create table table_23224961_2 (unterfranken_west varchar, oberfranken_ost varchar, PRIMARY KEY (unterfranken_west))", + "answer": "select count(unterfranken_west) from table_23224961_2 where oberfranken_ost = \"wacker marktredwitz\"" + }, + { + "question": "What's the name of the train that goes to Bhubaneswar?", + "context": "create table table_23477312_1 (train_name varchar, destination varchar, PRIMARY KEY (train_name))", + "answer": "select train_name from table_23477312_1 where destination = \"bhubaneswar\"" + }, + { + "question": "When nac breda came in third place and psv eindhoven was the winner who is the top scorer?", + "context": "create table table_20867295_2 (top_scorer varchar, winner varchar, third_place varchar, PRIMARY KEY (top_scorer))", + "answer": "select top_scorer from table_20867295_2 where winner = \"psv eindhoven\" and third_place = \"nac breda\"" + }, + { + "question": "Return the lot details and investor ids.", + "context": "create table lots (lot_details varchar, investor_id varchar, PRIMARY KEY (lot_details))", + "answer": "select lot_details, investor_id from lots" + }, + { + "question": "Name the principal of Northfield Junior-Senior High School.", + "context": "create table table_1984697_85 (principal varchar, school varchar, PRIMARY KEY (principal))", + "answer": "select principal from table_1984697_85 where school = \"northfield junior-senior high school\"" + }, + { + "question": "What was the date of appointment for the manager that replaced Simon Davies?", + "context": "create table table_18795125_6 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_18795125_6 where outgoing_manager = \"simon davies\"" + }, + { + "question": "What were the names of the episodes that had 3.02 million U.S. viewers?", + "context": "create table table_11111116_7 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_11111116_7 where us_viewers__million_ = \"3.02\"" + }, + { + "question": "What are the subdivision names (RU) where the subdivision name (BE) is Hrodzenskaya Voblasts'?", + "context": "create table table_290017_1 (subdivision_name___ru____gost_ varchar, subdivision_name___be____bgn_pcgn_ varchar, PRIMARY KEY (subdivision_name___ru____gost_))", + "answer": "select subdivision_name___ru____gost_ from table_290017_1 where subdivision_name___be____bgn_pcgn_ = \"hrodzenskaya voblasts'\"" + }, + { + "question": "When 1872-10-10 is the founding date what are the canadian chapters?", + "context": "create table table_28436909_4 (canadian_chapters varchar, founding_date varchar, PRIMARY KEY (canadian_chapters))", + "answer": "select canadian_chapters from table_28436909_4 where founding_date = \"1872-10-10\"" + }, + { + "question": "what is the maximum lead margin on august 5, 2008?", + "context": "create table table_16751596_5 (lead_margin integer, dates_administered varchar, PRIMARY KEY (lead_margin))", + "answer": "select max(lead_margin) from table_16751596_5 where dates_administered = \"august 5, 2008\"" + }, + { + "question": "What are the details of the lots which are not used in any transactions?", + "context": "create table lots (lot_details varchar, lot_id varchar, PRIMARY KEY (lot_details)); create table lots (lot_details varchar, PRIMARY KEY (lot_details)); create table transactions_lots (lot_id varchar, PRIMARY KEY (lot_id))", + "answer": "select lot_details from lots except select t1.lot_details from lots as t1 join transactions_lots as t2 on t1.lot_id = t2.lot_id" + }, + { + "question": "How many elections had 1423 average voters per candidate?", + "context": "create table table_19698421_1 (change__percentage_points_ varchar, average_voters_per_candidate varchar, PRIMARY KEY (change__percentage_points_))", + "answer": "select count(change__percentage_points_) from table_19698421_1 where average_voters_per_candidate = 1423" + }, + { + "question": "Who are the advisors for students that live in a city with city code \"BAL\"?", + "context": "create table student (advisor varchar, city_code varchar, PRIMARY KEY (advisor))", + "answer": "select advisor from student where city_code = \"bal\"" + }, + { + "question": "What's the standard of the country who won its first title in 1992?", + "context": "create table table_10682862_68 (standard integer, first_title varchar, PRIMARY KEY (standard))", + "answer": "select max(standard) from table_10682862_68 where first_title = 1992" + }, + { + "question": "How many teams had a #1 draft pick that won the Rookie of the Year Award?", + "context": "create table table_1004033_1 (team varchar, draft_pick__number varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_1004033_1 where draft_pick__number = \"1\"" + }, + { + "question": "How many kitmaker correspond to team ittihad kalba?", + "context": "create table table_27631756_2 (kitmaker varchar, team varchar, PRIMARY KEY (kitmaker))", + "answer": "select count(kitmaker) from table_27631756_2 where team = \"ittihad kalba\"" + }, + { + "question": "Who are the foreign players on team/s that play in Moscow?", + "context": "create table table_19526911_1 (foreign_players__max_2_ varchar, town varchar, PRIMARY KEY (foreign_players__max_2_))", + "answer": "select foreign_players__max_2_ from table_19526911_1 where town = \"moscow\"" + }, + { + "question": "When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?", + "context": "create table table_24620684_2 (vehicle varchar, clean_electric_grid_california__san_francisco_ varchar, PRIMARY KEY (vehicle))", + "answer": "select count(vehicle) from table_24620684_2 where clean_electric_grid_california__san_francisco_ = \"100 g/mi (62 g/km)\"" + }, + { + "question": "What is the group a winner for vis pesaro?", + "context": "create table table_1137142_1 (group_a_winner varchar, group_c_winner varchar, PRIMARY KEY (group_a_winner))", + "answer": "select group_a_winner from table_1137142_1 where group_c_winner = \"vis pesaro\"" + }, + { + "question": "Which operator runs the Mamariga shuttle line?", + "context": "create table table_1603807_2 (operator varchar, line varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_1603807_2 where line = \"mamariga shuttle\"" + }, + { + "question": "What is the least number of seasons in top division?", + "context": "create table table_11250_4 (number_of_seasons_in_top_division integer, PRIMARY KEY (number_of_seasons_in_top_division))", + "answer": "select min(number_of_seasons_in_top_division) from table_11250_4" + }, + { + "question": "What's the center of the Artsakh province?", + "context": "create table table_23887174_1 (center varchar, province__ashkharh_ varchar, PRIMARY KEY (center))", + "answer": "select center from table_23887174_1 where province__ashkharh_ = \"artsakh\"" + }, + { + "question": "Which team was in a game with a record of 15-63?", + "context": "create table table_13619053_9 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_13619053_9 where record = \"15-63\"" + }, + { + "question": "Show the distinct leader names of colleges associated with members from country \"Canada\".", + "context": "create table college (leader_name varchar, college_id varchar, PRIMARY KEY (leader_name)); create table member (college_id varchar, country varchar, PRIMARY KEY (college_id))", + "answer": "select distinct t1.leader_name from college as t1 join member as t2 on t1.college_id = t2.college_id where t2.country = \"canada\"" + }, + { + "question": "Name the manner of departure for date of vacancy 25 august 2008", + "context": "create table table_18522916_5 (manner_of_departure varchar, date_of_vacancy varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_18522916_5 where date_of_vacancy = \"25 august 2008\"" + }, + { + "question": "What was the 08-09 i/o best of the player with 1386 points?", + "context": "create table table_24990183_5 (ws_points varchar, PRIMARY KEY (ws_points))", + "answer": "select 08 as _09_i_o_best from table_24990183_5 where ws_points = 1386" + }, + { + "question": "Name the total number of televote points for cry on my shoulders", + "context": "create table table_21378339_5 (televote_points varchar, song varchar, PRIMARY KEY (televote_points))", + "answer": "select count(televote_points) from table_21378339_5 where song = \"cry on my shoulders\"" + }, + { + "question": "Name the julys", + "context": "create table table_1539201_1 (july varchar, PRIMARY KEY (july))", + "answer": "select july from table_1539201_1" + }, + { + "question": "What is employee Nancy Edwards's phone number?", + "context": "create table employees (phone varchar, first_name varchar, last_name varchar, PRIMARY KEY (phone))", + "answer": "select phone from employees where first_name = \"nancy\" and last_name = \"edwards\"" + }, + { + "question": "What college did the Toronto Argonauts draft pick come from?", + "context": "create table table_25085059_1 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_25085059_1 where cfl_team = \"toronto argonauts\"" + }, + { + "question": "What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?", + "context": "create table table_2267345_2 (team_classification varchar, young_rider_classification varchar, combativity_award varchar, PRIMARY KEY (team_classification))", + "answer": "select count(team_classification) from table_2267345_2 where young_rider_classification = \"salvatore commesso\" and combativity_award = \"jacky durand\"" + }, + { + "question": "which episode was Transmitted on friday if the episode of \"515 the adventures of tintin\" was transmitted on monday?", + "context": "create table table_18173916_8 (friday varchar, monday varchar, PRIMARY KEY (friday))", + "answer": "select friday from table_18173916_8 where monday = \"515 the adventures of tintin\"" + }, + { + "question": "What type of local government area is Yalata?", + "context": "create table table_23685890_2 (type varchar, local_government_area varchar, PRIMARY KEY (type))", + "answer": "select type from table_23685890_2 where local_government_area = \"yalata\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0opponent\u00a0being deborah pryce (r) 70.7% bill buckel (d) 29.1%", + "context": "create table table_1341522_38 (party varchar, opponent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341522_38 where opponent = \"deborah pryce (r) 70.7% bill buckel (d) 29.1%\"" + }, + { + "question": "How many times is the settlement karlov\u010di\u0107?", + "context": "create table table_2562572_52 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select count(dominant_religion__2002_) from table_2562572_52 where settlement = \"karlov\u010di\u0107\"" + }, + { + "question": "What is the maximum fc matches at the racecourse?", + "context": "create table table_1176371_1 (fc_matches integer, name_of_ground varchar, PRIMARY KEY (fc_matches))", + "answer": "select max(fc_matches) from table_1176371_1 where name_of_ground = \"the racecourse\"" + }, + { + "question": "What is the departure for Peterborough East whose arrival time is 12.40?", + "context": "create table table_18332845_2 (departure varchar, going_to varchar, arrival varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18332845_2 where going_to = \"peterborough east\" and arrival = \"12.40\"" + }, + { + "question": "Name the k. r. narayanan values for pondicherry", + "context": "create table table_22897453_1 (kr_narayanan__values_ varchar, states varchar, PRIMARY KEY (kr_narayanan__values_))", + "answer": "select kr_narayanan__values_ from table_22897453_1 where states = \"pondicherry\"" + }, + { + "question": "How many different chromosomal locations are there in the family il-1f8?", + "context": "create table table_29871617_1 (chromosomal_location varchar, family_name varchar, PRIMARY KEY (chromosomal_location))", + "answer": "select count(chromosomal_location) from table_29871617_1 where family_name = \"il-1f8\"" + }, + { + "question": "How many writers are listed when the U.S viewers are 11.21 million?", + "context": "create table table_24910733_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_24910733_1 where us_viewers__millions_ = \"11.21\"" + }, + { + "question": "what's the\u00a0date of birth\u00a0with\u00a0end of term\u00a0being 5july1978", + "context": "create table table_12134383_1 (date_of_birth varchar, end_of_term varchar, PRIMARY KEY (date_of_birth))", + "answer": "select date_of_birth from table_12134383_1 where end_of_term = \"5july1978\"" + }, + { + "question": "what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?", + "context": "create table table_14209455_1 (fri_30_may varchar, mon_26_may varchar, PRIMARY KEY (fri_30_may))", + "answer": "select fri_30_may from table_14209455_1 where mon_26_may = \"19' 02.890 118.847mph\"" + }, + { + "question": "How many new entries started in the round where winners from the previous round is 16?", + "context": "create table table_18328569_1 (new_entries_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (new_entries_this_round))", + "answer": "select new_entries_this_round from table_18328569_1 where winners_from_previous_round = \"16\"" + }, + { + "question": "What is the hight of the player who's tenure lasted from 1969-70?", + "context": "create table table_11734041_17 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_17 where years_for_rockets = \"1969-70\"" + }, + { + "question": "what is the party when the incumbent is sidney r. yates?", + "context": "create table table_1341718_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341718_14 where incumbent = \"sidney r. yates\"" + }, + { + "question": "Name the number of english gloss for wak\u021f\u00e1\u014bye\u017ea", + "context": "create table table_1499774_5 (english_gloss varchar, northern_lakota varchar, PRIMARY KEY (english_gloss))", + "answer": "select count(english_gloss) from table_1499774_5 where northern_lakota = \"wak\u021f\u00e1\u014bye\u017ea\"" + }, + { + "question": "What week was stefan edberg anders j\u00e4rryd was semifinalist and champion is john mcenroe 7\u20136, 6\u20133?", + "context": "create table table_21584646_10 (week_of varchar, semifinalists varchar, champion varchar, PRIMARY KEY (week_of))", + "answer": "select week_of from table_21584646_10 where semifinalists = \"stefan edberg anders j\u00e4rryd\" and champion = \"john mcenroe 7\u20136, 6\u20133\"" + }, + { + "question": "Name the written by for 16.32 million viewers", + "context": "create table table_14845640_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_14845640_1 where us_viewers__millions_ = \"16.32\"" + }, + { + "question": "What's the English name of the month abbreviated as \u0e21\u0e34.\u0e22.?", + "context": "create table table_180802_2 (english_name varchar, abbr varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_180802_2 where abbr = \"\u0e21\u0e34.\u0e22.\"" + }, + { + "question": "When did Jeremy Kagan's episode first air?", + "context": "create table table_23279434_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23279434_1 where directed_by = \"jeremy kagan\"" + }, + { + "question": "When gray wolves is the team nickname how many institutions are there?", + "context": "create table table_28211213_2 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_28211213_2 where team_nickname = \"gray wolves\"" + }, + { + "question": "name the title of the episode that ed sherin directed.", + "context": "create table table_2618142_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2618142_1 where directed_by = \"ed sherin\"" + }, + { + "question": "which pilot is in charge of the most number of flights?", + "context": "create table flight (pilot varchar, PRIMARY KEY (pilot))", + "answer": "select pilot from flight group by pilot order by count(*) desc limit 1" + }, + { + "question": "Name the number of package options for music box italia", + "context": "create table table_15887683_10 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))", + "answer": "select count(package_option) from table_15887683_10 where television_service = \"music box italia\"" + }, + { + "question": "Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.", + "context": "create table course_arrange (course_id varchar, teacher_id varchar, PRIMARY KEY (course_id)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table course (course varchar, course_id varchar, PRIMARY KEY (course))", + "answer": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id order by t3.name" + }, + { + "question": "What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?", + "context": "create table table_18958648_1 (overweight__incl_obese__adults varchar, obese_children_and_adolescents varchar, PRIMARY KEY (overweight__incl_obese__adults))", + "answer": "select overweight__incl_obese__adults from table_18958648_1 where obese_children_and_adolescents = \"12.4%\"" + }, + { + "question": "how many countiers had 2009 remittances of 6.02?", + "context": "create table table_2941963_1 (country varchar, remittances_2009 varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_2941963_1 where remittances_2009 = \"6.02\"" + }, + { + "question": "How many roles include George Broderick in the casino 1888 theater?", + "context": "create table table_148386_2 (role varchar, casino_theatre_1888 varchar, PRIMARY KEY (role))", + "answer": "select role from table_148386_2 where casino_theatre_1888 = \"george broderick\"" + }, + { + "question": "What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?", + "context": "create table table_20032301_3 (tom_horner__i_ varchar, matt_entenza__dfl_ varchar, PRIMARY KEY (tom_horner__i_))", + "answer": "select tom_horner__i_ from table_20032301_3 where matt_entenza__dfl_ = \"31%\"" + }, + { + "question": "under which president was gunther volz executed?", + "context": "create table table_2861364_1 (under_president varchar, executed_person varchar, PRIMARY KEY (under_president))", + "answer": "select under_president from table_2861364_1 where executed_person = \"gunther volz\"" + }, + { + "question": "Who wrote the episode with 3.92 million US viewers?", + "context": "create table table_25740548_3 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_25740548_3 where us_viewers__million_ = \"3.92\"" + }, + { + "question": "What's the clock speed of the model that costs $910?", + "context": "create table table_12740151_8 (clock_speed varchar, price___usd__ varchar, PRIMARY KEY (clock_speed))", + "answer": "select clock_speed from table_12740151_8 where price___usd__ = \"$910\"" + }, + { + "question": "What is the pr avg, when kr lg is 49?", + "context": "create table table_16912000_13 (pr_avg varchar, kr_lg varchar, PRIMARY KEY (pr_avg))", + "answer": "select pr_avg from table_16912000_13 where kr_lg = 49" + }, + { + "question": "How many sets of marks does Tonioli get in week 3?", + "context": "create table table_18595004_7 (tonioli varchar, week__number varchar, PRIMARY KEY (tonioli))", + "answer": "select count(tonioli) from table_18595004_7 where week__number = 3" + }, + { + "question": "What is the total number of fate for pennant of u33?", + "context": "create table table_1220125_4 (fate varchar, pennant varchar, PRIMARY KEY (fate))", + "answer": "select count(fate) from table_1220125_4 where pennant = \"u33\"" + }, + { + "question": "Who was the vacator when the reason for change was failure to elect?", + "context": "create table table_225206_3 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225206_3 where reason_for_change = \"failure to elect\"" + }, + { + "question": "Name the high rebounds for record 10-19", + "context": "create table table_23274514_5 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23274514_5 where record = \"10-19\"" + }, + { + "question": "What is the lowest production number?", + "context": "create table table_1439096_1 (production_no integer, PRIMARY KEY (production_no))", + "answer": "select min(production_no) from table_1439096_1" + }, + { + "question": "List the full amount of week 36 results when week 32 is 13.2%.", + "context": "create table table_23680576_3 (week_36 varchar, week_32 varchar, PRIMARY KEY (week_36))", + "answer": "select count(week_36) from table_23680576_3 where week_32 = \"13.2%\"" + }, + { + "question": "Name the number of opponent with arrowhead stadium", + "context": "create table table_13258823_2 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_13258823_2 where game_site = \"arrowhead stadium\"" + }, + { + "question": "What are the details of all products?", + "context": "create table products (product_details varchar, PRIMARY KEY (product_details))", + "answer": "select distinct product_details from products" + }, + { + "question": "Who was the losing team of the game that was contested on February 1, 2004?", + "context": "create table table_10548224_1 (losing_team varchar, date_contested varchar, PRIMARY KEY (losing_team))", + "answer": "select losing_team from table_10548224_1 where date_contested = \"february 1, 2004\"" + }, + { + "question": "Find the number of routes and airport name for each source airport, order the results by decreasing number of routes.", + "context": "create table airports (name varchar, apid varchar, PRIMARY KEY (name)); create table routes (src_apid varchar, PRIMARY KEY (src_apid))", + "answer": "select count(*), t1.name from airports as t1 join routes as t2 on t1.apid = t2.src_apid group by t1.name order by count(*) desc" + }, + { + "question": "When 6606 is the sail number what is the type of yacht?", + "context": "create table table_1858574_2 (yacht varchar, sail_number varchar, PRIMARY KEY (yacht))", + "answer": "select yacht as type from table_1858574_2 where sail_number = \"6606\"" + }, + { + "question": "Find the name of the club that has the most female students.", + "context": "create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname))", + "answer": "select t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.sex = \"f\" group by t1.clubname order by count(*) desc limit 1" + }, + { + "question": "How many people directed the episode that aired on February 5, 1968?", + "context": "create table table_25800134_12 (director varchar, airdate varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_25800134_12 where airdate = \"february 5, 1968\"" + }, + { + "question": "What country's capital is buenos aires?", + "context": "create table table_14098_1 (country_or_territory_with_flag varchar, capital varchar, PRIMARY KEY (country_or_territory_with_flag))", + "answer": "select country_or_territory_with_flag from table_14098_1 where capital = \"buenos aires\"" + }, + { + "question": "Show the invoice number and the number of transactions for each invoice.", + "context": "create table financial_transactions (invoice_number varchar, PRIMARY KEY (invoice_number))", + "answer": "select invoice_number, count(*) from financial_transactions group by invoice_number" + }, + { + "question": "What is Matt Allen's sail number?", + "context": "create table table_25595209_1 (sail_number varchar, skipper varchar, PRIMARY KEY (sail_number))", + "answer": "select sail_number from table_25595209_1 where skipper = \"matt allen\"" + }, + { + "question": "How many patients do each physician take care of? List their names and number of patients they take care of.", + "context": "create table patient (pcp varchar, PRIMARY KEY (pcp)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from physician as t1 join patient as t2 on t1.employeeid = t2.pcp group by t1.employeeid" + }, + { + "question": "What is the number of English names that have a Traditional Chinese name of \u5168\u6912\u7e23?", + "context": "create table table_1982739_2 (english_name varchar, traditional_chinese varchar, PRIMARY KEY (english_name))", + "answer": "select count(english_name) from table_1982739_2 where traditional_chinese = \"\u5168\u6912\u7e23\"" + }, + { + "question": "What are the package/options when the TV service is rai 3?", + "context": "create table table_15887683_1 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_1 where television_service = \"rai 3\"" + }, + { + "question": "Find the product names that are colored 'white' but do not have unit of measurement \"Handful\".", + "context": "create table products (product_name varchar, product_category_code varchar, color_code varchar, PRIMARY KEY (product_name)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table ref_product_categories (product_category_code varchar, unit_of_measure varchar, PRIMARY KEY (product_category_code))", + "answer": "select t1.product_name from products as t1 join ref_product_categories as t2 on t1.product_category_code = t2.product_category_code join ref_colors as t3 on t1.color_code = t3.color_code where t3.color_description = \"white\" and t2.unit_of_measure <> \"handful\"" + }, + { + "question": "Which institution was located in bakersfield, california?", + "context": "create table table_27816698_2 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_27816698_2 where location = \"bakersfield, california\"" + }, + { + "question": "What was the science score in the year there was a social studies score of 93.56?", + "context": "create table table_2534578_1 (science varchar, social_studies varchar, PRIMARY KEY (science))", + "answer": "select science from table_2534578_1 where social_studies = \"93.56\"" + }, + { + "question": "Find the number of funiture types produced by each manufacturer as well as the company names.", + "context": "create table furniture_manufacte (manufacturer_id varchar, PRIMARY KEY (manufacturer_id)); create table manufacturer (name varchar, manufacturer_id varchar, PRIMARY KEY (name))", + "answer": "select count(*), t1.name from manufacturer as t1 join furniture_manufacte as t2 on t1.manufacturer_id = t2.manufacturer_id group by t1.manufacturer_id" + }, + { + "question": "How many different last names do the actors and actresses have?", + "context": "create table actor (last_name varchar, PRIMARY KEY (last_name))", + "answer": "select count(distinct last_name) from actor" + }, + { + "question": "How many parties are there?", + "context": "create table party (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from party" + }, + { + "question": "how many remittances in 2010 for nigeria?", + "context": "create table table_2941963_1 (remittances_2010 varchar, country varchar, PRIMARY KEY (remittances_2010))", + "answer": "select remittances_2010 from table_2941963_1 where country = \"nigeria\"" + }, + { + "question": "What is the name of the marketing region that the store Rob Dinning belongs to?", + "context": "create table marketing_regions (marketing_region_name varchar, marketing_region_code varchar, PRIMARY KEY (marketing_region_name)); create table stores (marketing_region_code varchar, store_name varchar, PRIMARY KEY (marketing_region_code))", + "answer": "select t1.marketing_region_name from marketing_regions as t1 join stores as t2 on t1.marketing_region_code = t2.marketing_region_code where t2.store_name = \"rob dinning\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0candidates\u00a0 jerry weller (r) 51.77% clem balanoff (d) 48.23%", + "context": "create table table_1341472_15 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341472_15 where candidates = \"jerry weller (r) 51.77% clem balanoff (d) 48.23%\"" + }, + { + "question": "Who was relegated to league if Barking Birmingham & Solihull Stourbridge were relegated from league?", + "context": "create table table_23927423_4 (relegated_to_league varchar, relegated_from_league varchar, PRIMARY KEY (relegated_to_league))", + "answer": "select relegated_to_league from table_23927423_4 where relegated_from_league = \"barking birmingham & solihull stourbridge\"" + }, + { + "question": "What is the status of the district where the result is 63% 37%?", + "context": "create table table_16185956_1 (status varchar, results varchar, PRIMARY KEY (status))", + "answer": "select status from table_16185956_1 where results = \"63% 37%\"" + }, + { + "question": "Which conference is in Jackson, Mississippi?", + "context": "create table table_10577579_3 (current_conference varchar, location varchar, PRIMARY KEY (current_conference))", + "answer": "select current_conference from table_10577579_3 where location = \"jackson, mississippi\"" + }, + { + "question": "What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade?", + "context": "create table table_12283621_6 (serbian_league_east varchar, serbian_league_belgrade varchar, PRIMARY KEY (serbian_league_east))", + "answer": "select serbian_league_east from table_12283621_6 where serbian_league_belgrade = \"kolubara\"" + }, + { + "question": "Who were the director/s of episodes written by Mike Daniels?", + "context": "create table table_18274425_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18274425_1 where written_by = \"mike daniels\"" + }, + { + "question": "who won mixed doubles when zhou mi won womens singles", + "context": "create table table_20361783_1 (mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_20361783_1 where womens_singles = \"zhou mi\"" + }, + { + "question": "Name the number of gn divisions for mannar", + "context": "create table table_24574438_1 (gn_divisions varchar, ds_division varchar, PRIMARY KEY (gn_divisions))", + "answer": "select count(gn_divisions) from table_24574438_1 where ds_division = \"mannar\"" + }, + { + "question": "How many different countries are all the swimmers from?", + "context": "create table swimmer (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select count(distinct nationality) from swimmer" + }, + { + "question": "Where is the University that plays in the American Athletic Conference?", + "context": "create table table_19210115_1 (location varchar, conference varchar, PRIMARY KEY (location))", + "answer": "select location from table_19210115_1 where conference = \"american athletic conference\"" + }, + { + "question": "Which industry has a company with a market value of 80.3 billion?", + "context": "create table table_1682026_6 (industry varchar, market_value__billion_$_ varchar, PRIMARY KEY (industry))", + "answer": "select industry from table_1682026_6 where market_value__billion_$_ = \"80.3\"" + }, + { + "question": "What was the final score of the game with gerald wallace (14) as the High Rebound?", + "context": "create table table_17001658_10 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_17001658_10 where high_rebounds = \"gerald wallace (14)\"" + }, + { + "question": "What team is sponsored by d3 Outdoors?", + "context": "create table table_19908313_2 (team varchar, primary_sponsor_s_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_19908313_2 where primary_sponsor_s_ = \"d3 outdoors\"" + }, + { + "question": "Who is the constructor for the car driven by George Heath?", + "context": "create table table_18893428_1 (constructor varchar, driver varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_18893428_1 where driver = \"george heath\"" + }, + { + "question": "What is the longest length of mandatory secondary school?", + "context": "create table table_1831309_1 (length_of_mandatory_secondary_school integer, PRIMARY KEY (length_of_mandatory_secondary_school))", + "answer": "select max(length_of_mandatory_secondary_school) from table_1831309_1" + }, + { + "question": "Who are all the players who've bowled more than 4969 balls?", + "context": "create table table_2482547_5 (name varchar, balls_bowled varchar, PRIMARY KEY (name))", + "answer": "select name from table_2482547_5 where balls_bowled = 4969" + }, + { + "question": "What was eliminated on the air date of November 3, 2005?", + "context": "create table table_1893276_2 (eliminated varchar, air_date varchar, PRIMARY KEY (eliminated))", + "answer": "select eliminated from table_1893276_2 where air_date = \"november 3, 2005\"" + }, + { + "question": "What's the type of the school in New London, Connecticut?", + "context": "create table table_1974782_1 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select type from table_1974782_1 where location = \"new london, connecticut\"" + }, + { + "question": "when the writer is Brad Kern, how many u.s viewers (in millions) had the episode?", + "context": "create table table_21313327_1 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_21313327_1 where written_by = \"brad kern\"" + }, + { + "question": "Name the segment b for pressure cookers", + "context": "create table table_15187735_13 (segment_b varchar, segment_a varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_13 where segment_a = \"pressure cookers\"" + }, + { + "question": "Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle.", + "context": "create table student (stuid varchar, city_code varchar, PRIMARY KEY (stuid)); create table voting_record (election_cycle varchar, PRIMARY KEY (election_cycle))", + "answer": "select count(*) from student as t1 join voting_record as t2 on t1.stuid = class_senator_vote where t1.city_code = \"nyc\" and t2.election_cycle = \"spring\"" + }, + { + "question": "Who wrote the episode having a US viewership of 3.74 million?", + "context": "create table table_27905664_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27905664_1 where us_viewers__million_ = \"3.74\"" + }, + { + "question": "Who is listed under mens singles when the year location is 2009 doha?", + "context": "create table table_28138035_27 (mens_singles varchar, year_location varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_28138035_27 where year_location = \"2009 doha\"" + }, + { + "question": "Return the date of birth for all the guests with gender code \"Male\".", + "context": "create table guests (date_of_birth varchar, gender_code varchar, PRIMARY KEY (date_of_birth))", + "answer": "select date_of_birth from guests where gender_code = \"male\"" + }, + { + "question": "List all number of yards with an AST of 8.", + "context": "create table table_13237088_28 (no_yds varchar, ast varchar, PRIMARY KEY (no_yds))", + "answer": "select no_yds from table_13237088_28 where ast = 8" + }, + { + "question": "Who was the manufacturer in the year when the race lasted 2:30:28?", + "context": "create table table_2266976_1 (manufacturer varchar, race_time varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_2266976_1 where race_time = \"2:30:28\"" + }, + { + "question": "Which muzzle devices are on the Colt 603?", + "context": "create table table_19901_1 (muzzle_device varchar, colt_model_no varchar, PRIMARY KEY (muzzle_device))", + "answer": "select muzzle_device from table_19901_1 where colt_model_no = \"603\"" + }, + { + "question": "What are all the states (class) when the reason for change was resigned November 26, 1798 and the vacator was John Hunter ( DR )?", + "context": "create table table_224839_3 (state__class_ varchar, reason_for_change varchar, vacator varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_224839_3 where reason_for_change = \"resigned november 26, 1798\" and vacator = \"john hunter ( dr )\"" + }, + { + "question": "What is the total grant amount of the organisations described as research?", + "context": "create table organisation_types (organisation_type varchar, organisation_type_description varchar, PRIMARY KEY (organisation_type)); create table grants (organisation_id varchar, PRIMARY KEY (organisation_id)); create table organisations (organisation_id varchar, organisation_type varchar, PRIMARY KEY (organisation_id))", + "answer": "select sum(grant_amount) from grants as t1 join organisations as t2 on t1.organisation_id = t2.organisation_id join organisation_types as t3 on t2.organisation_type = t3.organisation_type where t3.organisation_type_description = 'research'" + }, + { + "question": "What candidate(s) ran for election when nathaniel h. claiborne was the incumbent?", + "context": "create table table_2668243_25 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668243_25 where incumbent = \"nathaniel h. claiborne\"" + }, + { + "question": "What is the outgoing manager for the team kas\u0131mpa\u015fa?", + "context": "create table table_26998135_2 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_26998135_2 where team = \"kas\u0131mpa\u015fa\"" + }, + { + "question": "Name the total number of rank timeslot for 18-49 being 3.1", + "context": "create table table_20971444_3 (rank__timeslot_ varchar, rating__18_49_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select count(rank__timeslot_) from table_20971444_3 where rating__18_49_ = \"3.1\"" + }, + { + "question": "Which award-winning film has a closing date of September 4?", + "context": "create table table_18220102_1 (award_winning_film varchar, date__closing_ varchar, PRIMARY KEY (award_winning_film))", + "answer": "select award_winning_film from table_18220102_1 where date__closing_ = \"september 4\"" + }, + { + "question": "what's the\u00a0percentage of votes\u00a0with\u00a0number of deputies\u00a0being 112", + "context": "create table table_13746866_2 (percentage_of_votes varchar, number_of_deputies varchar, PRIMARY KEY (percentage_of_votes))", + "answer": "select percentage_of_votes from table_13746866_2 where number_of_deputies = 112" + }, + { + "question": "How many people lived in the district whose headquarters is in Bhubaneswar in 2001?", + "context": "create table table_2801442_1 (population__2001_census_ varchar, headquarters varchar, PRIMARY KEY (population__2001_census_))", + "answer": "select population__2001_census_ from table_2801442_1 where headquarters = \"bhubaneswar\"" + }, + { + "question": "What is the number of professors for different school?", + "context": "create table department (school_code varchar, dept_code varchar, PRIMARY KEY (school_code)); create table professor (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*), t1.school_code from department as t1 join professor as t2 on t1.dept_code = t2.dept_code group by t1.school_code" + }, + { + "question": "What is the national share of Guizhou's administrative division?", + "context": "create table table_171666_1 (national_share___percentage_ varchar, administrative_division varchar, PRIMARY KEY (national_share___percentage_))", + "answer": "select national_share___percentage_ from table_171666_1 where administrative_division = \"guizhou\"" + }, + { + "question": "When was the operation in Field 103 executed?", + "context": "create table table_13150274_1 (years_of_operation varchar, area_of_operation varchar, PRIMARY KEY (years_of_operation))", + "answer": "select years_of_operation from table_13150274_1 where area_of_operation = \"field 103\"" + }, + { + "question": "Who is the conductor for Rusalka?", + "context": "create table table_24521345_1 (conductor varchar, work_title varchar, PRIMARY KEY (conductor))", + "answer": "select conductor from table_24521345_1 where work_title = \"rusalka\"" + }, + { + "question": "Name the year for spiele leben", + "context": "create table table_16255245_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_16255245_1 where original_title = \"spiele leben\"" + }, + { + "question": "how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith", + "context": "create table table_26259391_1 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select count(us_viewers__million_) from table_26259391_1 where written_by = \"chris sheridan & danny smith\"" + }, + { + "question": "What is the race name in the Monza circuit?", + "context": "create table table_1140116_5 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_1140116_5 where circuit = \"monza\"" + }, + { + "question": "How many position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?", + "context": "create table table_22170495_6 (position_in_channel_4s_ratings_a varchar, original_airing_on_channel_4 varchar, PRIMARY KEY (position_in_channel_4s_ratings_a))", + "answer": "select count(position_in_channel_4s_ratings_a) from table_22170495_6 where original_airing_on_channel_4 = \"february 24, 2010\"" + }, + { + "question": "How many departments offer any degree?", + "context": "create table degree_programs (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select count(distinct department_id) from degree_programs" + }, + { + "question": "List names of all teams in the basketball competition, ordered by all home scores in descending order.", + "context": "create table basketball_match (team_name varchar, all_home varchar, PRIMARY KEY (team_name))", + "answer": "select team_name from basketball_match order by all_home desc" + }, + { + "question": "What was the dominant religion (2002) of the Mala Remeta settlement?", + "context": "create table table_2562572_50 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_50 where settlement = \"mala remeta\"" + }, + { + "question": "When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event?", + "context": "create table table_18602462_21 (event varchar, final__bronze_medal_match varchar, PRIMARY KEY (event))", + "answer": "select event from table_18602462_21 where final__bronze_medal_match = \"scheffers ( ned ) l 3-6, 1-6\"" + }, + { + "question": "HOW MANY TIMES WAS LUDACRIS THE INTERVIEW SUBJECT FOR THE 20 QUESTIONS COLUMN?", + "context": "create table table_1566852_7 (interview_subject varchar, PRIMARY KEY (interview_subject))", + "answer": "select count(20 as _questions) from table_1566852_7 where interview_subject = \"ludacris\"" + }, + { + "question": "How many contestants are 1.80 mtr. in height?", + "context": "create table table_27946889_2 (contestant varchar, height__mtr_ varchar, PRIMARY KEY (contestant))", + "answer": "select count(contestant) from table_27946889_2 where height__mtr_ = \"1.80\"" + }, + { + "question": "what is the name of the constructor that has the circuit zeltweg airfield?", + "context": "create table table_1140105_6 (constructor varchar, circuit varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140105_6 where circuit = \"zeltweg airfield\"" + }, + { + "question": "What parishes are in Solvorn?", + "context": "create table table_178398_1 (parish__prestegjeld_ varchar, location_of_the_church varchar, PRIMARY KEY (parish__prestegjeld_))", + "answer": "select parish__prestegjeld_ from table_178398_1 where location_of_the_church = \"solvorn\"" + }, + { + "question": "Show the starting years shared by technicians from team \"CLE\" and \"CWS\".", + "context": "create table technician (starting_year varchar, team varchar, PRIMARY KEY (starting_year))", + "answer": "select starting_year from technician where team = \"cle\" intersect select starting_year from technician where team = \"cws\"" + }, + { + "question": "what's the\u00a0wednesday time\u00a0with\u00a0monday\u00a0being 10:00-8:00", + "context": "create table table_11019212_1 (wednesday varchar, monday varchar, PRIMARY KEY (wednesday))", + "answer": "select wednesday from table_11019212_1 where monday = \"10:00-8:00\"" + }, + { + "question": "What is the christian amount where work participation rate is the composition?", + "context": "create table table_14598_5 (christians varchar, composition varchar, PRIMARY KEY (christians))", + "answer": "select christians from table_14598_5 where composition = \"work participation rate\"" + }, + { + "question": "what's the\u00a0health\u00a0score with\u00a0justice\u00a0being 80.7", + "context": "create table table_145439_1 (health varchar, justice varchar, PRIMARY KEY (health))", + "answer": "select health from table_145439_1 where justice = \"80.7\"" + }, + { + "question": "What seat does Gubernia Warszawska hold?", + "context": "create table table_11614581_3 (seat varchar, name_in_polish varchar, PRIMARY KEY (seat))", + "answer": "select seat from table_11614581_3 where name_in_polish = \"gubernia warszawska\"" + }, + { + "question": "what's the minimum 180s value", + "context": "create table table_13535824_2 (id varchar, PRIMARY KEY (id))", + "answer": "select min(180 as s) from table_13535824_2" + }, + { + "question": "What was the result of the games VS the Lions?", + "context": "create table table_24123547_2 (final_score varchar, opponent varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_24123547_2 where opponent = \"lions\"" + }, + { + "question": "Who is the operator when willowbrook was the bodybuilder?", + "context": "create table table_28035004_1 (operator varchar, bodybuilder varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_28035004_1 where bodybuilder = \"willowbrook\"" + }, + { + "question": "What is the winning song for the artist with a debut album \"mike\"?", + "context": "create table table_1646960_3 (winning_song varchar, debut_album varchar, PRIMARY KEY (winning_song))", + "answer": "select winning_song from table_1646960_3 where debut_album = \"mike\"" + }, + { + "question": "How many assists were made in the game against San Antonio?", + "context": "create table table_17325937_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_17325937_8 where team = \"san antonio\"" + }, + { + "question": "How many players scored the most points when the opposing team was New Orleans/Oklahoma City?", + "context": "create table table_13762472_3 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_13762472_3 where team = \"new orleans/oklahoma city\"" + }, + { + "question": "What is the perfect stem for pozten?", + "context": "create table table_12784134_24 (perfect_stem varchar, imperfect_stem varchar, PRIMARY KEY (perfect_stem))", + "answer": "select perfect_stem from table_12784134_24 where imperfect_stem = \"pozten\"" + }, + { + "question": "Please show the team that has the most number of technicians.", + "context": "create table technician (team varchar, PRIMARY KEY (team))", + "answer": "select team from technician group by team order by count(*) desc limit 1" + }, + { + "question": "Find the number of rooms for each bed type.", + "context": "create table rooms (bedtype varchar, PRIMARY KEY (bedtype))", + "answer": "select bedtype, count(*) from rooms group by bedtype" + }, + { + "question": "Name the population % of eu for greece", + "context": "create table table_1606824_1 (population__percentage_of_eu varchar, member_state varchar, PRIMARY KEY (population__percentage_of_eu))", + "answer": "select population__percentage_of_eu from table_1606824_1 where member_state = \"greece\"" + }, + { + "question": "Find the category descriptions of the products whose descriptions include letter 't'.", + "context": "create table ref_product_categories (product_category_description varchar, product_category_code varchar, PRIMARY KEY (product_category_description)); create table products (product_category_code varchar, product_description varchar, PRIMARY KEY (product_category_code))", + "answer": "select t1.product_category_description from ref_product_categories as t1 join products as t2 on t1.product_category_code = t2.product_category_code where t2.product_description like '%t%'" + }, + { + "question": "Find the names of schools that have some students playing in goalie and mid positions.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname))", + "answer": "select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid'" + }, + { + "question": "Who wrote the episodes that were viewed by 2.12 million viewers?", + "context": "create table table_11111116_8 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_11111116_8 where us_viewers__million_ = \"2.12\"" + }, + { + "question": "How many type of jobs do they have?", + "context": "create table person (job varchar, PRIMARY KEY (job))", + "answer": "select count(distinct job) from person" + }, + { + "question": "Find the name of rooms booked by some customers whose first name contains ROY.", + "context": "create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname))", + "answer": "select t2.roomname from reservations as t1 join rooms as t2 on t1.room = t2.roomid where firstname like '%roy%'" + }, + { + "question": "For period September 2009, what is the other Mozilla total number?", + "context": "create table table_1876262_10 (other_mozilla varchar, period varchar, PRIMARY KEY (other_mozilla))", + "answer": "select count(other_mozilla) from table_1876262_10 where period = \"september 2009\"" + }, + { + "question": "Find all the policy types that are used by more than 2 customers.", + "context": "create table policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code from policies group by policy_type_code having count(*) > 2" + }, + { + "question": "When 20' 58.50 107.929mph is Friday August 27th What is Tuesday 24th August?", + "context": "create table table_26986076_5 (tues_24_aug varchar, fri_27_aug varchar, PRIMARY KEY (tues_24_aug))", + "answer": "select tues_24_aug from table_26986076_5 where fri_27_aug = \"20' 58.50 107.929mph\"" + }, + { + "question": "What is the place and when was the year when the women's doubles womens were Bai yang Niu Jianfeng?", + "context": "create table table_28138035_33 (year_location varchar, womens_doubles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_33 where womens_doubles = \"bai yang niu jianfeng\"" + }, + { + "question": "What are the election date for elections held in the province of Albacete?", + "context": "create table table_26362472_1 (election_date varchar, province varchar, PRIMARY KEY (election_date))", + "answer": "select election_date from table_26362472_1 where province = \"albacete\"" + }, + { + "question": "What is the original air date of the episode that was directed by David Paymer?", + "context": "create table table_23399481_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23399481_2 where directed_by = \"david paymer\"" + }, + { + "question": "What was his average finish when his average start was 27.7?", + "context": "create table table_2169966_2 (avg_finish varchar, avg_start varchar, PRIMARY KEY (avg_finish))", + "answer": "select avg_finish from table_2169966_2 where avg_start = \"27.7\"" + }, + { + "question": "Who was awarded mountains classifications when Mikel Nieve was the winner?", + "context": "create table table_25551880_2 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_25551880_2 where winner = \"mikel nieve\"" + }, + { + "question": "What's the predecessor of the Ekavian word vreme?", + "context": "create table table_27730_9 (predecessor varchar, ekavian varchar, PRIMARY KEY (predecessor))", + "answer": "select predecessor from table_27730_9 where ekavian = \"vreme\"" + }, + { + "question": "In Ca/Nv, what are all of the regional page #s?", + "context": "create table table_287659_2 (regional_page__number varchar, state_name varchar, PRIMARY KEY (regional_page__number))", + "answer": "select regional_page__number from table_287659_2 where state_name = \"ca/nv\"" + }, + { + "question": "What market is KTFK-DT in?", + "context": "create table table_11147852_1 (city_of_license_market varchar, station varchar, PRIMARY KEY (city_of_license_market))", + "answer": "select city_of_license_market from table_11147852_1 where station = \"ktfk-dt\"" + }, + { + "question": "How many manners of departure did peter voets have?", + "context": "create table table_11713303_2 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select count(manner_of_departure) from table_11713303_2 where outgoing_manager = \"peter voets\"" + }, + { + "question": "List all directors along with the number of films directed by each director.", + "context": "create table film (directed_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by, count(*) from film group by directed_by" + }, + { + "question": "what's the\u00a0song title\u00a0with\u00a0artbeingt\u00a0being pat boone", + "context": "create table table_13805432_2 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_13805432_2 where artist = \"pat boone\"" + }, + { + "question": "Which papers have \"Stephanie Weirich\" as an author?", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid))", + "answer": "select t3.title from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = \"stephanie\" and t1.lname = \"weirich\"" + }, + { + "question": "What is the guardian m\u0101t\u1e5bk\u0101 for the guardian whose consort is Sv\u0101h\u0101?", + "context": "create table table_100518_1 (guardian_m\u0101t\u1e5bk\u0101 varchar, consort varchar, PRIMARY KEY (guardian_m\u0101t\u1e5bk\u0101))", + "answer": "select guardian_m\u0101t\u1e5bk\u0101 from table_100518_1 where consort = \"sv\u0101h\u0101\"" + }, + { + "question": "Show the detail of vehicle with id 1.", + "context": "create table vehicles (vehicle_details varchar, vehicle_id varchar, PRIMARY KEY (vehicle_details))", + "answer": "select vehicle_details from vehicles where vehicle_id = 1" + }, + { + "question": "What is the snowfall for ski resort Snowmass?", + "context": "create table table_25762852_1 (snowfall__in_year_ integer, name varchar, PRIMARY KEY (snowfall__in_year_))", + "answer": "select max(snowfall__in_year_) from table_25762852_1 where name = \"snowmass\"" + }, + { + "question": "Find the accreditation level that more than 3 phones use.", + "context": "create table phone (accreditation_level varchar, PRIMARY KEY (accreditation_level))", + "answer": "select accreditation_level from phone group by accreditation_level having count(*) > 3" + }, + { + "question": "What state had November 30, 1962 as the date of the successors formal installation?", + "context": "create table table_1802522_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_1802522_3 where date_of_successors_formal_installation = \"november 30, 1962\"" + }, + { + "question": "Name the most serial number for feb 1994", + "context": "create table table_29002641_1 (serial integer, scrapped varchar, PRIMARY KEY (serial))", + "answer": "select max(serial) as number from table_29002641_1 where scrapped = \"feb 1994\"" + }, + { + "question": "What is the fewest minutes played for the player with exactly 638 good passes?", + "context": "create table table_28461589_2 (mins_played integer, good_passes varchar, PRIMARY KEY (mins_played))", + "answer": "select min(mins_played) from table_28461589_2 where good_passes = 638" + }, + { + "question": "How many courses are there in total?", + "context": "create table course (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from course" + }, + { + "question": "Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name.", + "context": "create table film_actor (actor_id varchar, PRIMARY KEY (actor_id)); create table actor (first_name varchar, last_name varchar, actor_id varchar, PRIMARY KEY (first_name))", + "answer": "select t2.first_name, t2.last_name from film_actor as t1 join actor as t2 on t1.actor_id = t2.actor_id group by t2.actor_id having count(*) > 30" + }, + { + "question": "How many times did outgoing manager Bart de Roover vacated a position?", + "context": "create table table_27374004_4 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select count(date_of_vacancy) from table_27374004_4 where outgoing_manager = \"bart de roover\"" + }, + { + "question": "Which stadium is located in Adelaide, South Australia?", + "context": "create table table_28885977_1 (stadium varchar, location varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_28885977_1 where location = \"adelaide, south australia\"" + }, + { + "question": "How many people had the high rebound total when the team was 19-13?", + "context": "create table table_13762472_5 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_13762472_5 where record = \"19-13\"" + }, + { + "question": "Who are the away teams when subiaco oval was the grounds?", + "context": "create table table_16388506_1 (away_team varchar, ground varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_16388506_1 where ground = \"subiaco oval\"" + }, + { + "question": "What are the mhz when the profile is 8b?", + "context": "create table table_2394927_1 (bandwidth___mhz__ varchar, profile varchar, PRIMARY KEY (bandwidth___mhz__))", + "answer": "select bandwidth___mhz__ from table_2394927_1 where profile = \"8b\"" + }, + { + "question": "Find the names of the top 3 departments that provide the largest amount of courses?", + "context": "create table course (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select dept_name from course group by dept_name order by count(*) desc limit 3" + }, + { + "question": "Please show different software platforms and the corresponding number of devices using each.", + "context": "create table device (software_platform varchar, PRIMARY KEY (software_platform))", + "answer": "select software_platform, count(*) from device group by software_platform" + }, + { + "question": "How many documents have the status code done?", + "context": "create table documents (document_status_code varchar, PRIMARY KEY (document_status_code))", + "answer": "select count(*) from documents where document_status_code = \"done\"" + }, + { + "question": "What is the largest mass(kg)?", + "context": "create table table_1558077_2 (mass__kg_ integer, PRIMARY KEY (mass__kg_))", + "answer": "select max(mass__kg_) from table_1558077_2" + }, + { + "question": "Show the ids of all the faculty members who participate in an activity and advise a student.", + "context": "create table student (facid varchar, advisor varchar, PRIMARY KEY (facid)); create table faculty_participates_in (facid varchar, advisor varchar, PRIMARY KEY (facid))", + "answer": "select facid from faculty_participates_in intersect select advisor from student" + }, + { + "question": "If the rings is 58.975, what is the number for the horizontal bar?", + "context": "create table table_18662026_1 (horizontal_bar varchar, rings varchar, PRIMARY KEY (horizontal_bar))", + "answer": "select horizontal_bar from table_18662026_1 where rings = \"58.975\"" + }, + { + "question": "What are the nationalities of players who attended duke?", + "context": "create table table_16494599_10 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select count(nationality) from table_16494599_10 where school_club_team = \"duke\"" + }, + { + "question": "What was the number of channels in New Zealand?", + "context": "create table table_11323532_2 (channel varchar, country_region varchar, PRIMARY KEY (channel))", + "answer": "select count(channel) from table_11323532_2 where country_region = \"new zealand\"" + }, + { + "question": "Find the number of customers in total.", + "context": "create table customers (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from customers" + }, + { + "question": "How much did Kenny Brack win?", + "context": "create table table_25146455_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))", + "answer": "select winnings from table_25146455_1 where driver = \"kenny brack\"" + }, + { + "question": "When sigma (with 1.5\u03c3 shift) is 2.5, what percent is defective?", + "context": "create table table_222448_1 (percent_defective varchar, sigma__with_15\u03c3_shift_ varchar, PRIMARY KEY (percent_defective))", + "answer": "select percent_defective from table_222448_1 where sigma__with_15\u03c3_shift_ = \"2.5\"" + }, + { + "question": "The episode with the original airdate December22,1996 has what title?", + "context": "create table table_26866233_1 (title varchar, original_airdate varchar, PRIMARY KEY (title))", + "answer": "select title from table_26866233_1 where original_airdate = \"december22,1996\"" + }, + { + "question": "what's the\u00a0individual winners\u00a0with\u00a0nation\u00a0being australia", + "context": "create table table_1458666_4 (individual_winners varchar, nation varchar, PRIMARY KEY (individual_winners))", + "answer": "select individual_winners from table_1458666_4 where nation = \"australia\"" + }, + { + "question": "List all the international lacrosse league competitions for Toronto Rock.", + "context": "create table table_18042409_1 (international_competition varchar, national_lacrosse_league varchar, PRIMARY KEY (international_competition))", + "answer": "select international_competition from table_18042409_1 where national_lacrosse_league = \"toronto rock\"" + }, + { + "question": "Who is the quarter back for a winning pct of .792", + "context": "create table table_14389782_2 (quarterback varchar, winning_pct varchar, PRIMARY KEY (quarterback))", + "answer": "select quarterback from table_14389782_2 where winning_pct = \".792\"" + }, + { + "question": "What was the W-L record when HIgh Points was andre miller (30)?", + "context": "create table table_17323042_11 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_17323042_11 where high_points = \"andre miller (30)\"" + }, + { + "question": "What is who-two when you two is ngipelngu?", + "context": "create table table_1015914_24 (who_two varchar, you_two varchar, PRIMARY KEY (who_two))", + "answer": "select who_two from table_1015914_24 where you_two = \"ngipelngu\"" + }, + { + "question": "Name the broadcast date of run time being 24:14", + "context": "create table table_2114308_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2114308_1 where run_time = \"24:14\"" + }, + { + "question": "Show all template type codes and number of templates for each.", + "context": "create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code, count(*) from templates group by template_type_code" + }, + { + "question": "Which club is at the location of kuopio?", + "context": "create table table_29250534_1 (club varchar, location varchar, PRIMARY KEY (club))", + "answer": "select club from table_29250534_1 where location = \"kuopio\"" + }, + { + "question": "Which week is the theme First Solo", + "context": "create table table_21501518_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501518_1 where theme = \"first solo\"" + }, + { + "question": "Show the name of buildings that do not have any institution.", + "context": "create table building (name varchar, building_id varchar, PRIMARY KEY (name)); create table institution (name varchar, building_id varchar, PRIMARY KEY (name))", + "answer": "select name from building where not building_id in (select building_id from institution)" + }, + { + "question": "What package offers Fox Sports HD?", + "context": "create table table_15887683_3 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_3 where television_service = \"fox sports hd\"" + }, + { + "question": "how many people commentated where broadcaster is orf", + "context": "create table table_184803_4 (commentator varchar, broadcaster varchar, PRIMARY KEY (commentator))", + "answer": "select count(commentator) from table_184803_4 where broadcaster = \"orf\"" + }, + { + "question": "How many teams have the titans as a mascot?", + "context": "create table table_13456202_1 (affiliation varchar, mascot varchar, PRIMARY KEY (affiliation))", + "answer": "select count(affiliation) from table_13456202_1 where mascot = \"titans\"" + }, + { + "question": "Find the name of the department that has the biggest number of students minored in?", + "context": "create table department (dname varchar, dno varchar, PRIMARY KEY (dname)); create table minor_in (dno varchar, PRIMARY KEY (dno))", + "answer": "select t1.dname from department as t1 join minor_in as t2 on t1.dno = t2.dno group by t2.dno order by count(*) desc limit 1" + }, + { + "question": "Where is the company with estimated revenue of 33.3 billion headquartered?", + "context": "create table table_21926985_2 (headquarters_city varchar, revenue__$billions__2012_estimate varchar, PRIMARY KEY (headquarters_city))", + "answer": "select headquarters_city from table_21926985_2 where revenue__$billions__2012_estimate = \"33.3\"" + }, + { + "question": "How many times did episode number 8 air?", + "context": "create table table_24399615_5 (cable_rank varchar, episode_no varchar, PRIMARY KEY (cable_rank))", + "answer": "select count(cable_rank) from table_24399615_5 where episode_no = 8" + }, + { + "question": "How much did Nina Carberry win?", + "context": "create table table_26903214_1 (prize_money varchar, rider varchar, PRIMARY KEY (prize_money))", + "answer": "select prize_money from table_26903214_1 where rider = \"nina carberry\"" + }, + { + "question": "What were the competitions when the away team was fk kozara gradiska?", + "context": "create table table_29728596_2 (competition varchar, away_team varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_29728596_2 where away_team = \"fk kozara gradiska\"" + }, + { + "question": "What is the change in population since 1993 in the region where the % of country's population was 4.2?", + "context": "create table table_2637317_1 (change_in_population_since_1993 varchar, _percentage_of_countrys_population varchar, PRIMARY KEY (change_in_population_since_1993))", + "answer": "select count(change_in_population_since_1993) from table_2637317_1 where _percentage_of_countrys_population = \"4.2\"" + }, + { + "question": "Who was Class AAA during the school year of 2000-01?", + "context": "create table table_10399701_2 (class_aaa varchar, school_year varchar, PRIMARY KEY (class_aaa))", + "answer": "select class_aaa from table_10399701_2 where school_year = \"2000-01\"" + }, + { + "question": "What is the monto where the total region is 11230?", + "context": "create table table_12526990_1 (monto varchar, total_region varchar, PRIMARY KEY (monto))", + "answer": "select count(monto) from table_12526990_1 where total_region = 11230" + }, + { + "question": "Find the number of routes whose destination airports are in Canada.", + "context": "create table routes (dst_apid varchar, PRIMARY KEY (dst_apid)); create table airports (apid varchar, PRIMARY KEY (apid))", + "answer": "select count(*) from airports as t1 join routes as t2 on t1.apid = t2.dst_apid where country = 'canada'" + }, + { + "question": "Which country has the most of TV Channels? List the country and number of TV Channels it has.", + "context": "create table tv_channel (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from tv_channel group by country order by count(*) desc limit 1" + }, + { + "question": "What was the title of the episode written by Mark Goffman?", + "context": "create table table_23255941_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23255941_1 where written_by = \"mark goffman\"" + }, + { + "question": "Who directed the episode that aired on February 19, 1968?", + "context": "create table table_25800134_12 (director varchar, airdate varchar, PRIMARY KEY (director))", + "answer": "select director from table_25800134_12 where airdate = \"february 19, 1968\"" + }, + { + "question": "What are the names of perpetrators in country \"China\" or \"Japan\"?", + "context": "create table perpetrator (people_id varchar, country varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from people as t1 join perpetrator as t2 on t1.people_id = t2.people_id where t2.country = \"china\" or t2.country = \"japan\"" + }, + { + "question": "Find the number of different airports which are the destinations of the American Airlines.", + "context": "create table routes (alid varchar, PRIMARY KEY (alid)); create table airlines (alid varchar, name varchar, PRIMARY KEY (alid))", + "answer": "select count(distinct dst_apid) from airlines as t1 join routes as t2 on t1.alid = t2.alid where t1.name = 'american airlines'" + }, + { + "question": "Who played in group 8 when Persinab Nabire played in Group 12?", + "context": "create table table_19523142_5 (group_8 varchar, group_12 varchar, PRIMARY KEY (group_8))", + "answer": "select group_8 from table_19523142_5 where group_12 = \"persinab nabire\"" + }, + { + "question": "Name the Valley Vista of Anthony Capuano", + "context": "create table table_11340432_1 (valley_vista varchar, willow_canyon varchar, PRIMARY KEY (valley_vista))", + "answer": "select valley_vista from table_11340432_1 where willow_canyon = \"anthony capuano\"" + }, + { + "question": "Name the injunctive for \u0917\u0930\u094d\u092f\u094b garyo 'he did'", + "context": "create table table_16337329_5 (injunctive varchar, past_habitual varchar, PRIMARY KEY (injunctive))", + "answer": "select injunctive from table_16337329_5 where past_habitual = \"\u0917\u0930\u094d\u092f\u094b garyo 'he did'\"" + }, + { + "question": "What is the content of la7 television service?", + "context": "create table table_15887683_1 (content varchar, television_service varchar, PRIMARY KEY (content))", + "answer": "select content from table_15887683_1 where television_service = \"la7\"" + }, + { + "question": "What party did john s. barbour represent?", + "context": "create table table_2668243_25 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668243_25 where incumbent = \"john s. barbour\"" + }, + { + "question": "what's the\u00a0goals for/against\u00a0with\u00a0w-l-d\u00a0being 3-1-1", + "context": "create table table_14181578_1 (goals_for_against varchar, w_l_d varchar, PRIMARY KEY (goals_for_against))", + "answer": "select goals_for_against from table_14181578_1 where w_l_d = \"3-1-1\"" + }, + { + "question": "How many different provinces is Baghaberd the center of?", + "context": "create table table_23887174_1 (province__ashkharh_ varchar, center varchar, PRIMARY KEY (province__ashkharh_))", + "answer": "select count(province__ashkharh_) from table_23887174_1 where center = \"baghaberd\"" + }, + { + "question": "Who had the pole position in the Canadian Grand Prix?", + "context": "create table table_26258348_4 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_26258348_4 where grand_prix = \"canadian grand_prix\"" + }, + { + "question": "For mid-hill zone what is the altitude?", + "context": "create table table_10638523_1 (mid_hill_zone varchar, particulars_and_characteristics varchar, PRIMARY KEY (mid_hill_zone))", + "answer": "select mid_hill_zone from table_10638523_1 where particulars_and_characteristics = \"altitude\"" + }, + { + "question": "How many television station listings have a ioc code as mas?", + "context": "create table table_2879165_1 (television_station varchar, ioc_code varchar, PRIMARY KEY (television_station))", + "answer": "select count(television_station) from table_2879165_1 where ioc_code = \"mas\"" + }, + { + "question": "How many females does this network has?", + "context": "create table person (gender varchar, PRIMARY KEY (gender))", + "answer": "select count(*) from person where gender = 'female'" + }, + { + "question": "Whose WSOP earnings were $36,372?", + "context": "create table table_23696862_6 (name varchar, wsop_earnings varchar, PRIMARY KEY (name))", + "answer": "select name from table_23696862_6 where wsop_earnings = \"$36,372\"" + }, + { + "question": "How many countries does each continent have? List the continent id, continent name and the number of countries.", + "context": "create table countries (continent varchar, PRIMARY KEY (continent)); create table continents (contid varchar, continent varchar, PRIMARY KEY (contid))", + "answer": "select t1.contid, t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent group by t1.contid" + }, + { + "question": "How many candidates were there in the district won by Joe Hoeffel?", + "context": "create table table_1341423_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341423_38 where incumbent = \"joe hoeffel\"" + }, + { + "question": "Which province is bay of islands in", + "context": "create table table_1024710_2 (province varchar, electorate varchar, PRIMARY KEY (province))", + "answer": "select province from table_1024710_2 where electorate = \"bay of islands\"" + }, + { + "question": "Name the record for black knights points 54", + "context": "create table table_21092444_1 (record varchar, black_knights_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_21092444_1 where black_knights_points = 54" + }, + { + "question": "What is the smallest amount of WSOP bracelets anyone had?", + "context": "create table table_23696862_6 (wsop_bracelets integer, PRIMARY KEY (wsop_bracelets))", + "answer": "select min(wsop_bracelets) from table_23696862_6" + }, + { + "question": "what is the malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 of sanskrit uttar\u0101\u1e63\u0101\u1e0dha \u0909\u0924\u094d\u0924\u0930\u093e\u0937\u093e\u0922\u093e", + "context": "create table table_201400_2 (malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 varchar, sanskrit varchar, PRIMARY KEY (malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02))", + "answer": "select malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 from table_201400_2 where sanskrit = \"uttar\u0101\u1e63\u0101\u1e0dha \u0909\u0924\u094d\u0924\u0930\u093e\u0937\u093e\u0922\u093e\"" + }, + { + "question": "What circuit did rick kelly win on?", + "context": "create table table_20884163_2 (circuit varchar, winner varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_20884163_2 where winner = \"rick kelly\"" + }, + { + "question": "who is the voice actor with the birthday march 26?", + "context": "create table table_26615633_1 (voice_actor varchar, birthday varchar, PRIMARY KEY (voice_actor))", + "answer": "select voice_actor from table_26615633_1 where birthday = \"march 26\"" + }, + { + "question": "Which line offers Fast to Norwood Junction?", + "context": "create table table_1612760_1 (line varchar, service_pattern varchar, PRIMARY KEY (line))", + "answer": "select line from table_1612760_1 where service_pattern = \"fast to norwood junction\"" + }, + { + "question": "What is the original air date the was written by mark st. germain and direct by jay sandrich?", + "context": "create table table_2818164_7 (original_air_date varchar, written_by varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_2818164_7 where written_by = \"mark st. germain\" and directed_by = \"jay sandrich\"" + }, + { + "question": "When the Border Conference was held, who was the tournament winner?", + "context": "create table table_22733636_1 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_22733636_1 where conference = \"border conference\"" + }, + { + "question": "How many masters fought using a boxing style?", + "context": "create table table_14937957_1 (masters varchar, martial_art_style varchar, PRIMARY KEY (masters))", + "answer": "select count(masters) from table_14937957_1 where martial_art_style = \"boxing\"" + }, + { + "question": "Who is the operator when Roe was the bodybuilder?", + "context": "create table table_28035004_1 (operator varchar, bodybuilder varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_28035004_1 where bodybuilder = \"roe\"" + }, + { + "question": "Which capitals have an area of exactly 377930 square km?", + "context": "create table table_19605700_1 (capital varchar, area_km\u00b2 varchar, PRIMARY KEY (capital))", + "answer": "select capital from table_19605700_1 where area_km\u00b2 = 377930" + }, + { + "question": "What is the phone number of the performer Ashley?", + "context": "create table performers (customer_phone varchar, customer_name varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone from performers where customer_name = \"ashley\"" + }, + { + "question": "Who did the high rebounds in the game against Boston?", + "context": "create table table_27704187_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27704187_7 where team = \"boston\"" + }, + { + "question": "How many albums are there?", + "context": "create table album (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from album" + }, + { + "question": "Find the number of users in each role.", + "context": "create table users (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select count(*), role_code from users group by role_code" + }, + { + "question": "What are all the week # where subject matter is auditioner's choice", + "context": "create table table_26250227_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_26250227_1 where theme = \"auditioner's choice\"" + }, + { + "question": "What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph?", + "context": "create table table_30058355_3 (mon_22_aug varchar, wed_24_aug varchar, PRIMARY KEY (mon_22_aug))", + "answer": "select mon_22_aug from table_30058355_3 where wed_24_aug = \"22' 50.05 99.141mph\"" + }, + { + "question": "Who directed the film with the original title of \u0442\u0440\u0438 \u043b\u0435\u0442\u045a\u0430 \u0434\u0430\u043d\u0430?", + "context": "create table table_22265716_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_22265716_1 where original_title = \"\u0442\u0440\u0438 \u043b\u0435\u0442\u045a\u0430 \u0434\u0430\u043d\u0430\"" + }, + { + "question": "Who was the winner of binibining pilipinas-International wheh Gionna Cabrera won Miss Universe Philippines?", + "context": "create table table_1825751_4 (binibining_pilipinas_international varchar, miss_universe_philippines varchar, PRIMARY KEY (binibining_pilipinas_international))", + "answer": "select binibining_pilipinas_international from table_1825751_4 where miss_universe_philippines = \"gionna cabrera\"" + }, + { + "question": "Name the number of party for richard l. hanna (r) 53.1% mike arcuri (d) 46.9%", + "context": "create table table_19753079_35 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_19753079_35 where candidates = \"richard l. hanna (r) 53.1% mike arcuri (d) 46.9%\"" + }, + { + "question": "What type of record is the result of the game Montreal 31 @ Calgary 32?", + "context": "create table table_21436373_5 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_5 where result_games = \"montreal 31 @ calgary 32\"" + }, + { + "question": "what's the\u00a0model name\u00a0with\u00a0engine code\u00a0being b5254 t4", + "context": "create table table_1147701_4 (model_name varchar, engine_code varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from table_1147701_4 where engine_code = \"b5254 t4\"" + }, + { + "question": "What is the tournament called for the Big Sky Conference?", + "context": "create table table_24248450_3 (conference varchar, PRIMARY KEY (conference))", + "answer": "select conference as tournament from table_24248450_3 where conference = \"big sky conference\"" + }, + { + "question": "What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?", + "context": "create table table_18821196_1 (status varchar, weekly_schedule varchar, PRIMARY KEY (status))", + "answer": "select status from table_18821196_1 where weekly_schedule = \"monday to thursday @ 11:00 pm\"" + }, + { + "question": "Show the studios that have not produced films with director \"Walter Hill\".", + "context": "create table film (studio varchar, director varchar, PRIMARY KEY (studio))", + "answer": "select studio from film except select studio from film where director = \"walter hill\"" + }, + { + "question": "Name the hdtv when number is 378", + "context": "create table table_15887683_6 (hdtv varchar, n\u00b0 varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_6 where n\u00b0 = 378" + }, + { + "question": "What is 2002 when 2009 is 54.0?", + "context": "create table table_27146868_1 (id varchar, PRIMARY KEY (id))", + "answer": "select 2002 from table_27146868_1 where 2009 = \"54.0\"" + }, + { + "question": "how many minimum 350cc has", + "context": "create table table_2889810_2 (id varchar, PRIMARY KEY (id))", + "answer": "select min(350 as cc) from table_2889810_2" + }, + { + "question": "When bas van erp was the athlete what was the quarterfinals?", + "context": "create table table_18602462_21 (quarterfinals varchar, athlete varchar, PRIMARY KEY (quarterfinals))", + "answer": "select quarterfinals from table_18602462_21 where athlete = \"bas van erp\"" + }, + { + "question": "Name the year for le confessional", + "context": "create table table_17025328_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17025328_1 where original_title = \"le confessional\"" + }, + { + "question": "What are the game modes for the game released in 2007?", + "context": "create table table_1616608_2 (game_modes varchar, released_date varchar, PRIMARY KEY (game_modes))", + "answer": "select game_modes from table_1616608_2 where released_date = \"2007\"" + }, + { + "question": "What is the title of the issue where the art was done by Barry Kitson and Farmer?", + "context": "create table table_18305523_2 (story_title varchar, artist_s varchar, PRIMARY KEY (story_title))", + "answer": "select story_title from table_18305523_2 where artist_s = \"barry kitson and farmer\"" + }, + { + "question": "What is the Segment A for when Segment C is s Sailboard?", + "context": "create table table_15187735_6 (segment_a varchar, segment_c varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_6 where segment_c = \"s sailboard\"" + }, + { + "question": "what is id of students who registered some courses but the least number of courses in these students?", + "context": "create table student_course_registrations (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from student_course_registrations group by student_id order by count(*) limit 1" + }, + { + "question": "Name the southern lakota for wak\u021f\u00e1\u014bye\u017ea", + "context": "create table table_1499791_2 (southern_lakota varchar, yankton_yanktonai varchar, PRIMARY KEY (southern_lakota))", + "answer": "select southern_lakota from table_1499791_2 where yankton_yanktonai = \"wak\u021f\u00e1\u014bye\u017ea\"" + }, + { + "question": "Which airline has most number of flights?", + "context": "create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) desc limit 1" + }, + { + "question": "What is every entry for passed when NO votes is 312187?", + "context": "create table table_256286_43 (passed varchar, no_votes varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_43 where no_votes = 312187" + }, + { + "question": "Name the total number of rank for percentage change yoy 13.1%", + "context": "create table table_27956_3 (national_rank varchar, percentage_change_yoy varchar, PRIMARY KEY (national_rank))", + "answer": "select count(national_rank) from table_27956_3 where percentage_change_yoy = \"13.1%\"" + }, + { + "question": "what is the glos & wilts where the bristol & somerset is lansdown?", + "context": "create table table_12043148_2 (glos_ varchar, _wilts varchar, bristol_ varchar, _somerset varchar, PRIMARY KEY (glos_))", + "answer": "select glos_ & _wilts from table_12043148_2 where bristol_ & _somerset = \"lansdown\"" + }, + { + "question": "Name who was famous for finished in 9th", + "context": "create table table_14345690_4 (famous_for varchar, finished varchar, PRIMARY KEY (famous_for))", + "answer": "select famous_for from table_14345690_4 where finished = \"9th\"" + }, + { + "question": "Return the text of tweets about the topic 'intern'.", + "context": "create table tweets (text varchar, PRIMARY KEY (text))", + "answer": "select text from tweets where text like '%intern%'" + }, + { + "question": "For the Persian title \u06af\u0628\u0647, What was the film title used for the nomination?", + "context": "create table table_19625976_1 (film_title_used_in_nomination varchar, persian_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_19625976_1 where persian_title = \"\u06af\u0628\u0647\"" + }, + { + "question": "What party represents the district with john g. jackson?", + "context": "create table table_2668378_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668378_18 where incumbent = \"john g. jackson\"" + }, + { + "question": "What was the title of the episode directed by David Mamet?", + "context": "create table table_26200084_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_26200084_1 where directed_by = \"david mamet\"" + }, + { + "question": "Where was the hometown for the player that attended Shanley High School?", + "context": "create table table_11677691_4 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_4 where school = \"shanley high school\"" + }, + { + "question": "What is hte license for beeone smod/hms software?", + "context": "create table table_15038373_1 (license varchar, software varchar, PRIMARY KEY (license))", + "answer": "select license from table_15038373_1 where software = \"beeone smod/hms\"" + }, + { + "question": "Who were the umpires when Paul Vines (S) won the Simpson Medal?", + "context": "create table table_13514348_7 (umpires varchar, simpson_medal varchar, PRIMARY KEY (umpires))", + "answer": "select umpires from table_13514348_7 where simpson_medal = \"paul vines (s)\"" + }, + { + "question": "What is the rnag for kippure transmitter?", + "context": "create table table_18475946_2 (rnag__mhz_ varchar, transmitter varchar, PRIMARY KEY (rnag__mhz_))", + "answer": "select rnag__mhz_ from table_18475946_2 where transmitter = \"kippure\"" + }, + { + "question": "Where is milepost 12.8?", + "context": "create table table_10568553_1 (location varchar, milepost varchar, PRIMARY KEY (location))", + "answer": "select location from table_10568553_1 where milepost = \"12.8\"" + }, + { + "question": "What's the team of the player from St. Francis Xavier College?", + "context": "create table table_10812938_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_10812938_5 where college = \"st. francis xavier\"" + }, + { + "question": "Who wrote episode that had 1.97 million u.s. viewers?", + "context": "create table table_27892955_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27892955_1 where us_viewers__million_ = \"1.97\"" + }, + { + "question": "What was miles's bmi att the reunion?", + "context": "create table table_28654454_5 (reunion_bmi varchar, contestant varchar, PRIMARY KEY (reunion_bmi))", + "answer": "select count(reunion_bmi) from table_28654454_5 where contestant = \"miles\"" + }, + { + "question": "How many tournaments are also currently known as the hp open?", + "context": "create table table_19765685_2 (country varchar, also_currently_known_as varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_19765685_2 where also_currently_known_as = \"hp open\"" + }, + { + "question": "What is the processor speed (mhz) for part number a80486dx4-75?", + "context": "create table table_15261_1 (processor_speed__mhz_ varchar, part_number varchar, PRIMARY KEY (processor_speed__mhz_))", + "answer": "select count(processor_speed__mhz_) from table_15261_1 where part_number = \"a80486dx4-75\"" + }, + { + "question": "What's the type of printer ports in the model number EX Plus3?", + "context": "create table table_1300080_1 (printer_ports varchar, model_number varchar, PRIMARY KEY (printer_ports))", + "answer": "select printer_ports from table_1300080_1 where model_number = \"ex plus3\"" + }, + { + "question": "Who was the director of the episode originally aired on 26 October 1969?", + "context": "create table table_1439096_1 (director varchar, original_air_date__atv_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_1439096_1 where original_air_date__atv_ = \"26 october 1969\"" + }, + { + "question": "In the region where Roskilde is the largest city, what is the seat of administration?", + "context": "create table table_16278602_1 (seat_of_administration varchar, largest_city varchar, PRIMARY KEY (seat_of_administration))", + "answer": "select seat_of_administration from table_16278602_1 where largest_city = \"roskilde\"" + }, + { + "question": "Name the original air date for 9.16 viewers", + "context": "create table table_21550870_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_21550870_1 where us_viewers__million_ = \"9.16\"" + }, + { + "question": "which episode was Transmitted on wednesday if the episode of \"319 sucker punch\" was transmitted on tuesday?", + "context": "create table table_18173916_8 (wednesday varchar, tuesday varchar, PRIMARY KEY (wednesday))", + "answer": "select count(wednesday) from table_18173916_8 where tuesday = \"319 sucker punch\"" + }, + { + "question": "What country has a compulsory deduction of 29.3%?", + "context": "create table table_24486462_1 (country varchar, compulsory_deduction varchar, PRIMARY KEY (country))", + "answer": "select country from table_24486462_1 where compulsory_deduction = \"29.3%\"" + }, + { + "question": "Who directed the episode that originally aired on February 16, 1999?", + "context": "create table table_228973_5 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_228973_5 where original_air_date = \"february 16, 1999\"" + }, + { + "question": "Show the locations that have at least two performances.", + "context": "create table performance (location varchar, PRIMARY KEY (location))", + "answer": "select location from performance group by location having count(*) >= 2" + }, + { + "question": "What's the model designation of the model with GVW of 2828/2.78 kg/ton and axle ratio of 9/47?", + "context": "create table table_20866024_3 (model_designation varchar, gvw__kg_ton_ varchar, axle_ratio varchar, PRIMARY KEY (model_designation))", + "answer": "select model_designation from table_20866024_3 where gvw__kg_ton_ = \"2828/2.78\" and axle_ratio = \"9/47\"" + }, + { + "question": "What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph?", + "context": "create table table_23465864_6 (tues_25_aug varchar, mon_24_aug varchar, PRIMARY KEY (tues_25_aug))", + "answer": "select tues_25_aug from table_23465864_6 where mon_24_aug = \"22' 24.56 101.021mph\"" + }, + { + "question": "What is the eastern word for \"light\"?", + "context": "create table table_26614365_1 (eastern varchar, english varchar, PRIMARY KEY (eastern))", + "answer": "select eastern from table_26614365_1 where english = \"light\"" + }, + { + "question": "Who is every co-artist with name of role as Ah-Zhong \u963f\u5fe0?", + "context": "create table table_23379776_5 (co_artists varchar, name_of_role varchar, PRIMARY KEY (co_artists))", + "answer": "select co_artists from table_23379776_5 where name_of_role = \"ah-zhong \u963f\u5fe0\"" + }, + { + "question": "Who was awarded the young ride classification leader when the winner was Marzio Bruseghin?", + "context": "create table table_14710984_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_14710984_2 where winner = \"marzio bruseghin\"" + }, + { + "question": "When united kingdom is the country what is the most recent date?", + "context": "create table table_18676973_3 (most_recent_date varchar, country varchar, PRIMARY KEY (most_recent_date))", + "answer": "select most_recent_date from table_18676973_3 where country = \"united kingdom\"" + }, + { + "question": "What is the time/retired if the driver is Ed Carpenter?", + "context": "create table table_17693171_1 (time_retired varchar, driver varchar, PRIMARY KEY (time_retired))", + "answer": "select time_retired from table_17693171_1 where driver = \"ed carpenter\"" + }, + { + "question": "How many jury votes for the televote of 7?", + "context": "create table table_19763199_4 (jury_votes varchar, televotes varchar, PRIMARY KEY (jury_votes))", + "answer": "select jury_votes from table_19763199_4 where televotes = 7" + }, + { + "question": "Which divisions have 565 as the number of winning tickets?", + "context": "create table table_20195922_3 (divisions varchar, number_of_winning_tickets varchar, PRIMARY KEY (divisions))", + "answer": "select divisions from table_20195922_3 where number_of_winning_tickets = 565" + }, + { + "question": "What are the drivers' last names and id who had 11 pit stops and participated in more than 5 race results?", + "context": "create table drivers (surname varchar, driverid varchar, PRIMARY KEY (surname)); create table results (driverid varchar, PRIMARY KEY (driverid)); create table pitstops (driverid varchar, PRIMARY KEY (driverid))", + "answer": "select t1.surname, t1.driverid from drivers as t1 join pitstops as t2 on t1.driverid = t2.driverid group by t1.driverid having count(*) = 11 intersect select t1.surname, t1.driverid from drivers as t1 join results as t2 on t1.driverid = t2.driverid group by t1.driverid having count(*) > 5" + }, + { + "question": "What percentage of free/reduced lunch are there when the hispanic percentage is 3.7?", + "context": "create table table_14754471_1 (free_reduced_lunch___percentage_ varchar, hispanic___percentage_ varchar, PRIMARY KEY (free_reduced_lunch___percentage_))", + "answer": "select free_reduced_lunch___percentage_ from table_14754471_1 where hispanic___percentage_ = \"3.7\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being jack z. anderson (r) unopposed", + "context": "create table table_1342233_6 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342233_6 where candidates = \"jack z. anderson (r) unopposed\"" + }, + { + "question": "Nigeria had the fastest time once.", + "context": "create table table_1231316_5 (fastest_time__s_ varchar, nation varchar, PRIMARY KEY (fastest_time__s_))", + "answer": "select count(fastest_time__s_) from table_1231316_5 where nation = \"nigeria\"" + }, + { + "question": "For each zip code, return how many times max wind speed reached 25?", + "context": "create table weather (zip_code varchar, max_wind_speed_mph varchar, PRIMARY KEY (zip_code))", + "answer": "select zip_code, count(*) from weather where max_wind_speed_mph >= 25 group by zip_code" + }, + { + "question": "how many\u00a0mens singles\u00a0with\u00a0mens doubles\u00a0being pontus jantti lasse lindel\u00f6f", + "context": "create table table_13857700_1 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select count(mens_singles) from table_13857700_1 where mens_doubles = \"pontus jantti lasse lindel\u00f6f\"" + }, + { + "question": "which round is u.s. open cup division semifinals", + "context": "create table table_1046170_5 (us_open_cup varchar, playoffs varchar, PRIMARY KEY (us_open_cup))", + "answer": "select us_open_cup from table_1046170_5 where playoffs = \"division semifinals\"" + }, + { + "question": "What number-one single is performed by artist Pep's?", + "context": "create table table_27441210_17 (number_one_single_s_ varchar, artist varchar, PRIMARY KEY (number_one_single_s_))", + "answer": "select number_one_single_s_ from table_27441210_17 where artist = \"pep's\"" + }, + { + "question": "Name the fat for protein being 4 and calories 80", + "context": "create table table_2493389_1 (fat__g_ varchar, protein__g_ varchar, calories__1_tbsp__ varchar, PRIMARY KEY (fat__g_))", + "answer": "select fat__g_ from table_2493389_1 where protein__g_ = \"4\" and calories__1_tbsp__ = 80" + }, + { + "question": "What couple had vote percentage of 21.843%?", + "context": "create table table_19744915_22 (couple varchar, vote_percentage varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_19744915_22 where vote_percentage = \"21.843%\"" + }, + { + "question": "What is the number of car models that are produced by each maker and what is the id and full name of each maker?", + "context": "create table car_makers (fullname varchar, id varchar, id varchar, PRIMARY KEY (fullname)); create table model_list (maker varchar, PRIMARY KEY (maker))", + "answer": "select count(*), t2.fullname, t2.id from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id" + }, + { + "question": "What is the order # for the original artist sarah mclachlan?", + "context": "create table table_26250145_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250145_1 where original_artist = \"sarah mclachlan\"" + }, + { + "question": "Which vocal type did the musician with last name \"Heilo\" played in the song with title \"Der Kapitan\"?", + "context": "create table band (id varchar, lastname varchar, PRIMARY KEY (id)); create table vocals (songid varchar, bandmate varchar, PRIMARY KEY (songid)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select type from vocals as t1 join songs as t2 on t1.songid = t2.songid join band as t3 on t1.bandmate = t3.id where t3.lastname = \"heilo\" and t2.title = \"der kapitan\"" + }, + { + "question": "Show the member names which are in both the party with id 3 and the party with id 1.", + "context": "create table member (member_name varchar, party_id varchar, PRIMARY KEY (member_name))", + "answer": "select member_name from member where party_id = 3 intersect select member_name from member where party_id = 1" + }, + { + "question": "Who are all the players from the united states?", + "context": "create table table_24302700_6 (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from table_24302700_6 where nationality = \"united states\"" + }, + { + "question": "Which actors are from Ukraine?", + "context": "create table table_10236830_4 (actors_name varchar, country varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_4 where country = \"ukraine\"" + }, + { + "question": "Who are the major users from Australia?", + "context": "create table table_29474407_11 (major_users varchar, country_of_origin varchar, PRIMARY KEY (major_users))", + "answer": "select major_users from table_29474407_11 where country_of_origin = \"australia\"" + }, + { + "question": "Where is the miss global teen?", + "context": "create table table_1825751_14 (hometown varchar, pageant varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_1825751_14 where pageant = \"miss global teen\"" + }, + { + "question": "Find the top 3 artists who have the largest number of songs works whose language is Bangla.", + "context": "create table song (artist_name varchar, languages varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.artist_name from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t2.languages = \"bangla\" group by t2.artist_name order by count(*) desc limit 3" + }, + { + "question": "How many countries (endonym) has the capital (endonym) of Jakarta?", + "context": "create table table_1008653_9 (country___endonym__ varchar, capital___endonym__ varchar, PRIMARY KEY (country___endonym__))", + "answer": "select count(country___endonym__) from table_1008653_9 where capital___endonym__ = \"jakarta\"" + }, + { + "question": "Name the fsi 2012 for 42.7 cpi", + "context": "create table table_26313243_1 (fsi_2012 varchar, cpi_2012 varchar, PRIMARY KEY (fsi_2012))", + "answer": "select fsi_2012 from table_26313243_1 where cpi_2012 = \"42.7\"" + }, + { + "question": "List the smallest possible spoilt vote with the s\u00f8r-tr\u00f8ndelag constituency.", + "context": "create table table_1289762_1 (s_spoilt_vote integer, constituency varchar, PRIMARY KEY (s_spoilt_vote))", + "answer": "select min(s_spoilt_vote) from table_1289762_1 where constituency = \"s\u00f8r-tr\u00f8ndelag\"" + }, + { + "question": "What was the record set during the game played at Hubert H. Humphrey Metrodome?", + "context": "create table table_13258851_2 (record varchar, game_site varchar, PRIMARY KEY (record))", + "answer": "select record from table_13258851_2 where game_site = \"hubert h. humphrey metrodome\"" + }, + { + "question": "What is the bts retail price (regulated) for tariff code g10?", + "context": "create table table_10408617_5 (bts_retail_price__regulated_ varchar, tariff_code varchar, PRIMARY KEY (bts_retail_price__regulated_))", + "answer": "select bts_retail_price__regulated_ from table_10408617_5 where tariff_code = \"g10\"" + }, + { + "question": "Name the general classification for mauricio soler", + "context": "create table table_29077342_19 (general_classification varchar, winner varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_29077342_19 where winner = \"mauricio soler\"" + }, + { + "question": "how many wiaa classifications does fort vancouver high school have?", + "context": "create table table_22058547_1 (wiaa_classification varchar, high_school varchar, PRIMARY KEY (wiaa_classification))", + "answer": "select count(wiaa_classification) from table_22058547_1 where high_school = \"fort vancouver\"" + }, + { + "question": "What date did the episode originally air on with salvatore giunta as a guest?", + "context": "create table table_25691838_11 (original_airdate varchar, guest varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_25691838_11 where guest = \"salvatore giunta\"" + }, + { + "question": "Please show the most common reigns of wrestlers.", + "context": "create table wrestler (reign varchar, PRIMARY KEY (reign))", + "answer": "select reign from wrestler group by reign order by count(*) desc limit 1" + }, + { + "question": "Show all game ids and the number of hours played.", + "context": "create table plays_games (gameid varchar, hours_played integer, PRIMARY KEY (gameid))", + "answer": "select gameid, sum(hours_played) from plays_games group by gameid" + }, + { + "question": "List the name of staff who has been assigned multiple jobs.", + "context": "create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table staff_department_assignments (staff_id varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.staff_name from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id group by t2.staff_id having count(*) > 1" + }, + { + "question": "What race was held at Oulton Park?", + "context": "create table table_1140088_6 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_1140088_6 where circuit = \"oulton park\"" + }, + { + "question": "When 19/05/2002 is the date of withdrawn what is the name?", + "context": "create table table_21795986_1 (name varchar, withdrawn varchar, PRIMARY KEY (name))", + "answer": "select name from table_21795986_1 where withdrawn = \"19/05/2002\"" + }, + { + "question": "How many episodes have been directed and written by Darrick Bachman and Brett Varon?", + "context": "create table table_14035132_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_14035132_3 where written_by = \"darrick bachman and brett varon\"" + }, + { + "question": "What is the highest cable ranking?", + "context": "create table table_24399615_6 (cable_rank integer, PRIMARY KEY (cable_rank))", + "answer": "select max(cable_rank) from table_24399615_6" + }, + { + "question": "What are the modern equivalents for the province of \"hanju\"?", + "context": "create table table_160510_1 (modern_equivalent varchar, province varchar, PRIMARY KEY (modern_equivalent))", + "answer": "select modern_equivalent from table_160510_1 where province = \"hanju\"" + }, + { + "question": "What year is the season with the 10.73 million views?", + "context": "create table table_10120207_8 (tv_season varchar, viewers__millions_ varchar, PRIMARY KEY (tv_season))", + "answer": "select tv_season from table_10120207_8 where viewers__millions_ = \"10.73\"" + }, + { + "question": "what is the arrival time where station code is pnvl?", + "context": "create table table_14688744_2 (arrival varchar, station_code varchar, PRIMARY KEY (arrival))", + "answer": "select arrival from table_14688744_2 where station_code = \"pnvl\"" + }, + { + "question": "what's the date entered service with ships name koningin wilhelmina", + "context": "create table table_11662133_3 (date_entered_service varchar, ships_name varchar, PRIMARY KEY (date_entered_service))", + "answer": "select date_entered_service from table_11662133_3 where ships_name = \"koningin wilhelmina\"" + }, + { + "question": "What are the investors that have invested in at least two entrepreneurs?", + "context": "create table entrepreneur (investor varchar, PRIMARY KEY (investor))", + "answer": "select investor from entrepreneur group by investor having count(*) >= 2" + }, + { + "question": "Who were all candidate when incumbent was D. Wyatt Aiken?", + "context": "create table table_1431467_4 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1431467_4 where incumbent = \"d. wyatt aiken\"" + }, + { + "question": "when administrative centre is egilssta\u00f0ir, what is the pop./ km\u00b2?", + "context": "create table table_2252745_1 (pop__km\u00b2 varchar, administrative_centre varchar, PRIMARY KEY (pop__km\u00b2))", + "answer": "select count(pop__km\u00b2) from table_2252745_1 where administrative_centre = \"egilssta\u00f0ir\"" + }, + { + "question": "Which missions were scheduled to launch on November 16, 2006?", + "context": "create table table_11869952_3 (mission varchar, launch_date varchar, PRIMARY KEY (mission))", + "answer": "select mission from table_11869952_3 where launch_date = \"november 16, 2006\"" + }, + { + "question": "List the most common type of artworks.", + "context": "create table artwork (type varchar, PRIMARY KEY (type))", + "answer": "select type from artwork group by type order by count(*) desc limit 1" + }, + { + "question": "what is the title of the episode daphne field wrote?", + "context": "create table table_2626495_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2626495_1 where written_by = \"daphne field\"" + }, + { + "question": "What is the 3'utr sequence with a variant id of acd'6a 3?", + "context": "create table table_14332822_1 (variant_id varchar, PRIMARY KEY (variant_id))", + "answer": "select 3 as \u2019utr_sequence from table_14332822_1 where variant_id = \"acd'6a 3\"" + }, + { + "question": "How many distinct nationalities are there?", + "context": "create table people (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select count(distinct nationality) from people" + }, + { + "question": "Who is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?", + "context": "create table table_20466963_4 (guest_2 varchar, guest_4 varchar, guest_3 varchar, PRIMARY KEY (guest_2))", + "answer": "select guest_2 from table_20466963_4 where guest_4 = \"iyare igiehon\" and guest_3 = \"john oliver\"" + }, + { + "question": "Who directed the episode that had 0.57 million U.S. viewers?", + "context": "create table table_26914076_4 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_26914076_4 where us_viewers__millions_ = \"0.57\"" + }, + { + "question": "What are the hometowns of gymnasts and the corresponding number of gymnasts?", + "context": "create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (hometown varchar, people_id varchar, PRIMARY KEY (hometown))", + "answer": "select t2.hometown, count(*) from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id group by t2.hometown" + }, + { + "question": "What are the elimination moves of wrestlers whose team is \"Team Orton\"?", + "context": "create table elimination (elimination_move varchar, team varchar, PRIMARY KEY (elimination_move))", + "answer": "select elimination_move from elimination where team = \"team orton\"" + }, + { + "question": "Find the last name of the author with first name \"Amal\".", + "context": "create table authors (lname varchar, fname varchar, PRIMARY KEY (lname))", + "answer": "select lname from authors where fname = \"amal\"" + }, + { + "question": "How many opponents led to an exactly 7-0 record?", + "context": "create table table_21034801_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_21034801_1 where record = \"7-0\"" + }, + { + "question": "What is the French word where the German word is filtern?", + "context": "create table table_15040_8 (french varchar, german varchar, PRIMARY KEY (french))", + "answer": "select french from table_15040_8 where german = \"filtern\"" + }, + { + "question": "What is the c (nf/km) when the r (\u03c9/km) is 463.59?", + "context": "create table table_261642_3 (c__nf_km_ varchar, r__\u03c9_km_ varchar, PRIMARY KEY (c__nf_km_))", + "answer": "select c__nf_km_ from table_261642_3 where r__\u03c9_km_ = \"463.59\"" + }, + { + "question": "Show the musical nominee with award \"Bob Fosse\" or \"Cleavant Derricks\".", + "context": "create table musical (nominee varchar, award varchar, PRIMARY KEY (nominee))", + "answer": "select nominee from musical where award = \"tony award\" or award = \"cleavant derricks\"" + }, + { + "question": "What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?", + "context": "create table department (creation varchar, department_id varchar, PRIMARY KEY (creation)); create table management (department_id varchar, head_id varchar, PRIMARY KEY (department_id)); create table head (head_id varchar, born_state varchar, PRIMARY KEY (head_id))", + "answer": "select distinct t1.creation from department as t1 join management as t2 on t1.department_id = t2.department_id join head as t3 on t2.head_id = t3.head_id where t3.born_state = 'alabama'" + }, + { + "question": "what type over school is Clemson?", + "context": "create table table_28744929_1 (school_type varchar, institution varchar, PRIMARY KEY (school_type))", + "answer": "select school_type from table_28744929_1 where institution = \"clemson\"" + }, + { + "question": "How many values reflect the overall record of the team coached by Frank Beamer?", + "context": "create table table_28744929_2 (overall_record varchar, head_coach varchar, PRIMARY KEY (overall_record))", + "answer": "select count(overall_record) from table_28744929_2 where head_coach = \"frank beamer\"" + }, + { + "question": "When dennis ross (r) unopposed is the candidate what is the party?", + "context": "create table table_25030512_12 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_25030512_12 where candidates = \"dennis ross (r) unopposed\"" + }, + { + "question": "Name the number of artists for panel points being 5", + "context": "create table table_21378339_5 (artist varchar, panel_points varchar, PRIMARY KEY (artist))", + "answer": "select count(artist) from table_21378339_5 where panel_points = 5" + }, + { + "question": "Who are all the major users of the Saturn Machine Pistol?", + "context": "create table table_29474407_11 (major_users varchar, name__designation varchar, PRIMARY KEY (major_users))", + "answer": "select major_users from table_29474407_11 where name__designation = \"saturn machine pistol\"" + }, + { + "question": "Find the name of the user who gives the most reviews.", + "context": "create table useracct (name varchar, u_id varchar, PRIMARY KEY (name)); create table review (u_id varchar, PRIMARY KEY (u_id))", + "answer": "select t1.name from useracct as t1 join review as t2 on t1.u_id = t2.u_id group by t2.u_id order by count(*) desc limit 1" + }, + { + "question": "If the amount of viewers is 2.48 million, what is the original air date?", + "context": "create table table_24639086_3 (original_air_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_24639086_3 where viewers__in_millions_ = \"2.48\"" + }, + { + "question": "Who is the winner in the location of ljvm coliseum \u2022 winston-salem, nc?", + "context": "create table table_21330550_2 (winner varchar, location varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_21330550_2 where location = \"ljvm coliseum \u2022 winston-salem, nc\"" + }, + { + "question": "Find the name of students who took any class in the years of 2009 and 2010.", + "context": "create table student (name varchar, id varchar, PRIMARY KEY (name)); create table takes (id varchar, PRIMARY KEY (id))", + "answer": "select distinct t1.name from student as t1 join takes as t2 on t1.id = t2.id where year = 2009 or year = 2010" + }, + { + "question": "How many events did nigel mansell drive the fastest and a mclaren - honda win?", + "context": "create table table_1139087_2 (grand_prix varchar, constructor varchar, fastest_lap varchar, PRIMARY KEY (grand_prix))", + "answer": "select count(grand_prix) from table_1139087_2 where constructor = \"mclaren - honda\" and fastest_lap = \"nigel mansell\"" + }, + { + "question": "Name who wrote the episode when the viewers was 1.81", + "context": "create table table_15584067_7 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_15584067_7 where us_viewers__million_ = \"1.81\"" + }, + { + "question": "What was the name of the episode that aired originally on March 11, 1988?", + "context": "create table table_20967430_4 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_20967430_4 where original_air_date = \"march 11, 1988\"" + }, + { + "question": "when it published in english is n/a and published in russian is 1986, what is the type of work?", + "context": "create table table_207795_1 (type_of_work varchar, published_in_english varchar, published_in_russian varchar, PRIMARY KEY (type_of_work))", + "answer": "select type_of_work from table_207795_1 where published_in_english = \"n/a\" and published_in_russian = \"1986\"" + }, + { + "question": "When vince carter (24) has the highest points how many teams are there?", + "context": "create table table_23249053_11 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_23249053_11 where high_points = \"vince carter (24)\"" + }, + { + "question": "Name the number of traditional chinese for album number 6th", + "context": "create table table_1893815_1 (chinese__traditional_ varchar, album_number varchar, PRIMARY KEY (chinese__traditional_))", + "answer": "select count(chinese__traditional_) from table_1893815_1 where album_number = \"6th\"" + }, + { + "question": "what is teaching language where the focus is auditing?", + "context": "create table table_12591022_2 (teaching_language varchar, focus varchar, PRIMARY KEY (teaching_language))", + "answer": "select teaching_language from table_12591022_2 where focus = \"auditing\"" + }, + { + "question": "What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies.", + "context": "create table has_allergy (allergy varchar, stuid varchar, PRIMARY KEY (allergy)); create table student (stuid varchar, fname varchar, PRIMARY KEY (stuid)); create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy))", + "answer": "select t1.allergy, t1.allergytype from allergy_type as t1 join has_allergy as t2 on t1.allergy = t2.allergy join student as t3 on t3.stuid = t2.stuid where t3.fname = \"lisa\" order by t1.allergy" + }, + { + "question": "List the highest number of assists when zaza pachulia (6) had the most rebounds.", + "context": "create table table_27734577_2 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_27734577_2 where high_rebounds = \"zaza pachulia (6)\"" + }, + { + "question": "Name the vertical for \u660e\u52fe\uff08ys\u6708\u5357\uff09", + "context": "create table table_25519358_1 (vertical_0_b varchar, horizontal_0_a varchar, PRIMARY KEY (vertical_0_b))", + "answer": "select vertical_0_b from table_25519358_1 where horizontal_0_a = \"\u660e\u52fe\uff08ys\u6708\u5357\uff09\"" + }, + { + "question": "The stamp was 39\u00a2, who was the printer?", + "context": "create table table_15635768_1 (printer varchar, face_value varchar, PRIMARY KEY (printer))", + "answer": "select printer from table_15635768_1 where face_value = \"39\u00a2\"" + }, + { + "question": "Show the most common builder of railways.", + "context": "create table railway (builder varchar, PRIMARY KEY (builder))", + "answer": "select builder from railway group by builder order by count(*) desc limit 1" + }, + { + "question": "How many sets of presenters are there for the version of the show named Celebrity Masterchef?", + "context": "create table table_28190363_1 (presenter_s_ varchar, name varchar, PRIMARY KEY (presenter_s_))", + "answer": "select count(presenter_s_) from table_28190363_1 where name = \"celebrity masterchef\"" + }, + { + "question": "Name the religion that has a growth rate of 1.56%", + "context": "create table table_28137918_5 (religion varchar, growth_rate varchar, PRIMARY KEY (religion))", + "answer": "select religion from table_28137918_5 where growth_rate = \"1.56%\"" + }, + { + "question": "What date did the episode with Andy Murray as Jamie and John's guest first broadcast?", + "context": "create table table_29141354_4 (first_broadcast varchar, jamie_and_johns_guest varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_29141354_4 where jamie_and_johns_guest = \"andy murray\"" + }, + { + "question": "Name the iso for chungcheongnam", + "context": "create table table_160510_5 (iso varchar, rr_romaja varchar, PRIMARY KEY (iso))", + "answer": "select iso from table_160510_5 where rr_romaja = \"chungcheongnam\"" + }, + { + "question": "What country has the Sky Calcio 2 tv service?", + "context": "create table table_15887683_4 (country varchar, television_service varchar, PRIMARY KEY (country))", + "answer": "select country from table_15887683_4 where television_service = \"sky calcio 2\"" + }, + { + "question": "How many womens doubles had champions the years broddi kristj\u00e1nsson dr\u00edfa har\u00f0ard\u00f3ttir won mixed doubles", + "context": "create table table_14903999_1 (womens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select count(womens_doubles) from table_14903999_1 where mixed_doubles = \"broddi kristj\u00e1nsson dr\u00edfa har\u00f0ard\u00f3ttir\"" + }, + { + "question": "What are the names , themes , and number of singers for every concert ?", + "context": "create table singer_in_concert (concert_id varchar, PRIMARY KEY (concert_id)); create table concert (concert_name varchar, theme varchar, concert_id varchar, PRIMARY KEY (concert_name))", + "answer": "select t2.concert_name, t2.theme, count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id" + }, + { + "question": "Find the name of department has the highest amount of students?", + "context": "create table student (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select dept_name from student group by dept_name order by count(*) desc limit 1" + }, + { + "question": "how many\u00a0numer of jamaicans granted british citizenship\u00a0with\u00a0naturalisation by marriage\u00a0being 1060", + "context": "create table table_11214212_1 (numer_of_jamaicans_granted_british_citizenship varchar, naturalisation_by_marriage varchar, PRIMARY KEY (numer_of_jamaicans_granted_british_citizenship))", + "answer": "select count(numer_of_jamaicans_granted_british_citizenship) from table_11214212_1 where naturalisation_by_marriage = 1060" + }, + { + "question": "What are the students' first names who have both cats and dogs as pets?", + "context": "create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid))", + "answer": "select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'" + }, + { + "question": "Find the id of the item whose title is \"orange\".", + "context": "create table item (i_id varchar, title varchar, PRIMARY KEY (i_id))", + "answer": "select i_id from item where title = \"orange\"" + }, + { + "question": "what's\u00a0airdate\u00a0with\u00a0international destination\u00a0being scotland", + "context": "create table table_13036251_1 (airdate varchar, international_destination varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_13036251_1 where international_destination = \"scotland\"" + }, + { + "question": "When nanhai \u5357\u6d77 is the commandery what is the commandery capital?", + "context": "create table table_278229_1 (commandery varchar, PRIMARY KEY (commandery))", + "answer": "select commandery as capital from table_278229_1 where commandery = \"nanhai \u5357\u6d77\"" + }, + { + "question": "Which contestant was sponsored by Yogurt Vita Slim?", + "context": "create table table_28062822_3 (contestant varchar, sponsor varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_28062822_3 where sponsor = \"yogurt vita slim\"" + }, + { + "question": "What is the station type of DWZM-TV?", + "context": "create table table_24673888_1 (station_type varchar, callsign varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_24673888_1 where callsign = \"dwzm-tv\"" + }, + { + "question": "What is the local sources for property taxes of 11,631,227?", + "context": "create table table_11608735_3 (other_local_sources varchar, property_taxes varchar, PRIMARY KEY (other_local_sources))", + "answer": "select other_local_sources from table_11608735_3 where property_taxes = \"11,631,227\"" + }, + { + "question": "How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa?", + "context": "create table table_20935975_1 (moto2_winner varchar, PRIMARY KEY (moto2_winner))", + "answer": "select count(125 as cc_winner) from table_20935975_1 where moto2_winner = \"shoya tomizawa\"" + }, + { + "question": "If the special weapon is glass egg, what is the close ranged weapon?", + "context": "create table table_27704991_1 (close_ranged_weapons varchar, special_weapon varchar, PRIMARY KEY (close_ranged_weapons))", + "answer": "select close_ranged_weapons from table_27704991_1 where special_weapon = \"glass egg\"" + }, + { + "question": "What is the main service for the station with 14.849 million passengers 2011-12?", + "context": "create table table_18118221_1 (main_services varchar, total_passengers__millions__2011_12 varchar, PRIMARY KEY (main_services))", + "answer": "select main_services from table_18118221_1 where total_passengers__millions__2011_12 = \"14.849\"" + }, + { + "question": "What were the wounded for complement of 46 off 656 men?", + "context": "create table table_11793221_4 (wounded varchar, complement varchar, PRIMARY KEY (wounded))", + "answer": "select wounded from table_11793221_4 where complement = \"46 off 656 men\"" + }, + { + "question": "What was the average speed where lap four's time was 22.9049?", + "context": "create table table_23018775_3 (avg_speed varchar, lap_four varchar, PRIMARY KEY (avg_speed))", + "answer": "select avg_speed from table_23018775_3 where lap_four = \"22.9049\"" + }, + { + "question": "Name the mens singles for jeliazko valkov dobrinka peneva", + "context": "create table table_14903491_1 (mens_singles varchar, mixed_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_14903491_1 where mixed_doubles = \"jeliazko valkov dobrinka peneva\"" + }, + { + "question": "What is the name of the player from Maylands, Western Australia?", + "context": "create table table_24501530_1 (candidate varchar, hometown varchar, PRIMARY KEY (candidate))", + "answer": "select candidate from table_24501530_1 where hometown = \"maylands, western australia\"" + }, + { + "question": "How many parties are named the Center Alliance", + "context": "create table table_203802_2 (english_party_name varchar, PRIMARY KEY (english_party_name))", + "answer": "select count(2013 as _parliamentary_election) from table_203802_2 where english_party_name = \"center alliance\"" + }, + { + "question": "Where is longview high school", + "context": "create table table_11677691_8 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_8 where school = \"longview high school\"" + }, + { + "question": "How many transcripts are released?", + "context": "create table transcripts (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from transcripts" + }, + { + "question": "How many entries are there for high rebounds when high points is inge \u2013 19?", + "context": "create table table_30054758_3 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_30054758_3 where high_points = \"inge \u2013 19\"" + }, + { + "question": "What's the Croatian word for Saturday?", + "context": "create table table_1277350_5 (saturday_sixth_day varchar, day__see_irregularities__ varchar, PRIMARY KEY (saturday_sixth_day))", + "answer": "select saturday_sixth_day from table_1277350_5 where day__see_irregularities__ = \"croatian\"" + }, + { + "question": "What was the connection speed when launched on 07.06.2005?", + "context": "create table table_19246_1 (connection_speed varchar, launch_date__ddmmyyyy_ varchar, PRIMARY KEY (connection_speed))", + "answer": "select connection_speed from table_19246_1 where launch_date__ddmmyyyy_ = \"07.06.2005\"" + }, + { + "question": "Find the number of different departments in each school whose number of different departments is less than 5.", + "context": "create table department (school_code varchar, dept_name varchar, PRIMARY KEY (school_code))", + "answer": "select count(distinct dept_name), school_code from department group by school_code having count(distinct dept_name) < 5" + }, + { + "question": "What is the total number of January (\u00b0C) temperatures when the July (\u00b0C) temperatures were 23/15?", + "context": "create table table_21980_1 (january__ varchar, july__\u00b0c_ varchar, PRIMARY KEY (january__))", + "answer": "select count(january__) as \u00b0c_ from table_21980_1 where july__\u00b0c_ = \"23/15\"" + }, + { + "question": "Who was the opponent in the Women's Cup 0 0 where Branc\u00e3o Couto 0 is the scorer?", + "context": "create table table_27654988_1 (opponent varchar, competition varchar, scorers varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_27654988_1 where competition = \"women's cup 0 0\" and scorers = \"branc\u00e3o couto 0\"" + }, + { + "question": "What is the lowest SOL?", + "context": "create table table_1888157_1 (sol integer, PRIMARY KEY (sol))", + "answer": "select min(sol) from table_1888157_1" + }, + { + "question": "How many allergies have type animal?", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select count(*) from allergy_type where allergytype = \"animal\"" + }, + { + "question": "Name the total number of runner up a for perambalur", + "context": "create table table_22754310_1 (runner_up_a varchar, constituency varchar, PRIMARY KEY (runner_up_a))", + "answer": "select count(runner_up_a) from table_22754310_1 where constituency = \"perambalur\"" + }, + { + "question": "Find the first names of students whose first names contain letter \"a\".", + "context": "create table student (fname varchar, PRIMARY KEY (fname))", + "answer": "select distinct fname from student where fname like '%a%'" + }, + { + "question": "Which city has the cincinnati hockey website?", + "context": "create table table_16384648_2 (location varchar, team_website varchar, PRIMARY KEY (location))", + "answer": "select location from table_16384648_2 where team_website = \"cincinnati hockey\"" + }, + { + "question": "Name the population in 1931 for lubelskie", + "context": "create table table_14245_3 (population__1931__in_1 varchar, voivodeship_or_city varchar, PRIMARY KEY (population__1931__in_1))", + "answer": "select population__1931__in_1, 000 as s from table_14245_3 where voivodeship_or_city = \"lubelskie\"" + }, + { + "question": "What's the animals name when the genus/species is rattus norvegicus?", + "context": "create table table_15417439_1 (common_name varchar, genus_species varchar, PRIMARY KEY (common_name))", + "answer": "select common_name from table_15417439_1 where genus_species = \"rattus norvegicus\"" + }, + { + "question": "How many episodes originally aired on August 31, 1995?", + "context": "create table table_11951237_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_11951237_2 where original_air_date = \"august 31, 1995\"" + }, + { + "question": "What is the title of the episode whose original airdate is April 23, 2010?", + "context": "create table table_26982362_2 (title varchar, original_airdate varchar, PRIMARY KEY (title))", + "answer": "select title from table_26982362_2 where original_airdate = \"april 23, 2010\"" + }, + { + "question": "Name the number of headphone class for sr100", + "context": "create table table_1601027_2 (headphone_class varchar, headphone_model varchar, PRIMARY KEY (headphone_class))", + "answer": "select count(headphone_class) from table_1601027_2 where headphone_model = \"sr100\"" + }, + { + "question": "What was the number of athletes for the 7th edition?", + "context": "create table table_26669939_1 (no_of_athletes varchar, edition varchar, PRIMARY KEY (no_of_athletes))", + "answer": "select no_of_athletes from table_26669939_1 where edition = \"7th\"" + }, + { + "question": "How many players enter hall of fame each year?", + "context": "create table hall_of_fame (yearid varchar, PRIMARY KEY (yearid))", + "answer": "select yearid, count(*) from hall_of_fame group by yearid" + }, + { + "question": "Which destination has least number of flights?", + "context": "create table flight (destination varchar, PRIMARY KEY (destination))", + "answer": "select destination from flight group by destination order by count(*) limit 1" + }, + { + "question": "In what industry was the company that had 89.16 billions of dollars in sales?", + "context": "create table table_1682026_7 (industry varchar, sales__billion_$_ varchar, PRIMARY KEY (industry))", + "answer": "select industry from table_1682026_7 where sales__billion_$_ = \"89.16\"" + }, + { + "question": "What are the highest mbit/s when the dbm is +17.5?", + "context": "create table table_2394927_1 (max_downstream_throughput___mbit_s__ varchar, power___dbm__ varchar, PRIMARY KEY (max_downstream_throughput___mbit_s__))", + "answer": "select max_downstream_throughput___mbit_s__ from table_2394927_1 where power___dbm__ = \"+17.5\"" + }, + { + "question": "What is the description of the marketing region China?", + "context": "create table marketing_regions (marketing_region_descriptrion varchar, marketing_region_name varchar, PRIMARY KEY (marketing_region_descriptrion))", + "answer": "select marketing_region_descriptrion from marketing_regions where marketing_region_name = \"china\"" + }, + { + "question": "Name the number of pinyin where simplified is \u6cb3\u897f\u533a", + "context": "create table table_1638437_2 (pinyin varchar, simplified varchar, PRIMARY KEY (pinyin))", + "answer": "select count(pinyin) from table_1638437_2 where simplified = \"\u6cb3\u897f\u533a\"" + }, + { + "question": "How many political parties had a %2006 rating of 43.5?", + "context": "create table table_21132404_1 (political_parties varchar, _percentage_2006 varchar, PRIMARY KEY (political_parties))", + "answer": "select count(political_parties) from table_21132404_1 where _percentage_2006 = \"43.5\"" + }, + { + "question": "What was the highest home total?", + "context": "create table table_27094070_4 (home_total integer, PRIMARY KEY (home_total))", + "answer": "select max(home_total) from table_27094070_4" + }, + { + "question": "Who was eliminated when immunity went to kent (j\u00fcrgen)?", + "context": "create table table_25016824_2 (eliminated varchar, immunity varchar, PRIMARY KEY (eliminated))", + "answer": "select eliminated from table_25016824_2 where immunity = \"kent (j\u00fcrgen)\"" + }, + { + "question": "What is the P for the player moving from Everton?", + "context": "create table table_17596418_4 (p varchar, moving_from varchar, PRIMARY KEY (p))", + "answer": "select p from table_17596418_4 where moving_from = \"everton\"" + }, + { + "question": "What type of settlement is \u043e\u0440\u043e\u043c (hungarian: orom)?", + "context": "create table table_2562572_33 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_33 where cyrillic_name_other_names = \"\u043e\u0440\u043e\u043c (hungarian: orom)\"" + }, + { + "question": "If the equation is (10 times 1) + 3, what is the 2nd throw?", + "context": "create table table_17265535_6 (equation varchar, PRIMARY KEY (equation))", + "answer": "select max(2 as nd_throw) from table_17265535_6 where equation = \"(10 times 1) + 3\"" + }, + { + "question": "Show last names for all student who are on scholarship.", + "context": "create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table sportsinfo (stuid varchar, onscholarship varchar, PRIMARY KEY (stuid))", + "answer": "select t2.lname from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid where t1.onscholarship = 'y'" + }, + { + "question": "What was the 2nd leg score if the team 1 is Deportivo Pasto?", + "context": "create table table_27603010_14 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 2 as nd_leg from table_27603010_14 where team__number1 = \"deportivo pasto\"" + }, + { + "question": "what is romanian when nuorese sardinian is [\u02c8kantaza]?", + "context": "create table table_25401_2 (romanian varchar, nuorese_sardinian varchar, PRIMARY KEY (romanian))", + "answer": "select romanian from table_25401_2 where nuorese_sardinian = \"[\u02c8kantaza]\"" + }, + { + "question": "What are the numbers of wines for different grapes?", + "context": "create table wine (grape varchar, PRIMARY KEY (grape))", + "answer": "select count(*), grape from wine group by grape" + }, + { + "question": "When steve mcclaren is the replacer what is the manner of departure?", + "context": "create table table_24162080_3 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_24162080_3 where replaced_by = \"steve mcclaren\"" + }, + { + "question": "Which University's soccer stadium in named Moncton Stadium?", + "context": "create table table_27369069_1 (university varchar, soccer_stadium varchar, PRIMARY KEY (university))", + "answer": "select university from table_27369069_1 where soccer_stadium = \"moncton stadium\"" + }, + { + "question": "How many flights have destination ATO?", + "context": "create table flights (destairport varchar, PRIMARY KEY (destairport))", + "answer": "select count(*) from flights where destairport = \"ato\"" + }, + { + "question": "What vote passed for the measure with the description, authorizing state acceptance of certain gifts?", + "context": "create table table_256286_40 (passed varchar, description varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_40 where description = \"authorizing state acceptance of certain gifts\"" + }, + { + "question": "What's the wold ranking of the index by Transparency International?", + "context": "create table table_19948664_1 (world_ranking__1_ varchar, author___editor___source varchar, PRIMARY KEY (world_ranking__1_))", + "answer": "select world_ranking__1_ from table_19948664_1 where author___editor___source = \"transparency international\"" + }, + { + "question": "what is redskins (score) against tennessee titans 27", + "context": "create table table_20074209_1 (redskins__score_ varchar, opponent__score_ varchar, PRIMARY KEY (redskins__score_))", + "answer": "select redskins__score_ from table_20074209_1 where opponent__score_ = \"tennessee titans 27\"" + }, + { + "question": "How many high schoolers are there?", + "context": "create table highschooler (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from highschooler" + }, + { + "question": "what is the total number of\u00a0publisher\u00a0where\u00a0cover date\u00a0is may 1939", + "context": "create table table_1217448_1 (publisher varchar, cover_date varchar, PRIMARY KEY (publisher))", + "answer": "select count(publisher) from table_1217448_1 where cover_date = \"may 1939\"" + }, + { + "question": "Find the names of all the customers and staff members.", + "context": "create table staff (customer_details varchar, staff_details varchar, PRIMARY KEY (customer_details)); create table customers (customer_details varchar, staff_details varchar, PRIMARY KEY (customer_details))", + "answer": "select customer_details from customers union select staff_details from staff" + }, + { + "question": "What location is nicknamed the 49ers?", + "context": "create table table_255188_3 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_255188_3 where nickname = \"49ers\"" + }, + { + "question": "What is the sockets associated with a brand name of Core i3-3xx0m?", + "context": "create table table_24538587_11 (socket varchar, brand_name__list_ varchar, PRIMARY KEY (socket))", + "answer": "select socket from table_24538587_11 where brand_name__list_ = \"core i3-3xx0m\"" + }, + { + "question": "What school is located in Huntsville, Texas?", + "context": "create table table_28243691_2 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_28243691_2 where location = \"huntsville, texas\"" + }, + { + "question": "How many solar eclipse on June 10-11, while November 3 is 153?", + "context": "create table table_25287007_2 (june_10_11 varchar, november_3 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25287007_2 where november_3 = \"153\"" + }, + { + "question": "what's the\u00a0electorate\u00a0where\u00a0election date\u00a0is 16 cannot handle non-empty timestamp argument!", + "context": "create table table_1193568_1 (electorate varchar, election_date varchar, PRIMARY KEY (electorate))", + "answer": "select electorate from table_1193568_1 where election_date = \"16 cannot handle non-empty timestamp argument!\"" + }, + { + "question": "List the research staff details, and order in ascending order.", + "context": "create table research_staff (staff_details varchar, PRIMARY KEY (staff_details))", + "answer": "select staff_details from research_staff order by staff_details" + }, + { + "question": "What are the titles of episodes written by Eric Trueheart?", + "context": "create table table_29087004_3 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_29087004_3 where written_by = \"eric trueheart\"" + }, + { + "question": "When deutsche grammophon is the label how many clairons are there?", + "context": "create table table_29728787_1 (clairon varchar, label varchar, PRIMARY KEY (clairon))", + "answer": "select count(clairon) from table_29728787_1 where label = \"deutsche grammophon\"" + }, + { + "question": "When private/ nonsectarian is the the affiliation what is the team nickname?", + "context": "create table table_28211213_2 (team_nickname varchar, affiliation varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_28211213_2 where affiliation = \"private/ nonsectarian\"" + }, + { + "question": "who ended runner-up to sankar adhi?", + "context": "create table table_22757733_4 (runner_up_a varchar, winner varchar, PRIMARY KEY (runner_up_a))", + "answer": "select runner_up_a from table_22757733_4 where winner = \"sankar adhi\"" + }, + { + "question": "Srdjan Dragojevic worked on a film which earned what nomination?", + "context": "create table table_10236830_4 (nomination varchar, director varchar, PRIMARY KEY (nomination))", + "answer": "select nomination from table_10236830_4 where director = \"srdjan dragojevic\"" + }, + { + "question": "List names of conductors in descending order of years of work.", + "context": "create table conductor (name varchar, year_of_work varchar, PRIMARY KEY (name))", + "answer": "select name from conductor order by year_of_work desc" + }, + { + "question": "What type is the settlement of Lok?", + "context": "create table table_2562572_19 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_19 where settlement = \"lok\"" + }, + { + "question": "Name the tournament venue for big sky conference", + "context": "create table table_22849575_6 (tournament_venue__city_ varchar, conference varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_22849575_6 where conference = \"big sky conference\"" + }, + { + "question": "Who directed episodes that had 2.61 million U.S. viewers?", + "context": "create table table_11111116_7 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11111116_7 where us_viewers__million_ = \"2.61\"" + }, + { + "question": "What are all distinct country for artists?", + "context": "create table artist (country varchar, PRIMARY KEY (country))", + "answer": "select distinct country from artist" + }, + { + "question": "Who was sent to the third island in week 1?", + "context": "create table table_11764007_2 (member varchar, week_sent_to_third_island varchar, PRIMARY KEY (member))", + "answer": "select member from table_11764007_2 where week_sent_to_third_island = \"1\"" + }, + { + "question": "When belgrano is the home (1st leg) what is the home (2nd leg)?", + "context": "create table table_14219514_2 (home__2nd_leg_ varchar, home__1st_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select home__2nd_leg_ from table_14219514_2 where home__1st_leg_ = \"belgrano\"" + }, + { + "question": "When gniazdo is polish what is proto-slavic?", + "context": "create table table_26757_4 (proto_slavic varchar, polish varchar, PRIMARY KEY (proto_slavic))", + "answer": "select proto_slavic from table_26757_4 where polish = \"gniazdo\"" + }, + { + "question": "How many films are there in each category? List the genre name, genre id and the count.", + "context": "create table film_category (category_id varchar, PRIMARY KEY (category_id)); create table category (name varchar, category_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t1.category_id, count(*) from film_category as t1 join category as t2 on t1.category_id = t2.category_id group by t1.category_id" + }, + { + "question": "Who is every young rider classification when Jelle Vanendert is the winner?", + "context": "create table table_25999087_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_25999087_2 where winner = \"jelle vanendert\"" + }, + { + "question": "High points earned by Josh Howard (19) resulted in how many high rebounds?", + "context": "create table table_17288869_7 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_17288869_7 where high_points = \"josh howard (19)\"" + }, + { + "question": "What is the flange thickness (mm) for the weight (kg/m) 6.0?Wg", + "context": "create table table_2071644_1 (flange_thickness__mm_ varchar, weight__kg_m_ varchar, PRIMARY KEY (flange_thickness__mm_))", + "answer": "select flange_thickness__mm_ from table_2071644_1 where weight__kg_m_ = \"6.0\"" + }, + { + "question": "If Thursday 3 June is 20' 27.93 110.615mph, what are the names of the riders?", + "context": "create table table_25220821_3 (rider varchar, thurs_3_june varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_25220821_3 where thurs_3_june = \"20' 27.93 110.615mph\"" + }, + { + "question": "What is the name of the episode that Richard Thorpe directed?", + "context": "create table table_12564633_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_12564633_1 where directed_by = \"richard thorpe\"" + }, + { + "question": "Name the location of buffalo sabres", + "context": "create table table_23453931_5 (location varchar, opponent varchar, PRIMARY KEY (location))", + "answer": "select location from table_23453931_5 where opponent = \"buffalo sabres\"" + }, + { + "question": "What was the winning score in the tournament, ending with Birdie Kim as a runner-up?", + "context": "create table table_1940012_2 (winning_score varchar, runner_s__up varchar, PRIMARY KEY (winning_score))", + "answer": "select winning_score from table_1940012_2 where runner_s__up = \"birdie kim\"" + }, + { + "question": "What is the largest ethnic group (2002) when cyrillic name is \u0431\u0440\u0435\u0441\u0442\u0430\u0447?", + "context": "create table table_2562572_52 (largest_ethnic_group__2002_ varchar, cyrillic_name varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_52 where cyrillic_name = \"\u0431\u0440\u0435\u0441\u0442\u0430\u0447\"" + }, + { + "question": "Who is the head coach of the team who's venue is Lokomotiv?", + "context": "create table table_20140132_1 (head_coach varchar, venue varchar, PRIMARY KEY (head_coach))", + "answer": "select head_coach from table_20140132_1 where venue = \"lokomotiv\"" + }, + { + "question": "What was the overall record of UMBC?", + "context": "create table table_16295365_1 (record varchar, school varchar, PRIMARY KEY (record))", + "answer": "select record from table_16295365_1 where school = \"umbc\"" + }, + { + "question": "Which province has the soccer stadium that holds 4,000 people?", + "context": "create table table_27369069_1 (province varchar, stadium_capacity varchar, PRIMARY KEY (province))", + "answer": "select province from table_27369069_1 where stadium_capacity = \"4,000\"" + }, + { + "question": "What is the total number of capitals that have an area of exactly 1104 square km?", + "context": "create table table_19605700_1 (capital varchar, area_km\u00b2 varchar, PRIMARY KEY (capital))", + "answer": "select count(capital) from table_19605700_1 where area_km\u00b2 = 1104" + }, + { + "question": "How many victors where there in the War of 1730\u20131736 , first stage?", + "context": "create table table_24706337_1 (victor varchar, name_of_the_war varchar, PRIMARY KEY (victor))", + "answer": "select count(victor) from table_24706337_1 where name_of_the_war = \"war of 1730\u20131736 , first stage\"" + }, + { + "question": "What is Briar Cliff University's nickname?", + "context": "create table table_262508_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_262508_1 where institution = \"briar cliff university\"" + }, + { + "question": "What are the student ids of students who don't have any allergies?", + "context": "create table has_allergy (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student except select stuid from has_allergy" + }, + { + "question": "What is the trans 2 duration if the biking stage is covered within 58:20?", + "context": "create table table_17085947_32 (trans_2 varchar, bike__40km_ varchar, PRIMARY KEY (trans_2))", + "answer": "select trans_2 from table_17085947_32 where bike__40km_ = \"58:20\"" + }, + { + "question": "What is the density in Garran?", + "context": "create table table_1174162_1 (density___km\u00b2_ integer, suburb varchar, PRIMARY KEY (density___km\u00b2_))", + "answer": "select min(density___km\u00b2_) from table_1174162_1 where suburb = \"garran\"" + }, + { + "question": "Who is the team with the ft% of 77.6?", + "context": "create table table_20107762_1 (team varchar, ft_percentage varchar, PRIMARY KEY (team))", + "answer": "select team from table_20107762_1 where ft_percentage = \"77.6\"" + }, + { + "question": "What is Peter Gregg Hurley Haywood's results?", + "context": "create table table_13657749_2 (results varchar, gto_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_13657749_2 where gto_winning_team = \"peter gregg hurley haywood\"" + }, + { + "question": "What is the Liscumb when Gauthier is 34?", + "context": "create table table_11447995_2 (liscumb varchar, gauthier varchar, PRIMARY KEY (liscumb))", + "answer": "select liscumb from table_11447995_2 where gauthier = \"34\"" + }, + { + "question": "What circuit did Clay Regazzoni win?", + "context": "create table table_1140090_6 (circuit varchar, winning_driver varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_1140090_6 where winning_driver = \"clay regazzoni\"" + }, + { + "question": "When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?", + "context": "create table table_29289372_1 (population__2010_ varchar, income_classification varchar, city_municipality varchar, PRIMARY KEY (population__2010_))", + "answer": "select count(population__2010_) from table_29289372_1 where income_classification = \"1st class\" and city_municipality = \"itogon, benguet\"" + }, + { + "question": "What are the names of the states where at least 3 heads were born?", + "context": "create table head (born_state varchar, PRIMARY KEY (born_state))", + "answer": "select born_state from head group by born_state having count(*) >= 3" + }, + { + "question": "How many breadth entries are there when propulsion is jet?", + "context": "create table table_28132970_5 (breadth varchar, propulsion varchar, PRIMARY KEY (breadth))", + "answer": "select count(breadth) from table_28132970_5 where propulsion = \"jet\"" + }, + { + "question": "What are the public schools with a master's university?", + "context": "create table table_2076595_1 (location_s_ varchar, control varchar, type varchar, PRIMARY KEY (location_s_))", + "answer": "select location_s_ from table_2076595_1 where control = \"public\" and type = \"master's university\"" + }, + { + "question": "Name the class aaaaa for 2005-06", + "context": "create table table_14601528_2 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa))", + "answer": "select class_aaaaa from table_14601528_2 where school_year = \"2005-06\"" + }, + { + "question": "How many phones are there?", + "context": "create table phone (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from phone" + }, + { + "question": "Show me the departure date and arrival date for all flights from Los Angeles to Honolulu.", + "context": "create table flight (departure_date varchar, arrival_date varchar, origin varchar, destination varchar, PRIMARY KEY (departure_date))", + "answer": "select departure_date, arrival_date from flight where origin = \"los angeles\" and destination = \"honolulu\"" + }, + { + "question": "Whats the season/episode of segment a digital dentistry", + "context": "create table table_15187735_16 (netflix varchar, segment_a varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_16 where segment_a = \"digital dentistry\"" + }, + { + "question": "What are the percentages in 2001 in all the provinces where the percentage in 2011 is 0.2%?", + "context": "create table table_1939405_2 (_percentage_2001 varchar, _percentage_2011 varchar, PRIMARY KEY (_percentage_2001))", + "answer": "select _percentage_2001 from table_1939405_2 where _percentage_2011 = \"0.2%\"" + }, + { + "question": "What are the country codes for countries that do not speak English?", + "context": "create table countrylanguage (countrycode varchar, language varchar, PRIMARY KEY (countrycode))", + "answer": "select countrycode from countrylanguage except select countrycode from countrylanguage where language = \"english\"" + }, + { + "question": "If the aircraft was ussr mig-25 rb how many were destroyed?", + "context": "create table table_1817852_1 (destroyed varchar, aircraft varchar, PRIMARY KEY (destroyed))", + "answer": "select destroyed from table_1817852_1 where aircraft = \"ussr mig-25 rb\"" + }, + { + "question": "What is the most recent census year?", + "context": "create table table_1532779_1 (census_year integer, PRIMARY KEY (census_year))", + "answer": "select max(census_year) from table_1532779_1" + }, + { + "question": "List the name of tracks belongs to genre Rock or media type is MPEG audio file.", + "context": "create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, media_type_id varchar, PRIMARY KEY (name)); create table media_types (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id join media_types as t3 on t3.id = t2.media_type_id where t1.name = \"rock\" or t3.name = \"mpeg audio file\"" + }, + { + "question": "What is the y = 2008 when y = 2011 is a = 3?", + "context": "create table table_214479_8 (y_ varchar, _2008 varchar, a varchar, _2011 varchar, PRIMARY KEY (y_))", + "answer": "select y_ = _2008 from table_214479_8 where y_ = _2011 = a = 3" + }, + { + "question": "Name the transliteration for \u0d1a\u0d3f\u0d19\u0d4d\u0d19\u0d02", + "context": "create table table_20354_7 (transliteration varchar, malayalam_name varchar, PRIMARY KEY (transliteration))", + "answer": "select transliteration from table_20354_7 where malayalam_name = \"\u0d1a\u0d3f\u0d19\u0d4d\u0d19\u0d02\"" + }, + { + "question": "Show ids of students who play video game and play sports.", + "context": "create table plays_games (stuid varchar, PRIMARY KEY (stuid)); create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from sportsinfo intersect select stuid from plays_games" + }, + { + "question": "When persikos sorong city played in group 11, who played in group 7?", + "context": "create table table_19523142_5 (group_7 varchar, group_11 varchar, PRIMARY KEY (group_7))", + "answer": "select group_7 from table_19523142_5 where group_11 = \"persikos sorong city\"" + }, + { + "question": "What is the Japanese orthography for the English name National Farmers Academy?", + "context": "create table table_11390711_4 (japanese_orthography varchar, english_name varchar, PRIMARY KEY (japanese_orthography))", + "answer": "select japanese_orthography from table_11390711_4 where english_name = \"national farmers academy\"" + }, + { + "question": "What city and state are the miners located in?", + "context": "create table table_11044765_1 (location varchar, mascot varchar, PRIMARY KEY (location))", + "answer": "select location from table_11044765_1 where mascot = \"miners\"" + }, + { + "question": "Name the most households", + "context": "create table table_21310575_2 (households integer, PRIMARY KEY (households))", + "answer": "select max(households) from table_21310575_2" + }, + { + "question": "What is the name of the school where the year of last win is 1985-86?", + "context": "create table table_14286908_1 (school varchar, year_of_last_win varchar, PRIMARY KEY (school))", + "answer": "select school from table_14286908_1 where year_of_last_win = \"1985-86\"" + }, + { + "question": "If the language is only native, what is the percentage of the San Antonio de Lomerio municipality?", + "context": "create table table_19998428_3 (san_antonio_de_lomer\u00edo_municipality___percentage_ varchar, language varchar, PRIMARY KEY (san_antonio_de_lomer\u00edo_municipality___percentage_))", + "answer": "select san_antonio_de_lomer\u00edo_municipality___percentage_ from table_19998428_3 where language = \"only native\"" + }, + { + "question": "Which staff have contacted which engineers? List the staff name and the engineer first name and last name.", + "context": "create table engineer_visits (contact_staff_id varchar, engineer_id varchar, PRIMARY KEY (contact_staff_id)); create table staff (staff_name varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table maintenance_engineers (first_name varchar, last_name varchar, engineer_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.staff_name, t3.first_name, t3.last_name from staff as t1 join engineer_visits as t2 on t1.staff_id = t2.contact_staff_id join maintenance_engineers as t3 on t2.engineer_id = t3.engineer_id" + }, + { + "question": "Name the fuel gas for upper index mj/nm3 for 92.32", + "context": "create table table_1868929_1 (fuel_gas varchar, upper_index_mj__nm_3 varchar, PRIMARY KEY (fuel_gas))", + "answer": "select fuel_gas from table_1868929_1 where upper_index_mj__nm_3 = \"92.32\"" + }, + { + "question": "For each file format, return the number of artists who released songs in that format.", + "context": "create table files (formats varchar, PRIMARY KEY (formats))", + "answer": "select count(*), formats from files group by formats" + }, + { + "question": "What is the 1st participle of the verb whose 4th participle is haitans?", + "context": "create table table_1745843_5 (part_1 varchar, part_4 varchar, PRIMARY KEY (part_1))", + "answer": "select part_1 from table_1745843_5 where part_4 = \"haitans\"" + }, + { + "question": "Who is in group c when iowa is in group e?", + "context": "create table table_15290638_1 (group_c varchar, group_e varchar, PRIMARY KEY (group_c))", + "answer": "select group_c from table_15290638_1 where group_e = \"iowa\"" + }, + { + "question": "Who ran in the district elections won by Tom Petri?", + "context": "create table table_1341423_49 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341423_49 where incumbent = \"tom petri\"" + }, + { + "question": "Show the most common college of authors of submissions.", + "context": "create table submission (college varchar, PRIMARY KEY (college))", + "answer": "select college from submission group by college order by count(*) desc limit 1" + }, + { + "question": "What is the title of the episode directed by Linda Mendoza?", + "context": "create table table_25548505_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25548505_1 where directed_by = \"linda mendoza\"" + }, + { + "question": "List the distinct director of all films.", + "context": "create table film (director varchar, PRIMARY KEY (director))", + "answer": "select distinct director from film" + }, + { + "question": "When the lead margin was 35, what were the Democrat: Vivian Davis Figures?", + "context": "create table table_16751596_12 (democrat varchar, lead_margin varchar, PRIMARY KEY (democrat))", + "answer": "select democrat as :_vivian_davis_figures from table_16751596_12 where lead_margin = 35" + }, + { + "question": "Who wrote the episode that David Tucker directed?", + "context": "create table table_15026994_3 (writer varchar, director varchar, PRIMARY KEY (writer))", + "answer": "select count(writer) from table_15026994_3 where director = \"david tucker\"" + }, + { + "question": "Where was d: ~100nm, l: 1 \u03bcm geometry researched?", + "context": "create table table_30057479_1 (researched_at varchar, geometry varchar, PRIMARY KEY (researched_at))", + "answer": "select researched_at from table_30057479_1 where geometry = \"d: ~100nm, l: 1 \u03bcm\"" + }, + { + "question": "Where was the quake that began at 14:07?", + "context": "create table table_25643046_1 (location varchar, origin_time varchar, PRIMARY KEY (location))", + "answer": "select location from table_25643046_1 where origin_time = \"14:07\"" + }, + { + "question": "When boston university is the team what is the record?", + "context": "create table table_29846807_5 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_29846807_5 where team = \"boston university\"" + }, + { + "question": "What was the winning score for the tournament with runner-up Rory Sabbatini?", + "context": "create table table_1602858_1 (winning_score varchar, runner_s__up varchar, PRIMARY KEY (winning_score))", + "answer": "select winning_score from table_1602858_1 where runner_s__up = \"rory sabbatini\"" + }, + { + "question": "If in English it's house, what is it in proto-semitic?", + "context": "create table table_26919_7 (proto_semitic varchar, english varchar, PRIMARY KEY (proto_semitic))", + "answer": "select proto_semitic from table_26919_7 where english = \"house\"" + }, + { + "question": "Who were all the pictorials when the centerfold model was Rebekka Armstrong?", + "context": "create table table_1566848_7 (pictorials varchar, centerfold_model varchar, PRIMARY KEY (pictorials))", + "answer": "select count(pictorials) from table_1566848_7 where centerfold_model = \"rebekka armstrong\"" + }, + { + "question": "Which QB had a rating of 72.3?", + "context": "create table table_19418696_3 (name varchar, qb_rating varchar, PRIMARY KEY (name))", + "answer": "select name from table_19418696_3 where qb_rating = \"72.3\"" + }, + { + "question": "How many conductors are there?", + "context": "create table conductor (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from conductor" + }, + { + "question": "For what year is the type of record 'total attendance-regular season?", + "context": "create table table_21436373_5 (date_year varchar, type_of_record varchar, PRIMARY KEY (date_year))", + "answer": "select date_year from table_21436373_5 where type_of_record = \"total attendance-regular season\"" + }, + { + "question": "Who had the fastest lap in the races won by Max Papis?", + "context": "create table table_11056278_3 (fastest_lap varchar, winning_driver varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_11056278_3 where winning_driver = \"max papis\"" + }, + { + "question": "What is the most amount of points any team had in round 4?", + "context": "create table table_24784769_1 (round4 integer, PRIMARY KEY (round4))", + "answer": "select max(round4) from table_24784769_1" + }, + { + "question": "What is the panchayat when the public property damage was 1,03,049.60", + "context": "create table table_20403667_2 (panchayat integer, public_property_damaged__in_lakh_inr__ varchar, PRIMARY KEY (panchayat))", + "answer": "select max(panchayat) from table_20403667_2 where public_property_damaged__in_lakh_inr__ = \"1,03,049.60\"" + }, + { + "question": "Who was the under-15 when Moises Galvez\twas the under-17?", + "context": "create table table_26368963_1 (under_15 varchar, under_17 varchar, PRIMARY KEY (under_15))", + "answer": "select under_15 from table_26368963_1 where under_17 = \"moises galvez\"" + }, + { + "question": "List the states that have entry times of 49years, 29days", + "context": "create table table_24415627_2 (state_served varchar, time_since_entry varchar, PRIMARY KEY (state_served))", + "answer": "select state_served from table_24415627_2 where time_since_entry = \"49years, 29days\"" + }, + { + "question": "List the wheels and locations of the railways.", + "context": "create table railway (wheels varchar, location varchar, PRIMARY KEY (wheels))", + "answer": "select wheels, location from railway" + }, + { + "question": "How many wheels does the train owned by Texas and New Orleans Railroad #319 have?", + "context": "create table table_1057316_1 (wheel_arrangement___whyte_notation__ varchar, operational_owner_s_ varchar, PRIMARY KEY (wheel_arrangement___whyte_notation__))", + "answer": "select count(wheel_arrangement___whyte_notation__) from table_1057316_1 where operational_owner_s_ = \"texas and new orleans railroad #319\"" + }, + { + "question": "What are the meanings of the flag whose name transliterates to dvojka?", + "context": "create table table_29997112_3 (meaning varchar, transliteration varchar, PRIMARY KEY (meaning))", + "answer": "select meaning from table_29997112_3 where transliteration = \"dvojka\"" + }, + { + "question": "where are dragons used as mascots?", + "context": "create table table_2439728_1 (location varchar, mascot varchar, PRIMARY KEY (location))", + "answer": "select location from table_2439728_1 where mascot = \"dragons\"" + }, + { + "question": "With theme the Year They Were Born, what is the song of choice?", + "context": "create table table_21501565_1 (song_choice varchar, theme varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_21501565_1 where theme = \"year they were born\"" + }, + { + "question": "How many times is the incoming head coach abdollah veysi?", + "context": "create table table_27383390_4 (team varchar, incoming_head_coach varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27383390_4 where incoming_head_coach = \"abdollah veysi\"" + }, + { + "question": "Name the number of color for furcifer pardalis", + "context": "create table table_175442_1 (color varchar, scientific_name varchar, PRIMARY KEY (color))", + "answer": "select count(color) from table_175442_1 where scientific_name = \"furcifer pardalis\"" + }, + { + "question": "What is the lowest overall number of 09-10 oi 2nd?", + "context": "create table table_24990183_6 (id varchar, PRIMARY KEY (id))", + "answer": "select min(09 as _10_oi_2nd) from table_24990183_6" + }, + { + "question": "Where was there a change of 6.5%?", + "context": "create table table_1425958_1 (name varchar, _percentage_change varchar, PRIMARY KEY (name))", + "answer": "select name from table_1425958_1 where _percentage_change = \"6.5\"" + }, + { + "question": "what is the fee for ankarag\u00fcc\u00fc previous club", + "context": "create table table_27998152_1 (fee varchar, previous_club varchar, PRIMARY KEY (fee))", + "answer": "select fee from table_27998152_1 where previous_club = \"ankarag\u00fcc\u00fc\"" + }, + { + "question": "Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?", + "context": "create table table_29332810_14 (young_rider_classification varchar, aggressive_rider varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_29332810_14 where aggressive_rider = \"luke durbridge\"" + }, + { + "question": "What is the completion percentage when yards per attempt was done by Steve McNair : 2003?", + "context": "create table table_19517448_3 (completion_percentage varchar, yards_per_attempt varchar, PRIMARY KEY (completion_percentage))", + "answer": "select completion_percentage from table_19517448_3 where yards_per_attempt = \"steve mcnair : 2003\"" + }, + { + "question": "How many bank branches are there?", + "context": "create table bank (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from bank" + }, + { + "question": "How much was the transfer fee when n is 2?", + "context": "create table table_22810095_8 (transfer_fee varchar, n varchar, PRIMARY KEY (transfer_fee))", + "answer": "select transfer_fee from table_22810095_8 where n = 2" + }, + { + "question": "How many different source system code for the cmi cross references are there?", + "context": "create table cmi_cross_references (source_system_code varchar, PRIMARY KEY (source_system_code))", + "answer": "select count(distinct source_system_code) from cmi_cross_references" + }, + { + "question": "How many different directors are associated with the writer Gaby Chiappe?", + "context": "create table table_15026994_2 (director varchar, writer varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_15026994_2 where writer = \"gaby chiappe\"" + }, + { + "question": "What is the number of wounded figures associated with a complement of 22 off 637 men?", + "context": "create table table_2596811_12 (wounded varchar, complement varchar, PRIMARY KEY (wounded))", + "answer": "select count(wounded) from table_2596811_12 where complement = \"22 off 637 men\"" + }, + { + "question": "What is every deduction for pyramids of 49?", + "context": "create table table_21995420_6 (deductions varchar, pyramids varchar, PRIMARY KEY (deductions))", + "answer": "select deductions from table_21995420_6 where pyramids = \"49\"" + }, + { + "question": "Name the landesliga nord for freier tus regensburg", + "context": "create table table_20181270_3 (landesliga_nord varchar, landesliga_mitte varchar, PRIMARY KEY (landesliga_nord))", + "answer": "select landesliga_nord from table_20181270_3 where landesliga_mitte = \"freier tus regensburg\"" + }, + { + "question": "what is the number of relapsing fever when malaria is 3000", + "context": "create table table_1007688_1 (relapsing_fever integer, malaria varchar, PRIMARY KEY (relapsing_fever))", + "answer": "select min(relapsing_fever) from table_1007688_1 where malaria = \"3000\"" + }, + { + "question": "Show all product names and the number of customers having an order on each product.", + "context": "create table order_items (product_id varchar, order_id varchar, PRIMARY KEY (product_id)); create table orders (order_id varchar, PRIMARY KEY (order_id)); create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "select t2.product_name, count(*) from order_items as t1 join products as t2 on t1.product_id = t2.product_id join orders as t3 on t3.order_id = t1.order_id group by t2.product_name" + }, + { + "question": "Who was the runner up when the won by 4 strokes?", + "context": "create table table_21649285_2 (runner_s__up varchar, margin_of_victory varchar, PRIMARY KEY (runner_s__up))", + "answer": "select runner_s__up from table_21649285_2 where margin_of_victory = \"4 strokes\"" + }, + { + "question": "Find the ids and names of stations from which at least 200 trips started.", + "context": "create table trip (start_station_id varchar, start_station_name varchar, PRIMARY KEY (start_station_id))", + "answer": "select start_station_id, start_station_name from trip group by start_station_name having count(*) >= 200" + }, + { + "question": "How many values were used to express the years at school of the Maryland team?", + "context": "create table table_28744929_2 (years_at_school varchar, team varchar, PRIMARY KEY (years_at_school))", + "answer": "select count(years_at_school) from table_28744929_2 where team = \"maryland\"" + }, + { + "question": "Find the names of employees who never won any award in the evaluation.", + "context": "create table evaluation (name varchar, employee_id varchar, PRIMARY KEY (name)); create table employee (name varchar, employee_id varchar, PRIMARY KEY (name))", + "answer": "select name from employee where not employee_id in (select employee_id from evaluation)" + }, + { + "question": "Name the color analyst for terry bowden and 17.2", + "context": "create table table_2724704_5 (color_analyst_s_ varchar, studio_analyst_s_ varchar, tv_rating varchar, PRIMARY KEY (color_analyst_s_))", + "answer": "select color_analyst_s_ from table_2724704_5 where studio_analyst_s_ = \"terry bowden\" and tv_rating = \"17.2\"" + }, + { + "question": "What is the id of the order which has the most items?", + "context": "create table orders (order_id varchar, PRIMARY KEY (order_id)); create table order_items (order_id varchar, PRIMARY KEY (order_id))", + "answer": "select t1.order_id from orders as t1 join order_items as t2 on t1.order_id = t2.order_id group by t1.order_id order by count(*) desc limit 1" + }, + { + "question": "What was the data on November 3, if the data on January 15-16 is January 15, 2010?", + "context": "create table table_25216791_3 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25216791_3 where january_15_16 = \"january 15, 2010\"" + }, + { + "question": "In what location were the January (\u00b0F) temperatures 30/17?", + "context": "create table table_21980_1 (location varchar, january__\u00b0f_ varchar, PRIMARY KEY (location))", + "answer": "select location from table_21980_1 where january__\u00b0f_ = \"30/17\"" + }, + { + "question": "What was the team classification where andr\u00e9 greipel was the winner and had the points classification?", + "context": "create table table_25655781_17 (team_classification varchar, winner varchar, points_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_25655781_17 where winner = \"andr\u00e9 greipel\" and points_classification = \"andr\u00e9 greipel\"" + }, + { + "question": "What was the arrival for Wansford, Peterborough East?", + "context": "create table table_18332845_2 (arrival varchar, calling_at varchar, PRIMARY KEY (arrival))", + "answer": "select arrival from table_18332845_2 where calling_at = \"wansford, peterborough east\"" + }, + { + "question": "When 5 is the rank of 2011 what is the country?", + "context": "create table table_293465_1 (country varchar, rank_2011 varchar, PRIMARY KEY (country))", + "answer": "select country from table_293465_1 where rank_2011 = 5" + }, + { + "question": "list the card number of all members whose hometown address includes word \"Kentucky\".", + "context": "create table member (card_number varchar, hometown varchar, PRIMARY KEY (card_number))", + "answer": "select card_number from member where hometown like \"%kentucky%\"" + }, + { + "question": "Name the most municipalities for alto alentejo province (partly ribatejo)", + "context": "create table table_221375_1 (municipalities integer, province_of_1936 varchar, PRIMARY KEY (municipalities))", + "answer": "select max(municipalities) from table_221375_1 where province_of_1936 = \"alto alentejo province (partly ribatejo)\"" + }, + { + "question": "Name the english title for album # 2nd", + "context": "create table table_1893815_1 (english_title varchar, album_number varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_1893815_1 where album_number = \"2nd\"" + }, + { + "question": "When did Orville H. Browning (r) succeed?", + "context": "create table table_2417330_3 (date_of_successors_formal_installation varchar, successor varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select date_of_successors_formal_installation from table_2417330_3 where successor = \"orville h. browning (r)\"" + }, + { + "question": "Name the location for abraham baldwin agricultural college", + "context": "create table table_16734640_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_16734640_1 where institution = \"abraham baldwin agricultural college\"" + }, + { + "question": "Who is the winner with an elapsed time of 12 h 42 min?", + "context": "create table table_22050544_1 (winner varchar, elapsed_time varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22050544_1 where elapsed_time = \"12 h 42 min\"" + }, + { + "question": "What was the free dance score in the event where compulsory dance score was 15.99?", + "context": "create table table_22644589_4 (free_dance__fd_ varchar, compulsory_dance__cd_ varchar, PRIMARY KEY (free_dance__fd_))", + "answer": "select free_dance__fd_ from table_22644589_4 where compulsory_dance__cd_ = \"15.99\"" + }, + { + "question": "Find the names of departments that are located in Houston.", + "context": "create table dept_locations (dnumber varchar, dlocation varchar, PRIMARY KEY (dnumber)); create table department (dname varchar, dnumber varchar, PRIMARY KEY (dname))", + "answer": "select t1.dname from department as t1 join dept_locations as t2 on t1.dnumber = t2.dnumber where t2.dlocation = 'houston'" + }, + { + "question": "When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?", + "context": "create table table_21576644_2 (ladies_1st_xi varchar, mens_2nd_xi varchar, PRIMARY KEY (ladies_1st_xi))", + "answer": "select ladies_1st_xi from table_21576644_2 where mens_2nd_xi = \"10th, south west district 1\"" + }, + { + "question": "Name the january 15-16 where march 27-29 where march 29, 2006", + "context": "create table table_1708610_3 (january_15_16 varchar, march_27_29 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_1708610_3 where march_27_29 = \"march 29, 2006\"" + }, + { + "question": "For all directors who directed more than one movie, return the titles of all movies directed by them, along with the director name. Sort by director name, then movie title.", + "context": "create table movie (title varchar, director varchar, PRIMARY KEY (title)); create table movie (director varchar, title varchar, PRIMARY KEY (director))", + "answer": "select t1.title, t1.director from movie as t1 join movie as t2 on t1.director = t2.director where t1.title <> t2.title order by t1.director, t1.title" + }, + { + "question": "Which branding has the callsign of DXGH?", + "context": "create table table_28794440_1 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_28794440_1 where callsign = \"dxgh\"" + }, + { + "question": "What material is made with a rounded, plain edge?", + "context": "create table table_1307572_1 (composition varchar, edge varchar, PRIMARY KEY (composition))", + "answer": "select composition from table_1307572_1 where edge = \"rounded, plain\"" + }, + { + "question": "Find the dates of the tests taken with result \"Pass\".", + "context": "create table student_tests_taken (date_test_taken varchar, test_result varchar, PRIMARY KEY (date_test_taken))", + "answer": "select date_test_taken from student_tests_taken where test_result = \"pass\"" + }, + { + "question": "What is the total number of titles written by Casey Johnson?", + "context": "create table table_12419515_4 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_12419515_4 where written_by = \"casey johnson\"" + }, + { + "question": "What years did Birger Ruud win the FIS Nordic World Ski Championships?", + "context": "create table table_174491_2 (fis_nordic_world_ski_championships varchar, winner varchar, PRIMARY KEY (fis_nordic_world_ski_championships))", + "answer": "select fis_nordic_world_ski_championships from table_174491_2 where winner = \"birger ruud\"" + }, + { + "question": "Name the number for fox news channel", + "context": "create table table_15887683_8 (n\u00b0 varchar, television_service varchar, PRIMARY KEY (n\u00b0))", + "answer": "select n\u00b0 from table_15887683_8 where television_service = \"fox news channel\"" + }, + { + "question": "How many students have a food allergy?", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy)); create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy))", + "answer": "select count(*) from has_allergy as t1 join allergy_type as t2 on t1.allergy = t2.allergy where t2.allergytype = \"food\"" + }, + { + "question": "Which song was picked that was originally performed by Marisa Monte?", + "context": "create table table_27616663_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_27616663_1 where original_artist = \"marisa monte\"" + }, + { + "question": "what is the worlds smallest population?", + "context": "create table table_19017269_5 (world integer, PRIMARY KEY (world))", + "answer": "select min(world) from table_19017269_5" + }, + { + "question": "What are the official languages of the countries of players from Maryland or Duke college?", + "context": "create table country (official_native_language varchar, country_id varchar, PRIMARY KEY (official_native_language)); create table match_season (country varchar, college varchar, PRIMARY KEY (country))", + "answer": "select t1.official_native_language from country as t1 join match_season as t2 on t1.country_id = t2.country where t2.college = \"maryland\" or t2.college = \"duke\"" + }, + { + "question": "What was the minimum OTL amount?", + "context": "create table table_1888165_1 (otl integer, PRIMARY KEY (otl))", + "answer": "select min(otl) from table_1888165_1" + }, + { + "question": "Name all the candidates listed in the race where the incumbent is Prince Hulon Preston, Jr.", + "context": "create table table_1342013_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342013_10 where incumbent = \"prince hulon preston, jr.\"" + }, + { + "question": "Show the headquarters that have at least two companies.", + "context": "create table company (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company group by headquarters having count(*) >= 2" + }, + { + "question": "Show the premise type and address type code for all customer addresses.", + "context": "create table premises (premises_type varchar, premise_id varchar, PRIMARY KEY (premises_type)); create table customer_addresses (address_type_code varchar, premise_id varchar, PRIMARY KEY (address_type_code))", + "answer": "select t2.premises_type, t1.address_type_code from customer_addresses as t1 join premises as t2 on t1.premise_id = t2.premise_id" + }, + { + "question": "When danilo di luca is the winner who is the general classification?", + "context": "create table table_18733814_2 (general_classification varchar, winner varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_18733814_2 where winner = \"danilo di luca\"" + }, + { + "question": "How many coins have a diameter of 23mm?", + "context": "create table table_1307572_1 (reverse varchar, diameter varchar, PRIMARY KEY (reverse))", + "answer": "select count(reverse) from table_1307572_1 where diameter = \"23mm\"" + }, + { + "question": "Report the first name and last name of all the teachers.", + "context": "create table teachers (firstname varchar, lastname varchar, PRIMARY KEY (firstname))", + "answer": "select distinct firstname, lastname from teachers" + }, + { + "question": "What was event 2 when event 1 was Atlasphere?", + "context": "create table table_17257687_1 (event_2 varchar, event_1 varchar, PRIMARY KEY (event_2))", + "answer": "select event_2 from table_17257687_1 where event_1 = \"atlasphere\"" + }, + { + "question": "What is the location shared by most counties?", + "context": "create table county_public_safety (location varchar, PRIMARY KEY (location))", + "answer": "select location from county_public_safety group by location order by count(*) desc limit 1" + }, + { + "question": "In what urban area is the 2011 population 21561?", + "context": "create table table_1940144_1 (urban_area varchar, population_2011 varchar, PRIMARY KEY (urban_area))", + "answer": "select urban_area from table_1940144_1 where population_2011 = 21561" + }, + { + "question": "What is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver?", + "context": "create table table_26137666_3 (pole_position varchar, circuit varchar, winning_driver varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_26137666_3 where circuit = \"castle combe\" and winning_driver = \"robbie kerr\"" + }, + { + "question": "List phone number and email address of customer with more than 2000 outstanding balance.", + "context": "create table customers (phone_number varchar, email_address varchar, amount_outstanding integer, PRIMARY KEY (phone_number))", + "answer": "select phone_number, email_address from customers where amount_outstanding > 2000" + }, + { + "question": "The numbers 801-812 are in which country?", + "context": "create table table_2351952_1 (country varchar, numbers varchar, PRIMARY KEY (country))", + "answer": "select country from table_2351952_1 where numbers = \"801-812\"" + }, + { + "question": "What was the standing in the season that the pct% was 0.769?", + "context": "create table table_2110959_1 (standing varchar, pct__percentage varchar, PRIMARY KEY (standing))", + "answer": "select standing from table_2110959_1 where pct__percentage = \"0.769\"" + }, + { + "question": "What was the prize pool for the event number 27H?", + "context": "create table table_22050544_4 (prize varchar, event__number varchar, PRIMARY KEY (prize))", + "answer": "select prize as pool from table_22050544_4 where event__number = \"27h\"" + }, + { + "question": "What is the original air date if the ratings is 1.92 million?", + "context": "create table table_23705843_1 (original_air_date varchar, ratings__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23705843_1 where ratings__millions_ = \"1.92\"" + }, + { + "question": "Name the languages for cyprus", + "context": "create table table_21133193_1 (languages varchar, member_countries varchar, PRIMARY KEY (languages))", + "answer": "select languages from table_21133193_1 where member_countries = \"cyprus\"" + }, + { + "question": "Who was the interview subject when the centerfold model was Sherry Arnett?", + "context": "create table table_1566848_7 (interview_subject varchar, centerfold_model varchar, PRIMARY KEY (interview_subject))", + "answer": "select count(interview_subject) from table_1566848_7 where centerfold_model = \"sherry arnett\"" + }, + { + "question": "List the number of vacators when successors were formally installed on June 22, 1868.", + "context": "create table table_2417340_3 (vacator varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (vacator))", + "answer": "select count(vacator) from table_2417340_3 where date_of_successors_formal_installation = \"june 22, 1868\"" + }, + { + "question": "List member names and their party names.", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (member_name varchar, party_id varchar, PRIMARY KEY (member_name))", + "answer": "select t1.member_name, t2.party_name from member as t1 join party as t2 on t1.party_id = t2.party_id" + }, + { + "question": "What is the location code for the country \"Canada\"?", + "context": "create table ref_locations (location_code varchar, location_name varchar, PRIMARY KEY (location_code))", + "answer": "select location_code from ref_locations where location_name = \"canada\"" + }, + { + "question": "how many times was the high rebounds by Mcdyess (9) and the high assists was by Billups (10)?", + "context": "create table table_11960944_4 (high_points varchar, high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_11960944_4 where high_rebounds = \"mcdyess (9)\" and high_assists = \"billups (10)\"" + }, + { + "question": "What was the record when the high rebounds was from Nick Collison (11)?", + "context": "create table table_11964154_11 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_11964154_11 where high_rebounds = \"nick collison (11)\"" + }, + { + "question": "How many ships ended up being 'Captured'?", + "context": "create table ship (disposition_of_ship varchar, PRIMARY KEY (disposition_of_ship))", + "answer": "select count(*) from ship where disposition_of_ship = 'captured'" + }, + { + "question": "Was it a win or a loss for Wanganui in Paeroa?", + "context": "create table table_26847237_1 (win_loss varchar, location varchar, PRIMARY KEY (win_loss))", + "answer": "select win_loss from table_26847237_1 where location = \"paeroa\"" + }, + { + "question": "How many directors have vietnamese titles of Gate, Gate, Paragate?", + "context": "create table table_22128871_1 (director varchar, vietnamese_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_22128871_1 where vietnamese_title = \"gate, gate, paragate\"" + }, + { + "question": "Which states have both owners and professionals living there?", + "context": "create table owners (state varchar, PRIMARY KEY (state)); create table professionals (state varchar, PRIMARY KEY (state))", + "answer": "select state from owners intersect select state from professionals" + }, + { + "question": "What was the to winning team when the tu winning team was joe amato carson baird?", + "context": "create table table_13657883_2 (to_winning_team varchar, tu_winning_team varchar, PRIMARY KEY (to_winning_team))", + "answer": "select to_winning_team from table_13657883_2 where tu_winning_team = \"joe amato carson baird\"" + }, + { + "question": "Name the macedonian for il/elle avait entendu", + "context": "create table table_1841901_1 (macedonian varchar, french varchar, PRIMARY KEY (macedonian))", + "answer": "select macedonian from table_1841901_1 where french = \"il/elle avait entendu\"" + }, + { + "question": "What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls?", + "context": "create table table_18461045_1 (kentucky varchar, illinois varchar, PRIMARY KEY (kentucky))", + "answer": "select kentucky from table_18461045_1 where illinois = \"rock falls ll rock falls\"" + }, + { + "question": "Who were the candidates in the election where John Beatty was the incumbent?", + "context": "create table table_1434788_5 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1434788_5 where incumbent = \"john beatty\"" + }, + { + "question": "What is the name of tracks whose genre is Rock?", + "context": "create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id where t1.name = \"rock\"" + }, + { + "question": "Who wrote the story that is cover date 19 October 1985?", + "context": "create table table_18305523_2 (writer_s varchar, cover_date varchar, PRIMARY KEY (writer_s))", + "answer": "select writer_s from table_18305523_2 where cover_date = \"19 october 1985\"" + }, + { + "question": "What kind of hand guards are associated with a rear sight of A1 and stock of A2?", + "context": "create table table_12834315_8 (hand_guards varchar, rear_sight varchar, stock varchar, PRIMARY KEY (hand_guards))", + "answer": "select hand_guards from table_12834315_8 where rear_sight = \"a1\" and stock = \"a2\"" + }, + { + "question": "Who was the champion prior to Xix Xavant?", + "context": "create table table_1272033_1 (previous_champion_s_ varchar, champion_s_ varchar, PRIMARY KEY (previous_champion_s_))", + "answer": "select previous_champion_s_ from table_1272033_1 where champion_s_ = \"xix xavant\"" + }, + { + "question": "Show names of pilots that have more than one record.", + "context": "create table pilot (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name)); create table pilot_record (pilot_id varchar, PRIMARY KEY (pilot_id))", + "answer": "select t2.pilot_name, count(*) from pilot_record as t1 join pilot as t2 on t1.pilot_id = t2.pilot_id group by t2.pilot_name having count(*) > 1" + }, + { + "question": "What location is farmer city speedway?", + "context": "create table table_16275828_4 (location varchar, track_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_16275828_4 where track_name = \"farmer city speedway\"" + }, + { + "question": "How many of the cmdlets are the 2008 version?", + "context": "create table table_14465871_2 (cmdlets varchar, version varchar, PRIMARY KEY (cmdlets))", + "answer": "select count(cmdlets) from table_14465871_2 where version = \"2008\"" + }, + { + "question": "What is the name of the episode written by Michael Price?", + "context": "create table table_2701851_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2701851_2 where written_by = \"michael price\"" + }, + { + "question": "Find the code of city where most of students are living in.", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select city_code from student group by city_code order by count(*) desc limit 1" + }, + { + "question": "What is the title of the episode with the original air date of 28 September 1969?", + "context": "create table table_1439096_1 (title varchar, original_air_date__atv_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_1439096_1 where original_air_date__atv_ = \"28 september 1969\"" + }, + { + "question": "If the writer is Mark Fink, who is the director?", + "context": "create table table_25277262_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25277262_2 where written_by = \"mark fink\"" + }, + { + "question": "Incumbent Tim Holden belonged to what party?", + "context": "create table table_1341453_40 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_40 where incumbent = \"tim holden\"" + }, + { + "question": "Name the number of crews for light bombardment group", + "context": "create table table_23508196_5 (number_of_crews varchar, type_of_unit varchar, PRIMARY KEY (number_of_crews))", + "answer": "select number_of_crews from table_23508196_5 where type_of_unit = \"light bombardment group\"" + }, + { + "question": "What was the percentage of muslims during a time where there were 614 registered mosques?", + "context": "create table table_1532779_1 (muslim___percentage_of_total_population_ varchar, registered_mosques varchar, PRIMARY KEY (muslim___percentage_of_total_population_))", + "answer": "select muslim___percentage_of_total_population_ from table_1532779_1 where registered_mosques = 614" + }, + { + "question": "Which headphone models correspond to the US MSRP of $150?", + "context": "create table table_1601027_1 (headphone_model varchar, us_msrp varchar, PRIMARY KEY (headphone_model))", + "answer": "select headphone_model from table_1601027_1 where us_msrp = \"$150\"" + }, + { + "question": "What is the sexual abuse rate where the conflict is the Burundi Civil War?", + "context": "create table table_15652027_1 (sexual_abuse_1 integer, conflict varchar, PRIMARY KEY (sexual_abuse_1))", + "answer": "select min(sexual_abuse_1) from table_15652027_1 where conflict = \"burundi civil war\"" + }, + { + "question": "who was the commentator when spokesperson was claude darget", + "context": "create table table_184803_4 (commentator varchar, spokespersons varchar, PRIMARY KEY (commentator))", + "answer": "select commentator from table_184803_4 where spokespersons = \"claude darget\"" + }, + { + "question": "Who was the incumbent when henry e. barbour ran?", + "context": "create table table_1342379_5 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342379_5 where incumbent = \"henry e. barbour\"" + }, + { + "question": "Name the air date for ratings of 2.19 million", + "context": "create table table_27218002_1 (originalairdate varchar, ratings varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_27218002_1 where ratings = \"2.19 million\"" + }, + { + "question": "Which province is Villa Bison\u00f3 in?", + "context": "create table table_22447251_2 (province varchar, _community varchar, hometown varchar, PRIMARY KEY (province))", + "answer": "select province, _community from table_22447251_2 where hometown = \"villa bison\u00f3\"" + }, + { + "question": "In how many teams is Waqar Younis the head coach?", + "context": "create table table_19905183_1 (team varchar, head_coach varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_19905183_1 where head_coach = \"waqar younis\"" + }, + { + "question": "Show storm name with at least two regions and 10 cities affected.", + "context": "create table affected_region (storm_id varchar, number_city_affected integer, PRIMARY KEY (storm_id)); create table storm (name varchar, storm_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from storm as t1 join affected_region as t2 on t1.storm_id = t2.storm_id group by t1.storm_id having count(*) >= 2 intersect select t1.name from storm as t1 join affected_region as t2 on t1.storm_id = t2.storm_id group by t1.storm_id having sum(t2.number_city_affected) >= 10" + }, + { + "question": "When bill young redistricted from the 10th district is the incumbent what is the party?", + "context": "create table table_25030512_12 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_25030512_12 where incumbent = \"bill young redistricted from the 10th district\"" + }, + { + "question": "What is every institution with the nickname of Wildcats?", + "context": "create table table_261954_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261954_1 where nickname = \"wildcats\"" + }, + { + "question": "How many launch dates are there for digital transmission?", + "context": "create table table_22274142_1 (launch_date varchar, transmission varchar, PRIMARY KEY (launch_date))", + "answer": "select count(launch_date) from table_22274142_1 where transmission = \"digital\"" + }, + { + "question": "What is the first name of students who got grade C in any class?", + "context": "create table student (stu_num varchar, PRIMARY KEY (stu_num)); create table enroll (stu_num varchar, PRIMARY KEY (stu_num))", + "answer": "select distinct stu_fname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where enroll_grade = 'c'" + }, + { + "question": "Who was the writer for the episode originally airing on March 1, 2004?", + "context": "create table table_23916272_6 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23916272_6 where original_air_date = \"march 1, 2004\"" + }, + { + "question": "what is the athens xi where dada xi b is strikers fc?", + "context": "create table table_28759261_5 (athens_xi varchar, dadar_xi_\u2018b\u2019 varchar, PRIMARY KEY (athens_xi))", + "answer": "select athens_xi from table_28759261_5 where dadar_xi_\u2018b\u2019 = \"strikers fc\"" + }, + { + "question": "When there are 7.5 million viewers what is the archive?", + "context": "create table table_2102945_1 (archive varchar, viewers__in_millions_ varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2102945_1 where viewers__in_millions_ = \"7.5\"" + }, + { + "question": "Name the most released for apologize", + "context": "create table table_24600706_1 (released integer, song varchar, PRIMARY KEY (released))", + "answer": "select max(released) from table_24600706_1 where song = \"apologize\"" + }, + { + "question": "Who is the sprint classification where Francisco Ventoso wins?", + "context": "create table table_29332810_14 (sprint_classification varchar, winner varchar, PRIMARY KEY (sprint_classification))", + "answer": "select sprint_classification from table_29332810_14 where winner = \"francisco ventoso\"" + }, + { + "question": "How many losing points does Llandudno RFC have?", + "context": "create table table_14058433_3 (losing_bonus varchar, club varchar, PRIMARY KEY (losing_bonus))", + "answer": "select losing_bonus from table_14058433_3 where club = \"llandudno rfc\"" + }, + { + "question": "When johannesburg is the hometown who is the contestant?", + "context": "create table table_18626383_2 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_18626383_2 where hometown = \"johannesburg\"" + }, + { + "question": "How many outcomes occur for score in the final of 6\u20133, 6\u20134, 7\u20136 (13\u201311)?", + "context": "create table table_26202940_6 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select count(outcome) from table_26202940_6 where score_in_the_final = \"6\u20133, 6\u20134, 7\u20136 (13\u201311)\"" + }, + { + "question": "What's the name of the train to Madurai Junction?", + "context": "create table table_23477312_1 (train_name varchar, destination varchar, PRIMARY KEY (train_name))", + "answer": "select train_name from table_23477312_1 where destination = \"madurai junction\"" + }, + { + "question": "Name the rank timeslot for 18-49 share being 13", + "context": "create table table_20971444_3 (rank__timeslot_ varchar, share__18_49_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select count(rank__timeslot_) from table_20971444_3 where share__18_49_ = 13" + }, + { + "question": "what are all the addresses including line 1 and line 2?", + "context": "create table addresses (line_1 varchar, line_2 varchar, PRIMARY KEY (line_1))", + "answer": "select line_1, line_2 from addresses" + }, + { + "question": "When james brooks (d) is the vacator what is the date the successor was seated?", + "context": "create table table_2147588_4 (date_successor_seated varchar, vacator varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2147588_4 where vacator = \"james brooks (d)\"" + }, + { + "question": "List the number of runners up when albertina fransisca mailoa won the putri pariwisata contest?", + "context": "create table table_24014744_1 (putri_pariwisata_indonesia varchar, PRIMARY KEY (putri_pariwisata_indonesia))", + "answer": "select count(3 as rd_runner_up) from table_24014744_1 where putri_pariwisata_indonesia = \"albertina fransisca mailoa\"" + }, + { + "question": "What was the Forbers rank (all companies) in 2012 for cenovus energy?", + "context": "create table table_23950611_2 (rank__all__2012 varchar, name varchar, PRIMARY KEY (rank__all__2012))", + "answer": "select rank__all__2012 from table_23950611_2 where name = \"cenovus energy\"" + }, + { + "question": "who is the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being tom ridge (r) 80.9% joylyn blackwell (d) 19.1%", + "context": "create table table_1341586_39 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1341586_39 where candidates = \"tom ridge (r) 80.9% joylyn blackwell (d) 19.1%\"" + }, + { + "question": "Who is the head coach when Miami University is the championship game opponent?", + "context": "create table table_22165661_3 (head_coach varchar, championship_game_opponent varchar, PRIMARY KEY (head_coach))", + "answer": "select head_coach from table_22165661_3 where championship_game_opponent = \"miami university\"" + }, + { + "question": "Name the total number of median income for population 2006 for 365540", + "context": "create table table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ varchar, population__2006_est_ varchar, PRIMARY KEY (median_monthly_per_capita___labour_force_income__hkd_))", + "answer": "select count(median_monthly_per_capita___labour_force_income__hkd_) from table_151994_1 where population__2006_est_ = 365540" + }, + { + "question": "Who held the pole position in misano world circuit?", + "context": "create table table_23315271_2 (pole_position varchar, circuit varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_23315271_2 where circuit = \"misano world circuit\"" + }, + { + "question": "Who won the points classifications in the stage where Matteo Priamo was the winner?", + "context": "create table table_14710984_2 (points_classification varchar, winner varchar, PRIMARY KEY (points_classification))", + "answer": "select count(points_classification) from table_14710984_2 where winner = \"matteo priamo\"" + }, + { + "question": "Name the avg start for avg finish of 18.3", + "context": "create table table_2187333_1 (avg_start varchar, avg_finish varchar, PRIMARY KEY (avg_start))", + "answer": "select avg_start from table_2187333_1 where avg_finish = \"18.3\"" + }, + { + "question": "Who is the director when the share is 11.8?", + "context": "create table table_29574579_1 (directed_by varchar, share___percentage_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29574579_1 where share___percentage_ = \"11.8\"" + }, + { + "question": "Who won the mens doubles at the 2006 guangzhou event?", + "context": "create table table_28138035_6 (mens_doubles varchar, year_location varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28138035_6 where year_location = \"2006 guangzhou\"" + }, + { + "question": "When western carolina university is the school what is the control?", + "context": "create table table_2076516_1 (control varchar, school varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076516_1 where school = \"western carolina university\"" + }, + { + "question": "which country has miss universe Hungary as former pageant?", + "context": "create table table_14308895_2 (country_territory varchar, former_pageant varchar, PRIMARY KEY (country_territory))", + "answer": "select country_territory from table_14308895_2 where former_pageant = \"miss universe hungary\"" + }, + { + "question": "who many times is gloucestershire is painswick?", + "context": "create table table_12043148_2 (premier_two varchar, gloucestershire varchar, PRIMARY KEY (premier_two))", + "answer": "select count(premier_two) from table_12043148_2 where gloucestershire = \"painswick\"" + }, + { + "question": "What was the original air date of the episode that had 5.30 million U.S. viewers?", + "context": "create table table_25548505_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25548505_1 where us_viewers__millions_ = \"5.30\"" + }, + { + "question": "What is the number of sikhs in Japan?", + "context": "create table table_11800185_1 (no_of_sikhs varchar, country varchar, PRIMARY KEY (no_of_sikhs))", + "answer": "select no_of_sikhs from table_11800185_1 where country = \"japan\"" + }, + { + "question": "Who had the high rebounds when the team played Sacramento?", + "context": "create table table_17355408_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17355408_9 where team = \"sacramento\"" + }, + { + "question": "What is the name of this constellation with an area of 245.375 sq. deg.?", + "context": "create table table_177766_1 (constellation varchar, area__sqdeg_ varchar, PRIMARY KEY (constellation))", + "answer": "select constellation from table_177766_1 where area__sqdeg_ = \"245.375\"" + }, + { + "question": "who is the the\u00a0judges\u00a0with\u00a0local title\u00a0being x factor and\u00a0presenters\u00a0being heikki paasonen jukka rossi (xtra factor)", + "context": "create table table_13779832_1 (judges varchar, local_title varchar, presenters varchar, PRIMARY KEY (judges))", + "answer": "select judges from table_13779832_1 where local_title = \"x factor\" and presenters = \"heikki paasonen jukka rossi (xtra factor)\"" + }, + { + "question": "The order number 713726-713735 has what serial number?", + "context": "create table table_2351952_1 (serial_numbers varchar, order_number varchar, PRIMARY KEY (serial_numbers))", + "answer": "select serial_numbers from table_2351952_1 where order_number = \"713726-713735\"" + }, + { + "question": "What is the station type of DWMC-TV?", + "context": "create table table_2610582_3 (station_type varchar, callsign varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_2610582_3 where callsign = \"dwmc-tv\"" + }, + { + "question": "List all GT4 Cup winners played on the Spa-Francorchamps Report.", + "context": "create table table_30060356_3 (gt4_cup_winner varchar, circuit varchar, PRIMARY KEY (gt4_cup_winner))", + "answer": "select gt4_cup_winner from table_30060356_3 where circuit = \"spa-francorchamps report\"" + }, + { + "question": "where is hte second place winner from united kingdom?", + "context": "create table table_1359212_2 (winner varchar, second_place varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_1359212_2 where second_place = \"united kingdom\"" + }, + { + "question": "how many\u00a0party\u00a0with\u00a0incumbent\u00a0being whitmell p. martin", + "context": "create table table_1342393_17 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342393_17 where incumbent = \"whitmell p. martin\"" + }, + { + "question": "Who directed the episdoe veiwed by 3.24 million viewers?", + "context": "create table table_30030477_1 (directed_by varchar, viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_30030477_1 where viewers__million_ = \"3.24\"" + }, + { + "question": "How many professionals did not operate any treatment on dogs?", + "context": "create table professionals (professional_id varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))", + "answer": "select count(*) from professionals where not professional_id in (select professional_id from treatments)" + }, + { + "question": "What was the aggregate score for Montauban?", + "context": "create table table_27986200_3 (aggregate_score varchar, proceed_to_quarter_final varchar, PRIMARY KEY (aggregate_score))", + "answer": "select aggregate_score from table_27986200_3 where proceed_to_quarter_final = \"montauban\"" + }, + { + "question": "On broadcast date is 25april1970, how many people tuned in?", + "context": "create table table_2102898_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_2102898_1 where broadcast_date = \"25april1970\"" + }, + { + "question": "How many class AA in the year 2002-03", + "context": "create table table_14747043_1 (class_aa varchar, school_year varchar, PRIMARY KEY (class_aa))", + "answer": "select count(class_aa) from table_14747043_1 where school_year = \"2002-03\"" + }, + { + "question": "Show the order ids and the number of invoices for each order.", + "context": "create table invoices (order_id varchar, PRIMARY KEY (order_id))", + "answer": "select order_id, count(*) from invoices group by order_id" + }, + { + "question": "Find the first names of all the authors ordered in alphabetical order.", + "context": "create table authors (fname varchar, PRIMARY KEY (fname))", + "answer": "select fname from authors order by fname" + }, + { + "question": "What is maximum group equity shareholding of the companies?", + "context": "create table operate_company (group_equity_shareholding integer, PRIMARY KEY (group_equity_shareholding))", + "answer": "select max(group_equity_shareholding) from operate_company" + }, + { + "question": "What is the title of the original airing on e4 May 2, 2010?", + "context": "create table table_22170495_6 (title varchar, original_airing_on_e4 varchar, PRIMARY KEY (title))", + "answer": "select title from table_22170495_6 where original_airing_on_e4 = \"may 2, 2010\"" + }, + { + "question": "What ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?", + "context": "create table table_10818465_1 (ga_date varchar, processor_frequency varchar, PRIMARY KEY (ga_date))", + "answer": "select ga_date from table_10818465_1 where processor_frequency = \"1.0, 1.2, 1.4ghz\"" + }, + { + "question": "What is the title of the episode directed by William Webb?", + "context": "create table table_22078906_2 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_22078906_2 where directed_by = \"william webb\"" + }, + { + "question": "What is the party affiliation of the incumbent Robert Cramer?", + "context": "create table table_1805191_2 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1805191_2 where incumbent = \"robert cramer\"" + }, + { + "question": "What is the max pop of 2008 for selfoss?", + "context": "create table table_2252745_1 (population_2008_07_01 integer, administrative_centre varchar, PRIMARY KEY (population_2008_07_01))", + "answer": "select max(population_2008_07_01) from table_2252745_1 where administrative_centre = \"selfoss\"" + }, + { + "question": "Who was the director of Pecado Mortal", + "context": "create table table_15277629_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_15277629_1 where original_title = \"pecado mortal\"" + }, + { + "question": "What is the name of Rapid City's Adult Contemporary station?", + "context": "create table table_134987_3 (name varchar, city_of_license varchar, format varchar, PRIMARY KEY (name))", + "answer": "select name from table_134987_3 where city_of_license = \"rapid city\" and format = \"adult contemporary\"" + }, + { + "question": "Who were the writers of episode/s first aired in the US on June 9, 2012?", + "context": "create table table_29087004_3 (written_by varchar, united_states_original_airdate varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29087004_3 where united_states_original_airdate = \"june 9, 2012\"" + }, + { + "question": "Which party is Lawrence H. Fountain part of?", + "context": "create table table_1341738_34 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341738_34 where incumbent = \"lawrence h. fountain\"" + }, + { + "question": "What date did the episode with 8.61 million U.S. viewers originally air?", + "context": "create table table_24648983_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_24648983_1 where us_viewers__million_ = \"8.61\"" + }, + { + "question": "Which employee has showed up in most circulation history documents. List the employee's name and the number of drafts and copies.", + "context": "create table circulation_history (id varchar, PRIMARY KEY (id)); create table employees (id varchar, PRIMARY KEY (id))", + "answer": "select employees.employee_name, count(*) from employees join circulation_history on circulation_history.employee_id = employees.employee_id group by circulation_history.document_id, circulation_history.draft_number, circulation_history.copy_number order by count(*) desc limit 1" + }, + { + "question": "Find the state and country of all cities with post code starting with 4.", + "context": "create table addresses (state_province_county varchar, country varchar, zip_postcode varchar, PRIMARY KEY (state_province_county))", + "answer": "select state_province_county, country from addresses where zip_postcode like \"4%\"" + }, + { + "question": "show the train name and station name for each train.", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train (name varchar, train_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, train_id varchar, PRIMARY KEY (station_id))", + "answer": "select t2.name, t3.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id join train as t3 on t3.train_id = t1.train_id" + }, + { + "question": "Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?", + "context": "create table table_2267345_2 (general_classification varchar, young_rider_classification varchar, winner varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_2267345_2 where young_rider_classification = \"salvatore commesso\" and winner = \"erik dekker\"" + }, + { + "question": "How many different voivodenship have 747 900 citizes?", + "context": "create table table_11656578_2 (voivodeship varchar, population__1980_ varchar, PRIMARY KEY (voivodeship))", + "answer": "select count(voivodeship) from table_11656578_2 where population__1980_ = \"747 900\"" + }, + { + "question": "Name the class aa for 1998-99", + "context": "create table table_14601528_2 (class_aa varchar, school_year varchar, PRIMARY KEY (class_aa))", + "answer": "select class_aa from table_14601528_2 where school_year = \"1998-99\"" + }, + { + "question": "What was the cylinder size of this engine that was made with only 88 pieces?", + "context": "create table table_25695027_1 (cylinder_size varchar, number_built varchar, PRIMARY KEY (cylinder_size))", + "answer": "select cylinder_size from table_25695027_1 where number_built = \"88\"" + }, + { + "question": "What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50?", + "context": "create table table_1211545_2 (name varchar, heavy_vehicle__2_axles_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_1211545_2 where heavy_vehicle__2_axles_ = \"r20.50\"" + }, + { + "question": "What is the last year a sponsorship ended?", + "context": "create table table_28005160_2 (sponsorship integer, PRIMARY KEY (sponsorship))", + "answer": "select max(sponsorship) as ended from table_28005160_2" + }, + { + "question": "What original air date has 5.85 u.s. viewers (million)?", + "context": "create table table_27117365_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27117365_1 where us_viewers__million_ = \"5.85\"" + }, + { + "question": "If Wed Aug 25 is \u2014\u2014 no time, what is Sat aug 21?", + "context": "create table table_26986076_1 (sat_21_aug varchar, wed_25_aug varchar, PRIMARY KEY (sat_21_aug))", + "answer": "select sat_21_aug from table_26986076_1 where wed_25_aug = \"\u2014\u2014 no time\"" + }, + { + "question": "Who scored the most points when the Bucks played against Houston?", + "context": "create table table_27756014_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27756014_6 where team = \"houston\"" + }, + { + "question": "Find the last and first name of students who are playing Football or Lacrosse.", + "context": "create table sportsinfo (stuid varchar, sportname varchar, PRIMARY KEY (stuid)); create table student (lname varchar, fname varchar, stuid varchar, PRIMARY KEY (lname))", + "answer": "select t2.lname, t2.fname from sportsinfo as t1 join student as t2 on t1.stuid = t2.stuid where t1.sportname = \"football\" or t1.sportname = \"lacrosse\"" + }, + { + "question": "Which player went to Michigan State?", + "context": "create table table_10966926_2 (player_name varchar, college varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_10966926_2 where college = \"michigan state\"" + }, + { + "question": "What is the publication date of the book that is narrated by Michael Maloney?", + "context": "create table table_2950964_1 (published varchar, audiobook_narrator varchar, PRIMARY KEY (published))", + "answer": "select published from table_2950964_1 where audiobook_narrator = \"michael maloney\"" + }, + { + "question": "What is the date of the episode written by Michael Poryes?", + "context": "create table table_12030612_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_12030612_3 where written_by = \"michael poryes\"" + }, + { + "question": "What is the catalogue number for \"Waves in the Air\"?", + "context": "create table table_27932399_1 (catalogue_number varchar, release_title varchar, PRIMARY KEY (catalogue_number))", + "answer": "select catalogue_number from table_27932399_1 where release_title = \"waves in the air\"" + }, + { + "question": "Which company has a market value of 147.4?", + "context": "create table table_1682026_2 (company varchar, market_value__billion_$_ varchar, PRIMARY KEY (company))", + "answer": "select company from table_1682026_2 where market_value__billion_$_ = \"147.4\"" + }, + { + "question": "Show the names of people who have been on the negative side of debates at least twice.", + "context": "create table debate_people (negative varchar, PRIMARY KEY (negative)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from debate_people as t1 join people as t2 on t1.negative = t2.people_id group by t2.name having count(*) >= 2" + }, + { + "question": "For which singers was Alangudi Somu the lyricist?", + "context": "create table table_10848177_1 (singers varchar, lyricist varchar, PRIMARY KEY (singers))", + "answer": "select singers from table_10848177_1 where lyricist = \"alangudi somu\"" + }, + { + "question": "Find all 200 meter and 300 meter results of swimmers with nationality \"Australia\".", + "context": "create table swimmer (meter_200 varchar, meter_300 varchar, nationality varchar, PRIMARY KEY (meter_200))", + "answer": "select meter_200, meter_300 from swimmer where nationality = 'australia'" + }, + { + "question": "What are all the customer phone numbers under the most popular policy type?", + "context": "create table available_policies (customer_phone varchar, policy_type_code varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone from available_policies where policy_type_code = (select policy_type_code from available_policies group by policy_type_code order by count(*) desc limit 1)" + }, + { + "question": "What was the maximum 09-10 i/o best?", + "context": "create table table_24990183_4 (id varchar, PRIMARY KEY (id))", + "answer": "select max(09 as _10_i_o_best) from table_24990183_4" + }, + { + "question": "Which terminations correspond to a US MSRP of $49?", + "context": "create table table_1601027_1 (termination varchar, us_msrp varchar, PRIMARY KEY (termination))", + "answer": "select termination from table_1601027_1 where us_msrp = \"$49\"" + }, + { + "question": "What is tthe lowest number on team 3g?", + "context": "create table table_23018775_3 (_number_number integer, team varchar, PRIMARY KEY (_number_number))", + "answer": "select min(_number_number) from table_23018775_3 where team = \"team 3g\"" + }, + { + "question": "what's the\u00a0number of deputies\u00a0with\u00a0number of votes received\u00a0being smaller than 1549176.2765483726 and\u00a0election date\u00a0being 1969", + "context": "create table table_13746866_2 (number_of_deputies varchar, number_of_votes_received varchar, election_date varchar, PRIMARY KEY (number_of_deputies))", + "answer": "select number_of_deputies from table_13746866_2 where number_of_votes_received < 1549176.2765483726 and election_date = 1969" + }, + { + "question": "What is the maximum Online Mendelian Inheritance in Man (OMIM) value of the enzymes?", + "context": "create table enzyme (omim integer, PRIMARY KEY (omim))", + "answer": "select max(omim) from enzyme" + }, + { + "question": "What is the QLD Cup Premierships if team is Gold Coast Vikings?", + "context": "create table table_2383498_4 (qld_cup_premierships varchar, team varchar, PRIMARY KEY (qld_cup_premierships))", + "answer": "select qld_cup_premierships from table_2383498_4 where team = \"gold coast vikings\"" + }, + { + "question": "what is the display size for the calculator released in 1997?", + "context": "create table table_11703336_1 (display_size varchar, year_released varchar, PRIMARY KEY (display_size))", + "answer": "select display_size from table_11703336_1 where year_released = \"1997\"" + }, + { + "question": "What was Mark Begich polling on October 6, 2008?", + "context": "create table table_16751596_13 (democrat varchar, dates_administered varchar, PRIMARY KEY (democrat))", + "answer": "select democrat as :_mark_begich from table_16751596_13 where dates_administered = \"october 6, 2008\"" + }, + { + "question": "What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August?", + "context": "create table table_23465864_4 (sat_29_aug varchar, mon_24_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_23465864_4 where mon_24_aug = \"24' 17.26 93.208mph\"" + }, + { + "question": "what's the\u00a0department\u00a0with\u00a0acronym\u00a0being deped (ked)", + "context": "create table table_1331313_1 (department varchar, acronym varchar, PRIMARY KEY (department))", + "answer": "select department from table_1331313_1 where acronym = \"deped (ked)\"" + }, + { + "question": "List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.", + "context": "create table lessons (lesson_id varchar, staff_id varchar, PRIMARY KEY (lesson_id)); create table staff (staff_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.lesson_id from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\" and nickname like \"%s%\"" + }, + { + "question": "What was the turnout percentage in the place that had 44.6% vote for brown?", + "context": "create table table_24115349_6 (turnout__percentage varchar, brown__percentage varchar, PRIMARY KEY (turnout__percentage))", + "answer": "select turnout__percentage from table_24115349_6 where brown__percentage = \"44.6%\"" + }, + { + "question": "Who was team 1 when the chalkheads were team 2?", + "context": "create table table_18733480_1 (team_1 varchar, team_2 varchar, PRIMARY KEY (team_1))", + "answer": "select team_1 from table_18733480_1 where team_2 = \"chalkheads\"" + }, + { + "question": "What is the dpi for the scanner with a max page size of 216mm x 355mm?", + "context": "create table table_16409745_1 (dpi varchar, max_page_size varchar, PRIMARY KEY (dpi))", + "answer": "select dpi from table_16409745_1 where max_page_size = \"216mm x 355mm\"" + }, + { + "question": "How many friends does the high school student Kyle have?", + "context": "create table friend (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id where t2.name = \"kyle\"" + }, + { + "question": "If the equation is (10 times 8) + 4, what would be the 2nd throw?", + "context": "create table table_17265535_6 (equation varchar, PRIMARY KEY (equation))", + "answer": "select max(2 as nd_throw) from table_17265535_6 where equation = \"(10 times 8) + 4\"" + }, + { + "question": "What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation?", + "context": "create table table_12834315_1 (colt_model_no varchar, name varchar, case_deflector varchar, bayonet_lug varchar, stock varchar, PRIMARY KEY (colt_model_no))", + "answer": "select colt_model_no from table_12834315_1 where bayonet_lug = \"no\" and stock = \"2nd generation\" and case_deflector = \"no\" and name = \"gau-5a/a\"" + }, + { + "question": "Name the number of sement d for solar water heaters", + "context": "create table table_15187735_18 (segment_d varchar, segment_b varchar, PRIMARY KEY (segment_d))", + "answer": "select count(segment_d) from table_15187735_18 where segment_b = \"solar water heaters\"" + }, + { + "question": "What is the administrative capital of LGA name Akuku-Toru?", + "context": "create table table_1966992_1 (administrative_capital varchar, lga_name varchar, PRIMARY KEY (administrative_capital))", + "answer": "select administrative_capital from table_1966992_1 where lga_name = \"akuku-toru\"" + }, + { + "question": "What is every value for Under-11 if Under-19 is Leong Siu Lynn?", + "context": "create table table_26368963_2 (under_11 varchar, under_19 varchar, PRIMARY KEY (under_11))", + "answer": "select under_11 from table_26368963_2 where under_19 = \"leong siu lynn\"" + }, + { + "question": "Name the 1991-1992 for river plate", + "context": "create table table_14390413_1 (team varchar, PRIMARY KEY (team))", + "answer": "select 1991 as _1992 from table_14390413_1 where team = \"river plate\"" + }, + { + "question": "Give me a list of distinct product ids from orders placed between 1975-01-01 and 1976-01-01?", + "context": "create table order_items (product_id varchar, order_id varchar, PRIMARY KEY (product_id)); create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id))", + "answer": "select distinct t2.product_id from orders as t1 join order_items as t2 on t1.order_id = t2.order_id where t1.date_order_placed >= \"1975-01-01\" and t1.date_order_placed <= \"1976-01-01\"" + }, + { + "question": "Who was on Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne?", + "context": "create table table_23292220_8 (jasons_team varchar, seans_team varchar, PRIMARY KEY (jasons_team))", + "answer": "select jasons_team from table_23292220_8 where seans_team = \"reginald d. hunter and kelly osbourne\"" + }, + { + "question": "What is the church name for the church located in Kyrkjeb\u00f8?", + "context": "create table table_178389_1 (church_name varchar, location_of_the_church varchar, PRIMARY KEY (church_name))", + "answer": "select church_name from table_178389_1 where location_of_the_church = \"kyrkjeb\u00f8\"" + }, + { + "question": "what team had ricardo serrano for combativity prize?", + "context": "create table table_22410316_17 (team_classification varchar, combativity_prize varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_22410316_17 where combativity_prize = \"ricardo serrano\"" + }, + { + "question": "What is the toatl number of caps where the name is Hans Blume?", + "context": "create table table_11585313_1 (number_of_caps varchar, name varchar, PRIMARY KEY (number_of_caps))", + "answer": "select count(number_of_caps) from table_11585313_1 where name = \"hans blume\"" + }, + { + "question": "When chauncey billups (4) has the highest amount of assists who has the highest amount of points?", + "context": "create table table_23285849_10 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23285849_10 where high_assists = \"chauncey billups (4)\"" + }, + { + "question": "Which state has 5179 (gw\u00d7h) of renewable energy without hydrogen power?wha", + "context": "create table table_25244412_1 (state varchar, renewable_electricity_w_o_hydro__gw\u2022h_ varchar, PRIMARY KEY (state))", + "answer": "select state from table_25244412_1 where renewable_electricity_w_o_hydro__gw\u2022h_ = 5179" + }, + { + "question": "What is the name of the shipping agent of the document with id 2?", + "context": "create table documents (id varchar, PRIMARY KEY (id)); create table ref_shipping_agents (id varchar, PRIMARY KEY (id))", + "answer": "select ref_shipping_agents.shipping_agent_name from ref_shipping_agents join documents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code where documents.document_id = 2" + }, + { + "question": "What is friday day six when monday day two is isnin?", + "context": "create table table_1277350_7 (friday_day_six varchar, monday_day_two varchar, PRIMARY KEY (friday_day_six))", + "answer": "select friday_day_six from table_1277350_7 where monday_day_two = \"isnin\"" + }, + { + "question": "Which head's name has the substring 'Ha'? List the id and name.", + "context": "create table head (head_id varchar, name varchar, PRIMARY KEY (head_id))", + "answer": "select head_id, name from head where name like '%ha%'" + }, + { + "question": "What won best pc demo when tower power (camelot) won best c64 demo?", + "context": "create table table_2490289_1 (pc_demo varchar, c64_demo varchar, PRIMARY KEY (pc_demo))", + "answer": "select pc_demo from table_2490289_1 where c64_demo = \"tower power (camelot)\"" + }, + { + "question": "What was the original title of the film submitted with the title A Woman in Flames?", + "context": "create table table_10874596_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_10874596_1 where film_title_used_in_nomination = \"a woman in flames\"" + }, + { + "question": "What is the air date when the U.S. viewers was 5.50 million?", + "context": "create table table_17467447_1 (original_airdate varchar, us_viewers__million_ varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_17467447_1 where us_viewers__million_ = \"5.50\"" + }, + { + "question": "What was the partner count when the opponents in the final was forget leconte?", + "context": "create table table_22597626_17 (partner varchar, opponents_in_the_final varchar, PRIMARY KEY (partner))", + "answer": "select count(partner) from table_22597626_17 where opponents_in_the_final = \"forget leconte\"" + }, + { + "question": "what country was the player drafted by the toronto maple leafs", + "context": "create table table_1473672_7 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1473672_7 where nhl_team = \"toronto maple leafs\"" + }, + { + "question": "How much do the tickets cost for August 7, 1987?", + "context": "create table table_18277458_2 (ticket_price_s_ varchar, date_s_ varchar, PRIMARY KEY (ticket_price_s_))", + "answer": "select ticket_price_s_ from table_18277458_2 where date_s_ = \"august 7, 1987\"" + }, + { + "question": "What denominations are the stamps with themes opera, l\u00e9opold simoneau and pierrette alarie?", + "context": "create table table_11900773_4 (denomination varchar, theme varchar, PRIMARY KEY (denomination))", + "answer": "select denomination from table_11900773_4 where theme = \"opera, l\u00e9opold simoneau and pierrette alarie\"" + }, + { + "question": "how many\u00a0mean elevation\u00a0with\u00a0lowest point\u00a0being gulf of mexico and\u00a0state\u00a0being texas", + "context": "create table table_1416612_1 (mean_elevation varchar, lowest_point varchar, state varchar, PRIMARY KEY (mean_elevation))", + "answer": "select count(mean_elevation) from table_1416612_1 where lowest_point = \"gulf of mexico\" and state = \"texas\"" + }, + { + "question": "What is the regulated retail price for the tariff code ff0 prs?", + "context": "create table table_10408617_5 (bts_retail_price__regulated_ varchar, tariff_code varchar, PRIMARY KEY (bts_retail_price__regulated_))", + "answer": "select bts_retail_price__regulated_ from table_10408617_5 where tariff_code = \"ff0 prs\"" + }, + { + "question": "Show the station name with greatest number of trains.", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, PRIMARY KEY (station_id))", + "answer": "select t2.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id group by t1.station_id order by count(*) desc limit 1" + }, + { + "question": "Name the number of coverage for 106.7 energy fm", + "context": "create table table_27914076_1 (coverage varchar, branding varchar, PRIMARY KEY (coverage))", + "answer": "select count(coverage) from table_27914076_1 where branding = \"106.7 energy fm\"" + }, + { + "question": "Who wrote an episode watched by 19.01 million US viewers?", + "context": "create table table_11411026_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_11411026_2 where us_viewers__millions_ = \"19.01\"" + }, + { + "question": "Name the drivers for superchips", + "context": "create table table_2187178_1 (driver_s_ varchar, primary_sponsor_s_ varchar, PRIMARY KEY (driver_s_))", + "answer": "select driver_s_ from table_2187178_1 where primary_sponsor_s_ = \"superchips\"" + }, + { + "question": "Who won the Men's Doubles when Karina de Wit won the Women's Singles?", + "context": "create table table_12164707_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12164707_1 where womens_singles = \"karina de wit\"" + }, + { + "question": "WHat is the program where duration (years) is 1.5 and teaching language is german/english?", + "context": "create table table_12591022_2 (program varchar, duration__years_ varchar, teaching_language varchar, PRIMARY KEY (program))", + "answer": "select program from table_12591022_2 where duration__years_ = \"1.5\" and teaching_language = \"german/english\"" + }, + { + "question": "Name the number of class aaaaa for 1988-89", + "context": "create table table_14601528_2 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa))", + "answer": "select count(class_aaaaa) from table_14601528_2 where school_year = \"1988-89\"" + }, + { + "question": "what's the\u00a0shigella\u00a0with\u00a0yersinia\u00a0being yscp", + "context": "create table table_10321124_1 (shigella varchar, yersinia varchar, PRIMARY KEY (shigella))", + "answer": "select shigella from table_10321124_1 where yersinia = \"yscp\"" + }, + { + "question": "What's the type of muzzle devices on the models with round hand guards?", + "context": "create table table_12834315_1 (muzzle_device varchar, hand_guards varchar, PRIMARY KEY (muzzle_device))", + "answer": "select muzzle_device from table_12834315_1 where hand_guards = \"round\"" + }, + { + "question": "Who had 2 WSOP cashes and was 6th in final place?", + "context": "create table table_23696862_6 (name varchar, wsop_cashes varchar, final_place varchar, PRIMARY KEY (name))", + "answer": "select name from table_23696862_6 where wsop_cashes = 2 and final_place = \"6th\"" + }, + { + "question": "Find the number of scientists who are not assigned to any project.", + "context": "create table assignedto (ssn varchar, scientist varchar, PRIMARY KEY (ssn)); create table scientists (ssn varchar, scientist varchar, PRIMARY KEY (ssn))", + "answer": "select count(*) from scientists where not ssn in (select scientist from assignedto)" + }, + { + "question": "Which team has the outgoing manager John Meyler?", + "context": "create table table_11190568_7 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_11190568_7 where outgoing_manager = \"john meyler\"" + }, + { + "question": "Name the nato/ us dod code for sabbot", + "context": "create table table_211791_1 (nato_us_dod_code varchar, nato_reporting_name varchar, PRIMARY KEY (nato_us_dod_code))", + "answer": "select nato_us_dod_code from table_211791_1 where nato_reporting_name = \"sabbot\"" + }, + { + "question": "What is the name of the episode directed by Miguel Arteta?", + "context": "create table table_2182654_3 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2182654_3 where directed_by = \"miguel arteta\"" + }, + { + "question": "Name the officing running for for carol marsh", + "context": "create table table_1855841_1 (office_running_for varchar, candidate varchar, PRIMARY KEY (office_running_for))", + "answer": "select office_running_for from table_1855841_1 where candidate = \"carol marsh\"" + }, + { + "question": "Who had the fastest lap at the brazilian grand prix?", + "context": "create table table_1137695_3 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1137695_3 where grand_prix = \"brazilian grand_prix\"" + }, + { + "question": "What country submitted miehen ty\u00f6?", + "context": "create table table_12842068_1 (submitting_country varchar, original_title varchar, PRIMARY KEY (submitting_country))", + "answer": "select submitting_country from table_12842068_1 where original_title = \"miehen ty\u00f6\"" + }, + { + "question": "Name the airdate for the episode written by howard ostroff", + "context": "create table table_2342078_6 (original_airdate varchar, written_by varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_2342078_6 where written_by = \"howard ostroff\"" + }, + { + "question": "List the asset id, details, make and model for every asset.", + "context": "create table assets (asset_id varchar, asset_details varchar, asset_make varchar, asset_model varchar, PRIMARY KEY (asset_id))", + "answer": "select asset_id, asset_details, asset_make, asset_model from assets" + }, + { + "question": "How many compound names list a chemical class of depsipeptide and a clinical trials \u03b2 value of 1/7?", + "context": "create table table_12715053_1 (compound_name varchar, chemical_class varchar, clinical_trials_\u03b2 varchar, PRIMARY KEY (compound_name))", + "answer": "select count(compound_name) from table_12715053_1 where chemical_class = \"depsipeptide\" and clinical_trials_\u03b2 = \"1/7\"" + }, + { + "question": "How many times is the ethnic group other: total?", + "context": "create table table_282413_3 (ethnic_group varchar, PRIMARY KEY (ethnic_group))", + "answer": "select count(2001 as __percentage) from table_282413_3 where ethnic_group = \"other: total\"" + }, + { + "question": "List the name of the pilots who have flied for both a company that mainly provide 'Cargo' services and a company that runs 'Catering services' activities.", + "context": "create table operate_company (id varchar, principal_activities varchar, PRIMARY KEY (id)); create table flight (id varchar, PRIMARY KEY (id))", + "answer": "select t2.pilot from operate_company as t1 join flight as t2 on t1.id = t2.company_id where t1.principal_activities = 'cargo' intersect select t2.pilot from operate_company as t1 join flight as t2 on t1.id = t2.company_id where t1.principal_activities = 'catering services'" + }, + { + "question": "What's the model of the processor with BGA479 socket and a 5.5 w TDP?", + "context": "create table table_24099916_1 (model__list_ varchar, socket varchar, tdp varchar, PRIMARY KEY (model__list_))", + "answer": "select model__list_ from table_24099916_1 where socket = \"bga479\" and tdp = \"5.5 w\"" + }, + { + "question": "What is the name with the builder of Kerr Stuart", + "context": "create table table_142159_1 (name varchar, builder varchar, PRIMARY KEY (name))", + "answer": "select name from table_142159_1 where builder = \"kerr stuart\"" + }, + { + "question": "What was the score when the away team was norwich city?", + "context": "create table table_24887326_8 (score_1 varchar, away_team varchar, PRIMARY KEY (score_1))", + "answer": "select score_1 from table_24887326_8 where away_team = \"norwich city\"" + }, + { + "question": "Who wrote the episode that had 6.05 million U.s. viewers?", + "context": "create table table_28037619_2 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28037619_2 where us_viewers__million_ = \"6.05\"" + }, + { + "question": "What was the result when incumbent gil gutknecht ran?", + "context": "create table table_1341423_23 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341423_23 where incumbent = \"gil gutknecht\"" + }, + { + "question": "Who directed the episode with UK viewership of 6.09 million?", + "context": "create table table_29063233_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29063233_1 where uk_viewers__million_ = \"6.09\"" + }, + { + "question": "Who is the captain of Cardiff City?", + "context": "create table table_26593762_2 (team varchar, PRIMARY KEY (team))", + "answer": "select team as captain from table_26593762_2 where team = \"cardiff city\"" + }, + { + "question": "Which membership card has more than 5 members?", + "context": "create table member (membership_card varchar, PRIMARY KEY (membership_card))", + "answer": "select membership_card from member group by membership_card having count(*) > 5" + }, + { + "question": "What is th title of the episode written by Nick Thiel?", + "context": "create table table_2828803_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2828803_1 where written_by = \"nick thiel\"" + }, + { + "question": "Where the displacement(s) is 10.5L is, what is the engine family?", + "context": "create table table_26352332_4 (engine_family varchar, displacement_s_ varchar, PRIMARY KEY (engine_family))", + "answer": "select engine_family from table_26352332_4 where displacement_s_ = \"10.5l\"" + }, + { + "question": "Who was the class AAAA when class AAAAA was Weslaco in 1994-95", + "context": "create table table_14747043_1 (class_aaaa varchar, class_aaaaa varchar, weslaco varchar, school_year varchar, PRIMARY KEY (class_aaaa))", + "answer": "select class_aaaa from table_14747043_1 where class_aaaaa = weslaco and school_year = \"1994-95\"" + }, + { + "question": "What are the daily hire costs for the products with substring 'Book' in its name?", + "context": "create table products_for_hire (daily_hire_cost varchar, product_name varchar, PRIMARY KEY (daily_hire_cost))", + "answer": "select daily_hire_cost from products_for_hire where product_name like '%book%'" + }, + { + "question": "Name the total number for period of validity for upper volta", + "context": "create table table_222666_1 (period_of_validity varchar, former_country_name varchar, PRIMARY KEY (period_of_validity))", + "answer": "select count(period_of_validity) from table_222666_1 where former_country_name = \"upper volta\"" + }, + { + "question": "what's the\u00a0first appearance\u00a0where\u00a0character(s)\u00a0is iron man", + "context": "create table table_1217448_1 (first_appearance varchar, character_s_ varchar, PRIMARY KEY (first_appearance))", + "answer": "select first_appearance from table_1217448_1 where character_s_ = \"iron man\"" + }, + { + "question": "what are all the\u00a0registrations\u00a0where\u00a0station number\u00a0is c26", + "context": "create table table_11934032_1 (registrations varchar, station_number varchar, PRIMARY KEY (registrations))", + "answer": "select registrations from table_11934032_1 where station_number = \"c26\"" + }, + { + "question": "What is the first name and job id for all employees in the Finance department?", + "context": "create table departments (department_id varchar, department_name varchar, PRIMARY KEY (department_id)); create table employees (first_name varchar, job_id varchar, department_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t1.job_id from employees as t1 join departments as t2 on t1.department_id = t2.department_id where t2.department_name = 'finance'" + }, + { + "question": "What is the document id with 1 to 2 paragraphs?", + "context": "create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from paragraphs group by document_id having count(*) between 1 and 2" + }, + { + "question": "What are the ids of documents with letter 's' in the name with any expense budgets.", + "context": "create table documents_with_expenses (document_id varchar, PRIMARY KEY (document_id)); create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id))", + "answer": "select t1.document_id from documents as t1 join documents_with_expenses as t2 on t1.document_id = t2.document_id where t1.document_name like '%s%'" + }, + { + "question": "Who coached the team in the season with a 6-1 conference record?", + "context": "create table table_20319085_2 (coach varchar, conference_record varchar, PRIMARY KEY (coach))", + "answer": "select coach from table_20319085_2 where conference_record = \"6-1\"" + }, + { + "question": "What address was the document with id 4 mailed to?", + "context": "create table addresses (document_id varchar, PRIMARY KEY (document_id)); create table documents_mailed (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select addresses.address_details from addresses join documents_mailed on documents_mailed.mailed_to_address_id = addresses.address_id where document_id = 4" + }, + { + "question": "Name the date successor seated for successor being vacant", + "context": "create table table_2417330_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2417330_4 where successor = \"vacant\"" + }, + { + "question": "What are the maximum and minimum sales of the companies whose industries are not \"Banking\".", + "context": "create table companies (sales_billion integer, industry varchar, PRIMARY KEY (sales_billion))", + "answer": "select max(sales_billion), min(sales_billion) from companies where industry <> \"banking\"" + }, + { + "question": "What is the inclination when the alt name is OPS-1584?", + "context": "create table table_12141496_1 (inclination varchar, alt_name varchar, PRIMARY KEY (inclination))", + "answer": "select inclination from table_12141496_1 where alt_name = \"ops-1584\"" + }, + { + "question": "What was the world rank by QS in 2013 for the University of Otago?", + "context": "create table table_27484208_1 (world_rank_by_qs_ varchar, _2013 varchar, members varchar, PRIMARY KEY (world_rank_by_qs_))", + "answer": "select world_rank_by_qs_, _2013 from table_27484208_1 where members = \"university of otago\"" + }, + { + "question": "What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes?", + "context": "create table table_23799653_1 (title varchar, directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23799653_1 where directed_by = \"laura innes\" and us_viewers__millions_ = \"9.63\"" + }, + { + "question": "What's the total number of crew chiefs of the Fas Lane Racing team?", + "context": "create table table_1266602_1 (crew_chief varchar, team varchar, PRIMARY KEY (crew_chief))", + "answer": "select count(crew_chief) from table_1266602_1 where team = \"fas lane racing\"" + }, + { + "question": "what is the percentage of male voters where the level of maturity is 123726", + "context": "create table table_25042332_30 (e_vap_ratio_total varchar, men_of_voting_age varchar, PRIMARY KEY (e_vap_ratio_total))", + "answer": "select e_vap_ratio_total from table_25042332_30 where men_of_voting_age = 123726" + }, + { + "question": "Name the directed by for 15.15 viewers", + "context": "create table table_16617011_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_16617011_1 where us_viewers__millions_ = \"15.15\"" + }, + { + "question": "how many studios have the catalog number \"cal03 / 0091037137333\"?", + "context": "create table table_11222744_3 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))", + "answer": "select count(studio) from table_11222744_3 where catalog_number = \"cal03 / 0091037137333\"" + }, + { + "question": "What team does Al Unser drive for?", + "context": "create table table_1405704_1 (team varchar, winning_driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_1405704_1 where winning_driver = \"al unser\"" + }, + { + "question": "Who won the womens singles event the year that Jonas Lyduch won?", + "context": "create table table_12163387_1 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12163387_1 where mens_singles = \"jonas lyduch\"" + }, + { + "question": "What are the names of customers who use payment method \"Cash\"?", + "context": "create table customers (customer_name varchar, payment_method varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers where payment_method = \"cash\"" + }, + { + "question": "Who did the high assists in the game where Charles Barkley (21) did the high points?", + "context": "create table table_30087032_5 (high_assists varchar, high_points varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_30087032_5 where high_points = \"charles barkley (21)\"" + }, + { + "question": "How many percentages (2006) are there for the population whose mother tongue is French?", + "context": "create table table_2328113_1 (percentage__2006_ varchar, mother_tongue varchar, PRIMARY KEY (percentage__2006_))", + "answer": "select count(percentage__2006_) from table_2328113_1 where mother_tongue = \"french\"" + }, + { + "question": "WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?", + "context": "create table table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ integer, country varchar, PRIMARY KEY (avg_emission_per_km_2_of_its_land__tons_))", + "answer": "select max(avg_emission_per_km_2_of_its_land__tons_) from table_11251601_2 where country = \"india\"" + }, + { + "question": "When salt of this sea is the english title who is the director?", + "context": "create table table_26555737_1 (director varchar, english_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_26555737_1 where english_title = \"salt of this sea\"" + }, + { + "question": "What is the gender of senior high school 26mm?", + "context": "create table table_13555999_1 (gender varchar, senior_high_school__15_18_yrs_ varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_13555999_1 where senior_high_school__15_18_yrs_ = \"26mm\"" + }, + { + "question": "What are the climatic conditions for the trance- n himalaya zone?", + "context": "create table table_10638523_1 (trance__n_himalaya_zone varchar, particulars_and_characteristics varchar, PRIMARY KEY (trance__n_himalaya_zone))", + "answer": "select trance__n_himalaya_zone from table_10638523_1 where particulars_and_characteristics = \"climatic conditions\"" + }, + { + "question": "What is the toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza?", + "context": "create table table_1211545_2 (heavy_vehicle__3_4_axles_ varchar, name varchar, PRIMARY KEY (heavy_vehicle__3_4_axles_))", + "answer": "select heavy_vehicle__3_4_axles_ from table_1211545_2 where name = \"verkeerdevlei toll plaza\"" + }, + { + "question": "What's Salem State University's primary conference?", + "context": "create table table_1974545_2 (primary_conference varchar, institution varchar, PRIMARY KEY (primary_conference))", + "answer": "select primary_conference from table_1974545_2 where institution = \"salem state university\"" + }, + { + "question": "The Dijon-prenois had how many fastest laps?", + "context": "create table table_1140083_2 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))", + "answer": "select count(fastest_lap) from table_1140083_2 where location = \"dijon-prenois\"" + }, + { + "question": "What is the Telugu word for \u0445\u043e\u043d\u0433\u043e\u0440\u0446\u043e\u0433 in Mongolian?", + "context": "create table table_1408397_3 (telugu_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 varchar, mongolian varchar, PRIMARY KEY (telugu_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41))", + "answer": "select telugu_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 from table_1408397_3 where mongolian = \"\u0445\u043e\u043d\u0433\u043e\u0440\u0446\u043e\u0433\"" + }, + { + "question": "Show the addresses and phones of all the buildings managed by \"Brenden\".", + "context": "create table apartment_buildings (building_address varchar, building_phone varchar, building_manager varchar, PRIMARY KEY (building_address))", + "answer": "select building_address, building_phone from apartment_buildings where building_manager = \"brenden\"" + }, + { + "question": "How many years have a film that uses the title \"Nagabonar\" in the nomination?", + "context": "create table table_13719788_1 (year__ceremony_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select count(year__ceremony_) from table_13719788_1 where film_title_used_in_nomination = \"nagabonar\"" + }, + { + "question": "How many users are there?", + "context": "create table useracct (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from useracct" + }, + { + "question": "What is the hometown of the players for placer, california", + "context": "create table table_11677691_12 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677691_12 where hometown = \"placer, california\"" + }, + { + "question": "In which country are there 1,278.13 exports?", + "context": "create table table_26160007_1 (country varchar, exports varchar, PRIMARY KEY (country))", + "answer": "select country from table_26160007_1 where exports = \"1,278.13\"" + }, + { + "question": "What are the distinct types of mills that are built by American or Canadian architects?", + "context": "create table architect (id varchar, PRIMARY KEY (id)); create table mill (type varchar, architect_id varchar, PRIMARY KEY (type))", + "answer": "select distinct t1.type from mill as t1 join architect as t2 on t1.architect_id = t2.id where t2.nationality = 'american' or t2.nationality = 'canadian'" + }, + { + "question": "Show ids of all students who do not have any friends.", + "context": "create table highschooler (id varchar, student_id varchar, PRIMARY KEY (id)); create table friend (id varchar, student_id varchar, PRIMARY KEY (id))", + "answer": "select id from highschooler except select student_id from friend" + }, + { + "question": "Whose is the manufacturer for team Ranier-Lundy?", + "context": "create table table_2268216_1 (manufacturer varchar, team varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_2268216_1 where team = \"ranier-lundy\"" + }, + { + "question": "How many breadth entries are there when the vessel is marianarray?", + "context": "create table table_28132970_5 (breadth varchar, vessel varchar, PRIMARY KEY (breadth))", + "answer": "select count(breadth) from table_28132970_5 where vessel = \"marianarray\"" + }, + { + "question": "What circuit has a race called ii cape south easter trophy.", + "context": "create table table_1140099_6 (circuit varchar, race_name varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_1140099_6 where race_name = \"ii cape south easter trophy\"" + }, + { + "question": "What percentage of voters voted for a third party in the county that had 802 third party voters?", + "context": "create table table_20278716_2 (others__percentage varchar, others__number varchar, PRIMARY KEY (others__percentage))", + "answer": "select others__percentage from table_20278716_2 where others__number = 802" + }, + { + "question": "What is the name of the couple if the total points earned is 161?", + "context": "create table table_23662272_4 (couple varchar, total_points_earned varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_23662272_4 where total_points_earned = 161" + }, + { + "question": "Show different publishers together with the number of publications they have.", + "context": "create table publication (publisher varchar, PRIMARY KEY (publisher))", + "answer": "select publisher, count(*) from publication group by publisher" + }, + { + "question": "Name the language for kunar", + "context": "create table table_16278349_1 (language varchar, province varchar, PRIMARY KEY (language))", + "answer": "select language from table_16278349_1 where province = \"kunar\"" + }, + { + "question": "What is the document name and template id for document with description with the letter 'w' in it?", + "context": "create table documents (document_name varchar, template_id varchar, document_description varchar, PRIMARY KEY (document_name))", + "answer": "select document_name, template_id from documents where document_description like \"%w%\"" + }, + { + "question": "Find the abbreviation and country of the airline that has fewest number of flights?", + "context": "create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (abbreviation varchar, country varchar, airline varchar, uid varchar, PRIMARY KEY (abbreviation))", + "answer": "select t1.abbreviation, t1.country from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline order by count(*) limit 1" + }, + { + "question": "How many car numbers were recorded when the time/retired is +4.0019?", + "context": "create table table_17319931_1 (car_no varchar, time_retired varchar, PRIMARY KEY (car_no))", + "answer": "select count(car_no) from table_17319931_1 where time_retired = \"+4.0019\"" + }, + { + "question": "What are the original air date(s) for episodes with 8.63 million viewers?", + "context": "create table table_2501754_2 (original_airdate varchar, viewing_figures_millions varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_2501754_2 where viewing_figures_millions = \"8.63\"" + }, + { + "question": "What was the rainfall by volume in Huetar Atlantico where the rainfall depth (mm/year) was 3527?", + "context": "create table table_25983027_1 (rainfall_by_volume__km_3__year_ varchar, rainfall_by_depth__mm_year_ varchar, PRIMARY KEY (rainfall_by_volume__km_3__year_))", + "answer": "select rainfall_by_volume__km_3__year_ from table_25983027_1 where rainfall_by_depth__mm_year_ = 3527" + }, + { + "question": "Which trip started from the station with the largest dock count? Give me the trip id.", + "context": "create table trip (id varchar, start_station_id varchar, PRIMARY KEY (id)); create table station (id varchar, dock_count varchar, PRIMARY KEY (id))", + "answer": "select t1.id from trip as t1 join station as t2 on t1.start_station_id = t2.id order by t2.dock_count desc limit 1" + }, + { + "question": "Did Flamengo play in the Recopa Sudamericana in 1998", + "context": "create table table_14962316_9 (recopa_sudamericana_1998 varchar, team varchar, PRIMARY KEY (recopa_sudamericana_1998))", + "answer": "select recopa_sudamericana_1998 from table_14962316_9 where team = \"flamengo\"" + }, + { + "question": "What record has c. j. miles (20) in the high points?", + "context": "create table table_27734286_1 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_27734286_1 where high_points = \"c. j. miles (20)\"" + }, + { + "question": "What are the average start(s) when he had $1,663,868?", + "context": "create table table_1637041_2 (avg_start varchar, winnings varchar, PRIMARY KEY (avg_start))", + "answer": "select avg_start from table_1637041_2 where winnings = \"$1,663,868\"" + }, + { + "question": "How many simplified names are there for xin county?", + "context": "create table table_2847477_2 (simplified varchar, english_name varchar, PRIMARY KEY (simplified))", + "answer": "select count(simplified) from table_2847477_2 where english_name = \"xin county\"" + }, + { + "question": "Find the id of the courses that do not have any prerequisite?", + "context": "create table prereq (course_id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select course_id from course except select course_id from prereq" + }, + { + "question": "what is ba - running bear where b - bishop is rn - running stag?", + "context": "create table table_2603017_2 (ba___running_bear varchar, b___bishop varchar, PRIMARY KEY (ba___running_bear))", + "answer": "select ba___running_bear from table_2603017_2 where b___bishop = \"rn - running stag\"" + }, + { + "question": "What is the innings when the highest score is 72?", + "context": "create table table_28846752_4 (innings integer, highest_score varchar, PRIMARY KEY (innings))", + "answer": "select max(innings) from table_28846752_4 where highest_score = \"72\"" + }, + { + "question": "Name the record for kentucky", + "context": "create table table_22847880_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_22847880_2 where opponent = \"kentucky\"" + }, + { + "question": "What is the model of the enginge d5252 t?", + "context": "create table table_1147701_5 (model_name varchar, engine_code varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from table_1147701_5 where engine_code = \"d5252 t\"" + }, + { + "question": "When tim bridgman gregor fisken is the pole position who is the gt3 winner?", + "context": "create table table_30062172_3 (gt3_winner varchar, pole_position varchar, PRIMARY KEY (gt3_winner))", + "answer": "select gt3_winner from table_30062172_3 where pole_position = \"tim bridgman gregor fisken\"" + }, + { + "question": "List all car plates in the capital of Wilno since the year of 1937.", + "context": "create table table_11654169_1 (car_plates__since_1937_ varchar, capital varchar, PRIMARY KEY (car_plates__since_1937_))", + "answer": "select car_plates__since_1937_ from table_11654169_1 where capital = \"wilno\"" + }, + { + "question": "who is the the\u00a0candidates\u00a0with\u00a0incumbent\u00a0being don fuqua", + "context": "create table table_1341604_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341604_10 where incumbent = \"don fuqua\"" + }, + { + "question": "How many incoming managers did Burnley have?", + "context": "create table table_26593762_3 (incoming_manager varchar, team varchar, PRIMARY KEY (incoming_manager))", + "answer": "select count(incoming_manager) from table_26593762_3 where team = \"burnley\"" + }, + { + "question": "What is the load bearing capacity when the name is Camelus Dromedarius", + "context": "create table table_1427868_1 (load_bearing_capacity varchar, scientific_name varchar, PRIMARY KEY (load_bearing_capacity))", + "answer": "select load_bearing_capacity from table_1427868_1 where scientific_name = \"camelus dromedarius\"" + }, + { + "question": "What event was in detroit?", + "context": "create table table_1139087_2 (grand_prix varchar, location varchar, PRIMARY KEY (grand_prix))", + "answer": "select grand_prix from table_1139087_2 where location = \"detroit\"" + }, + { + "question": "Which country does customer with first name as Carole and last name as Bernhard lived in?", + "context": "create table addresses (country varchar, address_id varchar, PRIMARY KEY (country)); create table customers (customer_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (customer_address_id))", + "answer": "select t2.country from customers as t1 join addresses as t2 on t1.customer_address_id = t2.address_id where t1.first_name = \"carole\" and t1.last_name = \"bernhard\"" + }, + { + "question": "what is the number where the player was jimmy demaret", + "context": "create table table_262383_1 (runner_s__up varchar, PRIMARY KEY (runner_s__up))", + "answer": "select 54 as _holes from table_262383_1 where runner_s__up = \"jimmy demaret\"" + }, + { + "question": "Who's the writer of the episode see by 12.13 million US viewers?", + "context": "create table table_12159115_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_12159115_2 where us_viewers__millions_ = \"12.13\"" + }, + { + "question": "Show the people that have been comptroller the most times and the corresponding number of times.", + "context": "create table party (comptroller varchar, PRIMARY KEY (comptroller))", + "answer": "select comptroller, count(*) from party group by comptroller order by count(*) desc limit 1" + }, + { + "question": "What is the official name of the municipality whose name in Spanish is Crip\u00e1n?", + "context": "create table table_300283_1 (official_name varchar, name_in_spanish varchar, PRIMARY KEY (official_name))", + "answer": "select official_name from table_300283_1 where name_in_spanish = \"crip\u00e1n\"" + }, + { + "question": "What is the minimum number of barangays where the type is component city?", + "context": "create table table_255602_1 (no_of_barangays integer, type varchar, PRIMARY KEY (no_of_barangays))", + "answer": "select min(no_of_barangays) from table_255602_1 where type = \"component city\"" + }, + { + "question": "what is the party with the incumbent jim demint?", + "context": "create table table_1341423_40 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341423_40 where incumbent = \"jim demint\"" + }, + { + "question": "Who was the away team when Carlton was the home team?", + "context": "create table table_14312471_1 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_14312471_1 where home_team = \"carlton\"" + }, + { + "question": "List the name of musicals that do not have actors.", + "context": "create table actor (name varchar, musical_id varchar, PRIMARY KEY (name)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))", + "answer": "select name from musical where not musical_id in (select musical_id from actor)" + }, + { + "question": "What television service is in italy and is in english?", + "context": "create table table_15887683_15 (television_service varchar, country varchar, language varchar, PRIMARY KEY (television_service))", + "answer": "select television_service from table_15887683_15 where country = \"italy\" and language = \"english\"" + }, + { + "question": "Show name of all students who have some friends and also are liked by someone else.", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table likes (student_id varchar, liked_id varchar, PRIMARY KEY (student_id)); create table friend (student_id varchar, liked_id varchar, PRIMARY KEY (student_id))", + "answer": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id intersect select t2.name from likes as t1 join highschooler as t2 on t1.liked_id = t2.id" + }, + { + "question": "What original air dates are associated with a viewing figure of 7.27 million?", + "context": "create table table_15026994_2 (original_air_date varchar, viewing_figure varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_15026994_2 where viewing_figure = \"7.27 million\"" + }, + { + "question": "What language was spoken in Everlasting Moments?", + "context": "create table table_18994724_1 (language_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (language_s_))", + "answer": "select language_s_ from table_18994724_1 where film_title_used_in_nomination = \"everlasting moments\"" + }, + { + "question": "List all company names with a book published by Alyson.", + "context": "create table culture_company (company_name varchar, book_club_id varchar, PRIMARY KEY (company_name)); create table book_club (book_club_id varchar, publisher varchar, PRIMARY KEY (book_club_id))", + "answer": "select t1.company_name from culture_company as t1 join book_club as t2 on t1.book_club_id = t2.book_club_id where t2.publisher = 'alyson'" + }, + { + "question": "Name the channels when designation is pc700", + "context": "create table table_142573_1 (channels varchar, designation varchar, PRIMARY KEY (channels))", + "answer": "select channels from table_142573_1 where designation = \"pc700\"" + }, + { + "question": "Name the dar for 912", + "context": "create table table_15887683_17 (dar varchar, n\u00b0 varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_17 where n\u00b0 = 912" + }, + { + "question": "List all budget type codes and descriptions.", + "context": "create table ref_budget_codes (budget_type_code varchar, budget_type_description varchar, PRIMARY KEY (budget_type_code))", + "answer": "select budget_type_code, budget_type_description from ref_budget_codes" + }, + { + "question": "what's the\u00a0notes\u00a0where\u00a0number range\u00a0is 17", + "context": "create table table_1181375_1 (notes varchar, number_range varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_1181375_1 where number_range = \"17\"" + }, + { + "question": "If the residence is Chagrin falls, who is the representative?", + "context": "create table table_26131768_4 (representative varchar, residence varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_26131768_4 where residence = \"chagrin falls\"" + }, + { + "question": "Name the number of playoffs for semifinals", + "context": "create table table_245694_4 (playoffs varchar, concacaf varchar, PRIMARY KEY (playoffs))", + "answer": "select count(playoffs) from table_245694_4 where concacaf = \"semifinals\"" + }, + { + "question": "What is the capital (endonym) where Douglas is the Capital (exonym)?", + "context": "create table table_1008653_9 (capital___endonym__ varchar, capital___exonym__ varchar, PRIMARY KEY (capital___endonym__))", + "answer": "select capital___endonym__ from table_1008653_9 where capital___exonym__ = \"douglas\"" + }, + { + "question": "Is the iin range 4 active?", + "context": "create table table_15905399_1 (active varchar, iin_ranges varchar, PRIMARY KEY (active))", + "answer": "select active from table_15905399_1 where iin_ranges = \"4\"" + }, + { + "question": "What is the total number of third place finishes when the city & nation was Vancouver, Canada?", + "context": "create table table_2146364_2 (third_place integer, city_ varchar, _nation varchar, PRIMARY KEY (third_place))", + "answer": "select min(third_place) from table_2146364_2 where city_ & _nation = \"vancouver, canada\"" + }, + { + "question": "Name the chassis for alta", + "context": "create table table_21977704_1 (chassis varchar, constructor varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_21977704_1 where constructor = \"alta\"" + }, + { + "question": "What capital has a population of 596268?", + "context": "create table table_1404414_2 (capital varchar, population_census_2009 varchar, PRIMARY KEY (capital))", + "answer": "select capital from table_1404414_2 where population_census_2009 = 596268" + }, + { + "question": "Which political party is involved where John J. Delaney is the sitting Representative?", + "context": "create table table_1342256_32 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342256_32 where incumbent = \"john j. delaney\"" + }, + { + "question": "What was the population in 2010 for Minane", + "context": "create table table_2144436_1 (population__2010_ integer, barangay varchar, PRIMARY KEY (population__2010_))", + "answer": "select max(population__2010_) from table_2144436_1 where barangay = \"minane\"" + }, + { + "question": "Name the record with opponent atlanta falcons", + "context": "create table table_13258823_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_13258823_2 where opponent = \"atlanta falcons\"" + }, + { + "question": "Which type of record has result/games of b.c. 16 @ edmonton 22?", + "context": "create table table_21436373_6 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_6 where result_games = \"b.c. 16 @ edmonton 22\"" + }, + { + "question": "when does the train departuring at 11.35 arrive", + "context": "create table table_18333678_2 (arrival varchar, departure varchar, PRIMARY KEY (arrival))", + "answer": "select arrival from table_18333678_2 where departure = \"11.35\"" + }, + { + "question": "Find all airlines that have fewer than 200 flights.", + "context": "create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) < 200" + }, + { + "question": "Who performed the song named \"Badlands\"? Show the first name and the last name.", + "context": "create table band (firstname varchar, lastname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select t2.firstname, t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = \"badlands\"" + }, + { + "question": "Retrieve all the first and last names of authors in the alphabetical order of last names.", + "context": "create table authors (fname varchar, lname varchar, PRIMARY KEY (fname))", + "answer": "select fname, lname from authors order by lname" + }, + { + "question": "How many time is sunday day one is ahad?", + "context": "create table table_1277350_7 (thursday_day_five varchar, sunday_day_one varchar, PRIMARY KEY (thursday_day_five))", + "answer": "select count(thursday_day_five) from table_1277350_7 where sunday_day_one = \"ahad\"" + }, + { + "question": "What kind of vehicle is the agra 1050?", + "context": "create table table_19787093_1 (vehicle_category varchar, till_agra varchar, PRIMARY KEY (vehicle_category))", + "answer": "select vehicle_category from table_19787093_1 where till_agra = 1050" + }, + { + "question": "Name the ply uk, nz, au for wraps per inch 7 wpi", + "context": "create table table_20297668_1 (ply__uk varchar, _nz varchar, _au_ varchar, wraps_per_inch__wpi_ varchar, PRIMARY KEY (ply__uk))", + "answer": "select ply__uk, _nz, _au_ from table_20297668_1 where wraps_per_inch__wpi_ = \"7 wpi\"" + }, + { + "question": "Who had the highest rebounds during the game with a record of 23-47?", + "context": "create table table_22822559_8 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_22822559_8 where record = \"23-47\"" + }, + { + "question": "Who was the trainer when the jockey was Luke Nolen?", + "context": "create table table_24915874_1 (trainer varchar, jockey varchar, PRIMARY KEY (trainer))", + "answer": "select trainer from table_24915874_1 where jockey = \"luke nolen\"" + }, + { + "question": "What is the broadcast date of the episode with run time 25:12?", + "context": "create table table_1785117_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_1785117_1 where run_time = \"25:12\"" + }, + { + "question": "What's the Sanskrit word for month with Thai name \u0e21\u0e01\u0e23\u0e32\u0e04\u0e21?", + "context": "create table table_20354_5 (sanskrit_word varchar, thai_name varchar, PRIMARY KEY (sanskrit_word))", + "answer": "select sanskrit_word from table_20354_5 where thai_name = \"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21\"" + }, + { + "question": "How many locations have the Sun Life Stadium?", + "context": "create table table_15647838_3 (location varchar, stadium varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_15647838_3 where stadium = \"sun life stadium\"" + }, + { + "question": "How many precincts are in the county where G. Hager received 19 (20%) votes?", + "context": "create table table_17820556_4 (precincts varchar, g_hager varchar, PRIMARY KEY (precincts))", + "answer": "select precincts from table_17820556_4 where g_hager = \"19 (20%)\"" + }, + { + "question": "What is the yacht type of Icap Leopard?", + "context": "create table table_25561560_2 (yacht varchar, PRIMARY KEY (yacht))", + "answer": "select yacht as type from table_25561560_2 where yacht = \"icap leopard\"" + }, + { + "question": "What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch?", + "context": "create table table_1506950_9 (us_open varchar, open_ch varchar, PRIMARY KEY (us_open))", + "answer": "select us_open from table_1506950_9 where open_ch = \"6th\"" + }, + { + "question": "What is the nickname at the University of Nebraska at Omaha?", + "context": "create table table_26476336_2 (team_nickname varchar, institution varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_26476336_2 where institution = \"university of nebraska at omaha\"" + }, + { + "question": "What is the Galician (reintegrationist) word of the Galician (Official) is adeus*?", + "context": "create table table_26614365_5 (galician___reintegrationist__ varchar, galician___official__ varchar, PRIMARY KEY (galician___reintegrationist__))", + "answer": "select galician___reintegrationist__ from table_26614365_5 where galician___official__ = \"adeus*\"" + }, + { + "question": "What is aggressive rider Richie Porte's team classifaction?", + "context": "create table table_29332810_14 (team_classification varchar, aggressive_rider varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_29332810_14 where aggressive_rider = \"richie porte\"" + }, + { + "question": "Name the surface for nathalie tauziat", + "context": "create table table_24638867_6 (surface varchar, partner varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_24638867_6 where partner = \"nathalie tauziat\"" + }, + { + "question": "What were the LOA (metres) for the yacht where the skipper was Jez Fanstone?", + "context": "create table table_25595107_1 (loa__metres_ varchar, skipper varchar, PRIMARY KEY (loa__metres_))", + "answer": "select loa__metres_ from table_25595107_1 where skipper = \"jez fanstone\"" + }, + { + "question": "Find the names of rooms that have been reserved for more than 60 times.", + "context": "create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname))", + "answer": "select t2.roomname from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t1.room having count(*) > 60" + }, + { + "question": "If the driver is Milka Duno, what is the name of the team?", + "context": "create table table_17693171_1 (team varchar, driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_17693171_1 where driver = \"milka duno\"" + }, + { + "question": "Name the year for les portes tournantes", + "context": "create table table_17025328_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17025328_1 where original_title = \"les portes tournantes\"" + }, + { + "question": "What is every strike rate when cathces/stumpings is 13/1?", + "context": "create table table_2985664_8 (strike_rate varchar, catches_stumpings varchar, PRIMARY KEY (strike_rate))", + "answer": "select strike_rate from table_2985664_8 where catches_stumpings = \"13/1\"" + }, + { + "question": "What institution has the nickname Penmen?", + "context": "create table table_12936521_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_12936521_2 where nickname = \"penmen\"" + }, + { + "question": "How many viewers in millions did the Alison McDonald episode get?", + "context": "create table table_26961951_4 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_26961951_4 where written_by = \"alison mcdonald\"" + }, + { + "question": "What's the nickname of Westfield State University's students?", + "context": "create table table_1974545_2 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_1974545_2 where institution = \"westfield state university\"" + }, + { + "question": "What is the total number of gentle personalities?", + "context": "create table table_1912713_2 (\u65b9\u4f4d_direction varchar, \u6027\u60c5_personality varchar, PRIMARY KEY (\u65b9\u4f4d_direction))", + "answer": "select count(\u65b9\u4f4d_direction) from table_1912713_2 where \u6027\u60c5_personality = \"gentle\"" + }, + { + "question": "when was otar iosseliani's film selected", + "context": "create table table_18069789_1 (year_ varchar, e_ varchar, director varchar, PRIMARY KEY (year_))", + "answer": "select year_[e_] as __ceremony_ from table_18069789_1 where director = \"otar iosseliani\"" + }, + { + "question": "How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup?", + "context": "create table table_16857_2 (mls_cup_playoffs varchar, concacaf_champions_cup___champions_league varchar, us_open_cup varchar, PRIMARY KEY (mls_cup_playoffs))", + "answer": "select mls_cup_playoffs from table_16857_2 where concacaf_champions_cup___champions_league = \"did not qualify\" and us_open_cup = \"round of 16\"" + }, + { + "question": "if they played last on 12/5/1987 what is their record", + "context": "create table table_15740666_6 (current_streak varchar, last_meeting varchar, PRIMARY KEY (current_streak))", + "answer": "select current_streak from table_15740666_6 where last_meeting = \"12/5/1987\"" + }, + { + "question": "Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion", + "context": "create table table_27965906_2 (gt_winning_car varchar, a_winning_car varchar, PRIMARY KEY (gt_winning_car))", + "answer": "select gt_winning_car from table_27965906_2 where a_winning_car = \"#88 team mitsubishi 88 mitsubishi starion\"" + }, + { + "question": "How many times was revenue in millions recorded when the spending per capita was $6,736?", + "context": "create table table_14700336_1 (revenue__millions_ varchar, spending_per_capita varchar, PRIMARY KEY (revenue__millions_))", + "answer": "select count(revenue__millions_) from table_14700336_1 where spending_per_capita = \"$6,736\"" + }, + { + "question": "How many networks aired the franchise in 1981 only?", + "context": "create table table_12438767_1 (network varchar, dates_aired varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_12438767_1 where dates_aired = \"1981\"" + }, + { + "question": "What was the spending per capita when the revenue per capita was $7,755?", + "context": "create table table_14700336_1 (spending_per_capita varchar, revenue_per_capita varchar, PRIMARY KEY (spending_per_capita))", + "answer": "select spending_per_capita from table_14700336_1 where revenue_per_capita = \"$7,755\"" + }, + { + "question": "Name the title that got 1.54 viewers", + "context": "create table table_22347090_5 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22347090_5 where us_viewers__million_ = \"1.54\"" + }, + { + "question": "What is the former school of the player from Detroit, MI?", + "context": "create table table_29418619_1 (former_school varchar, hometown varchar, PRIMARY KEY (former_school))", + "answer": "select former_school from table_29418619_1 where hometown = \"detroit, mi\"" + }, + { + "question": "Name the name of administrative unit for 3464 people", + "context": "create table table_14465924_1 (name_of_administrative_unit varchar, population__people_ varchar, PRIMARY KEY (name_of_administrative_unit))", + "answer": "select name_of_administrative_unit from table_14465924_1 where population__people_ = 3464" + }, + { + "question": "What is the 3rd participle of the verb whose 2nd participle is band?", + "context": "create table table_1745843_5 (part_3 varchar, part_2 varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_1745843_5 where part_2 = \"band\"" + }, + { + "question": "Where does the bg express train end?", + "context": "create table table_12095519_1 (destination varchar, train_name varchar, PRIMARY KEY (destination))", + "answer": "select destination from table_12095519_1 where train_name = \"bg express\"" + }, + { + "question": "How many wrestlers are there?", + "context": "create table wrestler (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from wrestler" + }, + { + "question": "What is the original title of season number 3?", + "context": "create table table_1481865_1 (title__original_ varchar, number_of_season varchar, PRIMARY KEY (title__original_))", + "answer": "select title__original_ from table_1481865_1 where number_of_season = 3" + }, + { + "question": "what is the largest city where the province is eastern cape?", + "context": "create table table_17416221_1 (largest_city varchar, province varchar, PRIMARY KEY (largest_city))", + "answer": "select largest_city from table_17416221_1 where province = \"eastern cape\"" + }, + { + "question": "List the names of editors that are not on any journal committee.", + "context": "create table editor (name varchar, editor_id varchar, PRIMARY KEY (name)); create table journal_committee (name varchar, editor_id varchar, PRIMARY KEY (name))", + "answer": "select name from editor where not editor_id in (select editor_id from journal_committee)" + }, + { + "question": "What was the film that vadim ilyenko directed?", + "context": "create table table_10236830_1 (film_name varchar, director varchar, PRIMARY KEY (film_name))", + "answer": "select film_name from table_10236830_1 where director = \"vadim ilyenko\"" + }, + { + "question": "Where is friendship collegiate charter school located", + "context": "create table table_11677691_8 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_8 where school = \"friendship collegiate charter school\"" + }, + { + "question": "Who directed the episode written by karina csolty", + "context": "create table table_27969432_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27969432_2 where written_by = \"karina csolty\"" + }, + { + "question": "What was the place and date that the Apartments area was damaged?", + "context": "create table table_23014685_1 (place_ varchar, _date varchar, area_damaged varchar, PRIMARY KEY (place_))", + "answer": "select place_ & _date from table_23014685_1 where area_damaged = \"apartments area\"" + }, + { + "question": "What is the number of the player who went to Southern University?", + "context": "create table table_11734041_9 (no_s_ varchar, school_club_team_country varchar, PRIMARY KEY (no_s_))", + "answer": "select no_s_ from table_11734041_9 where school_club_team_country = \"southern university\"" + }, + { + "question": "What is the minimum MotoGP/500cc ranking?", + "context": "create table table_2889810_1 (motogp_500cc integer, PRIMARY KEY (motogp_500cc))", + "answer": "select min(motogp_500cc) from table_2889810_1" + }, + { + "question": "How many new stations have a lenght (miles) of 6.0?", + "context": "create table table_1817879_2 (_number_of_new_stations varchar, length__miles_ varchar, PRIMARY KEY (_number_of_new_stations))", + "answer": "select count(_number_of_new_stations) from table_1817879_2 where length__miles_ = \"6.0\"" + }, + { + "question": "What is the name of each course and the corresponding number of student enrollment?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name, count(*) from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name" + }, + { + "question": "Who is the winner when bigten (2-1) is the challenge leader?", + "context": "create table table_21330550_2 (winner varchar, challenge_leader varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_21330550_2 where challenge_leader = \"bigten (2-1)\"" + }, + { + "question": "What party does ron klink represent?", + "context": "create table table_1341522_41 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341522_41 where incumbent = \"ron klink\"" + }, + { + "question": "Which nation is where rider phillip dutton from?", + "context": "create table table_18666752_3 (nation varchar, rider varchar, PRIMARY KEY (nation))", + "answer": "select nation from table_18666752_3 where rider = \"phillip dutton\"" + }, + { + "question": "Find the first name and country code of the oldest player.", + "context": "create table players (first_name varchar, country_code varchar, birth_date varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, country_code from players order by birth_date limit 1" + }, + { + "question": "Who is the publisher of the book titled daughters of an emerald dusk?", + "context": "create table table_20193855_2 (publisher varchar, book_title varchar, PRIMARY KEY (publisher))", + "answer": "select publisher from table_20193855_2 where book_title = \"daughters of an emerald dusk\"" + }, + { + "question": "Name the horizontal 0 for \u660e\u5f26\uff08ry\u65e5\u6708\uff09", + "context": "create table table_25519358_1 (horizontal_0_a varchar, hypotenuse_0_c varchar, PRIMARY KEY (horizontal_0_a))", + "answer": "select horizontal_0_a from table_25519358_1 where hypotenuse_0_c = \"\u660e\u5f26\uff08ry\u65e5\u6708\uff09\"" + }, + { + "question": "find the pixel aspect ratio and nation of the tv channels that do not use English.", + "context": "create table tv_channel (pixel_aspect_ratio_par varchar, country varchar, language varchar, PRIMARY KEY (pixel_aspect_ratio_par))", + "answer": "select pixel_aspect_ratio_par, country from tv_channel where language <> 'english'" + }, + { + "question": "How many winning drivers were there in the race that had a fastest lap time of 56.920?", + "context": "create table table_10706961_2 (winning_driver varchar, fastest_lap varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_10706961_2 where fastest_lap = \"56.920\"" + }, + { + "question": "What is the name of the circuit where the race xi Syracuse grand prix was held?", + "context": "create table table_1140105_6 (circuit varchar, race_name varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_1140105_6 where race_name = \"xi syracuse grand prix\"" + }, + { + "question": "Name the replaced by where date of vacancy is 31 december 2008 where position in table is 1st", + "context": "create table table_17039232_3 (replaced_by varchar, date_of_vacancy varchar, position_in_table varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17039232_3 where date_of_vacancy = \"31 december 2008\" and position_in_table = \"1st\"" + }, + { + "question": "How many MotoGP winners were there when the circuit was Catalunya?", + "context": "create table table_26781017_1 (motogp_winner varchar, circuit varchar, PRIMARY KEY (motogp_winner))", + "answer": "select count(motogp_winner) from table_26781017_1 where circuit = \"catalunya\"" + }, + { + "question": "How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?", + "context": "create table table_18852984_2 (bills_originally_cosponsored varchar, all_amendments_cosponsored varchar, PRIMARY KEY (bills_originally_cosponsored))", + "answer": "select bills_originally_cosponsored from table_18852984_2 where all_amendments_cosponsored = 0" + }, + { + "question": "what was the competitoin where the opponent is sheffield scimitars?", + "context": "create table table_17120964_9 (competition varchar, opponent varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_17120964_9 where opponent = \"sheffield scimitars\"" + }, + { + "question": "Which politican party has a birthday of November 10, 1880", + "context": "create table table_10284385_1 (party varchar, date_of_birth varchar, PRIMARY KEY (party))", + "answer": "select party from table_10284385_1 where date_of_birth = \"november 10, 1880\"" + }, + { + "question": "How many teams had gary megson as an incoming manager", + "context": "create table table_26914759_3 (position_in_table varchar, incoming_manager varchar, PRIMARY KEY (position_in_table))", + "answer": "select count(position_in_table) from table_26914759_3 where incoming_manager = \"gary megson\"" + }, + { + "question": "Which of the networks originate in Xalapa?", + "context": "create table table_2899987_2 (network varchar, origin varchar, PRIMARY KEY (network))", + "answer": "select network from table_2899987_2 where origin = \"xalapa\"" + }, + { + "question": "Find the name of all customers whose name contains \"Alex\".", + "context": "create table customers (customer_name varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers where customer_name like \"%alex%\"" + }, + { + "question": "Which eagle riders have battle of the planets as zoltar?", + "context": "create table table_17480471_3 (eagle_riders varchar, battle_of_the_planets varchar, PRIMARY KEY (eagle_riders))", + "answer": "select eagle_riders from table_17480471_3 where battle_of_the_planets = \"zoltar\"" + }, + { + "question": "When relay is the station type and 5kw is the power kw what is the branding?", + "context": "create table table_23394920_1 (branding varchar, power_kw varchar, station_type varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_23394920_1 where power_kw = \"5kw\" and station_type = \"relay\"" + }, + { + "question": "When the type is \"reset\" what is the description?", + "context": "create table table_1507852_1 (description varchar, type varchar, PRIMARY KEY (description))", + "answer": "select description from table_1507852_1 where type = \"reset\"" + }, + { + "question": "Show all video games with type Collectible card game.", + "context": "create table video_games (gname varchar, gtype varchar, PRIMARY KEY (gname))", + "answer": "select gname from video_games where gtype = \"collectible card game\"" + }, + { + "question": "Show each state and the number of addresses in each state.", + "context": "create table addresses (state_province_county varchar, PRIMARY KEY (state_province_county))", + "answer": "select state_province_county, count(*) from addresses group by state_province_county" + }, + { + "question": "What is the record when the opponent is washington redskins?", + "context": "create table table_18847692_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_18847692_2 where opponent = \"washington redskins\"" + }, + { + "question": "Name the circuit for hertz british grand prix", + "context": "create table table_27948565_1 (circuit varchar, grand_prix varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_27948565_1 where grand_prix = \"hertz british grand_prix\"" + }, + { + "question": "What is the station type of smni tv-26 naga", + "context": "create table table_12547903_2 (station_type varchar, branding varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_12547903_2 where branding = \"smni tv-26 naga\"" + }, + { + "question": "How many primary conferences were held in Allendale, Michigan?", + "context": "create table table_27361255_1 (primary_conference varchar, location varchar, PRIMARY KEY (primary_conference))", + "answer": "select count(primary_conference) from table_27361255_1 where location = \"allendale, michigan\"" + }, + { + "question": "What was the percentage of yes votes for the measure where the no votes number 199174?", + "context": "create table table_256286_45 (_percentage_yes varchar, no_votes varchar, PRIMARY KEY (_percentage_yes))", + "answer": "select _percentage_yes from table_256286_45 where no_votes = 199174" + }, + { + "question": "What is the height in ft for number 42 for the rockets in 1993-94?", + "context": "create table table_11734041_16 (height_in_ft varchar, no_s_ varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_16 where no_s_ = \"42\" and years_for_rockets = \"1993-94\"" + }, + { + "question": "Name the winner for date of nov 5, 1987", + "context": "create table table_1594772_2 (winner varchar, match_date varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_1594772_2 where match_date = \"nov 5, 1987\"" + }, + { + "question": "When 70 is the total points what is the rr4 points?", + "context": "create table table_21489362_2 (rr4_pts varchar, total_pts varchar, PRIMARY KEY (rr4_pts))", + "answer": "select rr4_pts from table_21489362_2 where total_pts = 70" + }, + { + "question": "What's the largest number of abandoned games by any of the teams?", + "context": "create table table_25368177_1 (abandoned integer, PRIMARY KEY (abandoned))", + "answer": "select max(abandoned) from table_25368177_1" + }, + { + "question": "What is no-yds when no.-yds is 1-13?", + "context": "create table table_26176081_29 (no_yds varchar, PRIMARY KEY (no_yds))", + "answer": "select no_yds from table_26176081_29 where no_yds = \"1-13\"" + }, + { + "question": "What is the data point for s hindu where the buddhist data point is 73.0%?", + "context": "create table table_14598_5 (s_hindu varchar, buddhist varchar, PRIMARY KEY (s_hindu))", + "answer": "select count(s_hindu) from table_14598_5 where buddhist = \"73.0%\"" + }, + { + "question": "Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast?", + "context": "create table table_2794180_11 (radio_commentator varchar, television_commentator varchar, PRIMARY KEY (radio_commentator))", + "answer": "select radio_commentator from table_2794180_11 where television_commentator = \"jan gabrielsson\"" + }, + { + "question": "What yacht had LOA Metres of 13.34?", + "context": "create table table_25594271_2 (yacht varchar, loa__metres_ varchar, PRIMARY KEY (yacht))", + "answer": "select yacht from table_25594271_2 where loa__metres_ = \"13.34\"" + }, + { + "question": "Who had the fasted lap in motorsport arena oschersleben?", + "context": "create table table_21321935_2 (fastest_lap varchar, circuit varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_21321935_2 where circuit = \"motorsport arena oschersleben\"" + }, + { + "question": "What country submitted the movie the orphanage?", + "context": "create table table_12842068_1 (submitting_country varchar, film_title_used_in_nomination varchar, PRIMARY KEY (submitting_country))", + "answer": "select submitting_country from table_12842068_1 where film_title_used_in_nomination = \"the orphanage\"" + }, + { + "question": "It was announced on July 2, 2006 that what asset was acquired?", + "context": "create table table_1373542_1 (asset_acquired varchar, date_announced varchar, PRIMARY KEY (asset_acquired))", + "answer": "select asset_acquired from table_1373542_1 where date_announced = \"july 2, 2006\"" + }, + { + "question": "what's the\u00a0comment\u00a0with\u00a0model name\u00a0being 2.4 (2001-2007)", + "context": "create table table_1147701_4 (comment varchar, model_name varchar, PRIMARY KEY (comment))", + "answer": "select comment from table_1147701_4 where model_name = \"2.4 (2001-2007)\"" + }, + { + "question": "If in arabic it is sal\u0101m-, what is it in proto-semitic?", + "context": "create table table_26919_7 (proto_semitic varchar, arabic varchar, PRIMARY KEY (proto_semitic))", + "answer": "select proto_semitic from table_26919_7 where arabic = \"sal\u0101m-\"" + }, + { + "question": "What was the inroductory phase for the episode that originally aired january 21?", + "context": "create table table_14835674_1 (introductory_phrase varchar, original_airdate varchar, PRIMARY KEY (introductory_phrase))", + "answer": "select introductory_phrase from table_14835674_1 where original_airdate = \"january 21\"" + }, + { + "question": "Where did the episode rank that was written by thomas l. moran?", + "context": "create table table_28026156_1 (rank__week_ varchar, written_by varchar, PRIMARY KEY (rank__week_))", + "answer": "select rank__week_ from table_28026156_1 where written_by = \"thomas l. moran\"" + }, + { + "question": "How many million viewers watched episode number 20?", + "context": "create table table_21025437_5 (viewers__millions_ varchar, episode_no varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select viewers__millions_ from table_21025437_5 where episode_no = 20" + }, + { + "question": "Name the bocas for chironius multiventris septentrionalis", + "context": "create table table_1850282_7 (bocas_is varchar, species varchar, PRIMARY KEY (bocas_is))", + "answer": "select bocas_is from table_1850282_7 where species = \"chironius multiventris septentrionalis\"" + }, + { + "question": "What is the dollar amount of ebit when the net profit is 120.6?", + "context": "create table table_18077713_1 (ebit__us_$m_ varchar, net_profit__us_$m_ varchar, PRIMARY KEY (ebit__us_$m_))", + "answer": "select ebit__us_$m_ from table_18077713_1 where net_profit__us_$m_ = \"120.6\"" + }, + { + "question": "Find the ids of the problems that are reported by the staff whose last name is Bosco.", + "context": "create table problems (problem_id varchar, reported_by_staff_id varchar, PRIMARY KEY (problem_id)); create table staff (staff_id varchar, staff_last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.problem_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_last_name = \"bosco\"" + }, + { + "question": "What is the smallest frames per minute when the pixels are 5.0", + "context": "create table table_1251878_3 (least_compression_at_24_fps varchar, mpix varchar, PRIMARY KEY (least_compression_at_24_fps))", + "answer": "select least_compression_at_24_fps from table_1251878_3 where mpix = \"5.0\"" + }, + { + "question": "When and where did Chen Qi win in men singles?", + "context": "create table table_28138035_13 (year_location varchar, mens_singles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_13 where mens_singles = \"chen qi\"" + }, + { + "question": "How many teams had a point margin of 48?", + "context": "create table table_28068063_3 (eliminated_from_competition varchar, points_margin varchar, PRIMARY KEY (eliminated_from_competition))", + "answer": "select count(eliminated_from_competition) from table_28068063_3 where points_margin = 48" + }, + { + "question": "List the studios of each film and the number of films produced by that studio.", + "context": "create table film (studio varchar, PRIMARY KEY (studio))", + "answer": "select studio, count(*) from film group by studio" + }, + { + "question": "what is bb - blind bear where ba - running bear is tc - tile chariot?", + "context": "create table table_2603017_2 (bb___blind_bear varchar, ba___running_bear varchar, PRIMARY KEY (bb___blind_bear))", + "answer": "select bb___blind_bear from table_2603017_2 where ba___running_bear = \"tc - tile chariot\"" + }, + { + "question": "Name the golden ticket for invesco field", + "context": "create table table_22897967_1 (golden_tickets varchar, audition_venue varchar, PRIMARY KEY (golden_tickets))", + "answer": "select golden_tickets from table_22897967_1 where audition_venue = \"invesco field\"" + }, + { + "question": "Which type of policy is most frequently used? Give me the policy type code.", + "context": "create table policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code from policies group by policy_type_code order by count(*) desc limit 1" + }, + { + "question": "Name the company where index weighting % is 11.96", + "context": "create table table_168274_1 (company varchar, index_weighting___percentage__at_17_january_2013 varchar, PRIMARY KEY (company))", + "answer": "select company from table_168274_1 where index_weighting___percentage__at_17_january_2013 = \"11.96\"" + }, + { + "question": "what is \u0495\u044c \u0495\u044c [\u0281\u02b2/\u0263\u02b2] when \u0433\u044c \u0433\u044c [\u0261\u02b2] is \u04b7 \u04b7 [t\u0361\u0283\u02bc]?", + "context": "create table table_202365_2 (\u0495\u044c_\u0495\u044c_ varchar, \u0281\u02b2_\u0263\u02b2 varchar, \u0433\u044c_\u0433\u044c_ varchar, \u0261\u02b2 varchar, PRIMARY KEY (\u0495\u044c_\u0495\u044c_))", + "answer": "select \u0495\u044c_\u0495\u044c_[\u0281\u02b2_\u0263\u02b2] from table_202365_2 where \u0433\u044c_\u0433\u044c_[\u0261\u02b2] = \"\u04b7 \u04b7 [t\u0361\u0283\u02bc]\"" + }, + { + "question": "Show the ids and details of the investors who have at least two transactions with type code \"SALE\".", + "context": "create table transactions (investor_id varchar, transaction_type_code varchar, PRIMARY KEY (investor_id)); create table investors (investor_details varchar, investor_id varchar, PRIMARY KEY (investor_details))", + "answer": "select t2.investor_id, t1.investor_details from investors as t1 join transactions as t2 on t1.investor_id = t2.investor_id where t2.transaction_type_code = \"sale\" group by t2.investor_id having count(*) >= 2" + }, + { + "question": "Name the most maidens when e.r. 5.11", + "context": "create table table_15700367_4 (maidens integer, er varchar, PRIMARY KEY (maidens))", + "answer": "select max(maidens) from table_15700367_4 where er = \"5.11\"" + }, + { + "question": "Name the 1st m for nor", + "context": "create table table_14407512_24 (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select 1 as st__m_ from table_14407512_24 where nationality = \"nor\"" + }, + { + "question": "Find all the name of documents without any sections.", + "context": "create table document_sections (document_name varchar, document_code varchar, PRIMARY KEY (document_name)); create table documents (document_name varchar, document_code varchar, PRIMARY KEY (document_name))", + "answer": "select document_name from documents where not document_code in (select document_code from document_sections)" + }, + { + "question": "How did the election end for Robert Wexler?", + "context": "create table table_1341453_11 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341453_11 where incumbent = \"robert wexler\"" + }, + { + "question": "What are the L2 cache specifications of part number amql64dam22gg?", + "context": "create table table_27277284_27 (l2_cache varchar, order_part_number varchar, PRIMARY KEY (l2_cache))", + "answer": "select l2_cache from table_27277284_27 where order_part_number = \"amql64dam22gg\"" + }, + { + "question": "What municipality had 26839 people living in it in 2010?", + "context": "create table table_216776_2 (municipality varchar, population__2010_ varchar, PRIMARY KEY (municipality))", + "answer": "select municipality from table_216776_2 where population__2010_ = 26839" + }, + { + "question": "How many county councils for the communist party of norway", + "context": "create table table_203802_2 (county_councils___2011__ integer, english_party_name varchar, PRIMARY KEY (county_councils___2011__))", + "answer": "select max(county_councils___2011__) from table_203802_2 where english_party_name = \"communist party of norway\"" + }, + { + "question": "What team did a manager leave on 12 Dec 2009", + "context": "create table table_22297198_3 (team varchar, date_of_vacancy varchar, PRIMARY KEY (team))", + "answer": "select team from table_22297198_3 where date_of_vacancy = \"12 dec 2009\"" + }, + { + "question": "Who got the mountains classification when Michael Albasini won the stage?", + "context": "create table table_21804557_18 (mountains_classification varchar, metas_volantes_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_21804557_18 where metas_volantes_classification = \"michael albasini\"" + }, + { + "question": "What is the IHSA music class for the mascot that is the lancers?", + "context": "create table table_27653955_1 (ihsa_music_class varchar, mascot varchar, PRIMARY KEY (ihsa_music_class))", + "answer": "select ihsa_music_class from table_27653955_1 where mascot = \"lancers\"" + }, + { + "question": "What is the title of the episode watched by 3.2 million viewers?", + "context": "create table table_26448179_4 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_26448179_4 where us_viewers__millions_ = \"3.2\"" + }, + { + "question": "List all information in the item table.", + "context": "create table item (id varchar, PRIMARY KEY (id))", + "answer": "select * from item" + }, + { + "question": "How many car makers are there in each continents? List the continent name and the count.", + "context": "create table countries (continent varchar, countryid varchar, PRIMARY KEY (continent)); create table continents (continent varchar, contid varchar, PRIMARY KEY (continent)); create table car_makers (country varchar, PRIMARY KEY (country))", + "answer": "select t1.continent, count(*) from continents as t1 join countries as t2 on t1.contid = t2.continent join car_makers as t3 on t2.countryid = t3.country group by t1.continent" + }, + { + "question": "Where is the first class team of date of birth 20 november 1969?", + "context": "create table table_11950720_4 (first_class_team varchar, date_of_birth varchar, PRIMARY KEY (first_class_team))", + "answer": "select first_class_team from table_11950720_4 where date_of_birth = \"20 november 1969\"" + }, + { + "question": "Who was the winning driver for the goodwood circuit?", + "context": "create table table_1140117_5 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140117_5 where circuit = \"goodwood\"" + }, + { + "question": "what is the filter when the wavelength is 222mm (k-band)?", + "context": "create table table_2583036_1 (filter varchar, wavelength varchar, PRIMARY KEY (filter))", + "answer": "select filter from table_2583036_1 where wavelength = \"222mm (k-band)\"" + }, + { + "question": "Name the rally base for rallye de france alsace", + "context": "create table table_23385853_1 (rally_base varchar, rally_name varchar, PRIMARY KEY (rally_base))", + "answer": "select rally_base from table_23385853_1 where rally_name = \"rallye de france alsace\"" + }, + { + "question": "Who were the candidates in the district whose incumbent is Joe Waggonner?", + "context": "create table table_1341843_19 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341843_19 where incumbent = \"joe waggonner\"" + }, + { + "question": "Who is the star of the program on Thursdays 22:00~22:54 2005-04-xx to 2005-06-xx?", + "context": "create table table_18540104_1 (starring_actors varchar, time_frame varchar, PRIMARY KEY (starring_actors))", + "answer": "select starring_actors from table_18540104_1 where time_frame = \"thursdays 22:00~22:54 2005-04-xx to 2005-06-xx\"" + }, + { + "question": "How many schools with greyhounds as their nickname?", + "context": "create table table_1969634_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_1969634_1 where nickname = \"greyhounds\"" + }, + { + "question": "What was the AB team's position in table?", + "context": "create table table_27782699_3 (position_in_table varchar, team varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_27782699_3 where team = \"ab\"" + }, + { + "question": "What are the details of the shops that can be accessed by walk?", + "context": "create table tourist_attractions (tourist_attraction_id varchar, how_to_get_there varchar, PRIMARY KEY (tourist_attraction_id)); create table shops (shop_details varchar, shop_id varchar, PRIMARY KEY (shop_details))", + "answer": "select t1.shop_details from shops as t1 join tourist_attractions as t2 on t1.shop_id = t2.tourist_attraction_id where t2.how_to_get_there = \"walk\"" + }, + { + "question": "what's\u00a0the mole\u00a0with\u00a0winner\u00a0being fr\u00e9d\u00e9rique huydts", + "context": "create table table_13036251_1 (the_mole varchar, winner varchar, PRIMARY KEY (the_mole))", + "answer": "select the_mole from table_13036251_1 where winner = \"fr\u00e9d\u00e9rique huydts\"" + }, + { + "question": "Who was the democratic candidate when the republican was frank wolf?", + "context": "create table table_17503169_1 (democratic varchar, republican varchar, PRIMARY KEY (democratic))", + "answer": "select democratic from table_17503169_1 where republican = \"frank wolf\"" + }, + { + "question": "What is the highest number of maidens when the bowling best was 1/13?", + "context": "create table table_15893020_2 (maidens integer, best_bowling varchar, PRIMARY KEY (maidens))", + "answer": "select max(maidens) from table_15893020_2 where best_bowling = \"1/13\"" + }, + { + "question": "How many different reasons are there for the change in Connecticut (3)?", + "context": "create table table_18563954_3 (reason_for_change varchar, state__class_ varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_18563954_3 where state__class_ = \"connecticut (3)\"" + }, + { + "question": "How many championships were won for arena football?", + "context": "create table table_21564794_3 (championships_in_st_louis varchar, sport varchar, PRIMARY KEY (championships_in_st_louis))", + "answer": "select championships_in_st_louis from table_21564794_3 where sport = \"arena football\"" + }, + { + "question": "Find the name of the department that has no students minored in?", + "context": "create table department (dname varchar, dno varchar, PRIMARY KEY (dname)); create table minor_in (dno varchar, PRIMARY KEY (dno)); create table department (dname varchar, PRIMARY KEY (dname))", + "answer": "select dname from department except select t1.dname from department as t1 join minor_in as t2 on t1.dno = t2.dno" + }, + { + "question": "What were the home team scores when carlton was the home team?", + "context": "create table table_16388478_2 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388478_2 where home_team = \"carlton\"" + }, + { + "question": "Against what opponent did the Wildcats have a record of 5-4?", + "context": "create table table_24464253_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_24464253_1 where record = \"5-4\"" + }, + { + "question": "If Firefox is 30.45%, what is the other Mozilla amount?", + "context": "create table table_1876262_10 (other_mozilla varchar, firefox varchar, PRIMARY KEY (other_mozilla))", + "answer": "select other_mozilla from table_1876262_10 where firefox = \"30.45%\"" + }, + { + "question": "Show names of technicians in ascending order of quality rank of the machine they are assigned.", + "context": "create table repair_assignment (machine_id varchar, technician_id varchar, PRIMARY KEY (machine_id)); create table machine (machine_id varchar, quality_rank varchar, PRIMARY KEY (machine_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name))", + "answer": "select t3.name from repair_assignment as t1 join machine as t2 on t1.machine_id = t2.machine_id join technician as t3 on t1.technician_id = t3.technician_id order by t2.quality_rank" + }, + { + "question": "Name the least mister international", + "context": "create table table_30007505_1 (mister_international integer, PRIMARY KEY (mister_international))", + "answer": "select min(mister_international) from table_30007505_1" + }, + { + "question": "Which city has the least number of customers whose type code is \"Good Credit Rating\"?", + "context": "create table customers (town_city varchar, customer_type_code varchar, PRIMARY KEY (town_city))", + "answer": "select town_city from customers where customer_type_code = \"good credit rating\" group by town_city order by count(*) limit 1" + }, + { + "question": "What race is held in Germany in the month of May?", + "context": "create table table_26166836_3 (road_race varchar, country varchar, month_held varchar, PRIMARY KEY (road_race))", + "answer": "select road_race from table_26166836_3 where country = \"germany\" and month_held = \"may\"" + }, + { + "question": "Name the real life years of operation for amtrak", + "context": "create table table_243664_1 (real_life_years_of_operation varchar, currently\u00b9_part_of varchar, PRIMARY KEY (real_life_years_of_operation))", + "answer": "select real_life_years_of_operation from table_243664_1 where currently\u00b9_part_of = \"amtrak\"" + }, + { + "question": "What's the code name of the wireless LAN with Chief River Centrino?", + "context": "create table table_199666_1 (codename varchar, centrino varchar, PRIMARY KEY (codename))", + "answer": "select codename from table_199666_1 where centrino = \"chief river\"" + }, + { + "question": "what is the c (nf/km) when the l (mh/km) is 0.6099?", + "context": "create table table_261642_3 (c__nf_km_ varchar, l__mh_km_ varchar, PRIMARY KEY (c__nf_km_))", + "answer": "select c__nf_km_ from table_261642_3 where l__mh_km_ = \"0.6099\"" + }, + { + "question": "When nicole dubuc duane capizzi is the writer who is the director?", + "context": "create table table_29475589_3 (director varchar, writer_s_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_29475589_3 where writer_s_ = \"nicole dubuc duane capizzi\"" + }, + { + "question": "What was the game site against the Dallas Texans?", + "context": "create table table_17765888_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_17765888_1 where opponent = \"dallas texans\"" + }, + { + "question": "On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages?", + "context": "create table table_16751596_12 (democrat varchar, dates_administered varchar, PRIMARY KEY (democrat))", + "answer": "select democrat as :_vivian_davis_figures from table_16751596_12 where dates_administered = \"july 31, 2008\"" + }, + { + "question": "What's the transit connection in Columbia City, Seattle?", + "context": "create table table_22771048_2 (transit_connections varchar, city_neighborhood varchar, PRIMARY KEY (transit_connections))", + "answer": "select transit_connections from table_22771048_2 where city_neighborhood = \"columbia city, seattle\"" + }, + { + "question": "Name the number of scm system for nant, visual studio", + "context": "create table table_22903426_1 (scm_system varchar, windows_builders varchar, PRIMARY KEY (scm_system))", + "answer": "select count(scm_system) from table_22903426_1 where windows_builders = \"nant, visual studio\"" + }, + { + "question": "When bergen is 88, what is the alesund?", + "context": "create table table_19439864_2 (\u00e5lesund integer, bergen varchar, PRIMARY KEY (\u00e5lesund))", + "answer": "select min(\u00e5lesund) from table_19439864_2 where bergen = 88" + }, + { + "question": "What date did the episode with 8.28 million u.s. viewers originally air?", + "context": "create table table_27910411_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27910411_1 where us_viewers__millions_ = \"8.28\"" + }, + { + "question": "What nurses are on call with block floor 1 and block code 1? Tell me their names.", + "context": "create table on_call (nurse varchar, blockfloor varchar, blockcode varchar, PRIMARY KEY (nurse))", + "answer": "select nurse from on_call where blockfloor = 1 and blockcode = 1" + }, + { + "question": "What was the record when Canty (5) was the high assists?", + "context": "create table table_17118657_7 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_17118657_7 where high_assists = \"canty (5)\"" + }, + { + "question": "Name the number air date for 14.20 us viewers", + "context": "create table table_16617011_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_16617011_1 where us_viewers__millions_ = \"14.20\"" + }, + { + "question": "What are the notes for svishtov , bulgaria?", + "context": "create table table_242785_1 (notes varchar, main_legionary_base varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_242785_1 where main_legionary_base = \"svishtov , bulgaria\"" + }, + { + "question": "What was the result of the election where william f. goodling was the incumbent?", + "context": "create table table_1341522_41 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_1341522_41 where incumbent = \"william f. goodling\"" + }, + { + "question": "Who is the television commentator when the radio commentator is Galyna Babiy?", + "context": "create table table_1998037_9 (television_commentator varchar, radio_commentator varchar, PRIMARY KEY (television_commentator))", + "answer": "select television_commentator from table_1998037_9 where radio_commentator = \"galyna babiy\"" + }, + { + "question": "Name the regions for usf45", + "context": "create table table_21530474_1 (region_s_ varchar, chassis_code varchar, PRIMARY KEY (region_s_))", + "answer": "select region_s_ from table_21530474_1 where chassis_code = \"usf45\"" + }, + { + "question": "Who are all the motogp winners when the circuit was Catalunya?", + "context": "create table table_26781017_1 (motogp_winner varchar, circuit varchar, PRIMARY KEY (motogp_winner))", + "answer": "select motogp_winner from table_26781017_1 where circuit = \"catalunya\"" + }, + { + "question": "What is the target when the approved treatment is non-hodgkin lymphoma?", + "context": "create table table_1661124_1 (target varchar, approved_treatment_s_ varchar, PRIMARY KEY (target))", + "answer": "select target from table_1661124_1 where approved_treatment_s_ = \"non-hodgkin lymphoma\"" + }, + { + "question": "Show all the activity names and the number of faculty involved in each activity.", + "context": "create table faculty_participates_in (actid varchar, PRIMARY KEY (actid)); create table activity (activity_name varchar, actid varchar, PRIMARY KEY (activity_name))", + "answer": "select t1.activity_name, count(*) from activity as t1 join faculty_participates_in as t2 on t1.actid = t2.actid group by t1.actid" + }, + { + "question": "What is the FIS Nordic World Ski Championships when holmenkollen is 1976?", + "context": "create table table_174491_2 (fis_nordic_world_ski_championships varchar, holmenkollen varchar, PRIMARY KEY (fis_nordic_world_ski_championships))", + "answer": "select fis_nordic_world_ski_championships from table_174491_2 where holmenkollen = \"1976\"" + }, + { + "question": "What was the altitude of the yield of 1.4 megatons?", + "context": "create table table_148578_1 (altitude__km_ varchar, yield__approximate_ varchar, PRIMARY KEY (altitude__km_))", + "answer": "select altitude__km_ from table_148578_1 where yield__approximate_ = \"1.4 megatons\"" + }, + { + "question": "Find the states of the colleges that have students in the tryout who played in striker position.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))", + "answer": "select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'striker'" + }, + { + "question": "How many people per km2 are there in the municipality whose mayor is Boy Quiat?", + "context": "create table table_216776_2 (pop_density__per_km\u00b2_ varchar, municipal_mayor varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_216776_2 where municipal_mayor = \"boy quiat\"" + }, + { + "question": "What are the titles of the episodes where Rodman Flender is the director?", + "context": "create table table_11404452_1 (episode_title varchar, director varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_11404452_1 where director = \"rodman flender\"" + }, + { + "question": "How man horse power did the ship covadonga have?", + "context": "create table table_23614702_2 (horse__power varchar, warship varchar, PRIMARY KEY (horse__power))", + "answer": "select horse__power from table_23614702_2 where warship = \"covadonga\"" + }, + { + "question": "What is the number of riders that had a Tues 31 May time of 18' 55.91 124.236mph?", + "context": "create table table_29218221_2 (rider varchar, tues_31_may varchar, PRIMARY KEY (rider))", + "answer": "select count(rider) from table_29218221_2 where tues_31_may = \"18' 55.91 124.236mph\"" + }, + { + "question": "What country had a 100% cut?", + "context": "create table table_21690339_1 (country varchar, _percentage_cut varchar, PRIMARY KEY (country))", + "answer": "select country from table_21690339_1 where _percentage_cut = \"100%\"" + }, + { + "question": "What school has the new conference as SELC?", + "context": "create table table_26476336_2 (institution varchar, new_conference varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_26476336_2 where new_conference = \"selc\"" + }, + { + "question": "What is the electoral district when total candidates were 35?", + "context": "create table table_2676980_4 (electoral_district varchar, total_candidates varchar, PRIMARY KEY (electoral_district))", + "answer": "select electoral_district from table_2676980_4 where total_candidates = 35" + }, + { + "question": "How many students are there?", + "context": "create table student (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from student" + }, + { + "question": "Who arranged song(s) with tom lyle on the vocal percussion?", + "context": "create table table_28715942_2 (arranger_s_ varchar, vocal_percussionist_s_ varchar, PRIMARY KEY (arranger_s_))", + "answer": "select arranger_s_ from table_28715942_2 where vocal_percussionist_s_ = \"tom lyle\"" + }, + { + "question": "Name the region 4 for the complete fifth series", + "context": "create table table_1337525_1 (region_4 varchar, complete_series varchar, PRIMARY KEY (region_4))", + "answer": "select region_4 from table_1337525_1 where complete_series = \"the complete fifth series\"" + }, + { + "question": "what is the jewel power when the media debut is ep 17?", + "context": "create table table_26615633_1 (jewel varchar, media_debut varchar, PRIMARY KEY (jewel))", + "answer": "select jewel as power from table_26615633_1 where media_debut = \"ep 17\"" + }, + { + "question": "What is the least arabs when the metropolitan ring is inner ring 3?", + "context": "create table table_26007767_1 (arabs integer, metropolitan_ring varchar, PRIMARY KEY (arabs))", + "answer": "select min(arabs) from table_26007767_1 where metropolitan_ring = \"inner ring 3\"" + }, + { + "question": "What is the name of the flag that means decimal digit 2?", + "context": "create table table_29997112_3 (flag_name varchar, meaning varchar, PRIMARY KEY (flag_name))", + "answer": "select flag_name from table_29997112_3 where meaning = \"decimal digit 2\"" + }, + { + "question": "what is the least current", + "context": "create table table_19312274_2 (current integer, PRIMARY KEY (current))", + "answer": "select min(current) from table_19312274_2" + }, + { + "question": "What is the Wheelbase for Model 97300?", + "context": "create table table_20866024_4 (wheelbase__mm_inch_ varchar, model_designation varchar, PRIMARY KEY (wheelbase__mm_inch_))", + "answer": "select wheelbase__mm_inch_ from table_20866024_4 where model_designation = \"97300\"" + }, + { + "question": "Name the broadcast date for 6.4 million viewers for the archive of 16mm t/r", + "context": "create table table_1776943_1 (broadcast_date varchar, viewers__in_millions_ varchar, archive varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_1776943_1 where viewers__in_millions_ = \"6.4\" and archive = \"16mm t/r\"" + }, + { + "question": "Name the old bulgarian names for yanuari", + "context": "create table table_15275060_1 (old_bulgarian_names varchar, yanuari varchar, transliteration varchar, PRIMARY KEY (old_bulgarian_names))", + "answer": "select old_bulgarian_names from table_15275060_1 where bulgarian_name(transliteration) = yanuari" + }, + { + "question": "Advisor 1121 has how many students?", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select count(*) from student where advisor = 1121" + }, + { + "question": "What is the effective exhaust velocity in a Space Shuttle Vacuum?", + "context": "create table table_15944_5 (effective_exhaust_velocity__m_s_ varchar, scenario varchar, PRIMARY KEY (effective_exhaust_velocity__m_s_))", + "answer": "select count(effective_exhaust_velocity__m_s_) from table_15944_5 where scenario = \"space shuttle vacuum\"" + }, + { + "question": "Who was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?", + "context": "create table table_2668199_2 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668199_2 where candidates = \"john banks (am) 52.2% samuel power (j) 47.8%\"" + }, + { + "question": "What's the London borough with 7797 Pakistani citizens?", + "context": "create table table_19149550_9 (london_borough varchar, pakistani_population varchar, PRIMARY KEY (london_borough))", + "answer": "select london_borough from table_19149550_9 where pakistani_population = 7797" + }, + { + "question": "Which Advisor has most of students? List advisor and the number of students.", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor, count(*) from student group by advisor order by count(advisor) desc limit 1" + }, + { + "question": "what is the total number of\u00a0publisher\u00a0where\u00a0first appearance\u00a0is daredevil #1", + "context": "create table table_1217448_1 (publisher varchar, first_appearance varchar, PRIMARY KEY (publisher))", + "answer": "select count(publisher) from table_1217448_1 where first_appearance = \"daredevil #1\"" + }, + { + "question": "How many points and bonuses did Kurt Busch get?", + "context": "create table table_27940569_1 (pts_bns varchar, driver varchar, PRIMARY KEY (pts_bns))", + "answer": "select pts_bns from table_27940569_1 where driver = \"kurt busch\"" + }, + { + "question": "When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (\u00b0c)?", + "context": "create table table_2282444_1 (t_c__ varchar, magnet varchar, PRIMARY KEY (t_c__))", + "answer": "select count(t_c__) as \u00b0c_ from table_2282444_1 where magnet = \"nd 2 fe 14 b (bonded)\"" + }, + { + "question": "Show the names of members whose country is \"United States\" or \"Canada\".", + "context": "create table member (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from member where country = \"united states\" or country = \"canada\"" + }, + { + "question": "What is the power at the cebu station?", + "context": "create table table_19215259_1 (power__kw_ varchar, location varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_19215259_1 where location = \"cebu\"" + }, + { + "question": "What are the civil parishes of the Loughmarsh townland?", + "context": "create table table_30121082_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30121082_1 where townland = \"loughmarsh\"" + }, + { + "question": "What team won the regular season when georgia state won the tournament?", + "context": "create table table_24348134_3 (regular_season_winner varchar, tournament_winner varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_24348134_3 where tournament_winner = \"georgia state\"" + }, + { + "question": "Name the number of gregorian calenda rof gemini", + "context": "create table table_169955_1 (gregorian_calendar varchar, sign_of_zodiac varchar, PRIMARY KEY (gregorian_calendar))", + "answer": "select count(gregorian_calendar) from table_169955_1 where sign_of_zodiac = \"gemini\"" + }, + { + "question": "What is every rider on Monday August 24 at 21' 12.02 106.781mph?", + "context": "create table table_23465864_5 (rider varchar, mon_24_aug varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_23465864_5 where mon_24_aug = \"21' 12.02 106.781mph\"" + }, + { + "question": "Show all the cinema names and opening years in descending order of opening year.", + "context": "create table cinema (name varchar, openning_year varchar, PRIMARY KEY (name))", + "answer": "select name, openning_year from cinema order by openning_year desc" + }, + { + "question": "What is the receipt date of the document with id 3?", + "context": "create table documents (receipt_date varchar, document_id varchar, PRIMARY KEY (receipt_date))", + "answer": "select receipt_date from documents where document_id = 3" + }, + { + "question": "What poll source administered their poll on June 14-16, 2010?", + "context": "create table table_20032301_3 (poll_source varchar, dates_administered varchar, PRIMARY KEY (poll_source))", + "answer": "select poll_source from table_20032301_3 where dates_administered = \"june 14-16, 2010\"" + }, + { + "question": "Who was the opposing team played at Riverfront Stadium?", + "context": "create table table_14563349_11 (opponent varchar, location varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_14563349_11 where location = \"riverfront stadium\"" + }, + { + "question": "What school did the player that has been in Toronto from 2012-present come from?", + "context": "create table table_10015132_1 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_1 where years_in_toronto = \"2012-present\"" + }, + { + "question": "What is the strongs # for the english spelling of the word jirmejah?", + "context": "create table table_1242447_2 (strongs__number varchar, english_spelling varchar, PRIMARY KEY (strongs__number))", + "answer": "select strongs__number from table_1242447_2 where english_spelling = \"jirmejah\"" + }, + { + "question": "How many winners have st kilda score at 14.11.95?", + "context": "create table table_28211103_1 (winner varchar, st_kilda_score varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_28211103_1 where st_kilda_score = \"14.11.95\"" + }, + { + "question": "which team #1 played again chalkida", + "context": "create table table_21434618_1 (team__number1 varchar, team__number2 varchar, PRIMARY KEY (team__number1))", + "answer": "select team__number1 from table_21434618_1 where team__number2 = \"chalkida\"" + }, + { + "question": "What is orthodoxy when x is wehdat?", + "context": "create table table_26173063_2 (orthodoxy varchar, \u00d7 varchar, PRIMARY KEY (orthodoxy))", + "answer": "select orthodoxy from table_26173063_2 where \u00d7 = \"wehdat\"" + }, + { + "question": "Show all countries and the number of singers in each country.", + "context": "create table singer (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from singer group by country" + }, + { + "question": "What is the date for the UTC time of 03:15:46?", + "context": "create table table_26950408_1 (date__yyyy_mm_dd_ varchar, time___utc__ varchar, PRIMARY KEY (date__yyyy_mm_dd_))", + "answer": "select date__yyyy_mm_dd_ from table_26950408_1 where time___utc__ = \"03:15:46\"" + }, + { + "question": "List the studios which average gross is above 4500000.", + "context": "create table film (studio varchar, gross_in_dollar integer, PRIMARY KEY (studio))", + "answer": "select studio from film group by studio having avg(gross_in_dollar) >= 4500000" + }, + { + "question": "What is the team when the high assists was stephen curry (7) and the high points was monta ellis (27)?", + "context": "create table table_27755784_10 (team varchar, high_assists varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_27755784_10 where high_assists = \"stephen curry (7)\" and high_points = \"monta ellis (27)\"" + }, + { + "question": "When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?", + "context": "create table table_23285849_11 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_23285849_11 where high_points = \"carmelo anthony (42)\"" + }, + { + "question": "List the names and origins of people who are not body builders.", + "context": "create table people (name varchar, birth_place varchar, people_id varchar, PRIMARY KEY (name)); create table body_builder (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, birth_place varchar, PRIMARY KEY (name))", + "answer": "select name, birth_place from people except select t1.name, t1.birth_place from people as t1 join body_builder as t2 on t1.people_id = t2.people_id" + }, + { + "question": "How many Kent State University's are there?", + "context": "create table table_26351260_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_26351260_1 where institution = \"kent state university\"" + }, + { + "question": "What is the western word for \"latrones\" in Latin?", + "context": "create table table_26614365_1 (western varchar, latin varchar, PRIMARY KEY (western))", + "answer": "select western from table_26614365_1 where latin = \"latrones\"" + }, + { + "question": "what's the\u00a0constancy\u00a0where\u00a0permanence of the body\u00a0is meditation", + "context": "create table table_11609814_1 (constancy varchar, permanence_of_the_body varchar, PRIMARY KEY (constancy))", + "answer": "select constancy from table_11609814_1 where permanence_of_the_body = \"meditation\"" + }, + { + "question": "what is the date the successor seated because the person died august 17, 1954?", + "context": "create table table_1652224_5 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_1652224_5 where reason_for_change = \"died august 17, 1954\"" + }, + { + "question": "What is the location that had a driver named Pierre de Caters?", + "context": "create table table_18893428_1 (location varchar, driver varchar, PRIMARY KEY (location))", + "answer": "select location from table_18893428_1 where driver = \"pierre de caters\"" + }, + { + "question": "Who was the finalist when the final venue was Varese?", + "context": "create table table_19651669_1 (finalist varchar, final_venue varchar, PRIMARY KEY (finalist))", + "answer": "select finalist from table_19651669_1 where final_venue = \"varese\"" + }, + { + "question": "Name the european tier for rick springfield", + "context": "create table table_22457674_1 (european_tier varchar, artist varchar, PRIMARY KEY (european_tier))", + "answer": "select european_tier from table_22457674_1 where artist = \"rick springfield\"" + }, + { + "question": "If the mountains classification is Mathias Frank, and the General Classification is Fabian Cancellara, what is the Points classification?", + "context": "create table table_27573848_18 (points_classification varchar, general_classification varchar, mountains_classification varchar, PRIMARY KEY (points_classification))", + "answer": "select points_classification from table_27573848_18 where general_classification = \"fabian cancellara\" and mountains_classification = \"mathias frank\"" + }, + { + "question": "How many VFL games were located off Goodenough Island Milne Bay?", + "context": "create table table_16527640_3 (vfl_games varchar, location varchar, PRIMARY KEY (vfl_games))", + "answer": "select vfl_games from table_16527640_3 where location = \"off goodenough island milne bay\"" + }, + { + "question": "what is the title where romaji is titles da.i.su.ki", + "context": "create table table_10979230_5 (japanese_title varchar, romaji_title varchar, PRIMARY KEY (japanese_title))", + "answer": "select japanese_title from table_10979230_5 where romaji_title = \"da.i.su.ki\"" + }, + { + "question": "What is the round of 32 if the round of 16 is drenovak ( srb ) w 20\u201311?", + "context": "create table table_27294107_11 (round_of_32 varchar, round_of_16 varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_27294107_11 where round_of_16 = \"drenovak ( srb ) w 20\u201311\"" + }, + { + "question": "Name the popultion density being manthai west", + "context": "create table table_24574438_1 (population_density___km_2__ varchar, ds_division varchar, PRIMARY KEY (population_density___km_2__))", + "answer": "select population_density___km_2__ from table_24574438_1 where ds_division = \"manthai west\"" + }, + { + "question": "When rudolph kleberg (d) is the successor is the reason for vacancy?", + "context": "create table table_2417445_4 (reason_for_vacancy varchar, successor varchar, PRIMARY KEY (reason_for_vacancy))", + "answer": "select reason_for_vacancy from table_2417445_4 where successor = \"rudolph kleberg (d)\"" + }, + { + "question": "who is the the\u00a0voice actor (japanese)\u00a0with\u00a0character name\u00a0being goku", + "context": "create table table_1410384_1 (voice_actor__japanese_ varchar, character_name varchar, PRIMARY KEY (voice_actor__japanese_))", + "answer": "select voice_actor__japanese_ from table_1410384_1 where character_name = \"goku\"" + }, + { + "question": "What was their record when they played the stampeders?", + "context": "create table table_21839208_4 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_21839208_4 where opponent = \"stampeders\"" + }, + { + "question": "What are the ids of templates with template type code PP or PPT?", + "context": "create table templates (template_id varchar, template_type_code varchar, PRIMARY KEY (template_id))", + "answer": "select template_id from templates where template_type_code = \"pp\" or template_type_code = \"ppt\"" + }, + { + "question": "How many bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen?", + "context": "create table table_22962745_35 (bowler varchar, batsmen varchar, PRIMARY KEY (bowler))", + "answer": "select count(bowler) from table_22962745_35 where batsmen = \"david hussey azhar mahmood gurkeerat singh\"" + }, + { + "question": "For driver Mark Skaife what is the result for race 1?", + "context": "create table table_11581984_2 (race_1 varchar, driver varchar, PRIMARY KEY (race_1))", + "answer": "select race_1 from table_11581984_2 where driver = \"mark skaife\"" + }, + { + "question": "On broadcast date is 21march1970, how many people tuned in?", + "context": "create table table_2102898_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select count(viewers__in_millions_) from table_2102898_1 where broadcast_date = \"21march1970\"" + }, + { + "question": "List the project details of the projects which did not hire any staff for a researcher role.", + "context": "create table projects (project_details varchar, project_id varchar, role_code varchar, PRIMARY KEY (project_details)); create table project_staff (project_details varchar, project_id varchar, role_code varchar, PRIMARY KEY (project_details))", + "answer": "select project_details from projects where not project_id in (select project_id from project_staff where role_code = 'researcher')" + }, + { + "question": "During what years did athletes who attended school in Minnesota play for the Grizzlies?", + "context": "create table table_16494599_10 (years_for_grizzlies varchar, school_club_team varchar, PRIMARY KEY (years_for_grizzlies))", + "answer": "select years_for_grizzlies from table_16494599_10 where school_club_team = \"minnesota\"" + }, + { + "question": "What's the abbreviation for the month whose transcription is Kumphaphan?", + "context": "create table table_20354_5 (abbr varchar, transcription varchar, PRIMARY KEY (abbr))", + "answer": "select abbr from table_20354_5 where transcription = \"kumphaphan\"" + }, + { + "question": "What is the location when the status is in service as coaching stock?", + "context": "create table table_1090916_2 (location varchar, status varchar, PRIMARY KEY (location))", + "answer": "select location from table_1090916_2 where status = \"in service as coaching stock\"" + }, + { + "question": "Show the number of projects.", + "context": "create table projects (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from projects" + }, + { + "question": "who are the writers of the episode that had 3.07 millions of North American spectators?", + "context": "create table table_21979779_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_21979779_1 where us_viewers__million_ = \"3.07\"" + }, + { + "question": "Who is the director for the witman boys?", + "context": "create table table_14975415_1 (director varchar, english_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_14975415_1 where english_title = \"the witman boys\"" + }, + { + "question": "Name the reporters for howard cosell", + "context": "create table table_22514845_5 (reporters varchar, s_analyst varchar, PRIMARY KEY (reporters))", + "answer": "select reporters from table_22514845_5 where s_analyst = \"howard cosell\"" + }, + { + "question": "Name the final position for copa libertadores", + "context": "create table table_23819979_3 (final_position varchar, competition varchar, PRIMARY KEY (final_position))", + "answer": "select final_position from table_23819979_3 where competition = \"copa libertadores\"" + }, + { + "question": "What kind of institute is in Indiana?", + "context": "create table table_27961684_1 (affiliation varchar, state varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_27961684_1 where state = \"indiana\"" + }, + { + "question": "What is the alpha 2 code for the area also known as NZL?", + "context": "create table table_222771_1 (alpha_2_code varchar, alpha_3_code varchar, PRIMARY KEY (alpha_2_code))", + "answer": "select alpha_2_code from table_222771_1 where alpha_3_code = \"nzl\"" + }, + { + "question": "Name the pictorials when the interview subject is steve jobs", + "context": "create table table_1566848_6 (pictorials varchar, interview_subject varchar, PRIMARY KEY (pictorials))", + "answer": "select pictorials from table_1566848_6 where interview_subject = \"steve jobs\"" + }, + { + "question": "What was the res for the game against Payam?", + "context": "create table table_2015453_1 (res varchar, team__number2 varchar, PRIMARY KEY (res))", + "answer": "select res from table_2015453_1 where team__number2 = \"payam\"" + }, + { + "question": "What was Gary Megson's manner of departure?", + "context": "create table table_19359427_6 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_19359427_6 where outgoing_manager = \"gary megson\"" + }, + { + "question": "What is the payment method code used by the most orders?", + "context": "create table invoices (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code from invoices group by payment_method_code order by count(*) desc limit 1" + }, + { + "question": "Name the incumbent for robert monell (j) 63.6% tilly lynde 36.4%", + "context": "create table table_2668243_17 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668243_17 where candidates = \"robert monell (j) 63.6% tilly lynde 36.4%\"" + }, + { + "question": "What is the first name and last name employee helps the customer with first name Leonie?", + "context": "create table customer (supportrepid varchar, firstname varchar, PRIMARY KEY (supportrepid)); create table employee (firstname varchar, lastname varchar, employeeid varchar, PRIMARY KEY (firstname))", + "answer": "select t2.firstname, t2.lastname from customer as t1 join employee as t2 on t1.supportrepid = t2.employeeid where t1.firstname = \"leonie\"" + }, + { + "question": "which countries did participated in both Friendly and Tournament type competitions.", + "context": "create table competition (country varchar, competition_type varchar, PRIMARY KEY (country))", + "answer": "select country from competition where competition_type = 'friendly' intersect select country from competition where competition_type = 'tournament'" + }, + { + "question": "What date got 9.82 million viewers?", + "context": "create table table_11562143_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11562143_1 where us_viewers__million_ = \"9.82\"" + }, + { + "question": "When and where did Eddie Smith win the mixed veteran?", + "context": "create table table_28211674_3 (date_location varchar, mixed_veteran varchar, PRIMARY KEY (date_location))", + "answer": "select count(date_location) from table_28211674_3 where mixed_veteran = \"eddie smith\"" + }, + { + "question": "Show all church names that have hosted least two weddings.", + "context": "create table wedding (church_id varchar, PRIMARY KEY (church_id)); create table church (name varchar, church_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from church as t1 join wedding as t2 on t1.church_id = t2.church_id group by t1.church_id having count(*) >= 2" + }, + { + "question": "Find the title of courses that have two prerequisites?", + "context": "create table prereq (course_id varchar, PRIMARY KEY (course_id)); create table course (title varchar, course_id varchar, PRIMARY KEY (title))", + "answer": "select t1.title from course as t1 join prereq as t2 on t1.course_id = t2.course_id group by t2.course_id having count(*) = 2" + }, + { + "question": "On what date was the asset acquisition that was announced on February 22, 2007 completed?", + "context": "create table table_1373542_1 (date_completed varchar, date_announced varchar, PRIMARY KEY (date_completed))", + "answer": "select date_completed from table_1373542_1 where date_announced = \"february 22, 2007\"" + }, + { + "question": "During what conference is North Carolina listed as the tournament winner?", + "context": "create table table_28365816_2 (conference varchar, tournament_winner varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_28365816_2 where tournament_winner = \"north carolina\"" + }, + { + "question": "What's the report for the True Value 500?", + "context": "create table table_10527215_3 (report varchar, name varchar, PRIMARY KEY (report))", + "answer": "select report from table_10527215_3 where name = \"true value 500\"" + }, + { + "question": "Which position in the table is the team watford?", + "context": "create table table_18784280_3 (position_in_table varchar, team varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_18784280_3 where team = \"watford\"" + }, + { + "question": "The nhl team new york islanders is what nationality?", + "context": "create table table_1013129_1 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1013129_1 where nhl_team = \"new york islanders\"" + }, + { + "question": "Name the date of vacancy for fabio brini", + "context": "create table table_17275810_7 (date_of_vacancy varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_17275810_7 where replaced_by = \"fabio brini\"" + }, + { + "question": "List the contestant numbers and names, ordered by contestant name descending.", + "context": "create table contestants (contestant_number varchar, contestant_name varchar, PRIMARY KEY (contestant_number))", + "answer": "select contestant_number, contestant_name from contestants order by contestant_name desc" + }, + { + "question": "Show names of musicals and the number of actors who have appeared in the musicals.", + "context": "create table actor (musical_id varchar, PRIMARY KEY (musical_id)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, count(*) from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id group by t1.musical_id" + }, + { + "question": "who won mens doubles when zhou mi won womens singles", + "context": "create table table_20361783_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_20361783_1 where womens_singles = \"zhou mi\"" + }, + { + "question": "How many episodes were directed by james quinn?", + "context": "create table table_2618061_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_2618061_1 where directed_by = \"james quinn\"" + }, + { + "question": "Who is on the David's Team for the episode with the Lees Team of Jack Dee and Peter Serafinowicz", + "context": "create table table_23575917_4 (davids_team varchar, lees_team varchar, PRIMARY KEY (davids_team))", + "answer": "select davids_team from table_23575917_4 where lees_team = \"jack dee and peter serafinowicz\"" + }, + { + "question": "Which couple had a week 2 score of exactly 23?", + "context": "create table table_28946565_2 (couple varchar, week_2 varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_28946565_2 where week_2 = 23" + }, + { + "question": "How many times did Ron Artest (24) receive the record for high points?", + "context": "create table table_17288825_7 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17288825_7 where high_points = \"ron artest (24)\"" + }, + { + "question": "Name the aspect ratio for smpte 259m and interlaced scanning", + "context": "create table table_272313_2 (aspect_ratio varchar, pixel_aspect_ratio varchar, scanning varchar, PRIMARY KEY (aspect_ratio))", + "answer": "select aspect_ratio from table_272313_2 where pixel_aspect_ratio = \"smpte 259m\" and scanning = \"interlaced\"" + }, + { + "question": "what is the first performance of the last performance on 03/29/1957", + "context": "create table table_19189856_1 (first_performance varchar, last_performance varchar, PRIMARY KEY (first_performance))", + "answer": "select first_performance from table_19189856_1 where last_performance = \"03/29/1957\"" + }, + { + "question": "how many party classifications are there for the incumbent Mac Collins?", + "context": "create table table_26336739_1 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_26336739_1 where incumbent = \"mac collins\"" + }, + { + "question": "Name the format for quick callanetics: hips and behind", + "context": "create table table_27303975_2 (format varchar, title varchar, PRIMARY KEY (format))", + "answer": "select format from table_27303975_2 where title = \"quick callanetics: hips and behind\"" + }, + { + "question": "How many millions of $ were spent in Iceland in 1948/49?", + "context": "create table table_19766_1 (country varchar, PRIMARY KEY (country))", + "answer": "select max(1948 as _49__) as $_millions_ from table_19766_1 where country = \"iceland\"" + }, + { + "question": "Find the first names and last names of teachers in alphabetical order of last name.", + "context": "create table teachers (first_name varchar, last_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from teachers order by last_name" + }, + { + "question": "What are the titles and directors of the films were never presented in China?", + "context": "create table film (title varchar, director varchar, film_id varchar, country varchar, PRIMARY KEY (title)); create table market (market_id varchar, PRIMARY KEY (market_id)); create table film_market_estimation (market_id varchar, PRIMARY KEY (market_id))", + "answer": "select title, director from film where not film_id in (select film_id from film_market_estimation as t1 join market as t2 on t1.market_id = t2.market_id where country = 'china')" + }, + { + "question": "Name the vote for thiago", + "context": "create table table_24233848_2 (vote varchar, eliminated varchar, PRIMARY KEY (vote))", + "answer": "select vote from table_24233848_2 where eliminated = \"thiago\"" + }, + { + "question": "What was the original airdate of the episode with production number 2x03?", + "context": "create table table_26293875_3 (original_airdate varchar, prod_no varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_26293875_3 where prod_no = \"2x03\"" + }, + { + "question": "What is the report for the race name V Ulster Trophy?", + "context": "create table table_1140117_5 (report varchar, race_name varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140117_5 where race_name = \"v ulster trophy\"" + }, + { + "question": "Which template type code is used by most number of documents?", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code))", + "answer": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id group by t1.template_type_code order by count(*) desc limit 1" + }, + { + "question": "What was the air date where there were 5.72 million viewers?", + "context": "create table table_23483182_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23483182_1 where us_viewers__million_ = \"5.72\"" + }, + { + "question": "Which ring names are currently ranked f0 j\u016bry\u014d 3 west?", + "context": "create table table_1557974_1 (ring_name varchar, current_rank varchar, PRIMARY KEY (ring_name))", + "answer": "select ring_name from table_1557974_1 where current_rank = \"f0 j\u016bry\u014d 3 west\"" + }, + { + "question": "what's the\u00a0land area\u00a0with\u00a0seat of rcm\u00a0being granby", + "context": "create table table_1011906_1 (land_area varchar, seat_of_rcm varchar, PRIMARY KEY (land_area))", + "answer": "select land_area from table_1011906_1 where seat_of_rcm = \"granby\"" + }, + { + "question": "When was the order placed whose shipment tracking number is 3452? Give me the date.", + "context": "create table shipments (order_id varchar, shipment_tracking_number varchar, PRIMARY KEY (order_id)); create table orders (date_order_placed varchar, order_id varchar, PRIMARY KEY (date_order_placed))", + "answer": "select t1.date_order_placed from orders as t1 join shipments as t2 on t1.order_id = t2.order_id where t2.shipment_tracking_number = 3452" + }, + { + "question": "How many templates have template type code CV?", + "context": "create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select count(*) from templates where template_type_code = \"cv\"" + }, + { + "question": "Who were the candidates when Shirley Chisholm was the incumbent?", + "context": "create table table_1341663_33 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341663_33 where incumbent = \"shirley chisholm\"" + }, + { + "question": "Who wrote the sorry of the episode directed by Dan Attias?", + "context": "create table table_13755296_1 (story_by varchar, directed_by varchar, PRIMARY KEY (story_by))", + "answer": "select story_by from table_13755296_1 where directed_by = \"dan attias\"" + }, + { + "question": "How many accounts are there in total?", + "context": "create table accounts (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from accounts" + }, + { + "question": "What is the Pixie and Dixie skit in episode 7?", + "context": "create table table_19860361_3 (pixie_and_dixie varchar, ep varchar, PRIMARY KEY (pixie_and_dixie))", + "answer": "select pixie_and_dixie from table_19860361_3 where ep = 7" + }, + { + "question": "What candidates ran in the election that included john shelley?", + "context": "create table table_1341973_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341973_6 where incumbent = \"john shelley\"" + }, + { + "question": "Name the calcium for fat being 6.5", + "context": "create table table_2493389_1 (calcium__mg_ varchar, fat__g_ varchar, PRIMARY KEY (calcium__mg_))", + "answer": "select calcium__mg_ from table_2493389_1 where fat__g_ = \"6.5\"" + }, + { + "question": "List the name of playlist which has number of tracks greater than 100.", + "context": "create table playlist_tracks (playlist_id varchar, track_id varchar, PRIMARY KEY (playlist_id)); create table playlists (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from playlist_tracks as t1 join playlists as t2 on t2.id = t1.playlist_id group by t1.playlist_id having count(t1.track_id) > 100" + }, + { + "question": "Name the deployable military 2011 for denmark", + "context": "create table table_17971449_2 (deployable_military__2011 varchar, _thousands_ varchar, country varchar, PRIMARY KEY (deployable_military__2011))", + "answer": "select deployable_military__2011, _thousands_ from table_17971449_2 where country = \"denmark\"" + }, + { + "question": "Find the first and last names of all the female (sex is F) students who have president votes.", + "context": "create table student (fname varchar, lname varchar, stuid varchar, sex varchar, PRIMARY KEY (fname)); create table voting_record (president_vote varchar, PRIMARY KEY (president_vote))", + "answer": "select distinct t1.fname, t1.lname from student as t1 join voting_record as t2 on t1.stuid = t2.president_vote where t1.sex = \"f\"" + }, + { + "question": "Find the total number of students in each department.", + "context": "create table student (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select count(*), dept_name from student group by dept_name" + }, + { + "question": "What was the percentage of votes for coakley when kennedy won 1.6%", + "context": "create table table_24115349_4 (coakley__percentage varchar, kennedy__percentage varchar, PRIMARY KEY (coakley__percentage))", + "answer": "select coakley__percentage from table_24115349_4 where kennedy__percentage = \"1.6%\"" + }, + { + "question": "Which general election had a vote swing of 1.69?", + "context": "create table table_149330_1 (general_election varchar, votes_swing varchar, PRIMARY KEY (general_election))", + "answer": "select general_election from table_149330_1 where votes_swing = \"1.69\"" + }, + { + "question": "How many schools are there?", + "context": "create table school (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from school" + }, + { + "question": "what is writtenand directed by shannon flynn?", + "context": "create table table_24018430_3 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_24018430_3 where directed_by = \"shannon flynn\"" + }, + { + "question": "What actor was nominted for an award in the film Anastasiya Slutskaya?", + "context": "create table table_10236830_6 (actors_name varchar, film_name varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_6 where film_name = \"anastasiya slutskaya\"" + }, + { + "question": "Please show the employee first names and ids of employees who serve at least 10 customers.", + "context": "create table customer (firstname varchar, supportrepid varchar, PRIMARY KEY (firstname)); create table employee (employeeid varchar, PRIMARY KEY (employeeid))", + "answer": "select t1.firstname, t1.supportrepid from customer as t1 join employee as t2 on t1.supportrepid = t2.employeeid group by t1.supportrepid having count(*) >= 10" + }, + { + "question": "What was the 09-10 oi best of the player with 949 points?", + "context": "create table table_24990183_5 (ws_points varchar, PRIMARY KEY (ws_points))", + "answer": "select count(09 as _10_oi_best) from table_24990183_5 where ws_points = 949" + }, + { + "question": "what is the subtrate for enzyme ala dehydratase", + "context": "create table table_182499_1 (substrate varchar, enzyme varchar, PRIMARY KEY (substrate))", + "answer": "select substrate from table_182499_1 where enzyme = \"ala dehydratase\"" + }, + { + "question": "How many coaches does each club has? List the club id, name and the number of coaches.", + "context": "create table club (club_id varchar, club_name varchar, PRIMARY KEY (club_id)); create table coach (club_id varchar, PRIMARY KEY (club_id))", + "answer": "select t1.club_id, t1.club_name, count(*) from club as t1 join coach as t2 on t1.club_id = t2.club_id group by t1.club_id" + }, + { + "question": "How many had a length of 455?", + "context": "create table table_16654785_2 (name varchar, length__m_ varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_16654785_2 where length__m_ = 455" + }, + { + "question": "How many times was Robert Gesink a winner?", + "context": "create table table_27573848_18 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select count(mountains_classification) from table_27573848_18 where winner = \"robert gesink\"" + }, + { + "question": "How many times did Keith Downing depart a position?", + "context": "create table table_18788823_5 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))", + "answer": "select count(position_in_table) from table_18788823_5 where outgoing_manager = \"keith downing\"" + }, + { + "question": "What are all the distinct payment types?", + "context": "create table payments (payment_type_code varchar, PRIMARY KEY (payment_type_code))", + "answer": "select distinct payment_type_code from payments" + }, + { + "question": "What is the film title and inventory id of the item in the inventory which was rented most frequently?", + "context": "create table film (title varchar, film_id varchar, PRIMARY KEY (title)); create table inventory (inventory_id varchar, film_id varchar, PRIMARY KEY (inventory_id)); create table rental (inventory_id varchar, PRIMARY KEY (inventory_id))", + "answer": "select t1.title, t2.inventory_id from film as t1 join inventory as t2 on t1.film_id = t2.film_id join rental as t3 on t2.inventory_id = t3.inventory_id group by t2.inventory_id order by count(*) desc limit 1" + }, + { + "question": "Name the vacator for resigned february 26, 1836 because of ill health", + "context": "create table table_225200_4 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225200_4 where reason_for_change = \"resigned february 26, 1836 because of ill health\"" + }, + { + "question": "What was the timeslot for the episode that aired on May 12, 2009?", + "context": "create table table_11274401_3 (timeslot varchar, air_date varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_11274401_3 where air_date = \"may 12, 2009\"" + }, + { + "question": "Show all statement id and the number of accounts for each statement.", + "context": "create table accounts (statement_id varchar, PRIMARY KEY (statement_id))", + "answer": "select statement_id, count(*) from accounts group by statement_id" + }, + { + "question": "what is the name of the episode whose writer is philippe browning?", + "context": "create table table_2791668_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2791668_1 where written_by = \"philippe browning\"" + }, + { + "question": "Name the number of semi final results for 12 performance order", + "context": "create table table_26267849_11 (semi_finals_result varchar, performance_order varchar, PRIMARY KEY (semi_finals_result))", + "answer": "select count(semi_finals_result) from table_26267849_11 where performance_order = 12" + }, + { + "question": "How many stadiums are there?", + "context": "create table stadium (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from stadium" + }, + { + "question": "Name the total number of monarchs for 23 may 1059 crowned", + "context": "create table table_24046134_1 (monarch varchar, crowned varchar, PRIMARY KEY (monarch))", + "answer": "select count(monarch) from table_24046134_1 where crowned = \"23 may 1059\"" + }, + { + "question": "How many books are there?", + "context": "create table book (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from book" + }, + { + "question": "What is the Yogi Bear that aired on 1959.12.21?", + "context": "create table table_19860361_3 (yogi_bear varchar, air_date varchar, PRIMARY KEY (yogi_bear))", + "answer": "select yogi_bear from table_19860361_3 where air_date = \"1959.12.21\"" + }, + { + "question": "How many votes in Brooklyn were won by the candidate who won 321 votes in Manhattan?", + "context": "create table table_1108394_47 (brooklyn varchar, manhattan varchar, PRIMARY KEY (brooklyn))", + "answer": "select brooklyn from table_1108394_47 where manhattan = \"321\"" + }, + { + "question": "what's the\u00a0software executable space protection\u00a0with\u00a0dbeingtribution\u00a0being gentoo", + "context": "create table table_1357052_6 (software_executable_space_protection varchar, distribution varchar, PRIMARY KEY (software_executable_space_protection))", + "answer": "select software_executable_space_protection from table_1357052_6 where distribution = \"gentoo\"" + }, + { + "question": "What is the release price for a processor with part number cy80632007227ab?", + "context": "create table table_16729930_18 (release_price___usd__ varchar, part_number_s_ varchar, PRIMARY KEY (release_price___usd__))", + "answer": "select release_price___usd__ from table_16729930_18 where part_number_s_ = \"cy80632007227ab\"" + }, + { + "question": "What is the nationality of the player from Buffalo Sabres?", + "context": "create table table_1213511_2 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1213511_2 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "How many seasons featured 29 conversions?", + "context": "create table table_20505342_1 (penalties varchar, conversions varchar, PRIMARY KEY (penalties))", + "answer": "select count(penalties) from table_20505342_1 where conversions = 29" + }, + { + "question": "How many miles were driven in the race where the winner finished in 2:47:11?", + "context": "create table table_22648285_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_22648285_1 where race_time = \"2:47:11\"" + }, + { + "question": "who is the the\u00a0fastest lap\u00a0with\u00a0grand prix\u00a0being european grand prix", + "context": "create table table_12161822_5 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_12161822_5 where grand_prix = \"european grand_prix\"" + }, + { + "question": "Find the number of routes for each source airport and the airport name.", + "context": "create table airports (name varchar, apid varchar, PRIMARY KEY (name)); create table routes (src_apid varchar, PRIMARY KEY (src_apid))", + "answer": "select count(*), t1.name from airports as t1 join routes as t2 on t1.apid = t2.src_apid group by t1.name" + }, + { + "question": "List the document ids of documents with the status done and type Paper, which not shipped by the shipping agent named USPS.", + "context": "create table ref_shipping_agents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id)); create table documents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents where document_status_code = \"done\" and document_type_code = \"paper\" except select document_id from documents join ref_shipping_agents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code where ref_shipping_agents.shipping_agent_name = \"usps\"" + }, + { + "question": "Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?", + "context": "create table table_2490289_1 (amiga_demo varchar, pc_demo varchar, PRIMARY KEY (amiga_demo))", + "answer": "select amiga_demo from table_2490289_1 where pc_demo = \"tribes ( pulse & melon dezign)\"" + }, + { + "question": "What are the electric companies drawing power from Itaipu?", + "context": "create table table_19001916_2 (entities varchar, supply_point varchar, PRIMARY KEY (entities))", + "answer": "select entities from table_19001916_2 where supply_point = \"itaipu\"" + }, + { + "question": "List all payment methods and number of payments using each payment methods.", + "context": "create table customer_payments (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code, count(*) from customer_payments group by payment_method_code" + }, + { + "question": "How many different finales had the English title \"Beyond the Realm of Conscience\"?", + "context": "create table table_19210674_1 (finale varchar, english_title varchar, PRIMARY KEY (finale))", + "answer": "select count(finale) from table_19210674_1 where english_title = \"beyond the realm of conscience\"" + }, + { + "question": "Name the vice captain for melbourne victory", + "context": "create table table_1301373_7 (vice varchar, captain varchar, club varchar, PRIMARY KEY (vice))", + "answer": "select vice - captain from table_1301373_7 where club = \"melbourne victory\"" + }, + { + "question": "Who wrote the episode that originally aired on January 15, 1993?", + "context": "create table table_2409041_5 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2409041_5 where original_air_date = \"january 15, 1993\"" + }, + { + "question": "When was jack watson appointed?", + "context": "create table table_24490665_1 (appointed varchar, name varchar, PRIMARY KEY (appointed))", + "answer": "select appointed from table_24490665_1 where name = \"jack watson\"" + }, + { + "question": "Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.", + "context": "create table routes (dst_apid varchar, alid varchar, PRIMARY KEY (dst_apid)); create table airports (apid varchar, country varchar, PRIMARY KEY (apid)); create table airlines (alid varchar, name varchar, PRIMARY KEY (alid))", + "answer": "select count(*) from routes as t1 join airports as t2 on t1.dst_apid = t2.apid join airlines as t3 on t1.alid = t3.alid where t2.country = 'italy' and t3.name = 'american airlines'" + }, + { + "question": "In which townlands is the civil parish Monkstown?", + "context": "create table table_30120619_1 (townland varchar, civil_parish varchar, PRIMARY KEY (townland))", + "answer": "select townland from table_30120619_1 where civil_parish = \"monkstown\"" + }, + { + "question": "Who has the high assists when the team is Oklahoma City?", + "context": "create table table_23285805_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23285805_8 where team = \"oklahoma city\"" + }, + { + "question": "What was the Weds 25 Aug time for the driver whose Aug 27 time was 22' 23.97 101.065mph?", + "context": "create table table_26986076_6 (wed_25_aug varchar, fri_27_aug varchar, PRIMARY KEY (wed_25_aug))", + "answer": "select wed_25_aug from table_26986076_6 where fri_27_aug = \"22' 23.97 101.065mph\"" + }, + { + "question": "How many persons are not body builders?", + "context": "create table body_builder (people_id varchar, people_id varchar, PRIMARY KEY (people_id)); create table people (people_id varchar, people_id varchar, PRIMARY KEY (people_id))", + "answer": "select count(*) from people where not people_id in (select people_id from body_builder)" + }, + { + "question": "What was the women's singles were men's doubles were steen fladberg jens peter nierhoff?", + "context": "create table table_12186309_1 (womens_singles varchar, mens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12186309_1 where mens_doubles = \"steen fladberg jens peter nierhoff\"" + }, + { + "question": "Name the premiere for 8 episodes", + "context": "create table table_22951646_1 (premiere varchar, number_of_episodes varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_22951646_1 where number_of_episodes = 8" + }, + { + "question": "How many schools are listed for the player who played the years for Jazz in 2010-11?", + "context": "create table table_11545282_5 (school_club_team varchar, years_for_jazz varchar, PRIMARY KEY (school_club_team))", + "answer": "select count(school_club_team) from table_11545282_5 where years_for_jazz = \"2010-11\"" + }, + { + "question": "Name the total number of opponets venue for oklahoma", + "context": "create table table_16201038_3 (at_opponents_venue varchar, missouri_vs varchar, PRIMARY KEY (at_opponents_venue))", + "answer": "select count(at_opponents_venue) from table_16201038_3 where missouri_vs = \"oklahoma\"" + }, + { + "question": "Show the authors who have submissions to more than one workshop.", + "context": "create table submission (author varchar, submission_id varchar, PRIMARY KEY (author)); create table acceptance (submission_id varchar, workshop_id varchar, PRIMARY KEY (submission_id))", + "answer": "select t2.author from acceptance as t1 join submission as t2 on t1.submission_id = t2.submission_id group by t2.author having count(distinct t1.workshop_id) > 1" + }, + { + "question": "At which location did Rick Mears drive?", + "context": "create table table_15736385_1 (location varchar, driver varchar, PRIMARY KEY (location))", + "answer": "select location from table_15736385_1 where driver = \"rick mears\"" + }, + { + "question": "Show the ids and names of all documents.", + "context": "create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, document_name from documents" + }, + { + "question": "For each country and airline name, how many routes are there?", + "context": "create table airlines (country varchar, name varchar, alid varchar, PRIMARY KEY (country)); create table routes (alid varchar, PRIMARY KEY (alid))", + "answer": "select t1.country, t1.name, count(*) from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t1.country, t1.name" + }, + { + "question": "When mike bibby (8) had the highest amount of assists what is the record?", + "context": "create table table_17311759_9 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_17311759_9 where high_assists = \"mike bibby (8)\"" + }, + { + "question": "Who were all the candidates in elections in which Steve Chabot was a candidate?", + "context": "create table table_1805191_36 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1805191_36 where incumbent = \"steve chabot\"" + }, + { + "question": "How many episodes were written by seth hoffman, russel friend & garrett lerner?", + "context": "create table table_28026156_1 (rank__week_ varchar, written_by varchar, PRIMARY KEY (rank__week_))", + "answer": "select count(rank__week_) from table_28026156_1 where written_by = \"seth hoffman, russel friend & garrett lerner\"" + }, + { + "question": "Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP.", + "context": "create table table_12142298_2 (shortstop varchar, starting_pitcher varchar, second_baseman varchar, centerfielder varchar, PRIMARY KEY (shortstop))", + "answer": "select shortstop from table_12142298_2 where second_baseman = \"jim lefebvre\" and centerfielder = \"willie davis\" and starting_pitcher = \"don drysdale\"" + }, + { + "question": "How many authors are present when the original was Carry On?", + "context": "create table table_19523708_1 (authors varchar, original varchar, PRIMARY KEY (authors))", + "answer": "select count(authors) from table_19523708_1 where original = \"carry on\"" + }, + { + "question": "What was the status of the election featuring incumbent margaret kaiser?", + "context": "create table table_26416704_2 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_26416704_2 where incumbent = \"margaret kaiser\"" + }, + { + "question": "Who replaced the outgoing manager H\u00fcsn\u00fc \u00d6zkara?", + "context": "create table table_27091128_3 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27091128_3 where outgoing_manager = \"h\u00fcsn\u00fc \u00f6zkara\"" + }, + { + "question": "Who played against team 1 Liverpool?", + "context": "create table table_17282875_2 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_17282875_2 where team__number1 = \"liverpool\"" + }, + { + "question": "What's the content of the Tutti i Pacchetti + Sky HD package?", + "context": "create table table_15887683_3 (content varchar, package_option varchar, PRIMARY KEY (content))", + "answer": "select content from table_15887683_3 where package_option = \"tutti i pacchetti + sky hd\"" + }, + { + "question": "What location(s) did patrick mckenna lead the most laps?", + "context": "create table table_25668203_2 (location varchar, most_laps_led varchar, PRIMARY KEY (location))", + "answer": "select location from table_25668203_2 where most_laps_led = \"patrick mckenna\"" + }, + { + "question": "Who directed the second episode of \"The Homecoming\" which was written by Tommy Thompson?", + "context": "create table table_11075747_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11075747_3 where written_by = \"tommy thompson\"" + }, + { + "question": "What was the stadium that had the regular season game?", + "context": "create table table_21436373_4 (stadium varchar, type_of_record varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_4 where type_of_record = \"regular season game\"" + }, + { + "question": "What branch was involved when the term began in January 3, 1985?", + "context": "create table table_197446_1 (branch varchar, term_began varchar, PRIMARY KEY (branch))", + "answer": "select branch from table_197446_1 where term_began = \"january 3, 1985\"" + }, + { + "question": "What's the total number of directors who've directed episodes seen by 11.34 million US viewers?", + "context": "create table table_12159115_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_12159115_2 where us_viewers__millions_ = \"11.34\"" + }, + { + "question": "What is the description of the color for most products?", + "context": "create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description)); create table products (color_code varchar, PRIMARY KEY (color_code))", + "answer": "select t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code group by t2.color_description order by count(*) desc limit 1" + }, + { + "question": "What Film Festival had participants/recipients of Isao Tomita?", + "context": "create table table_26282750_1 (film_festival varchar, participants_recipients varchar, PRIMARY KEY (film_festival))", + "answer": "select film_festival from table_26282750_1 where participants_recipients = \"isao tomita\"" + }, + { + "question": "Find the name of the organization that has published the largest number of papers.", + "context": "create table inst (name varchar, instid varchar, PRIMARY KEY (name)); create table authorship (instid varchar, paperid varchar, PRIMARY KEY (instid)); create table papers (paperid varchar, PRIMARY KEY (paperid))", + "answer": "select t1.name from inst as t1 join authorship as t2 on t1.instid = t2.instid join papers as t3 on t2.paperid = t3.paperid group by t1.name order by count(*) desc limit 1" + }, + { + "question": "Which post had the horse named chocolate candy?", + "context": "create table table_22517564_3 (post varchar, horse_name varchar, PRIMARY KEY (post))", + "answer": "select post from table_22517564_3 where horse_name = \"chocolate candy\"" + }, + { + "question": "How many schools have the team nickname bobcats?", + "context": "create table table_16384648_2 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_16384648_2 where team_nickname = \"bobcats\"" + }, + { + "question": "When platense is the home (2nd leg) what is the 2nd leg?", + "context": "create table table_14219514_2 (home__2nd_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select 2 as nd_leg from table_14219514_2 where home__2nd_leg_ = \"platense\"" + }, + { + "question": "What is the maximum renewable energy (gw\u00d7h) for the state of Delaware?", + "context": "create table table_25244412_1 (renewable_electricity__gw integer, state varchar, PRIMARY KEY (renewable_electricity__gw))", + "answer": "select max(renewable_electricity__gw) as \u2022h_ from table_25244412_1 where state = \"delaware\"" + }, + { + "question": "What is the last name of the staff who has handled the first ever complaint?", + "context": "create table staff (last_name varchar, staff_id varchar, PRIMARY KEY (last_name)); create table complaints (staff_id varchar, date_complaint_raised varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.last_name from staff as t1 join complaints as t2 on t1.staff_id = t2.staff_id order by t2.date_complaint_raised limit 1" + }, + { + "question": "When paul moor is on the europe team who is on the usa team?", + "context": "create table table_19072602_5 (team_usa varchar, team_europe varchar, PRIMARY KEY (team_usa))", + "answer": "select team_usa from table_19072602_5 where team_europe = \"paul moor\"" + }, + { + "question": "When saif saaeed shaheen (qat) is the saif saaeed shaheen ( qat ) what is the world record?", + "context": "create table table_23988726_2 (world_record varchar, PRIMARY KEY (world_record))", + "answer": "select world_record from table_23988726_2 where \"saif_saaeed_shaheen___qat__\" = \"saif_saaeed_shaheen___qat__\"" + }, + { + "question": "What are the names of gymnasts whose hometown is not \"Santo Domingo\"?", + "context": "create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (name varchar, people_id varchar, hometown varchar, PRIMARY KEY (name))", + "answer": "select t2.name from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id where t2.hometown <> \"santo domingo\"" + }, + { + "question": "Which paper's title contains the word \"Database\"?", + "context": "create table papers (title varchar, PRIMARY KEY (title))", + "answer": "select title from papers where title like \"%database%\"" + }, + { + "question": "How many college/junior/club teams are from Sweden?", + "context": "create table table_2850912_5 (college_junior_club_team varchar, nationality varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_2850912_5 where nationality = \"sweden\"" + }, + { + "question": "How many different titles does the episode originally aired on September 27, 1984 have?", + "context": "create table table_2818164_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_2818164_2 where original_air_date = \"september 27, 1984\"" + }, + { + "question": "What are the original air dates when scientology isthe poll winner?", + "context": "create table table_15781170_3 (original_air_date varchar, poll_winner varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_15781170_3 where poll_winner = \"scientology\"" + }, + { + "question": "Name the total number of language of films for m\u00e9ga-plex taschereau imax", + "context": "create table table_2461720_1 (language_of_films varchar, theatre_name varchar, PRIMARY KEY (language_of_films))", + "answer": "select count(language_of_films) from table_2461720_1 where theatre_name = \"m\u00e9ga-plex taschereau imax\"" + }, + { + "question": "How many channel tv (dt)s are in austin, texas?", + "context": "create table table_1353096_1 (channel_tv___dt__ varchar, city_of_license__market varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select count(channel_tv___dt__) from table_1353096_1 where city_of_license__market = \"austin, texas\"" + }, + { + "question": "What is the gayndah when perry is 304?", + "context": "create table table_12526990_1 (gayndah integer, perry varchar, PRIMARY KEY (gayndah))", + "answer": "select max(gayndah) from table_12526990_1 where perry = 304" + }, + { + "question": "Find the names of artists that do not have any albums.", + "context": "create table artist (name varchar, PRIMARY KEY (name)); create table album (artistid varchar, PRIMARY KEY (artistid)); create table artist (name varchar, artistid varchar, PRIMARY KEY (name))", + "answer": "select name from artist except select t2.name from album as t1 join artist as t2 on t1.artistid = t2.artistid" + }, + { + "question": "Who got high assists for team @ Indiana?", + "context": "create table table_27700375_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27700375_8 where team = \"@ indiana\"" + }, + { + "question": "Find the distinct Advisor of students who have treasurer votes in the spring election cycle.", + "context": "create table student (advisor varchar, stuid varchar, PRIMARY KEY (advisor)); create table voting_record (treasurer_vote varchar, election_cycle varchar, PRIMARY KEY (treasurer_vote))", + "answer": "select distinct t1.advisor from student as t1 join voting_record as t2 on t1.stuid = t2.treasurer_vote where t2.election_cycle = \"spring\"" + }, + { + "question": "What year was the film Milagros submitted?", + "context": "create table table_17919342_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17919342_1 where original_title = \"milagros\"" + }, + { + "question": "When did the fourth episode of the season (4 1-04) first air?", + "context": "create table table_24222929_3 (original_airdate varchar, episode_number_production_number varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_24222929_3 where episode_number_production_number = \"4 1-04\"" + }, + { + "question": "WHAT TEAM CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ?", + "context": "create table table_11667521_17 (team_classification varchar, points_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_11667521_17 where points_classification = \"bradley wiggins\"" + }, + { + "question": "What country is Richard Vanquelef from?", + "context": "create table table_24565004_22 (nationality\u00b2 varchar, name varchar, PRIMARY KEY (nationality\u00b2))", + "answer": "select nationality\u00b2 from table_24565004_22 where name = \"richard vanquelef\"" + }, + { + "question": "The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook.", + "context": "create table table_14154271_2 (results varchar, gt2_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_14154271_2 where gt2_winning_team = \"lars-erik nielsen allan simonsen richard westbrook\"" + }, + { + "question": "What is the Quarterback rating of the player who got a comp percentage of 62.0?", + "context": "create table table_18686317_1 (qb_rating varchar, comp__percentage varchar, PRIMARY KEY (qb_rating))", + "answer": "select qb_rating from table_18686317_1 where comp__percentage = \"62.0\"" + }, + { + "question": "What did the home team score against Richmond?", + "context": "create table table_16387653_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16387653_1 where away_team = \"richmond\"" + }, + { + "question": "Which planet has an orbital period of 11.86 years?", + "context": "create table table_10932739_2 (planet varchar, orbital_period varchar, PRIMARY KEY (planet))", + "answer": "select planet from table_10932739_2 where orbital_period = \"11.86 years\"" + }, + { + "question": "What is the ISBN of \"Dead as a Doornail?", + "context": "create table table_16907214_1 (paperback varchar, title varchar, PRIMARY KEY (paperback))", + "answer": "select paperback from table_16907214_1 where title = \"dead as a doornail\"" + }, + { + "question": "Name the team for javier clemente", + "context": "create table table_29398373_2 (team varchar, head_coach varchar, PRIMARY KEY (team))", + "answer": "select team from table_29398373_2 where head_coach = \"javier clemente\"" + }, + { + "question": "When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament?", + "context": "create table table_24160890_3 (conference varchar, tournament_venue__city_ varchar, PRIMARY KEY (conference))", + "answer": "select conference as tournament from table_24160890_3 where tournament_venue__city_ = \"madison square garden ( new york city, new york )\"" + }, + { + "question": "From the trip record, find the number of unique bikes.", + "context": "create table trip (bike_id varchar, PRIMARY KEY (bike_id))", + "answer": "select count(distinct bike_id) from trip" + }, + { + "question": "When galaxy angel aa was the title was the us release date?", + "context": "create table table_1714685_1 (us_release_date varchar, title varchar, PRIMARY KEY (us_release_date))", + "answer": "select us_release_date from table_1714685_1 where title = \"galaxy angel aa\"" + }, + { + "question": "What was the callsign in Zamboanga?", + "context": "create table table_12547903_3 (callsign varchar, location varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_12547903_3 where location = \"zamboanga\"" + }, + { + "question": "What is the original title of europe for dummies?", + "context": "create table table_14631909_1 (original_title varchar, english_title varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_14631909_1 where english_title = \"europe for dummies\"" + }, + { + "question": "reginald hudlin directed how many written by.", + "context": "create table table_21994729_3 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_21994729_3 where directed_by = \"reginald hudlin\"" + }, + { + "question": "Name the sepal width when sepal length is 6.5 and petal width is 2.2", + "context": "create table table_10477224_1 (sepal_width varchar, sepal_length varchar, petal_width varchar, PRIMARY KEY (sepal_width))", + "answer": "select sepal_width from table_10477224_1 where sepal_length = \"6.5\" and petal_width = \"2.2\"" + }, + { + "question": "What is Australia's role in the UN operation Unama?", + "context": "create table table_10121127_1 (australian_role varchar, un_operation_name varchar, PRIMARY KEY (australian_role))", + "answer": "select australian_role from table_10121127_1 where un_operation_name = \"unama\"" + }, + { + "question": "what is the name of the episode when the number of spectators was 5.60 millions?", + "context": "create table table_23117208_3 (title varchar, viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23117208_3 where viewers__millions_ = \"5.60\"" + }, + { + "question": "What accreditation does Hollins University have?", + "context": "create table table_2076608_1 (accreditation varchar, school varchar, PRIMARY KEY (accreditation))", + "answer": "select accreditation from table_2076608_1 where school = \"hollins university\"" + }, + { + "question": "Who proceeded to the quarter final when the london irish were eliminated from competition?", + "context": "create table table_28068063_3 (proceed_to_quarter_final varchar, eliminated_from_competition varchar, PRIMARY KEY (proceed_to_quarter_final))", + "answer": "select proceed_to_quarter_final from table_28068063_3 where eliminated_from_competition = \"london irish\"" + }, + { + "question": "What is the province for with the stadium capacity of 5100?", + "context": "create table table_27369069_4 (province varchar, stadium_capacity varchar, PRIMARY KEY (province))", + "answer": "select province from table_27369069_4 where stadium_capacity = 5100" + }, + { + "question": "When classic hits 102.1 cjcy is the branding who is the owner?", + "context": "create table table_18536769_1 (owner varchar, branding varchar, PRIMARY KEY (owner))", + "answer": "select owner from table_18536769_1 where branding = \"classic hits 102.1 cjcy\"" + }, + { + "question": "How many millions of people in the US watched when Kevin Bray was director?", + "context": "create table table_24319661_3 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_24319661_3 where directed_by = \"kevin bray\"" + }, + { + "question": "Show the most common location of performances.", + "context": "create table performance (location varchar, PRIMARY KEY (location))", + "answer": "select location from performance group by location order by count(*) desc limit 1" + }, + { + "question": "what is smallest number in fleet for chassis manufacturer Scania and fleet numbers is 3230?", + "context": "create table table_1425948_1 (number_in_fleet integer, chassis_manufacturer varchar, fleet_numbers varchar, PRIMARY KEY (number_in_fleet))", + "answer": "select min(number_in_fleet) from table_1425948_1 where chassis_manufacturer = \"scania\" and fleet_numbers = \"3230\"" + }, + { + "question": "Name the best director for mother", + "context": "create table table_15301258_1 (best_director varchar, best_film varchar, PRIMARY KEY (best_director))", + "answer": "select best_director from table_15301258_1 where best_film = \"mother\"" + }, + { + "question": "How many accelerators are not compatible with the browsers listed ?", + "context": "create table accelerator_compatible_browser (id varchar, accelerator_id varchar, PRIMARY KEY (id)); create table web_client_accelerator (id varchar, accelerator_id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from web_client_accelerator where not id in (select accelerator_id from accelerator_compatible_browser)" + }, + { + "question": "What was the little league team from Indiana when the little league team from Michigan was Midland Northeast LL Midland?", + "context": "create table table_18461045_1 (indiana varchar, michigan varchar, PRIMARY KEY (indiana))", + "answer": "select indiana from table_18461045_1 where michigan = \"midland northeast ll midland\"" + }, + { + "question": "What is the value of Monday August 24 if the rider is Benny Smith 600cc Yamaha?", + "context": "create table table_23465864_5 (mon_24_aug varchar, rider varchar, PRIMARY KEY (mon_24_aug))", + "answer": "select mon_24_aug from table_23465864_5 where rider = \"benny smith 600cc yamaha\"" + }, + { + "question": "Name the sepal length for sepal width of 2.8 and petal length of 5.1", + "context": "create table table_10477224_1 (sepal_length varchar, sepal_width varchar, petal_length varchar, PRIMARY KEY (sepal_length))", + "answer": "select sepal_length from table_10477224_1 where sepal_width = \"2.8\" and petal_length = \"5.1\"" + }, + { + "question": "Name the analysts", + "context": "create table table_22654139_2 (s_analyst varchar, PRIMARY KEY (s_analyst))", + "answer": "select s_analyst from table_22654139_2" + }, + { + "question": "What was the record when chris paul (16) had the high points?", + "context": "create table table_27723228_8 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_27723228_8 where high_points = \"chris paul (16)\"" + }, + { + "question": "If the proto-semitic is *bayt-, what are the geez?", + "context": "create table table_26919_7 (geez varchar, proto_semitic varchar, PRIMARY KEY (geez))", + "answer": "select geez from table_26919_7 where proto_semitic = \"*bayt-\"" + }, + { + "question": "What is Ballymurphy North's civil parish?", + "context": "create table table_30120633_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30120633_1 where townland = \"ballymurphy north\"" + }, + { + "question": "Show all game names played by at least 1000 hours.", + "context": "create table plays_games (gameid varchar, PRIMARY KEY (gameid)); create table video_games (gameid varchar, PRIMARY KEY (gameid))", + "answer": "select gname from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid group by t1.gameid having sum(hours_played) >= 1000" + }, + { + "question": "What purses had a winners share equal to $428650?", + "context": "create table table_1520559_1 (purse___$__ varchar, winners_share__$_ varchar, PRIMARY KEY (purse___$__))", + "answer": "select purse___$__ from table_1520559_1 where winners_share__$_ = 428650" + }, + { + "question": "How many David's team for the Lees Team of Deborah Meaden and Mark Watson?", + "context": "create table table_23575917_4 (davids_team varchar, lees_team varchar, PRIMARY KEY (davids_team))", + "answer": "select count(davids_team) from table_23575917_4 where lees_team = \"deborah meaden and mark watson\"" + }, + { + "question": "Find all the product whose name contains the word \"Scanner\".", + "context": "create table product (product varchar, PRIMARY KEY (product))", + "answer": "select product from product where product like \"%scanner%\"" + }, + { + "question": "Who sanctioned the event in lincoln, illinois?", + "context": "create table table_16275828_4 (sanction varchar, location varchar, PRIMARY KEY (sanction))", + "answer": "select sanction from table_16275828_4 where location = \"lincoln, illinois\"" + }, + { + "question": "Show the names of products and the number of events they are in.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table products_in_events (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_name, count(*) from products as t1 join products_in_events as t2 on t1.product_id = t2.product_id group by t1.product_name" + }, + { + "question": "What is the average rating for tv asahi?", + "context": "create table table_18539834_2 (average_ratings varchar, tv_station varchar, PRIMARY KEY (average_ratings))", + "answer": "select average_ratings from table_18539834_2 where tv_station = \"tv asahi\"" + }, + { + "question": "What is the name of the episode written by David Matthews?", + "context": "create table table_28037619_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28037619_2 where written_by = \"david matthews\"" + }, + { + "question": "What is the kr td when mfg lg is 64?", + "context": "create table table_16912000_13 (kr_td varchar, mfg_lg varchar, PRIMARY KEY (kr_td))", + "answer": "select kr_td from table_16912000_13 where mfg_lg = 64" + }, + { + "question": "Are there SPI on the number 7 cylinder?", + "context": "create table table_16731248_1 (spi varchar, number_on_cyl varchar, PRIMARY KEY (spi))", + "answer": "select spi from table_16731248_1 where number_on_cyl = \"7\"" + }, + { + "question": "What is the English spelling of the strongs transliteration: 'adoniyah?", + "context": "create table table_1242447_2 (english_spelling varchar, strongs_transliteration varchar, PRIMARY KEY (english_spelling))", + "answer": "select english_spelling from table_1242447_2 where strongs_transliteration = \"'adoniyah\"" + }, + { + "question": "List the titles of episodes written by Anne Cofell Saunders.", + "context": "create table table_26464364_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_26464364_1 where written_by = \"anne cofell saunders\"" + }, + { + "question": "For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent", + "context": "create table table_27877656_7 (opponent varchar, edition varchar, opponent_team varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_27877656_7 where edition = \"2009 europe/africa group iiib\" and opponent_team = \"armenia\"" + }, + { + "question": "Who wrote the episode that had 5.93 million viewers?", + "context": "create table table_27846651_1 (writer varchar, viewers__millions_ varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_27846651_1 where viewers__millions_ = \"5.93\"" + }, + { + "question": "Name the regular season for final playoffs", + "context": "create table table_2361911_2 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))", + "answer": "select regular_season from table_2361911_2 where playoffs = \"final\"" + }, + { + "question": "How many statements do we have?", + "context": "create table statements (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from statements" + }, + { + "question": "Where was the tourney when UCLA won the regular season?", + "context": "create table table_21269441_4 (tournament_venue__city_ varchar, regular_season_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_21269441_4 where regular_season_winner = \"ucla\"" + }, + { + "question": "List all info about all people.", + "context": "create table people (id varchar, PRIMARY KEY (id))", + "answer": "select * from people" + }, + { + "question": "Name the cyrillic name for orthodox christianity village and ba\u010dko dobro polje", + "context": "create table table_2562572_20 (cyrillic_name_other_names varchar, settlement varchar, dominant_religion__2002_ varchar, type varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_20 where dominant_religion__2002_ = \"orthodox christianity\" and type = \"village\" and settlement = \"ba\u010dko dobro polje\"" + }, + { + "question": "Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.", + "context": "create table browser (id varchar, name varchar, PRIMARY KEY (id)); create table web_client_accelerator (name varchar, operating_system varchar, PRIMARY KEY (name)); create table accelerator_compatible_browser (accelerator_id varchar, browser_id varchar, PRIMARY KEY (accelerator_id)); create table web_client_accelerator (name varchar, operating_system varchar, id varchar, PRIMARY KEY (name))", + "answer": "select name, operating_system from web_client_accelerator except select t1.name, t1.operating_system from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id join browser as t3 on t2.browser_id = t3.id where t3.name = 'opera'" + }, + { + "question": "Find the total number of students living in the male dorm (with gender M).", + "context": "create table dorm (dormid varchar, gender varchar, PRIMARY KEY (dormid)); create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from student as t1 join lives_in as t2 on t1.stuid = t2.stuid join dorm as t3 on t3.dormid = t2.dormid where t3.gender = 'm'" + }, + { + "question": "List the names of departments where some physicians are primarily affiliated with.", + "context": "create table affiliated_with (department varchar, PRIMARY KEY (department)); create table department (name varchar, departmentid varchar, PRIMARY KEY (name))", + "answer": "select distinct t2.name from affiliated_with as t1 join department as t2 on t1.department = t2.departmentid where primaryaffiliation = 1" + }, + { + "question": "List all countries and their number of airlines in the descending order of number of airlines.", + "context": "create table airlines (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from airlines group by country order by count(*) desc" + }, + { + "question": "Name the least 2 credits for straight hand", + "context": "create table table_148535_2 (hand varchar, PRIMARY KEY (hand))", + "answer": "select min(2 as _credits) from table_148535_2 where hand = \"straight\"" + }, + { + "question": "Show the most common apartment type code.", + "context": "create table apartments (apt_type_code varchar, PRIMARY KEY (apt_type_code))", + "answer": "select apt_type_code from apartments group by apt_type_code order by count(*) desc limit 1" + }, + { + "question": "Which bike traveled the most often in zip code 94002?", + "context": "create table trip (bike_id varchar, zip_code varchar, PRIMARY KEY (bike_id))", + "answer": "select bike_id from trip where zip_code = 94002 group by bike_id order by count(*) desc limit 1" + }, + { + "question": "Show all allergies and their types.", + "context": "create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy))", + "answer": "select allergy, allergytype from allergy_type" + }, + { + "question": "Name the launch date for duration days 174.14", + "context": "create table table_1906515_1 (launch_date varchar, duration__days_ varchar, PRIMARY KEY (launch_date))", + "answer": "select launch_date from table_1906515_1 where duration__days_ = \"174.14\"" + }, + { + "question": "Who is the director of the episode whom Scott Peters is the writer?", + "context": "create table table_10470082_4 (director varchar, writer varchar, PRIMARY KEY (director))", + "answer": "select director from table_10470082_4 where writer = \"scott peters\"" + }, + { + "question": "Name the rufus guest for 15 december 2008", + "context": "create table table_19930660_1 (rufus_guest varchar, first_broadcast varchar, PRIMARY KEY (rufus_guest))", + "answer": "select count(rufus_guest) from table_19930660_1 where first_broadcast = \"15 december 2008\"" + }, + { + "question": "What all capacities have turbines between 50-60?", + "context": "create table table_26387382_1 (capacity__mw_ varchar, turbines varchar, PRIMARY KEY (capacity__mw_))", + "answer": "select capacity__mw_ from table_26387382_1 where turbines = \"50-60\"" + }, + { + "question": "If the channels is wxyzrstuvpq, what is the horizontal order?", + "context": "create table table_233830_1 (horizontal_order varchar, channels varchar, PRIMARY KEY (horizontal_order))", + "answer": "select horizontal_order from table_233830_1 where channels = \"wxyzrstuvpq\"" + }, + { + "question": "When nathaniel g. taylor (u) is the successor what is the vacator?", + "context": "create table table_2147588_4 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_2147588_4 where successor = \"nathaniel g. taylor (u)\"" + }, + { + "question": "When james seaton is the incumbent what is the reason?", + "context": "create table table_28898974_3 (reason varchar, incumbent varchar, PRIMARY KEY (reason))", + "answer": "select reason from table_28898974_3 where incumbent = \"james seaton\"" + }, + { + "question": "What was the number of athletes in the host city of Nice?", + "context": "create table table_26669939_1 (no_of_athletes varchar, host_city varchar, PRIMARY KEY (no_of_athletes))", + "answer": "select no_of_athletes from table_26669939_1 where host_city = \"nice\"" + }, + { + "question": "What kind of school is Canton, New York?", + "context": "create table table_16381914_1 (affiliation varchar, location varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_16381914_1 where location = \"canton, new york\"" + }, + { + "question": "What models have an a2 barrel profile?", + "context": "create table table_12834315_5 (name varchar, barrel_profile varchar, PRIMARY KEY (name))", + "answer": "select name from table_12834315_5 where barrel_profile = \"a2\"" + }, + { + "question": "What school did the player that has been in Toronto from 2010-2012 go to?", + "context": "create table table_10015132_1 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_1 where years_in_toronto = \"2010-2012\"" + }, + { + "question": "When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?", + "context": "create table table_2357201_1 (playoffs varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_2357201_1 where regular_season = \"2nd, great lakes\"" + }, + { + "question": "What are the names of the tourist attractions that can be accessed by bus?", + "context": "create table tourist_attractions (name varchar, how_to_get_there varchar, PRIMARY KEY (name))", + "answer": "select name from tourist_attractions where how_to_get_there = \"bus\"" + }, + { + "question": "Who were the runner(s)-up when Tiger won by 11 strokes?", + "context": "create table table_11570261_2 (runner_s__up varchar, margin_of_victory varchar, PRIMARY KEY (runner_s__up))", + "answer": "select runner_s__up from table_11570261_2 where margin_of_victory = \"11 strokes\"" + }, + { + "question": "When was the train 2053 built?", + "context": "create table table_1057316_1 (build_date varchar, serial_number varchar, PRIMARY KEY (build_date))", + "answer": "select build_date from table_1057316_1 where serial_number = \"2053\"" + }, + { + "question": "what is the percentage of democratic voters in which the registered voters is 67.8%?", + "context": "create table table_27003223_4 (democratic varchar, registered_voters varchar, PRIMARY KEY (democratic))", + "answer": "select democratic from table_27003223_4 where registered_voters = \"67.8%\"" + }, + { + "question": "What is the current account balance for an export volume of goods and service value of -4.2?", + "context": "create table table_30133_1 (current_account_balance__percent_of_gdp_ varchar, export_volume_of_goods_and_services__percent_change_ varchar, PRIMARY KEY (current_account_balance__percent_of_gdp_))", + "answer": "select current_account_balance__percent_of_gdp_ from table_30133_1 where export_volume_of_goods_and_services__percent_change_ = \"-4.2\"" + }, + { + "question": "when was the episode guest starring michael mcintyre and alex james broadcasted", + "context": "create table table_29135051_3 (broadcast_date varchar, guest_s_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_29135051_3 where guest_s_ = \"michael mcintyre and alex james\"" + }, + { + "question": "What is every value of epoch if inclination is 90.063603?", + "context": "create table table_206217_2 (epoch__utc_ varchar, inclination__deg___to_moon_equator_ varchar, PRIMARY KEY (epoch__utc_))", + "answer": "select epoch__utc_ from table_206217_2 where inclination__deg___to_moon_equator_ = \"90.063603\"" + }, + { + "question": "Who was the incumbent in the election of henry garland dupr\u00e9 (d) unopposed?", + "context": "create table table_1342426_18 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342426_18 where candidates = \"henry garland dupr\u00e9 (d) unopposed\"" + }, + { + "question": "What is the result in the final versos Jennifer Capriati?", + "context": "create table table_19047_2 (outcome varchar, opponent_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_19047_2 where opponent_in_the_final = \"jennifer capriati\"" + }, + { + "question": "What is the language used most often in the songs?", + "context": "create table song (languages varchar, PRIMARY KEY (languages))", + "answer": "select languages from song group by languages order by count(*) desc limit 1" + }, + { + "question": "Who was the successor for the reason for change being \"died January 16, 1944?", + "context": "create table table_2159537_3 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2159537_3 where reason_for_change = \"died january 16, 1944\"" + }, + { + "question": "What's the title of the episode written by David Simon?", + "context": "create table table_13755296_1 (title varchar, teleplay_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_13755296_1 where teleplay_by = \"david simon\"" + }, + { + "question": "If you are a pilot officer in the commonwealth then what will you called as in the US air force?", + "context": "create table table_1015521_2 (us_air_force_equivalent varchar, commonwealth_equivalent varchar, PRIMARY KEY (us_air_force_equivalent))", + "answer": "select us_air_force_equivalent from table_1015521_2 where commonwealth_equivalent = \"pilot officer\"" + }, + { + "question": "What are the debut year for wrestlers born in Nara?", + "context": "create table table_1557974_1 (debut varchar, birthplace varchar, PRIMARY KEY (debut))", + "answer": "select debut from table_1557974_1 where birthplace = \"nara\"" + }, + { + "question": "what's the\u00a0operational period\u00a0with\u00a0camp\u00a0 sajmi\u0161te", + "context": "create table table_10335_1 (operational varchar, camp varchar, PRIMARY KEY (operational))", + "answer": "select operational from table_10335_1 where camp = \"sajmi\u0161te\"" + }, + { + "question": "Which chassis manufacturer is for fleet numbers range 2530-2558", + "context": "create table table_1425948_1 (chassis_manufacturer varchar, fleet_numbers varchar, PRIMARY KEY (chassis_manufacturer))", + "answer": "select chassis_manufacturer from table_1425948_1 where fleet_numbers = \"2530-2558\"" + }, + { + "question": "How many songs have used the instrument \"drums\"?", + "context": "create table instruments (instrument varchar, PRIMARY KEY (instrument))", + "answer": "select count(*) from instruments where instrument = \"drums\"" + }, + { + "question": "What is the most Champ Car wins for any driver with a USAC record of 2?", + "context": "create table table_19524523_1 (champ_car_world_series__2004_2007_ integer, usac__1956_1995_ varchar, PRIMARY KEY (champ_car_world_series__2004_2007_))", + "answer": "select max(champ_car_world_series__2004_2007_) from table_19524523_1 where usac__1956_1995_ = 2" + }, + { + "question": "Find the total number of students and total number of instructors for each department.", + "context": "create table department (dept_name varchar, PRIMARY KEY (dept_name)); create table student (id varchar, dept_name varchar, PRIMARY KEY (id)); create table instructor (dept_name varchar, id varchar, PRIMARY KEY (dept_name))", + "answer": "select count(distinct t2.id), count(distinct t3.id), t3.dept_name from department as t1 join student as t2 on t1.dept_name = t2.dept_name join instructor as t3 on t1.dept_name = t3.dept_name group by t3.dept_name" + }, + { + "question": "How many rooms are there?", + "context": "create table rooms (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from rooms" + }, + { + "question": "Name the most male life expectancy for pakistan", + "context": "create table table_2701625_1 (male_life_expectancy integer, country varchar, PRIMARY KEY (male_life_expectancy))", + "answer": "select max(male_life_expectancy) from table_2701625_1 where country = \"pakistan\"" + }, + { + "question": "Name the regular season record for standing 11th", + "context": "create table table_20774360_2 (regular_season_record__w_l_ varchar, standing varchar, PRIMARY KEY (regular_season_record__w_l_))", + "answer": "select regular_season_record__w_l_ from table_20774360_2 where standing = \"11th\"" + }, + { + "question": "What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?", + "context": "create table table_23680576_2 (nov_2008 varchar, aug_2008 varchar, PRIMARY KEY (nov_2008))", + "answer": "select nov_2008 from table_23680576_2 where aug_2008 = \"1.7%\"" + }, + { + "question": "Which urban area has a 2011 population of 5010?", + "context": "create table table_1940144_1 (urban_area varchar, population_2011 varchar, PRIMARY KEY (urban_area))", + "answer": "select urban_area from table_1940144_1 where population_2011 = 5010" + }, + { + "question": "Name the archive where run time 24:04", + "context": "create table table_1776943_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_1776943_1 where run_time = \"24:04\"" + }, + { + "question": "What are the names and descriptions of the photos taken at the tourist attraction \"film festival\"?", + "context": "create table tourist_attractions (tourist_attraction_id varchar, name varchar, PRIMARY KEY (tourist_attraction_id)); create table photos (name varchar, description varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t1.description from photos as t1 join tourist_attractions as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id where t2.name = \"film festival\"" + }, + { + "question": "What is the party of the election in which Robert Bauman is the incumbent?", + "context": "create table table_1341690_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341690_20 where incumbent = \"robert bauman\"" + }, + { + "question": "Show the names of people and the number of times they have been on the affirmative side of debates.", + "context": "create table people (name varchar, people_id varchar, PRIMARY KEY (name)); create table debate_people (affirmative varchar, PRIMARY KEY (affirmative))", + "answer": "select t2.name, count(*) from debate_people as t1 join people as t2 on t1.affirmative = t2.people_id group by t2.name" + }, + { + "question": "what is the total number of\u00a0deadline for completion\u00a0where\u00a0description\u00a0is facebook becomes a publicly traded company", + "context": "create table table_12078626_1 (deadline_for_completion varchar, description varchar, PRIMARY KEY (deadline_for_completion))", + "answer": "select count(deadline_for_completion) from table_12078626_1 where description = \"facebook becomes a publicly traded company\"" + }, + { + "question": "How many U.S. viewers, in millions, watched the episode that aired on November 13, 2007?", + "context": "create table table_13301516_1 (us_viewers__millions_ varchar, original_air_date varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_13301516_1 where original_air_date = \"november 13, 2007\"" + }, + { + "question": "What is the document type description for document type named Film?", + "context": "create table ref_document_types (document_type_description varchar, document_type_name varchar, PRIMARY KEY (document_type_description))", + "answer": "select document_type_description from ref_document_types where document_type_name = \"film\"" + }, + { + "question": "What unit of measurement for uruguay?", + "context": "create table table_14098_1 (area__km\u00b2___per_sqmi_ varchar, country_or_territory_with_flag varchar, PRIMARY KEY (area__km\u00b2___per_sqmi_))", + "answer": "select area__km\u00b2___per_sqmi_ from table_14098_1 where country_or_territory_with_flag = \"uruguay\"" + }, + { + "question": "What driver(s) had over 65 stag wins?", + "context": "create table table_23385853_19 (driver varchar, stage_wins varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_23385853_19 where stage_wins = 65" + }, + { + "question": "who are all the\u00a0winning constructors\u00a0where\u00a0fastest lap\u00a0is riccardo patrese and\u00a0location\u00a0is interlagos", + "context": "create table table_1137704_2 (winning_constructor varchar, fastest_lap varchar, location varchar, PRIMARY KEY (winning_constructor))", + "answer": "select winning_constructor from table_1137704_2 where fastest_lap = \"riccardo patrese\" and location = \"interlagos\"" + }, + { + "question": "Name the team for 19-34", + "context": "create table table_23274514_7 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_23274514_7 where record = \"19-34\"" + }, + { + "question": "What is williow canyon of Roberta Lockhart?", + "context": "create table table_11340432_1 (willow_canyon varchar, dysart varchar, PRIMARY KEY (willow_canyon))", + "answer": "select willow_canyon from table_11340432_1 where dysart = \"roberta lockhart\"" + }, + { + "question": "What is the population in the city of Pomorskie?", + "context": "create table table_11654169_1 (population_in_1000__1931_ varchar, voivodeship_separate_city varchar, PRIMARY KEY (population_in_1000__1931_))", + "answer": "select population_in_1000__1931_ from table_11654169_1 where voivodeship_separate_city = \"pomorskie\"" + }, + { + "question": "What is the special when the challenger is dominique bouchet?", + "context": "create table table_23982399_12 (special varchar, challenger varchar, PRIMARY KEY (special))", + "answer": "select special from table_23982399_12 where challenger = \"dominique bouchet\"" + }, + { + "question": "When steve gomer is the director who is the writer?", + "context": "create table table_14847258_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_14847258_1 where directed_by = \"steve gomer\"" + }, + { + "question": "What date did the episode air that had n/a for it's bbc three weekly ranking?", + "context": "create table table_24399615_4 (airdate varchar, bbc_three_weekly_ranking varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_24399615_4 where bbc_three_weekly_ranking = \"n/a\"" + }, + { + "question": "display the ID for those employees who did two or more jobs in the past.", + "context": "create table job_history (employee_id varchar, PRIMARY KEY (employee_id))", + "answer": "select employee_id from job_history group by employee_id having count(*) >= 2" + }, + { + "question": "List the name of singers that do not have any song.", + "context": "create table song (name varchar, singer_id varchar, PRIMARY KEY (name)); create table singer (name varchar, singer_id varchar, PRIMARY KEY (name))", + "answer": "select name from singer where not singer_id in (select singer_id from song)" + }, + { + "question": "What is the power of the 3.2i v8 32v?", + "context": "create table table_1245350_1 (power varchar, quattroporte_iv varchar, PRIMARY KEY (power))", + "answer": "select power from table_1245350_1 where quattroporte_iv = \"3.2i v8 32v\"" + }, + { + "question": "How many distinct claim outcome codes are there?", + "context": "create table claims_processing (claim_outcome_code varchar, PRIMARY KEY (claim_outcome_code))", + "answer": "select count(distinct claim_outcome_code) from claims_processing" + }, + { + "question": "Name the administrative county being area of 422372", + "context": "create table table_14925084_1 (administrative_county varchar, area_1961__statute_acres_ varchar, PRIMARY KEY (administrative_county))", + "answer": "select administrative_county from table_14925084_1 where area_1961__statute_acres_ = 422372" + }, + { + "question": "What is the number of jurisdiction for 57.3 percent?", + "context": "create table table_120778_1 (jurisdiction varchar, percent_for varchar, PRIMARY KEY (jurisdiction))", + "answer": "select count(jurisdiction) from table_120778_1 where percent_for = \"57.3\"" + }, + { + "question": "When the record was 2-29 who had the most assists?", + "context": "create table table_22879323_6 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_22879323_6 where record = \"2-29\"" + }, + { + "question": "What station has a univision network affiliation?", + "context": "create table table_12271718_1 (station varchar, network_affiliation varchar, PRIMARY KEY (station))", + "answer": "select station from table_12271718_1 where network_affiliation = \"univision\"" + }, + { + "question": "What are all the spectral types for star mismis24-# is 1sw?", + "context": "create table table_10432351_1 (spectral_type varchar, star__pismis24__number_ varchar, PRIMARY KEY (spectral_type))", + "answer": "select spectral_type from table_10432351_1 where star__pismis24__number_ = \"1sw\"" + }, + { + "question": "Please show the titles of films and the types of market estimations.", + "context": "create table film (title varchar, film_id varchar, PRIMARY KEY (title)); create table film_market_estimation (type varchar, film_id varchar, PRIMARY KEY (type))", + "answer": "select t1.title, t2.type from film as t1 join film_market_estimation as t2 on t1.film_id = t2.film_id" + }, + { + "question": "Find the total number of players.", + "context": "create table players (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from players" + }, + { + "question": "What is the vessel type for vessel operator Jumbo shipping?", + "context": "create table table_26168687_3 (vessel_type varchar, vessel_operator varchar, PRIMARY KEY (vessel_type))", + "answer": "select vessel_type from table_26168687_3 where vessel_operator = \"jumbo shipping\"" + }, + { + "question": "Which Country is the show aired on Fox?", + "context": "create table table_14523485_9 (country varchar, channel varchar, PRIMARY KEY (country))", + "answer": "select country from table_14523485_9 where channel = \"fox\"" + }, + { + "question": "If the lees team is Clare Balding and Miranda Hart, what is the first broadcast total number?", + "context": "create table table_23575917_7 (first_broadcast varchar, lees_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select count(first_broadcast) from table_23575917_7 where lees_team = \"clare balding and miranda hart\"" + }, + { + "question": "What was the name that had a starting price of 11/1 and a jockey named Garrett Cotter?", + "context": "create table table_20668268_1 (name varchar, starting_price varchar, jockey varchar, PRIMARY KEY (name))", + "answer": "select name from table_20668268_1 where starting_price = \"11/1\" and jockey = \"garrett cotter\"" + }, + { + "question": "How many films were in hindi?", + "context": "create table table_25926120_3 (name_of_film varchar, language varchar, PRIMARY KEY (name_of_film))", + "answer": "select count(name_of_film) from table_25926120_3 where language = \"hindi\"" + }, + { + "question": "How many episodes have been directed by David Duchovny?", + "context": "create table table_13336122_3 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_13336122_3 where directed_by = \"david duchovny\"" + }, + { + "question": "what is the racing club where copa libertadores 1997?", + "context": "create table table_14310205_1 (copa_libertadores_1997 varchar, team varchar, PRIMARY KEY (copa_libertadores_1997))", + "answer": "select copa_libertadores_1997 from table_14310205_1 where team = \"racing club\"" + }, + { + "question": "What is the crystal structure for the formula yba 2 cu 3 o 7?", + "context": "create table table_101336_1 (crystal_structure varchar, formula varchar, PRIMARY KEY (crystal_structure))", + "answer": "select crystal_structure from table_101336_1 where formula = \"yba 2 cu 3 o 7\"" + }, + { + "question": "What is every party A with a constituency of Tiruchendur?", + "context": "create table table_22753439_1 (party varchar, constituency varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22753439_1 where constituency = \"tiruchendur\"" + }, + { + "question": "What the title of the song when the result is to the live shows?", + "context": "create table table_29547777_1 (song_title varchar, result__placement_ varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_29547777_1 where result__placement_ = \"to the live shows\"" + }, + { + "question": "What is the type of institution in Kent State University?", + "context": "create table table_261946_3 (type varchar, location__all_in_ohio_ varchar, PRIMARY KEY (type))", + "answer": "select type from table_261946_3 where location__all_in_ohio_ = \"kent\"" + }, + { + "question": "What is the installation date for the Delta Chapter?", + "context": "create table table_21821014_1 (installation_date varchar, chapter varchar, PRIMARY KEY (installation_date))", + "answer": "select installation_date from table_21821014_1 where chapter = \"delta\"" + }, + { + "question": "What is the segment C of the episode where segment B is Film Digitization?", + "context": "create table table_15187735_19 (segment_c varchar, segment_b varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_19 where segment_b = \"film digitization\"" + }, + { + "question": "What team's manager was replaced by Ercan Ertem\u00e7\u00f6z?", + "context": "create table table_27091128_2 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_27091128_2 where replaced_by = \"ercan ertem\u00e7\u00f6z\"" + }, + { + "question": "Was the result of the supercheap auto bathurst 1000 reported?", + "context": "create table table_20884160_1 (report varchar, race_title varchar, PRIMARY KEY (report))", + "answer": "select report from table_20884160_1 where race_title = \"supercheap auto bathurst 1000\"" + }, + { + "question": "What is the colloquial translation of (s)he will sing?", + "context": "create table table_23710609_2 (romanian__colloquial_ varchar, english varchar, PRIMARY KEY (romanian__colloquial_))", + "answer": "select romanian__colloquial_ from table_23710609_2 where english = \"(s)he will sing\"" + }, + { + "question": "Name the womens singles for raina tzvetkova petya nedelcheva", + "context": "create table table_14903491_1 (womens_singles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_14903491_1 where womens_doubles = \"raina tzvetkova petya nedelcheva\"" + }, + { + "question": "When Richmond played as the away team, what was the ground?", + "context": "create table table_29126507_1 (ground varchar, away_team varchar, PRIMARY KEY (ground))", + "answer": "select ground from table_29126507_1 where away_team = \"richmond\"" + }, + { + "question": "Find the number of members living in each address.", + "context": "create table member (address varchar, PRIMARY KEY (address))", + "answer": "select count(*), address from member group by address" + }, + { + "question": "How many tv series had an adult rating of 1.2?", + "context": "create table table_19188562_2 (tv_season varchar, rating__adults_18_49_ varchar, PRIMARY KEY (tv_season))", + "answer": "select count(tv_season) from table_19188562_2 where rating__adults_18_49_ = \"1.2\"" + }, + { + "question": "Find the name of the department that has the fewest members.", + "context": "create table member_of (dno varchar, PRIMARY KEY (dno)); create table department (dname varchar, dno varchar, PRIMARY KEY (dname))", + "answer": "select t1.dname from department as t1 join member_of as t2 on t1.dno = t2.dno group by t2.dno order by count(*) limit 1" + }, + { + "question": "What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?", + "context": "create table accelerator_compatible_browser (browser_id varchar, accelerator_id varchar, compatible_since_year varchar, PRIMARY KEY (browser_id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id)); create table browser (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from browser as t1 join accelerator_compatible_browser as t2 on t1.id = t2.browser_id join web_client_accelerator as t3 on t2.accelerator_id = t3.id where t3.name = 'cproxy' and t2.compatible_since_year > 1998" + }, + { + "question": "How many items are listed under gdp per capita under the nation of Burkina Faso?", + "context": "create table table_2248991_2 (gdp_per_capita varchar, nation varchar, PRIMARY KEY (gdp_per_capita))", + "answer": "select count(gdp_per_capita) from table_2248991_2 where nation = \"burkina faso\"" + }, + { + "question": "How long is the orbital period for the planet that has a semimajor axis of 5.20 au?", + "context": "create table table_10932739_2 (orbital_period varchar, semimajor_axis___au__ varchar, PRIMARY KEY (orbital_period))", + "answer": "select orbital_period from table_10932739_2 where semimajor_axis___au__ = \"5.20\"" + }, + { + "question": "Find the first name of students who are living in the Smith Hall.", + "context": "create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))", + "answer": "select t1.fname from student as t1 join lives_in as t2 on t1.stuid = t2.stuid join dorm as t3 on t3.dormid = t2.dormid where t3.dorm_name = 'smith hall'" + }, + { + "question": "display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a \u2019T\u2019.", + "context": "create table employees (employee_id varchar, first_name varchar, last_name varchar, department_id varchar, PRIMARY KEY (employee_id))", + "answer": "select employee_id, first_name, last_name from employees where department_id in (select department_id from employees where first_name like '%t%')" + }, + { + "question": "What aorist has bude in present tense?", + "context": "create table table_27298240_26 (aorist varchar, present varchar, PRIMARY KEY (aorist))", + "answer": "select aorist from table_27298240_26 where present = \"bude\"" + }, + { + "question": "What playoff result happened during the season in which they finished 1st, southern?", + "context": "create table table_12002388_1 (playoffs varchar, reg_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_12002388_1 where reg_season = \"1st, southern\"" + }, + { + "question": "How many years was he car number 92?", + "context": "create table table_181892_4 (speed_rank varchar, car_number varchar, PRIMARY KEY (speed_rank))", + "answer": "select count(speed_rank) from table_181892_4 where car_number = 92" + }, + { + "question": "When 4.5 is the rating (18-49) what is the air date?", + "context": "create table table_28980706_4 (first_air_date varchar, rating__18_49_ varchar, PRIMARY KEY (first_air_date))", + "answer": "select first_air_date from table_28980706_4 where rating__18_49_ = \"4.5\"" + }, + { + "question": "What is the russian title of the ugly swans?", + "context": "create table table_207795_1 (russian_title varchar, english_title varchar, PRIMARY KEY (russian_title))", + "answer": "select russian_title from table_207795_1 where english_title = \"the ugly swans\"" + }, + { + "question": "What was Barreto's song choice when the theme was samba?", + "context": "create table table_27614571_1 (song_choice varchar, theme varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_27614571_1 where theme = \"samba\"" + }, + { + "question": "Find the name of each user and number of tweets tweeted by each of them.", + "context": "create table tweets (uid varchar, PRIMARY KEY (uid)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid" + }, + { + "question": "How many termini are there that have \"east west\" listed in their direction section, \"none\" listed in their junction section, and have a route name of \"sh 202\"?", + "context": "create table table_11336756_6 (termini varchar, route_name varchar, direction varchar, junctions varchar, PRIMARY KEY (termini))", + "answer": "select count(termini) from table_11336756_6 where direction = \"east west\" and junctions = \"none\" and route_name = \"sh 202\"" + }, + { + "question": "Silvio Santos is the presenter in what country?", + "context": "create table table_20780285_1 (country_region varchar, presenters varchar, PRIMARY KEY (country_region))", + "answer": "select country_region from table_20780285_1 where presenters = \"silvio santos\"" + }, + { + "question": "Show the apartment type codes and apartment numbers in the buildings managed by \"Kyle\".", + "context": "create table apartment_buildings (building_id varchar, building_manager varchar, PRIMARY KEY (building_id)); create table apartments (apt_type_code varchar, apt_number varchar, building_id varchar, PRIMARY KEY (apt_type_code))", + "answer": "select t2.apt_type_code, t2.apt_number from apartment_buildings as t1 join apartments as t2 on t1.building_id = t2.building_id where t1.building_manager = \"kyle\"" + }, + { + "question": "What was the reason for change to the successor that was seated on December 13, 1880?", + "context": "create table table_2417395_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2417395_4 where date_successor_seated = \"december 13, 1880\"" + }, + { + "question": "If the spectral type is g1v, what is the total distance amount?", + "context": "create table table_1820752_1 (distance___ly__ varchar, spectral_type varchar, PRIMARY KEY (distance___ly__))", + "answer": "select count(distance___ly__) from table_1820752_1 where spectral_type = \"g1v\"" + }, + { + "question": "What is the status of incumbent Charles Stenholm?", + "context": "create table table_1341568_44 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_1341568_44 where incumbent = \"charles stenholm\"" + }, + { + "question": "Who is the director of movie Avatar?", + "context": "create table movie (director varchar, title varchar, PRIMARY KEY (director))", + "answer": "select director from movie where title = 'avatar'" + }, + { + "question": "Leeds City Council is the local authority for what type of location?", + "context": "create table table_2273738_1 (type varchar, local_authority varchar, PRIMARY KEY (type))", + "answer": "select type from table_2273738_1 where local_authority = \"leeds city council\"" + }, + { + "question": "Name the ptor-austronesian for father", + "context": "create table table_15568886_14 (proto_austronesian varchar, kinship varchar, PRIMARY KEY (proto_austronesian))", + "answer": "select proto_austronesian from table_15568886_14 where kinship = \"father\"" + }, + { + "question": "what is the name of the episode whose premiere was in march 2, 1997?", + "context": "create table table_2226817_12 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_2226817_12 where original_air_date = \"march 2, 1997\"" + }, + { + "question": "How many caps figures are there for Norwich City, Coventry City?", + "context": "create table table_28286776_52 (cap_s_ varchar, club_s_ varchar, PRIMARY KEY (cap_s_))", + "answer": "select count(cap_s_) from table_28286776_52 where club_s_ = \"norwich city, coventry city\"" + }, + { + "question": "When 8.9% is the electricity reduction percentage what is the \u00a3 saved?", + "context": "create table table_29538735_1 (\u00a3_saved varchar, _percentage_electricity_reduction varchar, PRIMARY KEY (\u00a3_saved))", + "answer": "select \u00a3_saved from table_29538735_1 where _percentage_electricity_reduction = \"8.9%\"" + }, + { + "question": "How many provinces are named Wellington?", + "context": "create table table_275023_1 (formed_date varchar, province varchar, PRIMARY KEY (formed_date))", + "answer": "select count(formed_date) from table_275023_1 where province = \"wellington\"" + }, + { + "question": "Which team has a match played of 10 4?", + "context": "create table table_21824695_8 (team varchar, match_played varchar, PRIMARY KEY (team))", + "answer": "select team from table_21824695_8 where match_played = \"10 4\"" + }, + { + "question": "What is the Record at School of Tom O'Brien's team?", + "context": "create table table_28744929_2 (record_at_school varchar, head_coach varchar, PRIMARY KEY (record_at_school))", + "answer": "select record_at_school from table_28744929_2 where head_coach = \"tom o'brien\"" + }, + { + "question": "What are all sail numbers for the yacht Yendys?", + "context": "create table table_14882588_3 (sail_number varchar, yacht varchar, PRIMARY KEY (sail_number))", + "answer": "select sail_number from table_14882588_3 where yacht = \"yendys\"" + }, + { + "question": "What episode number is presented by Ben Okri ?", + "context": "create table table_15211468_3 (episode_no varchar, presenter varchar, PRIMARY KEY (episode_no))", + "answer": "select episode_no from table_15211468_3 where presenter = \"ben okri\"" + }, + { + "question": "How many million viewers watched the episode with a run time of 25:22?", + "context": "create table table_2108684_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_2108684_1 where run_time = \"25:22\"" + }, + { + "question": "List the types of competition that have at most five competitions of that type.", + "context": "create table competition (competition_type varchar, PRIMARY KEY (competition_type))", + "answer": "select competition_type from competition group by competition_type having count(*) <= 5" + }, + { + "question": "How many opponents were there with the record of 3-2-2?", + "context": "create table table_23308178_4 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_23308178_4 where record = \"3-2-2\"" + }, + { + "question": "What user had a max demand charge of 1,100 and a unit/time range of h-2: off-peak (22:30-05:30)?", + "context": "create table table_25479607_3 (user varchar, max_demand_charge___rs__kva_ varchar, unit__kwh__time_range varchar, PRIMARY KEY (user))", + "answer": "select user from table_25479607_3 where max_demand_charge___rs__kva_ = \"1,100\" and unit__kwh__time_range = \"h-2: off-peak (22:30-05:30)\"" + }, + { + "question": "for the ben williams name what was the previous club", + "context": "create table table_27998152_1 (previous_club varchar, name varchar, PRIMARY KEY (previous_club))", + "answer": "select previous_club from table_27998152_1 where name = \"ben williams\"" + }, + { + "question": "What is every prefix class for the equivalent of NTE101?", + "context": "create table table_30011_2 (prefix_class varchar, equivalent varchar, PRIMARY KEY (prefix_class))", + "answer": "select prefix_class from table_30011_2 where equivalent = \"nte101\"" + }, + { + "question": "Return the apartment numbers of the apartments with type code \"Flat\".", + "context": "create table apartments (apt_number varchar, apt_type_code varchar, PRIMARY KEY (apt_number))", + "answer": "select apt_number from apartments where apt_type_code = \"flat\"" + }, + { + "question": "What was the smallist population in 2010?", + "context": "create table table_261951_1 (population__2010_ integer, PRIMARY KEY (population__2010_))", + "answer": "select min(population__2010_) from table_261951_1" + }, + { + "question": "Who wrote the episode where the original air date is july20,2007?", + "context": "create table table_25716399_1 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_25716399_1 where original_air_date = \"july20,2007\"" + }, + { + "question": "What is the total number of patient portayers for the episode directed by Craig Zisk and written by Brad Falchuk?", + "context": "create table table_26561508_1 (patient_portrayer varchar, directed_by varchar, written_by varchar, PRIMARY KEY (patient_portrayer))", + "answer": "select count(patient_portrayer) from table_26561508_1 where directed_by = \"craig zisk\" and written_by = \"brad falchuk\"" + }, + { + "question": "Which institution's nickname is the Polar Bears?", + "context": "create table table_261931_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261931_2 where nickname = \"polar bears\"" + }, + { + "question": "Focal plane in ft (m) is 43ft (13.1m) is the first date lit.", + "context": "create table table_25597136_1 (date_first_lit varchar, focal_plane_in_ft__m_ varchar, PRIMARY KEY (date_first_lit))", + "answer": "select date_first_lit from table_25597136_1 where focal_plane_in_ft__m_ = \"43ft (13.1m)\"" + }, + { + "question": "how many records had result/games: 10 games (29,606 avg.)", + "context": "create table table_21436373_12 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select count(type_of_record) from table_21436373_12 where result_games = \"10 games (29,606 avg.)\"" + }, + { + "question": "In the year (ceremony) 2009 (82nd), who are all the directors?", + "context": "create table table_26385848_1 (director varchar, year__ceremony_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_26385848_1 where year__ceremony_ = \"2009 (82nd)\"" + }, + { + "question": "What is the number of runner-up results for the years (won in bold) 1984, 2010?", + "context": "create table table_1463332_2 (_number_runner_up integer, years__won_in_bold_ varchar, PRIMARY KEY (_number_runner_up))", + "answer": "select max(_number_runner_up) from table_1463332_2 where years__won_in_bold_ = \"1984, 2010\"" + }, + { + "question": "What won the Best Female Artist if Best Lyrical Record won the Best Male Artist?", + "context": "create table table_22546460_4 (best_female_artist varchar, best_male_artist varchar, PRIMARY KEY (best_female_artist))", + "answer": "select best_female_artist from table_22546460_4 where best_male_artist = \"best lyrical record\"" + }, + { + "question": "When don inglis and ralph smart are the writers how many episode numbers are there?", + "context": "create table table_25046766_1 (episode_no varchar, written_by varchar, PRIMARY KEY (episode_no))", + "answer": "select count(episode_no) from table_25046766_1 where written_by = \"don inglis and ralph smart\"" + }, + { + "question": "how many\u00a0chroma format\u00a0with\u00a0name\u00a0being high profile", + "context": "create table table_1376890_2 (chroma_format varchar, name varchar, PRIMARY KEY (chroma_format))", + "answer": "select count(chroma_format) from table_1376890_2 where name = \"high profile\"" + }, + { + "question": "How many candidates won the election of john n. sandlin?", + "context": "create table table_1342426_18 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342426_18 where incumbent = \"john n. sandlin\"" + }, + { + "question": "How many characteristics does the product named \"laurel\" have?", + "context": "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))", + "answer": "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 = \"laurel\"" + }, + { + "question": "What was the original air date of the episode written by amanda segel?", + "context": "create table table_25923164_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25923164_1 where written_by = \"amanda segel\"" + }, + { + "question": "What are the ids and names of the medicine that can interact with two or more enzymes?", + "context": "create table medicine_enzyme_interaction (medicine_id varchar, PRIMARY KEY (medicine_id)); create table medicine (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t1.name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id group by t1.id having count(*) >= 2" + }, + { + "question": "what is the aggregate score for the europa league play off round contest and round", + "context": "create table table_29261823_10 (aggregate_score varchar, contest_and_round varchar, PRIMARY KEY (aggregate_score))", + "answer": "select aggregate_score from table_29261823_10 where contest_and_round = \"europa league play off round\"" + }, + { + "question": "what nationality is the player who played from 1997-98", + "context": "create table table_10015132_7 (nationality varchar, years_in_toronto varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_10015132_7 where years_in_toronto = \"1997-98\"" + }, + { + "question": "What is Friday 4 June if Wednesday 2 June is 20' 11.98 112.071mph?", + "context": "create table table_25220821_3 (fri_4_june varchar, wed_2_june varchar, PRIMARY KEY (fri_4_june))", + "answer": "select fri_4_june from table_25220821_3 where wed_2_june = \"20' 11.98 112.071mph\"" + }, + { + "question": "What is the genus & species of the animal whose accession number is XP_002439156.1?", + "context": "create table table_26957063_3 (genus_ varchar, _species varchar, ncbi_accession_number varchar, PRIMARY KEY (genus_))", + "answer": "select genus_ & _species from table_26957063_3 where ncbi_accession_number = \"xp_002439156.1\"" + }, + { + "question": "What is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?", + "context": "create table table_240936_2 (region_1__can_ varchar, region_1__us_ varchar, PRIMARY KEY (region_1__can_))", + "answer": "select region_1__can_ from table_240936_2 where region_1__us_ = \"january 16, 2007\"" + }, + { + "question": "How many acting statuses are there?", + "context": "create table management (temporary_acting varchar, PRIMARY KEY (temporary_acting))", + "answer": "select count(distinct temporary_acting) from management" + }, + { + "question": "Name the broadcast date for 7.4 viewers", + "context": "create table table_2102782_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2102782_1 where viewers__in_millions_ = \"7.4\"" + }, + { + "question": "Who had the high rebound total against golden state?", + "context": "create table table_13464416_4 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13464416_4 where team = \"golden state\"" + }, + { + "question": "Find the name of the youngest organization.", + "context": "create table organizations (organization_name varchar, date_formed varchar, PRIMARY KEY (organization_name))", + "answer": "select organization_name from organizations order by date_formed desc limit 1" + }, + { + "question": "What is the record if the location is Clarke Stadium?", + "context": "create table table_23916539_3 (record varchar, location varchar, PRIMARY KEY (record))", + "answer": "select record from table_23916539_3 where location = \"clarke stadium\"" + }, + { + "question": "Which company was based in London, United Kingdom?", + "context": "create table table_15438337_1 (institution varchar, country varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_15438337_1 where country = \"london, united kingdom\"" + }, + { + "question": "What are the cities/towns located in the municipality of Horten?", + "context": "create table table_157826_1 (city_town varchar, municipality varchar, PRIMARY KEY (city_town))", + "answer": "select city_town from table_157826_1 where municipality = \"horten\"" + }, + { + "question": "Name the broadcast day and timings for tv saitama", + "context": "create table table_21076286_2 (broadcast_day_and_timings__in_jst__ varchar, broadcast_network varchar, PRIMARY KEY (broadcast_day_and_timings__in_jst__))", + "answer": "select broadcast_day_and_timings__in_jst__ from table_21076286_2 where broadcast_network = \"tv saitama\"" + }, + { + "question": "who write the episode that have 14.39 million viewers", + "context": "create table table_19417244_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_19417244_2 where us_viewers__millions_ = \"14.39\"" + }, + { + "question": "When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?", + "context": "create table accelerator_compatible_browser (compatible_since_year varchar, browser_id varchar, accelerator_id varchar, PRIMARY KEY (compatible_since_year)); create table browser (id varchar, name varchar, PRIMARY KEY (id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t1.compatible_since_year from accelerator_compatible_browser as t1 join browser as t2 on t1.browser_id = t2.id join web_client_accelerator as t3 on t1.accelerator_id = t3.id where t3.name = 'cachebox' and t2.name = 'internet explorer'" + }, + { + "question": "How long in miles (km) was the race that lasted 3:07:53?", + "context": "create table table_2266976_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_2266976_1 where race_time = \"3:07:53\"" + }, + { + "question": "What is the premiere number for the episode titled \"The Mysteries of Love\" in English?", + "context": "create table table_24856090_1 (premiere integer, english_title varchar, PRIMARY KEY (premiere))", + "answer": "select max(premiere) from table_24856090_1 where english_title = \"the mysteries of love\"" + }, + { + "question": "Who was at the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy?", + "context": "create table table_19908651_3 (pole_position varchar, winning_driver varchar, race_name varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_19908651_3 where winning_driver = \"paul tracy\" and race_name = \"itt automotive grand prix of detroit\"" + }, + { + "question": "How many premises are there?", + "context": "create table premises (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from premises" + }, + { + "question": "Name the name for when overs bowled is 31.2", + "context": "create table table_15700367_2 (name varchar, overs_bowled varchar, PRIMARY KEY (name))", + "answer": "select name from table_15700367_2 where overs_bowled = \"31.2\"" + }, + { + "question": "Which artist had a release title of HH?", + "context": "create table table_27932399_1 (artist varchar, release_title varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_27932399_1 where release_title = \"hh\"" + }, + { + "question": "How many parties is the incumbent Bob Brady a member of?", + "context": "create table table_1341423_38 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341423_38 where incumbent = \"bob brady\"" + }, + { + "question": "If the team is Billy Ballew Motorsports, what is the race time?", + "context": "create table table_2260452_1 (race_time varchar, team varchar, PRIMARY KEY (race_time))", + "answer": "select race_time from table_2260452_1 where team = \"billy ballew motorsports\"" + }, + { + "question": "Name the electoraate for united future being 4.47%", + "context": "create table table_20217811_1 (electorate varchar, united_future varchar, PRIMARY KEY (electorate))", + "answer": "select electorate from table_20217811_1 where united_future = \"4.47%\"" + }, + { + "question": "When olympikus is the main sponsor who is the secondary sponsor?", + "context": "create table table_187239_1 (secondary_sponsor varchar, main_sponsor varchar, PRIMARY KEY (secondary_sponsor))", + "answer": "select secondary_sponsor from table_187239_1 where main_sponsor = \"olympikus\"" + }, + { + "question": "How many viewers, in millions, were for the episode directed by Tawnia McKiernan?", + "context": "create table table_12159115_3 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_12159115_3 where directed_by = \"tawnia mckiernan\"" + }, + { + "question": "When the production (mt) is 446424, what is the value world rank ?", + "context": "create table table_21109892_1 (value_world_rank varchar, production__mt_ varchar, PRIMARY KEY (value_world_rank))", + "answer": "select value_world_rank from table_21109892_1 where production__mt_ = 446424" + }, + { + "question": "Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?", + "context": "create table table_11900773_6 (first_day_cover_cancellation varchar, date_of_issue varchar, theme varchar, PRIMARY KEY (first_day_cover_cancellation))", + "answer": "select first_day_cover_cancellation from table_11900773_6 where date_of_issue = \"3 april 2008\" and theme = \"iihf world championships, quebec city\"" + }, + { + "question": "Name the total number of african record", + "context": "create table table_23619492_3 (paula_radcliffe___gbr__ varchar, world_record varchar, PRIMARY KEY (paula_radcliffe___gbr__))", + "answer": "select count(paula_radcliffe___gbr__) from table_23619492_3 where world_record = \"african record\"" + }, + { + "question": "When did the country that produced 1,213,000 (21st) bbl/day join Opec?", + "context": "create table table_166346_1 (joined_opec varchar, production___bbl__day_ varchar, PRIMARY KEY (joined_opec))", + "answer": "select joined_opec from table_166346_1 where production___bbl__day_ = \"1,213,000 (21st)\"" + }, + { + "question": "Name the currency for negotiable debt being 1300", + "context": "create table table_2764267_2 (currency varchar, negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ varchar, PRIMARY KEY (currency))", + "answer": "select currency from table_2764267_2 where negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ = 1300" + }, + { + "question": "Name the total number of peletier for shortscale comparison billion", + "context": "create table table_260938_1 (peletier varchar, shortscale_comparison varchar, PRIMARY KEY (peletier))", + "answer": "select count(peletier) from table_260938_1 where shortscale_comparison = \"billion\"" + }, + { + "question": "What team plays at Palmerston Park?", + "context": "create table table_11207040_5 (team varchar, stadium varchar, PRIMARY KEY (team))", + "answer": "select team from table_11207040_5 where stadium = \"palmerston park\"" + }, + { + "question": "For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date.", + "context": "create table grants (grant_start_date varchar, grant_id varchar, PRIMARY KEY (grant_start_date)); create table document_types (document_type_code varchar, document_description varchar, PRIMARY KEY (document_type_code)); create table documents (grant_id varchar, document_type_code varchar, PRIMARY KEY (grant_id))", + "answer": "select t1.grant_start_date from grants as t1 join documents as t2 on t1.grant_id = t2.grant_id join document_types as t3 on t2.document_type_code = t3.document_type_code where t3.document_description = 'regular' intersect select t1.grant_start_date from grants as t1 join documents as t2 on t1.grant_id = t2.grant_id join document_types as t3 on t2.document_type_code = t3.document_type_code where t3.document_description = 'initial application'" + }, + { + "question": "Which venue does Mardan sponsor?", + "context": "create table table_17356873_1 (venue varchar, shirt_sponsor varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_17356873_1 where shirt_sponsor = \"mardan\"" + }, + { + "question": "what's the\u00a0turbo\u00a0where\u00a0trim\u00a0is 2.0 20v", + "context": "create table table_11167610_1 (turbo varchar, trim varchar, PRIMARY KEY (turbo))", + "answer": "select turbo from table_11167610_1 where trim = \"2.0 20v\"" + }, + { + "question": "What is the Tuesday 1 June total number if Monday 31 May is 20' 15.35 111.761mph?", + "context": "create table table_25220821_3 (tues_1_june varchar, mon_31_may varchar, PRIMARY KEY (tues_1_june))", + "answer": "select count(tues_1_june) from table_25220821_3 where mon_31_may = \"20' 15.35 111.761mph\"" + }, + { + "question": "For team ascoli please mention all the appointment date.", + "context": "create table table_27114708_2 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27114708_2 where team = \"ascoli\"" + }, + { + "question": "List the torque possible when the stroke is 88.4mm?", + "context": "create table table_21021796_1 (torque varchar, stroke varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_21021796_1 where stroke = \"88.4mm\"" + }, + { + "question": "List the first and last name of all players in the order of birth date.", + "context": "create table players (first_name varchar, last_name varchar, birth_date varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from players order by birth_date" + }, + { + "question": "How many students got accepted after the tryout?", + "context": "create table tryout (decision varchar, PRIMARY KEY (decision))", + "answer": "select count(*) from tryout where decision = 'yes'" + }, + { + "question": "How many deductions have 56.5 as tosses/pyramids?", + "context": "create table table_22014431_3 (deductions varchar, tosses_pyramids varchar, PRIMARY KEY (deductions))", + "answer": "select deductions from table_22014431_3 where tosses_pyramids = \"56.5\"" + }, + { + "question": "What was the score in the final played with Fred McNair as partner?", + "context": "create table table_2820584_3 (score_in_the_final varchar, partner varchar, PRIMARY KEY (score_in_the_final))", + "answer": "select score_in_the_final from table_2820584_3 where partner = \"fred mcnair\"" + }, + { + "question": "Name the date successor seated for failure to elect", + "context": "create table table_225094_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_225094_4 where reason_for_change = \"failure to elect\"" + }, + { + "question": "what is the party when candidates is jim demint (r) 80%?", + "context": "create table table_1341423_40 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341423_40 where candidates = \"jim demint (r) 80%\"" + }, + { + "question": "what are all the state/nation where the race number is 36", + "context": "create table table_25594271_1 (state_country varchar, race_number varchar, PRIMARY KEY (state_country))", + "answer": "select state_country from table_25594271_1 where race_number = \"36\"" + }, + { + "question": "Which team had a manager replaced by Ebrahim Talebi?", + "context": "create table table_22297140_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_22297140_3 where replaced_by = \"ebrahim talebi\"" + }, + { + "question": "Who directed the episode with 3.19 million u.s. viewers?", + "context": "create table table_12722302_2 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_12722302_2 where us_viewers__million_ = \"3.19\"" + }, + { + "question": "How many provinces have a density of 165.81?", + "context": "create table table_254234_1 (iso_ varchar, density\u00b2 varchar, PRIMARY KEY (iso_))", + "answer": "select count(iso_) as \u2116 from table_254234_1 where density\u00b2 = \"165.81\"" + }, + { + "question": "Who is the champion if the national trophy/rookie is not held?", + "context": "create table table_25563779_4 (champion varchar, national_trophy_rookie varchar, PRIMARY KEY (champion))", + "answer": "select champion from table_25563779_4 where national_trophy_rookie = \"not held\"" + }, + { + "question": "What are the producers of \u78ca\u78ca\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89 ?", + "context": "create table table_18943444_1 (producer varchar, product varchar, PRIMARY KEY (producer))", + "answer": "select producer from table_18943444_1 where product = \"\u78ca\u78ca\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89\"" + }, + { + "question": "How many townships are there in the region with 376 village groups?", + "context": "create table table_19457_1 (town_ships integer, village_groups varchar, PRIMARY KEY (town_ships))", + "answer": "select max(town_ships) from table_19457_1 where village_groups = 376" + }, + { + "question": "Can one access the Faroe Islands using a Croatian identity card?", + "context": "create table table_25965003_3 (access_using_a_croatian_identity_card varchar, countries_and_territories varchar, PRIMARY KEY (access_using_a_croatian_identity_card))", + "answer": "select access_using_a_croatian_identity_card from table_25965003_3 where countries_and_territories = \"faroe islands\"" + }, + { + "question": "what's the\u00a0attribute\u00a0with\u00a0cancelable\u00a0being yes", + "context": "create table table_1507852_5 (attribute varchar, cancelable varchar, PRIMARY KEY (attribute))", + "answer": "select attribute from table_1507852_5 where cancelable = \"yes\"" + }, + { + "question": "error (see notes)", + "context": "create table table_25760427_2 (weeks_at_number_1 integer, PRIMARY KEY (weeks_at_number_1))", + "answer": "select min(weeks_at_number_1) from table_25760427_2" + }, + { + "question": "How many teams are listed for 3rd wickets?", + "context": "create table table_1670921_1 (batting_team varchar, wicket varchar, PRIMARY KEY (batting_team))", + "answer": "select count(batting_team) from table_1670921_1 where wicket = \"3rd\"" + }, + { + "question": "Where is the headquarter of the company founded by James?", + "context": "create table manufacturers (headquarter varchar, founder varchar, PRIMARY KEY (headquarter))", + "answer": "select headquarter from manufacturers where founder = 'james'" + }, + { + "question": "What is the founding date if the letters are \u03ba\u03c8\u03ba?", + "context": "create table table_2538117_7 (founding_date varchar, letters varchar, PRIMARY KEY (founding_date))", + "answer": "select founding_date from table_2538117_7 where letters = \"\u03ba\u03c8\u03ba\"" + }, + { + "question": "What were the starts when the points dropped 18?", + "context": "create table table_24937583_1 (races__starts_ varchar, points__dropped_points_ varchar, PRIMARY KEY (races__starts_))", + "answer": "select races__starts_ from table_24937583_1 where points__dropped_points_ = \"18\"" + }, + { + "question": "What is the enrollment ratio in tertiary in the region where the enrollment ration in secondary is 71.43?", + "context": "create table table_25042332_22 (tertiary__18_24_years_ varchar, secondary__14_17_years_ varchar, PRIMARY KEY (tertiary__18_24_years_))", + "answer": "select tertiary__18_24_years_ from table_25042332_22 where secondary__14_17_years_ = \"71.43\"" + }, + { + "question": "How many times is last/current driver(s) 3 november 2013 is adderly fong ( 2013 )?", + "context": "create table table_27279050_3 (country varchar, last_current_driver_s__3_november_2013 varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_27279050_3 where last_current_driver_s__3_november_2013 = \"adderly fong ( 2013 )\"" + }, + { + "question": "What are flight numbers of flights arriving at Airport \"APG\"?", + "context": "create table flights (flightno varchar, destairport varchar, PRIMARY KEY (flightno))", + "answer": "select flightno from flights where destairport = \"apg\"" + }, + { + "question": "If the school is Rend Lake College, what is the team name?", + "context": "create table table_22319599_1 (team_name varchar, school varchar, PRIMARY KEY (team_name))", + "answer": "select team_name from table_22319599_1 where school = \"rend lake college\"" + }, + { + "question": "Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?", + "context": "create table table_29033869_3 (venue varchar, opponent varchar, position_on_ladder varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_29033869_3 where opponent = \"essendon\" and position_on_ladder = \"3rd\"" + }, + { + "question": "Give me all the information about hiring.", + "context": "create table hiring (id varchar, PRIMARY KEY (id))", + "answer": "select * from hiring" + }, + { + "question": "For each payment method, return how many customers use it.", + "context": "create table customers (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code, count(*) from customers group by payment_method_code" + }, + { + "question": "Find the program which most number of students are enrolled in. List both the id and the summary.", + "context": "create table degree_programs (degree_program_id varchar, degree_summary_name varchar, PRIMARY KEY (degree_program_id)); create table student_enrolment (degree_program_id varchar, PRIMARY KEY (degree_program_id))", + "answer": "select t1.degree_program_id, t1.degree_summary_name from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id group by t1.degree_program_id order by count(*) desc limit 1" + }, + { + "question": "When +18.1 is the \u00b1 yes side 2008 percentage what is the percentage of against?", + "context": "create table table_20683381_3 (against___percentage_ varchar, \u00b1_yes_side_2008___percentage_ varchar, PRIMARY KEY (against___percentage_))", + "answer": "select against___percentage_ from table_20683381_3 where \u00b1_yes_side_2008___percentage_ = \"+18.1\"" + }, + { + "question": "What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?", + "context": "create table table_1618358_1 (stamp_duty_reserve_tax varchar, over_total_tax_revenue__in__percentage_ varchar, PRIMARY KEY (stamp_duty_reserve_tax))", + "answer": "select stamp_duty_reserve_tax from table_1618358_1 where over_total_tax_revenue__in__percentage_ = \"0.79\"" + }, + { + "question": "how many times is the fleet series (quantity) is 468-473 (6)?", + "context": "create table table_10007452_3 (order_year varchar, fleet_series__quantity_ varchar, PRIMARY KEY (order_year))", + "answer": "select count(order_year) from table_10007452_3 where fleet_series__quantity_ = \"468-473 (6)\"" + }, + { + "question": "Name the number of apps for total g is 8", + "context": "create table table_19018191_5 (l_apps varchar, total_g varchar, PRIMARY KEY (l_apps))", + "answer": "select count(l_apps) from table_19018191_5 where total_g = 8" + }, + { + "question": "How may college/junior/club team has a the nhl team listed as Colorado Avalanche?", + "context": "create table table_2886617_5 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_2886617_5 where nhl_team = \"colorado avalanche\"" + }, + { + "question": "Show the number of customer cards.", + "context": "create table customers_cards (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from customers_cards" + }, + { + "question": "When did the airplane with tail number RA-85282 crash?", + "context": "create table table_229917_2 (date__ddmmyyyy_ varchar, tail_number varchar, PRIMARY KEY (date__ddmmyyyy_))", + "answer": "select date__ddmmyyyy_ from table_229917_2 where tail_number = \"ra-85282\"" + }, + { + "question": "What is 2006 when 1997 is 6.8?", + "context": "create table table_27146868_1 (id varchar, PRIMARY KEY (id))", + "answer": "select 2006 from table_27146868_1 where 1997 = \"6.8\"" + }, + { + "question": "What is the semifinal average where the preliminary average is 9.084 (1) ?", + "context": "create table table_16268026_3 (semifinal_average varchar, preliminary_average varchar, PRIMARY KEY (semifinal_average))", + "answer": "select semifinal_average from table_16268026_3 where preliminary_average = \"9.084 (1)\"" + }, + { + "question": "who is the\u00a0opponent\u00a0where\u00a0tv\u00a0is abc and\u00a0game site\u00a0is tampa stadium", + "context": "create table table_11406866_2 (opponent varchar, tv varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_11406866_2 where tv = \"abc\" and game_site = \"tampa stadium\"" + }, + { + "question": "Name the international tourist arrivals for arrivals 2011 for 8.1 million", + "context": "create table table_14752049_3 (international_tourist_arrivals__2010_ varchar, international_tourist_arrivals__2011_ varchar, PRIMARY KEY (international_tourist_arrivals__2010_))", + "answer": "select international_tourist_arrivals__2010_ from table_14752049_3 where international_tourist_arrivals__2011_ = \"8.1 million\"" + }, + { + "question": "What was the date of Henk Hordijk's death?", + "context": "create table table_11585313_2 (date_of_death\u2020 varchar, name varchar, PRIMARY KEY (date_of_death\u2020))", + "answer": "select date_of_death\u2020 from table_11585313_2 where name = \"henk hordijk\"" + }, + { + "question": "what is the cpu for the calculator with 28 kb of ram and display size 128\u00d764 pixels 21\u00d78 characters?", + "context": "create table table_11703336_1 (cpu varchar, ram varchar, display_size varchar, PRIMARY KEY (cpu))", + "answer": "select cpu from table_11703336_1 where ram = \"28 kb of ram\" and display_size = \"128\u00d764 pixels 21\u00d78 characters\"" + }, + { + "question": "who is the manufacturer for the order year 1998?", + "context": "create table table_10007452_3 (manufacturer varchar, order_year varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_10007452_3 where order_year = \"1998\"" + }, + { + "question": "Who narrated when the vessel operator is de beers?", + "context": "create table table_26168687_3 (narrated_by varchar, vessel_operator varchar, PRIMARY KEY (narrated_by))", + "answer": "select narrated_by from table_26168687_3 where vessel_operator = \"de beers\"" + }, + { + "question": "If the average start is 11.8, what was the team name?", + "context": "create table table_2190919_3 (team_s_ varchar, avg_start varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2190919_3 where avg_start = \"11.8\"" + }, + { + "question": "Who was the director for the episode on May 2, 1959?", + "context": "create table table_25800134_3 (director varchar, airdate varchar, PRIMARY KEY (director))", + "answer": "select director from table_25800134_3 where airdate = \"may 2, 1959\"" + }, + { + "question": "When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?", + "context": "create table table_1889619_5 (country_territory varchar, story_no varchar, missing_episodes_with_recovered_footage varchar, PRIMARY KEY (country_territory))", + "answer": "select country_territory from table_1889619_5 where story_no = \"032\" and missing_episodes_with_recovered_footage = \"episode 4\"" + }, + { + "question": "What type is the school located in Macon, Georgia?", + "context": "create table table_1973842_1 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select type from table_1973842_1 where location = \"macon, georgia\"" + }, + { + "question": "What college team did the pick for Pittsburgh Penguins come from?", + "context": "create table table_2781227_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2781227_7 where nhl_team = \"pittsburgh penguins\"" + }, + { + "question": "How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes?", + "context": "create table table_2401326_1 (bush_number varchar, bush_percentage varchar, PRIMARY KEY (bush_number))", + "answer": "select count(bush_number) from table_2401326_1 where bush_percentage = \"69.7%\"" + }, + { + "question": "Name the womens doubles when mixed doubles is potten ruth scott", + "context": "create table table_14903881_1 (womens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_14903881_1 where mixed_doubles = \"potten ruth scott\"" + }, + { + "question": "Who was the high rebounder against charlotte?", + "context": "create table table_13619135_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13619135_7 where team = \"charlotte\"" + }, + { + "question": "What is the birthday of the staff member with first name as Janessa and last name as Sawayn?", + "context": "create table staff (date_of_birth varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_of_birth))", + "answer": "select date_of_birth from staff where first_name = \"janessa\" and last_name = \"sawayn\"" + }, + { + "question": "what is the name of award when the name of film is sana keithel?", + "context": "create table table_25926120_7 (name_of_award varchar, name_of_film varchar, PRIMARY KEY (name_of_award))", + "answer": "select name_of_award from table_25926120_7 where name_of_film = \"sana keithel\"" + }, + { + "question": "What was Katie's order number when the theme was The Rolling Stones?", + "context": "create table table_26250189_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250189_1 where theme = \"the rolling stones\"" + }, + { + "question": "How many news stations opened on the date of June 24, 2000?", + "context": "create table table_1817879_2 (_number_of_new_stations varchar, date_opened varchar, PRIMARY KEY (_number_of_new_stations))", + "answer": "select _number_of_new_stations from table_1817879_2 where date_opened = \"june 24, 2000\"" + }, + { + "question": "What was the order # or Erma Franklin?", + "context": "create table table_26250151_1 (order__number varchar, original_recording_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250151_1 where original_recording_artist = \"erma franklin\"" + }, + { + "question": "What is the party affiliation for senator mark Wagoner?", + "context": "create table table_26129220_2 (party varchar, senator varchar, PRIMARY KEY (party))", + "answer": "select party from table_26129220_2 where senator = \"mark wagoner\"" + }, + { + "question": "What year was Fayette operational at 46?", + "context": "create table table_26387382_1 (year_operational integer, location__county_ varchar, capacity__mw_ varchar, PRIMARY KEY (year_operational))", + "answer": "select min(year_operational) from table_26387382_1 where location__county_ = \"fayette\" and capacity__mw_ = \"46\"" + }, + { + "question": "How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%?", + "context": "create table table_1342149_42 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342149_42 where candidates = \"howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%\"" + }, + { + "question": "The Roman value of t is associated with what allophone?", + "context": "create table t (id varchar, PRIMARY KEY (id))", + "answer": "select sound__allophone_ from \"t\" as able_name_50 where roman = \"t\"" + }, + { + "question": "Show all distinct lot details.", + "context": "create table lots (lot_details varchar, PRIMARY KEY (lot_details))", + "answer": "select distinct lot_details from lots" + }, + { + "question": "How many leading scorers were there in the game against Utah?", + "context": "create table table_13557843_5 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_13557843_5 where team = \"utah\"" + }, + { + "question": "Name the away team score for richmond", + "context": "create table table_14312471_3 (away_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team as score from table_14312471_3 where away_team = \"richmond\"" + }, + { + "question": "What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14?", + "context": "create table table_25042332_22 (primary__6_13_years_ varchar, preschool__0_5_years_ varchar, PRIMARY KEY (primary__6_13_years_))", + "answer": "select primary__6_13_years_ from table_25042332_22 where preschool__0_5_years_ = \"38.14\"" + }, + { + "question": "What was the status of the series that was run by tv channel Mediacorp tv12 Suria?", + "context": "create table table_27469019_2 (status varchar, television_channel varchar, PRIMARY KEY (status))", + "answer": "select status from table_27469019_2 where television_channel = \"mediacorp tv12 suria\"" + }, + { + "question": "How many of Asian release statuses does Uno HD have?", + "context": "create table table_28621502_1 (asia varchar, title varchar, PRIMARY KEY (asia))", + "answer": "select count(asia) from table_28621502_1 where title = \"uno hd\"" + }, + { + "question": "What are the ids and names of the web accelerators that are compatible with two or more browsers?", + "context": "create table accelerator_compatible_browser (accelerator_id varchar, PRIMARY KEY (accelerator_id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t1.name from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id group by t1.id having count(*) >= 2" + }, + { + "question": "Name the number of conference tournament for james madison", + "context": "create table table_22849575_6 (conference varchar, tournament_winner varchar, PRIMARY KEY (conference))", + "answer": "select count(conference) as tournament from table_22849575_6 where tournament_winner = \"james madison\"" + }, + { + "question": "How many winning drivers are there when the winning team is Bryan herta autosport?", + "context": "create table table_19850806_3 (winning_driver varchar, winning_team varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_19850806_3 where winning_team = \"bryan herta autosport\"" + }, + { + "question": "Who ran unsuccessfully against Bill Hefner?", + "context": "create table table_1341522_36 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_1341522_36 where incumbent = \"bill hefner\"" + }, + { + "question": "What is the total number of brunos vote when willie and erin are eliminated?", + "context": "create table table_12305325_4 (brunos_vote varchar, eliminated varchar, PRIMARY KEY (brunos_vote))", + "answer": "select count(brunos_vote) from table_12305325_4 where eliminated = \"willie and erin\"" + }, + { + "question": "When Cincinnati is the tournament winner how many regular season winners are there?", + "context": "create table table_24160890_3 (regular_season_winner varchar, tournament_winner varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select count(regular_season_winner) from table_24160890_3 where tournament_winner = \"cincinnati\"" + }, + { + "question": "how many times is the week # is audition?", + "context": "create table table_27075510_1 (original_artist varchar, week__number varchar, PRIMARY KEY (original_artist))", + "answer": "select count(original_artist) from table_27075510_1 where week__number = \"audition\"" + }, + { + "question": "What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%?", + "context": "create table table_1939405_2 (_percentage_2001 varchar, _percentage_2011 varchar, province varchar, PRIMARY KEY (_percentage_2001))", + "answer": "select _percentage_2001 from table_1939405_2 where _percentage_2011 = \"0.8%\" and province = \"manitoba\"" + }, + { + "question": "What is the weight of the bullet used in a Remington?", + "context": "create table table_16010376_1 (bullet_weight varchar, source varchar, PRIMARY KEY (bullet_weight))", + "answer": "select bullet_weight from table_16010376_1 where source = \"remington\"" + }, + { + "question": "What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph?", + "context": "create table table_30058355_2 (thurs_25_aug varchar, wed_24_aug varchar, PRIMARY KEY (thurs_25_aug))", + "answer": "select thurs_25_aug from table_30058355_2 where wed_24_aug = \"19' 59.73 113.216mph\"" + }, + { + "question": "Name the number of population density 2010 for duque de caxias", + "context": "create table table_14986292_1 (population_density_2010___km\u00b2_ varchar, administrative_division varchar, PRIMARY KEY (population_density_2010___km\u00b2_))", + "answer": "select count(population_density_2010___km\u00b2_) from table_14986292_1 where administrative_division = \"duque de caxias\"" + }, + { + "question": "What is the nickname that means god holds my life?", + "context": "create table table_11908801_1 (nickname varchar, meaning varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_11908801_1 where meaning = \"god holds my life\"" + }, + { + "question": "What are the id of songs whose format is mp3.", + "context": "create table files (f_id varchar, formats varchar, PRIMARY KEY (f_id))", + "answer": "select f_id from files where formats = \"mp3\"" + }, + { + "question": "Name the name for plymouth albion orrell", + "context": "create table table_22977424_8 (name varchar, promoted_to_league varchar, PRIMARY KEY (name))", + "answer": "select name from table_22977424_8 where promoted_to_league = \"plymouth albion orrell\"" + }, + { + "question": "Who took third-place when there were 4 total wins?", + "context": "create table table_17632217_2 (third_place varchar, total_wins varchar, PRIMARY KEY (third_place))", + "answer": "select third_place from table_17632217_2 where total_wins = 4" + }, + { + "question": "Who were the candidates in the district won by the incumbent Del Latta?", + "context": "create table table_1341690_35 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341690_35 where incumbent = \"del latta\"" + }, + { + "question": "What is the cmi cross reference id that is related to at least one council tax entry? List the cross reference id and source system code.", + "context": "create table council_tax (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id)); create table cmi_cross_references (cmi_cross_ref_id varchar, source_system_code varchar, PRIMARY KEY (cmi_cross_ref_id))", + "answer": "select t1.cmi_cross_ref_id, t1.source_system_code from cmi_cross_references as t1 join council_tax as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id group by t1.cmi_cross_ref_id having count(*) >= 1" + }, + { + "question": "Name the imperative for \u0917\u0930\u093f\u0938\u094d garis 'you did'", + "context": "create table table_16337329_5 (imperative varchar, past_habitual varchar, PRIMARY KEY (imperative))", + "answer": "select imperative from table_16337329_5 where past_habitual = \"\u0917\u0930\u093f\u0938\u094d garis 'you did'\"" + }, + { + "question": "what is the nme of the song performed by billy vaughn?", + "context": "create table table_13804825_2 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_13804825_2 where artist = \"billy vaughn\"" + }, + { + "question": "On what date was it announced that an asset was acquired for US$9 Million?", + "context": "create table table_1373542_1 (date_announced varchar, reported_cost varchar, PRIMARY KEY (date_announced))", + "answer": "select date_announced from table_1373542_1 where reported_cost = \"us$9 million\"" + }, + { + "question": "How many players did the most high points in the game with 39-22 record?", + "context": "create table table_23286223_8 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_23286223_8 where record = \"39-22\"" + }, + { + "question": "Name the total number of represents for clary sermina delgado cid", + "context": "create table table_26301697_2 (represents varchar, contestant varchar, PRIMARY KEY (represents))", + "answer": "select count(represents) from table_26301697_2 where contestant = \"clary sermina delgado cid\"" + }, + { + "question": "List the names of states that have more than 2 parks.", + "context": "create table park (state varchar, PRIMARY KEY (state))", + "answer": "select state from park group by state having count(*) > 2" + }, + { + "question": "what is the mascot of st. paul's school?", + "context": "create table table_2439728_1 (mascot varchar, school varchar, PRIMARY KEY (mascot))", + "answer": "select mascot from table_2439728_1 where school = \"st. paul's school\"" + }, + { + "question": "Who are all hosts when men's singles is Ma Wenge?", + "context": "create table table_28211988_1 (host varchar, mens_singles varchar, PRIMARY KEY (host))", + "answer": "select host from table_28211988_1 where mens_singles = \"ma wenge\"" + }, + { + "question": "Find the female friends of Alice.", + "context": "create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, gender varchar, PRIMARY KEY (name))", + "answer": "select t2.friend from person as t1 join personfriend as t2 on t1.name = t2.friend where t2.name = 'alice' and t1.gender = 'female'" + }, + { + "question": "WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?", + "context": "create table table_11677691_2 (school varchar, college varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677691_2 where college = \"south carolina\"" + }, + { + "question": "Name the population 1891 for area being 175836", + "context": "create table table_14925084_1 (population_1891 varchar, area_1891__statute_acres_ varchar, PRIMARY KEY (population_1891))", + "answer": "select count(population_1891) from table_14925084_1 where area_1891__statute_acres_ = 175836" + }, + { + "question": "Who directed an episode that had 2.81 million U.S. viewers?", + "context": "create table table_11111116_7 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11111116_7 where us_viewers__million_ = \"2.81\"" + }, + { + "question": "Find the number of students in each major.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select count(*), major from student group by major" + }, + { + "question": "List all home teams when Western Kentucky was the visiting team.", + "context": "create table table_26842217_6 (home_team varchar, visiting_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26842217_6 where visiting_team = \"western kentucky\"" + }, + { + "question": "Name the week number for andrew lloyd webber", + "context": "create table table_15796054_3 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_15796054_3 where theme = \"andrew lloyd webber\"" + }, + { + "question": "Name the constructor for alberto ascari", + "context": "create table table_21977704_1 (constructor varchar, driver varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_21977704_1 where driver = \"alberto ascari\"" + }, + { + "question": "Find all the songs produced by artists with first name \"Marianne\".", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table band (id varchar, firstname varchar, PRIMARY KEY (id))", + "answer": "select t3.title from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t2.firstname = \"marianne\"" + }, + { + "question": "When did the episode with the Ririe family air for the first time?", + "context": "create table table_19897294_10 (original_air_date varchar, family_families varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_19897294_10 where family_families = \"the ririe family\"" + }, + { + "question": "Which examples ask the existential question \"Can I Love?\"", + "context": "create table table_1058787_1 (examples varchar, existential_question_ varchar, _not_in_citation_given_ varchar, PRIMARY KEY (examples))", + "answer": "select examples from table_1058787_1 where existential_question_[_not_in_citation_given_] = \"can i love?\"" + }, + { + "question": "How many international tourists visited Russia in 2012?", + "context": "create table table_29789_1 (international_tourist_arrivals__2012_ varchar, country varchar, PRIMARY KEY (international_tourist_arrivals__2012_))", + "answer": "select international_tourist_arrivals__2012_ from table_29789_1 where country = \"russia\"" + }, + { + "question": "What are all the approved treatments for the target CD30?", + "context": "create table table_1661124_1 (approved_treatment_s_ varchar, target varchar, PRIMARY KEY (approved_treatment_s_))", + "answer": "select approved_treatment_s_ from table_1661124_1 where target = \"cd30\"" + }, + { + "question": "When the cmd.exe / command.com is type, what are all associated values for powershell (cmdlet)?", + "context": "create table table_14465871_1 (powershell__cmdlet_ varchar, cmdexe___commandcom varchar, PRIMARY KEY (powershell__cmdlet_))", + "answer": "select powershell__cmdlet_ from table_14465871_1 where cmdexe___commandcom = \"type\"" + }, + { + "question": "Name the least 10,000+ places for louisville", + "context": "create table table_22916979_5 (_places varchar, principal_city varchar, PRIMARY KEY (_places))", + "answer": "select min(10), 000 + _places from table_22916979_5 where principal_city = \"louisville\"" + }, + { + "question": "What is the digital terrestria channel number for itv3?", + "context": "create table table_182410_10 (digital_terrestrial_channel varchar, channel varchar, PRIMARY KEY (digital_terrestrial_channel))", + "answer": "select digital_terrestrial_channel from table_182410_10 where channel = \"itv3\"" + }, + { + "question": "What is the title of the episode that aired on december 12, 1953?", + "context": "create table table_15824796_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_15824796_3 where original_air_date = \"december 12, 1953\"" + }, + { + "question": "Find the products which have problems reported by both Lacey Bosco and Kenton Champlin?", + "context": "create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id)); create table problems (product_id varchar, reported_by_staff_id varchar, PRIMARY KEY (product_id))", + "answer": "select t2.product_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t3.staff_first_name = \"lacey\" and t3.staff_last_name = \"bosco\" intersect select t2.product_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t3.staff_first_name = \"kenton\" and t3.staff_last_name = \"champlin\"" + }, + { + "question": "Who did the Raptors play against when their record was 13-48?", + "context": "create table table_13619053_8 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_13619053_8 where record = \"13-48\"" + }, + { + "question": "Name the team for ricky rudd", + "context": "create table table_2150776_1 (team varchar, driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_2150776_1 where driver = \"ricky rudd\"" + }, + { + "question": "Who was the leading actress in a film with Warren Beatty as the leading actor and also at the 40th Oscars?", + "context": "create table table_24225238_1 (leading_actress varchar, leading_actor varchar, oscars varchar, PRIMARY KEY (leading_actress))", + "answer": "select leading_actress from table_24225238_1 where leading_actor = \"warren beatty\" and oscars = \"40th\"" + }, + { + "question": "Who are the mens singles and womens singles with sun yu?", + "context": "create table table_13553701_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_13553701_1 where womens_singles = \"sun yu\"" + }, + { + "question": "Who were the candidates in the election where Saxby Chambliss was the incumbent?", + "context": "create table table_1341453_12 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341453_12 where incumbent = \"saxby chambliss\"" + }, + { + "question": "Name the 1st stage for parameter being diameter", + "context": "create table table_16537783_2 (parameter varchar, PRIMARY KEY (parameter))", + "answer": "select 1 as st_stage from table_16537783_2 where parameter = \"diameter\"" + }, + { + "question": "What is the fate for 11 april 1944?", + "context": "create table table_1220125_4 (fate varchar, commissioned varchar, PRIMARY KEY (fate))", + "answer": "select fate from table_1220125_4 where commissioned = \"11 april 1944\"" + }, + { + "question": "What is the number of first class team with birthday of 5 december 1970?", + "context": "create table table_11950720_4 (first_class_team varchar, date_of_birth varchar, PRIMARY KEY (first_class_team))", + "answer": "select count(first_class_team) from table_11950720_4 where date_of_birth = \"5 december 1970\"" + }, + { + "question": "Find the number of complaints with Product Failure type for each complaint status.", + "context": "create table complaints (complaint_status_code varchar, complaint_type_code varchar, PRIMARY KEY (complaint_status_code))", + "answer": "select complaint_status_code, count(*) from complaints where complaint_type_code = \"product failure\" group by complaint_status_code" + }, + { + "question": "What are the notes during 57 bc caesar?", + "context": "create table table_242785_3 (notes varchar, date_founded__founder varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_242785_3 where date_founded__founder = \"57 bc caesar\"" + }, + { + "question": "Show the team that have at least two technicians.", + "context": "create table technician (team varchar, PRIMARY KEY (team))", + "answer": "select team from technician group by team having count(*) >= 2" + }, + { + "question": "How many different isolation numbers does the Jack Mountain peak have?", + "context": "create table table_19716903_1 (isolation varchar, mountain_peak varchar, PRIMARY KEY (isolation))", + "answer": "select count(isolation) from table_19716903_1 where mountain_peak = \"jack mountain\"" + }, + { + "question": "What's the language in the school teaching grades 4-12?", + "context": "create table table_1930857_1 (language varchar, grades varchar, PRIMARY KEY (language))", + "answer": "select language from table_1930857_1 where grades = \"4-12\"" + }, + { + "question": "Show different nominees and the number of musicals they have been nominated.", + "context": "create table musical (nominee varchar, PRIMARY KEY (nominee))", + "answer": "select nominee, count(*) from musical group by nominee" + }, + { + "question": "Who created the illustration for the stamp that was themed 100 years of scouting?", + "context": "create table table_11900773_5 (illustration varchar, theme varchar, PRIMARY KEY (illustration))", + "answer": "select illustration from table_11900773_5 where theme = \"100 years of scouting\"" + }, + { + "question": "What are the name and description for location code x?", + "context": "create table ref_locations (location_name varchar, location_description varchar, location_code varchar, PRIMARY KEY (location_name))", + "answer": "select location_name, location_description from ref_locations where location_code = \"x\"" + }, + { + "question": "who is the auther when the transliteration is lasha-giorgis droindeli matiane?", + "context": "create table table_22464685_1 (author varchar, transliteration varchar, PRIMARY KEY (author))", + "answer": "select author from table_22464685_1 where transliteration = \"lasha-giorgis droindeli matiane\"" + }, + { + "question": "What is the hangul symbol for the hanja \u826f\u5dde?", + "context": "create table table_160510_1 (hangul varchar, hanja varchar, PRIMARY KEY (hangul))", + "answer": "select hangul from table_160510_1 where hanja = \"\u826f\u5dde\"" + }, + { + "question": "Name the scott for chloropsis hardwickii", + "context": "create table table_2006661_1 (scott varchar, species varchar, PRIMARY KEY (scott))", + "answer": "select scott from table_2006661_1 where species = \"chloropsis hardwickii\"" + }, + { + "question": "What is the maximum number of tropical storms in the year that had exactly 34 deaths?", + "context": "create table table_2930244_4 (number_of_tropical_storms integer, deaths varchar, PRIMARY KEY (number_of_tropical_storms))", + "answer": "select max(number_of_tropical_storms) from table_2930244_4 where deaths = \"34\"" + }, + { + "question": "List the name of artworks that are not nominated.", + "context": "create table nomination (name varchar, artwork_id varchar, PRIMARY KEY (name)); create table artwork (name varchar, artwork_id varchar, PRIMARY KEY (name))", + "answer": "select name from artwork where not artwork_id in (select artwork_id from nomination)" + }, + { + "question": "what are all the\u00a0type\u00a0where\u00a0station number\u00a0is c08", + "context": "create table table_11934032_1 (type varchar, station_number varchar, PRIMARY KEY (type))", + "answer": "select type from table_11934032_1 where station_number = \"c08\"" + }, + { + "question": "what's the\u00a0country\u00a0with\u00a0highest monthly inflation rate\u00a0being 3.13 \u00d7 10 8 %", + "context": "create table table_13681_2 (country varchar, highest_monthly_inflation_rate varchar, PRIMARY KEY (country))", + "answer": "select country from table_13681_2 where highest_monthly_inflation_rate = \"3.13 \u00d7 10 8 %\"" + }, + { + "question": "What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?", + "context": "create table table_18821196_1 (tv_network_s_ varchar, weekly_schedule varchar, PRIMARY KEY (tv_network_s_))", + "answer": "select tv_network_s_ from table_18821196_1 where weekly_schedule = \"monday to thursday @ 11:00 pm\"" + }, + { + "question": "How many directors were there for the film with the original title of The Moises Padilla Story?", + "context": "create table table_17919342_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_17919342_1 where original_title = \"the moises padilla story\"" + }, + { + "question": "What is the address of the location \"UK Gallery\"?", + "context": "create table locations (address varchar, location_name varchar, PRIMARY KEY (address))", + "answer": "select address from locations where location_name = \"uk gallery\"" + }, + { + "question": "Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series?", + "context": "create table table_27753492_2 (womens_doubles varchar, mixed_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_27753492_2 where mixed_doubles = \"zhang nan zhao yunlei\" and tour = \"all england super series\"" + }, + { + "question": "The original air date of 29November2007 has what total no.?", + "context": "create table table_11642945_1 (total_no varchar, original_air_date varchar, PRIMARY KEY (total_no))", + "answer": "select total_no from table_11642945_1 where original_air_date = \"29november2007\"" + }, + { + "question": "When was the episode with Amy Williams as Andrew and Jack's guest broadcast?", + "context": "create table table_29141354_7 (first_broadcast varchar, andrew_and_jacks_guest varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_29141354_7 where andrew_and_jacks_guest = \"amy williams\"" + }, + { + "question": "Name results for herb wetanson", + "context": "create table table_27561503_2 (results varchar, gt_20_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_27561503_2 where gt_20_winning_team = \"herb wetanson\"" + }, + { + "question": "What is the height of the school club team members in clemson?", + "context": "create table table_11734041_7 (height_in_ft varchar, school_club_team_country varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_7 where school_club_team_country = \"clemson\"" + }, + { + "question": "What is the minimum number of bypass ports listed?", + "context": "create table table_16731248_1 (bypass_ports integer, PRIMARY KEY (bypass_ports))", + "answer": "select min(bypass_ports) from table_16731248_1" + }, + { + "question": "What is the color of the planet venus?", + "context": "create table table_180802_3 (color varchar, planet varchar, PRIMARY KEY (color))", + "answer": "select color from table_180802_3 where planet = \"venus\"" + }, + { + "question": "Show the industries shared by companies whose headquarters are \"USA\" and companies whose headquarters are \"China\".", + "context": "create table companies (industry varchar, headquarters varchar, PRIMARY KEY (industry))", + "answer": "select industry from companies where headquarters = \"usa\" intersect select industry from companies where headquarters = \"china\"" + }, + { + "question": "When marshmallow cookies is segment b what episode is it on netflix?", + "context": "create table table_15187735_5 (netflix varchar, segment_b varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_5 where segment_b = \"marshmallow cookies\"" + }, + { + "question": "When was the dvd release directed by Billy O'Brien?", + "context": "create table table_19982699_1 (dvd_release varchar, director varchar, PRIMARY KEY (dvd_release))", + "answer": "select dvd_release from table_19982699_1 where director = \"billy o'brien\"" + }, + { + "question": "Whats the processor for p9xxx?", + "context": "create table table_24100843_1 (processor varchar, model__list_ varchar, PRIMARY KEY (processor))", + "answer": "select processor from table_24100843_1 where model__list_ = \"p9xxx\"" + }, + { + "question": "What is the name of the baseball stadium for the school with the Murray Center basketball arena?", + "context": "create table table_1974545_3 (baseball_stadium varchar, basketball_arena varchar, PRIMARY KEY (baseball_stadium))", + "answer": "select baseball_stadium from table_1974545_3 where basketball_arena = \"the murray center\"" + }, + { + "question": "What is the largest population count in any of the census divisions in 2006?", + "context": "create table table_2134521_1 (pop__2006_ integer, PRIMARY KEY (pop__2006_))", + "answer": "select max(pop__2006_) from table_2134521_1" + }, + { + "question": "What is the largest number of tds scored for a player?", + "context": "create table table_18064020_21 (td integer, PRIMARY KEY (td))", + "answer": "select max(td) from table_18064020_21" + }, + { + "question": "What is the adjusted GDP when the population is 5.141 million?", + "context": "create table table_1610496_3 (gdp_adjusted__$_billions_ varchar, population__millions_ varchar, PRIMARY KEY (gdp_adjusted__$_billions_))", + "answer": "select gdp_adjusted__$_billions_ from table_1610496_3 where population__millions_ = \"5.141\"" + }, + { + "question": "When real holmesdale reserves is division four who is in division one?", + "context": "create table table_24575253_4 (division_one varchar, division_four varchar, PRIMARY KEY (division_one))", + "answer": "select division_one from table_24575253_4 where division_four = \"real holmesdale reserves\"" + }, + { + "question": "How many original dance scores are listed in the event where the compulsory dance was 20.03?", + "context": "create table table_22644589_4 (original_dance__od_ varchar, compulsory_dance__cd_ varchar, PRIMARY KEY (original_dance__od_))", + "answer": "select count(original_dance__od_) from table_22644589_4 where compulsory_dance__cd_ = \"20.03\"" + }, + { + "question": "Find the name of the teacher who teaches the largest number of students.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (firstname varchar, lastname varchar, classroom varchar, PRIMARY KEY (firstname))", + "answer": "select t2.firstname, t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom group by t2.firstname, t2.lastname order by count(*) desc limit 1" + }, + { + "question": "What is the catalog number named callanetics: 10 years younger in 10 hours", + "context": "create table table_11222744_3 (catalog_number varchar, title varchar, PRIMARY KEY (catalog_number))", + "answer": "select catalog_number from table_11222744_3 where title = \"callanetics: 10 years younger in 10 hours\"" + }, + { + "question": "What was the high points when rebounds were Terrence Williams (8)?", + "context": "create table table_22879323_10 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_22879323_10 where high_rebounds = \"terrence williams (8)\"" + }, + { + "question": "How many month names are there for the tenth numbered month?", + "context": "create table table_28985631_1 (month_name varchar, numbered_month varchar, PRIMARY KEY (month_name))", + "answer": "select count(month_name) from table_28985631_1 where numbered_month = \"tenth\"" + }, + { + "question": "Who has high points when 50-26 is the record?", + "context": "create table table_23284271_10 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23284271_10 where record = \"50-26\"" + }, + { + "question": "Name the release date xbox 360 for sea wolf", + "context": "create table table_26631526_1 (release_date___xbox360__ varchar, artist varchar, PRIMARY KEY (release_date___xbox360__))", + "answer": "select release_date___xbox360__ from table_26631526_1 where artist = \"sea wolf\"" + }, + { + "question": "What are the name and typical buying and selling prices of the products that have color described as \"yellow\"?", + "context": "create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_name varchar, typical_buying_price varchar, typical_selling_price varchar, color_code varchar, PRIMARY KEY (product_name))", + "answer": "select t1.product_name, t1.typical_buying_price, t1.typical_selling_price from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t2.color_description = \"yellow\"" + }, + { + "question": "What are the songs in album \"A Kiss Before You Go: Live in Hamburg\"?", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table albums (aid varchar, title varchar, PRIMARY KEY (aid)); create table tracklists (albumid varchar, songid varchar, PRIMARY KEY (albumid))", + "answer": "select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.title = \"a kiss before you go: live in hamburg\"" + }, + { + "question": "When 23% scott mcadams (d) what are the dates administered?", + "context": "create table table_20597634_3 (dates_administered varchar, scott_mcadams__d_ varchar, PRIMARY KEY (dates_administered))", + "answer": "select dates_administered from table_20597634_3 where scott_mcadams__d_ = \"23%\"" + }, + { + "question": "Name the term ends for bethlehem", + "context": "create table table_1979619_3 (term_ends varchar, residence varchar, PRIMARY KEY (term_ends))", + "answer": "select count(term_ends) from table_1979619_3 where residence = \"bethlehem\"" + }, + { + "question": "What is the title of the film that has the highest high market estimation.", + "context": "create table film_market_estimation (film_id varchar, PRIMARY KEY (film_id)); create table film (film_id varchar, PRIMARY KEY (film_id))", + "answer": "select t1.title from film as t1 join film_market_estimation as t2 on t1.film_id = t2.film_id order by high_estimate desc limit 1" + }, + { + "question": "What opponent got 44 points in their game?", + "context": "create table table_23243769_4 (opponent varchar, opp_points varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_23243769_4 where opp_points = 44" + }, + { + "question": "What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing?", + "context": "create table table_27758427_2 (results varchar, lmpc_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_27758427_2 where lmpc_winning_team = \"#89 intersport racing\"" + }, + { + "question": "Which players scored the most points when the opposing team was Seattle and how many points did they score?", + "context": "create table table_13619135_5 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13619135_5 where team = \"seattle\"" + }, + { + "question": "Where the fastest lap is Mike Rockenfeller, who is the winning driver?", + "context": "create table table_26267607_2 (winning_driver varchar, fastest_lap varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_26267607_2 where fastest_lap = \"mike rockenfeller\"" + }, + { + "question": "What numbered episode was directed by greg colton and written by patrick meighan?", + "context": "create table table_28210383_1 (no__episode__number_ varchar, directed_by varchar, written_by varchar, PRIMARY KEY (no__episode__number_))", + "answer": "select no__episode__number_ from table_28210383_1 where directed_by = \"greg colton\" and written_by = \"patrick meighan\"" + }, + { + "question": "Name the gdp where gdp per capita 20200", + "context": "create table table_1307842_7 (gdp__billion_us$_ varchar, gdp_per_capita__us$_ varchar, PRIMARY KEY (gdp__billion_us$_))", + "answer": "select gdp__billion_us$_ from table_1307842_7 where gdp_per_capita__us$_ = 20200" + }, + { + "question": "How many different types of rooms are there?", + "context": "create table room (roomtype varchar, PRIMARY KEY (roomtype))", + "answer": "select count(distinct roomtype) from room" + }, + { + "question": "Name the poll winner for march 19, 2008", + "context": "create table table_15781170_2 (poll_winner varchar, original_air_date varchar, PRIMARY KEY (poll_winner))", + "answer": "select count(poll_winner) from table_15781170_2 where original_air_date = \"march 19, 2008\"" + }, + { + "question": "What is the comissioned for 4 may 1943?", + "context": "create table table_1220125_4 (commissioned varchar, laid_down varchar, PRIMARY KEY (commissioned))", + "answer": "select commissioned from table_1220125_4 where laid_down = \"4 may 1943\"" + }, + { + "question": "If the polling average in July 2009 was 7.2%, what was it in May 2009?", + "context": "create table table_23680576_2 (may_2009 varchar, jul_2009 varchar, PRIMARY KEY (may_2009))", + "answer": "select may_2009 from table_23680576_2 where jul_2009 = \"7.2%\"" + }, + { + "question": "in which year was available the rubber as kickdrum pad", + "context": "create table table_2889300_6 (years_available varchar, kickdrum_pad varchar, PRIMARY KEY (years_available))", + "answer": "select years_available from table_2889300_6 where kickdrum_pad = \"rubber\"" + }, + { + "question": "What is the date of vacancy for the person that left because of end of caretaker contract?", + "context": "create table table_22133191_3 (date_of_vacancy varchar, manner_of_departure varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_22133191_3 where manner_of_departure = \"end of caretaker contract\"" + }, + { + "question": "Name the numbers of the nba draft where the player went to kentucky", + "context": "create table table_11677760_31 (nba_draft varchar, college varchar, PRIMARY KEY (nba_draft))", + "answer": "select nba_draft from table_11677760_31 where college = \"kentucky\"" + }, + { + "question": "What's the minimal number of population served?", + "context": "create table table_18268930_1 (population_served integer, PRIMARY KEY (population_served))", + "answer": "select min(population_served) from table_18268930_1" + }, + { + "question": "Which school was in Toronto in 2001-02?", + "context": "create table table_10015132_14 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_14 where years_in_toronto = \"2001-02\"" + }, + { + "question": "Name the gene name for accession number bx897700.1", + "context": "create table table_27155678_2 (gene_name varchar, accession_number varchar, PRIMARY KEY (gene_name))", + "answer": "select gene_name from table_27155678_2 where accession_number = \"bx897700.1\"" + }, + { + "question": "What is every value for %yes when type is ref?", + "context": "create table table_256286_43 (_percentage_yes varchar, type varchar, PRIMARY KEY (_percentage_yes))", + "answer": "select _percentage_yes from table_256286_43 where type = \"ref\"" + }, + { + "question": "what's the\u00a0time required for prices to double\u00a0with\u00a0highest monthly inflation rate\u00a0being 29,500%", + "context": "create table table_13681_2 (time_required_for_prices_to_double varchar, highest_monthly_inflation_rate varchar, PRIMARY KEY (time_required_for_prices_to_double))", + "answer": "select time_required_for_prices_to_double from table_13681_2 where highest_monthly_inflation_rate = \"29,500%\"" + }, + { + "question": "What is the name of the stadium which held the most events?", + "context": "create table stadium (name varchar, id varchar, PRIMARY KEY (name)); create table event (stadium_id varchar, PRIMARY KEY (stadium_id))", + "answer": "select t1.name from stadium as t1 join event as t2 on t1.id = t2.stadium_id group by t2.stadium_id order by count(*) desc limit 1" + }, + { + "question": "What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?", + "context": "create table problems (problem_id varchar, reported_by_staff_id varchar, PRIMARY KEY (problem_id)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id)); create table problems (reported_by_staff_id varchar, PRIMARY KEY (reported_by_staff_id)); create table staff (staff_id varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.problem_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where date_problem_reported < (select min(date_problem_reported) from problems as t3 join staff as t4 on t3.reported_by_staff_id = t4.staff_id where t4.staff_first_name = \"lysanne\" and t4.staff_last_name = \"turcotte\")" + }, + { + "question": "In what year was the last last title received, by any of the countries?", + "context": "create table table_10682862_68 (last_title integer, PRIMARY KEY (last_title))", + "answer": "select max(last_title) from table_10682862_68" + }, + { + "question": "What were the television air dates for the series that had a production start date of June 16?", + "context": "create table table_1949994_8 (premiere_air_dates varchar, start_date varchar, PRIMARY KEY (premiere_air_dates))", + "answer": "select premiere_air_dates from table_1949994_8 where start_date = \"june 16\"" + }, + { + "question": "What are the title and issues of the books?", + "context": "create table book (title varchar, issues varchar, PRIMARY KEY (title))", + "answer": "select title, issues from book" + }, + { + "question": "Who directed Dulcinea?", + "context": "create table table_10798928_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_10798928_1 where original_title = \"dulcinea\"" + }, + { + "question": "What programs were held at highland speedway?", + "context": "create table table_16275828_4 (program varchar, track_name varchar, PRIMARY KEY (program))", + "answer": "select program from table_16275828_4 where track_name = \"highland speedway\"" + }, + { + "question": "How many dogs have not gone through any treatment?", + "context": "create table dogs (dog_id varchar, PRIMARY KEY (dog_id)); create table treatments (dog_id varchar, PRIMARY KEY (dog_id))", + "answer": "select count(*) from dogs where not dog_id in (select dog_id from treatments)" + }, + { + "question": "What is the LMS number of the trains built by G&SWR Kilmarnock?", + "context": "create table table_15412381_5 (lms_nos varchar, builder varchar, PRIMARY KEY (lms_nos))", + "answer": "select lms_nos from table_15412381_5 where builder = \"g&swr kilmarnock\"" + }, + { + "question": "How many locations have been used for ballparks named Memorial Stadium?", + "context": "create table table_1987995_5 (location varchar, ballpark varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_1987995_5 where ballpark = \"memorial stadium\"" + }, + { + "question": "What is the sector is the establishment is 110313?", + "context": "create table table_23802822_1 (sector varchar, establishments varchar, PRIMARY KEY (sector))", + "answer": "select sector from table_23802822_1 where establishments = 110313" + }, + { + "question": "what's the\u00a0regionalliga west/s\u00fcdwest\u00a0with\u00a0regionalliga s\u00fcd\u00a0being stuttgarter kickers", + "context": "create table table_14242137_11 (regionalliga_west_s\u00fcdwest varchar, regionalliga_s\u00fcd varchar, PRIMARY KEY (regionalliga_west_s\u00fcdwest))", + "answer": "select regionalliga_west_s\u00fcdwest from table_14242137_11 where regionalliga_s\u00fcd = \"stuttgarter kickers\"" + }, + { + "question": "What's the part 4 for the verb whose part 3 is borgen?", + "context": "create table table_1745843_7 (part_4 varchar, part_3 varchar, PRIMARY KEY (part_4))", + "answer": "select part_4 from table_1745843_7 where part_3 = \"borgen\"" + }, + { + "question": "During what period were parliament 11th?", + "context": "create table table_1889233_2 (period_in_office varchar, parliament varchar, PRIMARY KEY (period_in_office))", + "answer": "select period_in_office from table_1889233_2 where parliament = \"11th\"" + }, + { + "question": "who was the voice actor when the species is hedgehog?", + "context": "create table table_26615633_1 (voice_actor varchar, species varchar, PRIMARY KEY (voice_actor))", + "answer": "select voice_actor from table_26615633_1 where species = \"hedgehog\"" + }, + { + "question": "What episode premier received 0.680 million viewers?", + "context": "create table table_23392257_4 (original_airdate varchar, viewers__millions_ varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_23392257_4 where viewers__millions_ = \"0.680\"" + }, + { + "question": "On what game sites are there where the team record is 0\u20135?", + "context": "create table table_25380472_2 (game_site varchar, team_record varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_25380472_2 where team_record = \"0\u20135\"" + }, + { + "question": "Which driver won the race xiv el\u00e4intarhanajot?", + "context": "create table table_1140116_5 (winning_driver varchar, race_name varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140116_5 where race_name = \"xiv el\u00e4intarhanajot\"" + }, + { + "question": "What is the manner of departure for the date of appointment 24 may 2010?", + "context": "create table table_26998135_2 (manner_of_departure varchar, date_of_appointment varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_26998135_2 where date_of_appointment = \"24 may 2010\"" + }, + { + "question": "When is the original airing on channel 4 with being alive as the title?", + "context": "create table table_22170495_6 (original_airing_on_channel_4 varchar, title varchar, PRIMARY KEY (original_airing_on_channel_4))", + "answer": "select original_airing_on_channel_4 from table_22170495_6 where title = \"being alive\"" + }, + { + "question": "What date did the episode that was directed by Christian i. nyby ii originally air on?", + "context": "create table table_29583441_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_29583441_1 where directed_by = \"christian i. nyby ii\"" + }, + { + "question": "Find all the papers published by the institution \"Google\".", + "context": "create table inst (instid varchar, name varchar, PRIMARY KEY (instid)); create table authorship (paperid varchar, instid varchar, PRIMARY KEY (paperid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title))", + "answer": "select distinct t1.title from papers as t1 join authorship as t2 on t1.paperid = t2.paperid join inst as t3 on t2.instid = t3.instid where t3.name = \"google\"" + }, + { + "question": "How many allergies are there?", + "context": "create table allergy_type (allergy varchar, PRIMARY KEY (allergy))", + "answer": "select count(distinct allergy) from allergy_type" + }, + { + "question": "Find the login name of the course author that teaches the course with name \"advanced database\".", + "context": "create table courses (author_id varchar, course_name varchar, PRIMARY KEY (author_id)); create table course_authors_and_tutors (login_name varchar, author_id varchar, PRIMARY KEY (login_name))", + "answer": "select t1.login_name from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id where t2.course_name = \"advanced database\"" + }, + { + "question": "What are the home team scores when fremantle is the away team?", + "context": "create table table_16388506_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388506_1 where away_team = \"fremantle\"" + }, + { + "question": "what's the\u00a0date where ships name is zeeland entered service", + "context": "create table table_11662133_3 (date_entered_service varchar, ships_name varchar, PRIMARY KEY (date_entered_service))", + "answer": "select date_entered_service from table_11662133_3 where ships_name = \"zeeland\"" + }, + { + "question": "How many times was the catalog number cal04 / 0091037553546?", + "context": "create table table_27303975_3 (title varchar, catalog_number varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_27303975_3 where catalog_number = \"cal04 / 0091037553546\"" + }, + { + "question": "What was the resultado when E.E.U.U was the country?", + "context": "create table table_27501971_2 (resultado varchar, country varchar, PRIMARY KEY (resultado))", + "answer": "select resultado from table_27501971_2 where country = \"e.e.u.u\"" + }, + { + "question": "Which station has a license in Fort Collins, Colorado?", + "context": "create table table_1353096_2 (station varchar, city_of_license_market varchar, PRIMARY KEY (station))", + "answer": "select station from table_1353096_2 where city_of_license_market = \"fort collins, colorado\"" + }, + { + "question": "When was the first asset acquired?", + "context": "create table assets (asset_acquired_date varchar, PRIMARY KEY (asset_acquired_date))", + "answer": "select asset_acquired_date from assets order by asset_acquired_date limit 1" + }, + { + "question": "The head coach, steve radoslavic, is related to which websites?", + "context": "create table table_11365528_2 (website varchar, head_coach varchar, PRIMARY KEY (website))", + "answer": "select website from table_11365528_2 where head_coach = \"steve radoslavic\"" + }, + { + "question": "what is the original air date of the episode directed by Ben Jones and written by Steven Melching?", + "context": "create table table_20360535_4 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_20360535_4 where directed_by = \"ben jones\" and written_by = \"steven melching\"" + }, + { + "question": "What name was used for nomination for the film with an original title of \"The Black Tulip\"?", + "context": "create table table_17155250_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_17155250_1 where original_title = \"the black tulip\"" + }, + { + "question": "What is the population in millions when the adjusted GDP is 492 billion?", + "context": "create table table_1610496_3 (population__millions_ varchar, gdp_adjusted__$_billions_ varchar, PRIMARY KEY (population__millions_))", + "answer": "select population__millions_ from table_1610496_3 where gdp_adjusted__$_billions_ = \"492\"" + }, + { + "question": "Name the kickoff for rheinstadion", + "context": "create table table_27690037_2 (kickoff varchar, game_site varchar, PRIMARY KEY (kickoff))", + "answer": "select kickoff from table_27690037_2 where game_site = \"rheinstadion\"" + }, + { + "question": "Show the different headquarters and number of companies at each headquarter.", + "context": "create table company (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters, count(*) from company group by headquarters" + }, + { + "question": "Show the id and builder of the railway that are associated with the most trains.", + "context": "create table train (railway_id varchar, PRIMARY KEY (railway_id)); create table railway (builder varchar, railway_id varchar, PRIMARY KEY (builder))", + "answer": "select t2.railway_id, t1.builder from railway as t1 join train as t2 on t1.railway_id = t2.railway_id group by t2.railway_id order by count(*) desc limit 1" + }, + { + "question": "What is the final weight for contestant Chris?", + "context": "create table table_24370270_10 (final_weight__kg_ varchar, contestant varchar, PRIMARY KEY (final_weight__kg_))", + "answer": "select final_weight__kg_ from table_24370270_10 where contestant = \"chris\"" + }, + { + "question": "What type of school has the nickname the Oilers?", + "context": "create table table_262560_2 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_262560_2 where nickname = \"oilers\"" + }, + { + "question": "How many captains when the shirt sponsor is toshiba?", + "context": "create table table_27631756_2 (captain varchar, shirt_sponsor varchar, PRIMARY KEY (captain))", + "answer": "select count(captain) from table_27631756_2 where shirt_sponsor = \"toshiba\"" + }, + { + "question": "How many players are listed for the school/club team Washington?", + "context": "create table table_15463188_17 (name varchar, school_club_team varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_15463188_17 where school_club_team = \"washington\"" + }, + { + "question": "Show the parties that have both representatives in New York state and representatives in Pennsylvania state.", + "context": "create table representative (party varchar, state varchar, PRIMARY KEY (party))", + "answer": "select party from representative where state = \"new york\" intersect select party from representative where state = \"pennsylvania\"" + }, + { + "question": "Name the location for illinois", + "context": "create table table_1672976_7 (location varchar, big_ten_team varchar, PRIMARY KEY (location))", + "answer": "select location from table_1672976_7 where big_ten_team = \"illinois\"" + }, + { + "question": "How many type catagories are listed when the percentage of yes is 68.91%?", + "context": "create table table_256286_61 (type varchar, _percentage_yes varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_256286_61 where _percentage_yes = \"68.91%\"" + }, + { + "question": "What are the names of tourist attraction that Alison visited but Rosalind did not visit?", + "context": "create table visits (tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (tourist_attraction_id)); create table visitors (tourist_details varchar, tourist_id varchar, PRIMARY KEY (tourist_details)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = \"alison\" except select t1.name from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = \"rosalind\"" + }, + { + "question": "Show the employee ids and the number of documents destroyed by each employee.", + "context": "create table documents_to_be_destroyed (destroyed_by_employee_id varchar, PRIMARY KEY (destroyed_by_employee_id))", + "answer": "select destroyed_by_employee_id, count(*) from documents_to_be_destroyed group by destroyed_by_employee_id" + }, + { + "question": "How many episodes were directed by Arlene Sanford?", + "context": "create table table_26429658_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_26429658_1 where directed_by = \"arlene sanford\"" + }, + { + "question": "What is the reunion weight of the contestant that lost 52 lbs at the reunion?", + "context": "create table table_28654454_5 (reunion_weight varchar, lbs_lost_reunion varchar, PRIMARY KEY (reunion_weight))", + "answer": "select reunion_weight from table_28654454_5 where lbs_lost_reunion = 52" + }, + { + "question": "When was the episode written by Albert Kim aired for the first time?", + "context": "create table table_20704243_4 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_20704243_4 where written_by = \"albert kim\"" + }, + { + "question": "Find the name of customers who did not pay with Cash.", + "context": "create table customers (customer_name varchar, payment_method varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers where payment_method <> 'cash'" + }, + { + "question": "Find the name of all the clubs at \"AKW\".", + "context": "create table club (clubname varchar, clublocation varchar, PRIMARY KEY (clubname))", + "answer": "select clubname from club where clublocation = \"akw\"" + }, + { + "question": "How many total songs has the order #1", + "context": "create table table_21501518_1 (song_choice varchar, order__number varchar, PRIMARY KEY (song_choice))", + "answer": "select count(song_choice) from table_21501518_1 where order__number = \"1\"" + }, + { + "question": "Name the flight down for vladimir vasyutin , alexander volkov", + "context": "create table table_245801_1 (flight_down varchar, crew varchar, PRIMARY KEY (flight_down))", + "answer": "select flight_down from table_245801_1 where crew = \"vladimir vasyutin , alexander volkov\"" + }, + { + "question": "What is the mass of the element with a nuclide that is 169 tm?", + "context": "create table table_15366768_1 (isotopic_mass___u__ varchar, nuclide varchar, PRIMARY KEY (isotopic_mass___u__))", + "answer": "select isotopic_mass___u__ from table_15366768_1 where nuclide = \"169 tm\"" + }, + { + "question": "What is every party with a winner of P. Chidambaram?", + "context": "create table table_22753439_1 (party varchar, winner varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22753439_1 where winner = \"p. chidambaram\"" + }, + { + "question": "What is the q1+q2 time in which q1 is 1:18.574?", + "context": "create table table_1924975_1 (q1 varchar, q2_time varchar, q1_time varchar, PRIMARY KEY (q1))", + "answer": "select q1 + q2_time from table_1924975_1 where q1_time = \"1:18.574\"" + }, + { + "question": "Find the distinct last names of the students who have class president votes.", + "context": "create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table voting_record (class_president_vote varchar, PRIMARY KEY (class_president_vote))", + "answer": "select distinct t1.lname from student as t1 join voting_record as t2 on t1.stuid = t2.class_president_vote" + }, + { + "question": "When the change is 8.8%, what is the density (pop/km\u00b2)?", + "context": "create table table_1425958_1 (density__pop_km\u00b2_ varchar, _percentage_change varchar, PRIMARY KEY (density__pop_km\u00b2_))", + "answer": "select density__pop_km\u00b2_ from table_1425958_1 where _percentage_change = \"8.8\"" + }, + { + "question": "what's the\u00a0extroverted, relationship-oriented\u00a0where\u00a0moderate\u00a0is introverted sanguine", + "context": "create table table_11256021_1 (extroverted varchar, _relationship_oriented varchar, moderate varchar, PRIMARY KEY (extroverted))", + "answer": "select extroverted, _relationship_oriented from table_11256021_1 where moderate = \"introverted sanguine\"" + }, + { + "question": "What launcher had spacecrafts that did 37 orbital flights?", + "context": "create table table_179174_2 (launcher varchar, flights varchar, PRIMARY KEY (launcher))", + "answer": "select launcher from table_179174_2 where flights = \"37 orbital\"" + }, + { + "question": "When indianapolis, indiana is the location what is the institution?", + "context": "create table table_28211213_2 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_28211213_2 where location = \"indianapolis, indiana\"" + }, + { + "question": "if 22km is the trekking route what is height from sea level in meters?", + "context": "create table table_1430913_1 (height_from_sea_level_in_meters varchar, trekking_route varchar, PRIMARY KEY (height_from_sea_level_in_meters))", + "answer": "select height_from_sea_level_in_meters from table_1430913_1 where trekking_route = \"22km\"" + }, + { + "question": "Name the member countries for finnish swedish", + "context": "create table table_26519486_1 (member_countries varchar, languages varchar, PRIMARY KEY (member_countries))", + "answer": "select member_countries from table_26519486_1 where languages = \"finnish swedish\"" + }, + { + "question": "What are names of patients who made an appointment?", + "context": "create table appointment (patient varchar, PRIMARY KEY (patient)); create table patient (ssn varchar, PRIMARY KEY (ssn))", + "answer": "select name from appointment as t1 join patient as t2 on t1.patient = t2.ssn" + }, + { + "question": "Who constructed the Syracuse circuit?", + "context": "create table table_1140111_5 (constructor varchar, circuit varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140111_5 where circuit = \"syracuse\"" + }, + { + "question": "When winter pines is the fcsl team how many mlb teams are there?", + "context": "create table table_18373863_2 (mlb_team varchar, fcsl_team varchar, PRIMARY KEY (mlb_team))", + "answer": "select count(mlb_team) from table_18373863_2 where fcsl_team = \"winter pines\"" + }, + { + "question": "Who was the team when the category is field goal percentage?", + "context": "create table table_28628309_6 (team varchar, category varchar, PRIMARY KEY (team))", + "answer": "select team from table_28628309_6 where category = \"field goal percentage\"" + }, + { + "question": "What's the language of the school founded in 1949?", + "context": "create table table_1930857_1 (language varchar, year_founded varchar, PRIMARY KEY (language))", + "answer": "select language from table_1930857_1 where year_founded = \"1949\"" + }, + { + "question": "Name the total number 1980 mil for soviet union", + "context": "create table table_22071705_6 (country varchar, PRIMARY KEY (country))", + "answer": "select count(1980 as __mil_) from table_22071705_6 where country = \"soviet union\"" + }, + { + "question": "What is the name of the college/junior/club team of the Buffalo Sabres?", + "context": "create table table_2679061_10 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2679061_10 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "When conjunction junction is the episode title and the music is by bob dorough who is the performer?", + "context": "create table table_191105_2 (performed_by varchar, music_by varchar, episode_title varchar, PRIMARY KEY (performed_by))", + "answer": "select performed_by from table_191105_2 where music_by = \"bob dorough\" and episode_title = \"conjunction junction\"" + }, + { + "question": "Where is the Eastern Nazarene College located?", + "context": "create table table_1973729_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_1973729_1 where institution = \"eastern nazarene college\"" + }, + { + "question": "What is the document type code for document type \"Paper\"?", + "context": "create table ref_document_types (document_type_code varchar, document_type_name varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from ref_document_types where document_type_name = \"paper\"" + }, + { + "question": "Show the themes of parties and the names of the party hosts.", + "context": "create table host (name varchar, host_id varchar, PRIMARY KEY (name)); create table party_host (host_id varchar, party_id varchar, PRIMARY KEY (host_id)); create table party (party_theme varchar, party_id varchar, PRIMARY KEY (party_theme))", + "answer": "select t3.party_theme, t2.name from party_host as t1 join host as t2 on t1.host_id = t2.host_id join party as t3 on t1.party_id = t3.party_id" + }, + { + "question": "what is the name of the branding where the virtual is 13.1", + "context": "create table table_1979203_1 (branding varchar, _virtual_ varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_1979203_1 where _virtual_ = \"13.1\"" + }, + { + "question": "What is average lesson price taught by staff with first name as Janessa and last name as Sawayn?", + "context": "create table lessons (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (staff_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select avg(price) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\"" + }, + { + "question": "Name the total number of nba drafts that went to east side high school", + "context": "create table table_11677760_31 (nba_draft varchar, school varchar, PRIMARY KEY (nba_draft))", + "answer": "select count(nba_draft) from table_11677760_31 where school = \"east side high school\"" + }, + { + "question": "Who was the constructor in the location Monza?", + "context": "create table table_1140076_2 (constructor varchar, location varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140076_2 where location = \"monza\"" + }, + { + "question": "What party did Beau Boulter represent?", + "context": "create table table_1341577_44 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341577_44 where incumbent = \"beau boulter\"" + }, + { + "question": "In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?", + "context": "create table table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ varchar, agricultural_use__m_3__p_yr__in__percentage_ varchar, PRIMARY KEY (total_freshwater_withdrawal__km_3__yr_))", + "answer": "select total_freshwater_withdrawal__km_3__yr_ from table_15909409_2 where agricultural_use__m_3__p_yr__in__percentage_ = \"1029(96%)\"" + }, + { + "question": "What is the economy of the player with BBI of 3/33?", + "context": "create table table_28846752_13 (economy varchar, bbi varchar, PRIMARY KEY (economy))", + "answer": "select economy from table_28846752_13 where bbi = \"3/33\"" + }, + { + "question": "How many courses are there in total?", + "context": "create table courses (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from courses" + }, + { + "question": "which institutions can be categorized as private/united church of christ?", + "context": "create table table_261895_1 (institution varchar, type varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261895_1 where type = \"private/united church of christ\"" + }, + { + "question": "Who scored the most points in the game where the Raptors became 13-49?", + "context": "create table table_13619053_8 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13619053_8 where record = \"13-49\"" + }, + { + "question": "What is the INE code of the municipality whose official name is Berantevilla?", + "context": "create table table_300283_1 (ine_code integer, official_name varchar, PRIMARY KEY (ine_code))", + "answer": "select max(ine_code) from table_300283_1 where official_name = \"berantevilla\"" + }, + { + "question": "What school is in Jeromesville?", + "context": "create table table_24935743_2 (location varchar, school varchar, PRIMARY KEY (location))", + "answer": "select location from table_24935743_2 where school = \"jeromesville\"" + }, + { + "question": "What kind of report is for the Pau circuit?", + "context": "create table table_1140111_5 (report varchar, circuit varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140111_5 where circuit = \"pau\"" + }, + { + "question": "How many days were the station of Soyuz 35 in flight down were in orbit?", + "context": "create table table_245800_2 (duration__days_ varchar, flight_down varchar, PRIMARY KEY (duration__days_))", + "answer": "select duration__days_ from table_245800_2 where flight_down = \"soyuz 35\"" + }, + { + "question": "Who was the director when the writer(s) was John W. Bloch?", + "context": "create table table_21146729_6 (director varchar, writer_s_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_21146729_6 where writer_s_ = \"john w. bloch\"" + }, + { + "question": "Name the high points for mo williams , lebron james , j.j. hickson (6)", + "context": "create table table_22654073_7 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_22654073_7 where high_rebounds = \"mo williams , lebron james , j.j. hickson (6)\"" + }, + { + "question": "How many films have the word 'Dummy' in their titles?", + "context": "create table film (title varchar, PRIMARY KEY (title))", + "answer": "select count(*) from film where title like \"%dummy%\"" + }, + { + "question": "How many different amounts of winnings were there for the year when the team had an average finish of 17.4?", + "context": "create table table_2182562_2 (winnings varchar, avg_finish varchar, PRIMARY KEY (winnings))", + "answer": "select count(winnings) from table_2182562_2 where avg_finish = \"17.4\"" + }, + { + "question": "Find the number of airports whose name contain the word 'International'.", + "context": "create table airports (name varchar, PRIMARY KEY (name))", + "answer": "select count(*) from airports where name like '%international%'" + }, + { + "question": "List all the places that the Apocalypstix occupied when the Denim Demons were 2nd.", + "context": "create table table_29619494_2 (apocalypstix varchar, denim_demons varchar, PRIMARY KEY (apocalypstix))", + "answer": "select apocalypstix from table_29619494_2 where denim_demons = \"2nd\"" + }, + { + "question": "List the names of all distinct wines that are made of red color grape.", + "context": "create table grapes (grape varchar, color varchar, PRIMARY KEY (grape)); create table wine (name varchar, grape varchar, PRIMARY KEY (name))", + "answer": "select distinct t2.name from grapes as t1 join wine as t2 on t1.grape = t2.grape where t1.color = \"red\"" + }, + { + "question": "what's the\u00a0thursday iuppiter (jupiter)\u00a0with\u00a0friday venus (venus)\u00a0being vendredi", + "context": "create table table_1277350_1 (thursday_iuppiter__jupiter_ varchar, friday_venus__venus_ varchar, PRIMARY KEY (thursday_iuppiter__jupiter_))", + "answer": "select thursday_iuppiter__jupiter_ from table_1277350_1 where friday_venus__venus_ = \"vendredi\"" + }, + { + "question": "Name the english name for \u798f\u9f0e\u5e02", + "context": "create table table_2013618_1 (english_name varchar, traditional varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_2013618_1 where traditional = \"\u798f\u9f0e\u5e02\"" + }, + { + "question": "Name the trine dehli cleve for english waltz", + "context": "create table table_28677723_14 (trine_dehli_cleve integer, style varchar, PRIMARY KEY (trine_dehli_cleve))", + "answer": "select min(trine_dehli_cleve) from table_28677723_14 where style = \"english waltz\"" + }, + { + "question": "Who were the candidates in the election where the incumbent is George M. Grant?", + "context": "create table table_1341973_3 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341973_3 where incumbent = \"george m. grant\"" + }, + { + "question": "List all location codes and location names.", + "context": "create table ref_locations (location_code varchar, location_name varchar, PRIMARY KEY (location_code))", + "answer": "select location_code, location_name from ref_locations" + }, + { + "question": "How many titles have U.S. viewers 1.66 million.", + "context": "create table table_26736040_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_26736040_1 where us_viewers__millions_ = \"1.66\"" + }, + { + "question": "In what city or town is Stratford (limited service)?", + "context": "create table table_2572788_1 (town_city varchar, station varchar, PRIMARY KEY (town_city))", + "answer": "select town_city from table_2572788_1 where station = \"stratford (limited service)\"" + }, + { + "question": "Name the order in office for spiro agnew", + "context": "create table table_2026548_1 (order_in_office varchar, vice_president varchar, PRIMARY KEY (order_in_office))", + "answer": "select order_in_office from table_2026548_1 where vice_president = \"spiro agnew\"" + }, + { + "question": "When restoring capital punishment is the description how many types are there?", + "context": "create table table_256286_13 (type varchar, description varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_256286_13 where description = \"restoring capital punishment\"" + }, + { + "question": "Who did the high rebounds in the game where Larry Hughes (21) did the high ponts?", + "context": "create table table_23248869_6 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23248869_6 where high_points = \"larry hughes (21)\"" + }, + { + "question": "Show the studios that have produced films with director \"Nicholas Meyer\" and \"Walter Hill\".", + "context": "create table film (studio varchar, director varchar, PRIMARY KEY (studio))", + "answer": "select studio from film where director = \"nicholas meyer\" intersect select studio from film where director = \"walter hill\"" + }, + { + "question": "Who wrote the episode that was directed by Milan Cheylov?", + "context": "create table table_29219286_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29219286_1 where directed_by = \"milan cheylov\"" + }, + { + "question": "Find the distinct details of invoices which are created before 1989-09-03 or after 2007-12-25.", + "context": "create table invoices (invoice_details varchar, invoice_date varchar, PRIMARY KEY (invoice_details))", + "answer": "select distinct invoice_details from invoices where invoice_date < \"1989-09-03\" or invoice_date > \"2007-12-25\"" + }, + { + "question": "what is the total number of\u00a0constancy\u00a0where\u00a0purity\u00a0is falling", + "context": "create table table_11609814_1 (constancy varchar, purity varchar, PRIMARY KEY (constancy))", + "answer": "select count(constancy) from table_11609814_1 where purity = \"falling\"" + }, + { + "question": "Who is Gene Felton's TO Winning Team?", + "context": "create table table_13657749_2 (to_winning_team varchar, gto_winning_team varchar, PRIMARY KEY (to_winning_team))", + "answer": "select to_winning_team from table_13657749_2 where gto_winning_team = \"gene felton\"" + }, + { + "question": "What is the name of the only route that runs to bhavnagar?", + "context": "create table table_26745820_5 (vivek_express__15905_15906 varchar, kanyakumari varchar, PRIMARY KEY (vivek_express__15905_15906))", + "answer": "select vivek_express__15905_15906 from table_26745820_5 where kanyakumari = \"bhavnagar\"" + }, + { + "question": "Name who directed when the viewers is 5.86", + "context": "create table table_27401228_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27401228_1 where us_viewers__million_ = \"5.86\"" + }, + { + "question": "Show project ids and the number of documents in each project.", + "context": "create table documents (project_id varchar, PRIMARY KEY (project_id))", + "answer": "select project_id, count(*) from documents group by project_id" + }, + { + "question": "How many pac-12 sports are shown for california polytechnic state university?", + "context": "create table table_27816698_2 (pac_12_sports varchar, institution varchar, PRIMARY KEY (pac_12_sports))", + "answer": "select count(pac_12_sports) from table_27816698_2 where institution = \"california polytechnic state university\"" + }, + { + "question": "When pronoun is the subject what is the episode title?", + "context": "create table table_191105_2 (episode_title varchar, subject varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_191105_2 where subject = \"pronoun\"" + }, + { + "question": "Who was the away team playing at Carlton?", + "context": "create table table_16387653_1 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_16387653_1 where home_team = \"carlton\"" + }, + { + "question": "Name the number of candidates for samuel d. ingham", + "context": "create table table_2668347_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_2668347_17 where incumbent = \"samuel d. ingham\"" + }, + { + "question": "Who is the monarch with the heir thado minsaw?", + "context": "create table table_26460435_8 (monarch varchar, heir varchar, PRIMARY KEY (monarch))", + "answer": "select monarch from table_26460435_8 where heir = \"thado minsaw\"" + }, + { + "question": "What's the title of the episode seen by 12.85 millions of people in the US?", + "context": "create table table_28212888_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_28212888_2 where us_viewers__millions_ = \"12.85\"" + }, + { + "question": "what is robin's stat when jason was 2.5", + "context": "create table table_19744915_3 (robin varchar, jason varchar, PRIMARY KEY (robin))", + "answer": "select robin from table_19744915_3 where jason = \"2.5\"" + }, + { + "question": "How many episodes were directed by Sarah Pia Anderson?", + "context": "create table table_23287683_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_23287683_1 where directed_by = \"sarah pia anderson\"" + }, + { + "question": "What was the state with the total electricity generated is 38380 gw-h?", + "context": "create table table_25244412_2 (state varchar, total_electricity__gw\u00b7h_ varchar, PRIMARY KEY (state))", + "answer": "select state from table_25244412_2 where total_electricity__gw\u00b7h_ = 38380" + }, + { + "question": "Name the number of leaders for % of popular vote being 11.05%", + "context": "create table table_19283982_4 (leader varchar, _percentage_of_popular_vote varchar, PRIMARY KEY (leader))", + "answer": "select count(leader) from table_19283982_4 where _percentage_of_popular_vote = \"11.05%\"" + }, + { + "question": "What are the dates of death of those politicians whose date of birth 1938-08-30 30 august 1938?", + "context": "create table table_25345002_1 (date_of_death varchar, date_of_birth varchar, PRIMARY KEY (date_of_death))", + "answer": "select count(date_of_death) from table_25345002_1 where date_of_birth = \"1938-08-30 30 august 1938\"" + }, + { + "question": "What is the total of roles that George Olmi plays in Savoy & Casino Theatre 1888?", + "context": "create table table_148386_2 (savoy_theatre_1888 varchar, casino_theatre_1888 varchar, PRIMARY KEY (savoy_theatre_1888))", + "answer": "select count(savoy_theatre_1888) from table_148386_2 where casino_theatre_1888 = \"george olmi\"" + }, + { + "question": "What is the destination of the route kulitthurai,neyyattinkara?", + "context": "create table table_29770377_1 (destination varchar, route_via varchar, PRIMARY KEY (destination))", + "answer": "select destination from table_29770377_1 where route_via = \"kulitthurai,neyyattinkara\"" + }, + { + "question": "What was the percentage in Manitoba in 2011?", + "context": "create table table_1717824_1 (_percentage_2011 varchar, province varchar, PRIMARY KEY (_percentage_2011))", + "answer": "select _percentage_2011 from table_1717824_1 where province = \"manitoba\"" + }, + { + "question": "What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?", + "context": "create table table_10602294_1 (damage__usd_ varchar, pressure varchar, PRIMARY KEY (damage__usd_))", + "answer": "select damage__usd_ from table_10602294_1 where pressure = \"1003hpa (29.62inhg)\"" + }, + { + "question": "what is the original air date for the episoe written by vanessa reisen?", + "context": "create table table_13336122_5 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13336122_5 where written_by = \"vanessa reisen\"" + }, + { + "question": "What is the original air date of the episode written by Karen Felix and Don Woodard?", + "context": "create table table_11630008_8 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11630008_8 where written_by = \"karen felix and don woodard\"" + }, + { + "question": "Which locations had their first year in 2001?", + "context": "create table table_29788320_2 (location varchar, first_year varchar, PRIMARY KEY (location))", + "answer": "select location from table_29788320_2 where first_year = 2001" + }, + { + "question": "If the coordinate velocity v dx/dt in units of c is (e 2 \u2212 1)/(e 2 + 1) \u2245 0.761, what is the velocity angle \u03b7 in i-radians?", + "context": "create table table_15314901_1 (velocity_angle_\u03b7_in_i_radians varchar, coordinate_velocity_v_dx_dt_in_units_of_c varchar, PRIMARY KEY (velocity_angle_\u03b7_in_i_radians))", + "answer": "select velocity_angle_\u03b7_in_i_radians from table_15314901_1 where coordinate_velocity_v_dx_dt_in_units_of_c = \"(e 2 \u2212 1)/(e 2 + 1) \u2245 0.761\"" + }, + { + "question": "How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?", + "context": "create table table_18602462_22 (round_of_32 varchar, round_of_16 varchar, PRIMARY KEY (round_of_32))", + "answer": "select count(round_of_32) from table_18602462_22 where round_of_16 = \"polidori ( ita ) w 6-1, 3-6, 6-3\"" + }, + { + "question": "How many peak positions were there on the weekly charts?", + "context": "create table table_23180638_1 (peak_position varchar, oricon_albums_chart varchar, PRIMARY KEY (peak_position))", + "answer": "select count(peak_position) from table_23180638_1 where oricon_albums_chart = \"weekly charts\"" + }, + { + "question": "What is the percentage of \"no party preference\" where the democratic percentage is 24.8%?", + "context": "create table table_27003223_4 (no_party_preference varchar, democratic varchar, PRIMARY KEY (no_party_preference))", + "answer": "select no_party_preference from table_27003223_4 where democratic = \"24.8%\"" + }, + { + "question": "What is the dominant religion for \u043d\u043e\u0432\u0438 \u0441\u0430\u0434 in 2002?", + "context": "create table table_2562572_9 (dominant_religion__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_9 where cyrillic_name_other_names = \"\u043d\u043e\u0432\u0438 \u0441\u0430\u0434\"" + }, + { + "question": "Where is Westpac Stadium located?", + "context": "create table table_1301373_1 (location varchar, stadium varchar, PRIMARY KEY (location))", + "answer": "select location from table_1301373_1 where stadium = \"westpac stadium\"" + }, + { + "question": "Which countries has the most number of airlines whose active status is 'Y'?", + "context": "create table airlines (country varchar, active varchar, PRIMARY KEY (country))", + "answer": "select country from airlines where active = 'y' group by country order by count(*) desc limit 1" + }, + { + "question": "what is the maximum number of hull nunbers where ship name is kri yos sudarso?", + "context": "create table table_12232526_2 (hull_numbers integer, ship_name varchar, PRIMARY KEY (hull_numbers))", + "answer": "select max(hull_numbers) from table_12232526_2 where ship_name = \"kri yos sudarso\"" + }, + { + "question": "who were the winners in west virginia", + "context": "create table table_1133844_4 (candidates_winning_candidate_in_bold varchar, state__linked_to_summaries_below_ varchar, PRIMARY KEY (candidates_winning_candidate_in_bold))", + "answer": "select candidates_winning_candidate_in_bold from table_1133844_4 where state__linked_to_summaries_below_ = \"west virginia\"" + }, + { + "question": "Which nhl team has a college/junior/club team named university of notre dame (ncaa)", + "context": "create table table_1213511_7 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1213511_7 where college_junior_club_team = \"university of notre dame (ncaa)\"" + }, + { + "question": "Show the number of customers for each gender.", + "context": "create table customers (gender varchar, PRIMARY KEY (gender))", + "answer": "select gender, count(*) from customers group by gender" + }, + { + "question": "What is the province amount if the % 2011 is 0.0%", + "context": "create table table_1939367_1 (province varchar, _percentage_2011 varchar, PRIMARY KEY (province))", + "answer": "select count(province) from table_1939367_1 where _percentage_2011 = \"0.0%\"" + }, + { + "question": "How many transaction does account with name 337 have?", + "context": "create table accounts (account_id varchar, account_name varchar, PRIMARY KEY (account_id)); create table financial_transactions (account_id varchar, PRIMARY KEY (account_id))", + "answer": "select count(*) from financial_transactions as t1 join accounts as t2 on t1.account_id = t2.account_id where t2.account_name = \"337\"" + }, + { + "question": "List the state in the US with the most invoices.", + "context": "create table invoices (billing_state varchar, billing_country varchar, PRIMARY KEY (billing_state))", + "answer": "select billing_state, count(*) from invoices where billing_country = \"usa\" group by billing_state order by count(*) desc limit 1" + }, + { + "question": "Find each target user's name and average trust score.", + "context": "create table trust (target_u_id varchar, PRIMARY KEY (target_u_id)); create table useracct (name varchar, u_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, avg(trust) from useracct as t1 join trust as t2 on t1.u_id = t2.target_u_id group by t2.target_u_id" + }, + { + "question": "What is California State University, Hayward's new conference for Western Collegiate Lacrosse?", + "context": "create table table_14976504_2 (new_conference varchar, institution varchar, PRIMARY KEY (new_conference))", + "answer": "select new_conference from table_14976504_2 where institution = \"california state university, hayward\"" + }, + { + "question": "When tim brasil brokers are the minor sponsors who is the kit manufacturer?", + "context": "create table table_187239_1 (kit_manufacturer varchar, minor_sponsors varchar, PRIMARY KEY (kit_manufacturer))", + "answer": "select kit_manufacturer from table_187239_1 where minor_sponsors = \"tim brasil brokers\"" + }, + { + "question": "When dayton is the team what is the record?", + "context": "create table table_29556461_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_29556461_8 where team = \"dayton\"" + }, + { + "question": "Where is the headquarters of the airline which has the ICAO code of AAU?", + "context": "create table table_15637071_1 (headquarters varchar, icao varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from table_15637071_1 where icao = \"aau\"" + }, + { + "question": "Name the film titled for marcel camus category:articles with hcards", + "context": "create table table_18987377_1 (film_title_used_in_nomination varchar, director varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_18987377_1 where director = \"marcel camus category:articles with hcards\"" + }, + { + "question": "What was the launch date the satellite with cospar ID is 2008-033A?", + "context": "create table table_18161217_2 (launch_date varchar, cospar_id varchar, PRIMARY KEY (launch_date))", + "answer": "select launch_date from table_18161217_2 where cospar_id = \"2008-033a\"" + }, + { + "question": "What size is a 30 frames per minute", + "context": "create table table_1251878_3 (frame_size varchar, maximum_fps varchar, PRIMARY KEY (frame_size))", + "answer": "select frame_size from table_1251878_3 where maximum_fps = 30" + }, + { + "question": "Who is the p\u00e4rnu manager?", + "context": "create table table_27409644_1 (manager varchar, club varchar, PRIMARY KEY (manager))", + "answer": "select manager from table_27409644_1 where club = \"p\u00e4rnu\"" + }, + { + "question": "List the names of all scientists sorted in alphabetical order.", + "context": "create table scientists (name varchar, PRIMARY KEY (name))", + "answer": "select name from scientists order by name" + }, + { + "question": "Name the most padilla municipality for quechua", + "context": "create table table_2509350_3 (padilla_municipality integer, language varchar, PRIMARY KEY (padilla_municipality))", + "answer": "select max(padilla_municipality) from table_2509350_3 where language = \"quechua\"" + }, + { + "question": "Name the background colour for the Australian Capital Territory", + "context": "create table table_1000181_1 (text_background_colour varchar, state_territory varchar, PRIMARY KEY (text_background_colour))", + "answer": "select text_background_colour from table_1000181_1 where state_territory = \"australian capital territory\"" + }, + { + "question": "What was the winning party when the incumbent was richard s. whaley?", + "context": "create table table_1346137_4 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1346137_4 where incumbent = \"richard s. whaley\"" + }, + { + "question": "Find the id of the pet owned by student whose last name is \u2018Smith\u2019.", + "context": "create table has_pet (petid varchar, stuid varchar, PRIMARY KEY (petid)); create table student (stuid varchar, lname varchar, PRIMARY KEY (stuid))", + "answer": "select t2.petid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid where t1.lname = 'smith'" + }, + { + "question": "what is the sanskrit of western star name arcturus", + "context": "create table table_201400_2 (sanskrit varchar, western_star_name varchar, PRIMARY KEY (sanskrit))", + "answer": "select sanskrit from table_201400_2 where western_star_name = \"arcturus\"" + }, + { + "question": "which examples are pronounced et in australian", + "context": "create table table_17798093_20 (examples varchar, australian varchar, PRIMARY KEY (examples))", + "answer": "select examples from table_17798093_20 where australian = \"et\"" + }, + { + "question": "Find the location of the club \"Pen and Paper Gaming\".", + "context": "create table club (clublocation varchar, clubname varchar, PRIMARY KEY (clublocation))", + "answer": "select clublocation from club where clubname = \"pen and paper gaming\"" + }, + { + "question": "How many times did the Denver Broncos face the Dallas Texans this season?", + "context": "create table table_17778417_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17778417_1 where opponent = \"dallas texans\"" + }, + { + "question": "what is the mccain % where obama got 19.3%", + "context": "create table table_20424014_1 (mccain__percentage varchar, obama__percentage varchar, PRIMARY KEY (mccain__percentage))", + "answer": "select mccain__percentage from table_20424014_1 where obama__percentage = \"19.3%\"" + }, + { + "question": "state the name of day in english where cardinal direction is east", + "context": "create table table_20925393_3 (english varchar, cardinal_direction varchar, PRIMARY KEY (english))", + "answer": "select english from table_20925393_3 where cardinal_direction = \"east\"" + }, + { + "question": "What engine type is used in a Space Shuttle Vacuum scenario?", + "context": "create table table_15944_5 (engine_type varchar, scenario varchar, PRIMARY KEY (engine_type))", + "answer": "select engine_type from table_15944_5 where scenario = \"space shuttle vacuum\"" + }, + { + "question": "How many assets in billions US$, for the company that ranked 1532 overall in 2013?", + "context": "create table table_23950611_2 (assets__bil_usd__ varchar, rank__all__2013 varchar, PRIMARY KEY (assets__bil_usd__))", + "answer": "select assets__bil_usd__ from table_23950611_2 where rank__all__2013 = 1532" + }, + { + "question": "What's the percentage of EU average GDP (PPP) in the region where \u20ac per capita is 2519", + "context": "create table table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ varchar, \u20ac_per_capita__2005_ varchar, PRIMARY KEY (_percentage_of_eu_average_gdp__ppp_))", + "answer": "select _percentage_of_eu_average_gdp__ppp_ from table_2293510_1 where \u20ac_per_capita__2005_ = 2519" + }, + { + "question": "Show the most common type code across products.", + "context": "create table products (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select product_type_code from products group by product_type_code order by count(*) desc limit 1" + }, + { + "question": "What song was performed when Barbara Windsor was the guest host?", + "context": "create table table_1590967_7 (musical_guest__song_performed_ varchar, guest_host varchar, PRIMARY KEY (musical_guest__song_performed_))", + "answer": "select musical_guest__song_performed_ from table_1590967_7 where guest_host = \"barbara windsor\"" + }, + { + "question": "The order # is what for the week # Top 10?", + "context": "create table table_26250253_1 (order__number varchar, week__number varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_26250253_1 where week__number = \"top 10\"" + }, + { + "question": "what's the\u00a0jp -210-\u00a0with\u00a0title and source\u00a0being fun! fun! minigolf", + "context": "create table table_13663434_1 (jp__210_ varchar, title_and_source varchar, PRIMARY KEY (jp__210_))", + "answer": "select jp__210_ from table_13663434_1 where title_and_source = \"fun! fun! minigolf\"" + }, + { + "question": "Which events have the number of notes between one and three? List the event id and the property id.", + "context": "create table customer_events (customer_event_id varchar, property_id varchar, customer_event_id varchar, PRIMARY KEY (customer_event_id)); create table customer_event_notes (customer_event_id varchar, PRIMARY KEY (customer_event_id))", + "answer": "select t1.customer_event_id, t1.property_id from customer_events as t1 join customer_event_notes as t2 on t1.customer_event_id = t2.customer_event_id group by t1.customer_event_id having count(*) between 1 and 3" + }, + { + "question": "Where is Bluetongue Stadium located?", + "context": "create table table_1301373_1 (location varchar, stadium varchar, PRIMARY KEY (location))", + "answer": "select location from table_1301373_1 where stadium = \"bluetongue stadium\"" + }, + { + "question": "List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.", + "context": "create table has_amenity (amenid varchar, dormid varchar, PRIMARY KEY (amenid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))", + "answer": "select t1.amenity_name from dorm_amenity as t1 join has_amenity as t2 on t2.amenid = t1.amenid join dorm as t3 on t2.dormid = t3.dormid where t3.dorm_name = 'anonymous donor hall' order by t1.amenity_name" + }, + { + "question": "Who wrote the episode that was directed by Kevin Inch?", + "context": "create table table_29391888_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29391888_1 where directed_by = \"kevin inch\"" + }, + { + "question": "Whats the name of segment in s08e21", + "context": "create table table_15187735_16 (segment_a varchar, netflix varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_16 where netflix = \"s08e21\"" + }, + { + "question": "Who was the winner at the track where Roberval Andrade won pole, Felipe Giaffone had the fastest lap, and RVR Corinthians Motorsport was the winning team?", + "context": "create table table_29361707_2 (winning_driver varchar, winning_team varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_29361707_2 where pole_position = \"roberval andrade\" and fastest_lap = \"felipe giaffone\" and winning_team = \"rvr corinthians motorsport\"" + }, + { + "question": "What are the members listed with the sorority classification", + "context": "create table table_10054296_1 (member varchar, classification varchar, PRIMARY KEY (member))", + "answer": "select member from table_10054296_1 where classification = \"sorority\"" + }, + { + "question": "What are the comments when vendor and type is enterasys switches?", + "context": "create table table_1206114_2 (comments varchar, vendor_and_type varchar, PRIMARY KEY (comments))", + "answer": "select comments from table_1206114_2 where vendor_and_type = \"enterasys switches\"" + }, + { + "question": "how many models produced where the plant is castle bromwich?", + "context": "create table table_250309_1 (models_produced varchar, plant varchar, PRIMARY KEY (models_produced))", + "answer": "select count(models_produced) from table_250309_1 where plant = \"castle bromwich\"" + }, + { + "question": "who is the other person where the assistant is paulo babo", + "context": "create table table_28046929_2 (driver varchar, co_driver varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_28046929_2 where co_driver = \"paulo babo\"" + }, + { + "question": "How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.", + "context": "create table transcript_contents (student_course_id varchar, PRIMARY KEY (student_course_id))", + "answer": "select count(*), student_course_id from transcript_contents group by student_course_id order by count(*) desc limit 1" + }, + { + "question": "What is the lowest overall amount of no votes?", + "context": "create table table_256286_13 (no_votes integer, PRIMARY KEY (no_votes))", + "answer": "select min(no_votes) from table_256286_13" + }, + { + "question": "Name the most derby county", + "context": "create table table_15201666_3 (derby_county integer, PRIMARY KEY (derby_county))", + "answer": "select max(derby_county) from table_15201666_3" + }, + { + "question": "What was the report when the average speed (mph) was 87.599?", + "context": "create table table_2175685_1 (report varchar, average_speed__mph_ varchar, PRIMARY KEY (report))", + "answer": "select report from table_2175685_1 where average_speed__mph_ = \"87.599\"" + }, + { + "question": "How many buildings are there?", + "context": "create table building (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from building" + }, + { + "question": "What is the fastest lap with pole position of gilles villeneuve?", + "context": "create table table_1140077_2 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1140077_2 where pole_position = \"gilles villeneuve\"" + }, + { + "question": "What is the comment on the issue dated 14 March 1987?", + "context": "create table table_18305523_2 (comments varchar, cover_date varchar, PRIMARY KEY (comments))", + "answer": "select comments from table_18305523_2 where cover_date = \"14 march 1987\"" + }, + { + "question": "What is every branch involved in Afghanistan?", + "context": "create table table_1921_1 (branches_involved varchar, location varchar, PRIMARY KEY (branches_involved))", + "answer": "select branches_involved from table_1921_1 where location = \"afghanistan\"" + }, + { + "question": "Name the total number of game sites for chicago bears", + "context": "create table table_14977592_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select count(game_site) from table_14977592_1 where opponent = \"chicago bears\"" + }, + { + "question": "What source showed Brian Moran at 19%?", + "context": "create table table_21535453_1 (source varchar, brian_moran varchar, PRIMARY KEY (source))", + "answer": "select source from table_21535453_1 where brian_moran = \"19%\"" + }, + { + "question": "What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow?", + "context": "create table table_20042805_2 (hadeda_ibis varchar, knobbilled_duck varchar, PRIMARY KEY (hadeda_ibis))", + "answer": "select hadeda_ibis from table_20042805_2 where knobbilled_duck = \"pied crow\"" + }, + { + "question": "Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)?", + "context": "create table table_2370579_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2370579_1 where written_by = \"tony o'grady (pseudonym of brian clemens)\"" + }, + { + "question": "What is the Fri 3 June time for the rider whose Tues 31 May time was 19' 18.80 117.215mph?", + "context": "create table table_29218221_1 (fri_3_june varchar, tues_31_may varchar, PRIMARY KEY (fri_3_june))", + "answer": "select fri_3_june from table_29218221_1 where tues_31_may = \"19' 18.80 117.215mph\"" + }, + { + "question": "What is the name of the school in Lucas ?", + "context": "create table table_25987797_1 (location varchar, school varchar, PRIMARY KEY (location))", + "answer": "select location from table_25987797_1 where school = \"lucas\"" + }, + { + "question": "Name who wrote the episode directed by pam cooke & jansen yee", + "context": "create table table_23235679_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23235679_1 where directed_by = \"pam cooke & jansen yee\"" + }, + { + "question": "Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA", + "context": "create table table_14747043_1 (class_a varchar, class_aaaaa varchar, weslaco varchar, class_aaaa varchar, brownwood varchar, PRIMARY KEY (class_a))", + "answer": "select class_a from table_14747043_1 where class_aaaaa = weslaco and class_aaaa = brownwood" + }, + { + "question": "Which films participated in the 61st Berlin international film festival?", + "context": "create table table_29644931_1 (participants_recipients varchar, film_festival varchar, PRIMARY KEY (participants_recipients))", + "answer": "select participants_recipients from table_29644931_1 where film_festival = \"61st berlin international film_festival\"" + }, + { + "question": "Name the broadcast date of 6.9 million viewers", + "context": "create table table_2114308_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2114308_1 where viewers__in_millions_ = \"6.9\"" + }, + { + "question": "Show the name of the teacher for the math course.", + "context": "create table course_arrange (course_id varchar, teacher_id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, course varchar, PRIMARY KEY (course_id)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name))", + "answer": "select t3.name from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id where t2.course = \"math\"" + }, + { + "question": "What is the census division for the city named Kenora?", + "context": "create table table_21284653_1 (census_division varchar, name varchar, PRIMARY KEY (census_division))", + "answer": "select census_division from table_21284653_1 where name = \"kenora\"" + }, + { + "question": "What was the number of location of nickname cbsua formerly known cssac?", + "context": "create table table_11604804_5 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_11604804_5 where nickname = \"cbsua formerly known cssac\"" + }, + { + "question": "What is the value for model if processor is Kentsfield and brand name is Xeon?", + "context": "create table table_2467150_2 (model__list_ varchar, processor varchar, brand_name varchar, PRIMARY KEY (model__list_))", + "answer": "select model__list_ from table_2467150_2 where processor = \"kentsfield\" and brand_name = \"xeon\"" + }, + { + "question": "In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume?", + "context": "create table table_25983027_1 (rainfall_by_volume__km_3__year_ varchar, rainfall_by_depth__mm_year_ varchar, PRIMARY KEY (rainfall_by_volume__km_3__year_))", + "answer": "select rainfall_by_volume__km_3__year_ from table_25983027_1 where rainfall_by_depth__mm_year_ = 2801" + }, + { + "question": "How many regions had an incarceration rate for females of 63?", + "context": "create table table_25042332_31 (incarceration_rate_total varchar, incarceration_rate_female varchar, PRIMARY KEY (incarceration_rate_total))", + "answer": "select count(incarceration_rate_total) from table_25042332_31 where incarceration_rate_female = 63" + }, + { + "question": "Name the part 3 for treffen", + "context": "create table table_1745843_9 (part_3 varchar, part_1 varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_1745843_9 where part_1 = \"treffen\"" + }, + { + "question": "Who wrote the episode with 18.07 million viewers?", + "context": "create table table_26198709_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_26198709_1 where us_viewers__million_ = \"18.07\"" + }, + { + "question": "What is the address of employee Nancy Edwards?", + "context": "create table employees (address varchar, first_name varchar, last_name varchar, PRIMARY KEY (address))", + "answer": "select address from employees where first_name = \"nancy\" and last_name = \"edwards\"" + }, + { + "question": "Against what team did the Islanders have a 5-18-5 record?", + "context": "create table table_27539535_5 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_27539535_5 where record = \"5-18-5\"" + }, + { + "question": "What is every institution with the nickname of Quakers?", + "context": "create table table_261954_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261954_1 where nickname = \"quakers\"" + }, + { + "question": "Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?", + "context": "create table table_29285076_2 (location varchar, fastest_lap varchar, winning_driver varchar, PRIMARY KEY (location))", + "answer": "select location from table_29285076_2 where fastest_lap = \"luke ellery\" and winning_driver = \"wayne boyd\"" + }, + { + "question": "Name the 2011 gdp for pakistan", + "context": "create table table_2248784_3 (country varchar, PRIMARY KEY (country))", + "answer": "select 2011 as _gdp__ppp__billions_of_usd from table_2248784_3 where country = \"pakistan\"" + }, + { + "question": "When was the episode with a 1,036,000 BARB rating first aired in Denmark?", + "context": "create table table_26591309_3 (first_broadcast_denmark___dr1__ varchar, official_barb_ratings varchar, PRIMARY KEY (first_broadcast_denmark___dr1__))", + "answer": "select first_broadcast_denmark___dr1__ from table_26591309_3 where official_barb_ratings = \"1,036,000\"" + }, + { + "question": "Show the transaction type and the number of transactions.", + "context": "create table financial_transactions (transaction_type varchar, PRIMARY KEY (transaction_type))", + "answer": "select transaction_type, count(*) from financial_transactions group by transaction_type" + }, + { + "question": "Show the details of all trucks in the order of their license number.", + "context": "create table trucks (truck_details varchar, truck_licence_number varchar, PRIMARY KEY (truck_details))", + "answer": "select truck_details from trucks order by truck_licence_number" + }, + { + "question": "List all the MCs with peak ranking of 6 who were inducted in 2007.", + "context": "create table table_29160596_1 (top_mc varchar, year_inducted varchar, peak_ranking varchar, PRIMARY KEY (top_mc))", + "answer": "select top_mc from table_29160596_1 where year_inducted = 2007 and peak_ranking = 6" + }, + { + "question": "Who did she play with on clay?", + "context": "create table table_1920271_3 (partner varchar, surface varchar, PRIMARY KEY (partner))", + "answer": "select partner from table_1920271_3 where surface = \"clay\"" + }, + { + "question": "Show the product type codes which have at least two products.", + "context": "create table products (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select product_type_code from products group by product_type_code having count(*) >= 2" + }, + { + "question": "List the first name middle name and last name of all staff.", + "context": "create table staff (first_name varchar, middle_name varchar, last_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, middle_name, last_name from staff" + }, + { + "question": "Show the names and ids of tourist attractions that are visited at least two times.", + "context": "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))", + "answer": "select t1.name, t2.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(*) >= 2" + }, + { + "question": "Who was the race 1 winner of the race at Hidden Valley Raceway?", + "context": "create table table_22905641_2 (race_1_winner varchar, circuit varchar, PRIMARY KEY (race_1_winner))", + "answer": "select race_1_winner from table_22905641_2 where circuit = \"hidden valley raceway\"" + }, + { + "question": "What does the inactive state for University of Texas, El Paso?", + "context": "create table table_21821014_1 (inactive varchar, institution varchar, PRIMARY KEY (inactive))", + "answer": "select inactive from table_21821014_1 where institution = \"university of texas, el paso\"" + }, + { + "question": "Who is the rector of the residence hall who's mascot is the phoxes?", + "context": "create table table_15873547_1 (rector varchar, mascot varchar, PRIMARY KEY (rector))", + "answer": "select rector from table_15873547_1 where mascot = \"phoxes\"" + }, + { + "question": "Who was the winning driver when Michael Schumacher had the pole and the fastest lap?", + "context": "create table table_1137695_3 (winning_driver varchar, fastest_lap varchar, pole_position varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137695_3 where fastest_lap = \"michael schumacher\" and pole_position = \"michael schumacher\"" + }, + { + "question": "When 27 gp h-e bombs the capacity of the bomb what is the cause of loss?", + "context": "create table table_18933037_3 (cause_of_loss varchar, bomb_capacity varchar, PRIMARY KEY (cause_of_loss))", + "answer": "select cause_of_loss from table_18933037_3 where bomb_capacity = \"27 gp h-e bombs\"" + }, + { + "question": "How many new entries started in the round where winners from the previous round is 32?", + "context": "create table table_18328569_1 (new_entries_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (new_entries_this_round))", + "answer": "select new_entries_this_round from table_18328569_1 where winners_from_previous_round = \"32\"" + }, + { + "question": "what is the home team when the opposition is east coast?", + "context": "create table table_26847237_3 (home_team varchar, opposition varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26847237_3 where opposition = \"east coast\"" + }, + { + "question": "How many knockout of the night occurred when joe lauzon fought.", + "context": "create table table_21114902_1 (knockouts_of_the_night varchar, fighter varchar, PRIMARY KEY (knockouts_of_the_night))", + "answer": "select knockouts_of_the_night from table_21114902_1 where fighter = \"joe lauzon\"" + }, + { + "question": "Who was the original artist when the order number is 9?", + "context": "create table table_15796072_1 (original_artist varchar, order__number varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_15796072_1 where order__number = \"9\"" + }, + { + "question": "What is the adjusted GDP per capita when the population is 37.376 million?", + "context": "create table table_1610496_3 (gdp_per_capita_adjusted__$_ varchar, population__millions_ varchar, PRIMARY KEY (gdp_per_capita_adjusted__$_))", + "answer": "select gdp_per_capita_adjusted__$_ from table_1610496_3 where population__millions_ = \"37.376\"" + }, + { + "question": "Name the % for core moldova being 4.36%", + "context": "create table table_19260_1 (_percentage varchar, _percentage_core_moldova varchar, PRIMARY KEY (_percentage))", + "answer": "select _percentage from table_19260_1 where _percentage_core_moldova = \"4.36_percentage\"" + }, + { + "question": "What is the original airdate of the episode where the challenge was three overstuffed sandwiches?", + "context": "create table table_24798489_1 (original_airdate varchar, challenge varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_24798489_1 where challenge = \"three overstuffed sandwiches\"" + }, + { + "question": "What is the UN operation title with the UN operation name, Uncok?", + "context": "create table table_10121127_1 (un_operation_title varchar, un_operation_name varchar, PRIMARY KEY (un_operation_title))", + "answer": "select un_operation_title from table_10121127_1 where un_operation_name = \"uncok\"" + }, + { + "question": "what are all the\u00a0report\u00a0where\u00a0winning constructor\u00a0is williams - renault and\u00a0grand prix\u00a0is south african grand prix", + "context": "create table table_1137704_2 (report varchar, winning_constructor varchar, grand_prix varchar, PRIMARY KEY (report))", + "answer": "select report from table_1137704_2 where winning_constructor = \"williams - renault\" and grand_prix = \"south african grand_prix\"" + }, + { + "question": "How many electorates are there with Hedmark as a constituency?", + "context": "create table table_1289762_1 (electorate varchar, constituency varchar, PRIMARY KEY (electorate))", + "answer": "select count(electorate) from table_1289762_1 where constituency = \"hedmark\"" + }, + { + "question": "What chassis is on the car repped by team rahal letterman lanigan racing?", + "context": "create table table_2503102_2 (chassis varchar, team varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_2503102_2 where team = \"rahal letterman lanigan racing\"" + }, + { + "question": "What percentage of the population is below 50% of the median income in the region where 10.4% of the population earns below 40% of the median income?", + "context": "create table table_25042332_16 (below_50_percentage_of_median_income varchar, below_40_percentage_of_median_income varchar, PRIMARY KEY (below_50_percentage_of_median_income))", + "answer": "select count(below_50_percentage_of_median_income) from table_25042332_16 where below_40_percentage_of_median_income = \"10.4%\"" + }, + { + "question": "What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?", + "context": "create table table_23835213_2 (undisclosed varchar, wycombe_wanderers varchar, PRIMARY KEY (undisclosed))", + "answer": "select undisclosed from table_23835213_2 where \"aldershot_town\" = \"aldershot_town\" and wycombe_wanderers = \"oxford united\"" + }, + { + "question": "When sault ste. marie greyhounds (oha) is the college, junior, or club team how many nationalities are there?", + "context": "create table table_1965650_9 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select count(nationality) from table_1965650_9 where college_junior_club_team = \"sault ste. marie greyhounds (oha)\"" + }, + { + "question": "Name the total number for race caller for bob costas and charlsie cantey", + "context": "create table table_22514845_2 (race_caller varchar, trophy_presentation varchar, PRIMARY KEY (race_caller))", + "answer": "select count(race_caller) from table_22514845_2 where trophy_presentation = \"bob costas and charlsie cantey\"" + }, + { + "question": "Who is the independent regional force when democratic coalition is (r) jorge tarud ( ppd )?", + "context": "create table table_2651755_1 (independent_regional_force varchar, democratic_coalition varchar, PRIMARY KEY (independent_regional_force))", + "answer": "select independent_regional_force from table_2651755_1 where democratic_coalition = \"(r) jorge tarud ( ppd )\"" + }, + { + "question": "Name the most 4/inns", + "context": "create table table_17900317_5 (id varchar, PRIMARY KEY (id))", + "answer": "select max(4 as _inns) from table_17900317_5" + }, + { + "question": "what is the score where the record is 1-1", + "context": "create table table_26173058_2 (ramtha varchar, ahli varchar, PRIMARY KEY (ramtha))", + "answer": "select ramtha from table_26173058_2 where ahli = \"1-1\"" + }, + { + "question": "How many artist(s) have a start date is 1966-12-12?", + "context": "create table table_2560677_1 (artist_s_ varchar, start_date varchar, PRIMARY KEY (artist_s_))", + "answer": "select count(artist_s_) from table_2560677_1 where start_date = \"1966-12-12\"" + }, + { + "question": "What is the largest number for trine dehli cleve?", + "context": "create table table_28677723_5 (trine_dehli_cleve integer, PRIMARY KEY (trine_dehli_cleve))", + "answer": "select max(trine_dehli_cleve) from table_28677723_5" + }, + { + "question": "Name the comptroller for office of prohibition", + "context": "create table table_22607062_1 (comptroller varchar, ticket___office varchar, PRIMARY KEY (comptroller))", + "answer": "select comptroller from table_22607062_1 where ticket___office = \"prohibition\"" + }, + { + "question": "Find all the phone numbers.", + "context": "create table available_policies (customer_phone varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone from available_policies" + }, + { + "question": "How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania?", + "context": "create table table_27529608_21 (semi_final__week_ varchar, hometown varchar, PRIMARY KEY (semi_final__week_))", + "answer": "select count(semi_final__week_) from table_27529608_21 where hometown = \"pittsburgh, pennsylvania\"" + }, + { + "question": "Show the different countries and the number of members from each.", + "context": "create table member (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from member group by country" + }, + { + "question": "Find the number of pets for each student who has any pet and student id.", + "context": "create table has_pet (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(*), t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid group by t1.stuid" + }, + { + "question": "Name the narraed by for beluga shipping", + "context": "create table table_26168687_5 (narrated_by varchar, vessel_operator varchar, PRIMARY KEY (narrated_by))", + "answer": "select narrated_by from table_26168687_5 where vessel_operator = \"beluga shipping\"" + }, + { + "question": "How many different part 3 verbs are there that mean to freeze?", + "context": "create table table_1745843_6 (part_3 varchar, verb_meaning varchar, PRIMARY KEY (part_3))", + "answer": "select count(part_3) from table_1745843_6 where verb_meaning = \"to freeze\"" + }, + { + "question": "How many 'United Airlines' flights depart from Airport 'AHD'?", + "context": "create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline)); create table airlines (uid varchar, airline varchar, PRIMARY KEY (uid))", + "answer": "select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = \"united airlines\" and t2.sourceairport = \"ahd\"" + }, + { + "question": "How many informations does Michael Hawkins have?", + "context": "create table table_11340432_1 (information varchar, shadow_ridge varchar, PRIMARY KEY (information))", + "answer": "select count(information) from table_11340432_1 where shadow_ridge = \"michael hawkins\"" + }, + { + "question": "What was the position (P) for Clapham?", + "context": "create table table_12608427_8 (p varchar, name varchar, PRIMARY KEY (p))", + "answer": "select p from table_12608427_8 where name = \"clapham\"" + }, + { + "question": "If the equation is 6 \u00d7 9\u00b2 + 6 \u00d7 9 + 6, what is the 2nd throw?", + "context": "create table table_17265535_7 (equation varchar, PRIMARY KEY (equation))", + "answer": "select max(2 as nd_throw) from table_17265535_7 where equation = \"6 \u00d7 9\u00b2 + 6 \u00d7 9 + 6\"" + }, + { + "question": "Please show the countries and the number of climbers from each country.", + "context": "create table climber (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from climber group by country" + }, + { + "question": "What is the range of the head of household whereas single is $171,551\u2013$372,950?", + "context": "create table table_11647327_2 (head_of_household varchar, single varchar, PRIMARY KEY (head_of_household))", + "answer": "select head_of_household from table_11647327_2 where single = \"$171,551\u2013$372,950\"" + }, + { + "question": "What was Johnny Rutherford's fastest lap while Al Unser was the pole position?", + "context": "create table table_10527215_3 (fastest_lap varchar, winning_driver varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_10527215_3 where winning_driver = \"johnny rutherford\" and pole_position = \"al unser\"" + }, + { + "question": "How many courses do the student whose id is 171 attend?", + "context": "create table courses (course_id varchar, PRIMARY KEY (course_id)); create table student_course_attendance (course_id varchar, student_id varchar, PRIMARY KEY (course_id))", + "answer": "select count(*) from courses as t1 join student_course_attendance as t2 on t1.course_id = t2.course_id where t2.student_id = 171" + }, + { + "question": "How many total titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total?", + "context": "create table table_12194021_1 (womens_singles varchar, mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select count(womens_singles) from table_12194021_1 where mens_doubles = \"rupesh kumar sanave thomas\" and womens_doubles = \"jwala gutta ashwini ponnappa\"" + }, + { + "question": "What are the results for testing the species with voges-proskauer when citrate yields a positive result?", + "context": "create table table_16083989_1 (voges_proskauer varchar, citrate varchar, PRIMARY KEY (voges_proskauer))", + "answer": "select voges_proskauer from table_16083989_1 where citrate = \"positive\"" + }, + { + "question": "Show the statement id and the statement detail for the statement with most number of accounts.", + "context": "create table accounts (statement_id varchar, PRIMARY KEY (statement_id)); create table statements (statement_details varchar, statement_id varchar, PRIMARY KEY (statement_details))", + "answer": "select t1.statement_id, t2.statement_details from accounts as t1 join statements as t2 on t1.statement_id = t2.statement_id group by t1.statement_id order by count(*) desc limit 1" + }, + { + "question": "What was segment D when segment B was jeans?", + "context": "create table table_15187735_1 (segment_d varchar, segment_b varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_1 where segment_b = \"jeans\"" + }, + { + "question": "Show institution names along with the number of proteins for each institution.", + "context": "create table institution (institution varchar, institution_id varchar, PRIMARY KEY (institution)); create table protein (institution_id varchar, PRIMARY KEY (institution_id))", + "answer": "select t1.institution, count(*) from institution as t1 join protein as t2 on t1.institution_id = t2.institution_id group by t1.institution_id" + }, + { + "question": "List every album's title.", + "context": "create table albums (title varchar, PRIMARY KEY (title))", + "answer": "select title from albums" + }, + { + "question": "what's the\u00a0vineyard surface (2010)\u00a0with\u00a0grand cru\u00a0being bienvenues-b\u00e2tard-montrachet", + "context": "create table table_13981938_1 (vineyard_surface__2010_ varchar, grand_cru varchar, PRIMARY KEY (vineyard_surface__2010_))", + "answer": "select vineyard_surface__2010_ from table_13981938_1 where grand_cru = \"bienvenues-b\u00e2tard-montrachet\"" + }, + { + "question": "Name the total number of seats for general surgery", + "context": "create table table_19304764_2 (permitted_seats varchar, discipline varchar, PRIMARY KEY (permitted_seats))", + "answer": "select count(permitted_seats) from table_19304764_2 where discipline = \"general surgery\"" + }, + { + "question": "What are the last names of the author of the paper titled \"Binders Unbound\"?", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (lname varchar, authid varchar, PRIMARY KEY (lname)); create table papers (paperid varchar, title varchar, PRIMARY KEY (paperid))", + "answer": "select t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t3.title = \"binders unbound\"" + }, + { + "question": "Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.", + "context": "create table member (name varchar, college_id varchar, PRIMARY KEY (name)); create table college (college_location varchar, college_id varchar, PRIMARY KEY (college_location))", + "answer": "select t2.name, t1.college_location from college as t1 join member as t2 on t1.college_id = t2.college_id order by t2.name" + }, + { + "question": "who won basketball when ashland won track & field and cross country", + "context": "create table table_16423070_4 (basketball varchar, cross_country varchar, track_ varchar, _field varchar, PRIMARY KEY (basketball))", + "answer": "select basketball from table_16423070_4 where track_ & _field = \"ashland\" and cross_country = \"ashland\"" + }, + { + "question": "Which venue did Luke Blackwell serve as captain?", + "context": "create table table_13514348_7 (venue varchar, captain varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_13514348_7 where captain = \"luke blackwell\"" + }, + { + "question": "Name the forward assist for a2 barrel profile", + "context": "create table table_12834315_4 (forward_assist varchar, barrel_profile varchar, PRIMARY KEY (forward_assist))", + "answer": "select forward_assist from table_12834315_4 where barrel_profile = \"a2\"" + }, + { + "question": "Find the name of the products that are not using the most frequently-used max page size.", + "context": "create table product (product varchar, max_page_size varchar, PRIMARY KEY (product))", + "answer": "select product from product where product <> (select max_page_size from product group by max_page_size order by count(*) desc limit 1)" + }, + { + "question": "What was the title used in nomination in the original B\u0101b\u01cei Zhu\u00e0ngsh\u00ec (\u516b\u767e\u58ef\u58eb)?", + "context": "create table table_17350255_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_17350255_1 where original_title = \"b\u0101b\u01cei zhu\u00e0ngsh\u00ec (\u516b\u767e\u58ef\u58eb)\"" + }, + { + "question": "What is the central word for \"robbers\"?", + "context": "create table table_26614365_1 (central varchar, english varchar, PRIMARY KEY (central))", + "answer": "select central from table_26614365_1 where english = \"robbers\"" + }, + { + "question": "Name the l3 cache for core i7-2xxxqe, i7-26xxqm, i7-27xxqm", + "context": "create table table_24538587_13 (l3_cache varchar, brand_name__list_ varchar, PRIMARY KEY (l3_cache))", + "answer": "select l3_cache from table_24538587_13 where brand_name__list_ = \"core i7-2xxxqe, i7-26xxqm, i7-27xxqm\"" + }, + { + "question": "What is the fare to Kalamazoo during the time frame when Saginaw's was $481.39?", + "context": "create table table_1637981_7 (kalamazoo__azo_ varchar, saginaw__mbs_ varchar, PRIMARY KEY (kalamazoo__azo_))", + "answer": "select kalamazoo__azo_ from table_1637981_7 where saginaw__mbs_ = \"$481.39\"" + }, + { + "question": "What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'", + "context": "create table timed_status_of_things (thing_id varchar, status_of_thing_code varchar, date_and_date varchar, PRIMARY KEY (thing_id)); create table things (thing_id varchar, type_of_thing_code varchar, PRIMARY KEY (thing_id))", + "answer": "select distinct t2.thing_id, t2.type_of_thing_code from timed_status_of_things as t1 join things as t2 on t1.thing_id = t2.thing_id where t1.status_of_thing_code = 'close' or t1.date_and_date < '2017-06-19 02:59:21'" + }, + { + "question": "How many different users wrote some reviews?", + "context": "create table review (u_id varchar, PRIMARY KEY (u_id))", + "answer": "select count(distinct u_id) from review" + }, + { + "question": "When is the date of vacancy of Davy Fitzgerald being a replacement?", + "context": "create table table_11190568_7 (date_of_vacancy varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_11190568_7 where replaced_by = \"davy fitzgerald\"" + }, + { + "question": "What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id.", + "context": "create table cmi_cross_references (source_system_code varchar, cmi_cross_ref_id varchar, PRIMARY KEY (source_system_code)); create table benefits_overpayments (council_tax_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (council_tax_id))", + "answer": "select t1.source_system_code, t2.council_tax_id from cmi_cross_references as t1 join benefits_overpayments as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id order by t2.council_tax_id" + }, + { + "question": "What is the name of the episode that was directed by Dennis Smith?", + "context": "create table table_2828803_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2828803_1 where directed_by = \"dennis smith\"" + }, + { + "question": "What is the channel number that has a branding of PTV 4 Laoag?", + "context": "create table table_24673888_1 (ch__number varchar, branding varchar, PRIMARY KEY (ch__number))", + "answer": "select ch__number from table_24673888_1 where branding = \"ptv 4 laoag\"" + }, + { + "question": "Name the english translation of giefdu mier socka bond", + "context": "create table table_13003460_1 (english_translation varchar, the_icelandic_of_the_glossary varchar, PRIMARY KEY (english_translation))", + "answer": "select english_translation from table_13003460_1 where the_icelandic_of_the_glossary = \"giefdu mier socka bond\"" + }, + { + "question": "Who directed the episode that aired on July 29, 2011?", + "context": "create table table_18424435_5 (directed_by varchar, us_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18424435_5 where us_air_date = \"july 29, 2011\"" + }, + { + "question": "Where did the games that had Wake Forest as Acc Team take place?", + "context": "create table table_29535057_4 (location varchar, acc_team varchar, PRIMARY KEY (location))", + "answer": "select location from table_29535057_4 where acc_team = \"wake forest\"" + }, + { + "question": "Which department has a small of 11370?", + "context": "create table table_21249915_1 (department varchar, small__100ha_ varchar, PRIMARY KEY (department))", + "answer": "select department from table_21249915_1 where small__100ha_ = 11370" + }, + { + "question": "Who opposed Marty Meehan in each election?", + "context": "create table table_1341522_24 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_1341522_24 where incumbent = \"marty meehan\"" + }, + { + "question": "How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?", + "context": "create table table_12444503_1 (lost_to_eventual_winner varchar, lost_to_eventual_runner_up varchar, PRIMARY KEY (lost_to_eventual_winner))", + "answer": "select count(lost_to_eventual_winner) from table_12444503_1 where lost_to_eventual_runner_up = \"asc jeanne d'arc\"" + }, + { + "question": "How many schools do not participate in the basketball match?", + "context": "create table university (school_id varchar, PRIMARY KEY (school_id)); create table basketball_match (school_id varchar, PRIMARY KEY (school_id))", + "answer": "select count(*) from university where not school_id in (select school_id from basketball_match)" + }, + { + "question": "If the overall viewers were 1.83 millions, what was the overall market share?", + "context": "create table table_2639433_4 (market_share__overall_ varchar, viewers__in_millions_overall_ varchar, PRIMARY KEY (market_share__overall_))", + "answer": "select market_share__overall_ from table_2639433_4 where viewers__in_millions_overall_ = \"1.83\"" + }, + { + "question": "What was the inroductory phase for the episode with neil shubin as a guest?", + "context": "create table table_14835674_1 (introductory_phrase varchar, guest varchar, PRIMARY KEY (introductory_phrase))", + "answer": "select introductory_phrase from table_14835674_1 where guest = \"neil shubin\"" + }, + { + "question": "Show the ID of the high schooler named Kyle.", + "context": "create table highschooler (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select id from highschooler where name = \"kyle\"" + }, + { + "question": "What is the boiler provider for Bhel, India's TG Set provider?", + "context": "create table table_28672269_1 (boiler_provider varchar, tg_set_provider varchar, PRIMARY KEY (boiler_provider))", + "answer": "select boiler_provider from table_28672269_1 where tg_set_provider = \"bhel, india\"" + }, + { + "question": "How many vap values are associated with 140469 valid votes?", + "context": "create table table_2683116_1 (vap varchar, valid_votes varchar, PRIMARY KEY (vap))", + "answer": "select count(vap) from table_2683116_1 where valid_votes = 140469" + }, + { + "question": "If the episode title is Pressures, what are the names of the cast?", + "context": "create table table_2570269_2 (cast varchar, episode_title varchar, PRIMARY KEY (cast))", + "answer": "select cast from table_2570269_2 where episode_title = \"pressures\"" + }, + { + "question": "Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone.", + "context": "create table treatments (professional_id varchar, PRIMARY KEY (professional_id)); create table professionals (professional_id varchar, last_name varchar, cell_number varchar, PRIMARY KEY (professional_id)); create table professionals (professional_id varchar, last_name varchar, cell_number varchar, state varchar, PRIMARY KEY (professional_id))", + "answer": "select professional_id, last_name, cell_number from professionals where state = 'indiana' union select t1.professional_id, t1.last_name, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) > 2" + }, + { + "question": "List the name and count of each product in all orders.", + "context": "create table orders (order_id varchar, PRIMARY KEY (order_id)); create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table order_items (order_id varchar, product_id varchar, PRIMARY KEY (order_id))", + "answer": "select t3.product_name, count(*) from orders as t1 join order_items as t2 join products as t3 on t1.order_id = t2.order_id and t2.product_id = t3.product_id group by t3.product_id" + }, + { + "question": "Name the fourth district for joan runnels", + "context": "create table table_15442974_1 (fourth_district varchar, second_district varchar, PRIMARY KEY (fourth_district))", + "answer": "select fourth_district from table_15442974_1 where second_district = \"joan runnels\"" + }, + { + "question": "When did the term end that began December 4, 1978?", + "context": "create table table_224672_2 (term_ended varchar, term_began varchar, PRIMARY KEY (term_ended))", + "answer": "select term_ended from table_224672_2 where term_began = \"december 4, 1978\"" + }, + { + "question": "Find the number of routes with destination airports in Italy.", + "context": "create table routes (dst_apid varchar, PRIMARY KEY (dst_apid)); create table airports (apid varchar, country varchar, PRIMARY KEY (apid))", + "answer": "select count(*) from routes as t1 join airports as t2 on t1.dst_apid = t2.apid where t2.country = 'italy'" + }, + { + "question": "What is the status of joe gibbs racing?", + "context": "create table table_12001616_4 (status varchar, entrant varchar, PRIMARY KEY (status))", + "answer": "select status from table_12001616_4 where entrant = \"joe gibbs racing\"" + }, + { + "question": "What is the most common hometown of gymnasts?", + "context": "create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (hometown varchar, people_id varchar, PRIMARY KEY (hometown))", + "answer": "select t2.hometown from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id group by t2.hometown order by count(*) desc limit 1" + }, + { + "question": "How many countries are there in total?", + "context": "create table country (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from country" + }, + { + "question": "What was the fastest lap time in the Escort Radar Warning 200?", + "context": "create table table_10706961_2 (fastest_lap varchar, name varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_10706961_2 where name = \"escort radar warning 200\"" + }, + { + "question": "Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?", + "context": "create table table_29225103_2 (ep_winning_team varchar, cp_winning_team varchar, gm_winning_team varchar, PRIMARY KEY (ep_winning_team))", + "answer": "select ep_winning_team from table_29225103_2 where cp_winning_team = \"dave clark\" and gm_winning_team = \"stuart northrup\"" + }, + { + "question": "What is the market value in billions when the assets totaled 1,380.88?", + "context": "create table table_1682026_7 (market_value__billion_$_ varchar, assets__billion_$_ varchar, PRIMARY KEY (market_value__billion_$_))", + "answer": "select market_value__billion_$_ from table_1682026_7 where assets__billion_$_ = \"1,380.88\"" + }, + { + "question": "What is the content of the rai 1 television service?", + "context": "create table table_15887683_1 (content varchar, television_service varchar, PRIMARY KEY (content))", + "answer": "select content from table_15887683_1 where television_service = \"rai 1\"" + }, + { + "question": "Name the number of horizontal when framerate hz is 25", + "context": "create table table_15928363_1 (horizontal varchar, framerate___hz__ varchar, PRIMARY KEY (horizontal))", + "answer": "select count(horizontal) from table_15928363_1 where framerate___hz__ = \"25\"" + }, + { + "question": "What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?", + "context": "create table table_17429402_7 (occ_championships integer, last_outright_occ_championship varchar, PRIMARY KEY (occ_championships))", + "answer": "select min(occ_championships) from table_17429402_7 where last_outright_occ_championship = \"2006\"" + }, + { + "question": "What is every specialization with the website Jstu.edu.bd", + "context": "create table table_2112260_1 (specialization varchar, website varchar, PRIMARY KEY (specialization))", + "answer": "select specialization from table_2112260_1 where website = \"jstu.edu.bd\"" + }, + { + "question": "Which actor from Serbia was nominated for best actor in a supporting role?", + "context": "create table table_10236830_4 (actors_name varchar, nomination varchar, country varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_4 where nomination = \"best actor in a supporting role\" and country = \"serbia\"" + }, + { + "question": "What is the percentage of total area in the ecozone that the percentage of land area is 2.2?", + "context": "create table table_15555661_2 (percentage_of_total_area varchar, percentage_of_land_area varchar, PRIMARY KEY (percentage_of_total_area))", + "answer": "select percentage_of_total_area from table_15555661_2 where percentage_of_land_area = \"2.2\"" + }, + { + "question": "What was the theme when original artist Rosana's song was performed?", + "context": "create table table_27616663_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_27616663_1 where original_artist = \"rosana\"" + }, + { + "question": "Name the best supporting actress for sun honglei for mongol", + "context": "create table table_15301258_1 (best_supporting_actress varchar, best_supporting_actor varchar, PRIMARY KEY (best_supporting_actress))", + "answer": "select best_supporting_actress from table_15301258_1 where best_supporting_actor = \"sun honglei for mongol\"" + }, + { + "question": "What city is Tiffin University located in?", + "context": "create table table_29483673_1 (location___city varchar, institution varchar, PRIMARY KEY (location___city))", + "answer": "select location___city from table_29483673_1 where institution = \"tiffin university\"" + }, + { + "question": "How many staff live in state Georgia?", + "context": "create table addresses (state_province_county varchar, PRIMARY KEY (state_province_county))", + "answer": "select count(*) from addresses where state_province_county = \"georgia\"" + }, + { + "question": "What shareholder has 2.55 percent of votes?", + "context": "create table table_206419_3 (shareholder varchar, percent_of_votes varchar, PRIMARY KEY (shareholder))", + "answer": "select shareholder from table_206419_3 where percent_of_votes = \"2.55\"" + }, + { + "question": "What is the signal power for JOAB-DTV?", + "context": "create table table_2638104_1 (signal_power varchar, callsign varchar, PRIMARY KEY (signal_power))", + "answer": "select signal_power from table_2638104_1 where callsign = \"joab-dtv\"" + }, + { + "question": "What park is Boardwalk Bullet located in?", + "context": "create table table_2665085_1 (park varchar, name varchar, PRIMARY KEY (park))", + "answer": "select park from table_2665085_1 where name = \"boardwalk bullet\"" + }, + { + "question": "What channel tv (dt) plays the KPIX station?", + "context": "create table table_1553485_1 (channel_tv___dt__ varchar, station varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select channel_tv___dt__ from table_1553485_1 where station = \"kpix\"" + }, + { + "question": "Who was the Best Male Artist where Bankie Travolta won the Best Male MC?", + "context": "create table table_22546460_4 (best_male_artist varchar, best_male_mc varchar, PRIMARY KEY (best_male_artist))", + "answer": "select best_male_artist from table_22546460_4 where best_male_mc = \"bankie travolta\"" + }, + { + "question": "What is the cross section area (cm 2) for the moment of intertia in torsion (j) (cm 4) 2.54?", + "context": "create table table_2071644_1 (cross_section_area__cm_2__ varchar, moment_of_inertia_in_torsion__j___cm_4__ varchar, PRIMARY KEY (cross_section_area__cm_2__))", + "answer": "select cross_section_area__cm_2__ from table_2071644_1 where moment_of_inertia_in_torsion__j___cm_4__ = \"2.54\"" + }, + { + "question": "How many types of valves were used on this engine that was built on 1902-05?", + "context": "create table table_25695027_1 (valves varchar, years_built varchar, PRIMARY KEY (valves))", + "answer": "select count(valves) from table_25695027_1 where years_built = \"1902-05\"" + }, + { + "question": "What was the result of the election featuring incumbent norman sisisky?", + "context": "create table table_1341423_46 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341423_46 where incumbent = \"norman sisisky\"" + }, + { + "question": "Who had the most assists agains New Orleans?", + "context": "create table table_27755603_7 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27755603_7 where team = \"new orleans\"" + }, + { + "question": "What was the final record for the game in which Dirk Nowitzki (19) had the high points?", + "context": "create table table_17288869_7 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_17288869_7 where high_points = \"dirk nowitzki (19)\"" + }, + { + "question": "Name the departure for spalding", + "context": "create table table_17200372_2 (departure varchar, going_to varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_17200372_2 where going_to = \"spalding\"" + }, + { + "question": "What was the losing hand where the winning hand was 7h 7s?", + "context": "create table table_12454156_1 (losing_hand varchar, winning_hand varchar, PRIMARY KEY (losing_hand))", + "answer": "select losing_hand from table_12454156_1 where winning_hand = \"7h 7s\"" + }, + { + "question": "What album was the song My Chariot on?", + "context": "create table table_23667534_1 (album_s_ varchar, song_s__title varchar, PRIMARY KEY (album_s_))", + "answer": "select album_s_ from table_23667534_1 where song_s__title = \"my chariot\"" + }, + { + "question": "What is shown for fri 26 aug when mon 22 aug is \u2014\u2014 no time?", + "context": "create table table_30058355_2 (fri_26_aug varchar, mon_22_aug varchar, PRIMARY KEY (fri_26_aug))", + "answer": "select fri_26_aug from table_30058355_2 where mon_22_aug = \"\u2014\u2014 no time\"" + }, + { + "question": "What is the coinage metal for a KM number of S75?", + "context": "create table table_26336060_19 (coinage_metal varchar, km_number varchar, PRIMARY KEY (coinage_metal))", + "answer": "select coinage_metal from table_26336060_19 where km_number = \"s75\"" + }, + { + "question": "What are all locations of train stations?", + "context": "create table station (location varchar, PRIMARY KEY (location))", + "answer": "select distinct location from station" + }, + { + "question": "How many tonnes of cargo did the airport have with the IATA Code IND?", + "context": "create table table_18047346_5 (tonnes varchar, iata_code varchar, PRIMARY KEY (tonnes))", + "answer": "select tonnes from table_18047346_5 where iata_code = \"ind\"" + }, + { + "question": "Name the men's singles of marina yakusheva elena shimko", + "context": "create table table_12104319_1 (mens_singles varchar, womens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_12104319_1 where womens_doubles = \"marina yakusheva elena shimko\"" + }, + { + "question": "What is the station type for the branding ABS-CBN TV-32 Tagaytay?", + "context": "create table table_2610582_2 (station_type varchar, branding varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_2610582_2 where branding = \"abs-cbn tv-32 tagaytay\"" + }, + { + "question": "Name the hdi 2012 for dominica", + "context": "create table table_26313243_1 (hdi_2012 varchar, country varchar, PRIMARY KEY (hdi_2012))", + "answer": "select hdi_2012 from table_26313243_1 where country = \"dominica\"" + }, + { + "question": "What was the 2008 election status when glenn nye was the running democrat?", + "context": "create table table_17503169_1 (democratic varchar, PRIMARY KEY (democratic))", + "answer": "select 2008 as _status from table_17503169_1 where democratic = \"glenn nye\"" + }, + { + "question": "Who was the mountain classification winner in the stage won by Alessandro Ballan?", + "context": "create table table_22917458_15 (mountains_classification_klasyfikacja_g\u00f3rska varchar, winner varchar, PRIMARY KEY (mountains_classification_klasyfikacja_g\u00f3rska))", + "answer": "select mountains_classification_klasyfikacja_g\u00f3rska from table_22917458_15 where winner = \"alessandro ballan\"" + }, + { + "question": "What is the route/via when the train name is Parasuram Express?", + "context": "create table table_29202276_2 (route_via varchar, train_name varchar, PRIMARY KEY (route_via))", + "answer": "select route_via from table_29202276_2 where train_name = \"parasuram express\"" + }, + { + "question": "What is the number of the city district of stadtteil where foreigners are 5.162?", + "context": "create table table_10992_3 (city_district__stadtteil_ varchar, foreign_nationals varchar, PRIMARY KEY (city_district__stadtteil_))", + "answer": "select count(city_district__stadtteil_) from table_10992_3 where foreign_nationals = \"5.162\"" + }, + { + "question": "In what draft round in 2012 did a player from Rio Hondo get drafted?", + "context": "create table table_20589703_2 (draft_round varchar, college varchar, draft_year varchar, PRIMARY KEY (draft_round))", + "answer": "select draft_round from table_20589703_2 where college = \"rio hondo\" and draft_year = 2012" + }, + { + "question": "What is the height of the player who attended Hartford?", + "context": "create table table_11734041_2 (height_in_ft varchar, school_club_team_country varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_2 where school_club_team_country = \"hartford\"" + }, + { + "question": "which vessel area was called for on november 30, 1970", + "context": "create table table_291768_1 (shipyard varchar, commissioned varchar, PRIMARY KEY (shipyard))", + "answer": "select shipyard from table_291768_1 where commissioned = \"november 30, 1970\"" + }, + { + "question": "When mega pass* (senior/disabled) is the type of fare what is the day pass?", + "context": "create table table_20803241_1 (day_pass varchar, type_of_fare varchar, PRIMARY KEY (day_pass))", + "answer": "select day_pass from table_20803241_1 where type_of_fare = \"mega pass* (senior/disabled)\"" + }, + { + "question": "Name the poll source for july 12, 2008", + "context": "create table table_16751596_2 (poll_source varchar, dates_administered varchar, PRIMARY KEY (poll_source))", + "answer": "select poll_source from table_16751596_2 where dates_administered = \"july 12, 2008\"" + }, + { + "question": "Name the oberliga hessen for sv sandhausen and fsv salmrohr", + "context": "create table table_14242137_4 (oberliga_hessen varchar, oberliga_baden_w\u00fcrttemberg varchar, oberliga_s\u00fcdwest varchar, PRIMARY KEY (oberliga_hessen))", + "answer": "select oberliga_hessen from table_14242137_4 where oberliga_baden_w\u00fcrttemberg = \"sv sandhausen\" and oberliga_s\u00fcdwest = \"fsv salmrohr\"" + }, + { + "question": "What is the station type of calbayog", + "context": "create table table_12547903_2 (station_type varchar, location__transmitter_site_ varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_12547903_2 where location__transmitter_site_ = \"calbayog\"" + }, + { + "question": "list names of all departments ordered by their names.", + "context": "create table department (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select dept_name from department order by dept_name" + }, + { + "question": "Who were the candidates when Sid Simpson was the incumbent?", + "context": "create table table_1342249_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342249_13 where incumbent = \"sid simpson\"" + }, + { + "question": "Name the total apps for eddie carr", + "context": "create table table_19730892_1 (total_apps integer, name varchar, PRIMARY KEY (total_apps))", + "answer": "select max(total_apps) from table_19730892_1 where name = \"eddie carr\"" + }, + { + "question": "What explosion had an altitude of 539 km?", + "context": "create table table_148578_1 (explosion varchar, altitude__km_ varchar, PRIMARY KEY (explosion))", + "answer": "select explosion from table_148578_1 where altitude__km_ = \"539\"" + }, + { + "question": "how many airports are there in each country?", + "context": "create table airport (country varchar, PRIMARY KEY (country))", + "answer": "select count(*), country from airport group by country" + }, + { + "question": "At what city or town is milepost 71.1?", + "context": "create table table_2572788_1 (town_city varchar, milepost varchar, PRIMARY KEY (town_city))", + "answer": "select town_city from table_2572788_1 where milepost = \"71.1\"" + }, + { + "question": "Who was the director when the writer was John Sullivan?", + "context": "create table table_17641206_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_17641206_4 where written_by = \"john sullivan\"" + }, + { + "question": "Show all allergy types and the number of allergies in each type.", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select allergytype, count(*) from allergy_type group by allergytype" + }, + { + "question": "What's the website of the school in Macon, Illinois?", + "context": "create table table_29612224_1 (school_website varchar, location varchar, PRIMARY KEY (school_website))", + "answer": "select school_website from table_29612224_1 where location = \"macon, illinois\"" + }, + { + "question": "which episode was Transmitted on wednesday if the episode of \"438 magic: the gathering mini masters tournament\" was transmitted on thursday?", + "context": "create table table_18173916_8 (wednesday varchar, thursday varchar, PRIMARY KEY (wednesday))", + "answer": "select wednesday from table_18173916_8 where thursday = \"438 magic: the gathering mini masters tournament\"" + }, + { + "question": "Show each location and the number of cinemas there.", + "context": "create table cinema (location varchar, PRIMARY KEY (location))", + "answer": "select location, count(*) from cinema group by location" + }, + { + "question": "List the names of people that are not entrepreneurs.", + "context": "create table entrepreneur (name varchar, people_id varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select people_id from entrepreneur)" + }, + { + "question": "which affiliation does edwin e. willis affiliate with", + "context": "create table table_1341930_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341930_18 where incumbent = \"edwin e. willis\"" + }, + { + "question": "how many types of organization were founded in san diego state university?", + "context": "create table table_2538117_2 (type varchar, founding_university varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_2538117_2 where founding_university = \"san diego state university\"" + }, + { + "question": "Why was Otago formed?", + "context": "create table table_275023_1 (reason varchar, province varchar, PRIMARY KEY (reason))", + "answer": "select reason from table_275023_1 where province = \"otago\"" + }, + { + "question": "What is the name of the product with the color description 'yellow'?", + "context": "create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_name varchar, color_code varchar, PRIMARY KEY (product_name))", + "answer": "select t1.product_name from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t2.color_description = 'yellow'" + }, + { + "question": "How similar is the genus/species sus scrofa?", + "context": "create table table_15417439_1 (similarity varchar, genus_species varchar, PRIMARY KEY (similarity))", + "answer": "select similarity from table_15417439_1 where genus_species = \"sus scrofa\"" + }, + { + "question": "At what date did the 23rd manager vacate the position?", + "context": "create table table_18795125_6 (date_of_vacancy varchar, position_in_table varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_18795125_6 where position_in_table = \"23rd\"" + }, + { + "question": "Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one?", + "context": "create table table_30060356_3 (gt3_pro___am_cup_winner varchar, gt3_pro_cup_winner varchar, PRIMARY KEY (gt3_pro___am_cup_winner))", + "answer": "select gt3_pro___am_cup_winner from table_30060356_3 where gt3_pro_cup_winner = \"no. 1 vita4one\"" + }, + { + "question": "What is the sexual abuse rate where the conflict is the Burundi Civil War?", + "context": "create table table_15652027_1 (sexual_abuse_1 integer, conflict varchar, PRIMARY KEY (sexual_abuse_1))", + "answer": "select max(sexual_abuse_1) from table_15652027_1 where conflict = \"burundi civil war\"" + }, + { + "question": "Which irrigation district has 4733 users?", + "context": "create table table_20018310_1 (irrigation_district varchar, users___number_ varchar, PRIMARY KEY (irrigation_district))", + "answer": "select irrigation_district from table_20018310_1 where users___number_ = 4733" + }, + { + "question": "Who wrote the episode which was directed by Nick Marck?", + "context": "create table table_28195898_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28195898_1 where directed_by = \"nick marck\"" + }, + { + "question": "Name the population density where population % is 1.1% for slovakia", + "context": "create table table_1606824_1 (pop_density_people_km_2 varchar, population__percentage_of_eu varchar, member_state varchar, PRIMARY KEY (pop_density_people_km_2))", + "answer": "select pop_density_people_km_2 from table_1606824_1 where population__percentage_of_eu = \"1.1%\" and member_state = \"slovakia\"" + }, + { + "question": "Which specific dates encompass the time period when \"The Show Girl Must Go On\" showed a gross sales figure total of $2,877,906?", + "context": "create table table_22123920_4 (dates__mdy_ varchar, gross_sales varchar, PRIMARY KEY (dates__mdy_))", + "answer": "select dates__mdy_ from table_22123920_4 where gross_sales = \"$2,877,906\"" + }, + { + "question": "What is the minimum if 40 to 44?", + "context": "create table table_16457934_5 (id varchar, PRIMARY KEY (id))", + "answer": "select min(40 as _to_44) from table_16457934_5" + }, + { + "question": "Where is Robert Morris University-Illinois held?", + "context": "create table table_27361255_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_27361255_1 where institution = \"robert morris university-illinois\"" + }, + { + "question": "Find employee with ID and name of the country presently where (s)he is working.", + "context": "create table countries (country_name varchar, country_id varchar, PRIMARY KEY (country_name)); create table departments (department_id varchar, location_id varchar, PRIMARY KEY (department_id)); create table locations (location_id varchar, country_id varchar, PRIMARY KEY (location_id)); create table employees (employee_id varchar, department_id varchar, PRIMARY KEY (employee_id))", + "answer": "select t1.employee_id, t4.country_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id join locations as t3 on t2.location_id = t3.location_id join countries as t4 on t3.country_id = t4.country_id" + }, + { + "question": "On how many locations is the Saint Joseph's College of Maine located?", + "context": "create table table_1973816_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_1973816_1 where institution = \"saint joseph's college of maine\"" + }, + { + "question": "Who was the high rebounds of team @ Detroit?", + "context": "create table table_27721131_10 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27721131_10 where team = \"@ detroit\"" + }, + { + "question": "What is every original language for book series Little House on the Prairie?", + "context": "create table table_2512935_8 (original_language varchar, book_series varchar, PRIMARY KEY (original_language))", + "answer": "select original_language from table_2512935_8 where book_series = \"little house on the prairie\"" + }, + { + "question": "Who directed the episode for s02 e08?", + "context": "create table table_16384596_4 (directed_by varchar, broadcast_order varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_16384596_4 where broadcast_order = \"s02 e08\"" + }, + { + "question": "How many opponents did the Sun Devils play when they scored 41 points?", + "context": "create table table_21007615_1 (opponent varchar, sun_devils_points varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_21007615_1 where sun_devils_points = 41" + }, + { + "question": "What is the version when the compatible reposityory is xubuntu 10.04", + "context": "create table table_27329061_2 (version varchar, compatible_repository varchar, PRIMARY KEY (version))", + "answer": "select version from table_27329061_2 where compatible_repository = \"xubuntu 10.04\"" + }, + { + "question": "What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki?", + "context": "create table table_23465864_6 (wed_26_aug varchar, rider varchar, PRIMARY KEY (wed_26_aug))", + "answer": "select wed_26_aug from table_23465864_6 where rider = \"andrew farrell 400cc kawasaki\"" + }, + { + "question": "When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?", + "context": "create table table_24620684_2 (clean_electric_grid_california__san_francisco_ varchar, vehicle varchar, PRIMARY KEY (clean_electric_grid_california__san_francisco_))", + "answer": "select count(clean_electric_grid_california__san_francisco_) from table_24620684_2 where vehicle = \"bmw activee\"" + }, + { + "question": "Who was in 2nd leg when Boca Juniors was in home (1st leg)?", + "context": "create table table_14219514_1 (home__1st_leg_ varchar, PRIMARY KEY (home__1st_leg_))", + "answer": "select 2 as nd_leg from table_14219514_1 where home__1st_leg_ = \"boca juniors\"" + }, + { + "question": "What nation had the athlete sebastian coe category:articles with hcards?", + "context": "create table table_22355_11 (nation varchar, athlete varchar, PRIMARY KEY (nation))", + "answer": "select nation from table_22355_11 where athlete = \"sebastian coe category:articles with hcards\"" + }, + { + "question": "Who sanctioned the event at fayette county speedway?", + "context": "create table table_16275828_4 (sanction varchar, track_name varchar, PRIMARY KEY (sanction))", + "answer": "select sanction from table_16275828_4 where track_name = \"fayette county speedway\"" + }, + { + "question": "what is the powertrain (engine/transmission) when the order year is 2000?", + "context": "create table table_10007452_3 (powertrain__engine_transmission_ varchar, order_year varchar, PRIMARY KEY (powertrain__engine_transmission_))", + "answer": "select powertrain__engine_transmission_ from table_10007452_3 where order_year = \"2000\"" + }, + { + "question": "What is the Obama# when McCain% is 64.4%?", + "context": "create table table_20750731_1 (obama_number integer, mccain_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select max(obama_number) from table_20750731_1 where mccain_percentage = \"64.4%\"" + }, + { + "question": "What is the coupon that has an issuer of Commerzbank AG?", + "context": "create table table_21692771_1 (coupon varchar, issuer varchar, PRIMARY KEY (coupon))", + "answer": "select coupon from table_21692771_1 where issuer = \"commerzbank ag\"" + }, + { + "question": "Who was the GTO winning team when the TO winning team was #84 Camaro?", + "context": "create table table_13642023_2 (gto_winning_team varchar, to_winning_team varchar, PRIMARY KEY (gto_winning_team))", + "answer": "select gto_winning_team from table_13642023_2 where to_winning_team = \"#84 camaro\"" + }, + { + "question": "What was the score for the home team when the away team was Sydney?", + "context": "create table table_16388398_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388398_1 where away_team = \"sydney\"" + }, + { + "question": "Who were the crews on the flight up of Soyuz T-3?", + "context": "create table table_245800_2 (crew varchar, flight_up varchar, PRIMARY KEY (crew))", + "answer": "select crew from table_245800_2 where flight_up = \"soyuz t-3\"" + }, + { + "question": "When 61 is the entries what is the winning boat?", + "context": "create table table_24673710_1 (winning_boat varchar, entries varchar, PRIMARY KEY (winning_boat))", + "answer": "select winning_boat from table_24673710_1 where entries = 61" + }, + { + "question": "what's the\u00a0success\u00a0where\u00a0deadline for completion\u00a0is october 7, 2007", + "context": "create table table_12078626_1 (success varchar, deadline_for_completion varchar, PRIMARY KEY (success))", + "answer": "select success from table_12078626_1 where deadline_for_completion = \"october 7, 2007\"" + }, + { + "question": "What sport had a final score of 3-2?", + "context": "create table table_10548224_1 (sport varchar, final_score varchar, PRIMARY KEY (sport))", + "answer": "select sport from table_10548224_1 where final_score = \"3-2\"" + }, + { + "question": "If the rings number is 60.000, what is the number for the vault?", + "context": "create table table_18662026_1 (vault varchar, rings varchar, PRIMARY KEY (vault))", + "answer": "select count(vault) from table_18662026_1 where rings = \"60.000\"" + }, + { + "question": "What is every value for % 40-59 if % 60-74 is 12,42%?", + "context": "create table table_23606500_4 (_percentage_40_59 varchar, _percentage_60_74 varchar, PRIMARY KEY (_percentage_40_59))", + "answer": "select _percentage_40_59 from table_23606500_4 where _percentage_60_74 = \"12,42%\"" + }, + { + "question": "If the name is Steamboat, what is the top elevation?", + "context": "create table table_25762852_1 (top_elevation__feet_ varchar, name varchar, PRIMARY KEY (top_elevation__feet_))", + "answer": "select top_elevation__feet_ from table_25762852_1 where name = \"steamboat\"" + }, + { + "question": "What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?", + "context": "create table table_23465864_4 (sat_29_aug varchar, tues_25_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_23465864_4 where tues_25_aug = \"23' 18.82 97.102mph\"" + }, + { + "question": "What was the record for the game where the cardinals scored 7 points?", + "context": "create table table_20928649_1 (record varchar, cardinals_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_20928649_1 where cardinals_points = 7" + }, + { + "question": "What date was the 6d introduced?", + "context": "create table table_1682865_1 (introduction varchar, numeral varchar, PRIMARY KEY (introduction))", + "answer": "select introduction from table_1682865_1 where numeral = \"6d\"" + }, + { + "question": "Who did the fastest lap at Watkins glen?", + "context": "create table table_1140082_2 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1140082_2 where location = \"watkins glen\"" + }, + { + "question": "Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?", + "context": "create table table_12171145_1 (mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12171145_1 where womens_doubles = \"anastasia chervyakova romina gabdullina\"" + }, + { + "question": "Name the colors for north canton", + "context": "create table table_26466528_1 (colors varchar, location varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_26466528_1 where location = \"north canton\"" + }, + { + "question": "What is the canton of grande dixence?", + "context": "create table table_10020178_1 (canton varchar, name varchar, PRIMARY KEY (canton))", + "answer": "select canton from table_10020178_1 where name = \"grande dixence\"" + }, + { + "question": "Who was in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast?", + "context": "create table table_24353141_1 (original_3rd_us_tour_cast varchar, original_1st_us_tour_cast varchar, PRIMARY KEY (original_3rd_us_tour_cast))", + "answer": "select original_3rd_us_tour_cast from table_24353141_1 where original_1st_us_tour_cast = \"scott j. campbell\"" + }, + { + "question": "What's the sub-parish (sokn) of Eikefjord?", + "context": "create table table_178381_1 (sub_parish__sokn_ varchar, location_of_the_church varchar, PRIMARY KEY (sub_parish__sokn_))", + "answer": "select sub_parish__sokn_ from table_178381_1 where location_of_the_church = \"eikefjord\"" + }, + { + "question": "Who wrote the episode that aired on April 17, 2011?", + "context": "create table table_11111116_6 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_11111116_6 where original_air_date = \"april 17, 2011\"" + }, + { + "question": "What's the nationality of the player coming from Edmonton Oil Kings (WCHL)?", + "context": "create table table_1965650_4 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1965650_4 where college_junior_club_team = \"edmonton oil kings (wchl)\"" + }, + { + "question": "What are the themes and locations of parties?", + "context": "create table party (party_theme varchar, location varchar, PRIMARY KEY (party_theme))", + "answer": "select party_theme, location from party" + }, + { + "question": "What is the title of ISBN 1-84990-243-7?", + "context": "create table table_2950964_1 (title varchar, isbn varchar, PRIMARY KEY (title))", + "answer": "select title from table_2950964_1 where isbn = \"isbn 1-84990-243-7\"" + }, + { + "question": "What is the nationality of the player whose college/junior/club team (league) is Seattle Thunderbirds (WHL)?", + "context": "create table table_14209245_9 (nationality varchar, college_junior_club_team__league_ varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_14209245_9 where college_junior_club_team__league_ = \"seattle thunderbirds (whl)\"" + }, + { + "question": "Find the id and location of circuits that belong to France or Belgium?", + "context": "create table circuits (circuitid varchar, location varchar, country varchar, PRIMARY KEY (circuitid))", + "answer": "select circuitid, location from circuits where country = \"france\" or country = \"belgium\"" + }, + { + "question": "List all countries of markets in ascending alphabetical order.", + "context": "create table market (country varchar, PRIMARY KEY (country))", + "answer": "select country from market order by country" + }, + { + "question": "Show names of all high school students who do not have any friends.", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table highschooler (name varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select name from highschooler except select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id" + }, + { + "question": "Find the first name of students who have cat or dog pet.", + "context": "create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid))", + "answer": "select distinct t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' or t3.pettype = 'dog'" + }, + { + "question": "Name the round eliminated where conference record is 12-6", + "context": "create table table_16295365_2 (round_eliminated varchar, conf_record varchar, PRIMARY KEY (round_eliminated))", + "answer": "select round_eliminated from table_16295365_2 where conf_record = \"12-6\"" + }, + { + "question": "How many challenge leaders were there of the games won by virginia (87-79)?", + "context": "create table table_29535057_4 (challenge_leader varchar, winner varchar, PRIMARY KEY (challenge_leader))", + "answer": "select count(challenge_leader) from table_29535057_4 where winner = \"virginia (87-79)\"" + }, + { + "question": "What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo?", + "context": "create table table_2490289_1 (pc_intro varchar, amiga_demo varchar, PRIMARY KEY (pc_intro))", + "answer": "select pc_intro from table_2490289_1 where amiga_demo = \"my kingdom (haujobb & scoopex)\"" + }, + { + "question": "Find the last name of the staff whose email address contains \"wrau\".", + "context": "create table staff (last_name varchar, email_address varchar, PRIMARY KEY (last_name))", + "answer": "select last_name from staff where email_address like \"%wrau%\"" + }, + { + "question": "Name the date of appointment for 26 may 2011", + "context": "create table table_27666856_3 (date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select count(date_of_appointment) from table_27666856_3 where date_of_vacancy = \"26 may 2011\"" + }, + { + "question": "Who was the outgoing manager when the incoming manager was jo\u00e3o pereira?", + "context": "create table table_17933600_2 (outgoing_manage varchar, incoming_manager varchar, PRIMARY KEY (outgoing_manage))", + "answer": "select outgoing_manage from table_17933600_2 where incoming_manager = \"jo\u00e3o pereira\"" + }, + { + "question": "What is the withdrawal rate for the school district with a graduation rate of 89.3%?", + "context": "create table table_21514460_1 (withdrawal_rate__2010_11_ varchar, graduation_rate__2011_12_ varchar, PRIMARY KEY (withdrawal_rate__2010_11_))", + "answer": "select withdrawal_rate__2010_11_ from table_21514460_1 where graduation_rate__2011_12_ = \"89.3%\"" + }, + { + "question": "What are the id of students who registered courses or attended courses?", + "context": "create table student_course_attendance (student_id varchar, PRIMARY KEY (student_id)); create table student_course_registrations (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from student_course_registrations union select student_id from student_course_attendance" + }, + { + "question": "When was the date of appointment for the manager replacing Wim Jansen?", + "context": "create table table_16075179_6 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_16075179_6 where outgoing_manager = \"wim jansen\"" + }, + { + "question": "what is november 3 when june 10-11 is june 10, 1964?", + "context": "create table table_25355392_2 (november_3 varchar, june_10_11 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25355392_2 where june_10_11 = \"june 10, 1964\"" + }, + { + "question": "Who were the umpires when Paul Medhurst (C) won the Simpson Medal?", + "context": "create table table_13514348_7 (umpires varchar, simpson_medal varchar, PRIMARY KEY (umpires))", + "answer": "select umpires from table_13514348_7 where simpson_medal = \"paul medhurst (c)\"" + }, + { + "question": "Who is the manufacturer when 150.088 is the average speed (mph)?", + "context": "create table table_2226343_1 (manufacturer varchar, average_speed__mph_ varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_2226343_1 where average_speed__mph_ = \"150.088\"" + }, + { + "question": "Name the name for company d", + "context": "create table table_25794010_1 (name varchar, company varchar, PRIMARY KEY (name))", + "answer": "select name from table_25794010_1 where company = \"company d\"" + }, + { + "question": "How many entries are in barony when the townland is derrigra?", + "context": "create table table_30121075_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select count(barony) from table_30121075_1 where townland = \"derrigra\"" + }, + { + "question": "Show the home city with the most number of drivers.", + "context": "create table driver (home_city varchar, PRIMARY KEY (home_city))", + "answer": "select home_city from driver group by home_city order by count(*) desc limit 1" + }, + { + "question": "When 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there?", + "context": "create table table_29538735_1 (tonnes_of_co2_saved varchar, _percentage_electricity_reduction varchar, PRIMARY KEY (tonnes_of_co2_saved))", + "answer": "select count(tonnes_of_co2_saved) from table_29538735_1 where _percentage_electricity_reduction = \"8.9%\"" + }, + { + "question": "How much parking is in Van Nuys at the Sepulveda station?", + "context": "create table table_2093995_1 (parking varchar, city__neighborhood varchar, stations varchar, PRIMARY KEY (parking))", + "answer": "select parking from table_2093995_1 where city__neighborhood = \"van nuys\" and stations = \"sepulveda\"" + }, + { + "question": "Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?", + "context": "create table table_23157997_13 (winner varchar, mountains_classification varchar, points_classification varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_23157997_13 where mountains_classification = \"tom zirbel\" and points_classification = \"thomas soladay\"" + }, + { + "question": "What 2011 GDP (PPP) billions of USD does Iraq have?", + "context": "create table table_2248784_4 (country varchar, PRIMARY KEY (country))", + "answer": "select 2011 as _gdp__ppp__billions_of_usd from table_2248784_4 where country = \"iraq\"" + }, + { + "question": "What party was Dewey Short associated with?", + "context": "create table table_1342198_25 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342198_25 where incumbent = \"dewey short\"" + }, + { + "question": "What seat does \u043f\u043b\u043e\u0446\u043a\u0430\u044f \u0433\u0443\u0431\u0435\u0440\u043d\u0438\u044f hold?", + "context": "create table table_11614581_3 (seat varchar, name_in_russian varchar, PRIMARY KEY (seat))", + "answer": "select seat from table_11614581_3 where name_in_russian = \"\u043f\u043b\u043e\u0446\u043a\u0430\u044f \u0433\u0443\u0431\u0435\u0440\u043d\u0438\u044f\"" + }, + { + "question": "What is the location of the car that has a constructor of Lorraine-Dietrich?", + "context": "create table table_18893428_1 (location varchar, constructor varchar, PRIMARY KEY (location))", + "answer": "select location from table_18893428_1 where constructor = \"lorraine-dietrich\"" + }, + { + "question": "What are the distinct billing countries of the invoices?", + "context": "create table invoice (billingcountry varchar, PRIMARY KEY (billingcountry))", + "answer": "select distinct (billingcountry) from invoice" + }, + { + "question": "Find the id of instructors who didn't teach any courses?", + "context": "create table teaches (id varchar, PRIMARY KEY (id)); create table instructor (id varchar, PRIMARY KEY (id))", + "answer": "select id from instructor except select id from teaches" + }, + { + "question": "What is the theme for the original artist Alicia Keys?", + "context": "create table table_26250145_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_26250145_1 where original_artist = \"alicia keys\"" + }, + { + "question": "when did 14.55 people watch?", + "context": "create table table_26565917_2 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26565917_2 where us_viewers__millions_ = \"14.55\"" + }, + { + "question": "What class year was the player whose highlights were 35 career INTs from?", + "context": "create table table_22982552_9 (class_year integer, highlight_s_ varchar, PRIMARY KEY (class_year))", + "answer": "select min(class_year) from table_22982552_9 where highlight_s_ = \"35 career ints\"" + }, + { + "question": "What is every TV network in Belgium?", + "context": "create table table_18821196_1 (tv_network_s_ varchar, country varchar, PRIMARY KEY (tv_network_s_))", + "answer": "select tv_network_s_ from table_18821196_1 where country = \"belgium\"" + }, + { + "question": "Find the total ranking points for each player and their first name.", + "context": "create table players (first_name varchar, player_id varchar, PRIMARY KEY (first_name)); create table rankings (player_id varchar, PRIMARY KEY (player_id))", + "answer": "select sum(ranking_points), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name" + }, + { + "question": "Who is in class during 1995-96?", + "context": "create table table_15315103_1 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa))", + "answer": "select class_aaaaa from table_15315103_1 where school_year = \"1995-96\"" + }, + { + "question": "What record was reached when the Eagles played the Phoenix Cardinals?", + "context": "create table table_16678052_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_16678052_2 where opponent = \"phoenix cardinals\"" + }, + { + "question": "What timeslot received 0.673 viewers?", + "context": "create table table_23392257_4 (timeslot varchar, viewers__millions_ varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_23392257_4 where viewers__millions_ = \"0.673\"" + }, + { + "question": "List all the services in the alphabetical order.", + "context": "create table services (service_name varchar, PRIMARY KEY (service_name))", + "answer": "select service_name from services order by service_name" + }, + { + "question": "Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff.", + "context": "create table staff (staff_name varchar, staff_gender varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table staff_department_assignments (staff_id varchar, job_title_code varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.staff_name, t1.staff_gender from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id where t2.job_title_code = \"sales person\" except select t1.staff_name, t1.staff_gender from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id where t2.job_title_code = \"clerical staff\"" + }, + { + "question": "who had all the high rebounds when high assists is by dwyane wade (9)", + "context": "create table table_13762472_4 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13762472_4 where high_assists = \"dwyane wade (9)\"" + }, + { + "question": "When falcons are the nickname what is the type?", + "context": "create table table_262495_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_262495_1 where nickname = \"falcons\"" + }, + { + "question": "List the possible children per donor levels for countries where the allowed recipients is no data.", + "context": "create table table_16175217_1 (children_per_donor varchar, allowed_recipients varchar, PRIMARY KEY (children_per_donor))", + "answer": "select children_per_donor from table_16175217_1 where allowed_recipients = \"no data\"" + }, + { + "question": "what is the circuit where the fastest lap is sam lowes and the winning rider is luca scassa?", + "context": "create table table_29686983_1 (circuit varchar, fastest_lap varchar, winning_rider varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_29686983_1 where fastest_lap = \"sam lowes\" and winning_rider = \"luca scassa\"" + }, + { + "question": "How many different services are provided by all stations?", + "context": "create table station (services varchar, PRIMARY KEY (services))", + "answer": "select count(distinct services) from station" + }, + { + "question": "When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?", + "context": "create table table_14319023_2 (boys_doubles varchar, girls_doubles varchar, PRIMARY KEY (boys_doubles))", + "answer": "select boys_doubles from table_14319023_2 where girls_doubles = \"ayu pratiwi anggi widia\"" + }, + { + "question": "What is the origin of the name of Keller Patera?", + "context": "create table table_16799784_8 (name varchar, PRIMARY KEY (name))", + "answer": "select name as origin from table_16799784_8 where name = \"keller patera\"" + }, + { + "question": "What does the word \"frog\"in English translate to in Italian?", + "context": "create table table_2077192_2 (italian varchar, english varchar, PRIMARY KEY (italian))", + "answer": "select italian from table_2077192_2 where english = \"frog\"" + }, + { + "question": "When renewable electricity is 5760 (gw\u00d7h) what is the minimum amount of renewable elecrrixity without hydrogen power?", + "context": "create table table_25244412_1 (renewable_electricity_w_o_hydro__gw integer, renewable_electricity__gw\u2022h_ varchar, PRIMARY KEY (renewable_electricity_w_o_hydro__gw))", + "answer": "select min(renewable_electricity_w_o_hydro__gw) as \u2022h_ from table_25244412_1 where renewable_electricity__gw\u2022h_ = 5760" + }, + { + "question": "How many different riders are there that won riding Omr Tsunami?", + "context": "create table table_27833186_1 (rider_names varchar, horse_name varchar, PRIMARY KEY (rider_names))", + "answer": "select count(rider_names) from table_27833186_1 where horse_name = \"omr tsunami\"" + }, + { + "question": "What is the all games for Maryland?", + "context": "create table table_16372244_1 (all_games varchar, team varchar, PRIMARY KEY (all_games))", + "answer": "select all_games from table_16372244_1 where team = \"maryland\"" + }, + { + "question": "Find the names of customers whose name contains \"Diana\".", + "context": "create table customers (customer_details varchar, PRIMARY KEY (customer_details))", + "answer": "select customer_details from customers where customer_details like \"%diana%\"" + }, + { + "question": "When id the episode broadcast with Mark Webber as Jamie and John's guest?", + "context": "create table table_29141354_4 (first_broadcast varchar, jamie_and_johns_guest varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_29141354_4 where jamie_and_johns_guest = \"mark webber\"" + }, + { + "question": "List the description of all the colors.", + "context": "create table ref_colors (color_description varchar, PRIMARY KEY (color_description))", + "answer": "select color_description from ref_colors" + }, + { + "question": "What is the semifinals for the light flyweight event?", + "context": "create table table_27294107_11 (semifinals varchar, event varchar, PRIMARY KEY (semifinals))", + "answer": "select semifinals from table_27294107_11 where event = \"light flyweight\"" + }, + { + "question": "When is every date that control site condition or owner is machine shop on Martin Dr.?", + "context": "create table table_22282917_26 (dates varchar, control_site_condition_owner varchar, PRIMARY KEY (dates))", + "answer": "select dates from table_22282917_26 where control_site_condition_owner = \"machine shop on martin dr.\"" + }, + { + "question": "Which film has the highest rental rate? And what is the rate?", + "context": "create table film (title varchar, rental_rate varchar, PRIMARY KEY (title))", + "answer": "select title, rental_rate from film order by rental_rate desc limit 1" + }, + { + "question": "Who is the round winner of the wanneroo park circuit?", + "context": "create table table_19886463_1 (round_winner varchar, circuit varchar, PRIMARY KEY (round_winner))", + "answer": "select round_winner from table_19886463_1 where circuit = \"wanneroo park\"" + }, + { + "question": "In what municipality were there 757.5 people per km2?", + "context": "create table table_216776_2 (municipality varchar, pop_density__per_km\u00b2_ varchar, PRIMARY KEY (municipality))", + "answer": "select municipality from table_216776_2 where pop_density__per_km\u00b2_ = \"757.5\"" + }, + { + "question": "Who had the pole position at the German Grand Prix?", + "context": "create table table_1137718_2 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1137718_2 where grand_prix = \"german grand_prix\"" + }, + { + "question": "How many directors worked on the episode written by Brent Fletcher & Miranda Kwok?", + "context": "create table table_23918997_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_23918997_1 where written_by = \"brent fletcher & miranda kwok\"" + }, + { + "question": "find the name of all departments that do actually have one or more employees assigned to them.", + "context": "create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name)); create table employees (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select distinct t2.department_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id" + }, + { + "question": "when does the train arriving at stamford east at 11.45 departure", + "context": "create table table_18333678_2 (departure varchar, arrival varchar, going_to varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18333678_2 where arrival = \"11.45\" and going_to = \"stamford east\"" + }, + { + "question": "Name the chairman for iker casillas", + "context": "create table table_29398373_2 (chairman varchar, captain varchar, PRIMARY KEY (chairman))", + "answer": "select chairman from table_29398373_2 where captain = \"iker casillas\"" + }, + { + "question": "WHAT TOWN IS WEST BROOK SENIOR HIGH SCHOOL FROM?", + "context": "create table table_11677100_11 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677100_11 where school = \"west brook senior high school\"" + }, + { + "question": "How many drivers were there for Samax Motorsport?", + "context": "create table table_17319931_1 (driver varchar, team varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_17319931_1 where team = \"samax motorsport\"" + }, + { + "question": "How many different percentages of immigrants in 2006 can there be for Morocco?", + "context": "create table table_23619212_1 (_percentage_of_all_immigrants_2006 varchar, country varchar, PRIMARY KEY (_percentage_of_all_immigrants_2006))", + "answer": "select count(_percentage_of_all_immigrants_2006) from table_23619212_1 where country = \"morocco\"" + }, + { + "question": "What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8", + "context": "create table table_101336_1 (notation varchar, crystal_structure varchar, formula varchar, PRIMARY KEY (notation))", + "answer": "select notation from table_101336_1 where crystal_structure = \"tetragonal\" and formula = \"bi 2 sr 2 cacu 2 o 8\"" + }, + { + "question": "List all the types of forms.", + "context": "create table forms (form_type_code varchar, PRIMARY KEY (form_type_code))", + "answer": "select distinct form_type_code from forms" + }, + { + "question": "When using a .375 Remington Ultra Magnum, what is the muzzle velocity?", + "context": "create table table_16010376_1 (muzzle_velocity varchar, cartridge varchar, PRIMARY KEY (muzzle_velocity))", + "answer": "select muzzle_velocity from table_16010376_1 where cartridge = \".375 remington ultra magnum\"" + }, + { + "question": "What arena was season 6 played at?", + "context": "create table table_14015965_1 (arena__capacity_ varchar, previous_season varchar, PRIMARY KEY (arena__capacity_))", + "answer": "select arena__capacity_ from table_14015965_1 where previous_season = \"6\"" + }, + { + "question": "How many parties is Tom Foley a member of?", + "context": "create table table_1341568_48 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341568_48 where incumbent = \"tom foley\"" + }, + { + "question": "How many people wrote the episode directed by Arvin Brown?", + "context": "create table table_30030227_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_30030227_1 where directed_by = \"arvin brown\"" + }, + { + "question": "What is the upstream speed that you get for 89 tl?", + "context": "create table table_17304621_14 (upstream varchar, price_tl varchar, PRIMARY KEY (upstream))", + "answer": "select upstream from table_17304621_14 where price_tl = \"89 tl\"" + }, + { + "question": "Who previously attended south kent school / brentwood hs?", + "context": "create table table_29050051_3 (name varchar, previous_school varchar, PRIMARY KEY (name))", + "answer": "select name from table_29050051_3 where previous_school = \"south kent school / brentwood hs\"" + }, + { + "question": "List the name, location, mascot for all schools.", + "context": "create table school (school_name varchar, location varchar, mascot varchar, PRIMARY KEY (school_name))", + "answer": "select school_name, location, mascot from school" + }, + { + "question": "Show the company name with the number of gas station.", + "context": "create table station_company (company_id varchar, PRIMARY KEY (company_id)); create table company (company varchar, company_id varchar, PRIMARY KEY (company))", + "answer": "select t2.company, count(*) from station_company as t1 join company as t2 on t1.company_id = t2.company_id group by t1.company_id" + }, + { + "question": "What is the average start for the season with $7,220 in winnings?", + "context": "create table table_1637041_6 (avg_start varchar, winnings varchar, PRIMARY KEY (avg_start))", + "answer": "select avg_start from table_1637041_6 where winnings = \"$7,220\"" + }, + { + "question": "Name the classification for 9, 9, 8, 9", + "context": "create table table_21829580_1 (classification__judges_ varchar, detailed_grades varchar, PRIMARY KEY (classification__judges_))", + "answer": "select classification__judges_ from table_21829580_1 where detailed_grades = \"9, 9, 8, 9\"" + }, + { + "question": "Where does the judge whose court is in Groton reside?", + "context": "create table table_26758262_1 (judges_residence varchar, location_of_court varchar, PRIMARY KEY (judges_residence))", + "answer": "select judges_residence from table_26758262_1 where location_of_court = \"groton\"" + }, + { + "question": "Which country (exonym) is the country (endonym) isle of man ellan vannin?", + "context": "create table table_1008653_9 (country___exonym__ varchar, country___endonym__ varchar, PRIMARY KEY (country___exonym__))", + "answer": "select country___exonym__ from table_1008653_9 where country___endonym__ = \"isle of man ellan vannin\"" + }, + { + "question": "What was the branding in Dagupan?", + "context": "create table table_12547903_3 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_12547903_3 where location = \"dagupan\"" + }, + { + "question": "when the value (int $1000) is 409566, what is the commodity?", + "context": "create table table_21109892_1 (commodity varchar, value__int_$1000_ varchar, PRIMARY KEY (commodity))", + "answer": "select commodity from table_21109892_1 where value__int_$1000_ = 409566" + }, + { + "question": "How many book clubs are there?", + "context": "create table book_club (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from book_club" + }, + { + "question": "Who is the composer of track Fast As a Shark?", + "context": "create table tracks (composer varchar, name varchar, PRIMARY KEY (composer))", + "answer": "select composer from tracks where name = \"fast as a shark\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being ben cravens (d) unopposed", + "context": "create table table_1342331_5 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342331_5 where candidates = \"ben cravens (d) unopposed\"" + }, + { + "question": "What is the flange thickness (mm) for the weight (kg/m) 10.4?", + "context": "create table table_2071644_1 (flange_thickness__mm_ varchar, weight__kg_m_ varchar, PRIMARY KEY (flange_thickness__mm_))", + "answer": "select flange_thickness__mm_ from table_2071644_1 where weight__kg_m_ = \"10.4\"" + }, + { + "question": "what is the school for chris mcnamara?", + "context": "create table table_29598261_1 (last_school_college varchar, name varchar, PRIMARY KEY (last_school_college))", + "answer": "select last_school_college from table_29598261_1 where name = \"chris mcnamara\"" + }, + { + "question": "what is the owner of the callsign wliw", + "context": "create table table_1979203_1 (owner varchar, callsign varchar, PRIMARY KEY (owner))", + "answer": "select owner from table_1979203_1 where callsign = \"wliw\"" + }, + { + "question": "What circuit is the Vi Rhein-Pokalrennen race in?", + "context": "create table table_1140090_6 (circuit varchar, race_name varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_1140090_6 where race_name = \"vi rhein-pokalrennen\"" + }, + { + "question": "Find the dates on which more than one revisions were made.", + "context": "create table catalogs (date_of_latest_revision varchar, PRIMARY KEY (date_of_latest_revision))", + "answer": "select date_of_latest_revision from catalogs group by date_of_latest_revision having count(*) > 1" + }, + { + "question": "When hale irwin is the winner what is the margin of victory?", + "context": "create table table_2417741_1 (margin_of_victory varchar, winner varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_2417741_1 where winner = \"hale irwin\"" + }, + { + "question": "Which team has the home average of 18125?", + "context": "create table table_27094070_4 (team varchar, home_avg varchar, PRIMARY KEY (team))", + "answer": "select team from table_27094070_4 where home_avg = 18125" + }, + { + "question": "What was the Sat 21 Aug time for the driver whose Thurs 26 Aug time was 20' 56.01 108.143mph?", + "context": "create table table_26986076_6 (sat_21_aug varchar, thurs_26_aug varchar, PRIMARY KEY (sat_21_aug))", + "answer": "select sat_21_aug from table_26986076_6 where thurs_26_aug = \"20' 56.01 108.143mph\"" + }, + { + "question": "Who wrote the episodes with 7.70 u.s. viewers (million) ?", + "context": "create table table_27117365_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27117365_1 where us_viewers__million_ = \"7.70\"" + }, + { + "question": "How many people directed the show written by Chris Sheridan?", + "context": "create table table_14724369_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_14724369_1 where written_by = \"chris sheridan\"" + }, + { + "question": "List the original air date for week 5.", + "context": "create table table_22904780_1 (original_air_date varchar, rank__week_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_22904780_1 where rank__week_ = 5" + }, + { + "question": "All high points are team new york.", + "context": "create table table_17080868_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17080868_8 where team = \"new york\"" + }, + { + "question": "Name the high rebounds for 17-33", + "context": "create table table_23274514_7 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23274514_7 where record = \"17-33\"" + }, + { + "question": "When turquoise is the map colour how many avg. trips per mile (\u00d71000) are there?", + "context": "create table table_17839_1 (avg_trips_per_mile__ varchar, map_colour varchar, PRIMARY KEY (avg_trips_per_mile__))", + "answer": "select count(avg_trips_per_mile__) as \u00d71000_ from table_17839_1 where map_colour = \"turquoise\"" + }, + { + "question": "What is the area of Colonsay Island?", + "context": "create table table_143579_1 (area___ha__ integer, island varchar, PRIMARY KEY (area___ha__))", + "answer": "select min(area___ha__) from table_143579_1 where island = \"colonsay\"" + }, + { + "question": "How many entries for district home are listed for the 87th congress?", + "context": "create table table_2841865_2 (district_home varchar, congress varchar, PRIMARY KEY (district_home))", + "answer": "select count(district_home) from table_2841865_2 where congress = \"87th\"" + }, + { + "question": "WHen jaime aff and christine langner are the performers what is the subject?", + "context": "create table table_191105_3 (subject varchar, performed_by varchar, PRIMARY KEY (subject))", + "answer": "select subject from table_191105_3 where performed_by = \"jaime aff and christine langner\"" + }, + { + "question": "How many times was the background self-employed - media agency?", + "context": "create table table_26263322_1 (candidate varchar, background varchar, PRIMARY KEY (candidate))", + "answer": "select count(candidate) from table_26263322_1 where background = \"self-employed - media agency\"" + }, + { + "question": "which club was in toronto 2003-06", + "context": "create table table_10015132_16 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_16 where years_in_toronto = \"2003-06\"" + }, + { + "question": "What was the first leg result in the round against Norchi Dinamoeli?", + "context": "create table table_20086138_1 (first_leg varchar, opposition varchar, PRIMARY KEY (first_leg))", + "answer": "select first_leg from table_20086138_1 where opposition = \"norchi dinamoeli\"" + }, + { + "question": "What is the effective date of the claim that has the largest amount of total settlement?", + "context": "create table settlements (claim_id varchar, settlement_amount integer, PRIMARY KEY (claim_id)); create table claims (effective_date varchar, claim_id varchar, PRIMARY KEY (effective_date))", + "answer": "select t1.effective_date from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id order by sum(t2.settlement_amount) desc limit 1" + }, + { + "question": "How many teams finished in 8th in 2008?", + "context": "create table table_20140132_1 (team varchar, position_in_2008 varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_20140132_1 where position_in_2008 = \"8th\"" + }, + { + "question": "What was spent per voter when the spent per vote was 20.07?", + "context": "create table table_22097588_9 (spent_per_voter___php__ varchar, spent_per_vote___php__ varchar, PRIMARY KEY (spent_per_voter___php__))", + "answer": "select spent_per_voter___php__ from table_22097588_9 where spent_per_vote___php__ = \"20.07\"" + }, + { + "question": "How many dar are in germany?", + "context": "create table table_15887683_15 (dar varchar, country varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_15 where country = \"germany\"" + }, + { + "question": "What is every composition name when the music library is Heart of Asia and media type is album with the Trance genre?", + "context": "create table table_23829490_1 (composition_name varchar, genre varchar, music_library varchar, media_type varchar, PRIMARY KEY (composition_name))", + "answer": "select composition_name from table_23829490_1 where music_library = \"heart of asia\" and media_type = \"album\" and genre = \"trance\"" + }, + { + "question": "What is the clock multiplier if the voltage range (v) is 3.3 - 3.6; input clock (mhz) is 33 x 3 / 50 x 2; and part number is a80486dx4-100?", + "context": "create table table_15261_1 (clock_multiplier varchar, part_number varchar, voltage_range__v_ varchar, input_clock__mhz_ varchar, PRIMARY KEY (clock_multiplier))", + "answer": "select clock_multiplier from table_15261_1 where voltage_range__v_ = \"3.3 - 3.6\" and input_clock__mhz_ = \"33 x 3 / 50 x 2\" and part_number = \"a80486dx4-100\"" + }, + { + "question": "What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York?", + "context": "create table table_13012165_1 (washington varchar, _dc varchar, new_york varchar, PRIMARY KEY (washington))", + "answer": "select washington, _dc from table_13012165_1 where new_york = \"ramapo ll ramapo\"" + }, + { + "question": "Name the type for hobart college", + "context": "create table table_1974482_1 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_1974482_1 where institution = \"hobart college\"" + }, + { + "question": "If the English translation is hello girl, what was the language?", + "context": "create table table_19249824_1 (language varchar, english_translation varchar, PRIMARY KEY (language))", + "answer": "select language from table_19249824_1 where english_translation = \"hello girl\"" + }, + { + "question": "When the foursome was w-l-h is 1\u20130\u20130 won w/ p. creamer 3&2, what was the points %?", + "context": "create table table_1628607_5 (points__percentage varchar, foursomes_w_l_h varchar, PRIMARY KEY (points__percentage))", + "answer": "select points__percentage from table_1628607_5 where foursomes_w_l_h = \"1\u20130\u20130 won w/ p. creamer 3&2\"" + }, + { + "question": "What is the location that has a power of 5kw (10kw ERP)?", + "context": "create table table_2610582_3 (location__transmitter_site_ varchar, power_kw__erp_ varchar, PRIMARY KEY (location__transmitter_site_))", + "answer": "select location__transmitter_site_ from table_2610582_3 where power_kw__erp_ = \"5kw (10kw erp)\"" + }, + { + "question": "What is the power, in kW, of channel TV-23, callsign DYCG-TV?", + "context": "create table table_2610582_3 (power_kw__erp_ varchar, ch__number varchar, callsign varchar, PRIMARY KEY (power_kw__erp_))", + "answer": "select power_kw__erp_ from table_2610582_3 where ch__number = \"tv-23\" and callsign = \"dycg-tv\"" + }, + { + "question": "What is the number of bids with elite eight larger than 1.0", + "context": "create table table_10722506_6 (_number_of_bids varchar, elite_eight integer, PRIMARY KEY (_number_of_bids))", + "answer": "select count(_number_of_bids) from table_10722506_6 where elite_eight > 1.0" + }, + { + "question": "Show all product names without an order.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table order_items (product_id varchar, PRIMARY KEY (product_id)); create table products (product_name varchar, PRIMARY KEY (product_name))", + "answer": "select product_name from products except select t1.product_name from products as t1 join order_items as t2 on t1.product_id = t2.product_id" + }, + { + "question": "How many times did Charles Jarrott report?", + "context": "create table table_18893428_1 (report varchar, driver varchar, PRIMARY KEY (report))", + "answer": "select count(report) from table_18893428_1 where driver = \"charles jarrott\"" + }, + { + "question": "How many titles got a viewership of 26.53 million?", + "context": "create table table_10718525_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_10718525_2 where us_viewers__millions_ = \"26.53\"" + }, + { + "question": "When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type?", + "context": "create table table_24620684_2 (vehicle varchar, epa_rated_combined_fuel_economy varchar, PRIMARY KEY (vehicle))", + "answer": "select vehicle from table_24620684_2 where epa_rated_combined_fuel_economy = \"102 mpg-e (33kw-hrs/100mi)\"" + }, + { + "question": "Find the wineries that have at least four wines.", + "context": "create table wine (winery varchar, PRIMARY KEY (winery))", + "answer": "select winery from wine group by winery having count(*) >= 4" + }, + { + "question": "What stadium(sO does san juan jabloteh play in?", + "context": "create table table_25794138_1 (stadium varchar, team varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_25794138_1 where team = \"san juan jabloteh\"" + }, + { + "question": "What is the highest acc percent score in the competition?", + "context": "create table basketball_match (acc_percent varchar, PRIMARY KEY (acc_percent))", + "answer": "select acc_percent from basketball_match order by acc_percent desc limit 1" + }, + { + "question": "List the all the assets make, model, details by the disposed date ascendingly.", + "context": "create table assets (asset_make varchar, asset_model varchar, asset_details varchar, asset_disposed_date varchar, PRIMARY KEY (asset_make))", + "answer": "select asset_make, asset_model, asset_details from assets order by asset_disposed_date" + }, + { + "question": "Find the number of cartoons directed by each of the listed directors.", + "context": "create table cartoon (directed_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(*), directed_by from cartoon group by directed_by" + }, + { + "question": "Name the number of \u03b4s \u2021 /cal mol \u22121 k \u22121 for butadiene being 1,2-dimethylene-cyclohexane", + "context": "create table table_2068719_1 (\u03b4s_ varchar, _butadiene varchar, PRIMARY KEY (\u03b4s_))", + "answer": "select count(\u03b4s_) as \u2021__cal_mol_\u22121_k_\u22121 from table_2068719_1 where _butadiene = \"1,2-dimethylene-cyclohexane\"" + }, + { + "question": "How many o-19% are where the quartier is in saint-loup?", + "context": "create table table_29615165_5 (_percentage_0_19_years varchar, quartier varchar, PRIMARY KEY (_percentage_0_19_years))", + "answer": "select _percentage_0_19_years from table_29615165_5 where quartier = \"saint-loup\"" + }, + { + "question": "How many cities are there in state \"Colorado\"?", + "context": "create table addresses (state_province_county varchar, PRIMARY KEY (state_province_county))", + "answer": "select count(*) from addresses where state_province_county = \"colorado\"" + }, + { + "question": "How many population total figures are there for the year when Allora's population was 2132?", + "context": "create table table_12584173_1 (population__region_total_ varchar, population__allora_ varchar, PRIMARY KEY (population__region_total_))", + "answer": "select count(population__region_total_) from table_12584173_1 where population__allora_ = 2132" + }, + { + "question": "Name the period for michel llodra", + "context": "create table table_24565004_13 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select period from table_24565004_13 where name = \"michel llodra\"" + }, + { + "question": "What is the name of the city which incorporated on july 16, 1860?", + "context": "create table table_28367242_1 (name varchar, incorporation_date__city_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_28367242_1 where incorporation_date__city_ = \"july 16, 1860\"" + }, + { + "question": "What are the names of musicals with nominee \"Bob Fosse\"?", + "context": "create table musical (name varchar, nominee varchar, PRIMARY KEY (name))", + "answer": "select name from musical where nominee = \"bob fosse\"" + }, + { + "question": "What is the unit of measurement of product named \"cumin\"?", + "context": "create table ref_product_categories (unit_of_measure varchar, product_category_code varchar, PRIMARY KEY (unit_of_measure)); create table products (product_category_code varchar, product_name varchar, PRIMARY KEY (product_category_code))", + "answer": "select t2.unit_of_measure from products as t1 join ref_product_categories as t2 on t1.product_category_code = t2.product_category_code where t1.product_name = \"cumin\"" + }, + { + "question": "Show names for all employees who do not have certificate of Boeing 737-800.", + "context": "create table certificate (eid varchar, aid varchar, PRIMARY KEY (eid)); create table employee (name varchar, eid varchar, PRIMARY KEY (name)); create table employee (name varchar, PRIMARY KEY (name)); create table aircraft (aid varchar, name varchar, PRIMARY KEY (aid))", + "answer": "select name from employee except select t1.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t3.name = \"boeing 737-800\"" + }, + { + "question": "What are the cities/towns located in the municipality of Moss?", + "context": "create table table_157826_1 (city_town varchar, municipality varchar, PRIMARY KEY (city_town))", + "answer": "select city_town from table_157826_1 where municipality = \"moss\"" + }, + { + "question": "How many headphone classes have a US MSRP of $150?", + "context": "create table table_1601027_1 (headphone_class varchar, us_msrp varchar, PRIMARY KEY (headphone_class))", + "answer": "select count(headphone_class) from table_1601027_1 where us_msrp = \"$150\"" + }, + { + "question": "What is the number of students in Fall 09 from the state that had 3940 in Fall 07?", + "context": "create table table_15055594_6 (fall_09 integer, fall_07 varchar, PRIMARY KEY (fall_09))", + "answer": "select max(fall_09) from table_15055594_6 where fall_07 = 3940" + }, + { + "question": "How many winning drivers in the kraco twin 125 (r2) race were there?", + "context": "create table table_10706879_3 (winning_driver varchar, name varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_10706879_3 where name = \"kraco twin 125 (r2)\"" + }, + { + "question": "With an average finish of 29.0, what was the average start?", + "context": "create table table_2190919_3 (avg_start varchar, avg_finish varchar, PRIMARY KEY (avg_start))", + "answer": "select avg_start from table_2190919_3 where avg_finish = \"29.0\"" + }, + { + "question": "What are all the dsl type offered by the M-Net telecom company?", + "context": "create table table_1773908_3 (dsl_type varchar, provider varchar, PRIMARY KEY (dsl_type))", + "answer": "select dsl_type from table_1773908_3 where provider = \"m-net\"" + }, + { + "question": "What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?", + "context": "create table employees (employee_name varchar, employee_id varchar, PRIMARY KEY (employee_name)); create table documents_to_be_destroyed (destruction_authorised_by_employee_id varchar, destroyed_by_employee_id varchar, PRIMARY KEY (destruction_authorised_by_employee_id))", + "answer": "select t2.employee_name, t3.employee_name from documents_to_be_destroyed as t1 join employees as t2 on t1.destruction_authorised_by_employee_id = t2.employee_id join employees as t3 on t1.destroyed_by_employee_id = t3.employee_id" + }, + { + "question": "how many\u00a0party\u00a0with\u00a0candidates\u00a0being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%", + "context": "create table table_1342013_34 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342013_34 where candidates = \"john m. vorys (r) 61.5% jacob f. myers (d) 38.5%\"" + }, + { + "question": "How many turbine manufacturers installed a capacity of 189 MW?", + "context": "create table table_24837750_1 (turbine_manufacturer varchar, installed_capacity__mw_ varchar, PRIMARY KEY (turbine_manufacturer))", + "answer": "select count(turbine_manufacturer) from table_24837750_1 where installed_capacity__mw_ = \"189\"" + }, + { + "question": "What is thurs 26 aug when wed 25 aug is 19' 59.98 113.192mph?", + "context": "create table table_26986076_2 (thurs_26_aug varchar, wed_25_aug varchar, PRIMARY KEY (thurs_26_aug))", + "answer": "select thurs_26_aug from table_26986076_2 where wed_25_aug = \"19' 59.98 113.192mph\"" + }, + { + "question": "Name the open cup for division finals", + "context": "create table table_2365150_1 (open_cup varchar, playoffs varchar, PRIMARY KEY (open_cup))", + "answer": "select open_cup from table_2365150_1 where playoffs = \"division finals\"" + }, + { + "question": "How many airports do we have?", + "context": "create table airports (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from airports" + }, + { + "question": "How many airlines are there?", + "context": "create table airlines (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from airlines" + }, + { + "question": "Name the mission name for ocean of storms", + "context": "create table table_1558077_8 (mission_name varchar, lunar_landing_site varchar, PRIMARY KEY (mission_name))", + "answer": "select mission_name from table_1558077_8 where lunar_landing_site = \"ocean of storms\"" + }, + { + "question": "find the name of the program that was launched most recently.", + "context": "create table program (name varchar, launch varchar, PRIMARY KEY (name))", + "answer": "select name from program order by launch desc limit 1" + }, + { + "question": "Name the reason for change when George W. Greene (D) was the vacator.", + "context": "create table table_2417345_4 (reason_for_change varchar, vacator varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2417345_4 where vacator = \"george w. greene (d)\"" + }, + { + "question": "How many numbers were recorded for high points when the team played against Oklahoma City?", + "context": "create table table_17311783_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_17311783_6 where team = \"oklahoma city\"" + }, + { + "question": "If the armor is bronze cuirass , linothorax, what are the close ranged weapons?", + "context": "create table table_27704991_1 (close_ranged_weapons varchar, armor varchar, PRIMARY KEY (close_ranged_weapons))", + "answer": "select close_ranged_weapons from table_27704991_1 where armor = \"bronze cuirass , linothorax\"" + }, + { + "question": "How many Phonetic Greek words translate to grenouille in French?", + "context": "create table table_2077192_2 (phonetic_greek varchar, french varchar, PRIMARY KEY (phonetic_greek))", + "answer": "select count(phonetic_greek) from table_2077192_2 where french = \"grenouille\"" + }, + { + "question": "Who are all the candidates who ran in the district where Ralph Regula is the incumbent?", + "context": "create table table_1341577_36 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341577_36 where incumbent = \"ralph regula\"" + }, + { + "question": "What is every country with a TV network of AXN India?", + "context": "create table table_18821196_1 (country varchar, tv_network_s_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_18821196_1 where tv_network_s_ = \"axn india\"" + }, + { + "question": "Which opponent led to a 5-2 record?", + "context": "create table table_24560733_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_24560733_1 where record = \"5-2\"" + }, + { + "question": "how many\u00a0president\u00a0with\u00a0date of inauguration\u00a0being 4june1979", + "context": "create table table_12134383_1 (president varchar, date_of_inauguration varchar, PRIMARY KEY (president))", + "answer": "select count(president) from table_12134383_1 where date_of_inauguration = \"4june1979\"" + }, + { + "question": "If the equation is 1 \u00d7 9\u00b2 + 4 \u00d7 9 + 0, what is the 2nd throw?", + "context": "create table table_17265535_7 (equation varchar, PRIMARY KEY (equation))", + "answer": "select 2 as nd_throw from table_17265535_7 where equation = \"1 \u00d7 9\u00b2 + 4 \u00d7 9 + 0\"" + }, + { + "question": "What was the candidates for hardie scott", + "context": "create table table_1342198_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342198_38 where incumbent = \"hardie scott\"" + }, + { + "question": "Which one of the songs was originally performed by Rickie Lee Jones?", + "context": "create table table_12310814_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_12310814_1 where original_artist = \"rickie lee jones\"" + }, + { + "question": "What's the 2nd leg result in the round where team #1 is Iraklis?", + "context": "create table table_19130829_4 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 2 as nd_leg from table_19130829_4 where team__number1 = \"iraklis\"" + }, + { + "question": "When using a .375 Winchester, what is the muzzle energy?", + "context": "create table table_16010376_1 (muzzle_energy varchar, cartridge varchar, PRIMARY KEY (muzzle_energy))", + "answer": "select muzzle_energy from table_16010376_1 where cartridge = \".375 winchester\"" + }, + { + "question": "How many different types are allocated to the institution in Bridgewater, Massachusetts?", + "context": "create table table_261927_2 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_261927_2 where location = \"bridgewater, massachusetts\"" + }, + { + "question": "Name the density for pennsbury village", + "context": "create table table_22916979_5 (density varchar, densest_incorporated_place varchar, PRIMARY KEY (density))", + "answer": "select density from table_22916979_5 where densest_incorporated_place = \"pennsbury village\"" + }, + { + "question": "What is the up/down associated with the Subiaco Oval?", + "context": "create table table_2472711_32 (up_down varchar, venue varchar, PRIMARY KEY (up_down))", + "answer": "select up_down from table_2472711_32 where venue = \"subiaco oval\"" + }, + { + "question": "What mobile markets have cvt hd?", + "context": "create table table_25839957_5 (cvt_hd varchar, market varchar, PRIMARY KEY (cvt_hd))", + "answer": "select cvt_hd from table_25839957_5 where market = \"mobile\"" + }, + { + "question": "How many licenses have mind workstation software?", + "context": "create table table_15038373_1 (license varchar, software varchar, PRIMARY KEY (license))", + "answer": "select count(license) from table_15038373_1 where software = \"mind workstation\"" + }, + { + "question": "How many wines are produced at Robert Biale winery?", + "context": "create table wine (winery varchar, PRIMARY KEY (winery))", + "answer": "select count(*) from wine where winery = \"robert biale\"" + }, + { + "question": "what is the team where winnings is $81,690?", + "context": "create table table_1708014_2 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_1708014_2 where winnings = \"$81,690\"" + }, + { + "question": "Pink cytoplasm is seen in a test that specifically stains what?", + "context": "create table table_13570_1 (specifically_stains varchar, cytoplasm varchar, PRIMARY KEY (specifically_stains))", + "answer": "select specifically_stains from table_13570_1 where cytoplasm = \"pink\"" + }, + { + "question": "What was the original air date of the episode that was directed by Alex Zakrzewski?", + "context": "create table table_27491610_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27491610_2 where directed_by = \"alex zakrzewski\"" + }, + { + "question": "Name the sanskrit word and meaning for aquarius", + "context": "create table table_20354_7 (sanskrit_word_and_meaning varchar, zodiac_sign varchar, PRIMARY KEY (sanskrit_word_and_meaning))", + "answer": "select sanskrit_word_and_meaning from table_20354_7 where zodiac_sign = \"aquarius\"" + }, + { + "question": "What was the official ITV1 HD rating in millions for the episode that had an official ITV1 rating of 8.98 million?", + "context": "create table table_27319183_5 (official_itv1_hd_rating__millions_ varchar, official_itv1_rating__millions_ varchar, PRIMARY KEY (official_itv1_hd_rating__millions_))", + "answer": "select official_itv1_hd_rating__millions_ from table_27319183_5 where official_itv1_rating__millions_ = \"8.98\"" + }, + { + "question": "Which athlete is from Mexico City?", + "context": "create table table_1231316_7 (athlete varchar, location varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_1231316_7 where location = \"mexico city\"" + }, + { + "question": "What are the records when Elzbieta Urbanczik competed?", + "context": "create table table_14884844_2 (record varchar, athletes varchar, PRIMARY KEY (record))", + "answer": "select record from table_14884844_2 where athletes = \"elzbieta urbanczik\"" + }, + { + "question": "What is the most common mill type, and how many are there?", + "context": "create table mill (type varchar, PRIMARY KEY (type))", + "answer": "select type, count(*) from mill group by type order by count(*) desc limit 1" + }, + { + "question": "What is the broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi?", + "context": "create table table_23292220_8 (first_broadcast varchar, jasons_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23292220_8 where jasons_team = \"rhod gilbert and shappi khorsandi\"" + }, + { + "question": "Name the singer for bruce forsyth", + "context": "create table table_29135051_2 (singer_s_ varchar, guest_s_ varchar, PRIMARY KEY (singer_s_))", + "answer": "select singer_s_ from table_29135051_2 where guest_s_ = \"bruce forsyth\"" + }, + { + "question": "If the qatari female is 918, what is the total number of females?", + "context": "create table table_26214389_3 (total_female varchar, qatari_female varchar, PRIMARY KEY (total_female))", + "answer": "select total_female from table_26214389_3 where qatari_female = 918" + }, + { + "question": "If you get a ranking as major in the english military then what would the spanish military address you as?", + "context": "create table table_1015521_2 (rank_in_spanish varchar, rank_in_english varchar, PRIMARY KEY (rank_in_spanish))", + "answer": "select rank_in_spanish from table_1015521_2 where rank_in_english = \"major\"" + }, + { + "question": "what's the\u00a0report\u00a0with\u00a0location\u00a0 \u00f6sterreichring", + "context": "create table table_1140080_2 (report varchar, location varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140080_2 where location = \"\u00f6sterreichring\"" + }, + { + "question": "List the first and last name of the students who do not have any food type allergy.", + "context": "create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy)); create table has_allergy (stuid varchar, allergy varchar, PRIMARY KEY (stuid))", + "answer": "select fname, lname from student where not stuid in (select t1.stuid from has_allergy as t1 join allergy_type as t2 on t1.allergy = t2.allergy where t2.allergytype = \"food\")" + }, + { + "question": "What are the first name, last name, and gender of all the good customers? Order by their last name.", + "context": "create table customers (first_name varchar, last_name varchar, gender_mf varchar, good_or_bad_customer varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name, gender_mf from customers where good_or_bad_customer = 'good' order by last_name" + }, + { + "question": "What is the theme song for Magarikado no Kanojo?", + "context": "create table table_18540104_1 (theme_song_s_ varchar, romaji_title varchar, PRIMARY KEY (theme_song_s_))", + "answer": "select theme_song_s_ from table_18540104_1 where romaji_title = \"magarikado no kanojo\"" + }, + { + "question": "What's the name of the episode whose part 3 aired on February 7, 2008?", + "context": "create table table_13241993_3 (title varchar, part_3 varchar, PRIMARY KEY (title))", + "answer": "select title from table_13241993_3 where part_3 = \"february 7, 2008\"" + }, + { + "question": "What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers?", + "context": "create table table_17085981_2 (manner_of_departure varchar, team varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_17085981_2 where team = \"stuttgarter kickers\" and outgoing_manager = \"edgar schmitt\"" + }, + { + "question": "Name the total number of dar for disney channel and number is 613", + "context": "create table table_15887683_9 (dar varchar, television_service varchar, n\u00b0 varchar, PRIMARY KEY (dar))", + "answer": "select count(dar) from table_15887683_9 where television_service = \"disney channel\" and n\u00b0 = 613" + }, + { + "question": "How many distinct incident type codes are there?", + "context": "create table behavior_incident (incident_type_code varchar, PRIMARY KEY (incident_type_code))", + "answer": "select count(distinct incident_type_code) from behavior_incident" + }, + { + "question": "What's the part 3 of the verb with part 4 gelopen?", + "context": "create table table_1745843_7 (part_3 varchar, part_4 varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_1745843_7 where part_4 = \"gelopen\"" + }, + { + "question": "What packages offer the Cartello Promozionale Sky HD service?", + "context": "create table table_15887683_3 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_3 where television_service = \"cartello promozionale sky hd\"" + }, + { + "question": "Who was the runner-up (a) if K. P. Ramalingam won the election?", + "context": "create table table_22752982_5 (runner_up_a varchar, winner varchar, PRIMARY KEY (runner_up_a))", + "answer": "select runner_up_a from table_22752982_5 where winner = \"k. p. ramalingam\"" + }, + { + "question": "Show all sport name and the number of students.", + "context": "create table sportsinfo (sportname varchar, PRIMARY KEY (sportname))", + "answer": "select sportname, count(*) from sportsinfo group by sportname" + }, + { + "question": "What is the input clock (mhz) for s-spec number sk096?", + "context": "create table table_15261_1 (input_clock__mhz_ varchar, s_spec_number varchar, PRIMARY KEY (input_clock__mhz_))", + "answer": "select input_clock__mhz_ from table_15261_1 where s_spec_number = \"sk096\"" + }, + { + "question": "Who was the supporting actress in \"For Whom the Bell Tolls\"?", + "context": "create table table_24225238_1 (supporting_actress varchar, film varchar, PRIMARY KEY (supporting_actress))", + "answer": "select supporting_actress from table_24225238_1 where film = \"for whom the bell tolls\"" + }, + { + "question": "Who are all the major users of the Gordon Close-Support Weapon System?", + "context": "create table table_29474407_11 (major_users varchar, name__designation varchar, PRIMARY KEY (major_users))", + "answer": "select major_users from table_29474407_11 where name__designation = \"gordon close-support weapon system\"" + }, + { + "question": "who directed the episode that have 14.59 million viewers", + "context": "create table table_19417244_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_19417244_2 where us_viewers__millions_ = \"14.59\"" + }, + { + "question": "What was the number for B\u00f6tzow where Vehlefanz is 1.800?", + "context": "create table table_11680175_1 (b\u00f6tzow varchar, vehlefanz varchar, PRIMARY KEY (b\u00f6tzow))", + "answer": "select b\u00f6tzow from table_11680175_1 where vehlefanz = \"1.800\"" + }, + { + "question": "what's the\u00a0jurisdiction\u00a0where\u00a0percent yes\u00a0is 43.4", + "context": "create table table_120778_2 (jurisdiction varchar, percent_yes varchar, PRIMARY KEY (jurisdiction))", + "answer": "select jurisdiction from table_120778_2 where percent_yes = \"43.4\"" + }, + { + "question": "How many apartment bookings are there in total?", + "context": "create table apartment_bookings (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from apartment_bookings" + }, + { + "question": "Name the total number of wind m/s for sunday emmanuel", + "context": "create table table_1231316_6 (wind__m_s_ varchar, athlete varchar, PRIMARY KEY (wind__m_s_))", + "answer": "select count(wind__m_s_) from table_1231316_6 where athlete = \"sunday emmanuel\"" + }, + { + "question": "How many films were in assamese?", + "context": "create table table_25926120_3 (name_of_film varchar, language varchar, PRIMARY KEY (name_of_film))", + "answer": "select count(name_of_film) from table_25926120_3 where language = \"assamese\"" + }, + { + "question": "Who wrote the teleplay for the episode directed by Tim Robbins?", + "context": "create table table_26914076_4 (teleplay_by varchar, directed_by varchar, PRIMARY KEY (teleplay_by))", + "answer": "select teleplay_by from table_26914076_4 where directed_by = \"tim robbins\"" + }, + { + "question": "Name the hebrew for tis\u0295-", + "context": "create table table_26919_6 (hebrew varchar, arabic varchar, PRIMARY KEY (hebrew))", + "answer": "select hebrew from table_26919_6 where arabic = \"tis\u0295-\"" + }, + { + "question": "What car make was sponsored by Aflac?", + "context": "create table table_27940569_1 (make varchar, sponsor varchar, PRIMARY KEY (make))", + "answer": "select make from table_27940569_1 where sponsor = \"aflac\"" + }, + { + "question": "Name the wininng yacht for 14 entries", + "context": "create table table_256862_1 (winning_yacht varchar, entries varchar, PRIMARY KEY (winning_yacht))", + "answer": "select winning_yacht from table_256862_1 where entries = \"14\"" + }, + { + "question": "Name the incelandic of the glossary for 218", + "context": "create table table_13003460_1 (the_icelandic_of_the_glossary varchar, word_number varchar, PRIMARY KEY (the_icelandic_of_the_glossary))", + "answer": "select the_icelandic_of_the_glossary from table_13003460_1 where word_number = \"218\"" + }, + { + "question": "Name the national for rimutaka", + "context": "create table table_20217811_1 (national varchar, electorate varchar, PRIMARY KEY (national))", + "answer": "select national from table_20217811_1 where electorate = \"rimutaka\"" + }, + { + "question": "Where was the audition venue where Peninha was the guest fourth judge?", + "context": "create table table_27615445_1 (audition_venue varchar, guest_fourth_judge varchar, PRIMARY KEY (audition_venue))", + "answer": "select audition_venue from table_27615445_1 where guest_fourth_judge = \"peninha\"" + }, + { + "question": "How many family friendly games are in the 1990s?", + "context": "create table table_14160327_4 (family_friendly varchar, decade varchar, PRIMARY KEY (family_friendly))", + "answer": "select count(family_friendly) from table_14160327_4 where decade = \"1990s\"" + }, + { + "question": "Please show different denominations and the corresponding number of schools in descending order.", + "context": "create table school (denomination varchar, PRIMARY KEY (denomination))", + "answer": "select denomination, count(*) from school group by denomination order by count(*) desc" + }, + { + "question": "What is the number of distinct teams that suffer elimination?", + "context": "create table elimination (team varchar, PRIMARY KEY (team))", + "answer": "select count(distinct team) from elimination" + }, + { + "question": "How many regions had 153 women prison inmates?", + "context": "create table table_25042332_31 (incarceration_rate_total varchar, prison_inmates_women varchar, PRIMARY KEY (incarceration_rate_total))", + "answer": "select count(incarceration_rate_total) from table_25042332_31 where prison_inmates_women = 153" + }, + { + "question": "What party does William J. Jefferson?", + "context": "create table table_1341453_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_20 where incumbent = \"william j. jefferson\"" + }, + { + "question": "How many items were under ranking l.a.(2) when the world ranking was 21st?", + "context": "create table table_19948664_2 (ranking_la__2_ varchar, world_ranking__1_ varchar, PRIMARY KEY (ranking_la__2_))", + "answer": "select count(ranking_la__2_) from table_19948664_2 where world_ranking__1_ = \"21st\"" + }, + { + "question": "Name the recopa sudamericana 1992 for did not qualify for libertadores 1992 and round of 16 for bragantino", + "context": "create table table_15013825_8 (recopa_sudamericana_1992 varchar, team varchar, copa_libertadores_1992 varchar, copa_conmebol_1992 varchar, PRIMARY KEY (recopa_sudamericana_1992))", + "answer": "select recopa_sudamericana_1992 from table_15013825_8 where copa_libertadores_1992 = \"did not qualify\" and copa_conmebol_1992 = \"round of 16\" and team = \"bragantino\"" + }, + { + "question": "How many terms began when the term ended in January 3, 1989?", + "context": "create table table_197446_1 (term_began varchar, term_ended varchar, PRIMARY KEY (term_began))", + "answer": "select count(term_began) from table_197446_1 where term_ended = \"january 3, 1989\"" + }, + { + "question": "In what week was the original singer Whitney Houston.", + "context": "create table table_23871828_1 (week__number varchar, original_artist varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_23871828_1 where original_artist = \"whitney houston\"" + }, + { + "question": "Name the equipment for bike number 6", + "context": "create table table_16941304_4 (equipment varchar, bike_no varchar, PRIMARY KEY (equipment))", + "answer": "select equipment from table_16941304_4 where bike_no = 6" + }, + { + "question": "What team drafted a player from Sweden?", + "context": "create table table_2897457_1 (nhl_team varchar, nationality varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_2897457_1 where nationality = \"sweden\"" + }, + { + "question": "What are the chip model and screen mode of the phone with hardware model name \"LG-P760\"?", + "context": "create table phone (chip_model varchar, screen_mode varchar, hardware_model_name varchar, PRIMARY KEY (chip_model))", + "answer": "select chip_model, screen_mode from phone where hardware_model_name = \"lg-p760\"" + }, + { + "question": "What are the names of conductors whose nationalities are not \"USA\"?", + "context": "create table conductor (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from conductor where nationality <> 'usa'" + }, + { + "question": "When london irish was eliminated from competition who proceeded to quarter final?", + "context": "create table table_27987767_3 (proceed_to_quarter_final varchar, eliminated_from_competition varchar, PRIMARY KEY (proceed_to_quarter_final))", + "answer": "select proceed_to_quarter_final from table_27987767_3 where eliminated_from_competition = \"london irish\"" + }, + { + "question": "When were the callback auditions at Hilton Riverside Hotel held?", + "context": "create table table_27455867_1 (callback_audition_date varchar, callback_venue varchar, PRIMARY KEY (callback_audition_date))", + "answer": "select callback_audition_date from table_27455867_1 where callback_venue = \"hilton riverside hotel\"" + }, + { + "question": "what is the minimum\u00a0norwegian americans (1980)\u00a0where\u00a0state\u00a0is rhode island", + "context": "create table table_1182314_5 (norwegian_americans__1980_ integer, state varchar, PRIMARY KEY (norwegian_americans__1980_))", + "answer": "select min(norwegian_americans__1980_) from table_1182314_5 where state = \"rhode island\"" + }, + { + "question": "how many\u00a0local title\u00a0with\u00a0televbeingion network\u00a0being tv nova website", + "context": "create table table_13779832_1 (local_title varchar, television_network varchar, PRIMARY KEY (local_title))", + "answer": "select count(local_title) from table_13779832_1 where television_network = \"tv nova website\"" + }, + { + "question": "What is the nickname of the institution from Concordia University, Nebraska?", + "context": "create table table_262508_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_262508_1 where institution = \"concordia university, nebraska\"" + }, + { + "question": "Name the location for black, orange", + "context": "create table table_26466528_1 (location varchar, colors varchar, PRIMARY KEY (location))", + "answer": "select location from table_26466528_1 where colors = \"black, orange\"" + }, + { + "question": "What record was set when the result/game was equal to 9 games (28,595 avg.)", + "context": "create table table_21436373_8 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_8 where result_games = \"9 games (28,595 avg.)\"" + }, + { + "question": "How many donors have endowment for school named \"Glenn\"?", + "context": "create table school (school_id varchar, school_name varchar, PRIMARY KEY (school_id)); create table endowment (donator_name varchar, school_id varchar, PRIMARY KEY (donator_name))", + "answer": "select count(distinct t1.donator_name) from endowment as t1 join school as t2 on t1.school_id = t2.school_id where t2.school_name = \"glenn\"" + }, + { + "question": "Who is the writer with the ratings 14.8?", + "context": "create table table_26591434_1 (writer varchar, ratings__kanto_ varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_26591434_1 where ratings__kanto_ = \"14.8\"" + }, + { + "question": "List the name and gender for all artists who released songs in March.", + "context": "create table song (artist_name varchar, releasedate varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, gender varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.artist_name, t1.gender from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t2.releasedate like \"%mar%\"" + }, + { + "question": "What is the Alpha 3 code for the area also known as FO?", + "context": "create table table_222771_1 (alpha_3_code varchar, alpha_2_code varchar, PRIMARY KEY (alpha_3_code))", + "answer": "select alpha_3_code from table_222771_1 where alpha_2_code = \"fo\"" + }, + { + "question": "Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name.", + "context": "create table engineer_visits (engineer_id varchar, PRIMARY KEY (engineer_id)); create table maintenance_engineers (engineer_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (engineer_id))", + "answer": "select t1.engineer_id, t1.first_name, t1.last_name from maintenance_engineers as t1 join engineer_visits as t2 on t1.engineer_id = t2.engineer_id group by t1.engineer_id order by count(*) limit 1" + }, + { + "question": "When fort irwin-barstow/victorville is the type of fare what is the cash fare?", + "context": "create table table_20803241_1 (cash_fare varchar, type_of_fare varchar, PRIMARY KEY (cash_fare))", + "answer": "select cash_fare from table_20803241_1 where type_of_fare = \"fort irwin-barstow/victorville\"" + }, + { + "question": "What's the number of users in the Nisibon-Yuma within the Del Este district?", + "context": "create table table_20018310_1 (users___number_ varchar, irrigation_district varchar, juntas_de_regantes__wub_ varchar, PRIMARY KEY (users___number_))", + "answer": "select users___number_ from table_20018310_1 where irrigation_district = \"del este\" and juntas_de_regantes__wub_ = \"nisibon-yuma\"" + }, + { + "question": "What is the civil parish of the cappanaboul townland?", + "context": "create table table_30120547_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30120547_1 where townland = \"cappanaboul\"" + }, + { + "question": "With the population in 2005 of 572, what is the former name?", + "context": "create table table_21302_1 (former_name varchar, population__2005_ varchar, PRIMARY KEY (former_name))", + "answer": "select former_name from table_21302_1 where population__2005_ = 572" + }, + { + "question": "What is the zip code of the address where the teacher with first name \"Lyla\" lives?", + "context": "create table teachers (address_id varchar, first_name varchar, PRIMARY KEY (address_id)); create table addresses (zip_postcode varchar, address_id varchar, PRIMARY KEY (zip_postcode))", + "answer": "select t1.zip_postcode from addresses as t1 join teachers as t2 on t1.address_id = t2.address_id where t2.first_name = \"lyla\"" + }, + { + "question": "What is the brand name associated with the model 4x0?", + "context": "create table table_24099628_1 (brand_name varchar, model__list_ varchar, PRIMARY KEY (brand_name))", + "answer": "select brand_name from table_24099628_1 where model__list_ = \"4x0\"" + }, + { + "question": "Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe?", + "context": "create table table_14254419_3 (assistant varchar, principal__2013_2014_ varchar, PRIMARY KEY (assistant))", + "answer": "select assistant as principal__2013_2014_ from table_14254419_3 where principal__2013_2014_ = \"cort monroe\"" + }, + { + "question": "Where is store 1 located?", + "context": "create table store (address_id varchar, PRIMARY KEY (address_id)); create table address (address varchar, address_id varchar, PRIMARY KEY (address))", + "answer": "select t2.address from store as t1 join address as t2 on t1.address_id = t2.address_id where store_id = 1" + }, + { + "question": "Who had the high rebounds when the record was 14\u20137?", + "context": "create table table_27723228_8 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27723228_8 where record = \"14\u20137\"" + }, + { + "question": "What is the type where the name is bojan?", + "context": "create table table_11891841_2 (type varchar, name varchar, PRIMARY KEY (type))", + "answer": "select type from table_11891841_2 where name = \"bojan\"" + }, + { + "question": "how many managers left sunshine stars?", + "context": "create table table_28164986_4 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_28164986_4 where team = \"sunshine stars\"" + }, + { + "question": "Name who directed the episode that was viewed by 4.22 million", + "context": "create table table_18569389_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18569389_1 where us_viewers__million_ = \"4.22\"" + }, + { + "question": "When Saginaw's fare is $470.47, what was the fare to Grand Rapids?", + "context": "create table table_1637981_7 (grand_rapids__grr_ varchar, saginaw__mbs_ varchar, PRIMARY KEY (grand_rapids__grr_))", + "answer": "select grand_rapids__grr_ from table_1637981_7 where saginaw__mbs_ = \"$470.47\"" + }, + { + "question": "Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?", + "context": "create table table_24865763_2 (gt2_winning_team varchar, lmp1_winning_team varchar, PRIMARY KEY (gt2_winning_team))", + "answer": "select gt2_winning_team from table_24865763_2 where lmp1_winning_team = \"greg mansell leo mansell\"" + }, + { + "question": "How many episodes had their first air date on March 6, 2008?", + "context": "create table table_11220799_2 (episode_titles varchar, first_air_date varchar, PRIMARY KEY (episode_titles))", + "answer": "select count(episode_titles) from table_11220799_2 where first_air_date = \"march 6, 2008\"" + }, + { + "question": "How many different descriptions are there for the flag that means decimal digit 2?", + "context": "create table table_29997112_3 (description varchar, meaning varchar, PRIMARY KEY (description))", + "answer": "select count(description) from table_29997112_3 where meaning = \"decimal digit 2\"" + }, + { + "question": "Who replaced the manager of Akhisar B.G.S.?", + "context": "create table table_27091128_3 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27091128_3 where team = \"akhisar b.g.s.\"" + }, + { + "question": "Which city does the student whose last name is \"Kim\" live in?", + "context": "create table student (city_code varchar, lname varchar, PRIMARY KEY (city_code))", + "answer": "select city_code from student where lname = \"kim\"" + }, + { + "question": "How many cars does Gregg Mixon own?", + "context": "create table table_2182170_1 (car_s_ varchar, listed_owner_s_ varchar, PRIMARY KEY (car_s_))", + "answer": "select count(car_s_) from table_2182170_1 where listed_owner_s_ = \"gregg mixon\"" + }, + { + "question": "Name the english for j'avais entendu", + "context": "create table table_1841901_1 (english varchar, french varchar, PRIMARY KEY (english))", + "answer": "select english from table_1841901_1 where french = \"j'avais entendu\"" + }, + { + "question": "How many different meanings does the verb with part 4 gegeven have?", + "context": "create table table_1745843_7 (verb_meaning varchar, part_4 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select count(verb_meaning) from table_1745843_7 where part_4 = \"gegeven\"" + }, + { + "question": "Andy Roddick is the opponent in the final on what surface?", + "context": "create table table_26202788_7 (surface varchar, opponent_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_26202788_7 where opponent_in_the_final = \"andy roddick\"" + }, + { + "question": "The 1.6 Duratec model/engine has how many torque formulas?", + "context": "create table table_1212189_1 (torque__nm__rpm varchar, model_engine varchar, PRIMARY KEY (torque__nm__rpm))", + "answer": "select count(torque__nm__rpm) from table_1212189_1 where model_engine = \"1.6 duratec\"" + }, + { + "question": "Show the denomination shared by more than one school.", + "context": "create table school (denomination varchar, PRIMARY KEY (denomination))", + "answer": "select denomination from school group by denomination having count(*) > 1" + }, + { + "question": "What is the latest year established that had 5 powiats?", + "context": "create table table_1784514_1 (year_established integer, number_of_powiats varchar, PRIMARY KEY (year_established))", + "answer": "select max(year_established) from table_1784514_1 where number_of_powiats = \"5 powiats\"" + }, + { + "question": "What are the forms of the conjucated vos(*) where \u00e9l / ella / usted is muela", + "context": "create table table_1977630_2 (vos__ varchar, _ varchar, \u00e9l___ella___usted varchar, PRIMARY KEY (vos__))", + "answer": "select vos__ * _ from table_1977630_2 where \u00e9l___ella___usted = \"muela\"" + }, + { + "question": "What i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?", + "context": "create table table_24538587_11 (i_o_bus varchar, brand_name__list_ varchar, socket varchar, codename__main_article_ varchar, PRIMARY KEY (i_o_bus))", + "answer": "select i_o_bus from table_24538587_11 where socket = \"lga 1155\" and codename__main_article_ = \"sandy bridge (desktop)\" and brand_name__list_ = \"core i3-21xx\"" + }, + { + "question": "What was the profit before tax when the turnover was 431.06?", + "context": "create table table_2856898_1 (profit_before_tax__\u00a3m_ varchar, turnover__\u00a3m_ varchar, PRIMARY KEY (profit_before_tax__\u00a3m_))", + "answer": "select profit_before_tax__\u00a3m_ from table_2856898_1 where turnover__\u00a3m_ = \"431.06\"" + }, + { + "question": "what's the\u00a0date of completion\u00a0where\u00a0success\u00a0is yes", + "context": "create table table_12078626_1 (date_of_completion varchar, success varchar, PRIMARY KEY (date_of_completion))", + "answer": "select date_of_completion from table_12078626_1 where success = \"yes\"" + }, + { + "question": "Name the common name for furcifer pardalis", + "context": "create table table_175442_1 (common_name varchar, scientific_name varchar, PRIMARY KEY (common_name))", + "answer": "select common_name from table_175442_1 where scientific_name = \"furcifer pardalis\"" + }, + { + "question": "How much was the cost of in-county tuition per credit hour at the Gloucester College by the fall of 2009?", + "context": "create table table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ varchar, college varchar, PRIMARY KEY (in_county_tuition_per_credit_hour__fall_2009_))", + "answer": "select in_county_tuition_per_credit_hour__fall_2009_ from table_22308881_2 where college = \"gloucester\"" + }, + { + "question": "How many schools are located in South Brisbane?", + "context": "create table table_11318462_29 (school varchar, location varchar, PRIMARY KEY (school))", + "answer": "select count(school) from table_11318462_29 where location = \"south brisbane\"" + }, + { + "question": "Name the state class for isaac d. barnard (j)", + "context": "create table table_225198_3 (state__class_ varchar, vacator varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_225198_3 where vacator = \"isaac d. barnard (j)\"" + }, + { + "question": "How many winners were there when the mountains classification was not awarded?", + "context": "create table table_25551880_2 (winner varchar, mountains_classification varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_25551880_2 where mountains_classification = \"not awarded\"" + }, + { + "question": "What was the number for Vehlefanz where B\u00e4renklau is 1.288?", + "context": "create table table_11680175_1 (vehlefanz varchar, b\u00e4renklau varchar, PRIMARY KEY (vehlefanz))", + "answer": "select vehlefanz from table_11680175_1 where b\u00e4renklau = \"1.288\"" + }, + { + "question": "What is the number of the model with three parallel printer ports?", + "context": "create table table_1300080_1 (model_number varchar, printer_ports varchar, PRIMARY KEY (model_number))", + "answer": "select model_number from table_1300080_1 where printer_ports = \"three parallel\"" + }, + { + "question": "What is the lowest points scored by the Wildcats when the record was 5-1?", + "context": "create table table_20850527_1 (wildcats_points integer, record varchar, PRIMARY KEY (wildcats_points))", + "answer": "select min(wildcats_points) from table_20850527_1 where record = \"5-1\"" + }, + { + "question": "Find the number of different states which banks are located at.", + "context": "create table bank (state varchar, PRIMARY KEY (state))", + "answer": "select count(distinct state) from bank" + }, + { + "question": "How many points does Swedish America's Cup Challenge have for rr1?", + "context": "create table table_21515673_2 (rr1_pts varchar, team_name varchar, PRIMARY KEY (rr1_pts))", + "answer": "select count(rr1_pts) from table_21515673_2 where team_name = \"swedish america's cup challenge\"" + }, + { + "question": "What was the QB rating for Neil lomax?", + "context": "create table table_20906175_3 (qb_rating varchar, name varchar, PRIMARY KEY (qb_rating))", + "answer": "select qb_rating from table_20906175_3 where name = \"neil lomax\"" + }, + { + "question": "How many song titles belong to the artist Ratt?", + "context": "create table table_21500850_1 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select count(song_title) from table_21500850_1 where artist = \"ratt\"" + }, + { + "question": "What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?", + "context": "create table table_1566852_6 (centerfold_model varchar, PRIMARY KEY (centerfold_model))", + "answer": "select 20 as _questions from table_1566852_6 where centerfold_model = \"jillian grace\"" + }, + { + "question": "tipuani municipality when tacacoma municipality is 6?", + "context": "create table table_2509202_2 (tipuani_municipality varchar, tacacoma_municipality varchar, PRIMARY KEY (tipuani_municipality))", + "answer": "select tipuani_municipality from table_2509202_2 where tacacoma_municipality = \"6\"" + }, + { + "question": "In game site AOL Arena, who are all the opponents?", + "context": "create table table_25380472_2 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_25380472_2 where game_site = \"aol arena\"" + }, + { + "question": "What is the total number of dates of successor formal installation when the vacator was Joshua Clayton ( F )?", + "context": "create table table_224839_3 (date_of_successors_formal_installation varchar, vacator varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select count(date_of_successors_formal_installation) from table_224839_3 where vacator = \"joshua clayton ( f )\"" + }, + { + "question": "Where is the train going to when departing at 20.35?", + "context": "create table table_18332845_2 (going_to varchar, departure varchar, PRIMARY KEY (going_to))", + "answer": "select going_to from table_18332845_2 where departure = \"20.35\"" + }, + { + "question": "What is the callsign that has a station type of relay and a channel number of TV-2?", + "context": "create table table_24673888_1 (callsign varchar, station_type varchar, ch__number varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_24673888_1 where station_type = \"relay\" and ch__number = \"tv-2\"" + }, + { + "question": "Name who wrote the episode that had 7.56 million viewers", + "context": "create table table_16951593_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_16951593_1 where us_viewers__millions_ = \"7.56\"" + }, + { + "question": "Which professionals have done at least two treatments? List the professional's id, role, and first name.", + "context": "create table professionals (professional_id varchar, role_code varchar, first_name varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))", + "answer": "select t1.professional_id, t1.role_code, t1.first_name from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2" + }, + { + "question": "What is the Mon 30 May time for the rider whose Fri 3 June time was 17' 13.46 131.431mph?", + "context": "create table table_29218221_1 (mon_30_may varchar, fri_3_june varchar, PRIMARY KEY (mon_30_may))", + "answer": "select mon_30_may from table_29218221_1 where fri_3_june = \"17' 13.46 131.431mph\"" + }, + { + "question": "Name the percentage change yoy for presbyterian college", + "context": "create table table_27956_3 (percentage_change_yoy varchar, institution varchar, PRIMARY KEY (percentage_change_yoy))", + "answer": "select percentage_change_yoy from table_27956_3 where institution = \"presbyterian college\"" + }, + { + "question": "Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.", + "context": "create table tourist_attractions (how_to_get_there varchar, PRIMARY KEY (how_to_get_there))", + "answer": "select how_to_get_there, count(*) from tourist_attractions group by how_to_get_there" + }, + { + "question": "Who performed all the high rebounds when craig smith (4) was the lead for high assists?", + "context": "create table table_17058226_5 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17058226_5 where high_assists = \"craig smith (4)\"" + }, + { + "question": "What countries have a margin of victory at 6 strokes?", + "context": "create table table_1529260_2 (country varchar, margin_of_victory varchar, PRIMARY KEY (country))", + "answer": "select country from table_1529260_2 where margin_of_victory = \"6 strokes\"" + }, + { + "question": "Find the number of users who did not write any review.", + "context": "create table review (u_id varchar, PRIMARY KEY (u_id)); create table useracct (u_id varchar, PRIMARY KEY (u_id))", + "answer": "select count(*) from useracct where not u_id in (select u_id from review)" + }, + { + "question": "Show the description of transaction type with code \"PUR\".", + "context": "create table ref_transaction_types (transaction_type_description varchar, transaction_type_code varchar, PRIMARY KEY (transaction_type_description))", + "answer": "select transaction_type_description from ref_transaction_types where transaction_type_code = \"pur\"" + }, + { + "question": "Where are there 25 episodes in Catfights and Brawls?", + "context": "create table table_191591_5 (region_2 varchar, number_of_episodes varchar, dvd_title varchar, PRIMARY KEY (region_2))", + "answer": "select region_2 from table_191591_5 where number_of_episodes = \"25\" and dvd_title = \"catfights and brawls\"" + }, + { + "question": "What's the power output for channel tv-29?", + "context": "create table table_2523809_1 (power__kw_ varchar, channel varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_2523809_1 where channel = \"tv-29\"" + }, + { + "question": "What yacht did Andrew Saies sail on?", + "context": "create table table_25561560_3 (yacht varchar, skipper varchar, PRIMARY KEY (yacht))", + "answer": "select yacht from table_25561560_3 where skipper = \"andrew saies\"" + }, + { + "question": "what's the\u00a0stadium\u00a0with\u00a0record\u00a0being 1\u20131", + "context": "create table table_14102379_4 (stadium varchar, record varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_14102379_4 where record = \"1\u20131\"" + }, + { + "question": "How many U.S. viewers watched the episode directed by Frank Waldeck?", + "context": "create table table_21634403_2 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_21634403_2 where directed_by = \"frank waldeck\"" + }, + { + "question": "What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011?", + "context": "create table table_24027047_1 (population_density___km\u00b2_2011_ varchar, area__km\u00b2__2011 varchar, PRIMARY KEY (population_density___km\u00b2_2011_))", + "answer": "select population_density___km\u00b2_2011_ from table_24027047_1 where area__km\u00b2__2011 * * = \"684.37\"" + }, + { + "question": "When Julian Illingworth was the under-19, who was the under-15?", + "context": "create table table_26368963_1 (under_15 varchar, under_19 varchar, PRIMARY KEY (under_15))", + "answer": "select under_15 from table_26368963_1 where under_19 = \"julian illingworth\"" + }, + { + "question": "How many viewers were there for the premier with 34", + "context": "create table table_10942714_1 (hk_viewers varchar, premiere varchar, PRIMARY KEY (hk_viewers))", + "answer": "select hk_viewers from table_10942714_1 where premiere = 34" + }, + { + "question": "List all different genre types.", + "context": "create table genres (name varchar, PRIMARY KEY (name))", + "answer": "select distinct name from genres" + }, + { + "question": "How many caps figures for the Doncaster Rovers?", + "context": "create table table_28286776_52 (cap_s_ varchar, club_s_ varchar, PRIMARY KEY (cap_s_))", + "answer": "select count(cap_s_) from table_28286776_52 where club_s_ = \"doncaster rovers\"" + }, + { + "question": "What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene", + "context": "create table table_1670921_1 (venue varchar, batting_partners varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_1670921_1 where batting_partners = \"mahela jayawardene and prasanna jayawardene\"" + }, + { + "question": "What was the finale for \u6f6e\u7206\u5927\u72c0", + "context": "create table table_10942714_1 (finale varchar, chinese_title varchar, PRIMARY KEY (finale))", + "answer": "select finale from table_10942714_1 where chinese_title = \"\u6f6e\u7206\u5927\u72c0\"" + }, + { + "question": "What is the pole position of paul ricard?", + "context": "create table table_1140078_2 (pole_position varchar, location varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1140078_2 where location = \"paul ricard\"" + }, + { + "question": "Find the busiest source airport that runs most number of routes in China.", + "context": "create table routes (src_apid varchar, PRIMARY KEY (src_apid)); create table airports (name varchar, apid varchar, country varchar, PRIMARY KEY (name))", + "answer": "select t1.name from airports as t1 join routes as t2 on t1.apid = t2.src_apid where t1.country = 'china' group by t1.name order by count(*) desc limit 1" + }, + { + "question": "How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles?", + "context": "create table table_12232843_1 (womens_doubles varchar, mens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select count(womens_doubles) from table_12232843_1 where mens_singles = \"jamie van hooijdonk\"" + }, + { + "question": "Show the most common headquarter for companies.", + "context": "create table company (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company group by headquarters order by count(*) desc limit 1" + }, + { + "question": "Who is the primary sponsor for crew cheif Rick Ren's team?", + "context": "create table table_19908313_2 (primary_sponsor_s_ varchar, crew_chief varchar, PRIMARY KEY (primary_sponsor_s_))", + "answer": "select primary_sponsor_s_ from table_19908313_2 where crew_chief = \"rick ren\"" + }, + { + "question": "What is the id of the project with least number of documents?", + "context": "create table documents (project_id varchar, PRIMARY KEY (project_id))", + "answer": "select project_id from documents group by project_id order by count(*) limit 1" + }, + { + "question": "what's the\u00a0torque\u00a0with\u00a0fuel mileage (latest epa mpg - us )\u00a0being 22 city, 30 hwy, 25 comb", + "context": "create table table_1373768_1 (torque varchar, fuel_mileage__latest_epa_mpg___us__ varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_1373768_1 where fuel_mileage__latest_epa_mpg___us__ = \"22 city, 30 hwy, 25 comb\"" + }, + { + "question": "Which country has doosan infracore as then company name?", + "context": "create table table_237199_1 (country varchar, company_name varchar, PRIMARY KEY (country))", + "answer": "select country from table_237199_1 where company_name = \"doosan infracore\"" + }, + { + "question": "how many times was the qualifying score 60.750?", + "context": "create table table_13114949_3 (event varchar, qualifying_score varchar, PRIMARY KEY (event))", + "answer": "select count(event) from table_13114949_3 where qualifying_score = \"60.750\"" + }, + { + "question": "What is the highest overall number one(s)?", + "context": "create table table_19542477_8 (number_one_s_ integer, PRIMARY KEY (number_one_s_))", + "answer": "select max(number_one_s_) from table_19542477_8" + }, + { + "question": "How many school teams are nicknamed \"Bulldogs\".", + "context": "create table table_26351260_1 (location varchar, team_nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_26351260_1 where team_nickname = \"bulldogs\"" + }, + { + "question": "WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?", + "context": "create table table_21804557_18 (stage__winner_ varchar, metas_volantes_classification varchar, PRIMARY KEY (stage__winner_))", + "answer": "select stage__winner_ from table_21804557_18 where metas_volantes_classification = \"michael albasini\"" + }, + { + "question": "How many years did the school have a mathetmatics score of 98.02?", + "context": "create table table_2534578_1 (science varchar, mathematics varchar, PRIMARY KEY (science))", + "answer": "select count(science) from table_2534578_1 where mathematics = \"98.02\"" + }, + { + "question": "What high definition television options are available for Italia 1?", + "context": "create table table_15887683_1 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_1 where television_service = \"italia 1\"" + }, + { + "question": "What is the reverse when the \u00a31 fraction is 1/480?", + "context": "create table table_1682865_1 (reverse varchar, \u00a31_fraction varchar, PRIMARY KEY (reverse))", + "answer": "select reverse from table_1682865_1 where \u00a31_fraction = \"1/480\"" + }, + { + "question": "what is the 2001 % for the status widowed or surviving partner?", + "context": "create table table_273617_6 (status varchar, PRIMARY KEY (status))", + "answer": "select 2001 as __percentage from table_273617_6 where status = \"widowed or surviving partner\"" + }, + { + "question": "What is the status of the county that has a 17.3% poverty rate?", + "context": "create table table_22815568_2 (status varchar, poverty_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_2 where poverty_rate = \"17.3%\"" + }, + { + "question": "What i/o buses are associated with the brand name Core i3-21xxt?", + "context": "create table table_24538587_11 (i_o_bus varchar, brand_name__list_ varchar, PRIMARY KEY (i_o_bus))", + "answer": "select i_o_bus from table_24538587_11 where brand_name__list_ = \"core i3-21xxt\"" + }, + { + "question": "Name the uyghur for \u74e6\u6070", + "context": "create table table_2008069_2 (uyghur___k\u0322ona_yezik\u0322__ varchar, chinese varchar, PRIMARY KEY (uyghur___k\u0322ona_yezik\u0322__))", + "answer": "select uyghur___k\u0322ona_yezik\u0322__ from table_2008069_2 where chinese = \"\u74e6\u6070\"" + }, + { + "question": "What is the female rank in Karnataka?", + "context": "create table table_14785903_1 (females_rank varchar, states varchar, PRIMARY KEY (females_rank))", + "answer": "select females_rank from table_14785903_1 where states = \"karnataka\"" + }, + { + "question": "What is the y = 2011 when the expression is month = floor ((d + e + 114) / 31)?", + "context": "create table table_214479_8 (y_ varchar, _2011 varchar, expression varchar, month varchar, d varchar, e varchar, PRIMARY KEY (y_))", + "answer": "select y_ = _2011 from table_214479_8 where expression = month = floor((d + e + 114) / 31)" + }, + { + "question": "Who won best actress?", + "context": "create table table_25926120_3 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_25926120_3 where name_of_award = \"best actress\"" + }, + { + "question": "How many countries have a republic as their form of government?", + "context": "create table country (governmentform varchar, PRIMARY KEY (governmentform))", + "answer": "select count(*) from country where governmentform = \"republic\"" + }, + { + "question": "find the code of the country where has the greatest number of players.", + "context": "create table players (country_code varchar, PRIMARY KEY (country_code))", + "answer": "select country_code from players group by country_code order by count(*) desc limit 1" + }, + { + "question": "Name the license for 2009-05-25 v 7.61", + "context": "create table table_19495707_1 (license varchar, latest_release_date_and_version varchar, PRIMARY KEY (license))", + "answer": "select license from table_19495707_1 where latest_release_date_and_version = \"2009-05-25 v 7.61\"" + }, + { + "question": "How many events have each participants attended? List the participant id, type and the number.", + "context": "create table participants (participant_id varchar, participant_type_code varchar, PRIMARY KEY (participant_id)); create table participants_in_events (participant_id varchar, PRIMARY KEY (participant_id))", + "answer": "select t1.participant_id, t1.participant_type_code, count(*) from participants as t1 join participants_in_events as t2 on t1.participant_id = t2.participant_id group by t1.participant_id" + }, + { + "question": "What was the categoria when E.E.U.U was the country?", + "context": "create table table_27501971_2 (categor\u00eda varchar, country varchar, PRIMARY KEY (categor\u00eda))", + "answer": "select categor\u00eda from table_27501971_2 where country = \"e.e.u.u\"" + }, + { + "question": "What is the fee (if applicable) for Norway?", + "context": "create table table_25965003_3 (fee__if_applicable_ varchar, countries_and_territories varchar, PRIMARY KEY (fee__if_applicable_))", + "answer": "select fee__if_applicable_ from table_25965003_3 where countries_and_territories = \"norway\"" + }, + { + "question": "How many viewers were there in Sydney for the episode when there were 334000 in Melbourne?", + "context": "create table table_24291077_4 (sydney varchar, melbourne varchar, PRIMARY KEY (sydney))", + "answer": "select sydney from table_24291077_4 where melbourne = 334000" + }, + { + "question": "What is the quarterfinal week for Austin Anderson?", + "context": "create table table_27529608_21 (qtr_final__week_ integer, name_name_of_act varchar, PRIMARY KEY (qtr_final__week_))", + "answer": "select min(qtr_final__week_) from table_27529608_21 where name_name_of_act = \"austin anderson\"" + }, + { + "question": "Find the name of instructors who are advising more than one student.", + "context": "create table advisor (i_id varchar, PRIMARY KEY (i_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from instructor as t1 join advisor as t2 on t1.id = t2.i_id group by t2.i_id having count(*) > 1" + }, + { + "question": "List the most common type of competition.", + "context": "create table competition (competition_type varchar, PRIMARY KEY (competition_type))", + "answer": "select competition_type from competition group by competition_type order by count(*) desc limit 1" + }, + { + "question": "How many points did the Wildcats get when Baylor was an opponent?", + "context": "create table table_24561550_1 (wildcats_points varchar, opponent varchar, PRIMARY KEY (wildcats_points))", + "answer": "select wildcats_points from table_24561550_1 where opponent = \"baylor\"" + }, + { + "question": "How many original air dates have U.S. Views (millions) of 19.49?", + "context": "create table table_17758010_2 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_17758010_2 where us_viewers__millions_ = \"19.49\"" + }, + { + "question": "How many documents have expenses?", + "context": "create table documents_with_expenses (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from documents_with_expenses" + }, + { + "question": "What was the language for the movie \"Late Bloomers\"?", + "context": "create table table_22034853_1 (language_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (language_s_))", + "answer": "select language_s_ from table_22034853_1 where film_title_used_in_nomination = \"late bloomers\"" + }, + { + "question": "What is the Portuguese name of the film who's English title is, Belle Toujours?", + "context": "create table table_22118197_1 (portuguese_title varchar, english_title varchar, PRIMARY KEY (portuguese_title))", + "answer": "select portuguese_title from table_22118197_1 where english_title = \"belle toujours\"" + }, + { + "question": "What is the total number of regions where the average family size is 2.8?", + "context": "create table table_16048129_5 (_percentage_of_total_deportees varchar, average_family_size varchar, PRIMARY KEY (_percentage_of_total_deportees))", + "answer": "select count(_percentage_of_total_deportees) from table_16048129_5 where average_family_size = \"2.8\"" + }, + { + "question": "What is the reviewer id of Daniel Lewis?", + "context": "create table reviewer (rid varchar, name varchar, PRIMARY KEY (rid))", + "answer": "select rid from reviewer where name = \"daniel lewis\"" + }, + { + "question": "How many penalties are there when Eric Vigeanel is the rider?", + "context": "create table table_18666752_3 (total_penalties varchar, rider varchar, PRIMARY KEY (total_penalties))", + "answer": "select count(total_penalties) from table_18666752_3 where rider = \"eric vigeanel\"" + }, + { + "question": "Show other account details for account with name 338.", + "context": "create table accounts (other_account_details varchar, account_name varchar, PRIMARY KEY (other_account_details))", + "answer": "select other_account_details from accounts where account_name = \"338\"" + }, + { + "question": "how many\u00a0equivalent daily inflation rate\u00a0with\u00a0currency name\u00a0being republika srpska dinar", + "context": "create table table_13681_2 (equivalent_daily_inflation_rate varchar, currency_name varchar, PRIMARY KEY (equivalent_daily_inflation_rate))", + "answer": "select count(equivalent_daily_inflation_rate) from table_13681_2 where currency_name = \"republika srpska dinar\"" + }, + { + "question": "If hardware colours is 8 what would the char cells be?", + "context": "create table table_1701371_2 (char_cells varchar, hardware_colours varchar, PRIMARY KEY (char_cells))", + "answer": "select char_cells from table_1701371_2 where hardware_colours = 8" + }, + { + "question": "List the state names and the number of customers living in each state.", + "context": "create table customer_addresses (address_id varchar, PRIMARY KEY (address_id)); create table addresses (state_province_county varchar, address_id varchar, PRIMARY KEY (state_province_county))", + "answer": "select t2.state_province_county, count(*) from customer_addresses as t1 join addresses as t2 on t1.address_id = t2.address_id group by t2.state_province_county" + }, + { + "question": "Name the ground for essendon", + "context": "create table table_16388047_1 (ground varchar, home_team varchar, PRIMARY KEY (ground))", + "answer": "select ground from table_16388047_1 where home_team = \"essendon\"" + }, + { + "question": "Find the name of dorms which have both TV Lounge and Study Room as amenities.", + "context": "create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))", + "answer": "select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'tv lounge' intersect select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'study room'" + }, + { + "question": "Name the number of reporters for heywood hale broun", + "context": "create table table_22514845_5 (reporters varchar, s_analyst varchar, PRIMARY KEY (reporters))", + "answer": "select count(reporters) from table_22514845_5 where s_analyst = \"heywood hale broun\"" + }, + { + "question": "What is the median income for the region where 24.4% pf people make below 60% of the median income?", + "context": "create table table_25042332_16 (median_income___intl integer, below_60_percentage_of_median_income varchar, PRIMARY KEY (median_income___intl))", + "answer": "select min(median_income___intl) as $__ from table_25042332_16 where below_60_percentage_of_median_income = \"24.4%\"" + }, + { + "question": "How many events are there?", + "context": "create table event (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from event" + }, + { + "question": "How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?", + "context": "create table table_23680576_2 (oct_2008 varchar, aug_2008 varchar, PRIMARY KEY (oct_2008))", + "answer": "select count(oct_2008) from table_23680576_2 where aug_2008 = \"30.8%\"" + }, + { + "question": "What was the result of the election in the district whose incumbent is Tom Foley?", + "context": "create table table_1341568_48 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_1341568_48 where incumbent = \"tom foley\"" + }, + { + "question": "who is the the\u00a0womens doubles\u00a0with\u00a0mens doubles\u00a0being reinhold pum karl buchart and\u00a0mixed doubles\u00a0being hermann fr\u00f6hlich lore voit", + "context": "create table table_15002265_1 (womens_doubles varchar, mens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_15002265_1 where mens_doubles = \"reinhold pum karl buchart\" and mixed_doubles = \"hermann fr\u00f6hlich lore voit\"" + }, + { + "question": "How many documents can one grant have at most? List the grant id and number.", + "context": "create table documents (grant_id varchar, PRIMARY KEY (grant_id))", + "answer": "select grant_id, count(*) from documents group by grant_id order by count(*) desc limit 1" + }, + { + "question": "What locations are considered centre?", + "context": "create table table_26387382_1 (power__mw\u00b7hr_yr_ varchar, location__county_ varchar, PRIMARY KEY (power__mw\u00b7hr_yr_))", + "answer": "select power__mw\u00b7hr_yr_ from table_26387382_1 where location__county_ = \"centre\"" + }, + { + "question": "when did the club Citizen achieve its last top division title?", + "context": "create table table_1908877_2 (last_top_division_title varchar, club varchar, PRIMARY KEY (last_top_division_title))", + "answer": "select last_top_division_title from table_1908877_2 where club = \"citizen\"" + }, + { + "question": "Name the total number of director for vesni\u010dko m\u00e1 st\u0159ediskov\u00e1", + "context": "create table table_23141790_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_23141790_1 where original_title = \"vesni\u010dko m\u00e1 st\u0159ediskov\u00e1\"" + }, + { + "question": "What is the premiere on the mega channel?", + "context": "create table table_11323532_2 (premiere varchar, channel varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_11323532_2 where channel = \"mega channel\"" + }, + { + "question": "Incumbent Bill Harsha was the winner in an election in which the candidates were who?", + "context": "create table table_1341718_36 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341718_36 where incumbent = \"bill harsha\"" + }, + { + "question": "Who is the outgoing manager when the team is simurq pfc?", + "context": "create table table_27057070_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27057070_3 where team = \"simurq pfc\"" + }, + { + "question": "who is the\u00a0dudley tuckey medal\u00a0where\u00a0leading goalkicker\u00a0is scott simister (46)", + "context": "create table table_1165048_1 (dudley_tuckey_medal varchar, leading_goalkicker varchar, PRIMARY KEY (dudley_tuckey_medal))", + "answer": "select dudley_tuckey_medal from table_1165048_1 where leading_goalkicker = \"scott simister (46)\"" + }, + { + "question": "Show names of musicals which have at least three actors.", + "context": "create table actor (musical_id varchar, PRIMARY KEY (musical_id)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id group by t1.musical_id having count(*) >= 3" + }, + { + "question": "What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui?", + "context": "create table table_20404716_1 (spanish_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (spanish_title))", + "answer": "select spanish_title from table_20404716_1 where film_title_used_in_nomination = \"ogu and mampato in rapa nui\"" + }, + { + "question": "How many trains leave from puri?", + "context": "create table table_12095519_1 (train_name varchar, origin varchar, PRIMARY KEY (train_name))", + "answer": "select count(train_name) from table_12095519_1 where origin = \"puri\"" + }, + { + "question": "Name the party for john randolph redistricted from the 15th district", + "context": "create table table_2668367_21 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668367_21 where incumbent = \"john randolph redistricted from the 15th district\"" + }, + { + "question": "Find all airlines that have flights from airport 'CVO' but not from 'APG'.", + "context": "create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"cvo\" except select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"apg\"" + }, + { + "question": "What is the document type name and the document type description and creation date for all the documents?", + "context": "create table ref_document_types (document_type_name varchar, document_type_description varchar, document_type_code varchar, PRIMARY KEY (document_type_name)); create table documents (document_date varchar, document_type_code varchar, PRIMARY KEY (document_date))", + "answer": "select t1.document_type_name, t1.document_type_description, t2.document_date from ref_document_types as t1 join documents as t2 on t1.document_type_code = t2.document_type_code" + }, + { + "question": "Who won the womens singles when Marc Zwiebler won the men's singles?", + "context": "create table table_12121208_1 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12121208_1 where mens_singles = \"marc zwiebler\"" + }, + { + "question": "what is the amount of profits in billions for companies with a market value of 204.9 billion?", + "context": "create table table_1682026_6 (profits__billion_$_ varchar, market_value__billion_$_ varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_1682026_6 where market_value__billion_$_ = \"204.9\"" + }, + { + "question": "Which artists have order number 6?", + "context": "create table table_29756040_1 (original_artist varchar, order__number varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_29756040_1 where order__number = \"6\"" + }, + { + "question": "What are the torque characteristics of the model with 346 applications?", + "context": "create table table_20007413_6 (torque varchar, applications varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_20007413_6 where applications = 346" + }, + { + "question": "What are the code and description of the most frequent behavior incident type?", + "context": "create table ref_incident_type (incident_type_description varchar, incident_type_code varchar, PRIMARY KEY (incident_type_description)); create table behavior_incident (incident_type_code varchar, PRIMARY KEY (incident_type_code))", + "answer": "select t1.incident_type_code, t2.incident_type_description from behavior_incident as t1 join ref_incident_type as t2 on t1.incident_type_code = t2.incident_type_code group by t1.incident_type_code order by count(*) desc limit 1" + }, + { + "question": "What is every denomination for the school Seymour college?", + "context": "create table table_22043925_1 (denomination varchar, school varchar, PRIMARY KEY (denomination))", + "answer": "select denomination from table_22043925_1 where school = \"seymour college\"" + }, + { + "question": "When the network mask is 255.255.255.128 what is the lowest available subnet?", + "context": "create table table_149426_4 (available_subnets integer, network_mask varchar, PRIMARY KEY (available_subnets))", + "answer": "select min(available_subnets) from table_149426_4 where network_mask = \"255.255.255.128\"" + }, + { + "question": "With which kind of payment method were the least number of payments processed?", + "context": "create table payments (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code from payments group by payment_method_code order by count(*) limit 1" + }, + { + "question": "When march is 129 what is the August number?", + "context": "create table table_25235489_2 (august_21_22 varchar, march_27_29 varchar, PRIMARY KEY (august_21_22))", + "answer": "select august_21_22 from table_25235489_2 where march_27_29 = \"129\"" + }, + { + "question": "Which company name has headquarters in nagaokakyo, kyoto?", + "context": "create table table_237199_1 (company_name varchar, world_headquarters varchar, PRIMARY KEY (company_name))", + "answer": "select company_name from table_237199_1 where world_headquarters = \"nagaokakyo, kyoto\"" + }, + { + "question": "What digital channel corresponds to virtual channel 23.2?", + "context": "create table table_2857352_3 (digital_channel varchar, virtual_channel varchar, PRIMARY KEY (digital_channel))", + "answer": "select digital_channel from table_2857352_3 where virtual_channel = \"23.2\"" + }, + { + "question": "Name the opponent for astrodome", + "context": "create table table_14418812_1 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_14418812_1 where game_site = \"astrodome\"" + }, + { + "question": "What is the date of appointment when the date of vacancy is 15 march 2011?", + "context": "create table table_26998135_2 (date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_26998135_2 where date_of_vacancy = \"15 march 2011\"" + }, + { + "question": "When the ability is 32, what is the leadership ability?", + "context": "create table table_1855342_5 (leadership_ability integer, overall_ability varchar, PRIMARY KEY (leadership_ability))", + "answer": "select max(leadership_ability) from table_1855342_5 where overall_ability = 32" + }, + { + "question": "Name the original air date for harry hannigan directed by adam weissman", + "context": "create table table_23937219_2 (original_air_date varchar, written_by varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23937219_2 where written_by = \"harry hannigan\" and directed_by = \"adam weissman\"" + }, + { + "question": "Name the home team score for brisbane lions", + "context": "create table table_16388439_3 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388439_3 where home_team = \"brisbane lions\"" + }, + { + "question": "Which headquarters are associated with the school board Renfrew County Catholic District School Board?", + "context": "create table table_1506619_1 (headquarters varchar, school_board varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from table_1506619_1 where school_board = \"renfrew county catholic district school_board\"" + }, + { + "question": "Name the comptroller for republican", + "context": "create table table_22607062_1 (comptroller varchar, ticket___office varchar, PRIMARY KEY (comptroller))", + "answer": "select comptroller from table_22607062_1 where ticket___office = \"republican\"" + }, + { + "question": "Who is man of the match for match number 5?", + "context": "create table table_17103566_1 (man_of_the_match varchar, match_number varchar, PRIMARY KEY (man_of_the_match))", + "answer": "select man_of_the_match from table_17103566_1 where match_number = 5" + }, + { + "question": "List the 1st air date for the show where the writers are russel friend & garrett lerner.", + "context": "create table table_22904780_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_22904780_1 where written_by = \"russel friend & garrett lerner\"" + }, + { + "question": "What is the mountain classification name if the winner is Bernhard Eisel?", + "context": "create table table_22941863_19 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_22941863_19 where winner = \"bernhard eisel\"" + }, + { + "question": "what is the minimum number is lariciresinol where matairesinol number is 440?", + "context": "create table table_1831262_2 (lariciresinol integer, matairesinol varchar, PRIMARY KEY (lariciresinol))", + "answer": "select min(lariciresinol) from table_1831262_2 where matairesinol = 440" + }, + { + "question": "What's the percentage of undecided according to the poll source with sampling error of 2.7%?", + "context": "create table table_20032301_3 (undecided varchar, sampling_error varchar, PRIMARY KEY (undecided))", + "answer": "select undecided from table_20032301_3 where sampling_error = \"2.7%\"" + }, + { + "question": "How was the Temple of Artemis at Ephesus destroyed?", + "context": "create table table_19342760_1 (cause_of_destruction varchar, name varchar, PRIMARY KEY (cause_of_destruction))", + "answer": "select cause_of_destruction from table_19342760_1 where name = \"temple of artemis at ephesus\"" + }, + { + "question": "How many characters does Maurice Dean Wint play in the movie Cube?", + "context": "create table table_2933761_1 (status varchar, played_by varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_2933761_1 where played_by = \"maurice dean wint\"" + }, + { + "question": "Who is the chairman when teh captain is fawzi bashir?", + "context": "create table table_27631756_2 (chairman varchar, captain varchar, PRIMARY KEY (chairman))", + "answer": "select chairman from table_27631756_2 where captain = \"fawzi bashir\"" + }, + { + "question": "What is the total number of N for the element with nuclide of 141 pr?", + "context": "create table table_15366768_1 (n___n__ varchar, nuclide varchar, PRIMARY KEY (n___n__))", + "answer": "select count(n___n__) from table_15366768_1 where nuclide = \"141 pr\"" + }, + { + "question": "For each election cycle, report the number of voting records.", + "context": "create table voting_record (election_cycle varchar, PRIMARY KEY (election_cycle))", + "answer": "select election_cycle, count(*) from voting_record group by election_cycle" + }, + { + "question": "What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?", + "context": "create table table_26986076_6 (sat_21_aug varchar, tues_24_aug varchar, PRIMARY KEY (sat_21_aug))", + "answer": "select sat_21_aug from table_26986076_6 where tues_24_aug = \"20' 38.40 109.680mph\"" + }, + { + "question": "Show the number of documents.", + "context": "create table documents (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from documents" + }, + { + "question": "For each product which has problems, what are the number of problems and the product id?", + "context": "create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select count(*), t2.product_id from problems as t1 join product as t2 on t1.product_id = t2.product_id group by t2.product_id" + }, + { + "question": "What is the name of department where has the smallest number of professors?", + "context": "create table professor (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name from professor as t1 join department as t2 on t1.dept_code = t2.dept_code group by t1.dept_code order by count(*) limit 1" + }, + { + "question": "What is every value for average on previous season if the competition is league two?", + "context": "create table table_2970978_1 (___ave_on_prev_season varchar, competition varchar, PRIMARY KEY (___ave_on_prev_season))", + "answer": "select ___ave_on_prev_season from table_2970978_1 where competition = \"league two\"" + }, + { + "question": "List all candidates in elections where the incumbent politician is Goodloe Byron.", + "context": "create table table_1341690_20 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341690_20 where incumbent = \"goodloe byron\"" + }, + { + "question": "Show all template type codes with less than three templates.", + "context": "create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code from templates group by template_type_code having count(*) < 3" + }, + { + "question": "what's the\u00a0permanence of the body\u00a0where\u00a0penance\u00a0is the undifferenced", + "context": "create table table_11609814_1 (permanence_of_the_body varchar, penance varchar, PRIMARY KEY (permanence_of_the_body))", + "answer": "select permanence_of_the_body from table_11609814_1 where penance = \"the undifferenced\"" + }, + { + "question": "What are the career and other notes for wrestlers whose stable is oguruma?", + "context": "create table table_1557974_1 (career_and_other_notes varchar, stable varchar, PRIMARY KEY (career_and_other_notes))", + "answer": "select career_and_other_notes from table_1557974_1 where stable = \"oguruma\"" + }, + { + "question": "What is the enrollment ratio in preschool in the region where the enrollment ratio in primary is 93.10?", + "context": "create table table_25042332_22 (preschool__0_5_years_ varchar, primary__6_13_years_ varchar, PRIMARY KEY (preschool__0_5_years_))", + "answer": "select preschool__0_5_years_ from table_25042332_22 where primary__6_13_years_ = \"93.10\"" + }, + { + "question": "Who was the leading actor in the film with a supporting actor named Cecil Kellaway?", + "context": "create table table_24225238_1 (leading_actor varchar, supporting_actor varchar, PRIMARY KEY (leading_actor))", + "answer": "select leading_actor from table_24225238_1 where supporting_actor = \"cecil kellaway\"" + }, + { + "question": "List the maximum, minimum and average number of used kb in screen mode.", + "context": "create table screen_mode (used_kb integer, PRIMARY KEY (used_kb))", + "answer": "select max(used_kb), min(used_kb), avg(used_kb) from screen_mode" + }, + { + "question": "What is the nba draft for the player from the hometown of virginia beach, va?", + "context": "create table table_11677760_1 (nba_draft varchar, hometown varchar, PRIMARY KEY (nba_draft))", + "answer": "select nba_draft from table_11677760_1 where hometown = \"virginia beach, va\"" + }, + { + "question": "How many customers are there in the customer type with the most customers?", + "context": "create table customers (customer_type_code varchar, PRIMARY KEY (customer_type_code))", + "answer": "select count(*) from customers group by customer_type_code order by count(*) desc limit 1" + }, + { + "question": "What is every original air date with U.S. viewers of 0.23 million?", + "context": "create table table_29803475_2 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_29803475_2 where us_viewers__million_ = \"0.23\"" + }, + { + "question": "What was the lowest attendance figure at Football Park?", + "context": "create table table_1161065_28 (lowest varchar, venue varchar, PRIMARY KEY (lowest))", + "answer": "select lowest from table_1161065_28 where venue = \"football park\"" + }, + { + "question": "Name the state class for resigned november 3, 1964", + "context": "create table table_2159506_3 (state__class_ varchar, reason_for_change varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_2159506_3 where reason_for_change = \"resigned november 3, 1964\"" + }, + { + "question": "What was the score in the final where one of the opponents in the final was fitzgerald vilas?", + "context": "create table table_22597626_17 (score_in_the_final varchar, opponents_in_the_final varchar, PRIMARY KEY (score_in_the_final))", + "answer": "select score_in_the_final from table_22597626_17 where opponents_in_the_final = \"fitzgerald vilas\"" + }, + { + "question": "What was the score for the game that kicked off at 6:00 p.m.?", + "context": "create table table_24918268_2 (final_score varchar, kickoff varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_24918268_2 where kickoff = \"6:00 p.m.\"" + }, + { + "question": "What is the varsity name of the university of mcgill university?", + "context": "create table table_27369069_4 (varsity_name varchar, university varchar, PRIMARY KEY (varsity_name))", + "answer": "select varsity_name from table_27369069_4 where university = \"mcgill university\"" + }, + { + "question": "Name the degree for otorhinolaryngology", + "context": "create table table_19304764_2 (degree_diploma varchar, discipline varchar, PRIMARY KEY (degree_diploma))", + "answer": "select degree_diploma from table_19304764_2 where discipline = \"otorhinolaryngology\"" + }, + { + "question": "When aspect computing is the yacht what is the sail number?", + "context": "create table table_1858574_2 (sail_number varchar, yacht varchar, PRIMARY KEY (sail_number))", + "answer": "select sail_number from table_1858574_2 where yacht = \"aspect computing\"" + }, + { + "question": "Name the location for 2-1 record", + "context": "create table table_23192661_3 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_23192661_3 where record = \"2-1\"" + }, + { + "question": "Name the number of total pts for gbr challenge", + "context": "create table table_21457754_2 (total_pts varchar, team_name varchar, PRIMARY KEY (total_pts))", + "answer": "select count(total_pts) from table_21457754_2 where team_name = \"gbr challenge\"" + }, + { + "question": "Who are the friends of Bob?", + "context": "create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select t2.friend from person as t1 join personfriend as t2 on t1.name = t2.name where t1.name = 'bob'" + }, + { + "question": "Who directed the episode watched by 2.01 million US viewers?", + "context": "create table table_28466323_2 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_28466323_2 where us_viewers__million_ = \"2.01\"" + }, + { + "question": "What number is shown for january 15-16 when november 3 is 133?", + "context": "create table table_25252080_3 (january_15_16 varchar, november_3 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25252080_3 where november_3 = \"133\"" + }, + { + "question": "What city has channel tv (dt) 25 (31)?", + "context": "create table table_1353096_1 (city_of_license__market varchar, channel_tv___dt__ varchar, PRIMARY KEY (city_of_license__market))", + "answer": "select city_of_license__market from table_1353096_1 where channel_tv___dt__ = \"25 (31)\"" + }, + { + "question": "Who is the play-by-play when nbc is the network and darren pang is the ice level reporters?", + "context": "create table table_22485543_1 (play_by_play varchar, network varchar, ice_level_reporters varchar, PRIMARY KEY (play_by_play))", + "answer": "select play_by_play from table_22485543_1 where network = \"nbc\" and ice_level_reporters = \"darren pang\"" + }, + { + "question": "What document status codes do we have?", + "context": "create table ref_document_status (document_status_code varchar, PRIMARY KEY (document_status_code))", + "answer": "select document_status_code from ref_document_status" + }, + { + "question": "what is the location where there are over 200 cattle businesses", + "context": "create table table_29012710_1 (province varchar, number_of_dairy_farms varchar, PRIMARY KEY (province))", + "answer": "select province from table_29012710_1 where number_of_dairy_farms = 200" + }, + { + "question": "Show the id, name of each editor and the number of journal committees they are on.", + "context": "create table editor (editor_id varchar, name varchar, editor_id varchar, PRIMARY KEY (editor_id)); create table journal_committee (editor_id varchar, PRIMARY KEY (editor_id))", + "answer": "select t1.editor_id, t1.name, count(*) from editor as t1 join journal_committee as t2 on t1.editor_id = t2.editor_id group by t1.editor_id" + }, + { + "question": "Name the least 2 credits for flush", + "context": "create table table_148535_2 (hand varchar, PRIMARY KEY (hand))", + "answer": "select min(2 as _credits) from table_148535_2 where hand = \"flush\"" + }, + { + "question": "Who is the outgoing head coach when the incoming head coach is abdollah veysi?", + "context": "create table table_27383390_4 (outgoing_head_coach varchar, incoming_head_coach varchar, PRIMARY KEY (outgoing_head_coach))", + "answer": "select outgoing_head_coach from table_27383390_4 where incoming_head_coach = \"abdollah veysi\"" + }, + { + "question": "What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?", + "context": "create table table_1310499_1 (input_splines varchar, tag_id varchar, PRIMARY KEY (input_splines))", + "answer": "select 3 as rd from table_1310499_1 where input_splines = 26 and tag_id = \"1386-000-017\"" + }, + { + "question": "Who was in the original berkley cast while stark sands was in the original broadway cast?", + "context": "create table table_24353141_1 (original_berkeley_cast varchar, original_broadway_cast varchar, PRIMARY KEY (original_berkeley_cast))", + "answer": "select original_berkeley_cast from table_24353141_1 where original_broadway_cast = \"stark sands\"" + }, + { + "question": "What's the Chinese (simplified/traditional) name of Susong County?", + "context": "create table table_1976898_1 (chinese_name__simplified___traditional_ varchar, english_name varchar, PRIMARY KEY (chinese_name__simplified___traditional_))", + "answer": "select chinese_name__simplified___traditional_ from table_1976898_1 where english_name = \"susong county\"" + }, + { + "question": "Show the types of schools that have two schools.", + "context": "create table school (type varchar, PRIMARY KEY (type))", + "answer": "select type from school group by type having count(*) = 2" + }, + { + "question": "What is the thai name of the transcription wan chan?", + "context": "create table table_180802_3 (thai_name varchar, transcription varchar, PRIMARY KEY (thai_name))", + "answer": "select thai_name from table_180802_3 where transcription = \"wan chan\"" + }, + { + "question": "Name the title that was directed by john terlesky", + "context": "create table table_24222929_2 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_24222929_2 where directed_by = \"john terlesky\"" + }, + { + "question": "Which chromosomes have an unknown property?", + "context": "create table table_29871617_1 (name varchar, property varchar, PRIMARY KEY (name))", + "answer": "select name from table_29871617_1 where property = \"unknown\"" + }, + { + "question": "What is the arabs when the annual population growth rate is 1.7%?", + "context": "create table table_25947046_1 (arabs varchar, annual_population_growth_rate varchar, PRIMARY KEY (arabs))", + "answer": "select arabs from table_25947046_1 where annual_population_growth_rate = \"1.7%\"" + }, + { + "question": "Which enzyme names have the substring \"ALA\"?", + "context": "create table enzyme (name varchar, PRIMARY KEY (name))", + "answer": "select name from enzyme where name like \"%ala%\"" + }, + { + "question": "What was the average speed (mph) for the racer who finished in 1:45:00?", + "context": "create table table_17802778_1 (average_speed__mph_ varchar, race_time varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_17802778_1 where race_time = \"1:45:00\"" + }, + { + "question": "How many times did Australasia received a program if the Americas received 115 program?", + "context": "create table table_27184837_1 (australasia varchar, americas varchar, PRIMARY KEY (australasia))", + "answer": "select count(australasia) from table_27184837_1 where americas = 115" + }, + { + "question": "Who were the MLB draft with the hometown Opa-locka, Fl?", + "context": "create table table_11677100_12 (mlb_draft varchar, hometown varchar, PRIMARY KEY (mlb_draft))", + "answer": "select mlb_draft from table_11677100_12 where hometown = \"opa-locka, fl\"" + }, + { + "question": "Name the builder for serial number being 377", + "context": "create table table_20236726_2 (builder varchar, serial_no varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_20236726_2 where serial_no = 377" + }, + { + "question": "Where is lincoln high school located?", + "context": "create table table_11677691_6 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_6 where school = \"lincoln high school\"" + }, + { + "question": "who scored highest points on the game with record 27\u20135", + "context": "create table table_17190012_7 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17190012_7 where record = \"27\u20135\"" + }, + { + "question": "Who was the RF when the SP was vicente padilla?", + "context": "create table table_12142298_2 (rightfielder varchar, starting_pitcher varchar, PRIMARY KEY (rightfielder))", + "answer": "select rightfielder from table_12142298_2 where starting_pitcher = \"vicente padilla\"" + }, + { + "question": "How many teams have a head coach named mahdi ali?", + "context": "create table table_27631756_2 (team varchar, head_coach varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27631756_2 where head_coach = \"mahdi ali\"" + }, + { + "question": "Which event had 25,883 entries?", + "context": "create table table_22050544_3 (event varchar, entries varchar, PRIMARY KEY (event))", + "answer": "select event from table_22050544_3 where entries = \"25,883\"" + }, + { + "question": "Name the total number of model for amd opteron dual-core 2.6ghz", + "context": "create table table_27765443_2 (model___computer_name varchar, cpu_type varchar, PRIMARY KEY (model___computer_name))", + "answer": "select count(model___computer_name) from table_27765443_2 where cpu_type = \"amd opteron dual-core 2.6ghz\"" + }, + { + "question": "How many times is the formula tl 2 ba 2 cuo 6?", + "context": "create table table_101336_1 (no_of_cu_o_planes_in_unit_cell varchar, formula varchar, PRIMARY KEY (no_of_cu_o_planes_in_unit_cell))", + "answer": "select no_of_cu_o_planes_in_unit_cell from table_101336_1 where formula = \"tl 2 ba 2 cuo 6\"" + }, + { + "question": "how many matches were played that average goals scored 1.25?", + "context": "create table table_27708484_3 (matches_played varchar, average_goals_scored_per_match varchar, PRIMARY KEY (matches_played))", + "answer": "select count(matches_played) from table_27708484_3 where average_goals_scored_per_match = \"1.25\"" + }, + { + "question": "Name the original airdate for robin mukherjee and margy kinmonth", + "context": "create table table_27208814_1 (original_airdate varchar, writer varchar, director varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_27208814_1 where writer = \"robin mukherjee\" and director = \"margy kinmonth\"" + }, + { + "question": "What was the % 2006 rating in 2006 where there were 5 seats?", + "context": "create table table_21132404_1 (_percentage_2006 varchar, seats_2006 varchar, PRIMARY KEY (_percentage_2006))", + "answer": "select _percentage_2006 from table_21132404_1 where seats_2006 = 5" + }, + { + "question": "Who wrote the episode with 7.52 million US viewers?", + "context": "create table table_28688313_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28688313_1 where us_viewers__in_millions_ = \"7.52\"" + }, + { + "question": "What instrument did the musician with last name \"Heilo\" use in the song \"Le Pop\"?", + "context": "create table songs (songid varchar, songid varchar, title varchar, PRIMARY KEY (songid)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table band (id varchar, lastname varchar, PRIMARY KEY (id)); create table instruments (instrument varchar, songid varchar, bandmateid varchar, PRIMARY KEY (instrument))", + "answer": "select t4.instrument from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid join instruments as t4 on t4.songid = t3.songid and t4.bandmateid = t2.id where t2.lastname = \"heilo\" and t3.title = \"le pop\"" + }, + { + "question": "List the section_name in reversed lexicographical order.", + "context": "create table sections (section_name varchar, PRIMARY KEY (section_name))", + "answer": "select section_name from sections order by section_name desc" + }, + { + "question": "How many different industries are the companies in?", + "context": "create table companies (industry varchar, PRIMARY KEY (industry))", + "answer": "select count(distinct industry) from companies" + }, + { + "question": "What is the highest number of interceptions?", + "context": "create table table_19418696_3 (interceptions integer, PRIMARY KEY (interceptions))", + "answer": "select max(interceptions) from table_19418696_3" + }, + { + "question": "What's the transcription for the Thai name \u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21?", + "context": "create table table_20354_5 (transcription varchar, thai_name varchar, PRIMARY KEY (transcription))", + "answer": "select transcription from table_20354_5 where thai_name = \"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21\"" + }, + { + "question": "What is the type of allergy Cat?", + "context": "create table allergy_type (allergytype varchar, allergy varchar, PRIMARY KEY (allergytype))", + "answer": "select allergytype from allergy_type where allergy = \"cat\"" + }, + { + "question": "When interplanet janet is the episode title who is the music by?", + "context": "create table table_191105_3 (music_by varchar, episode_title varchar, PRIMARY KEY (music_by))", + "answer": "select music_by from table_191105_3 where episode_title = \"interplanet janet\"" + }, + { + "question": "When did the player from Hawaii play for Toronto?", + "context": "create table table_10015132_3 (years_in_toronto varchar, school_club_team varchar, PRIMARY KEY (years_in_toronto))", + "answer": "select years_in_toronto from table_10015132_3 where school_club_team = \"hawaii\"" + }, + { + "question": "Find the texts of assessment notes for teachers with last name \"Schuster\".", + "context": "create table assessment_notes (text_of_notes varchar, teacher_id varchar, PRIMARY KEY (text_of_notes)); create table teachers (teacher_id varchar, last_name varchar, PRIMARY KEY (teacher_id))", + "answer": "select t1.text_of_notes from assessment_notes as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id where t2.last_name = \"schuster\"" + }, + { + "question": "What day did the job open up when bogi\u0107evi\u0107 was outgoing?", + "context": "create table table_17933600_2 (date_of_vacancy varchar, outgoing_manage varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_17933600_2 where outgoing_manage = \"bogi\u0107evi\u0107\"" + }, + { + "question": "Who is the builder for the location Irton Road shed", + "context": "create table table_142159_1 (builder varchar, location varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_142159_1 where location = \"irton road shed\"" + }, + { + "question": "What country had a contestant that was 1.70 meters tall?", + "context": "create table table_23495048_2 (represent varchar, height__mtr_ varchar, PRIMARY KEY (represent))", + "answer": "select represent from table_23495048_2 where height__mtr_ = \"1.70\"" + }, + { + "question": "What is the number of s sikh where 955 is the number of buddhists?", + "context": "create table table_14598_5 (s_sikh varchar, buddhist varchar, PRIMARY KEY (s_sikh))", + "answer": "select s_sikh from table_14598_5 where buddhist = \"955\"" + }, + { + "question": "What is the mind of the one that has qut reason?", + "context": "create table table_19760_1 (mind varchar, reason varchar, PRIMARY KEY (mind))", + "answer": "select mind from table_19760_1 where reason = \"qut\"" + }, + { + "question": "How many lbs were lost at the reunion by the contestant whose finale weight was 151.4?", + "context": "create table table_28654454_5 (lbs_lost_reunion varchar, finale_weight varchar, PRIMARY KEY (lbs_lost_reunion))", + "answer": "select lbs_lost_reunion from table_28654454_5 where finale_weight = \"151.4\"" + }, + { + "question": "How many yards for the player with tfl-yds of 2.5-4?", + "context": "create table table_18064020_21 (no_yds varchar, tfl_yds varchar, PRIMARY KEY (no_yds))", + "answer": "select no_yds from table_18064020_21 where tfl_yds = \"2.5-4\"" + }, + { + "question": "What are the names of circuits that belong to UK or Malaysia?", + "context": "create table circuits (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from circuits where country = \"uk\" or country = \"malaysia\"" + }, + { + "question": "How many times did Neu-Vehlefanz occur when Schwante had 2.043?", + "context": "create table table_11680175_1 (vehlefanz varchar, neu varchar, schwante varchar, PRIMARY KEY (vehlefanz))", + "answer": "select count(neu) - vehlefanz from table_11680175_1 where schwante = \"2.043\"" + }, + { + "question": "Who directed the episode seen by 3.93 million people in the US?", + "context": "create table table_18268826_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_18268826_1 where us_viewers__million_ = \"3.93\"" + }, + { + "question": "When are team Galway's dates of appointment?", + "context": "create table table_11190568_7 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_11190568_7 where team = \"galway\"" + }, + { + "question": "Who were the candidates when Jack Fields was the incumbent?", + "context": "create table table_1341577_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341577_44 where incumbent = \"jack fields\"" + }, + { + "question": "When they played Universidad de Chile, what was the score of the first leg?", + "context": "create table table_17282875_3 (team__number2 varchar, PRIMARY KEY (team__number2))", + "answer": "select count(1 as st_leg) from table_17282875_3 where team__number2 = \"universidad de chile\"" + }, + { + "question": "Who was the high scorer in the game when the team was 1-4?", + "context": "create table table_13619105_3 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13619105_3 where record = \"1-4\"" + }, + { + "question": "how many milion of viewers where in the episode called in english \"is a great way to care\"", + "context": "create table table_29633639_1 (hk_viewers varchar, english_title varchar, PRIMARY KEY (hk_viewers))", + "answer": "select hk_viewers from table_29633639_1 where english_title = \"a great way to care\"" + }, + { + "question": "How many states are there?", + "context": "create table area_code_state (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from area_code_state" + }, + { + "question": "What is the least number of miss united continents?", + "context": "create table table_17522854_6 (miss_united_continent integer, PRIMARY KEY (miss_united_continent))", + "answer": "select min(miss_united_continent) from table_17522854_6" + }, + { + "question": "What is the largest ethnic group in \u043c\u0430\u043b\u0435 \u043f\u0438\u0458\u0430\u0446\u0435 (hungarian: kispiac)?", + "context": "create table table_2562572_33 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_33 where cyrillic_name_other_names = \"\u043c\u0430\u043b\u0435 \u043f\u0438\u0458\u0430\u0446\u0435 (hungarian: kispiac)\"" + }, + { + "question": "What score did the away team receive against home team Port Adelaide?", + "context": "create table table_16388478_3 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team as score from table_16388478_3 where home_team = \"port adelaide\"" + }, + { + "question": "How many were promoted from the league when Esher was relegated to the league?", + "context": "create table table_23927423_4 (promoted_from_league varchar, relegated_to_league varchar, PRIMARY KEY (promoted_from_league))", + "answer": "select count(promoted_from_league) from table_23927423_4 where relegated_to_league = \"esher\"" + }, + { + "question": "What was the record when they played golden state?", + "context": "create table table_23274514_9 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23274514_9 where team = \"golden state\"" + }, + { + "question": "When did Minnesota Poll administer their poll?", + "context": "create table table_20032301_3 (dates_administered varchar, poll_source varchar, PRIMARY KEY (dates_administered))", + "answer": "select dates_administered from table_20032301_3 where poll_source = \"minnesota poll\"" + }, + { + "question": "Who wrote the episode seen by 10.64 million people in the US?", + "context": "create table table_23528223_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23528223_2 where us_viewers__millions_ = \"10.64\"" + }, + { + "question": "Name the horizontal 0 for \u901a tong", + "context": "create table table_25519358_1 (horizontal_0_a varchar, name varchar, PRIMARY KEY (horizontal_0_a))", + "answer": "select horizontal_0_a from table_25519358_1 where name = \"\u901a tong\"" + }, + { + "question": "What is the 100 year for Carbon Dioxide?", + "context": "create table table_21350772_2 (gas_name varchar, PRIMARY KEY (gas_name))", + "answer": "select 100 as _yr from table_21350772_2 where gas_name = \"carbon dioxide\"" + }, + { + "question": "Show the name of aircraft which fewest people have its certificate.", + "context": "create table certificate (aid varchar, PRIMARY KEY (aid)); create table aircraft (name varchar, aid varchar, PRIMARY KEY (name))", + "answer": "select t2.name from certificate as t1 join aircraft as t2 on t2.aid = t1.aid group by t1.aid order by count(*) desc limit 1" + }, + { + "question": "How many party classifications are there for the senator from Canton?", + "context": "create table table_26129220_2 (party varchar, residence varchar, PRIMARY KEY (party))", + "answer": "select party from table_26129220_2 where residence = \"canton\"" + }, + { + "question": "How many authors or editors are there for the book title elf child?", + "context": "create table table_20193855_2 (author_s__or_editor_s_ varchar, book_title varchar, PRIMARY KEY (author_s__or_editor_s_))", + "answer": "select count(author_s__or_editor_s_) from table_20193855_2 where book_title = \"elf child\"" + }, + { + "question": "Find the number of professors with a Ph.D. degree in each department.", + "context": "create table professor (dept_code varchar, prof_high_degree varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*), dept_code from professor where prof_high_degree = 'ph.d.' group by dept_code" + }, + { + "question": "What was the date that the st. george-illawarra dragons lost?", + "context": "create table table_11236195_5 (grand_finaldate varchar, losingteam varchar, PRIMARY KEY (grand_finaldate))", + "answer": "select grand_finaldate from table_11236195_5 where losingteam = \"st. george-illawarra dragons\"" + }, + { + "question": "What are the stations in Tarzana?", + "context": "create table table_2093995_1 (stations varchar, city__neighborhood varchar, PRIMARY KEY (stations))", + "answer": "select stations from table_2093995_1 where city__neighborhood = \"tarzana\"" + }, + { + "question": "Which student visited restaurant most often? List student's first name and last name.", + "context": "create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table student (id varchar, PRIMARY KEY (id))", + "answer": "select student.fname, student.lname from student join visits_restaurant on student.stuid = visits_restaurant.stuid group by student.stuid order by count(*) desc limit 1" + }, + { + "question": "Name the womens doubles when mens doubles is charalambos kazilas stepan partemian", + "context": "create table table_14903881_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_14903881_1 where mens_doubles = \"charalambos kazilas stepan partemian\"" + }, + { + "question": "How many vehicle in total?", + "context": "create table vehicles (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from vehicles" + }, + { + "question": "Name the outgoing manager for esteban vigo", + "context": "create table table_27666856_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_27666856_3 where replaced_by = \"esteban vigo\"" + }, + { + "question": "what is the number of teams where the record is 0-1", + "context": "create table table_26173058_2 (amman varchar, wehdat varchar, PRIMARY KEY (amman))", + "answer": "select count(amman) from table_26173058_2 where wehdat = \"0-1\"" + }, + { + "question": "what's the\u00a0saturday\u00a0time with\u00a0wednesday\u00a0being 10:00-5:00", + "context": "create table table_11019212_1 (saturday varchar, wednesday varchar, PRIMARY KEY (saturday))", + "answer": "select saturday from table_11019212_1 where wednesday = \"10:00-5:00\"" + }, + { + "question": "Show the names of journalists from \"England\" or \"Wales\".", + "context": "create table journalist (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from journalist where nationality = \"england\" or nationality = \"wales\"" + }, + { + "question": "What is the part 4 of the word with the part 1 \"heizan\"?", + "context": "create table table_1745843_8 (part_4 varchar, part_1 varchar, PRIMARY KEY (part_4))", + "answer": "select part_4 from table_1745843_8 where part_1 = \"heizan\"" + }, + { + "question": "How many combination classifications have the winner as Erik Zabel and a points classification as Alessandro Petacchi", + "context": "create table table_15059783_1 (combination_classification varchar, points_classification varchar, winner varchar, PRIMARY KEY (combination_classification))", + "answer": "select count(combination_classification) from table_15059783_1 where points_classification = \"alessandro petacchi\" and winner = \"erik zabel\"" + }, + { + "question": "What was the production number of the episode filmed in aug/sept 1968?", + "context": "create table table_1971734_1 (prod__number varchar, filmed varchar, PRIMARY KEY (prod__number))", + "answer": "select prod__number from table_1971734_1 where filmed = \"aug/sept 1968\"" + }, + { + "question": "Who won soccer when madison won volleyball, lexington won cross country and orrville won softball", + "context": "create table table_16423070_4 (soccer varchar, softball varchar, volleyball varchar, cross_country varchar, PRIMARY KEY (soccer))", + "answer": "select soccer from table_16423070_4 where volleyball = \"madison\" and cross_country = \"lexington\" and softball = \"orrville\"" + }, + { + "question": "What is the status in the district with the incumbent Bob Barr?", + "context": "create table table_26336739_1 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_26336739_1 where incumbent = \"bob barr\"" + }, + { + "question": "Who had 41.76% yes votes", + "context": "create table table_256286_20 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_20 where _percentage_yes = \"41.76%\"" + }, + { + "question": "How many runs conceded when the earned runs was 4.96?", + "context": "create table table_15700367_6 (runs_conceded varchar, er varchar, PRIMARY KEY (runs_conceded))", + "answer": "select runs_conceded from table_15700367_6 where er = \"4.96\"" + }, + { + "question": "What time was the kickoff against the Frankfurt Galaxy?", + "context": "create table table_27764201_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff))", + "answer": "select kickoff from table_27764201_2 where opponent = \"frankfurt galaxy\"" + }, + { + "question": "Name the maximum discs", + "context": "create table table_14562722_2 (discs integer, PRIMARY KEY (discs))", + "answer": "select max(discs) from table_14562722_2" + }, + { + "question": "What was the actors name for fuchzhou and nomination was best non-professional actor?", + "context": "create table table_10236830_1 (actors_name varchar, film_name varchar, nomination varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_1 where film_name = \"fuchzhou\" and nomination = \"best non-professional actor\"" + }, + { + "question": "Who scored the high points for the game with record 9\u20133?", + "context": "create table table_27722408_6 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27722408_6 where record = \"9\u20133\"" + }, + { + "question": "What is the desired rate when the rate limit (p) is 50.33?", + "context": "create table table_25316812_1 (desired_rate__p_ varchar, rate_limit__p_ varchar, PRIMARY KEY (desired_rate__p_))", + "answer": "select desired_rate__p_ from table_25316812_1 where rate_limit__p_ = \"50.33\"" + }, + { + "question": "Find the first and last name of the staff members who reported problems from the product \"rem\" but not \"aut\"?", + "context": "create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table staff (staff_first_name varchar, staff_last_name varchar, staff_id varchar, PRIMARY KEY (staff_first_name)); create table problems (product_id varchar, reported_by_staff_id varchar, PRIMARY KEY (product_id))", + "answer": "select t3.staff_first_name, t3.staff_last_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t2.product_name = \"rem\" except select t3.staff_first_name, t3.staff_last_name from problems as t1 join product as t2 join staff as t3 on t1.product_id = t2.product_id and t1.reported_by_staff_id = t3.staff_id where t2.product_name = \"aut\"" + }, + { + "question": "Show the distinct countries of managers.", + "context": "create table manager (country varchar, PRIMARY KEY (country))", + "answer": "select distinct country from manager" + }, + { + "question": "Show all video games and their types in the order of their names.", + "context": "create table video_games (gname varchar, gtype varchar, PRIMARY KEY (gname))", + "answer": "select gname, gtype from video_games order by gname" + }, + { + "question": "Who won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?", + "context": "create table table_22546460_4 (best_female_artist varchar, best_male_lyricist varchar, PRIMARY KEY (best_female_artist))", + "answer": "select best_female_artist from table_22546460_4 where best_male_lyricist = \"best r&b contributor\"" + }, + { + "question": "Who was the opponent during the biggest defeat?", + "context": "create table table_1233808_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_1233808_2 where record = \"biggest defeat\"" + }, + { + "question": "Who made the challenge on the Albert Park Grand Prix Circuit?", + "context": "create table table_25531112_2 (challenge varchar, circuit varchar, PRIMARY KEY (challenge))", + "answer": "select challenge from table_25531112_2 where circuit = \"albert park grand prix circuit\"" + }, + { + "question": "What's the title of the episode originally aired on September 23, 2008?", + "context": "create table table_19401346_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_19401346_1 where original_air_date = \"september 23, 2008\"" + }, + { + "question": "how many\u00a0equivalent daily inflation rate\u00a0with\u00a0time required for prices to double\u00a0being 3.7 days", + "context": "create table table_13681_2 (equivalent_daily_inflation_rate varchar, time_required_for_prices_to_double varchar, PRIMARY KEY (equivalent_daily_inflation_rate))", + "answer": "select count(equivalent_daily_inflation_rate) from table_13681_2 where time_required_for_prices_to_double = \"3.7 days\"" + }, + { + "question": "Which school did the player that played 2004-05 attend?", + "context": "create table table_10015132_21 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_21 where years_in_toronto = \"2004-05\"" + }, + { + "question": "What is the episode title for the episode numbered #1.4?", + "context": "create table table_15211468_1 (episode_title varchar, episode_no varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_15211468_1 where episode_no = \"#1.4\"" + }, + { + "question": "What manner of departure is listed with an appointment date of 13 march 2008", + "context": "create table table_11206916_2 (manner_of_departure varchar, date_of_appointment varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_11206916_2 where date_of_appointment = \"13 march 2008\"" + }, + { + "question": "List all the name of organizations in order of the date formed.", + "context": "create table organizations (organization_name varchar, date_formed varchar, PRIMARY KEY (organization_name))", + "answer": "select organization_name from organizations order by date_formed" + }, + { + "question": "Who are the judges in the Netherlands for the season airing 28 November 2011 \u2013 24 December 2011?", + "context": "create table table_27487310_5 (judges varchar, country varchar, air_dates varchar, PRIMARY KEY (judges))", + "answer": "select judges from table_27487310_5 where country = \"netherlands\" and air_dates = \"28 november 2011 \u2013 24 december 2011\"" + }, + { + "question": "What are all the distinct participant ids who attended any events?", + "context": "create table participants_in_events (participant_id varchar, PRIMARY KEY (participant_id))", + "answer": "select count(distinct participant_id) from participants_in_events" + }, + { + "question": "The location (transmitter site) San Fernando, Pampanga ** has what Power kW (ERP)?", + "context": "create table table_2610582_2 (power_kw__erp_ varchar, location__transmitter_site_ varchar, PRIMARY KEY (power_kw__erp_))", + "answer": "select power_kw__erp_ from table_2610582_2 where location__transmitter_site_ = \"san fernando, pampanga **\"" + }, + { + "question": "find id of the tv channels that from the countries where have more than two tv channels.", + "context": "create table tv_channel (id varchar, country varchar, PRIMARY KEY (id))", + "answer": "select id from tv_channel group by country having count(*) > 2" + }, + { + "question": "Name the reward eliminated hilca", + "context": "create table table_24233848_2 (reward varchar, eliminated varchar, PRIMARY KEY (reward))", + "answer": "select reward from table_24233848_2 where eliminated = \"hilca\"" + }, + { + "question": "Which owners live in the state whose name contains the substring 'North'? List his first name, last name and email.", + "context": "create table owners (first_name varchar, last_name varchar, email_address varchar, state varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name, email_address from owners where state like '%north%'" + }, + { + "question": "What team had average speed of 107.063 mph?", + "context": "create table table_2241101_1 (team varchar, average_speed__mph_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_2241101_1 where average_speed__mph_ = \"107.063\"" + }, + { + "question": "Name the team for oct 30, 1989", + "context": "create table table_1594772_2 (team__b_ varchar, match_date varchar, PRIMARY KEY (team__b_))", + "answer": "select team__b_ from table_1594772_2 where match_date = \"oct 30, 1989\"" + }, + { + "question": "Who did the play-by-play when the pregame host was Brian Williams and the sideline reporters were Steve Armitage and Brenda Irving?", + "context": "create table table_17628022_2 (play_by_play varchar, pregame_host varchar, sideline_reporters varchar, PRIMARY KEY (play_by_play))", + "answer": "select play_by_play from table_17628022_2 where pregame_host = \"brian williams\" and sideline_reporters = \"steve armitage and brenda irving\"" + }, + { + "question": "In the year (ceremony) 1995 (68th), what is the film title?", + "context": "create table table_26385848_1 (film_title varchar, year__ceremony_ varchar, PRIMARY KEY (film_title))", + "answer": "select film_title from table_26385848_1 where year__ceremony_ = \"1995 (68th)\"" + }, + { + "question": "How many divisions in bowling ?", + "context": "create table table_2849652_1 (_number_of_divisions varchar, sport varchar, PRIMARY KEY (_number_of_divisions))", + "answer": "select _number_of_divisions from table_2849652_1 where sport = \"bowling\"" + }, + { + "question": "How many episodes were watched by 12.72 million U.S. viewers?", + "context": "create table table_12570759_2 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_12570759_2 where us_viewers__millions_ = \"12.72\"" + }, + { + "question": "How many viewers were there on 1august1964?", + "context": "create table table_1723080_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_1723080_1 where broadcast_date = \"1august1964\"" + }, + { + "question": "When the team is Toronto how many times did they place third?", + "context": "create table table_1571238_2 (third_place varchar, team varchar, PRIMARY KEY (third_place))", + "answer": "select count(third_place) from table_1571238_2 where team = \"toronto\"" + }, + { + "question": "What station owns Moody Bible Institute", + "context": "create table table_134729_3 (format varchar, owner varchar, PRIMARY KEY (format))", + "answer": "select format from table_134729_3 where owner = \"moody bible institute\"" + }, + { + "question": "list all cartoon titles and their directors ordered by their air date", + "context": "create table cartoon (title varchar, directed_by varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title, directed_by from cartoon order by original_air_date" + }, + { + "question": "What party was the winner when A. Krishnaswamy was the runner-up?", + "context": "create table table_22756549_1 (party varchar, runner_up_a varchar, PRIMARY KEY (party))", + "answer": "select party from table_22756549_1 where runner_up_a = \"a. krishnaswamy\"" + }, + { + "question": "When was the episode with a 999,000 BARB rating first aired in Denmark?", + "context": "create table table_26591309_3 (first_broadcast_denmark___dr1__ varchar, official_barb_ratings varchar, PRIMARY KEY (first_broadcast_denmark___dr1__))", + "answer": "select first_broadcast_denmark___dr1__ from table_26591309_3 where official_barb_ratings = \"999,000\"" + }, + { + "question": "Who was drafted from the school Mountain Pointe High School?", + "context": "create table table_11677100_16 (mlb_draft varchar, school varchar, PRIMARY KEY (mlb_draft))", + "answer": "select mlb_draft from table_11677100_16 where school = \"mountain pointe high school\"" + }, + { + "question": "In what division was there a population density in km2 of 1,604.3 in 2011?", + "context": "create table table_24027047_1 (administrative_division varchar, population_density___km\u00b2_2011_ varchar, PRIMARY KEY (administrative_division))", + "answer": "select administrative_division from table_24027047_1 where population_density___km\u00b2_2011_ = \"1,604.3\"" + }, + { + "question": "What are the enrollment dates of all the tests that have result \"Pass\"?", + "context": "create table student_tests_taken (registration_id varchar, test_result varchar, PRIMARY KEY (registration_id)); create table student_course_enrolment (date_of_enrolment varchar, registration_id varchar, PRIMARY KEY (date_of_enrolment))", + "answer": "select t1.date_of_enrolment from student_course_enrolment as t1 join student_tests_taken as t2 on t1.registration_id = t2.registration_id where t2.test_result = \"pass\"" + }, + { + "question": "When 1:34:01 is the race time what is the miles in kilometers?", + "context": "create table table_1771753_3 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_1771753_3 where race_time = \"1:34:01\"" + }, + { + "question": "The episode with original air date January 13, 1999 is written by who?", + "context": "create table table_2618152_1 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2618152_1 where original_air_date = \"january 13, 1999\"" + }, + { + "question": "When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?", + "context": "create table table_1656555_1 (ordained_priest varchar, vacated_throne varchar, PRIMARY KEY (ordained_priest))", + "answer": "select ordained_priest from table_1656555_1 where vacated_throne = \"august 18, 1885\"" + }, + { + "question": "Show teams that have suffered more than three eliminations.", + "context": "create table elimination (team varchar, PRIMARY KEY (team))", + "answer": "select team from elimination group by team having count(*) > 3" + }, + { + "question": "What are the colors of Howard Hall?", + "context": "create table table_15873547_1 (colors varchar, residence_hall varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_15873547_1 where residence_hall = \"howard hall\"" + }, + { + "question": "How many cook island league competitions were there?", + "context": "create table table_25735_1 (latest_year varchar, competition varchar, PRIMARY KEY (latest_year))", + "answer": "select count(latest_year) from table_25735_1 where competition = \"cook island league\"" + }, + { + "question": "Who was the writer in the episode directed by Jesse Peretz?", + "context": "create table table_26961951_6 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_26961951_6 where directed_by = \"jesse peretz\"" + }, + { + "question": "What is the callsign when power kw is 25kw?", + "context": "create table table_23915973_1 (callsign varchar, power_kw varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_23915973_1 where power_kw = \"25kw\"" + }, + { + "question": "Name the total number of date of vacancy for manner of departure being resigned and outgoing manager is geninho", + "context": "create table table_14406743_5 (date_of_vacancy varchar, manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select count(date_of_vacancy) from table_14406743_5 where manner_of_departure = \"resigned\" and outgoing_manager = \"geninho\"" + }, + { + "question": "what are all the open 1st viii with u15 6th iv being bgs", + "context": "create table table_11318462_5 (open_1st_viii varchar, u15_6th_iv varchar, PRIMARY KEY (open_1st_viii))", + "answer": "select open_1st_viii from table_11318462_5 where u15_6th_iv = \"bgs\"" + }, + { + "question": "Which school is in the hometown of Aledo, Texas?", + "context": "create table table_11677691_5 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677691_5 where hometown = \"aledo, texas\"" + }, + { + "question": "How many 'number of season in Liga MX' were played if the 'first season of current spell in top division' is in 1962-63?", + "context": "create table table_18143210_2 (number_of_seasons_in_liga_mx varchar, first_season_of_current_spell_in_top_division varchar, PRIMARY KEY (number_of_seasons_in_liga_mx))", + "answer": "select number_of_seasons_in_liga_mx from table_18143210_2 where first_season_of_current_spell_in_top_division = \"1962-63\"" + }, + { + "question": "Who was the womens double winner when the womens singles winner was Ding Ning?", + "context": "create table table_28138035_32 (womens_doubles varchar, womens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_28138035_32 where womens_singles = \"ding ning\"" + }, + { + "question": "What is the name of the episodes which had 1.22 million U.S. viewers?", + "context": "create table table_23399481_4 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23399481_4 where us_viewers__in_millions_ = \"1.22\"" + }, + { + "question": "Name the best actor for uncle boonmee who can recall his past lives", + "context": "create table table_15301258_1 (best_actor varchar, best_film varchar, PRIMARY KEY (best_actor))", + "answer": "select best_actor from table_15301258_1 where best_film = \"uncle boonmee who can recall his past lives\"" + }, + { + "question": "Who was the heir when the monarch was Wareru?", + "context": "create table table_26460435_5 (heir varchar, monarch varchar, PRIMARY KEY (heir))", + "answer": "select heir from table_26460435_5 where monarch = \"wareru\"" + }, + { + "question": "What is 2003 when 1999 is 2.1?", + "context": "create table table_27146868_1 (id varchar, PRIMARY KEY (id))", + "answer": "select 2003 from table_27146868_1 where 1999 = \"2.1\"" + }, + { + "question": "List the count and id of each product in all the orders.", + "context": "create table orders (order_id varchar, PRIMARY KEY (order_id)); create table order_items (order_id varchar, product_id varchar, PRIMARY KEY (order_id)); create table products (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select count(*), t3.product_id from orders as t1 join order_items as t2 join products as t3 on t1.order_id = t2.order_id and t2.product_id = t3.product_id group by t3.product_id" + }, + { + "question": "Name the location of the church for bremanger", + "context": "create table table_178408_1 (location_of_the_church varchar, sub_parish__sokn_ varchar, PRIMARY KEY (location_of_the_church))", + "answer": "select location_of_the_church from table_178408_1 where sub_parish__sokn_ = \"bremanger\"" + }, + { + "question": "How many employees do we have?", + "context": "create table employee (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from employee" + }, + { + "question": "Name the womens doubles when mens doubles is theodoros velkos giorgos patis", + "context": "create table table_14903881_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_14903881_1 where mens_doubles = \"theodoros velkos giorgos patis\"" + }, + { + "question": "What are the names of parties with at least 2 events?", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table party_events (party_id varchar, PRIMARY KEY (party_id))", + "answer": "select t2.party_name from party_events as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id having count(*) >= 2" + }, + { + "question": "what are all the barrel lengths whith the name ar-15a3 competition hbar", + "context": "create table table_12834315_2 (barrel_length varchar, name varchar, PRIMARY KEY (barrel_length))", + "answer": "select barrel_length from table_12834315_2 where name = \"ar-15a3 competition hbar\"" + }, + { + "question": "How many different constructors had Paul Thiel as a winning driver?", + "context": "create table table_1140114_5 (constructor varchar, winning_driver varchar, PRIMARY KEY (constructor))", + "answer": "select count(constructor) from table_1140114_5 where winning_driver = \"paul thiel\"" + }, + { + "question": "Name the party a for sriperumbudur", + "context": "create table table_22754310_1 (party varchar, constituency varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22754310_1 where constituency = \"sriperumbudur\"" + }, + { + "question": "Who is the 125cc winnder for the Phillip Island circuit?", + "context": "create table table_12186237_1 (circuit varchar, PRIMARY KEY (circuit))", + "answer": "select 125 as cc_winner from table_12186237_1 where circuit = \"phillip island\"" + }, + { + "question": "What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?", + "context": "create table table_22282917_26 (control_site_condition_owner varchar, launch_site_condition_owner varchar, PRIMARY KEY (control_site_condition_owner))", + "answer": "select control_site_condition_owner from table_22282917_26 where launch_site_condition_owner = \"lakefront office buildings\"" + }, + { + "question": "Show party names and the number of events for each party.", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table party_events (party_id varchar, PRIMARY KEY (party_id))", + "answer": "select t2.party_name, count(*) from party_events as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id" + }, + { + "question": "Find all details for each swimmer.", + "context": "create table swimmer (id varchar, PRIMARY KEY (id))", + "answer": "select * from swimmer" + }, + { + "question": "How many transfer windows coming from Crystal Palace?", + "context": "create table table_17596418_4 (count varchar, moving_from varchar, PRIMARY KEY (count))", + "answer": "select count as transfer_window from table_17596418_4 where moving_from = \"crystal palace\"" + }, + { + "question": "How many nations do the FMS international team represent?", + "context": "create table table_19312274_3 (nation varchar, name varchar, PRIMARY KEY (nation))", + "answer": "select count(nation) from table_19312274_3 where name = \"fms international\"" + }, + { + "question": "Which vacancy occurred on 16 February 2009?", + "context": "create table table_18788823_5 (position_in_table varchar, date_of_vacancy varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_18788823_5 where date_of_vacancy = \"16 february 2009\"" + }, + { + "question": "When 1 active, 1 inactive is the canadian chapters how many founding dates are there?", + "context": "create table table_28436909_4 (founding_date varchar, canadian_chapters varchar, PRIMARY KEY (founding_date))", + "answer": "select count(founding_date) from table_28436909_4 where canadian_chapters = \"1 active, 1 inactive\"" + }, + { + "question": "What was the record when the game was played at Cleveland Municipal Stadium?", + "context": "create table table_14984078_1 (record varchar, game_site varchar, PRIMARY KEY (record))", + "answer": "select record from table_14984078_1 where game_site = \"cleveland municipal stadium\"" + }, + { + "question": "Name the high points for record 9-4", + "context": "create table table_22654073_6 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_22654073_6 where record = \"9-4\"" + }, + { + "question": "What is the largest number of 10 C points for a team with 39 total points?", + "context": "create table table_25887826_17 (total_pts varchar, PRIMARY KEY (total_pts))", + "answer": "select max(10 as _c_pts) from table_25887826_17 where total_pts = 39" + }, + { + "question": "What is the home team that played on M.C.G. grounds?", + "context": "create table table_16388398_2 (home_team varchar, ground varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_16388398_2 where ground = \"m.c.g.\"" + }, + { + "question": "for the shows featuring beet sugar, what was on before that", + "context": "create table table_15187735_17 (segment_b varchar, segment_c varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_17 where segment_c = \"beet sugar\"" + }, + { + "question": "when mixed doubles is zheng bo ma jin and womens singles is wang yihan, what was the tour?", + "context": "create table table_21001903_2 (tour varchar, mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (tour))", + "answer": "select tour from table_21001903_2 where mixed_doubles = \"zheng bo ma jin\" and womens_singles = \"wang yihan\"" + }, + { + "question": "When vp8 ( webm ) is 6.0, how much is the vp9 ( webm )?", + "context": "create table table_26099252_1 (vp9___webm__ varchar, vp8___webm__ varchar, PRIMARY KEY (vp9___webm__))", + "answer": "select vp9___webm__ from table_26099252_1 where vp8___webm__ = \"6.0\"" + }, + { + "question": "where democratic coalition is eduardo frei ( pdc ) what are all the alliance", + "context": "create table table_2651755_2 (alliance varchar, democratic_coalition varchar, PRIMARY KEY (alliance))", + "answer": "select alliance from table_2651755_2 where democratic_coalition = \"eduardo frei ( pdc )\"" + }, + { + "question": "What were the points per game in the selection where the rebounds per game were 15.0?", + "context": "create table table_25774493_3 (points_per_game varchar, rebounds_per_game varchar, PRIMARY KEY (points_per_game))", + "answer": "select points_per_game from table_25774493_3 where rebounds_per_game = \"15.0\"" + }, + { + "question": "For part 2 *lauk, what is listed for part 4?", + "context": "create table table_1745843_2 (part_4 varchar, part_2 varchar, PRIMARY KEY (part_4))", + "answer": "select part_4 from table_1745843_2 where part_2 = \"*lauk\"" + }, + { + "question": "What is the title in Canada?", + "context": "create table table_29487895_2 (title_in_country varchar, country___region varchar, PRIMARY KEY (title_in_country))", + "answer": "select title_in_country from table_29487895_2 where country___region = \"canada\"" + }, + { + "question": "List the council tax ids and their related cmi cross references of all the parking fines.", + "context": "create table parking_fines (council_tax_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (council_tax_id))", + "answer": "select council_tax_id, cmi_cross_ref_id from parking_fines" + }, + { + "question": "How many schools are in the basketball match?", + "context": "create table basketball_match (school_id varchar, PRIMARY KEY (school_id))", + "answer": "select count(distinct school_id) from basketball_match" + }, + { + "question": "What season had 2.52 million viewers?", + "context": "create table table_2170969_2 (tv_season varchar, viewers_in_millions varchar, PRIMARY KEY (tv_season))", + "answer": "select tv_season from table_2170969_2 where viewers_in_millions = \"2.52\"" + }, + { + "question": "Where is the school with nickname Tigers located?", + "context": "create table table_1973842_2 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_1973842_2 where nickname = \"tigers\"" + }, + { + "question": "Name the dominant religion for \u0441\u0442\u0430\u043d\u0438\u0448\u0438\u045b", + "context": "create table table_2562572_22 (dominant_religion__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_22 where cyrillic_name_other_names = \"\u0441\u0442\u0430\u043d\u0438\u0448\u0438\u045b\"" + }, + { + "question": "Show the different statuses and the numbers of roller coasters for each status.", + "context": "create table roller_coaster (status varchar, PRIMARY KEY (status))", + "answer": "select status, count(*) from roller_coaster group by status" + }, + { + "question": "List the song chose for the British Invasion.", + "context": "create table table_23871828_1 (song_choice varchar, theme varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_23871828_1 where theme = \"british invasion\"" + }, + { + "question": "What was the type of sussex?", + "context": "create table table_1184344_1 (type varchar, name varchar, PRIMARY KEY (type))", + "answer": "select type from table_1184344_1 where name = \"sussex\"" + }, + { + "question": "when type of work is novel and published in english is 1977, what was published in russian?", + "context": "create table table_207795_1 (published_in_russian varchar, type_of_work varchar, published_in_english varchar, PRIMARY KEY (published_in_russian))", + "answer": "select published_in_russian from table_207795_1 where type_of_work = \"novel\" and published_in_english = \"1977\"" + }, + { + "question": "What was the domestic box office for the film that had a foreign box office of $26,600,000?", + "context": "create table table_2203760_4 (domestic_box_office varchar, foreign_box_office varchar, PRIMARY KEY (domestic_box_office))", + "answer": "select domestic_box_office from table_2203760_4 where foreign_box_office = \"$26,600,000\"" + }, + { + "question": "What year were outputs is 2x pro bias, rca loop out and notes is vacuum tube released?", + "context": "create table table_25276250_3 (release_year varchar, outputs varchar, notes varchar, PRIMARY KEY (release_year))", + "answer": "select release_year from table_25276250_3 where outputs = \"2x pro bias, rca loop out\" and notes = \"vacuum tube\"" + }, + { + "question": "Who was the runner up for the Nagapattinam constituency?", + "context": "create table table_22756549_1 (runner_up_a varchar, constituency varchar, PRIMARY KEY (runner_up_a))", + "answer": "select runner_up_a from table_22756549_1 where constituency = \"nagapattinam\"" + }, + { + "question": "What is the pinyin for the English name Wuping County?", + "context": "create table table_1204998_2 (pinyin varchar, english_name varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_1204998_2 where english_name = \"wuping county\"" + }, + { + "question": "What's the 2nd leg result in the round where Panionios is team #2?", + "context": "create table table_19130829_4 (team__number2 varchar, PRIMARY KEY (team__number2))", + "answer": "select 2 as nd_leg from table_19130829_4 where team__number2 = \"panionios\"" + }, + { + "question": "When arthur heinemann is the writer who is the director?", + "context": "create table table_1854728_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_1854728_2 where written_by = \"arthur heinemann\"" + }, + { + "question": "how many times was nation counted where athlete is shuhei nishida category:articles with hcards", + "context": "create table table_22355_50 (nation varchar, athlete varchar, PRIMARY KEY (nation))", + "answer": "select count(nation) from table_22355_50 where athlete = \"shuhei nishida category:articles with hcards\"" + }, + { + "question": "What is the score in the 2 truck pull of the player who got 1 (5 in 33.84s) in the 4 fingals fingers?", + "context": "create table table_24302700_6 (event_2_truck_pull varchar, event_4_fingals_fingers varchar, PRIMARY KEY (event_2_truck_pull))", + "answer": "select event_2_truck_pull from table_24302700_6 where event_4_fingals_fingers = \"1 (5 in 33.84s)\"" + }, + { + "question": "Find the name and email of the user whose name contains the word \u2018Swift\u2019.", + "context": "create table user_profiles (name varchar, email varchar, PRIMARY KEY (name))", + "answer": "select name, email from user_profiles where name like '%swift%'" + }, + { + "question": "List all every engineer's first name, last name, details and coresponding skill description.", + "context": "create table maintenance_engineers (first_name varchar, last_name varchar, other_details varchar, engineer_id varchar, PRIMARY KEY (first_name)); create table engineer_skills (engineer_id varchar, skill_id varchar, PRIMARY KEY (engineer_id)); create table skills (skill_description varchar, skill_id varchar, PRIMARY KEY (skill_description))", + "answer": "select t1.first_name, t1.last_name, t1.other_details, t3.skill_description from maintenance_engineers as t1 join engineer_skills as t2 on t1.engineer_id = t2.engineer_id join skills as t3 on t2.skill_id = t3.skill_id" + }, + { + "question": "How many patients stay in room 112?", + "context": "create table stay (patient varchar, room varchar, PRIMARY KEY (patient))", + "answer": "select count(patient) from stay where room = 112" + }, + { + "question": "Is drawing tablet support part of the semi-DDM class?", + "context": "create table table_1153898_1 (semi_ddm_class varchar, comparisons varchar, PRIMARY KEY (semi_ddm_class))", + "answer": "select semi_ddm_class from table_1153898_1 where comparisons = \"drawing tablet support\"" + }, + { + "question": "For teams in the Sun Belt conference, what is the conference record?", + "context": "create table table_16295365_1 (conf_record varchar, conference varchar, PRIMARY KEY (conf_record))", + "answer": "select conf_record from table_16295365_1 where conference = \"sun belt\"" + }, + { + "question": "List the title of all Cartoons showed on TV Channel with series name \"Sky Radio\".", + "context": "create table cartoon (title varchar, channel varchar, PRIMARY KEY (title)); create table tv_channel (id varchar, series_name varchar, PRIMARY KEY (id))", + "answer": "select t2.title from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t1.series_name = \"sky radio\"" + }, + { + "question": "What is the nationality of the player who played during the years 1989-92; 1994-95?", + "context": "create table table_11545282_5 (nationality varchar, years_for_jazz varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_11545282_5 where years_for_jazz = \"1989-92; 1994-95\"" + }, + { + "question": "Who was the director for Tango Bar?", + "context": "create table table_27423508_1 (director varchar, spanish_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_27423508_1 where spanish_title = \"tango bar\"" + }, + { + "question": "List the record from the game where Wildcats had 48 points.", + "context": "create table table_24561550_1 (record varchar, wildcats_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_24561550_1 where wildcats_points = 48" + }, + { + "question": "When dwhr-tv is the call sign how many station types are there?", + "context": "create table table_23394920_1 (station_type varchar, callsign varchar, PRIMARY KEY (station_type))", + "answer": "select count(station_type) from table_23394920_1 where callsign = \"dwhr-tv\"" + }, + { + "question": "What was the original air date of the episode that was directed by Jessica Landaw?", + "context": "create table table_26824484_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26824484_1 where directed_by = \"jessica landaw\"" + }, + { + "question": "What title did Bill Foster direct ?", + "context": "create table table_25276528_2 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25276528_2 where directed_by = \"bill foster\"" + }, + { + "question": "List the population density per kilometer for the city of abra de ilog.", + "context": "create table table_261951_1 (pop_density__per_km\u00b2_ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_261951_1 where municipality = \"abra de ilog\"" + }, + { + "question": "How many products have the characteristic named \"hot\"?", + "context": "create table products (product_id varchar, PRIMARY KEY (product_id)); create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "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 t3.characteristic_name = \"hot\"" + }, + { + "question": "Who wrote the episodes that had a viewership of 7.14?", + "context": "create table table_24910737_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_24910737_1 where us_viewers__millions_ = \"7.14\"" + }, + { + "question": "Name the college for houston oilers", + "context": "create table table_2508633_6 (college varchar, nfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_2508633_6 where nfl_team = \"houston oilers\"" + }, + { + "question": "How many video games exist?", + "context": "create table video_games (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from video_games" + }, + { + "question": "Who was on Jason's team for the 12 June 2009 episode?", + "context": "create table table_23292220_8 (jasons_team varchar, first_broadcast varchar, PRIMARY KEY (jasons_team))", + "answer": "select jasons_team from table_23292220_8 where first_broadcast = \"12 june 2009\"" + }, + { + "question": "What is the title of season 3 ep# 12?", + "context": "create table table_12451376_3 (title varchar, season_3_ep__number varchar, PRIMARY KEY (title))", + "answer": "select title from table_12451376_3 where season_3_ep__number = 12" + }, + { + "question": "what is the united fc wehre pifa colaba is maratha united?", + "context": "create table table_28759261_5 (united_fc varchar, pifa_colaba_fc_u_17 varchar, PRIMARY KEY (united_fc))", + "answer": "select united_fc from table_28759261_5 where pifa_colaba_fc_u_17 = \"maratha united\"" + }, + { + "question": "How many different titles does the representative whose mission was terminated on August 5, 1984 have?", + "context": "create table table_20065425_1 (title varchar, termination_of_mission varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_20065425_1 where termination_of_mission = \"august 5, 1984\"" + }, + { + "question": "Show student ids for all male students.", + "context": "create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where sex = 'm'" + }, + { + "question": "Find the id and color description of the products with at least 2 characteristics.", + "context": "create table product_characteristics (product_id varchar, PRIMARY KEY (product_id)); create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_id, t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code join product_characteristics as t3 on t1.product_id = t3.product_id group by t1.product_id having count(*) >= 2" + }, + { + "question": "What pick was the player from Apopka, FL in the 2002 MLB draft", + "context": "create table table_11677100_8 (mlb_draft varchar, hometown varchar, PRIMARY KEY (mlb_draft))", + "answer": "select mlb_draft from table_11677100_8 where hometown = \"apopka, fl\"" + }, + { + "question": "Show the number of trains", + "context": "create table train (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from train" + }, + { + "question": "What contestant was premiered on July 25?", + "context": "create table table_18513028_3 (contestant_name varchar, date_premiered__2009_ varchar, PRIMARY KEY (contestant_name))", + "answer": "select contestant_name from table_18513028_3 where date_premiered__2009_ = \"july 25\"" + }, + { + "question": "Who were the opponents in the final where the score was 6\u20134, 2\u20136, 6\u20134, 7\u20136(3)?", + "context": "create table table_2362486_1 (opponents_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponents_in_the_final))", + "answer": "select opponents_in_the_final from table_2362486_1 where score_in_the_final = \"6\u20134, 2\u20136, 6\u20134, 7\u20136(3)\"" + }, + { + "question": "Who is the mixed doubled on the tour korea super series?", + "context": "create table table_27753492_2 (mixed_doubles varchar, tour varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_27753492_2 where tour = \"korea super series\"" + }, + { + "question": "Find the subject ID, subject name, and the corresponding number of available courses for each subject.", + "context": "create table courses (subject_id varchar, PRIMARY KEY (subject_id)); create table subjects (subject_name varchar, subject_id varchar, PRIMARY KEY (subject_name))", + "answer": "select t1.subject_id, t2.subject_name, count(*) from courses as t1 join subjects as t2 on t1.subject_id = t2.subject_id group by t1.subject_id" + }, + { + "question": "What is the description of the claim status \"Open\"?", + "context": "create table claims_processing_stages (claim_status_description varchar, claim_status_name varchar, PRIMARY KEY (claim_status_description))", + "answer": "select claim_status_description from claims_processing_stages where claim_status_name = \"open\"" + }, + { + "question": "What is the EU status of ESP?", + "context": "create table table_13770460_3 (eu varchar, country varchar, PRIMARY KEY (eu))", + "answer": "select eu from table_13770460_3 where country = \"esp\"" + }, + { + "question": "if the economy is 3.63 what is the bbi", + "context": "create table table_28798161_3 (bbi varchar, economy varchar, PRIMARY KEY (bbi))", + "answer": "select bbi from table_28798161_3 where economy = \"3.63\"" + }, + { + "question": "What party is incumbent Oliver H. Cross?", + "context": "create table table_1342331_43 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342331_43 where incumbent = \"oliver h. cross\"" + }, + { + "question": "what is the maximum value for afc cup", + "context": "create table table_14460937_2 (afc_cup integer, PRIMARY KEY (afc_cup))", + "answer": "select max(afc_cup) from table_14460937_2" + }, + { + "question": "What are the distinct name, location and products of the enzymes which has any 'inhibitor' interaction?", + "context": "create table enzyme (name varchar, location varchar, product varchar, id varchar, PRIMARY KEY (name)); create table medicine_enzyme_interaction (enzyme_id varchar, interaction_type varchar, PRIMARY KEY (enzyme_id))", + "answer": "select distinct t1.name, t1.location, t1.product from enzyme as t1 join medicine_enzyme_interaction as t2 on t2.enzyme_id = t1.id where t2.interaction_type = 'inhibitor'" + }, + { + "question": "How many different kinds of clients are supported by the web clients accelerators?", + "context": "create table web_client_accelerator (client varchar, PRIMARY KEY (client))", + "answer": "select count(distinct client) from web_client_accelerator" + }, + { + "question": "Find the total amount of loans offered by each bank branch.", + "context": "create table loan (branch_id varchar, PRIMARY KEY (branch_id)); create table bank (bname varchar, branch_id varchar, PRIMARY KEY (bname))", + "answer": "select sum(amount), t1.bname from bank as t1 join loan as t2 on t1.branch_id = t2.branch_id group by t1.bname" + }, + { + "question": "What year was USF founded?", + "context": "create table table_1160660_1 (date_founded varchar, acronym varchar, PRIMARY KEY (date_founded))", + "answer": "select date_founded from table_1160660_1 where acronym = \"usf\"" + }, + { + "question": "How many stadiums does each country have?", + "context": "create table stadium (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from stadium group by country" + }, + { + "question": "What was the high points when the team was Washington?", + "context": "create table table_27755603_10 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27755603_10 where team = \"washington\"" + }, + { + "question": "List the first and last name of all players who are left / L hand in the order of birth date.", + "context": "create table players (first_name varchar, last_name varchar, hand varchar, birth_date varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from players where hand = 'l' order by birth_date" + }, + { + "question": "Show all the locations where some cinemas were opened in both year 2010 and year 2011.", + "context": "create table cinema (location varchar, openning_year varchar, PRIMARY KEY (location))", + "answer": "select location from cinema where openning_year = 2010 intersect select location from cinema where openning_year = 2011" + }, + { + "question": "What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?", + "context": "create table table_174491_2 (holmenkollen varchar, fis_nordic_world_ski_championships varchar, PRIMARY KEY (holmenkollen))", + "answer": "select holmenkollen from table_174491_2 where fis_nordic_world_ski_championships = \"1982\"" + }, + { + "question": "What writers are associated with a viewing figure of 7.01 million?", + "context": "create table table_15026994_2 (writer varchar, viewing_figure varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_15026994_2 where viewing_figure = \"7.01 million\"" + }, + { + "question": "What was the original air-date that had 4.77 million viewers?", + "context": "create table table_27927185_1 (originalairdate varchar, viewers__millions_ varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_27927185_1 where viewers__millions_ = \"4.77\"" + }, + { + "question": "How many viewers watched the episode written by shana goldberg-meehan & greg malins?", + "context": "create table table_27403436_1 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_27403436_1 where written_by = \"shana goldberg-meehan & greg malins\"" + }, + { + "question": "What's the participle when the verbal noun is i-bil-tze?", + "context": "create table table_12784134_1 (participle varchar, verbal_noun varchar, PRIMARY KEY (participle))", + "answer": "select participle from table_12784134_1 where verbal_noun = \"i-bil-tze\"" + }, + { + "question": "How many CFL teams are from York college?", + "context": "create table table_10975034_4 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select count(cfl_team) from table_10975034_4 where college = \"york\"" + }, + { + "question": "What is the number of directors for the film title Eldra?", + "context": "create table table_26385848_1 (director varchar, film_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_26385848_1 where film_title = \"eldra\"" + }, + { + "question": "List each birth place along with the number of people from there.", + "context": "create table people (birth_place varchar, PRIMARY KEY (birth_place))", + "answer": "select birth_place, count(*) from people group by birth_place" + }, + { + "question": "Who was the winner on the Symmons Plains Raceway?", + "context": "create table table_14016079_1 (winner varchar, circuit varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_14016079_1 where circuit = \"symmons plains raceway\"" + }, + { + "question": "Show ids for all students who have advisor 1121.", + "context": "create table student (stuid varchar, advisor varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where advisor = 1121" + }, + { + "question": "How many high schools have storm mascots?", + "context": "create table table_22058547_1 (high_school varchar, mascot varchar, PRIMARY KEY (high_school))", + "answer": "select high_school from table_22058547_1 where mascot = \"storm\"" + }, + { + "question": "List the names of all distinct products in alphabetical order.", + "context": "create table products (product_name varchar, PRIMARY KEY (product_name))", + "answer": "select distinct product_name from products order by product_name" + }, + { + "question": "How many services has each resident requested? List the resident id, details, and the count in descending order of the count.", + "context": "create table residents_services (resident_id varchar, PRIMARY KEY (resident_id)); create table residents (resident_id varchar, other_details varchar, PRIMARY KEY (resident_id))", + "answer": "select t1.resident_id, t1.other_details, count(*) from residents as t1 join residents_services as t2 on t1.resident_id = t2.resident_id group by t1.resident_id order by count(*) desc" + }, + { + "question": "display job title and average salary of employees.", + "context": "create table jobs (job_title varchar, job_id varchar, PRIMARY KEY (job_title)); create table employees (job_id varchar, PRIMARY KEY (job_id))", + "answer": "select job_title, avg(salary) from employees as t1 join jobs as t2 on t1.job_id = t2.job_id group by t2.job_title" + }, + { + "question": "Name the original air date for bryan moore & chris peterson", + "context": "create table table_27988408_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27988408_1 where written_by = \"bryan moore & chris peterson\"" + }, + { + "question": "How many trademarks list a molecular target of minor groove of dna and a clinical status value of phase i?", + "context": "create table table_12715053_1 (trademark varchar, molecular_target varchar, clinical_status varchar, PRIMARY KEY (trademark))", + "answer": "select count(trademark) from table_12715053_1 where molecular_target = \"minor groove of dna\" and clinical_status = \"phase i\"" + }, + { + "question": "Which country is the player that went to Oregon?", + "context": "create table table_11545282_12 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_11545282_12 where school_club_team = \"oregon\"" + }, + { + "question": "Name the total number of segment c for pressure cookers", + "context": "create table table_15187735_13 (segment_c varchar, segment_a varchar, PRIMARY KEY (segment_c))", + "answer": "select count(segment_c) from table_15187735_13 where segment_a = \"pressure cookers\"" + }, + { + "question": "What type of dock connection does the sounddock series III have?", + "context": "create table table_24384861_1 (dock_connection varchar, version varchar, PRIMARY KEY (dock_connection))", + "answer": "select dock_connection from table_24384861_1 where version = \"sounddock series iii\"" + }, + { + "question": "What is the church name located in H\u00f8yanger?", + "context": "create table table_178389_1 (church_name varchar, location_of_the_church varchar, PRIMARY KEY (church_name))", + "answer": "select church_name from table_178389_1 where location_of_the_church = \"h\u00f8yanger\"" + }, + { + "question": "Who directed the title written by cherry chevapravatdumrong?", + "context": "create table table_22269839_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_22269839_1 where written_by = \"cherry chevapravatdumrong\"" + }, + { + "question": "Name the segment c for pottery", + "context": "create table table_15187735_3 (segment_c varchar, segment_b varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_3 where segment_b = \"pottery\"" + }, + { + "question": "What school classifications have trappers as mascot?", + "context": "create table table_22058547_1 (type varchar, mascot varchar, PRIMARY KEY (type))", + "answer": "select type from table_22058547_1 where mascot = \"trappers\"" + }, + { + "question": "What is the % of total capacity when the generators is 4048?", + "context": "create table table_11456251_5 (_percentage_of_total_capacity varchar, number_of_generators varchar, PRIMARY KEY (_percentage_of_total_capacity))", + "answer": "select _percentage_of_total_capacity from table_11456251_5 where number_of_generators = 4048" + }, + { + "question": "What team's overal record is 22-11?", + "context": "create table table_23183195_2 (team varchar, overall_record varchar, PRIMARY KEY (team))", + "answer": "select team from table_23183195_2 where overall_record = \"22-11\"" + }, + { + "question": "what's the\u00a0local title\u00a0with\u00a0seasons and winners\u00a0being series 1, 2006: lucy benjamin", + "context": "create table table_13779832_1 (local_title varchar, seasons_and_winners varchar, PRIMARY KEY (local_title))", + "answer": "select local_title from table_13779832_1 where seasons_and_winners = \"series 1, 2006: lucy benjamin\"" + }, + { + "question": "Name the percentage of votes for 3rd finished", + "context": "create table table_26267849_11 (percentage_of_votes varchar, finished varchar, PRIMARY KEY (percentage_of_votes))", + "answer": "select percentage_of_votes from table_26267849_11 where finished = \"3rd\"" + }, + { + "question": "What was the delivery date when s2 (lst) type, s2 (frigate) type, c1-m type was delivered?", + "context": "create table table_11552751_2 (ship_types_delivered varchar, PRIMARY KEY (ship_types_delivered))", + "answer": "select 1 as st_ship_delivery_date from table_11552751_2 where ship_types_delivered = \"s2 (lst) type, s2 (frigate) type, c1-m type\"" + }, + { + "question": "How many team songs does fremantle have?", + "context": "create table table_28243323_1 (basis_for_team_song varchar, club_name varchar, PRIMARY KEY (basis_for_team_song))", + "answer": "select count(basis_for_team_song) from table_28243323_1 where club_name = \"fremantle\"" + }, + { + "question": "What is the shipping agent code of shipping agent UPS?", + "context": "create table ref_shipping_agents (shipping_agent_code varchar, shipping_agent_name varchar, PRIMARY KEY (shipping_agent_code))", + "answer": "select shipping_agent_code from ref_shipping_agents where shipping_agent_name = \"ups\"" + }, + { + "question": "Please show the names of aircrafts associated with airport with name \"London Gatwick\".", + "context": "create table airport (airport_id varchar, airport_name varchar, PRIMARY KEY (airport_id)); create table aircraft (aircraft varchar, aircraft_id varchar, PRIMARY KEY (aircraft)); create table airport_aircraft (aircraft_id varchar, airport_id varchar, PRIMARY KEY (aircraft_id))", + "answer": "select t1.aircraft from aircraft as t1 join airport_aircraft as t2 on t1.aircraft_id = t2.aircraft_id join airport as t3 on t2.airport_id = t3.airport_id where t3.airport_name = \"london gatwick\"" + }, + { + "question": "What party was Tony P. Hall affiliated with?", + "context": "create table table_1341586_36 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341586_36 where incumbent = \"tony p. hall\"" + }, + { + "question": "What is the Sr. number of Banikhet Dalhouse Khajiar?", + "context": "create table table_26036389_1 (sr_no integer, name_of_road varchar, PRIMARY KEY (sr_no))", + "answer": "select max(sr_no) from table_26036389_1 where name_of_road = \"banikhet dalhouse khajiar\"" + }, + { + "question": "Name the ezhavas and syrian christians being 26.2", + "context": "create table table_23214055_2 (ezhavas varchar, syrian_christians varchar, PRIMARY KEY (ezhavas))", + "answer": "select ezhavas from table_23214055_2 where syrian_christians = \"26.2\"" + }, + { + "question": "How many different shareholders have 2.39 % of capital?", + "context": "create table table_206359_1 (shareholder_name varchar, _percentage_of_capital varchar, PRIMARY KEY (shareholder_name))", + "answer": "select count(shareholder_name) from table_206359_1 where _percentage_of_capital = \"2.39\"" + }, + { + "question": "How many males are in the group that has an amount of 139361", + "context": "create table table_28939145_2 (male varchar, female varchar, PRIMARY KEY (male))", + "answer": "select male from table_28939145_2 where female = 139361" + }, + { + "question": "How many times was the time 19' 38.87 115.219mph on Fri Aug 27?", + "context": "create table table_26986076_1 (mon_23_aug varchar, fri_27_aug varchar, PRIMARY KEY (mon_23_aug))", + "answer": "select count(mon_23_aug) from table_26986076_1 where fri_27_aug = \"19' 38.87 115.219mph\"" + }, + { + "question": "Name the city for kanji\u017ea", + "context": "create table table_2562572_5 (city___municipality varchar, urban_settlement varchar, PRIMARY KEY (city___municipality))", + "answer": "select city___municipality from table_2562572_5 where urban_settlement = \"kanji\u017ea\"" + }, + { + "question": "What is the callsign of tuguegarao", + "context": "create table table_12547903_2 (callsign varchar, location__transmitter_site_ varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_12547903_2 where location__transmitter_site_ = \"tuguegarao\"" + }, + { + "question": "What is the engine displacement for the engine type b5254 t?", + "context": "create table table_1147705_1 (engine_displacement varchar, engine_type varchar, PRIMARY KEY (engine_displacement))", + "answer": "select engine_displacement from table_1147705_1 where engine_type = \"b5254 t\"" + }, + { + "question": "What languages were spoken in the film \"FireDancer\"?", + "context": "create table table_17155250_1 (language_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (language_s_))", + "answer": "select language_s_ from table_17155250_1 where film_title_used_in_nomination = \"firedancer\"" + }, + { + "question": "Find the number of followers for each user.", + "context": "create table follows (f1 varchar, PRIMARY KEY (f1))", + "answer": "select count(*) from follows group by f1" + }, + { + "question": "What is the title of the book when the publisher is black car publishing?", + "context": "create table table_20193855_2 (book_title varchar, publisher varchar, PRIMARY KEY (book_title))", + "answer": "select book_title from table_20193855_2 where publisher = \"black car publishing\"" + }, + { + "question": "Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?", + "context": "create table table_26986076_7 (rider varchar, tues_24_aug varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_26986076_7 where tues_24_aug = \"22' 09.44 93.840mph\"" + }, + { + "question": "In how many networks the local name of the franchise was \"in sickness and in health\"?", + "context": "create table table_12438767_1 (network varchar, local_name varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_12438767_1 where local_name = \"in sickness and in health\"" + }, + { + "question": "Please list the name and id of all artists that have at least 3 albums in alphabetical order.", + "context": "create table artist (name varchar, artistid varchar, PRIMARY KEY (name)); create table album (artistid varchar, PRIMARY KEY (artistid))", + "answer": "select t2.name, t1.artistid from album as t1 join artist as t2 on t1.artistid = t2.artistid group by t1.artistid having count(*) >= 3 order by t2.name" + }, + { + "question": "What is the third year course in science?", + "context": "create table table_12148147_2 (third_year varchar, subjects varchar, PRIMARY KEY (third_year))", + "answer": "select third_year from table_12148147_2 where subjects = \"science\"" + }, + { + "question": "If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?", + "context": "create table table_21995420_9 (stunts varchar, school varchar, PRIMARY KEY (stunts))", + "answer": "select stunts from table_21995420_9 where school = \"central colleges of the philippines ccp bobcats\"" + }, + { + "question": "When dxzb-tv is the call sign what is the power kw?", + "context": "create table table_23394920_1 (power_kw varchar, callsign varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_23394920_1 where callsign = \"dxzb-tv\"" + }, + { + "question": "When daniel lincoln ( usa ) is the saif saaeed shaheen ( qat ) What is the date for September 3rd, 2004?", + "context": "create table table_23988726_2 (saif_saaeed_shaheen___qat__ varchar, PRIMARY KEY (saif_saaeed_shaheen___qat__))", + "answer": "select 3 as _september_2004 from table_23988726_2 where saif_saaeed_shaheen___qat__ = \"daniel lincoln ( usa )\"" + }, + { + "question": "Which allergy type has most number of allergies?", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select allergytype from allergy_type group by allergytype order by count(*) desc limit 1" + }, + { + "question": "what's the\u00a0deadline for completion\u00a0where\u00a0description\u00a0is iphone recall within the first 3 months of release", + "context": "create table table_12078626_1 (deadline_for_completion varchar, description varchar, PRIMARY KEY (deadline_for_completion))", + "answer": "select deadline_for_completion from table_12078626_1 where description = \"iphone recall within the first 3 months of release\"" + }, + { + "question": "Show all product colors.", + "context": "create table products (product_color varchar, PRIMARY KEY (product_color))", + "answer": "select distinct product_color from products" + }, + { + "question": "On what dates were episodes written by Robert Carlock aired?", + "context": "create table table_14889988_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_14889988_1 where written_by = \"robert carlock\"" + }, + { + "question": "What are the titles of episodes directed by whitney ransick?", + "context": "create table table_2866514_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2866514_1 where directed_by = \"whitney ransick\"" + }, + { + "question": "How many different combinations of team colors are there in all the schools in Maroa, Illinois?", + "context": "create table table_29612224_1 (colors varchar, location varchar, PRIMARY KEY (colors))", + "answer": "select count(colors) from table_29612224_1 where location = \"maroa, illinois\"" + }, + { + "question": "What is the market income per capita of the county with the 9.4% poverty rate?", + "context": "create table table_22815568_2 (market_income_per_capita varchar, poverty_rate varchar, PRIMARY KEY (market_income_per_capita))", + "answer": "select market_income_per_capita from table_22815568_2 where poverty_rate = \"9.4%\"" + }, + { + "question": "What parties have at least three representatives?", + "context": "create table representative (party varchar, PRIMARY KEY (party))", + "answer": "select party from representative group by party having count(*) >= 3" + }, + { + "question": "What is the candidates for fred e. busbey?", + "context": "create table table_1342149_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342149_13 where incumbent = \"fred e. busbey\"" + }, + { + "question": "How many years was the operating profit (s$m) 717.1?", + "context": "create table table_161591_2 (profit_before_taxation__s varchar, operating_profit__s$m_ varchar, PRIMARY KEY (profit_before_taxation__s))", + "answer": "select count(profit_before_taxation__s) as $m_ from table_161591_2 where operating_profit__s$m_ = \"717.1\"" + }, + { + "question": "Name the % asian american for 23526", + "context": "create table table_18963843_1 (_percentage_asian_american varchar, indian_american_population__2010_ varchar, PRIMARY KEY (_percentage_asian_american))", + "answer": "select _percentage_asian_american from table_18963843_1 where indian_american_population__2010_ = 23526" + }, + { + "question": "What is the namesake of the ship that was commissioned or completed(*) 16 april 1864?", + "context": "create table table_12592074_1 (namesake varchar, commissioned_or_completed_ varchar, _ varchar, PRIMARY KEY (namesake))", + "answer": "select namesake from table_12592074_1 where commissioned_or_completed_ * _ = \"16 april 1864\"" + }, + { + "question": "How many different genres appear for the Jimi Hendrix Experience?", + "context": "create table table_26488540_1 (genre varchar, artist varchar, PRIMARY KEY (genre))", + "answer": "select count(genre) from table_26488540_1 where artist = \"the jimi hendrix experience\"" + }, + { + "question": "What party did incumbent Stephen L. Neal belong to?", + "context": "create table table_1341568_34 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341568_34 where incumbent = \"stephen l. neal\"" + }, + { + "question": "What province does the Ruhuna Royals team come from?", + "context": "create table table_19905183_1 (province varchar, team varchar, PRIMARY KEY (province))", + "answer": "select province from table_19905183_1 where team = \"ruhuna royals\"" + }, + { + "question": "List the title of films that do not have any market estimation.", + "context": "create table film_market_estimation (title varchar, film_id varchar, PRIMARY KEY (title)); create table film (title varchar, film_id varchar, PRIMARY KEY (title))", + "answer": "select title from film where not film_id in (select film_id from film_market_estimation)" + }, + { + "question": "How many distinct names are associated with all the photos?", + "context": "create table photos (name varchar, PRIMARY KEY (name))", + "answer": "select count(distinct name) from photos" + }, + { + "question": "What is the road record for the team with an overall record of 22-11?", + "context": "create table table_23183195_2 (road_record varchar, overall_record varchar, PRIMARY KEY (road_record))", + "answer": "select road_record from table_23183195_2 where overall_record = \"22-11\"" + }, + { + "question": "Which settlement has the cyrillic name \u0441\u0438\u0433\u0435\u0442?", + "context": "create table table_2562572_30 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_30 where cyrillic_name_other_names = \"\u0441\u0438\u0433\u0435\u0442\"" + }, + { + "question": "What is the hd designation for arrival date of February 2070?", + "context": "create table table_1820752_1 (hd_designation varchar, arrival_date varchar, PRIMARY KEY (hd_designation))", + "answer": "select count(hd_designation) from table_1820752_1 where arrival_date = \"february 2070\"" + }, + { + "question": "what's the\u00a0permanence of the body\u00a0where\u00a0purity\u00a0is rudra", + "context": "create table table_11609814_1 (permanence_of_the_body varchar, purity varchar, PRIMARY KEY (permanence_of_the_body))", + "answer": "select permanence_of_the_body from table_11609814_1 where purity = \"rudra\"" + }, + { + "question": "Name the truck for eric phillips", + "context": "create table table_24535095_2 (truck_s_ varchar, crew_chief varchar, PRIMARY KEY (truck_s_))", + "answer": "select truck_s_ from table_24535095_2 where crew_chief = \"eric phillips\"" + }, + { + "question": "Who were the performance liaisons for the dramaturge Chrisena Ricci?", + "context": "create table table_22410780_1 (performance_liaison varchar, dramaturge varchar, PRIMARY KEY (performance_liaison))", + "answer": "select performance_liaison from table_22410780_1 where dramaturge = \"chrisena ricci\"" + }, + { + "question": "What is the Original air date for the episode written by Peter Ocko?", + "context": "create table table_13183076_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13183076_3 where written_by = \"peter ocko\"" + }, + { + "question": "Where is the college where Keith Hartwig plays?", + "context": "create table table_10361625_1 (college varchar, player_name varchar, PRIMARY KEY (college))", + "answer": "select college from table_10361625_1 where player_name = \"keith hartwig\"" + }, + { + "question": "Where is the headquarter located for the Annapolis Valley Regional School Board?", + "context": "create table table_21514460_1 (headquarters varchar, school_district varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from table_21514460_1 where school_district = \"annapolis valley regional school board\"" + }, + { + "question": "Find the distinct last names of all the students who have president votes and whose advisor is not 2192.", + "context": "create table student (lname varchar, president_vote varchar, advisor varchar, PRIMARY KEY (lname)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table voting_record (id varchar, PRIMARY KEY (id))", + "answer": "select distinct t1.lname from student as t1 join voting_record as t2 on t1.stuid = president_vote except select distinct lname from student where advisor = \"2192\"" + }, + { + "question": "Find the title of course whose prerequisite is course Differential Geometry.", + "context": "create table prereq (course_id varchar, prereq_id varchar, PRIMARY KEY (course_id)); create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id))", + "answer": "select title from course where course_id in (select t1.course_id from prereq as t1 join course as t2 on t1.prereq_id = t2.course_id where t2.title = 'differential geometry')" + }, + { + "question": "How many different courses offered by Physics department?", + "context": "create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id))", + "answer": "select count(distinct course_id) from course where dept_name = 'physics'" + }, + { + "question": "Please give me the title of Season 2, episode 1.", + "context": "create table table_12451376_2 (title varchar, season_2_ep__number varchar, PRIMARY KEY (title))", + "answer": "select title from table_12451376_2 where season_2_ep__number = 1" + }, + { + "question": "How many artists are from Bangladesh?", + "context": "create table artist (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from artist where country = \"bangladesh\"" + }, + { + "question": "How many candidates were there when Henry Garland Dupr\u00e9 was the incumbent?", + "context": "create table table_1342451_16 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342451_16 where incumbent = \"henry garland dupr\u00e9\"" + }, + { + "question": "What is the name of the title winner in the ring light heavyweight (175) division?", + "context": "create table table_12206918_2 (name varchar, titles varchar, PRIMARY KEY (name))", + "answer": "select name from table_12206918_2 where titles = \"the ring light heavyweight (175)\"" + }, + { + "question": "Which country mines 24.0% of the world demand of uranium?", + "context": "create table table_15624586_2 (indigenous_mining_production_2006 varchar, _percentage_of_world_demand varchar, PRIMARY KEY (indigenous_mining_production_2006))", + "answer": "select indigenous_mining_production_2006 from table_15624586_2 where _percentage_of_world_demand = \"24.0%\"" + }, + { + "question": "What is the education when the economic incentive regime is 1.58?", + "context": "create table table_23050383_1 (education varchar, economic_incentive_regime varchar, PRIMARY KEY (education))", + "answer": "select education from table_23050383_1 where economic_incentive_regime = \"1.58\"" + }, + { + "question": "what is the october 20, 2008 stat where mexico stat is romania", + "context": "create table table_18498743_1 (october_20 varchar, _2008 varchar, mexico varchar, PRIMARY KEY (october_20))", + "answer": "select october_20, _2008 from table_18498743_1 where mexico = \"romania\"" + }, + { + "question": "Which episode was directed by Jean de Segonzac?", + "context": "create table table_10935548_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_10935548_1 where directed_by = \"jean de segonzac\"" + }, + { + "question": "state the opponent on halliwell jones stadium in super league xiv", + "context": "create table table_21256068_3 (opponent varchar, venue varchar, competition varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_21256068_3 where venue = \"halliwell jones stadium\" and competition = \"super league xiv\"" + }, + { + "question": "Who is the competitor from France with 10 starts?", + "context": "create table table_19487922_1 (name varchar, country varchar, race_entries__starts_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_19487922_1 where country = \"france\" and race_entries__starts_ = \"10\"" + }, + { + "question": "What is every weekly schedule of TV network Viasat 4?", + "context": "create table table_18821196_1 (weekly_schedule varchar, tv_network_s_ varchar, PRIMARY KEY (weekly_schedule))", + "answer": "select weekly_schedule from table_18821196_1 where tv_network_s_ = \"viasat 4\"" + }, + { + "question": "How many games were played against the Chicago Bears?", + "context": "create table table_14966537_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_14966537_1 where opponent = \"chicago bears\"" + }, + { + "question": "Show all origins and the number of flights from each origin.", + "context": "create table flight (origin varchar, PRIMARY KEY (origin))", + "answer": "select origin, count(*) from flight group by origin" + }, + { + "question": "What is Nader's percentage when Obama is 44.6%?", + "context": "create table table_20573232_1 (nader_percentage varchar, obama_percentage varchar, PRIMARY KEY (nader_percentage))", + "answer": "select nader_percentage from table_20573232_1 where obama_percentage = \"44.6%\"" + }, + { + "question": "Please show the most common citizenship of singers.", + "context": "create table singer (citizenship varchar, PRIMARY KEY (citizenship))", + "answer": "select citizenship from singer group by citizenship order by count(*) desc limit 1" + }, + { + "question": "Name the number of families for uk30", + "context": "create table table_19897294_8 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))", + "answer": "select count(family_families) from table_19897294_8 where no_overall = \"uk30\"" + }, + { + "question": "When was the pre-season game record achieved?", + "context": "create table table_21436373_10 (date_year varchar, type_of_record varchar, PRIMARY KEY (date_year))", + "answer": "select date_year from table_21436373_10 where type_of_record = \"pre-season game\"" + }, + { + "question": "Who was the young rider classification when Diego Ulissi won?", + "context": "create table table_28538368_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select count(young_rider_classification) from table_28538368_2 where winner = \"diego ulissi\"" + }, + { + "question": "Name the number of womens singles for 1999 rio de janeiro", + "context": "create table table_28138035_4 (womens_singles varchar, year_location varchar, PRIMARY KEY (womens_singles))", + "answer": "select count(womens_singles) from table_28138035_4 where year_location = \"1999 rio de janeiro\"" + }, + { + "question": "Which game type has least number of games?", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select gtype from video_games group by gtype order by count(*) limit 1" + }, + { + "question": "What is every part number with model number core i5-670?", + "context": "create table table_23028629_2 (part_number_s_ varchar, model_number varchar, PRIMARY KEY (part_number_s_))", + "answer": "select part_number_s_ from table_23028629_2 where model_number = \"core i5-670\"" + }, + { + "question": "Name the cyrillic name for lazarevo", + "context": "create table table_2562572_35 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_35 where settlement = \"lazarevo\"" + }, + { + "question": "Who is the women's doubles when the mixed doubles are sudket prapakamol saralee thungthongkam?", + "context": "create table table_27753492_2 (womens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_27753492_2 where mixed_doubles = \"sudket prapakamol saralee thungthongkam\"" + }, + { + "question": "where together we can do more is gloria mujica ( ph ) what are all the cons.", + "context": "create table table_2651755_2 (cons varchar, together_we_can_do_more varchar, PRIMARY KEY (cons))", + "answer": "select cons from table_2651755_2 where together_we_can_do_more = \"gloria mujica ( ph )\"" + }, + { + "question": "List the name and phone number of all suppliers in the alphabetical order of their addresses.", + "context": "create table addresses (address_id varchar, address_details varchar, PRIMARY KEY (address_id)); create table supplier_addresses (supplier_id varchar, address_id varchar, PRIMARY KEY (supplier_id)); create table suppliers (supplier_name varchar, supplier_phone varchar, supplier_id varchar, PRIMARY KEY (supplier_name))", + "answer": "select t1.supplier_name, t1.supplier_phone from suppliers as t1 join supplier_addresses as t2 on t1.supplier_id = t2.supplier_id join addresses as t3 on t2.address_id = t3.address_id order by t3.address_details" + }, + { + "question": "Who won the mixed doubles when ji xinpeng won the mens singles?", + "context": "create table table_12027364_1 (mixed_doubles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_12027364_1 where mens_singles = \"ji xinpeng\"" + }, + { + "question": "What is every value for \u0441\u043b\u043e\u0432\u0458\u0430\u043d\u0441\u043a\u0438 if polish is ksi\u0105\u017cka?", + "context": "create table table_25008327_8 (\u0441\u043b\u043e\u0432\u0458\u0430\u043d\u0441\u043a\u0438 varchar, polish varchar, PRIMARY KEY (\u0441\u043b\u043e\u0432\u0458\u0430\u043d\u0441\u043a\u0438))", + "answer": "select \u0441\u043b\u043e\u0432\u0458\u0430\u043d\u0441\u043a\u0438 from table_25008327_8 where polish = \"ksi\u0105\u017cka\"" + }, + { + "question": "what's the\u00a0name\u00a0with\u00a0first operational\u00a0being march 1945", + "context": "create table table_13636_1 (name varchar, first_operational varchar, PRIMARY KEY (name))", + "answer": "select name from table_13636_1 where first_operational = \"march 1945\"" + }, + { + "question": "What is the guanay municipality when the tacacoma municipality is 4.321?", + "context": "create table table_2509202_2 (guanay_municipality varchar, tacacoma_municipality varchar, PRIMARY KEY (guanay_municipality))", + "answer": "select guanay_municipality from table_2509202_2 where tacacoma_municipality = \"4.321\"" + }, + { + "question": "Where did they play the San Diego Chargers?", + "context": "create table table_13259009_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_13259009_2 where opponent = \"san diego chargers\"" + }, + { + "question": "Show all artist names and the year joined who are not from United States.", + "context": "create table artist (name varchar, year_join varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name, year_join from artist where country <> 'united states'" + }, + { + "question": "Who is the captain of the Gloucestershire Gladiators?", + "context": "create table table_18461635_1 (captain varchar, team varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_18461635_1 where team = \"gloucestershire gladiators\"" + }, + { + "question": "How many models does each car maker produce? List maker full name, id and the number.", + "context": "create table model_list (maker varchar, PRIMARY KEY (maker)); create table car_makers (fullname varchar, id varchar, PRIMARY KEY (fullname))", + "answer": "select t1.fullname, t1.id, count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id" + }, + { + "question": "In which year were most departments established?", + "context": "create table department (creation varchar, PRIMARY KEY (creation))", + "answer": "select creation from department group by creation order by count(*) desc limit 1" + }, + { + "question": "When the under-17 was Antonio Glez, who was the under-13?", + "context": "create table table_26368963_1 (under_13 varchar, under_17 varchar, PRIMARY KEY (under_13))", + "answer": "select under_13 from table_26368963_1 where under_17 = \"antonio glez\"" + }, + { + "question": "What type of settlement is \u0444\u0443\u0442\u043e\u0433?", + "context": "create table table_2562572_9 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_9 where cyrillic_name_other_names = \"\u0444\u0443\u0442\u043e\u0433\"" + }, + { + "question": "What was the original air date where there were u.s. viewers (millions) is 5.60?", + "context": "create table table_25716399_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25716399_1 where us_viewers__millions_ = \"5.60\"" + }, + { + "question": "Name the icb sector for ai", + "context": "create table table_168274_1 (icb_sector varchar, ticker_symbol varchar, PRIMARY KEY (icb_sector))", + "answer": "select icb_sector from table_168274_1 where ticker_symbol = \"ai\"" + }, + { + "question": "How many million viewers watched the episode that runs 25:55 minutes?", + "context": "create table table_1785117_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_1785117_1 where run_time = \"25:55\"" + }, + { + "question": "Which film has the most number of actors or actresses? List the film name, film id and description.", + "context": "create table film_actor (film_id varchar, PRIMARY KEY (film_id)); create table film (title varchar, film_id varchar, description varchar, PRIMARY KEY (title))", + "answer": "select t2.title, t2.film_id, t2.description from film_actor as t1 join film as t2 on t1.film_id = t2.film_id group by t2.film_id order by count(*) desc limit 1" + }, + { + "question": "Find the names of users who have more than one tweet.", + "context": "create table tweets (uid varchar, PRIMARY KEY (uid)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid having count(*) > 1" + }, + { + "question": "What amount is the number of hk viewers where chinese title is \u5341\u5144\u5f1f?", + "context": "create table table_11173827_1 (hk_viewers varchar, chinese_title varchar, PRIMARY KEY (hk_viewers))", + "answer": "select hk_viewers from table_11173827_1 where chinese_title = \"\u5341\u5144\u5f1f\"" + }, + { + "question": "Who is the creator when the view happens to gddm, afp viewer?", + "context": "create table table_1574968_1 (creator varchar, viewer varchar, PRIMARY KEY (creator))", + "answer": "select creator from table_1574968_1 where viewer = \"gddm, afp viewer\"" + }, + { + "question": "What state does the representative whose mission was terminated on November 29, 1973 represent?", + "context": "create table table_20065425_1 (state varchar, termination_of_mission varchar, PRIMARY KEY (state))", + "answer": "select state from table_20065425_1 where termination_of_mission = \"november 29, 1973\"" + }, + { + "question": "Is the Washington Corrections Center for Women (WCCW) a major facility?", + "context": "create table table_25346763_1 (major varchar, facility varchar, PRIMARY KEY (major))", + "answer": "select major as facility from table_25346763_1 where facility = \"washington corrections center for women (wccw)\"" + }, + { + "question": "Name the award name for black ocean current", + "context": "create table table_15584199_3 (award_name varchar, team_name varchar, PRIMARY KEY (award_name))", + "answer": "select award_name from table_15584199_3 where team_name = \"black ocean current\"" + }, + { + "question": "What were the LOA metres for the yacht ichi ban?", + "context": "create table table_25594271_2 (loa__metres_ varchar, yacht varchar, PRIMARY KEY (loa__metres_))", + "answer": "select loa__metres_ from table_25594271_2 where yacht = \"ichi ban\"" + }, + { + "question": "what is the prod.code of the episode with original air date 01/12/1968?", + "context": "create table table_13403120_1 (prodcode varchar, originalairdate varchar, PRIMARY KEY (prodcode))", + "answer": "select count(prodcode) from table_13403120_1 where originalairdate = \"01/12/1968\"" + }, + { + "question": "What is the weight(lbs) when born is april 6, 1954 detroit, mi?", + "context": "create table table_1198175_1 (weight_lbs_ varchar, born varchar, PRIMARY KEY (weight_lbs_))", + "answer": "select weight_lbs_ from table_1198175_1 where born = \"april 6, 1954 detroit, mi\"" + }, + { + "question": "In language where Saturday is \u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf senasuraadaa, what is Tuesday?", + "context": "create table table_1277350_3 (tuesday_mangala__mars_ varchar, saturday_shani__saturn_ varchar, PRIMARY KEY (tuesday_mangala__mars_))", + "answer": "select tuesday_mangala__mars_ from table_1277350_3 where saturday_shani__saturn_ = \"\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf senasuraadaa\"" + }, + { + "question": "What are the numbers of races for each constructor id?", + "context": "create table constructorstandings (constructorid varchar, PRIMARY KEY (constructorid))", + "answer": "select count(*), constructorid from constructorstandings group by constructorid" + }, + { + "question": "With the nickname the swans, what is the home ground?", + "context": "create table table_18752986_1 (home_ground_s_ varchar, nickname varchar, PRIMARY KEY (home_ground_s_))", + "answer": "select home_ground_s_ from table_18752986_1 where nickname = \"swans\"" + }, + { + "question": "What are the names and arrival times of trains?", + "context": "create table train (name varchar, arrival varchar, PRIMARY KEY (name))", + "answer": "select name, arrival from train" + }, + { + "question": "Show the distinct themes of journals.", + "context": "create table journal (theme varchar, PRIMARY KEY (theme))", + "answer": "select distinct theme from journal" + }, + { + "question": "When the best finish was T69, how many people came in 2nd?", + "context": "create table table_10021158_3 (best_finish varchar, PRIMARY KEY (best_finish))", + "answer": "select 2 as nd from table_10021158_3 where best_finish = \"t69\"" + }, + { + "question": "What title was used in the nomination for the title Biola Tak Berdawai?", + "context": "create table table_13719788_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_13719788_1 where original_title = \"biola tak berdawai\"" + }, + { + "question": "What is the model of the engine d5244 t7?", + "context": "create table table_1147701_5 (model_name varchar, engine_code varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from table_1147701_5 where engine_code = \"d5244 t7\"" + }, + { + "question": "How many numbers were recorded under max speed for 1 USAF space flight and total flights 34?", + "context": "create table table_221315_3 (max_speed__mph_ varchar, usaf_space_flights varchar, total_flights varchar, PRIMARY KEY (max_speed__mph_))", + "answer": "select count(max_speed__mph_) from table_221315_3 where usaf_space_flights = 1 and total_flights = 34" + }, + { + "question": "What was the maximum perigee on 1969-01-09?", + "context": "create table table_12141496_1 (perigee__km_ integer, decay_date varchar, PRIMARY KEY (perigee__km_))", + "answer": "select max(perigee__km_) from table_12141496_1 where decay_date = \"1969-01-09\"" + }, + { + "question": "What is the result/games of Sun 11/28/10 as the date/year?", + "context": "create table table_21436373_6 (result_games varchar, date_year varchar, PRIMARY KEY (result_games))", + "answer": "select result_games from table_21436373_6 where date_year = \"sun 11/28/10\"" + }, + { + "question": "How many capital cities does Australia have?", + "context": "create table table_1008653_1 (capital___endonym__ varchar, country___endonym__ varchar, PRIMARY KEY (capital___endonym__))", + "answer": "select count(capital___endonym__) from table_1008653_1 where country___endonym__ = \"australia\"" + }, + { + "question": "For the model with torque of n\u00b7m (lb\u00b7ft)/*n\u00b7m (lb\u00b7ft) @1750, what is the power?", + "context": "create table table_1212189_1 (power_rpm varchar, torque__nm__rpm varchar, PRIMARY KEY (power_rpm))", + "answer": "select power_rpm from table_1212189_1 where torque__nm__rpm = \"n\u00b7m (lb\u00b7ft)/*n\u00b7m (lb\u00b7ft) @1750\"" + }, + { + "question": "who are the awardees when the name of award is best agricultural film?", + "context": "create table table_25926120_7 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_25926120_7 where name_of_award = \"best agricultural film\"" + }, + { + "question": "how many\u00a0song title\u00a0with\u00a0artbeingt\u00a0being chubby checker", + "context": "create table table_13789248_2 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select count(song_title) from table_13789248_2 where artist = \"chubby checker\"" + }, + { + "question": "What is the id, forname and surname of the driver who had the first position in terms of laptime at least twice?", + "context": "create table drivers (driverid varchar, forename varchar, surname varchar, PRIMARY KEY (driverid)); create table laptimes (driverid varchar, PRIMARY KEY (driverid))", + "answer": "select t1.driverid, t1.forename, t1.surname from drivers as t1 join laptimes as t2 on t1.driverid = t2.driverid where position = '1' group by t1.driverid having count(*) >= 2" + }, + { + "question": "Name the game cost for merged with new york central to form penn central", + "context": "create table table_243664_1 (game_cost varchar, real_life_eventual_outcome varchar, PRIMARY KEY (game_cost))", + "answer": "select game_cost from table_243664_1 where real_life_eventual_outcome = \"merged with new york central to form penn central\"" + }, + { + "question": "Who drove for team Circle Sport?", + "context": "create table table_1266602_2 (driver_s_ varchar, team varchar, PRIMARY KEY (driver_s_))", + "answer": "select driver_s_ from table_1266602_2 where team = \"circle sport\"" + }, + { + "question": "How many mascotts are there for college station, texas", + "context": "create table table_28243691_1 (team_nickname varchar, location varchar, PRIMARY KEY (team_nickname))", + "answer": "select count(team_nickname) from table_28243691_1 where location = \"college station, texas\"" + }, + { + "question": "Which language is spoken by the largest number of countries?", + "context": "create table countrylanguage (language varchar, PRIMARY KEY (language))", + "answer": "select language from countrylanguage group by language order by count(*) desc limit 1" + }, + { + "question": "how many female dependents are there?", + "context": "create table dependent (sex varchar, PRIMARY KEY (sex))", + "answer": "select count(*) from dependent where sex = 'f'" + }, + { + "question": "Who directed the episode that aired on july15,2012?", + "context": "create table table_20704243_6 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_20704243_6 where original_air_date = \"july15,2012\"" + }, + { + "question": "What is the most frequent status of bookings?", + "context": "create table bookings (status_code varchar, PRIMARY KEY (status_code))", + "answer": "select status_code from bookings group by status_code order by count(*) desc limit 1" + }, + { + "question": "Which battle of the planets where ova (harmony gold dub) is solaris?", + "context": "create table table_17480471_3 (battle_of_the_planets varchar, ova__harmony_gold_dub_ varchar, PRIMARY KEY (battle_of_the_planets))", + "answer": "select battle_of_the_planets from table_17480471_3 where ova__harmony_gold_dub_ = \"solaris\"" + }, + { + "question": "What is every event date on Sunday with a starting time of 9:30 am?", + "context": "create table table_28003469_1 (event_date varchar, event_day varchar, starting_time varchar, PRIMARY KEY (event_date))", + "answer": "select event_date from table_28003469_1 where event_day = \"sunday\" and starting_time = \"9:30 am\"" + }, + { + "question": "What is the value for congi core 1 if the code name is Redwood and core clock(mhz) is 500?", + "context": "create table table_25005714_3 (config_core_1 varchar, code_name varchar, core_clock___mhz__ varchar, PRIMARY KEY (config_core_1))", + "answer": "select config_core_1 from table_25005714_3 where code_name = \"redwood\" and core_clock___mhz__ = \"500\"" + }, + { + "question": "How many districts have an area of 17.72 KM2?", + "context": "create table table_1104312_5 (english_name varchar, area_in_km\u00b2 varchar, PRIMARY KEY (english_name))", + "answer": "select count(english_name) from table_1104312_5 where area_in_km\u00b2 = \"17.72\"" + }, + { + "question": "What is the winning song for the artist with a debut album \"the winner\"?", + "context": "create table table_1646960_3 (winning_song varchar, debut_album varchar, PRIMARY KEY (winning_song))", + "answer": "select winning_song from table_1646960_3 where debut_album = \"the winner\"" + }, + { + "question": "Where was the game played that started at 7:00 p.m.?", + "context": "create table table_24396664_2 (game_site varchar, kickoff varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_24396664_2 where kickoff = \"7:00 p.m.\"" + }, + { + "question": "What was the percent of slovenes 1951 for bach?", + "context": "create table table_10797636_1 (percent_of_slovenes_1951 varchar, village__german_ varchar, PRIMARY KEY (percent_of_slovenes_1951))", + "answer": "select percent_of_slovenes_1951 from table_10797636_1 where village__german_ = \"bach\"" + }, + { + "question": "Find the person who has exactly one friend.", + "context": "create table personfriend (name varchar, PRIMARY KEY (name))", + "answer": "select name from personfriend group by name having count(*) = 1" + }, + { + "question": "Show company name and main industry without a gas station.", + "context": "create table station_company (company varchar, main_industry varchar, company_id varchar, PRIMARY KEY (company)); create table company (company varchar, main_industry varchar, company_id varchar, PRIMARY KEY (company))", + "answer": "select company, main_industry from company where not company_id in (select company_id from station_company)" + }, + { + "question": "What are the hometowns that are shared by at least two gymnasts?", + "context": "create table gymnast (gymnast_id varchar, PRIMARY KEY (gymnast_id)); create table people (hometown varchar, people_id varchar, PRIMARY KEY (hometown))", + "answer": "select t2.hometown from gymnast as t1 join people as t2 on t1.gymnast_id = t2.people_id group by t2.hometown having count(*) >= 2" + }, + { + "question": "What vfl club(s) for players ranked sergeant, 8th brigade australian field artillery at time of death?", + "context": "create table table_16527640_2 (vfl_club_s_ varchar, rank_held_at_time_of_death varchar, PRIMARY KEY (vfl_club_s_))", + "answer": "select vfl_club_s_ from table_16527640_2 where rank_held_at_time_of_death = \"sergeant, 8th brigade australian field artillery\"" + }, + { + "question": "Where is il-36\u03b2 located?", + "context": "create table table_29871617_1 (chromosomal_location varchar, name varchar, PRIMARY KEY (chromosomal_location))", + "answer": "select chromosomal_location from table_29871617_1 where name = \"il-36\u03b2\"" + }, + { + "question": "How many Small catagories are there for the department that has a medium of 17101?", + "context": "create table table_21249915_1 (small__100ha_ varchar, medium__500ha_ varchar, PRIMARY KEY (small__100ha_))", + "answer": "select count(small__100ha_) from table_21249915_1 where medium__500ha_ = 17101" + }, + { + "question": "What are all values for U.S. viewers(millions) with Kevin Curran as a writer?", + "context": "create table table_20942925_1 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_20942925_1 where written_by = \"kevin curran\"" + }, + { + "question": "Name the power provided where transfer speed mb/s is 300 and max cable length of 10", + "context": "create table table_174151_5 (power_provided varchar, transfer_speed__mb_s_ varchar, max_cable_length__m_ varchar, PRIMARY KEY (power_provided))", + "answer": "select power_provided from table_174151_5 where transfer_speed__mb_s_ = \"300\" and max_cable_length__m_ = \"10\"" + }, + { + "question": "How many enzymes do not have any interactions?", + "context": "create table medicine_enzyme_interaction (id varchar, enzyme_id varchar, PRIMARY KEY (id)); create table enzyme (id varchar, enzyme_id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from enzyme where not id in (select enzyme_id from medicine_enzyme_interaction)" + }, + { + "question": "When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?", + "context": "create table table_23537091_1 (copper_age varchar, ubaid_period_in_mesopotamia varchar, PRIMARY KEY (copper_age))", + "answer": "select copper_age from table_23537091_1 where ubaid_period_in_mesopotamia = \"middle assyrian empire\"" + }, + { + "question": "Which programs were originally broadcast on CITV?", + "context": "create table table_29566606_11 (programme varchar, original_channel_s_ varchar, PRIMARY KEY (programme))", + "answer": "select programme from table_29566606_11 where original_channel_s_ = \"citv\"" + }, + { + "question": "How many votes did Wales cast when Northern England cast 6?", + "context": "create table table_10128185_2 (wales integer, northern_england varchar, PRIMARY KEY (wales))", + "answer": "select min(wales) from table_10128185_2 where northern_england = 6" + }, + { + "question": "How many different countries did the champion Se Ri Pak (2) represent?", + "context": "create table table_229059_2 (country varchar, champion varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_229059_2 where champion = \"se ri pak (2)\"" + }, + { + "question": "List the most common hometown of teachers.", + "context": "create table teacher (hometown varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from teacher group by hometown order by count(*) desc limit 1" + }, + { + "question": "What is the rate limit when the desired rate change (%) is +40.4?", + "context": "create table table_25316812_1 (rate_limit__p_ varchar, desired_rate_change___percentage_ varchar, PRIMARY KEY (rate_limit__p_))", + "answer": "select rate_limit__p_ from table_25316812_1 where desired_rate_change___percentage_ = \"+40.4\"" + }, + { + "question": "What Branding does WRKO calls use?", + "context": "create table table_10333757_1 (branding varchar, calls varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_10333757_1 where calls = \"wrko\"" + }, + { + "question": "how many\u00a0party\u00a0with\u00a0candidates\u00a0being charles edward bennett (d) unopposed", + "context": "create table table_1342013_9 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342013_9 where candidates = \"charles edward bennett (d) unopposed\"" + }, + { + "question": "Show the manager name for gas stations belonging to the ExxonMobil company.", + "context": "create table gas_station (manager_name varchar, station_id varchar, PRIMARY KEY (manager_name)); create table station_company (company_id varchar, station_id varchar, PRIMARY KEY (company_id)); create table company (company_id varchar, company varchar, PRIMARY KEY (company_id))", + "answer": "select t3.manager_name from station_company as t1 join company as t2 on t1.company_id = t2.company_id join gas_station as t3 on t1.station_id = t3.station_id where t2.company = 'exxonmobil'" + }, + { + "question": "How many different items appear in the weight column when Pittsburgh, PA is the hometown?", + "context": "create table table_29970488_2 (weight___lb__ varchar, hometown varchar, PRIMARY KEY (weight___lb__))", + "answer": "select count(weight___lb__) from table_29970488_2 where hometown = \"pittsburgh, pa\"" + }, + { + "question": "How many clubs are located at \"HHH\"?", + "context": "create table club (clublocation varchar, PRIMARY KEY (clublocation))", + "answer": "select count(*) from club where clublocation = \"hhh\"" + }, + { + "question": "Which handicap has the horse knowhere?", + "context": "create table table_19624708_1 (handicap__st_lb_ varchar, horse varchar, PRIMARY KEY (handicap__st_lb_))", + "answer": "select handicap__st_lb_ from table_19624708_1 where horse = \"knowhere\"" + }, + { + "question": "Which junctions have \"replaced by bsi-35\" listed in their remarks section?", + "context": "create table table_11336756_6 (junctions varchar, remarks varchar, PRIMARY KEY (junctions))", + "answer": "select junctions from table_11336756_6 where remarks = \"replaced by bsi-35\"" + }, + { + "question": "Name the record for arizona", + "context": "create table table_22815259_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_22815259_1 where opponent = \"arizona\"" + }, + { + "question": "When n\u00ba is 3, what are all the coaliton parties?", + "context": "create table table_21422977_1 (coalition_parties varchar, n\u00ba varchar, PRIMARY KEY (coalition_parties))", + "answer": "select coalition_parties from table_21422977_1 where n\u00ba = 3" + }, + { + "question": "What was the playoff result when they finished 5th, north in the regular sesason?", + "context": "create table table_15056103_1 (playoffs varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_15056103_1 where regular_season = \"5th, north\"" + }, + { + "question": "During the Big Seven Conference which team was the regular season winner?", + "context": "create table table_28365816_2 (regular_season_winner varchar, conference varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_28365816_2 where conference = \"big seven conference\"" + }, + { + "question": "Was the round where they were in 6th at home or away?", + "context": "create table table_29033869_3 (home_away varchar, position_on_ladder varchar, PRIMARY KEY (home_away))", + "answer": "select home_away from table_29033869_3 where position_on_ladder = \"6th\"" + }, + { + "question": "What is the 3 most common cloud cover rates in the region of zip code 94107?", + "context": "create table weather (cloud_cover varchar, zip_code varchar, PRIMARY KEY (cloud_cover))", + "answer": "select cloud_cover from weather where zip_code = 94107 group by cloud_cover order by count(*) desc limit 3" + }, + { + "question": "The local title \"Live to Dance\" was aired in which channel?", + "context": "create table table_24598274_20 (channel varchar, local_title varchar, PRIMARY KEY (channel))", + "answer": "select channel from table_24598274_20 where local_title = \"live to dance\"" + }, + { + "question": "what time does the train that arrives in lonavla at 22:22 depart pune", + "context": "create table table_29301050_1 (departure_pune varchar, arrival_lonavla varchar, PRIMARY KEY (departure_pune))", + "answer": "select departure_pune from table_29301050_1 where arrival_lonavla = \"22:22\"" + }, + { + "question": "List the writers who have written more than one book.", + "context": "create table book (writer varchar, PRIMARY KEY (writer))", + "answer": "select writer from book group by writer having count(*) > 1" + }, + { + "question": "Find the name of customers who have loans of both Mortgages and Auto.", + "context": "create table customer (cust_name varchar, cust_id varchar, PRIMARY KEY (cust_name)); create table loan (cust_id varchar, PRIMARY KEY (cust_id))", + "answer": "select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id where loan_type = 'mortgages' intersect select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id where loan_type = 'auto'" + }, + { + "question": "Name the nation where jeff barker is from", + "context": "create table table_19730892_1 (nation varchar, name varchar, PRIMARY KEY (nation))", + "answer": "select nation from table_19730892_1 where name = \"jeff barker\"" + }, + { + "question": "What is the team when the incoming manager is martin allen?", + "context": "create table table_26914854_3 (team varchar, incoming_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_26914854_3 where incoming_manager = \"martin allen\"" + }, + { + "question": "In what bowl game was the result Oklahoma 31, Stanford 27?", + "context": "create table table_23718905_6 (bowl_game varchar, matchup_results varchar, PRIMARY KEY (bowl_game))", + "answer": "select bowl_game from table_23718905_6 where matchup_results = \"oklahoma 31, stanford 27\"" + }, + { + "question": "Name the present share for australia", + "context": "create table table_23195_5 (present_share varchar, producing_nation varchar, PRIMARY KEY (present_share))", + "answer": "select present_share from table_23195_5 where producing_nation = \"australia\"" + }, + { + "question": "What is Petersville's census ranking?", + "context": "create table table_171356_2 (census_ranking varchar, official_name varchar, PRIMARY KEY (census_ranking))", + "answer": "select census_ranking from table_171356_2 where official_name = \"petersville\"" + }, + { + "question": "This constellation, abbreviated as 'oph' has how many right ascension (in hm)?", + "context": "create table table_177766_1 (right_ascension__hm_ varchar, abbre\u00adviation varchar, PRIMARY KEY (right_ascension__hm_))", + "answer": "select count(right_ascension__hm_) from table_177766_1 where abbre\u00adviation = \"oph\"" + }, + { + "question": "Name the package/option for number being 543", + "context": "create table table_15887683_8 (package_option varchar, n\u00b0 varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_8 where n\u00b0 = 543" + }, + { + "question": "Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5", + "context": "create table table_18524_6 (tourism_receipts__2011___us varchar, tourism_receipts__2003___as__percentage_of_gdp_ varchar, PRIMARY KEY (tourism_receipts__2011___us))", + "answer": "select count(tourism_receipts__2011___us) as $_per_capita_ from table_18524_6 where tourism_receipts__2003___as__percentage_of_gdp_ = \"13.5\"" + }, + { + "question": "How many engine b5204 t3?", + "context": "create table table_1147705_1 (engine_displacement varchar, engine_type varchar, PRIMARY KEY (engine_displacement))", + "answer": "select count(engine_displacement) from table_1147705_1 where engine_type = \"b5204 t3\"" + }, + { + "question": "Name the memory for meodel number for atom e640t", + "context": "create table table_16729930_17 (memory varchar, model_number varchar, PRIMARY KEY (memory))", + "answer": "select memory from table_16729930_17 where model_number = \"atom e640t\"" + }, + { + "question": "Who is the director of the film with the title \u043b\u0435\u043f\u0430 \u0441\u0435\u043b\u0430 \u043b\u0435\u043f\u043e \u0433\u043e\u0440\u0435?", + "context": "create table table_22265716_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_22265716_1 where original_title = \"\u043b\u0435\u043f\u0430 \u0441\u0435\u043b\u0430 \u043b\u0435\u043f\u043e \u0433\u043e\u0440\u0435\"" + }, + { + "question": "What is the Friday 4 June if the Wednesday 2 June is 20' 50.62 108.608mph?", + "context": "create table table_25220821_3 (fri_4_june varchar, wed_2_june varchar, PRIMARY KEY (fri_4_june))", + "answer": "select fri_4_june from table_25220821_3 where wed_2_june = \"20' 50.62 108.608mph\"" + }, + { + "question": "What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph?", + "context": "create table table_30058355_2 (sat_20_aug varchar, fri_26_aug varchar, PRIMARY KEY (sat_20_aug))", + "answer": "select sat_20_aug from table_30058355_2 where fri_26_aug = \"19' 30.70 116.023mph\"" + }, + { + "question": "what is the name of the coloneo of the 35th regiment", + "context": "create table table_29458735_5 (colonel varchar, regiment varchar, PRIMARY KEY (colonel))", + "answer": "select colonel from table_29458735_5 where regiment = \"35th regiment\"" + }, + { + "question": "How many flights do we have?", + "context": "create table flight (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from flight" + }, + { + "question": "Who is the second runner up when Janina San Miguel won binibining pilipinas-world?", + "context": "create table table_1825751_4 (second_runner_up varchar, binibining_pilipinas_world varchar, PRIMARY KEY (second_runner_up))", + "answer": "select count(second_runner_up) from table_1825751_4 where binibining_pilipinas_world = \"janina san miguel\"" + }, + { + "question": "Nusa Ina only played once while group 7 played.", + "context": "create table table_19523142_5 (group_7 varchar, group_12 varchar, PRIMARY KEY (group_7))", + "answer": "select count(group_7) from table_19523142_5 where group_12 = \"nusa ina\"" + }, + { + "question": "What is the air force cross when you recieve the Aerial achievement medal?", + "context": "create table table_2104176_1 (air_force_cross varchar, homeland_security_distinguished_service_medal varchar, PRIMARY KEY (air_force_cross))", + "answer": "select air_force_cross from table_2104176_1 where homeland_security_distinguished_service_medal = \"aerial achievement medal\"" + }, + { + "question": "What was the team's record against philadelphia?", + "context": "create table table_27882867_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27882867_8 where team = \"philadelphia\"" + }, + { + "question": "What is the Japanese orthography for National Fisheries University?", + "context": "create table table_11390711_4 (japanese_orthography varchar, english_name varchar, PRIMARY KEY (japanese_orthography))", + "answer": "select japanese_orthography from table_11390711_4 where english_name = \"national fisheries university\"" + }, + { + "question": "When Alberto Contador Kanstantsin Sivtsov was the general classification and Alessandro Petacchi was the points classification at the same time while Mark Cavendish is the winner, who was the mountain classification?", + "context": "create table table_28538368_2 (mountains_classification varchar, winner varchar, general_classification varchar, points_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_28538368_2 where general_classification = \"alberto contador kanstantsin sivtsov\" and points_classification = \"alessandro petacchi\" and winner = \"mark cavendish\"" + }, + { + "question": "List the clubs having \"Davis Steven\" as a member.", + "context": "create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname))", + "answer": "select distinct t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = \"davis\" and t3.lname = \"steven\"" + }, + { + "question": "what's the\u00a0country\u00a0with\u00a0health\u00a0being 91.4", + "context": "create table table_145439_1 (country varchar, health varchar, PRIMARY KEY (country))", + "answer": "select country from table_145439_1 where health = \"91.4\"" + }, + { + "question": "Who was the jockey with opening odds of 4-1?", + "context": "create table table_22517564_3 (jockey varchar, opening_odds varchar, PRIMARY KEY (jockey))", + "answer": "select jockey from table_22517564_3 where opening_odds = \"4-1\"" + }, + { + "question": "What are flight numbers of Airline \"United Airlines\"?", + "context": "create table airlines (uid varchar, airline varchar, PRIMARY KEY (uid)); create table flights (flightno varchar, airline varchar, PRIMARY KEY (flightno))", + "answer": "select t1.flightno from flights as t1 join airlines as t2 on t2.uid = t1.airline where t2.airline = \"united airlines\"" + }, + { + "question": "who was the winner of uci rating cn?", + "context": "create table table_27887723_1 (winner varchar, uci_rating varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_27887723_1 where uci_rating = \"cn\"" + }, + { + "question": "What is the hometown of trinity high school?", + "context": "create table table_11677691_7 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_7 where school = \"trinity high school\"" + }, + { + "question": "Who directed the episode that had 6.76 million U.S. viewers?", + "context": "create table table_23242968_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23242968_1 where us_viewers__millions_ = \"6.76\"" + }, + { + "question": "When dizzee rascal is 5th, who was the winner?", + "context": "create table table_17111812_1 (winner varchar, fifth varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_17111812_1 where fifth = \"dizzee rascal\"" + }, + { + "question": "how many times has Aaron Ogden (f), been a successor and has had a formal installation?", + "context": "create table table_224840_3 (date_of_successors_formal_installation varchar, successor varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select count(date_of_successors_formal_installation) from table_224840_3 where successor = \"aaron ogden (f)\"" + }, + { + "question": "Find the first names of all the teachers that teach in classroom 110.", + "context": "create table teachers (firstname varchar, classroom varchar, PRIMARY KEY (firstname))", + "answer": "select firstname from teachers where classroom = 110" + }, + { + "question": "Which gender makes up the majority of the staff?", + "context": "create table staff (gender varchar, PRIMARY KEY (gender))", + "answer": "select gender from staff group by gender order by count(*) desc limit 1" + }, + { + "question": "Whats the name of segment D in the episode where segment A is tequila", + "context": "create table table_15187735_16 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_16 where segment_a = \"tequila\"" + }, + { + "question": "What was the team where Darren Collison (7) scored high assists?", + "context": "create table table_27756164_11 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_27756164_11 where high_assists = \"darren collison (7)\"" + }, + { + "question": "What party is John McHugh a member of?", + "context": "create table table_1341453_34 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_34 where incumbent = \"john mchugh\"" + }, + { + "question": "If extremely adventures is the category what is the height from sea level in meters?", + "context": "create table table_1430913_1 (height_from_sea_level_in_meters varchar, category varchar, PRIMARY KEY (height_from_sea_level_in_meters))", + "answer": "select height_from_sea_level_in_meters from table_1430913_1 where category = \"extremely adventures\"" + }, + { + "question": "Find the names of all patients who have an undergoing treatment and are staying in room 111.", + "context": "create table undergoes (patient varchar, stay varchar, PRIMARY KEY (patient)); create table stay (stayid varchar, room varchar, PRIMARY KEY (stayid)); create table patient (name varchar, ssn varchar, PRIMARY KEY (name))", + "answer": "select distinct t2.name from undergoes as t1 join patient as t2 on t1.patient = t2.ssn join stay as t3 on t1.stay = t3.stayid where t3.room = 111" + }, + { + "question": "What consoles was Shenmue released on?", + "context": "create table table_12887260_1 (console varchar, franchise_or_game varchar, PRIMARY KEY (console))", + "answer": "select console from table_12887260_1 where franchise_or_game = \"shenmue\"" + }, + { + "question": "List the name of physicians who never took any appointment.", + "context": "create table physician (name varchar, PRIMARY KEY (name)); create table appointment (physician varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select name from physician except select t2.name from appointment as t1 join physician as t2 on t1.physician = t2.employeeid" + }, + { + "question": "What is the party when the incumbent is samuel smith?", + "context": "create table table_2668416_7 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668416_7 where incumbent = \"samuel smith\"" + }, + { + "question": "Name the mountains classification for bradley white", + "context": "create table table_23944514_15 (mountains_classification varchar, aggressive_rider varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_23944514_15 where aggressive_rider = \"bradley white\"" + }, + { + "question": "How many Arabic forms are there for the 1st. plur. perfect category?", + "context": "create table table_2784232_1 (arabic_form varchar, morphological_category varchar, PRIMARY KEY (arabic_form))", + "answer": "select count(arabic_form) from table_2784232_1 where morphological_category = \"1st. plur. perfect\"" + }, + { + "question": "Name the number of ratings for bruce forsyth", + "context": "create table table_29135051_2 (ratings varchar, guest_s_ varchar, PRIMARY KEY (ratings))", + "answer": "select count(ratings) from table_29135051_2 where guest_s_ = \"bruce forsyth\"" + }, + { + "question": "On the Circuit Zolder who was the winning team?", + "context": "create table table_25213146_2 (winning_team varchar, circuit varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_25213146_2 where circuit = \"circuit zolder\"" + }, + { + "question": "Name the centennial for 1992 akimel", + "context": "create table table_15977768_1 (centennial varchar, akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river varchar, PRIMARY KEY (centennial))", + "answer": "select centennial from table_15977768_1 where akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river = \"1992\"" + }, + { + "question": "How many instrument does the musician with last name \"Heilo\" use?", + "context": "create table instruments (bandmateid varchar, PRIMARY KEY (bandmateid)); create table band (id varchar, lastname varchar, PRIMARY KEY (id))", + "answer": "select count(distinct instrument) from instruments as t1 join band as t2 on t1.bandmateid = t2.id where t2.lastname = \"heilo\"" + }, + { + "question": "wich spokesperson talked on luxembourg", + "context": "create table table_184803_4 (spokespersons varchar, country varchar, PRIMARY KEY (spokespersons))", + "answer": "select spokespersons from table_184803_4 where country = \"luxembourg\"" + }, + { + "question": "Find the number of employees hired in each shop; show the shop name as well.", + "context": "create table shop (name varchar, shop_id varchar, PRIMARY KEY (name)); create table hiring (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select count(*), t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t2.name" + }, + { + "question": "What party did incumbent Albert Wynn belong to?", + "context": "create table table_1341423_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341423_20 where incumbent = \"albert wynn\"" + }, + { + "question": "Which institutions primary conference is merged into the university of Massachusetts boston?", + "context": "create table table_261927_2 (institution varchar, primary_conference varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261927_2 where primary_conference = \"merged into the university of massachusetts boston\"" + }, + { + "question": "Find the last names of teachers who are not involved in any detention.", + "context": "create table teachers (last_name varchar, PRIMARY KEY (last_name)); create table teachers (last_name varchar, teacher_id varchar, PRIMARY KEY (last_name)); create table detention (teacher_id varchar, PRIMARY KEY (teacher_id))", + "answer": "select last_name from teachers except select t1.last_name from teachers as t1 join detention as t2 on t1.teacher_id = t2.teacher_id" + }, + { + "question": "How many teams eliminated when 11 teams started?", + "context": "create table table_23995075_2 (teams_that_have_been_eliminated varchar, teams_started varchar, PRIMARY KEY (teams_that_have_been_eliminated))", + "answer": "select teams_that_have_been_eliminated from table_23995075_2 where teams_started = \"11\"" + }, + { + "question": "When the winners votes were 50.54% who were the members of parliment?", + "context": "create table table_18106841_1 (members_of_parliament varchar, winners__percentage_votes varchar, PRIMARY KEY (members_of_parliament))", + "answer": "select members_of_parliament from table_18106841_1 where winners__percentage_votes = \"50.54%\"" + }, + { + "question": "What country do the Winnipeg Jets come from?", + "context": "create table table_2679061_7 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_2679061_7 where nhl_team = \"winnipeg jets\"" + }, + { + "question": "Find the names of the swimmers who have both \"win\" and \"loss\" results in the record.", + "context": "create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id where result = 'win' intersect select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id where result = 'loss'" + }, + { + "question": "How is the math course described?", + "context": "create table courses (course_description varchar, course_name varchar, PRIMARY KEY (course_description))", + "answer": "select course_description from courses where course_name = 'math'" + }, + { + "question": "What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?", + "context": "create table web_client_accelerator (name varchar, operating_system varchar, connection varchar, PRIMARY KEY (name))", + "answer": "select name, operating_system from web_client_accelerator where connection <> 'broadband'" + }, + { + "question": "In what year and location did Wang Liqin win the Mens Singles?", + "context": "create table table_28138035_35 (year_location varchar, mens_singles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_35 where mens_singles = \"wang liqin\"" + }, + { + "question": "What is the description of role code ED?", + "context": "create table roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description))", + "answer": "select role_description from roles where role_code = \"ed\"" + }, + { + "question": "How many security forces?", + "context": "create table table_21636599_1 (security_forces integer, PRIMARY KEY (security_forces))", + "answer": "select max(security_forces) from table_21636599_1" + }, + { + "question": "Name the total number of grounds for essendon", + "context": "create table table_16388047_1 (ground varchar, home_team varchar, PRIMARY KEY (ground))", + "answer": "select count(ground) from table_16388047_1 where home_team = \"essendon\"" + }, + { + "question": "What is the chapter for Illinois Wesleyan?", + "context": "create table table_21821014_1 (chapter varchar, institution varchar, PRIMARY KEY (chapter))", + "answer": "select chapter from table_21821014_1 where institution = \"illinois wesleyan\"" + }, + { + "question": "Find the names of schools that have some players in the mid position but not in the goalie position.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname))", + "answer": "select cname from tryout where ppos = 'mid' except select cname from tryout where ppos = 'goalie'" + }, + { + "question": "If the race time is 2:00:33, what is the average speed?", + "context": "create table table_2260452_1 (average_speed__mph_ varchar, race_time varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_2260452_1 where race_time = \"2:00:33\"" + }, + { + "question": "Who was the winning team of the game that was contested on February 1, 2009?", + "context": "create table table_10548224_1 (winning_team varchar, date_contested varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_10548224_1 where date_contested = \"february 1, 2009\"" + }, + { + "question": "What are the titles of papers published by \"Jeremy Gibbons\"?", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid))", + "answer": "select t3.title from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = \"jeremy\" and t1.lname = \"gibbons\"" + }, + { + "question": "Name the parent unit for ludwig franzisket", + "context": "create table table_28342423_1 (parent_unit varchar, commanding_officer varchar, PRIMARY KEY (parent_unit))", + "answer": "select parent_unit from table_28342423_1 where commanding_officer = \"ludwig franzisket\"" + }, + { + "question": "What is the largest laps led with the lotus-ford 34/3 chassis?", + "context": "create table table_181892_4 (laps_led integer, chassis varchar, PRIMARY KEY (laps_led))", + "answer": "select max(laps_led) from table_181892_4 where chassis = \"lotus-ford 34/3\"" + }, + { + "question": "What was the name of the show that had 10.47 million total viewers?", + "context": "create table table_23793770_2 (title varchar, total_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23793770_2 where total_viewers__in_millions_ = \"10.47\"" + }, + { + "question": "Name the most number of pyewipe", + "context": "create table table_15608800_2 (number_at_pyewipe integer, PRIMARY KEY (number_at_pyewipe))", + "answer": "select max(number_at_pyewipe) from table_15608800_2" + }, + { + "question": "How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?", + "context": "create table table_10716893_3 (pre_race_analyst varchar, lap_by_lap varchar, PRIMARY KEY (pre_race_analyst))", + "answer": "select count(pre_race_analyst) from table_10716893_3 where lap_by_lap = \"allen bestwick\"" + }, + { + "question": "How many total reason for change are listed corresponding to the successor Leonard B. Jordan (r)?", + "context": "create table table_1802522_3 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_1802522_3 where successor = \"leonard b. jordan (r)\"" + }, + { + "question": "What is the number of local sources for state and federal 12,929,489", + "context": "create table table_11608735_3 (other_local_sources varchar, state_ varchar, _federal varchar, PRIMARY KEY (other_local_sources))", + "answer": "select other_local_sources from table_11608735_3 where state_ & _federal = \"12,929,489\"" + }, + { + "question": "what is the arabic capital name where the english capital name is beirut?", + "context": "create table table_15694696_1 (arabic_capital_name varchar, english_capital_name varchar, PRIMARY KEY (arabic_capital_name))", + "answer": "select arabic_capital_name from table_15694696_1 where english_capital_name = \"beirut\"" + }, + { + "question": "What is the gdp per capita in 2008 for the region that had a combined gross enrollment ration of 89.0?", + "context": "create table table_25042332_33 (gdp__ppp__per_capita__2008_ integer, combined_gross_enrollment_ratio__2009_ varchar, PRIMARY KEY (gdp__ppp__per_capita__2008_))", + "answer": "select min(gdp__ppp__per_capita__2008_) from table_25042332_33 where combined_gross_enrollment_ratio__2009_ = \"89.0\"" + }, + { + "question": "How many different transcriptions are there for the Thai name \u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21?", + "context": "create table table_20354_5 (transcription varchar, thai_name varchar, PRIMARY KEY (transcription))", + "answer": "select count(transcription) from table_20354_5 where thai_name = \"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21\"" + }, + { + "question": "Name the number one singles for desvarieux, jacob", + "context": "create table table_27441210_5 (number_one_single_s_ varchar, artist varchar, PRIMARY KEY (number_one_single_s_))", + "answer": "select number_one_single_s_ from table_27441210_5 where artist = \"desvarieux, jacob\"" + }, + { + "question": "The cylinder layout v8 is produced in what years?", + "context": "create table table_26352332_4 (years_produced varchar, cylinder_layout varchar, PRIMARY KEY (years_produced))", + "answer": "select years_produced from table_26352332_4 where cylinder_layout = \"v8\"" + }, + { + "question": "Name the originl title for no stars in the jungle", + "context": "create table table_20963074_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_20963074_1 where film_title_used_in_nomination = \"no stars in the jungle\"" + }, + { + "question": "Return the lot details of lots that belong to investors with details \"l\"?", + "context": "create table lots (lot_details varchar, investor_id varchar, PRIMARY KEY (lot_details)); create table investors (investor_id varchar, investor_details varchar, PRIMARY KEY (investor_id))", + "answer": "select t2.lot_details from investors as t1 join lots as t2 on t1.investor_id = t2.investor_id where t1.investor_details = \"l\"" + }, + { + "question": "What is the name of the episode that was written by Michael Rauch?", + "context": "create table table_23117208_5 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23117208_5 where written_by = \"michael rauch\"" + }, + { + "question": "How many segment C are there in the episode where segment D is bicycle tires?", + "context": "create table table_15187735_20 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))", + "answer": "select count(segment_c) from table_15187735_20 where segment_d = \"bicycle tires\"" + }, + { + "question": "Who won the game where the Challenge Leader is ACC (2-1)?", + "context": "create table table_1672976_6 (winner varchar, challenge_leader varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_1672976_6 where challenge_leader = \"acc (2-1)\"" + }, + { + "question": "List the software platform shared by the greatest number of devices.", + "context": "create table device (software_platform varchar, PRIMARY KEY (software_platform))", + "answer": "select software_platform from device group by software_platform order by count(*) desc limit 1" + }, + { + "question": "When \u0927\u0928\u0941\u0937 is the sankrit how many western names are there?", + "context": "create table table_186462_1 (western_name varchar, sanskrit varchar, PRIMARY KEY (western_name))", + "answer": "select count(western_name) from table_186462_1 where sanskrit = \"\u0927\u0928\u0941\u0937\"" + }, + { + "question": "how many times was the episode directed by maury geraghty originally aired?", + "context": "create table table_2626495_1 (originalairdate varchar, directed_by varchar, PRIMARY KEY (originalairdate))", + "answer": "select count(originalairdate) from table_2626495_1 where directed_by = \"maury geraghty\"" + }, + { + "question": "How many distinct companies are there?", + "context": "create table entrepreneur (company varchar, PRIMARY KEY (company))", + "answer": "select count(distinct company) from entrepreneur" + }, + { + "question": "Is wireless combo keyboard and mouse support part of the hub base class?", + "context": "create table table_1153898_1 (hub_base_class varchar, comparisons varchar, PRIMARY KEY (hub_base_class))", + "answer": "select hub_base_class from table_1153898_1 where comparisons = \"wireless combo keyboard and mouse support\"" + }, + { + "question": "What is the state rank of the company with 6.8 billion in revenue?", + "context": "create table table_21926985_2 (state_rank_by_revenue varchar, revenue__$billions__2012_estimate varchar, PRIMARY KEY (state_rank_by_revenue))", + "answer": "select state_rank_by_revenue from table_21926985_2 where revenue__$billions__2012_estimate = \"6.8\"" + }, + { + "question": "When by80607002907ahbx80607i7720qm is the part number what is the socket?", + "context": "create table table_18823880_10 (socket varchar, part_number_s_ varchar, PRIMARY KEY (socket))", + "answer": "select socket from table_18823880_10 where part_number_s_ = \"by80607002907ahbx80607i7720qm\"" + }, + { + "question": "What was the word for the episode that aired February 11?", + "context": "create table table_25691838_2 (the_w\u00f8rd varchar, original_airdate varchar, PRIMARY KEY (the_w\u00f8rd))", + "answer": "select the_w\u00f8rd from table_25691838_2 where original_airdate = \"february 11\"" + }, + { + "question": "How many premio are there when \"Artist of the Year\" was the categoria?", + "context": "create table table_27501971_2 (premio varchar, categor\u00eda varchar, PRIMARY KEY (premio))", + "answer": "select count(premio) from table_27501971_2 where categor\u00eda = \"artist of the year\"" + }, + { + "question": "What category was the the participant/recipient ot\u014dto?", + "context": "create table table_26282750_1 (category varchar, participants_recipients varchar, PRIMARY KEY (category))", + "answer": "select category from table_26282750_1 where participants_recipients = \"ot\u014dto\"" + }, + { + "question": "What caused the collapse of the Mausoleum at Halicarnassus?", + "context": "create table table_19342760_1 (cause_of_destruction varchar, name varchar, PRIMARY KEY (cause_of_destruction))", + "answer": "select cause_of_destruction from table_19342760_1 where name = \"mausoleum at halicarnassus\"" + }, + { + "question": "What is the protein name when aa length is 202 aa?", + "context": "create table table_26708105_5 (protein_name varchar, aa_length varchar, PRIMARY KEY (protein_name))", + "answer": "select protein_name from table_26708105_5 where aa_length = \"202 aa\"" + }, + { + "question": "What is the minimum laid down?", + "context": "create table table_12592074_1 (laid_down integer, PRIMARY KEY (laid_down))", + "answer": "select min(laid_down) from table_12592074_1" + }, + { + "question": "Find the types of documents with more than 4 documents.", + "context": "create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents group by document_type_code having count(*) > 4" + }, + { + "question": "What was segment A when segment B was snowboards?", + "context": "create table table_15187735_1 (segment_a varchar, segment_b varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_1 where segment_b = \"snowboards\"" + }, + { + "question": "How many restaurant is the Sandwich type restaurant?", + "context": "create table type_of_restaurant (id varchar, PRIMARY KEY (id)); create table restaurant (id varchar, PRIMARY KEY (id)); create table restaurant_type (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from restaurant join type_of_restaurant on restaurant.resid = type_of_restaurant.resid join restaurant_type on type_of_restaurant.restypeid = restaurant_type.restypeid group by type_of_restaurant.restypeid having restaurant_type.restypename = 'sandwich'" + }, + { + "question": "What is the Chinese name of the episode with 1.97 million Hong Kong viewers?", + "context": "create table table_24856090_1 (chinese_title varchar, hk_viewers varchar, PRIMARY KEY (chinese_title))", + "answer": "select chinese_title from table_24856090_1 where hk_viewers = \"1.97 million\"" + }, + { + "question": "Name the further cities for slovakia and west direction", + "context": "create table table_197286_4 (further_cities varchar, country varchar, direction varchar, PRIMARY KEY (further_cities))", + "answer": "select further_cities from table_197286_4 where country = \"slovakia\" and direction = \"west\"" + }, + { + "question": "What is the region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007?", + "context": "create table table_240936_2 (region_4__australia_ varchar, region_1__us_ varchar, PRIMARY KEY (region_4__australia_))", + "answer": "select region_4__australia_ from table_240936_2 where region_1__us_ = \"january 16, 2007\"" + }, + { + "question": "Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists?", + "context": "create table table_22871316_6 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_22871316_6 where high_assists = \"brandon jennings (8)\"" + }, + { + "question": "If Crazy In Love is the song choice, what is the theme?", + "context": "create table table_22736523_1 (theme varchar, song_choice varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_22736523_1 where song_choice = \"crazy in love\"" + }, + { + "question": "What is the number of land areas that have a place name of Ballplay?", + "context": "create table table_249512_2 (land_area__2010_ varchar, place_name varchar, PRIMARY KEY (land_area__2010_))", + "answer": "select count(land_area__2010_) from table_249512_2 where place_name = \"ballplay\"" + }, + { + "question": "How many settlements are there in total?", + "context": "create table settlements (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from settlements" + }, + { + "question": "Show all transaction types.", + "context": "create table financial_transactions (transaction_type varchar, PRIMARY KEY (transaction_type))", + "answer": "select distinct transaction_type from financial_transactions" + }, + { + "question": "What is the language total number if the Tacachi Municipality is 3?", + "context": "create table table_2509112_3 (language varchar, tacachi_municipality varchar, PRIMARY KEY (language))", + "answer": "select count(language) from table_2509112_3 where tacachi_municipality = 3" + }, + { + "question": "What's the 1st leg result in the round where team #1 is Iraklis?", + "context": "create table table_19130829_4 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 1 as st_leg from table_19130829_4 where team__number1 = \"iraklis\"" + }, + { + "question": "What's the price (in USD) of the model whose L3 is 18 mb?", + "context": "create table table_12740151_8 (price___usd__ varchar, l3 varchar, PRIMARY KEY (price___usd__))", + "answer": "select price___usd__ from table_12740151_8 where l3 = \"18 mb\"" + }, + { + "question": "IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?", + "context": "create table table_1566852_3 (interview_subject varchar, centerfold_model varchar, PRIMARY KEY (interview_subject))", + "answer": "select interview_subject from table_1566852_3 where centerfold_model = \"nicole narain\"" + }, + { + "question": "what's the\u00a0thursday iuppiter (jupiter)\u00a0with\u00a0tuesday mars (mars)\u00a0being marter\u00ec", + "context": "create table table_1277350_1 (thursday_iuppiter__jupiter_ varchar, tuesday_mars__mars_ varchar, PRIMARY KEY (thursday_iuppiter__jupiter_))", + "answer": "select thursday_iuppiter__jupiter_ from table_1277350_1 where tuesday_mars__mars_ = \"marter\u00ec\"" + }, + { + "question": "What is the average speed for filmar racing?", + "context": "create table table_28178756_1 (average_speed__mph_ varchar, team varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_28178756_1 where team = \"filmar racing\"" + }, + { + "question": "How many nationalities/sponsors for mirror/type schmidt uv?", + "context": "create table table_23851574_2 (nationality_sponsors varchar, mirror_type varchar, PRIMARY KEY (nationality_sponsors))", + "answer": "select count(nationality_sponsors) from table_23851574_2 where mirror_type = \"schmidt uv\"" + }, + { + "question": "Who wrote the episode for s02 e07?", + "context": "create table table_16384596_4 (written_by varchar, broadcast_order varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_16384596_4 where broadcast_order = \"s02 e07\"" + }, + { + "question": "Which song has the most vocals?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select title from vocals as t1 join songs as t2 on t1.songid = t2.songid group by t1.songid order by count(*) desc limit 1" + }, + { + "question": "What is in 1st place when present is mogu?", + "context": "create table table_27298240_28 (present varchar, PRIMARY KEY (present))", + "answer": "select 1 as st from table_27298240_28 where present = \"mogu\"" + }, + { + "question": "Find the names of the trains that do not pass any station located in London.", + "context": "create table station (station_id varchar, PRIMARY KEY (station_id)); create table train_station (station_id varchar, PRIMARY KEY (station_id)); create table train_station (train_id varchar, station_id varchar, PRIMARY KEY (train_id)); create table train (name varchar, train_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from train_station as t1 join train as t2 on t1.train_id = t2.train_id where not t1.station_id in (select t4.station_id from train_station as t3 join station as t4 on t3.station_id = t4.station_id where t4.location = \"london\")" + }, + { + "question": "What was the title of the episode that aired February 9, 1979?", + "context": "create table table_2343740_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_2343740_1 where original_air_date = \"february 9, 1979\"" + }, + { + "question": "Who left a position on 24 January?", + "context": "create table table_17327458_1 (outgoing_manager varchar, date_of_vacancy varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_17327458_1 where date_of_vacancy = \"24 january\"" + }, + { + "question": "What were the blocks per game in the selection where the field goal percentage was .594 (2nd)?", + "context": "create table table_25774493_3 (blocks_per_game varchar, field_goal_percentage varchar, PRIMARY KEY (blocks_per_game))", + "answer": "select blocks_per_game from table_25774493_3 where field_goal_percentage = \".594 (2nd)\"" + }, + { + "question": "how many times is the team oklahoma city?", + "context": "create table table_27715173_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_27715173_8 where team = \"oklahoma city\"" + }, + { + "question": "How many train stations are there?", + "context": "create table station (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from station" + }, + { + "question": "what was written by alex carter?", + "context": "create table table_26561498_1 (written_by varchar, patient_portrayer varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_26561498_1 where patient_portrayer = \"alex carter\"" + }, + { + "question": "Find the names of stadiums that some Australian swimmers have been to.", + "context": "create table swimmer (id varchar, nationality varchar, PRIMARY KEY (id)); create table record (swimmer_id varchar, event_id varchar, PRIMARY KEY (swimmer_id)); create table stadium (name varchar, id varchar, PRIMARY KEY (name)); create table event (id varchar, stadium_id varchar, PRIMARY KEY (id))", + "answer": "select t4.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id join event as t3 on t2.event_id = t3.id join stadium as t4 on t4.id = t3.stadium_id where t1.nationality = 'australia'" + }, + { + "question": "Name the hypotenuse for vertices \u6708\u5c71\u6cdb \u03b4ymf", + "context": "create table table_25519358_1 (hypotenuse_0_c varchar, vertices varchar, PRIMARY KEY (hypotenuse_0_c))", + "answer": "select hypotenuse_0_c from table_25519358_1 where vertices = \"\u6708\u5c71\u6cdb \u03b4ymf\"" + }, + { + "question": "What is the airdate when the director is george spenton-foster", + "context": "create table table_15739098_1 (airdate varchar, director varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_15739098_1 where director = \"george spenton-foster\"" + }, + { + "question": "What was the time in part 3 when Heikki Kovalainen was the driver?", + "context": "create table table_20159025_1 (part_3 varchar, driver varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_20159025_1 where driver = \"heikki kovalainen\"" + }, + { + "question": "For each document, list the number of employees who have showed up in the circulation history of that document. List the document ids and number of employees.", + "context": "create table circulation_history (document_id varchar, employee_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, count(distinct employee_id) from circulation_history group by document_id" + }, + { + "question": "For livorno team mention all the manner of departure", + "context": "create table table_27114708_2 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27114708_2 where team = \"livorno\"" + }, + { + "question": "Where the mantra is \"o\u1e43 ya\u1e43 v\u0101yuve nama\u1e25\", what is the direction of the guardian?", + "context": "create table table_100518_1 (direction varchar, mantra varchar, PRIMARY KEY (direction))", + "answer": "select direction from table_100518_1 where mantra = \"o\u1e43 ya\u1e43 v\u0101yuve nama\u1e25\"" + }, + { + "question": "Show flight number, origin, destination of all flights in the alphabetical order of the departure cities.", + "context": "create table flight (flno varchar, origin varchar, destination varchar, PRIMARY KEY (flno))", + "answer": "select flno, origin, destination from flight order by origin" + }, + { + "question": "List the nominees that have been nominated more than two musicals.", + "context": "create table musical (nominee varchar, PRIMARY KEY (nominee))", + "answer": "select nominee from musical group by nominee having count(*) > 2" + }, + { + "question": "What is every value for Polish when Balarusian is \u043d\u043e\u0447?", + "context": "create table table_25008327_8 (polish varchar, belarusian varchar, PRIMARY KEY (polish))", + "answer": "select polish from table_25008327_8 where belarusian = \"\u043d\u043e\u0447\"" + }, + { + "question": "What is first names of the top 5 staff who have handled the greatest number of complaints?", + "context": "create table complaints (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (first_name varchar, staff_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name from staff as t1 join complaints as t2 on t1.staff_id = t2.staff_id group by t2.staff_id order by count(*) limit 5" + }, + { + "question": "Which locomotive type has a status in static display", + "context": "create table table_15827397_1 (locomotive_type varchar, status varchar, PRIMARY KEY (locomotive_type))", + "answer": "select locomotive_type from table_15827397_1 where status = \"static display\"" + }, + { + "question": "What was the type of ballot measures if the % of yes vote is 32.47%?", + "context": "create table table_256286_8 (type varchar, _percentage_yes varchar, PRIMARY KEY (type))", + "answer": "select type from table_256286_8 where _percentage_yes = \"32.47%\"" + }, + { + "question": "Who is the losing pitcher when the winning pitcher is roy oswalt?", + "context": "create table table_12125069_2 (losing_pitcher varchar, winning_pitcher varchar, PRIMARY KEY (losing_pitcher))", + "answer": "select losing_pitcher from table_12125069_2 where winning_pitcher = \"roy oswalt\"" + }, + { + "question": "When no.55 ipb spartak racing is the g1 winning team what are the results?", + "context": "create table table_19722436_2 (results varchar, gt1_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_19722436_2 where gt1_winning_team = \"no.55 ipb spartak racing\"" + }, + { + "question": "What is the original United States air date of the episode written by Mike Ferris?", + "context": "create table table_29087004_2 (united_states_original_airdate varchar, written_by varchar, PRIMARY KEY (united_states_original_airdate))", + "answer": "select united_states_original_airdate from table_29087004_2 where written_by = \"mike ferris\"" + }, + { + "question": "What are the coreceptors of the chromosomes in that location 11q22.2-q22.3?", + "context": "create table table_29871617_1 (coreceptor varchar, chromosomal_location varchar, PRIMARY KEY (coreceptor))", + "answer": "select coreceptor from table_29871617_1 where chromosomal_location = \"11q22.2-q22.3\"" + }, + { + "question": "What is the brand in Cabanatuan?", + "context": "create table table_19215259_1 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_19215259_1 where location = \"cabanatuan\"" + }, + { + "question": "What's the title of the episode that Rob Heyland wrote?", + "context": "create table table_14330096_3 (title varchar, writer varchar, PRIMARY KEY (title))", + "answer": "select title from table_14330096_3 where writer = \"rob heyland\"" + }, + { + "question": "what is the maximum number of hull numbers?", + "context": "create table table_12232526_2 (hull_numbers integer, PRIMARY KEY (hull_numbers))", + "answer": "select max(hull_numbers) from table_12232526_2" + }, + { + "question": "What are the ids of documents which don't have expense budgets?", + "context": "create table documents (document_id varchar, PRIMARY KEY (document_id)); create table documents_with_expenses (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents except select document_id from documents_with_expenses" + }, + { + "question": "What is the round of 32 for fatih kele\u015f?", + "context": "create table table_27294107_11 (round_of_32 varchar, athlete varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_27294107_11 where athlete = \"fatih kele\u015f\"" + }, + { + "question": "The episode where the director is Gene Reynolds has who as the writer?", + "context": "create table table_26866233_1 (writer varchar, director varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_26866233_1 where director = \"gene reynolds\"" + }, + { + "question": "How many parties does incumbent carl vinson represent?", + "context": "create table table_1342249_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342249_11 where incumbent = \"carl vinson\"" + }, + { + "question": "who was the incoming manager for the 12th position in the table", + "context": "create table table_26914759_3 (incoming_manager varchar, position_in_table varchar, PRIMARY KEY (incoming_manager))", + "answer": "select incoming_manager from table_26914759_3 where position_in_table = \"12th\"" + }, + { + "question": "Name the aircraft type for furstenau/vorden", + "context": "create table table_28342423_1 (aircraft_type varchar, geschwader_base varchar, PRIMARY KEY (aircraft_type))", + "answer": "select aircraft_type from table_28342423_1 where geschwader_base = \"furstenau/vorden\"" + }, + { + "question": "Who was the home team when the away team was fulham?", + "context": "create table table_24887326_7 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_24887326_7 where away_team = \"fulham\"" + }, + { + "question": "What was the population of the coastal location Isio in May of 2000?", + "context": "create table table_2051288_1 (_2000_ varchar, population__may integer, location varchar, barangay varchar, PRIMARY KEY (_2000_))", + "answer": "select min(population__may), _2000_ from table_2051288_1 where location = \"coastal\" and barangay = \"isio\"" + }, + { + "question": "What are the names and locations of festivals?", + "context": "create table festival_detail (festival_name varchar, location varchar, PRIMARY KEY (festival_name))", + "answer": "select festival_name, location from festival_detail" + }, + { + "question": "What is the nationality of the player from the Detroit Red Wings?", + "context": "create table table_1213511_6 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1213511_6 where nhl_team = \"detroit red wings\"" + }, + { + "question": "Who was the driver when the time in part 3 was 1:31.386?", + "context": "create table table_20159025_1 (driver varchar, part_1 varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_20159025_1 where part_1 = \"1:31.386\"" + }, + { + "question": "Name the number of awardees for english and hindi", + "context": "create table table_24446718_7 (awardee_s_ varchar, language varchar, PRIMARY KEY (awardee_s_))", + "answer": "select count(awardee_s_) from table_24446718_7 where language = \"english and hindi\"" + }, + { + "question": "What is the number of song choices where the original artist was Bright Eyes?", + "context": "create table table_26250155_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select count(song_choice) from table_26250155_1 where original_artist = \"bright eyes\"" + }, + { + "question": "What was the name of the race that Al Unser had the pole position?", + "context": "create table table_22673872_1 (race_name varchar, pole_position varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_22673872_1 where pole_position = \"al unser\"" + }, + { + "question": "what is the unemployment rate where the market income per capita is $16,406?", + "context": "create table table_22815568_13 (unemployment_rate varchar, market_income_per_capita varchar, PRIMARY KEY (unemployment_rate))", + "answer": "select unemployment_rate from table_22815568_13 where market_income_per_capita = \"$16,406\"" + }, + { + "question": "who were the writers of the episode that had 5.56 millions of north american viewers?", + "context": "create table table_27914606_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27914606_1 where us_viewers__millions_ = \"5.56\"" + }, + { + "question": "What was the original air date of this episode that was written by Debbie Sarjeant?", + "context": "create table table_17623902_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_17623902_1 where written_by = \"debbie sarjeant\"" + }, + { + "question": "Which campus has the most degrees conferred in all times?", + "context": "create table degrees (campus varchar, degrees integer, PRIMARY KEY (campus))", + "answer": "select campus from degrees group by campus order by sum(degrees) desc limit 1" + }, + { + "question": "What is every entry for Friday August 26 if the entry for Monday August 22 is 32' 25.72 69.809mph?", + "context": "create table table_30058355_3 (fri_26_aug varchar, mon_22_aug varchar, PRIMARY KEY (fri_26_aug))", + "answer": "select fri_26_aug from table_30058355_3 where mon_22_aug = \"32' 25.72 69.809mph\"" + }, + { + "question": "what is the public vote on graeme & kristina", + "context": "create table table_19744915_3 (public_vote varchar, couple varchar, PRIMARY KEY (public_vote))", + "answer": "select public_vote from table_19744915_3 where couple = \"graeme & kristina\"" + }, + { + "question": "What is the Irish name for the \u00a31 fraction of 1/240?", + "context": "create table table_1682865_1 (irish_name varchar, \u00a31_fraction varchar, PRIMARY KEY (irish_name))", + "answer": "select irish_name from table_1682865_1 where \u00a31_fraction = \"1/240\"" + }, + { + "question": "How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%?", + "context": "create table table_1341690_21 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_1341690_21 where candidates = \"paul tsongas (d) 60.6% paul w. cronin (r) 39.4%\"" + }, + { + "question": "Show the names of the buildings that have more than one company offices.", + "context": "create table buildings (name varchar, id varchar, PRIMARY KEY (name)); create table companies (id varchar, PRIMARY KEY (id)); create table office_locations (building_id varchar, company_id varchar, PRIMARY KEY (building_id))", + "answer": "select t2.name from office_locations as t1 join buildings as t2 on t1.building_id = t2.id join companies as t3 on t1.company_id = t3.id group by t1.building_id having count(*) > 1" + }, + { + "question": "what are all the u15 3rd iv with u15 4th iv being bbc", + "context": "create table table_11318462_5 (u15_3rd_iv varchar, u15_4th_iv varchar, PRIMARY KEY (u15_3rd_iv))", + "answer": "select u15_3rd_iv from table_11318462_5 where u15_4th_iv = \"bbc\"" + }, + { + "question": "What day was the gross sales $1,271,451?", + "context": "create table table_16331025_2 (dates__mdy_ varchar, gross_sales varchar, PRIMARY KEY (dates__mdy_))", + "answer": "select dates__mdy_ from table_16331025_2 where gross_sales = \"$1,271,451\"" + }, + { + "question": "When pinyin is x\u012bnlu\u00f3 q\u016b, what is the simplified value?", + "context": "create table table_1204998_2 (simplified varchar, pinyin varchar, PRIMARY KEY (simplified))", + "answer": "select count(simplified) from table_1204998_2 where pinyin = \"x\u012bnlu\u00f3 q\u016b\"" + }, + { + "question": "How many teachers does the student named CHRISSY NABOZNY have?", + "context": "create table teachers (classroom varchar, PRIMARY KEY (classroom)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = \"chrissy\" and t1.lastname = \"nabozny\"" + }, + { + "question": "What is after intermediate algebra", + "context": "create table table_13967239_2 (senior__4th_year_ varchar, sophomore__grade_8_ varchar, PRIMARY KEY (senior__4th_year_))", + "answer": "select senior__4th_year_ from table_13967239_2 where sophomore__grade_8_ = \"intermediate algebra\"" + }, + { + "question": "If the team is Worcester, what is the 2005-2006 points?", + "context": "create table table_23215145_2 (team varchar, PRIMARY KEY (team))", + "answer": "select 2005 as _06_points from table_23215145_2 where team = \"worcester\"" + }, + { + "question": "Name the type for mcminnville", + "context": "create table table_2076533_1 (type varchar, main_location varchar, PRIMARY KEY (type))", + "answer": "select type from table_2076533_1 where main_location = \"mcminnville\"" + }, + { + "question": "Who led sprints classification when Chris Horner led general classification?", + "context": "create table table_26257223_13 (sprints_classification varchar, general_classification varchar, PRIMARY KEY (sprints_classification))", + "answer": "select sprints_classification from table_26257223_13 where general_classification = \"chris horner\"" + }, + { + "question": "What's the report for the Silverstone circuit?", + "context": "create table table_1140117_5 (report varchar, circuit varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140117_5 where circuit = \"silverstone\"" + }, + { + "question": "Which series occurred when the 7800 was 5040.00?", + "context": "create table table_2544694_3 (indonesia_super_series_2008 varchar, PRIMARY KEY (indonesia_super_series_2008))", + "answer": "select indonesia_super_series_2008 from table_2544694_3 where 780000 = \"5040.00\"" + }, + { + "question": "What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?", + "context": "create table table_240936_2 (region_2__uk_ varchar, region_4__australia_ varchar, PRIMARY KEY (region_2__uk_))", + "answer": "select region_2__uk_ from table_240936_2 where region_4__australia_ = \"july 31, 2008\"" + }, + { + "question": "During the period in which gross sales totals for \"The Show Girl Must Go On\" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?", + "context": "create table table_22123920_4 (tickets_sold___available varchar, gross_sales varchar, PRIMARY KEY (tickets_sold___available))", + "answer": "select tickets_sold___available from table_22123920_4 where gross_sales = \"$2,628,457\"" + }, + { + "question": "Name the captain for emile heskey", + "context": "create table table_1301373_7 (captain varchar, international_marquee varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_1301373_7 where international_marquee = \"emile heskey\"" + }, + { + "question": "When united arab emirates is the country what is the winning aircraft?", + "context": "create table table_26358264_2 (winning_aircraft varchar, country varchar, PRIMARY KEY (winning_aircraft))", + "answer": "select winning_aircraft from table_26358264_2 where country = \"united arab emirates\"" + }, + { + "question": "How many providers have a destination of Blackpool?", + "context": "create table table_3005999_1 (provider varchar, destination varchar, PRIMARY KEY (provider))", + "answer": "select count(provider) from table_3005999_1 where destination = \"blackpool\"" + }, + { + "question": "When cary middlecoff is the winner how many pars are there?", + "context": "create table table_2417741_1 (par varchar, winner varchar, PRIMARY KEY (par))", + "answer": "select count(par) from table_2417741_1 where winner = \"cary middlecoff\"" + }, + { + "question": "when english is tea how many nihon-shiki", + "context": "create table table_26263954_1 (nihon_shiki varchar, english varchar, PRIMARY KEY (nihon_shiki))", + "answer": "select nihon_shiki from table_26263954_1 where english = \"tea\"" + }, + { + "question": "What is the largest number for karianne gulliksen?", + "context": "create table table_28677723_5 (karianne_gulliksen integer, PRIMARY KEY (karianne_gulliksen))", + "answer": "select max(karianne_gulliksen) from table_28677723_5" + }, + { + "question": "How many teams were there with a high score of 143?", + "context": "create table table_16570286_2 (team varchar, highest_score varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_16570286_2 where highest_score = \"143\"" + }, + { + "question": "What is the sequencer when ion torrent pgm is 200-400 bp?", + "context": "create table table_127511_1 (sequencer varchar, ion_torrent_pgm varchar, PRIMARY KEY (sequencer))", + "answer": "select sequencer from table_127511_1 where ion_torrent_pgm = \"200-400 bp\"" + }, + { + "question": "What is the shuttle time for the level where the speed is 15.5 km/h?", + "context": "create table table_1751142_2 (shuttle_time__seconds_ varchar, speed__km_h_ varchar, PRIMARY KEY (shuttle_time__seconds_))", + "answer": "select shuttle_time__seconds_ from table_1751142_2 where speed__km_h_ = \"15.5\"" + }, + { + "question": "Find the number of rooms for different block code?", + "context": "create table room (blockfloor varchar, blockcode varchar, PRIMARY KEY (blockfloor)); create table block (blockcode varchar, blockfloor varchar, PRIMARY KEY (blockcode))", + "answer": "select count(*), t1.blockcode from block as t1 join room as t2 on t1.blockfloor = t2.blockfloor and t1.blockcode = t2.blockcode group by t1.blockcode" + }, + { + "question": "Name the results for steve millen", + "context": "create table table_13643154_2 (results varchar, gto_winning_team varchar, PRIMARY KEY (results))", + "answer": "select results from table_13643154_2 where gto_winning_team = \"steve millen\"" + }, + { + "question": "Name the total number of ground for essendon", + "context": "create table table_16388439_1 (ground varchar, home_team varchar, PRIMARY KEY (ground))", + "answer": "select count(ground) from table_16388439_1 where home_team = \"essendon\"" + }, + { + "question": "Who was the driver for the Richard Childress Racing team in the race with a time of 2:58:22?", + "context": "create table table_2266762_1 (driver varchar, team varchar, race_time varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_2266762_1 where team = \"richard childress racing\" and race_time = \"2:58:22\"" + }, + { + "question": "Name the headphone model for succeeded by sr125", + "context": "create table table_1601027_2 (headphone_model varchar, succeeded_by varchar, PRIMARY KEY (headphone_model))", + "answer": "select headphone_model from table_1601027_2 where succeeded_by = \"sr125\"" + }, + { + "question": "Who was the player from georgia?", + "context": "create table table_24990183_5 (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from table_24990183_5 where country = \"georgia\"" + }, + { + "question": "Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner?", + "context": "create table table_28211674_3 (u21_mens varchar, mixed_restricted varchar, u21_womens varchar, PRIMARY KEY (u21_mens))", + "answer": "select u21_mens from table_28211674_3 where mixed_restricted = \"mike marsden\" and u21_womens = \"claire nelson\"" + }, + { + "question": "How many casinos are associated with a FY2009 $mil value of exactly $279?", + "context": "create table table_25438110_5 (casinos varchar, fy09_$millions varchar, PRIMARY KEY (casinos))", + "answer": "select count(casinos) from table_25438110_5 where fy09_$millions = \"$279\"" + }, + { + "question": "When circuit ricardo tormo is the circuit who is the winning team?", + "context": "create table table_21191496_1 (winning_team varchar, circuit varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_21191496_1 where circuit = \"circuit ricardo tormo\"" + }, + { + "question": "What was the method of elimination for Kofi Kingston/", + "context": "create table table_24628683_2 (method_of_elimination varchar, wrestler varchar, PRIMARY KEY (method_of_elimination))", + "answer": "select method_of_elimination from table_24628683_2 where wrestler = \"kofi kingston\"" + }, + { + "question": "what is the total number of nicknames for southwestern college?", + "context": "create table table_262527_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_262527_1 where institution = \"southwestern college\"" + }, + { + "question": "Find the name of the target user with the lowest trust score.", + "context": "create table trust (target_u_id varchar, PRIMARY KEY (target_u_id)); create table useracct (name varchar, u_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from useracct as t1 join trust as t2 on t1.u_id = t2.target_u_id order by trust limit 1" + }, + { + "question": "What is every entry for Atlantic Europe when Central Europe is Wisconsin stage?", + "context": "create table table_22860_1 (atlantic_europe varchar, central_europe varchar, PRIMARY KEY (atlantic_europe))", + "answer": "select atlantic_europe from table_22860_1 where central_europe = \"wisconsin stage\"" + }, + { + "question": "find the number of players for each country.", + "context": "create table players (country_code varchar, PRIMARY KEY (country_code))", + "answer": "select count(*), country_code from players group by country_code" + }, + { + "question": "What competitions record a date and time of 17.04.1920 at 15:00?", + "context": "create table table_1233808_2 (competition varchar, date_and_time varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_1233808_2 where date_and_time = \"17.04.1920 at 15:00\"" + }, + { + "question": "Who is the builder for br no. 31779?", + "context": "create table table_17607663_1 (builder varchar, br_no varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_17607663_1 where br_no = 31779" + }, + { + "question": "Name the nationality for francesco guglielmi", + "context": "create table table_22705586_1 (nationality varchar, name varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_22705586_1 where name = \"francesco guglielmi\"" + }, + { + "question": "What does the basic stem (root) -rama- mean?", + "context": "create table table_12784134_1 (meaning varchar, basic_stem__root_ varchar, PRIMARY KEY (meaning))", + "answer": "select meaning from table_12784134_1 where basic_stem__root_ = \"-rama-\"" + }, + { + "question": "Show the number of card types.", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select count(distinct card_type_code) from customers_cards" + }, + { + "question": "What instrument did the musician with last name \"Heilo\" use in the song \"Badlands\"?", + "context": "create table songs (songid varchar, songid varchar, title varchar, PRIMARY KEY (songid)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table band (id varchar, lastname varchar, PRIMARY KEY (id)); create table instruments (instrument varchar, songid varchar, bandmateid varchar, PRIMARY KEY (instrument))", + "answer": "select t4.instrument from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid join instruments as t4 on t4.songid = t3.songid and t4.bandmateid = t2.id where t2.lastname = \"heilo\" and t3.title = \"badlands\"" + }, + { + "question": "What is the displacement for torque of n\u00b7m (lb\u00b7ft) @1500 rpm?", + "context": "create table table_21021796_1 (displacement varchar, torque varchar, PRIMARY KEY (displacement))", + "answer": "select displacement from table_21021796_1 where torque = \"n\u00b7m (lb\u00b7ft) @1500 rpm\"" + }, + { + "question": "Find the ids of the students who participate in Canoeing and Kayaking.", + "context": "create table activity (actid varchar, activity_name varchar, PRIMARY KEY (actid)); create table participates_in (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select t1.stuid from participates_in as t1 join activity as t2 on t2.actid = t2.actid where t2.activity_name = 'canoeing' intersect select t1.stuid from participates_in as t1 join activity as t2 on t2.actid = t2.actid where t2.activity_name = 'kayaking'" + }, + { + "question": "what's the\u00a0thursday iuppiter (jupiter)\u00a0with\u00a0saturday saturnus ( saturn)\u00a0being jesarn", + "context": "create table table_1277350_1 (thursday_iuppiter__jupiter_ varchar, saturday_saturnus___saturn_ varchar, PRIMARY KEY (thursday_iuppiter__jupiter_))", + "answer": "select thursday_iuppiter__jupiter_ from table_1277350_1 where saturday_saturnus___saturn_ = \"jesarn\"" + }, + { + "question": "What is the record of wins/losses that were played at opponents venue (uf, 1-0)", + "context": "create table table_16201038_5 (overall_record varchar, at_opponents_venue varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_16201038_5 where at_opponents_venue = \"uf, 1-0\"" + }, + { + "question": "Who are the opponents of Missouri that have an overall record of MU, 3-1?", + "context": "create table table_16201038_5 (missouri_vs varchar, overall_record varchar, PRIMARY KEY (missouri_vs))", + "answer": "select missouri_vs from table_16201038_5 where overall_record = \"mu, 3-1\"" + }, + { + "question": "What's the classification of the institution nicknamed Dolphins?", + "context": "create table table_12936521_2 (classification varchar, nickname varchar, PRIMARY KEY (classification))", + "answer": "select classification from table_12936521_2 where nickname = \"dolphins\"" + }, + { + "question": "What is the poor law union for the Barnahely towland?", + "context": "create table table_30120619_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30120619_1 where townland = \"barnahely\"" + }, + { + "question": "Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?", + "context": "create table table_12266757_1 (womens_singles varchar, mens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12266757_1 where mens_doubles = \"stefan karlsson claes nordin , bk aura gbk\"" + }, + { + "question": "What format is the link for the polling data for February 10\u201328, 2011?", + "context": "create table table_24778847_2 (link varchar, date_of_polling varchar, PRIMARY KEY (link))", + "answer": "select link from table_24778847_2 where date_of_polling = \"february 10\u201328, 2011\"" + }, + { + "question": "When mega pass* (senior/disabled) is the type of fare what is the cash fare?", + "context": "create table table_20803241_1 (cash_fare varchar, type_of_fare varchar, PRIMARY KEY (cash_fare))", + "answer": "select cash_fare from table_20803241_1 where type_of_fare = \"mega pass* (senior/disabled)\"" + }, + { + "question": "Which state has the most customers?", + "context": "create table customers (state varchar, PRIMARY KEY (state))", + "answer": "select state from customers group by state order by count(*) limit 1" + }, + { + "question": "If the amount of U.S. viewers is 2.14 million, who was the episode directed by?", + "context": "create table table_23399481_2 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23399481_2 where us_viewers__in_millions_ = \"2.14\"" + }, + { + "question": "Find the name of different colleges involved in the tryout in alphabetical order.", + "context": "create table tryout (cname varchar, PRIMARY KEY (cname))", + "answer": "select distinct cname from tryout order by cname" + }, + { + "question": "What year is Winter Olympics when Holmenkollen is 1957, 1960?", + "context": "create table table_174491_2 (winter_olympics varchar, holmenkollen varchar, PRIMARY KEY (winter_olympics))", + "answer": "select winter_olympics from table_174491_2 where holmenkollen = \"1957, 1960\"" + }, + { + "question": "What was the young rider classification when manuel cardoso was the winner?", + "context": "create table table_25580292_13 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_25580292_13 where winner = \"manuel cardoso\"" + }, + { + "question": "what is the minimum of 60 -64?", + "context": "create table table_16457934_4 (id varchar, PRIMARY KEY (id))", + "answer": "select min(60 as _to_64) from table_16457934_4" + }, + { + "question": "how many\u00a0party\u00a0with\u00a0candidates\u00a0being john j. phillips (r) 57.6% n. e. west (d) 42.4%", + "context": "create table table_1342256_6 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342256_6 where candidates = \"john j. phillips (r) 57.6% n. e. west (d) 42.4%\"" + }, + { + "question": "What is the day Number and date of all the documents?", + "context": "create table all_documents (date_stored varchar, date_stored varchar, PRIMARY KEY (date_stored)); create table ref_calendar (day_number varchar, calendar_date varchar, PRIMARY KEY (day_number))", + "answer": "select t2.day_number, t1.date_stored from all_documents as t1 join ref_calendar as t2 on t1.date_stored = t2.calendar_date" + }, + { + "question": "How much freedom can did the people of Guinea experience in 2013?", + "context": "create table table_1604579_2 (freedom_in_the_world_2013 varchar, country varchar, PRIMARY KEY (freedom_in_the_world_2013))", + "answer": "select freedom_in_the_world_2013 from table_1604579_2 where country = \"guinea\"" + }, + { + "question": "Show names for all aircrafts of which John Williams has certificates.", + "context": "create table aircraft (name varchar, aid varchar, PRIMARY KEY (name)); create table employee (eid varchar, name varchar, PRIMARY KEY (eid)); create table certificate (eid varchar, aid varchar, PRIMARY KEY (eid))", + "answer": "select t3.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t1.name = \"john williams\"" + }, + { + "question": "What is the English translation of \u54c0\u90e2?", + "context": "create table table_1805919_1 (english_translation varchar, traditional_chinese varchar, PRIMARY KEY (english_translation))", + "answer": "select english_translation from table_1805919_1 where traditional_chinese = \"\u54c0\u90e2\"" + }, + { + "question": "Show member names without any registered branch.", + "context": "create table member (name varchar, member_id varchar, PRIMARY KEY (name)); create table membership_register_branch (name varchar, member_id varchar, PRIMARY KEY (name))", + "answer": "select name from member where not member_id in (select member_id from membership_register_branch)" + }, + { + "question": "how many\u00a0office\u00a0with\u00a0department\u00a0being department of justice kagawaran ng katarungan", + "context": "create table table_1331313_1 (office varchar, department varchar, PRIMARY KEY (office))", + "answer": "select count(office) from table_1331313_1 where department = \"department of justice kagawaran ng katarungan\"" + }, + { + "question": "What is the verb meaning of the word with part 2 \"bant\"?", + "context": "create table table_1745843_8 (verb_meaning varchar, part_2 varchar, PRIMARY KEY (verb_meaning))", + "answer": "select verb_meaning from table_1745843_8 where part_2 = \"bant\"" + }, + { + "question": "WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE?", + "context": "create table table_16741821_8 (surface varchar, opponent varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_16741821_8 where opponent = \"george khrikadze\"" + }, + { + "question": "Find the name of scientists who are not assigned to any project.", + "context": "create table scientists (name varchar, ssn varchar, scientist varchar, PRIMARY KEY (name)); create table assignedto (name varchar, ssn varchar, scientist varchar, PRIMARY KEY (name))", + "answer": "select name from scientists where not ssn in (select scientist from assignedto)" + }, + { + "question": "Which policy type has the most records in the database?", + "context": "create table available_policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code from available_policies group by policy_type_code order by count(*) desc limit 1" + }, + { + "question": "Who is the auther when the english name was histories and eulogies of the sovereigns?", + "context": "create table table_22464685_1 (author varchar, english_name varchar, PRIMARY KEY (author))", + "answer": "select author from table_22464685_1 where english_name = \"histories and eulogies of the sovereigns\"" + }, + { + "question": "What package offers cinema content and is n. 333?", + "context": "create table table_15887683_5 (package_option varchar, content varchar, n\u00b0 varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_5 where content = \"cinema\" and n\u00b0 = \"333\"" + }, + { + "question": "how many\u00a0winning team\u00a0with\u00a0circuit\u00a0being road america", + "context": "create table table_14638077_2 (winning_team varchar, circuit varchar, PRIMARY KEY (winning_team))", + "answer": "select count(winning_team) from table_14638077_2 where circuit = \"road america\"" + }, + { + "question": "What position did Tara Palmer-Tomkinson finish?", + "context": "create table table_14345690_2 (finished varchar, celebrity varchar, PRIMARY KEY (finished))", + "answer": "select finished from table_14345690_2 where celebrity = \"tara palmer-tomkinson\"" + }, + { + "question": "How many categories are there when the attribute is \"onreset\"?", + "context": "create table table_1507852_1 (category varchar, attribute varchar, PRIMARY KEY (category))", + "answer": "select count(category) from table_1507852_1 where attribute = \"onreset\"" + }, + { + "question": "what is the record where the opponent is central connecticut?", + "context": "create table table_23346303_3 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23346303_3 where opponent = \"central connecticut\"" + }, + { + "question": "How many figures are provided for December 28 for Rosario?", + "context": "create table table_29217650_1 (december_28 varchar, movies varchar, PRIMARY KEY (december_28))", + "answer": "select count(december_28) from table_29217650_1 where movies = \"rosario\"" + }, + { + "question": "which club is listed when bonus points is bonus points", + "context": "create table table_20396710_1 (club varchar, PRIMARY KEY (club))", + "answer": "select club from table_20396710_1 where \"bonus_points\" = \"bonus_points\"" + }, + { + "question": "How many comments are there in the Bethel (CA) Borough area?", + "context": "create table table_17978052_2 (comment varchar, borough_or_census_area varchar, PRIMARY KEY (comment))", + "answer": "select count(comment) from table_17978052_2 where borough_or_census_area = \"bethel (ca)\"" + }, + { + "question": "When total costs (2005) are $700,116, what is the cost per capita?", + "context": "create table table_12340907_1 (cost_per_capita varchar, total_costs__2005_ varchar, PRIMARY KEY (cost_per_capita))", + "answer": "select cost_per_capita from table_12340907_1 where total_costs__2005_ = \"$700,116\"" + }, + { + "question": "What's the abbreviation of the month in the zodiac sign scorpio?", + "context": "create table table_180802_2 (abbr varchar, zodiac_sign varchar, PRIMARY KEY (abbr))", + "answer": "select abbr from table_180802_2 where zodiac_sign = \"scorpio\"" + }, + { + "question": "Find the name of dorms that do not have any amenity", + "context": "create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name))", + "answer": "select dorm_name from dorm where not dormid in (select dormid from has_amenity)" + }, + { + "question": "What is the home team when the opposition is wairarapa bush?", + "context": "create table table_26847237_3 (home_team varchar, opposition varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26847237_3 where opposition = \"wairarapa bush\"" + }, + { + "question": "What is the title of the episode written by Jack Orman?", + "context": "create table table_25356350_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25356350_2 where written_by = \"jack orman\"" + }, + { + "question": "Name the rookie for ryan powell", + "context": "create table table_23265433_2 (rookie varchar, offensive varchar, PRIMARY KEY (rookie))", + "answer": "select rookie from table_23265433_2 where offensive = \"ryan powell\"" + }, + { + "question": "find the full name of employees who report to Nancy Edwards?", + "context": "create table employees (id varchar, first_name varchar, last_name varchar, PRIMARY KEY (id)); create table employees (first_name varchar, last_name varchar, reports_to varchar, PRIMARY KEY (first_name))", + "answer": "select t2.first_name, t2.last_name from employees as t1 join employees as t2 on t1.id = t2.reports_to where t1.first_name = \"nancy\" and t1.last_name = \"edwards\"" + }, + { + "question": "What was the number of murders the year forcible rapes were at 166?", + "context": "create table table_25271777_1 (murder varchar, forcible_rape varchar, PRIMARY KEY (murder))", + "answer": "select murder from table_25271777_1 where forcible_rape = 166" + }, + { + "question": "What is the highest GA when GF is 39?", + "context": "create table table_1888157_1 (ga integer, gf varchar, PRIMARY KEY (ga))", + "answer": "select max(ga) from table_1888157_1 where gf = 39" + }, + { + "question": "What was the total number in Manhattan when Staten Island was 12,658?", + "context": "create table table_1108394_6 (manhattan varchar, staten_island varchar, PRIMARY KEY (manhattan))", + "answer": "select count(manhattan) from table_1108394_6 where staten_island = \"12,658\"" + }, + { + "question": "What is the aircraft for 21 crews?", + "context": "create table table_23508196_5 (type_of_aircraft varchar, number_of_crews varchar, PRIMARY KEY (type_of_aircraft))", + "answer": "select type_of_aircraft from table_23508196_5 where number_of_crews = \"21\"" + }, + { + "question": "How many clubs does the student named \"Eric Tai\" belong to?", + "context": "create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname))", + "answer": "select count(distinct t1.clubname) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = \"eric\" and t3.lname = \"tai\"" + }, + { + "question": "What is the unit of measuerment of the product category code \"Herbs\"?", + "context": "create table ref_product_categories (unit_of_measure varchar, product_category_code varchar, PRIMARY KEY (unit_of_measure))", + "answer": "select unit_of_measure from ref_product_categories where product_category_code = \"herbs\"" + }, + { + "question": "What is the lowest overall amount of times they've been in 3rd?", + "context": "create table table_24330912_1 (id varchar, PRIMARY KEY (id))", + "answer": "select min(3 as rd) from table_24330912_1" + }, + { + "question": "Who was the incumbent when ran william b. oliver (d) unopposed?", + "context": "create table table_1346118_2 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1346118_2 where candidates = \"william b. oliver (d) unopposed\"" + }, + { + "question": "What's the power for General Santos?", + "context": "create table table_2610582_7 (power__kw_ varchar, location varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_2610582_7 where location = \"general santos\"" + }, + { + "question": "What family had a no.overall of UK10?", + "context": "create table table_19897294_4 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))", + "answer": "select family_families from table_19897294_4 where no_overall = \"uk10\"" + }, + { + "question": "who won the kansas state game on 11/26/1988", + "context": "create table table_15740666_6 (kansas_state_vs varchar, last_meeting varchar, PRIMARY KEY (kansas_state_vs))", + "answer": "select kansas_state_vs from table_15740666_6 where last_meeting = \"11/26/1988\"" + }, + { + "question": "What was the away team's score of at the game of telstra stadium?", + "context": "create table table_16388545_1 (away_team varchar, ground varchar, PRIMARY KEY (away_team))", + "answer": "select away_team as score from table_16388545_1 where ground = \"telstra stadium\"" + }, + { + "question": "When was Viva Cuba submitted?", + "context": "create table table_21904740_1 (year__ceremony_ varchar, spanish_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_21904740_1 where spanish_title = \"viva cuba\"" + }, + { + "question": "What are the visit date and details of the visitor whose detail is 'Vincent'?", + "context": "create table visitors (tourist_id varchar, tourist_details varchar, PRIMARY KEY (tourist_id)); create table visits (visit_date varchar, visit_details varchar, tourist_id varchar, PRIMARY KEY (visit_date))", + "answer": "select t2.visit_date, t2.visit_details from visitors as t1 join visits as t2 on t1.tourist_id = t2.tourist_id where t1.tourist_details = \"vincent\"" + }, + { + "question": "Name the memory for part number of ct80618003201aa", + "context": "create table table_16729930_17 (memory varchar, part_number_s_ varchar, PRIMARY KEY (memory))", + "answer": "select memory from table_16729930_17 where part_number_s_ = \"ct80618003201aa\"" + }, + { + "question": "What is the percentage of the trance- n himalaya zone that corresponds with the high hill zone is 25%?", + "context": "create table table_10638523_1 (trance__n_himalaya_zone varchar, high_hill_zone varchar, PRIMARY KEY (trance__n_himalaya_zone))", + "answer": "select trance__n_himalaya_zone from table_10638523_1 where high_hill_zone = \"25%\"" + }, + { + "question": "What is the record when the opposing team was the Pittsburgh Penguins?", + "context": "create table table_23486853_6 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23486853_6 where opponent = \"pittsburgh penguins\"" + }, + { + "question": "how many\u00a0voice actor (englbeingh 1998 / pioneer)\u00a0with\u00a0voice actor (japanese)\u00a0being shinobu satouchi", + "context": "create table table_1410384_1 (voice_actor__english_1998___pioneer_ varchar, voice_actor__japanese_ varchar, PRIMARY KEY (voice_actor__english_1998___pioneer_))", + "answer": "select count(voice_actor__english_1998___pioneer_) from table_1410384_1 where voice_actor__japanese_ = \"shinobu satouchi\"" + }, + { + "question": "When mark critz (d) 50.8% tim burns (r) 49.2% are the candidates what is the party?", + "context": "create table table_19753079_41 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_19753079_41 where candidates = \"mark critz (d) 50.8% tim burns (r) 49.2%\"" + }, + { + "question": "What is the record when the game was at the San Diego Stadium?", + "context": "create table table_17848578_1 (record varchar, game_site varchar, PRIMARY KEY (record))", + "answer": "select record from table_17848578_1 where game_site = \"san diego stadium\"" + }, + { + "question": "For the functional type of light ball, what were the other features?", + "context": "create table table_1036189_1 (other_features varchar, functional_type varchar, PRIMARY KEY (other_features))", + "answer": "select other_features from table_1036189_1 where functional_type = \"light ball\"" + }, + { + "question": "How many countries did Utah Bulwark's owner come from?", + "context": "create table table_21676617_1 (country_of_owner varchar, horse varchar, PRIMARY KEY (country_of_owner))", + "answer": "select count(country_of_owner) from table_21676617_1 where horse = \"utah bulwark\"" + }, + { + "question": "What was the name of the episode Alan Yang wrote?", + "context": "create table table_25341765_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25341765_1 where written_by = \"alan yang\"" + }, + { + "question": "Show the names of all of the high schooler Kyle's friends.", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, friend_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t3.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id join highschooler as t3 on t1.friend_id = t3.id where t2.name = \"kyle\"" + }, + { + "question": "In what edition was the opponent team Zimbabwe?", + "context": "create table table_27877656_8 (edition varchar, opponent_team varchar, PRIMARY KEY (edition))", + "answer": "select edition from table_27877656_8 where opponent_team = \"zimbabwe\"" + }, + { + "question": "what is the cfl team where college is waterloo?", + "context": "create table table_26996293_4 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select count(cfl_team) from table_26996293_4 where college = \"waterloo\"" + }, + { + "question": "Show the police force shared by counties with location on the east and west.", + "context": "create table county_public_safety (police_force varchar, location varchar, PRIMARY KEY (police_force))", + "answer": "select police_force from county_public_safety where location = \"east\" intersect select police_force from county_public_safety where location = \"west\"" + }, + { + "question": "When did svishtov , bulgaria disband?", + "context": "create table table_242785_1 (date_disband varchar, main_legionary_base varchar, PRIMARY KEY (date_disband))", + "answer": "select date_disband from table_242785_1 where main_legionary_base = \"svishtov , bulgaria\"" + }, + { + "question": "List the titles of all items in alphabetic order .", + "context": "create table item (title varchar, PRIMARY KEY (title))", + "answer": "select title from item order by title" + }, + { + "question": "Who was the lyricist for the song with music directed by madan mohan kohli?", + "context": "create table table_2528382_1 (lyricist varchar, music_director varchar, PRIMARY KEY (lyricist))", + "answer": "select lyricist from table_2528382_1 where music_director = \"madan mohan kohli\"" + }, + { + "question": "What type of formula did Stirling Moss drive?", + "context": "create table table_23548160_1 (formula varchar, driver varchar, PRIMARY KEY (formula))", + "answer": "select formula from table_23548160_1 where driver = \"stirling moss\"" + }, + { + "question": "How many assets can each parts be used in? List the part name and the number.", + "context": "create table parts (part_name varchar, part_id varchar, PRIMARY KEY (part_name)); create table asset_parts (part_id varchar, PRIMARY KEY (part_id))", + "answer": "select t1.part_name, count(*) from parts as t1 join asset_parts as t2 on t1.part_id = t2.part_id group by t1.part_name" + }, + { + "question": "Show the names of companies and of employees.", + "context": "create table company (name varchar, company_id varchar, PRIMARY KEY (name)); create table employment (people_id varchar, company_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t3.name, t2.name from employment as t1 join people as t2 on t1.people_id = t2.people_id join company as t3 on t1.company_id = t3.company_id" + }, + { + "question": "List all vehicle id", + "context": "create table vehicles (vehicle_id varchar, PRIMARY KEY (vehicle_id))", + "answer": "select vehicle_id from vehicles" + }, + { + "question": "Find the number of distinct amenities.", + "context": "create table dorm_amenity (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from dorm_amenity" + }, + { + "question": "How many states that have some college students playing in the mid position but not in the goalie position.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))", + "answer": "select count(*) from (select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'mid' except select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'goalie')" + }, + { + "question": "Where is the team that is managed by richard barnwell from?", + "context": "create table table_27409644_1 (location varchar, manager varchar, PRIMARY KEY (location))", + "answer": "select location from table_27409644_1 where manager = \"richard barnwell\"" + }, + { + "question": "Who directed the episode that was written by Jonathan Fener?", + "context": "create table table_23242968_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23242968_1 where written_by = \"jonathan fener\"" + }, + { + "question": "Name the country that has ken doherty", + "context": "create table table_26454128_7 (country varchar, athlete varchar, PRIMARY KEY (country))", + "answer": "select country from table_26454128_7 where athlete = \"ken doherty\"" + }, + { + "question": "What amount is the junior high school where the gender is male and the specification is minimum diameter of sakigawa?", + "context": "create table table_13555999_1 (junior_high_school__12_15_yrs_ varchar, gender varchar, specification varchar, PRIMARY KEY (junior_high_school__12_15_yrs_))", + "answer": "select junior_high_school__12_15_yrs_ from table_13555999_1 where gender = \"male\" and specification = \"minimum diameter of sakigawa\"" + }, + { + "question": "Show all ministers who do not belong to Progress Party.", + "context": "create table party (minister varchar, party_name varchar, PRIMARY KEY (minister))", + "answer": "select minister from party where party_name <> 'progress party'" + }, + { + "question": "what type of organization is sigma phi omega?", + "context": "create table table_2538117_2 (type varchar, organization varchar, PRIMARY KEY (type))", + "answer": "select type from table_2538117_2 where organization = \"sigma phi omega\"" + }, + { + "question": "Who wrote the story viewed by 0.53 million viewers?", + "context": "create table table_26914076_3 (story_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (story_by))", + "answer": "select story_by from table_26914076_3 where us_viewers__millions_ = \"0.53\"" + }, + { + "question": "List the number of invoices from Chicago, IL.", + "context": "create table invoices (billing_city varchar, billing_state varchar, PRIMARY KEY (billing_city))", + "answer": "select count(*) from invoices where billing_city = \"chicago\" and billing_state = \"il\"" + }, + { + "question": "What is the overall total for the Omaha Nighthawks?", + "context": "create table table_27094070_4 (overall_total integer, team varchar, PRIMARY KEY (overall_total))", + "answer": "select min(overall_total) from table_27094070_4 where team = \"omaha nighthawks\"" + }, + { + "question": "Was the sounddock series I v2 iphone certified?", + "context": "create table table_24384861_1 (iphone_certified varchar, version varchar, PRIMARY KEY (iphone_certified))", + "answer": "select iphone_certified from table_24384861_1 where version = \"sounddock series i v2\"" + }, + { + "question": "Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.", + "context": "create table owners (owner_id varchar, last_name varchar, PRIMARY KEY (owner_id)); create table dogs (owner_id varchar, dog_id varchar, PRIMARY KEY (owner_id)); create table treatments (dog_id varchar, PRIMARY KEY (dog_id))", + "answer": "select t1.owner_id, t1.last_name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id join treatments as t3 on t2.dog_id = t3.dog_id group by t1.owner_id order by count(*) desc limit 1" + }, + { + "question": "Which institution's nickname is the Bobcats?", + "context": "create table table_261931_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261931_2 where nickname = \"bobcats\"" + }, + { + "question": "How many companies are headquartered in the US?", + "context": "create table company (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select count(*) from company where headquarters = 'usa'" + }, + { + "question": "What is the description of the treatment type that costs the least money in total?", + "context": "create table treatments (treatment_type_code varchar, PRIMARY KEY (treatment_type_code)); create table treatment_types (treatment_type_description varchar, treatment_type_code varchar, PRIMARY KEY (treatment_type_description))", + "answer": "select t1.treatment_type_description from treatment_types as t1 join treatments as t2 on t1.treatment_type_code = t2.treatment_type_code group by t1.treatment_type_code order by sum(cost_of_treatment) limit 1" + }, + { + "question": "How many entries for 50 occur when strike rate is 92.81?", + "context": "create table table_2985664_8 (strike_rate varchar, PRIMARY KEY (strike_rate))", + "answer": "select count(50) from table_2985664_8 where strike_rate = \"92.81\"" + }, + { + "question": "Who was the vacator when the successor was formally installed on February 1, 1871?", + "context": "create table table_2417345_3 (vacator varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_2417345_3 where date_of_successors_formal_installation = \"february 1, 1871\"" + }, + { + "question": "Who are all men's doubles when men's singles is Jean-Michel Saive?", + "context": "create table table_28211988_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28211988_1 where mens_singles = \"jean-michel saive\"" + }, + { + "question": "What is the name of UMass Boston's softball stadium?", + "context": "create table table_1974545_3 (softball_stadium varchar, school varchar, PRIMARY KEY (softball_stadium))", + "answer": "select softball_stadium from table_1974545_3 where school = \"umass boston\"" + }, + { + "question": "How many colleges have the NFL Team Buffalo Bills?", + "context": "create table table_2508633_11 (college varchar, nfl_team varchar, PRIMARY KEY (college))", + "answer": "select count(college) from table_2508633_11 where nfl_team = \"buffalo bills\"" + }, + { + "question": "Who was the outgoing manager of the team whose incoming manager was Dougie Freedman?", + "context": "create table table_26593762_3 (outgoing_manager varchar, incoming_manager varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_26593762_3 where incoming_manager = \"dougie freedman\"" + }, + { + "question": "Name the country for hideki noda category:articles with hcards", + "context": "create table table_19001175_1 (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select country from table_19001175_1 where name = \"hideki noda category:articles with hcards\"" + }, + { + "question": "What was the original air date for the episode Calle, The Transit of Venus?", + "context": "create table table_19517621_4 (original_airdate varchar, title varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_19517621_4 where title = \"the transit of venus\"" + }, + { + "question": "When was the delevery date when there were 12 ways of delivery?", + "context": "create table table_11552751_2 (total_number_of_ways varchar, PRIMARY KEY (total_number_of_ways))", + "answer": "select 1 as st_ship_delivery_date from table_11552751_2 where total_number_of_ways = \"12 ways\"" + }, + { + "question": "How many traditional Chinese for the translation of \"Crossing the River\"?", + "context": "create table table_1805919_1 (traditional_chinese varchar, english_translation varchar, PRIMARY KEY (traditional_chinese))", + "answer": "select count(traditional_chinese) from table_1805919_1 where english_translation = \"crossing the river\"" + }, + { + "question": "Name the prize pool for 706 (481 r, 346 a)", + "context": "create table table_2534387_10 (prize varchar, entries varchar, PRIMARY KEY (prize))", + "answer": "select prize as pool from table_2534387_10 where entries = \"706 (481 r, 346 a)\"" + }, + { + "question": "How many shader models have a 900 core clock ( mhz )?", + "context": "create table table_25839957_5 (shader_model varchar, core_clock___mhz__ varchar, PRIMARY KEY (shader_model))", + "answer": "select count(shader_model) from table_25839957_5 where core_clock___mhz__ = \"900\"" + }, + { + "question": "When divisional finals are the playoffs what is the regular season?", + "context": "create table table_1986692_1 (regular_season varchar, playoffs varchar, PRIMARY KEY (regular_season))", + "answer": "select regular_season from table_1986692_1 where playoffs = \"divisional finals\"" + }, + { + "question": "What is the number of group b winner for francavilla?", + "context": "create table table_1137142_1 (group_b_winner varchar, group_c_winner varchar, PRIMARY KEY (group_b_winner))", + "answer": "select count(group_b_winner) from table_1137142_1 where group_c_winner = \"francavilla\"" + }, + { + "question": "how many teams had an appointment date of 11 april 2011", + "context": "create table table_27495117_3 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27495117_3 where date_of_appointment = \"11 april 2011\"" + }, + { + "question": "Name the high rebounds for record 7-1", + "context": "create table table_18894744_5 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_18894744_5 where record = \"7-1\"" + }, + { + "question": "What is the annual change of GDP with a 20.5% GDP of EU in 2012?", + "context": "create table table_1598533_8 (annual_change__percentage_of_gdp__2012_ varchar, gdp__percentage_of_eu__2012_ varchar, PRIMARY KEY (annual_change__percentage_of_gdp__2012_))", + "answer": "select annual_change__percentage_of_gdp__2012_ from table_1598533_8 where gdp__percentage_of_eu__2012_ = \"20.5%\"" + }, + { + "question": "What was the first airdate with a viewership of 4.77 million?", + "context": "create table table_17641206_4 (original_airdate varchar, viewership varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_17641206_4 where viewership = \"4.77 million\"" + }, + { + "question": "How many different PPI does the model with ppcm of 87 have?", + "context": "create table table_27653752_1 (ppi__pixels_per_inch__ varchar, ppcm__pixels_per_cm__ varchar, PRIMARY KEY (ppi__pixels_per_inch__))", + "answer": "select count(ppi__pixels_per_inch__) from table_27653752_1 where ppcm__pixels_per_cm__ = 87" + }, + { + "question": "Who walked in space from STS-101 Eva 1?", + "context": "create table table_22385461_1 (spacewalkers varchar, spacecraft varchar, PRIMARY KEY (spacewalkers))", + "answer": "select spacewalkers from table_22385461_1 where spacecraft = \"sts-101 eva 1\"" + }, + { + "question": "Show the outcome code of mailshots along with the number of mailshots in each outcome code.", + "context": "create table mailshot_customers (outcome_code varchar, PRIMARY KEY (outcome_code))", + "answer": "select outcome_code, count(*) from mailshot_customers group by outcome_code" + }, + { + "question": "Where is the rate 5.7 in October 2010?", + "context": "create table table_21531764_1 (employment_area varchar, october_2010 varchar, PRIMARY KEY (employment_area))", + "answer": "select employment_area from table_21531764_1 where october_2010 = \"5.7\"" + }, + { + "question": "Who directed the episode with a UK viewership of exactly 5.77 million?", + "context": "create table table_29063233_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29063233_1 where uk_viewers__million_ = \"5.77\"" + }, + { + "question": "Which company started the earliest the maintenance contract? Show the company name.", + "context": "create table third_party_companies (company_name varchar, company_id varchar, PRIMARY KEY (company_name)); create table maintenance_contracts (maintenance_contract_company_id varchar, contract_start_date varchar, PRIMARY KEY (maintenance_contract_company_id))", + "answer": "select t1.company_name from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id order by t2.contract_start_date limit 1" + }, + { + "question": "How many stores are there?", + "context": "create table store (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from store" + }, + { + "question": "What is the brand in Metro Manila?", + "context": "create table table_19215259_1 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_19215259_1 where location = \"metro manila\"" + }, + { + "question": "Candidate John Mccain had how many delegates?", + "context": "create table table_16186152_1 (delegates varchar, candidate varchar, PRIMARY KEY (delegates))", + "answer": "select delegates from table_16186152_1 where candidate = \"john mccain\"" + }, + { + "question": "What is the exit date for the Dutch Albums Top 100 Chart?", + "context": "create table table_1160304_2 (date_of_exit varchar, chart varchar, PRIMARY KEY (date_of_exit))", + "answer": "select date_of_exit from table_1160304_2 where chart = \"dutch albums top 100\"" + }, + { + "question": "What parish did McCain have 45.37% of the votes?", + "context": "create table table_20722805_1 (parish varchar, mccain_percentage varchar, PRIMARY KEY (parish))", + "answer": "select parish from table_20722805_1 where mccain_percentage = \"45.37%\"" + }, + { + "question": "What is the city location of the tournament currently known as the Medibank International Sydney?", + "context": "create table table_20630462_1 (city_s_ varchar, also_currently_known_as varchar, PRIMARY KEY (city_s_))", + "answer": "select city_s_ from table_20630462_1 where also_currently_known_as = \"medibank international sydney\"" + }, + { + "question": "How many artists do we have?", + "context": "create table artist (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from artist" + }, + { + "question": "Who was the director of the film with an original title of \"16 Days in Afghanistan\"?", + "context": "create table table_17155250_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_17155250_1 where original_title = \"16 days in afghanistan\"" + }, + { + "question": "What is the id of the department with the least number of staff?", + "context": "create table staff_department_assignments (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select department_id from staff_department_assignments group by department_id order by count(*) limit 1" + }, + { + "question": "What type are State Assemblyman", + "context": "create table table_1602620_1 (type varchar, office varchar, PRIMARY KEY (type))", + "answer": "select type from table_1602620_1 where office = \"state assemblyman\"" + }, + { + "question": "What was the season record when the team played against Milwaukee?", + "context": "create table table_27704187_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27704187_10 where team = \"milwaukee\"" + }, + { + "question": "How many color systems has a bit rate of 5.734?", + "context": "create table table_1926240_1 (color_system varchar, bit_rate_ varchar, _mbit_s_ varchar, PRIMARY KEY (color_system))", + "answer": "select count(color_system) from table_1926240_1 where bit_rate_[_mbit_s_] = \"5.734\"" + }, + { + "question": "When the socket is bga956 and processor is penryn-3m, what is the tdp?", + "context": "create table table_24100843_1 (tdp varchar, socket varchar, processor varchar, PRIMARY KEY (tdp))", + "answer": "select tdp from table_24100843_1 where socket = \"bga956\" and processor = \"penryn-3m\"" + }, + { + "question": "what's the\u00a0\u2193 function / genus \u2192\u00a0with\u00a0shigella\u00a0being spa32", + "context": "create table table_10321124_1 (\u2193_function___genus_\u2192 varchar, shigella varchar, PRIMARY KEY (\u2193_function___genus_\u2192))", + "answer": "select \u2193_function___genus_\u2192 from table_10321124_1 where shigella = \"spa32\"" + }, + { + "question": "How many values for Germans occurs when value for Slovaks is 0.11%?", + "context": "create table table_2374338_2 (germans varchar, slovaks varchar, PRIMARY KEY (germans))", + "answer": "select count(germans) from table_2374338_2 where slovaks = \"0.11%\"" + }, + { + "question": "How many reasons for change were listed when Edward Hempstead was the successor?", + "context": "create table table_225095_4 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_225095_4 where successor = \"edward hempstead\"" + }, + { + "question": "Report the number of students in each classroom.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom))", + "answer": "select classroom, count(*) from list group by classroom" + }, + { + "question": "List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.", + "context": "create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, media_type_id varchar, PRIMARY KEY (name)); create table media_types (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id join media_types as t3 on t3.id = t2.media_type_id where t1.name = \"rock\" and t3.name = \"mpeg audio file\"" + }, + { + "question": "List ids for all student who are on scholarship.", + "context": "create table sportsinfo (stuid varchar, onscholarship varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from sportsinfo where onscholarship = 'y'" + }, + { + "question": "Find the names of the users whose number of followers is greater than that of the user named \"Tyler Swift\".", + "context": "create table follows (f1 varchar, PRIMARY KEY (f1)); create table user_profiles (name varchar, uid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from user_profiles as t1 join follows as t2 on t1.uid = t2.f1 group by t2.f1 having count(*) > (select count(*) from user_profiles as t1 join follows as t2 on t1.uid = t2.f1 where t1.name = 'tyler swift')" + }, + { + "question": "How many numbers were recorded under miles for the 3:00:46 race time?", + "context": "create table table_2196127_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))", + "answer": "select count(miles__km_) from table_2196127_1 where race_time = \"3:00:46\"" + }, + { + "question": "What party is the winner K. Anbazhagan from?", + "context": "create table table_22756549_1 (party varchar, winner varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22756549_1 where winner = \"k. anbazhagan\"" + }, + { + "question": "Who directed the episode with 4.82 million U.S. viewers?", + "context": "create table table_25851971_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25851971_1 where us_viewers__million_ = \"4.82\"" + }, + { + "question": "What is the ethnic group is \u043a\u043e\u043d\u0430\u043a?", + "context": "create table table_2562572_39 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_39 where cyrillic_name_other_names = \"\u043a\u043e\u043d\u0430\u043a\"" + }, + { + "question": "How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859?", + "context": "create table table_2134521_1 (pop__2001_ varchar, pop__1996_ varchar, PRIMARY KEY (pop__2001_))", + "answer": "select count(pop__2001_) from table_2134521_1 where pop__1996_ = 880859" + }, + { + "question": "Who came as a replacement in Sheffield United?", + "context": "create table table_19359427_6 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_19359427_6 where team = \"sheffield united\"" + }, + { + "question": "Name the greek modern for s\u0142ysza\u0142e\u015b by\u0142 / s\u0142ysza\u0142a\u015b by\u0142a", + "context": "create table table_1841901_1 (greek__modern_ varchar, polish__extinct_ varchar, PRIMARY KEY (greek__modern_))", + "answer": "select greek__modern_ from table_1841901_1 where polish__extinct_ = \"s\u0142ysza\u0142e\u015b by\u0142 / s\u0142ysza\u0142a\u015b by\u0142a\"" + }, + { + "question": "Name the country that has the yen", + "context": "create table table_2764267_2 (country varchar, currency varchar, PRIMARY KEY (country))", + "answer": "select country from table_2764267_2 where currency = \"yen\"" + }, + { + "question": "what is the report called where the circuit took place at the nazareth speedway?", + "context": "create table table_10707142_2 (report varchar, circuit varchar, PRIMARY KEY (report))", + "answer": "select report from table_10707142_2 where circuit = \"nazareth speedway\"" + }, + { + "question": "What is the number for the guanay municipality when combaya municipality is 0?", + "context": "create table table_2509202_2 (guanay_municipality varchar, combaya_municipality varchar, PRIMARY KEY (guanay_municipality))", + "answer": "select guanay_municipality from table_2509202_2 where combaya_municipality = \"0\"" + }, + { + "question": "Name the theatre name for french", + "context": "create table table_2461720_1 (theatre_name varchar, language_of_films varchar, PRIMARY KEY (theatre_name))", + "answer": "select theatre_name from table_2461720_1 where language_of_films = \"french\"" + }, + { + "question": "What is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?", + "context": "create table table_25479607_3 (fixed_charge___rs__kwh_ varchar, unit__kwh__time_range varchar, PRIMARY KEY (fixed_charge___rs__kwh_))", + "answer": "select fixed_charge___rs__kwh_ from table_25479607_3 where unit__kwh__time_range = \"i-2: peak (18:30-22:30)\"" + }, + { + "question": "How many open era titles does the team with their first title in 1925 have?", + "context": "create table table_1725413_5 (open_era varchar, first_title varchar, PRIMARY KEY (open_era))", + "answer": "select open_era from table_1725413_5 where first_title = 1925" + }, + { + "question": "what's the\u00a054 holes\u00a0where\u00a0winning score\u00a0is \u221219 (67-66-67-69=269)", + "context": "create table table_11570261_1 (winning_score varchar, PRIMARY KEY (winning_score))", + "answer": "select 54 as _holes from table_11570261_1 where winning_score = \u221219(67 - 66 - 67 - 69 = 269)" + }, + { + "question": "In what edition is Ungur's opponent David Nalbandian?", + "context": "create table table_24099476_8 (edition varchar, opponent varchar, PRIMARY KEY (edition))", + "answer": "select edition from table_24099476_8 where opponent = \"david nalbandian\"" + }, + { + "question": "Name the density for \u53e4\u7530\u7e23", + "context": "create table table_2013618_1 (density varchar, traditional varchar, PRIMARY KEY (density))", + "answer": "select density from table_2013618_1 where traditional = \"\u53e4\u7530\u7e23\"" + }, + { + "question": "Name the status for karanvir bohra and date performed being july 30", + "context": "create table table_18278508_4 (status varchar, main_contestant varchar, date_performed varchar, PRIMARY KEY (status))", + "answer": "select status from table_18278508_4 where main_contestant = \"karanvir bohra\" and date_performed = \"july 30\"" + }, + { + "question": "List the names of all routes in alphabetic order.", + "context": "create table delivery_routes (route_name varchar, PRIMARY KEY (route_name))", + "answer": "select route_name from delivery_routes order by route_name" + }, + { + "question": "How many episodes by different writers were seen by 3.24 million people in the US?", + "context": "create table table_18268826_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_18268826_1 where us_viewers__million_ = \"3.24\"" + }, + { + "question": "HOw many jockeys had eoin harty as a trainer", + "context": "create table table_22517564_3 (jockey varchar, trainer varchar, PRIMARY KEY (jockey))", + "answer": "select count(jockey) from table_22517564_3 where trainer = \"eoin harty\"" + }, + { + "question": "Which song was chosen during the audition week?", + "context": "create table table_29756040_1 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_29756040_1 where week__number = \"audition\"" + }, + { + "question": "Name the accession number for sequence similarity being 54", + "context": "create table table_27155678_2 (accession_number varchar, sequence_similarity varchar, PRIMARY KEY (accession_number))", + "answer": "select accession_number from table_27155678_2 where sequence_similarity = 54" + }, + { + "question": "How many sources are there for south africa?", + "context": "create table table_29487895_2 (source_s_ varchar, country___region varchar, PRIMARY KEY (source_s_))", + "answer": "select count(source_s_) from table_29487895_2 where country___region = \"south africa\"" + }, + { + "question": "List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.", + "context": "create table accelerator_compatible_browser (accelerator_id varchar, browser_id varchar, PRIMARY KEY (accelerator_id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id)); create table browser (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t3.name from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id join browser as t3 on t2.browser_id = t3.id where t1.name = 'cachebox' intersect select t3.name from web_client_accelerator as t1 join accelerator_compatible_browser as t2 on t2.accelerator_id = t1.id join browser as t3 on t2.browser_id = t3.id where t1.name = 'fasterfox'" + }, + { + "question": "List the names of pilots that do not have any record.", + "context": "create table pilot_record (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name)); create table pilot (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name))", + "answer": "select pilot_name from pilot where not pilot_id in (select pilot_id from pilot_record)" + }, + { + "question": "How many directors directed an episode that reached 2.48 million viewers?", + "context": "create table table_27047554_1 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_27047554_1 where us_viewers__in_millions_ = \"2.48\"" + }, + { + "question": "What is the number listed in home games when the team is Seattle Seahawks?", + "context": "create table table_28884858_1 (home_games varchar, team varchar, PRIMARY KEY (home_games))", + "answer": "select home_games from table_28884858_1 where team = \"seattle seahawks\"" + }, + { + "question": "Who is seat no 1 when the mayor was john j. seguier", + "context": "create table table_2231241_1 (seat_no_1 varchar, mayor varchar, PRIMARY KEY (seat_no_1))", + "answer": "select seat_no_1 from table_2231241_1 where mayor = \"john j. seguier\"" + }, + { + "question": "What are the arriving date and the departing date of the dogs who have gone through a treatment?", + "context": "create table dogs (date_arrived varchar, date_departed varchar, dog_id varchar, PRIMARY KEY (date_arrived)); create table treatments (dog_id varchar, PRIMARY KEY (dog_id))", + "answer": "select distinct t1.date_arrived, t1.date_departed from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id" + }, + { + "question": "what gender has an asian black bear?", + "context": "create table table_26615633_3 (gender varchar, species varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_26615633_3 where species = \"asian black bear\"" + }, + { + "question": "what's the\u00a0regionalliga nord\u00a0with\u00a0regionalliga west/s\u00fcdwest\u00a0being fc g\u00fctersloh rot-wei\u00df essen", + "context": "create table table_14242137_11 (regionalliga_nord varchar, regionalliga_west_s\u00fcdwest varchar, PRIMARY KEY (regionalliga_nord))", + "answer": "select regionalliga_nord from table_14242137_11 where regionalliga_west_s\u00fcdwest = \"fc g\u00fctersloh rot-wei\u00df essen\"" + }, + { + "question": "Which candidate won 88 votes in Queens in 1921?", + "context": "create table table_1108394_47 (queens varchar, PRIMARY KEY (queens))", + "answer": "select 1921 from table_1108394_47 where queens = \"88\"" + }, + { + "question": "Where is the show aired in New Zealand?", + "context": "create table table_14523485_9 (channel varchar, country varchar, PRIMARY KEY (channel))", + "answer": "select channel from table_14523485_9 where country = \"new zealand\"" + }, + { + "question": "Was there PPV when the service was SCT?", + "context": "create table table_15887683_19 (ppv varchar, television_service varchar, PRIMARY KEY (ppv))", + "answer": "select ppv from table_15887683_19 where television_service = \"sct\"" + }, + { + "question": "Name the released for pat mills", + "context": "create table table_1620397_2 (released varchar, author varchar, PRIMARY KEY (released))", + "answer": "select released from table_1620397_2 where author = \"pat mills\"" + }, + { + "question": "When is the original air date written by sean whitesell?", + "context": "create table table_22904752_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_22904752_1 where written_by = \"sean whitesell\"" + }, + { + "question": "What pregame host was on espn and had taylor twellman color commentating?", + "context": "create table table_17516922_1 (pregame_host varchar, network varchar, color_commentator varchar, PRIMARY KEY (pregame_host))", + "answer": "select pregame_host from table_17516922_1 where network = \"espn\" and color_commentator = \"taylor twellman\"" + }, + { + "question": "Show each premise type and the number of premises in that type.", + "context": "create table premises (premises_type varchar, PRIMARY KEY (premises_type))", + "answer": "select premises_type, count(*) from premises group by premises_type" + }, + { + "question": "Which classroom has the most students?", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom))", + "answer": "select classroom from list group by classroom order by count(*) desc limit 1" + }, + { + "question": "What is the lowest attandance recorded at Cappielow?", + "context": "create table table_11207040_5 (lowest integer, stadium varchar, PRIMARY KEY (lowest))", + "answer": "select min(lowest) from table_11207040_5 where stadium = \"cappielow\"" + }, + { + "question": "Find the names of nurses who are nursing an undergoing treatment.", + "context": "create table undergoes (assistingnurse varchar, PRIMARY KEY (assistingnurse)); create table nurse (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select distinct t2.name from undergoes as t1 join nurse as t2 on t1.assistingnurse = t2.employeeid" + }, + { + "question": "Who is the incoming manager when the date of appointment is 9 march 2011?", + "context": "create table table_26914854_3 (incoming_manager varchar, date_of_appointment varchar, PRIMARY KEY (incoming_manager))", + "answer": "select incoming_manager from table_26914854_3 where date_of_appointment = \"9 march 2011\"" + }, + { + "question": "Valmir Benavides won pole position at which circuit?", + "context": "create table table_29361707_2 (circuit varchar, pole_position varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_29361707_2 where pole_position = \"valmir benavides\"" + }, + { + "question": "Show the country names and the corresponding number of players.", + "context": "create table match_season (country varchar, PRIMARY KEY (country)); create table country (country_name varchar, country_id varchar, PRIMARY KEY (country_name))", + "answer": "select country_name, count(*) from country as t1 join match_season as t2 on t1.country_id = t2.country group by t1.country_name" + }, + { + "question": "Where is the Westfield State University located?", + "context": "create table table_1974545_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_1974545_2 where institution = \"westfield state university\"" + }, + { + "question": "Show the product type codes that have at least two products.", + "context": "create table products (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select product_type_code from products group by product_type_code having count(*) >= 2" + }, + { + "question": "Find the id of the order whose shipment tracking number is \"3452\".", + "context": "create table shipments (order_id varchar, shipment_tracking_number varchar, PRIMARY KEY (order_id))", + "answer": "select order_id from shipments where shipment_tracking_number = \"3452\"" + }, + { + "question": "Name the segment b for s dress form", + "context": "create table table_15187735_10 (segment_b varchar, segment_a varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_10 where segment_a = \"s dress form\"" + }, + { + "question": "What is the fixed charge for the user who had a tariff of 11.30?", + "context": "create table table_25479607_3 (fixed_charge___rs__kwh_ varchar, tariff___rs__kwh_ varchar, PRIMARY KEY (fixed_charge___rs__kwh_))", + "answer": "select fixed_charge___rs__kwh_ from table_25479607_3 where tariff___rs__kwh_ = \"11.30\"" + }, + { + "question": "Name the title that aired on 5 august 1967", + "context": "create table table_20345624_2 (title varchar, original_airdate varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_20345624_2 where original_airdate = \"5 august 1967\"" + }, + { + "question": "Find the states where have some college students in tryout and their decisions are yes.", + "context": "create table tryout (cname varchar, decision varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))", + "answer": "select distinct t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.decision = 'yes'" + }, + { + "question": "What was the rocket's record when they played against Indiana?", + "context": "create table table_27744976_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27744976_10 where team = \"indiana\"" + }, + { + "question": "What game sites are where the team record is 1\u20136?", + "context": "create table table_25380472_2 (game_site varchar, team_record varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_25380472_2 where team_record = \"1\u20136\"" + }, + { + "question": "What are the number of winning tickets that have 180.00 as the prize (eur)?", + "context": "create table table_20195922_3 (number_of_winning_tickets varchar, prize__eur_ varchar, PRIMARY KEY (number_of_winning_tickets))", + "answer": "select number_of_winning_tickets from table_20195922_3 where prize__eur_ = \"180.00\"" + }, + { + "question": "When first woman eva is the comment what is the end -utc?", + "context": "create table table_245801_2 (end___utc varchar, comments varchar, PRIMARY KEY (end___utc))", + "answer": "select end___utc from table_245801_2 where comments = \"first woman eva\"" + }, + { + "question": "how many\u00a0original airdate\u00a0with\u00a0writer(s)\u00a0being becky hartman edwards and\u00a0director\u00a0being adam nimoy", + "context": "create table table_13956521_2 (original_airdate varchar, writer_s_ varchar, director varchar, PRIMARY KEY (original_airdate))", + "answer": "select count(original_airdate) from table_13956521_2 where writer_s_ = \"becky hartman edwards\" and director = \"adam nimoy\"" + }, + { + "question": "Name the windows builders for apache gump", + "context": "create table table_22903426_1 (windows_builders varchar, name varchar, PRIMARY KEY (windows_builders))", + "answer": "select windows_builders from table_22903426_1 where name = \"apache gump\"" + }, + { + "question": "What is the branding for callsign dypv?", + "context": "create table table_27588823_2 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_27588823_2 where callsign = \"dypv\"" + }, + { + "question": "Find the description of the club \"Pen and Paper Gaming\".", + "context": "create table club (clubdesc varchar, clubname varchar, PRIMARY KEY (clubdesc))", + "answer": "select clubdesc from club where clubname = \"pen and paper gaming\"" + }, + { + "question": "Who was the outgoing manager when the incoming manager was lauren\u0163iu reghecampf?", + "context": "create table table_26976615_3 (outgoing_manager varchar, incoming_manager varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_26976615_3 where incoming_manager = \"lauren\u0163iu reghecampf\"" + }, + { + "question": "What is the location is the winning driver is Bill Vukovich II?", + "context": "create table table_22670216_1 (location varchar, winning_driver varchar, PRIMARY KEY (location))", + "answer": "select location from table_22670216_1 where winning_driver = \"bill vukovich ii\"" + }, + { + "question": "Who is J.E. Armstrong when W.H. Archer is D.M. Lawson?", + "context": "create table table_1320857_1 (je_armstrong varchar, wh_archer varchar, PRIMARY KEY (je_armstrong))", + "answer": "select je_armstrong from table_1320857_1 where wh_archer = \"d.m. lawson\"" + }, + { + "question": "What is the school for the player who's hometown was Irvine, CA?", + "context": "create table table_11677100_18 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677100_18 where hometown = \"irvine, ca\"" + }, + { + "question": "Show the description and code of the attraction type most tourist attractions belong to.", + "context": "create table ref_attraction_types (attraction_type_description varchar, attraction_type_code varchar, PRIMARY KEY (attraction_type_description)); create table tourist_attractions (attraction_type_code varchar, PRIMARY KEY (attraction_type_code))", + "answer": "select t1.attraction_type_description, t2.attraction_type_code from ref_attraction_types as t1 join tourist_attractions as t2 on t1.attraction_type_code = t2.attraction_type_code group by t2.attraction_type_code order by count(*) desc limit 1" + }, + { + "question": "How many hosts were on Seven Network?", + "context": "create table table_14523485_9 (host varchar, channel varchar, PRIMARY KEY (host))", + "answer": "select count(host) from table_14523485_9 where channel = \"seven network\"" + }, + { + "question": "What is the conserved in mus musculus listing for sequence aagtact?", + "context": "create table table_26708105_2 (conserved_in_mus_musculus varchar, sequence varchar, PRIMARY KEY (conserved_in_mus_musculus))", + "answer": "select conserved_in_mus_musculus from table_26708105_2 where sequence = \"aagtact\"" + }, + { + "question": "Who did Walter B. Jones, Sr. (d) succeeded in office?", + "context": "create table table_1847180_4 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_1847180_4 where successor = \"walter b. jones, sr. (d)\"" + }, + { + "question": "Which week is the theme n/a", + "context": "create table table_21501518_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501518_1 where theme = \"n/a\"" + }, + { + "question": "How many French heads of state have a head of mission of Xavier Daufresne de la Chevalerie?", + "context": "create table table_29474481_4 (french_head_of_state varchar, head_of_mission varchar, PRIMARY KEY (french_head_of_state))", + "answer": "select count(french_head_of_state) from table_29474481_4 where head_of_mission = \"xavier daufresne de la chevalerie\"" + }, + { + "question": "When 5.5 is the l-band what is the v-band?", + "context": "create table table_186468_1 (v_band varchar, k_band varchar, PRIMARY KEY (v_band))", + "answer": "select v_band from table_186468_1 where k_band = \"5.5\"" + }, + { + "question": "Who was the director for the episode originally airing September 29, 2003?", + "context": "create table table_23916272_6 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23916272_6 where original_air_date = \"september 29, 2003\"" + }, + { + "question": "What was the country with a population density per km\u00b2 of 3.5/km\u00b2 (/sqmi)?", + "context": "create table table_26769_1 (country_or_territory_with_flag varchar, population_density_per_km\u00b2 varchar, PRIMARY KEY (country_or_territory_with_flag))", + "answer": "select country_or_territory_with_flag from table_26769_1 where population_density_per_km\u00b2 = \"3.5/km\u00b2 (/sqmi)\"" + }, + { + "question": "What is Segment A where Segment D is luxury sports cars?", + "context": "create table table_15187735_15 (segment_a varchar, segment_d varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_15 where segment_d = \"luxury sports cars\"" + }, + { + "question": "What was the players position in 2013 who had 29 seasons in the second tier", + "context": "create table table_1560673_1 (position_in_2013 varchar, number_of_seasons_in_second_tier varchar, PRIMARY KEY (position_in_2013))", + "answer": "select position_in_2013 from table_1560673_1 where number_of_seasons_in_second_tier = \"29\"" + }, + { + "question": "When belarus is the country what is the hometown?", + "context": "create table table_18626383_2 (hometown varchar, country varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_18626383_2 where country = \"belarus\"" + }, + { + "question": "The displacement(s) 466 cubic inches (7.6L), has what engine family?", + "context": "create table table_26352332_4 (engine_family varchar, displacement_s_ varchar, PRIMARY KEY (engine_family))", + "answer": "select engine_family from table_26352332_4 where displacement_s_ = \"466 cubic inches (7.6l)\"" + }, + { + "question": "Show the names of journalists and the number of events they reported.", + "context": "create table journalist (name varchar, journalist_id varchar, PRIMARY KEY (name)); create table news_report (event_id varchar, journalist_id varchar, PRIMARY KEY (event_id)); create table event (event_id varchar, PRIMARY KEY (event_id))", + "answer": "select t3.name, count(*) from news_report as t1 join event as t2 on t1.event_id = t2.event_id join journalist as t3 on t1.journalist_id = t3.journalist_id group by t3.name" + }, + { + "question": "What college/junior/club teams do the players from the St. Louis Blues come from?", + "context": "create table table_1013129_11 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1013129_11 where nhl_team = \"st. louis blues\"" + }, + { + "question": "Show the names of members and the location of performances they attended in ascending alphabetical order of their names.", + "context": "create table performance (location varchar, performance_id varchar, PRIMARY KEY (location)); create table member (name varchar, member_id varchar, PRIMARY KEY (name)); create table member_attendance (member_id varchar, performance_id varchar, PRIMARY KEY (member_id))", + "answer": "select t2.name, t3.location from member_attendance as t1 join member as t2 on t1.member_id = t2.member_id join performance as t3 on t1.performance_id = t3.performance_id order by t2.name" + }, + { + "question": "What location was the congressional service of which the term ended in January 3, 2011?", + "context": "create table table_197446_1 (location varchar, term_ended varchar, PRIMARY KEY (location))", + "answer": "select location from table_197446_1 where term_ended = \"january 3, 2011\"" + }, + { + "question": "In what year did the winner of the FIS championship in 1982 win the Winter Olympics?", + "context": "create table table_174491_1 (winter_olympics varchar, fis_nordic_world_ski_championships varchar, PRIMARY KEY (winter_olympics))", + "answer": "select winter_olympics from table_174491_1 where fis_nordic_world_ski_championships = \"1982\"" + }, + { + "question": "Which team had $15,785 in winnings?", + "context": "create table table_26609690_1 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_26609690_1 where winnings = \"$15,785\"" + }, + { + "question": "Find the first names of the teachers that teach first grade.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (firstname varchar, classroom varchar, PRIMARY KEY (firstname))", + "answer": "select distinct t2.firstname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where grade = 1" + }, + { + "question": "How many millions of viewers did the episode directed by Jeffrey Blitz have?", + "context": "create table table_25341765_1 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_25341765_1 where directed_by = \"jeffrey blitz\"" + }, + { + "question": "Find the address line 1 and 2 of the customer with email \"vbogisich@example.org\".", + "context": "create table customers (address_line_1 varchar, address_line_2 varchar, email_address varchar, PRIMARY KEY (address_line_1))", + "answer": "select address_line_1, address_line_2 from customers where email_address = \"vbogisich@example.org\"" + }, + { + "question": "What is the maximum population size in the town of Stanthorpe?", + "context": "create table table_12584173_1 (population__stanthorpe_ integer, PRIMARY KEY (population__stanthorpe_))", + "answer": "select max(population__stanthorpe_) from table_12584173_1" + }, + { + "question": "Show director with the largest number of show times in total.", + "context": "create table schedule (film_id varchar, show_times_per_day integer, PRIMARY KEY (film_id)); create table film (directed_by varchar, film_id varchar, PRIMARY KEY (directed_by))", + "answer": "select t2.directed_by from schedule as t1 join film as t2 on t1.film_id = t2.film_id group by t2.directed_by order by sum(t1.show_times_per_day) desc limit 1" + }, + { + "question": "What is Segment B for series episode 12-02?", + "context": "create table table_15187735_12 (segment_b varchar, series_ep varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_12 where series_ep = \"12-02\"" + }, + { + "question": "Show the number of documents with document type code CV or BK.", + "context": "create table all_documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select count(*) from all_documents where document_type_code = \"cv\" or document_type_code = \"bk\"" + }, + { + "question": "How many percentage yield figures are there when 6.7% are defective?", + "context": "create table table_222448_1 (percentage_yield varchar, percent_defective varchar, PRIMARY KEY (percentage_yield))", + "answer": "select count(percentage_yield) from table_222448_1 where percent_defective = \"6.7%\"" + }, + { + "question": "How many call signs does the location masinloc, zambales have?", + "context": "create table table_27588823_2 (callsign varchar, location varchar, PRIMARY KEY (callsign))", + "answer": "select count(callsign) from table_27588823_2 where location = \"masinloc, zambales\"" + }, + { + "question": "What is the market for KLRJ?", + "context": "create table table_2709_4 (target_city__market varchar, call_sign varchar, PRIMARY KEY (target_city__market))", + "answer": "select target_city__market from table_2709_4 where call_sign = \"klrj\"" + }, + { + "question": "Is the drawing tablet support part of the DDM class?", + "context": "create table table_1153898_1 (ddm_class varchar, comparisons varchar, PRIMARY KEY (ddm_class))", + "answer": "select ddm_class from table_1153898_1 where comparisons = \"drawing tablet support\"" + }, + { + "question": "How many members were in the group that sold 65 million albums and singles?", + "context": "create table table_19439814_1 (members varchar, sold__albums_and_singles_ varchar, PRIMARY KEY (members))", + "answer": "select members from table_19439814_1 where sold__albums_and_singles_ = \"65 million\"" + }, + { + "question": "who won tennis when ashland won softball and wooster won volleybal", + "context": "create table table_16423070_4 (tennis varchar, softball varchar, volleyball varchar, PRIMARY KEY (tennis))", + "answer": "select tennis from table_16423070_4 where softball = \"ashland\" and volleyball = \"wooster\"" + }, + { + "question": "What is the migration rating when trade is 5.7?", + "context": "create table table_13677808_1 (migration varchar, trade varchar, PRIMARY KEY (migration))", + "answer": "select migration from table_13677808_1 where trade = \"5.7\"" + }, + { + "question": "How many PPV values are listed for when television service Sky Cinema 1?", + "context": "create table table_15887683_5 (ppv varchar, television_service varchar, PRIMARY KEY (ppv))", + "answer": "select count(ppv) from table_15887683_5 where television_service = \"sky cinema 1\"" + }, + { + "question": "List the names of journalists who have not reported any event.", + "context": "create table journalist (name varchar, journalist_id varchar, PRIMARY KEY (name)); create table news_report (name varchar, journalist_id varchar, PRIMARY KEY (name))", + "answer": "select name from journalist where not journalist_id in (select journalist_id from news_report)" + }, + { + "question": "when was the next coach appointed after niger tornadoes fired their coach?", + "context": "create table table_28164986_4 (date_of_appointment varchar, manner_of_departure varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_28164986_4 where manner_of_departure = \"fired\" and team = \"niger tornadoes\"" + }, + { + "question": "Who wrote the episodes watched by 1.575 million people in Canada?", + "context": "create table table_18424435_3 (written_by varchar, canadian_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_18424435_3 where canadian_viewers__million_ = \"1.575\"" + }, + { + "question": "What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Bene\u0161ov\u00e1?", + "context": "create table table_17289604_38 (round_of_64 varchar, athlete varchar, event varchar, round_of_16 varchar, PRIMARY KEY (round_of_64))", + "answer": "select round_of_64 from table_17289604_38 where event = \"singles\" and round_of_16 = \"did not advance\" and athlete = \"iveta bene\u0161ov\u00e1\"" + }, + { + "question": "What is the election date for those politicians who left office on 1850-11-15?", + "context": "create table table_26362472_1 (election_date varchar, left_office varchar, PRIMARY KEY (election_date))", + "answer": "select count(election_date) from table_26362472_1 where left_office = \"1850-11-15\"" + }, + { + "question": "What was the Obama% when McCain% was 61.2%?", + "context": "create table table_20750731_1 (obama_percentage varchar, mccain_percentage varchar, PRIMARY KEY (obama_percentage))", + "answer": "select obama_percentage from table_20750731_1 where mccain_percentage = \"61.2%\"" + }, + { + "question": "Who was the winning driver in the grand prix at Pacific Grand Prix?", + "context": "create table table_1137702_3 (winning_driver varchar, grand_prix varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137702_3 where grand_prix = \"pacific grand_prix\"" + }, + { + "question": "what is \u0430 \u0430 [a] when \u0433\u044c \u0433\u044c [\u0261\u02b2] is \u043b \u043b [l]?", + "context": "create table table_202365_2 (\u0430_\u0430_ varchar, a varchar, \u0433\u044c_\u0433\u044c_ varchar, \u0261\u02b2 varchar, PRIMARY KEY (\u0430_\u0430_))", + "answer": "select \u0430_\u0430_[a] from table_202365_2 where \u0433\u044c_\u0433\u044c_[\u0261\u02b2] = \"\u043b \u043b [l]\"" + }, + { + "question": "Rockets height was 6-6 in feet, list the time frame where this was true?", + "context": "create table table_11734041_10 (years_for_rockets varchar, height_in_ft varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select years_for_rockets from table_11734041_10 where height_in_ft = \"6-6\"" + }, + { + "question": "What ethnic group had the largest population in \u0441\u0443\u0440\u0434\u0443\u043a in 2002?", + "context": "create table table_2562572_53 (largest_ethnic_group__2002_ varchar, cyrillic_name varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_53 where cyrillic_name = \"\u0441\u0443\u0440\u0434\u0443\u043a\"" + }, + { + "question": "If the nepalese is 37.1%, what is the working force of HK?", + "context": "create table table_27257896_2 (working_force_of_hk varchar, nepalese varchar, PRIMARY KEY (working_force_of_hk))", + "answer": "select working_force_of_hk from table_27257896_2 where nepalese = \"37.1%\"" + }, + { + "question": "What grand prixs did Daijiro Hiura win?", + "context": "create table table_18303274_1 (grand_prix varchar, race_winner varchar, PRIMARY KEY (grand_prix))", + "answer": "select grand_prix from table_18303274_1 where race_winner = \"daijiro hiura\"" + }, + { + "question": "What is the total number of 3rd place entries that have exactly 8 total placings?", + "context": "create table table_20823568_2 (third_place_s_ varchar, total_placing_s_ varchar, PRIMARY KEY (third_place_s_))", + "answer": "select count(third_place_s_) from table_20823568_2 where total_placing_s_ = 8" + }, + { + "question": "Who trained the representative whose presentation of credentials happened on February 24, 1950?", + "context": "create table table_20065425_1 (training varchar, presentation_of_credentials varchar, PRIMARY KEY (training))", + "answer": "select training from table_20065425_1 where presentation_of_credentials = \"february 24, 1950\"" + }, + { + "question": "Show the names of editors that are on at least two journal committees.", + "context": "create table editor (name varchar, editor_id varchar, PRIMARY KEY (name)); create table journal_committee (editor_id varchar, PRIMARY KEY (editor_id))", + "answer": "select t1.name from editor as t1 join journal_committee as t2 on t1.editor_id = t2.editor_id group by t1.name having count(*) >= 2" + }, + { + "question": "List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.", + "context": "create table management (department_id varchar, head_id varchar, PRIMARY KEY (department_id)); create table head (born_state varchar, head_id varchar, PRIMARY KEY (born_state)); create table department (department_id varchar, name varchar, PRIMARY KEY (department_id))", + "answer": "select t3.born_state from department as t1 join management as t2 on t1.department_id = t2.department_id join head as t3 on t2.head_id = t3.head_id where t1.name = 'treasury' intersect select t3.born_state from department as t1 join management as t2 on t1.department_id = t2.department_id join head as t3 on t2.head_id = t3.head_id where t1.name = 'homeland security'" + }, + { + "question": "What are the names of the contestants whose names are not 'Jessie Alloway'", + "context": "create table contestants (contestant_name varchar, PRIMARY KEY (contestant_name))", + "answer": "select contestant_name from contestants where contestant_name <> 'jessie alloway'" + }, + { + "question": "How many date of appointment entries are there when the team is khazar lankaran?", + "context": "create table table_27057070_3 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select count(date_of_appointment) from table_27057070_3 where team = \"khazar lankaran\"" + }, + { + "question": "What is the team when the economy is 5.73?", + "context": "create table table_27268238_5 (team varchar, economy varchar, PRIMARY KEY (team))", + "answer": "select team from table_27268238_5 where economy = \"5.73\"" + }, + { + "question": "Which documents have more than 1 draft copies? List document id and number of draft copies.", + "context": "create table draft_copies (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, count(*) from draft_copies group by document_id having count(*) > 1" + }, + { + "question": "how many times was the incumbent is john b. yates?", + "context": "create table table_2668347_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2668347_14 where incumbent = \"john b. yates\"" + }, + { + "question": "Nam the opponent for prudential center", + "context": "create table table_16864968_9 (opponent varchar, location varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_16864968_9 where location = \"prudential center\"" + }, + { + "question": "What is the most common nationality of people?", + "context": "create table people (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from people group by nationality order by count(*) desc limit 1" + }, + { + "question": "What records are hit where the opponent is Aylesbury United?", + "context": "create table table_1233808_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_1233808_2 where opponent = \"aylesbury united\"" + }, + { + "question": "What are the comments when the implementation is software running on central processor module?", + "context": "create table table_1206114_2 (comments varchar, implementation varchar, PRIMARY KEY (comments))", + "answer": "select comments from table_1206114_2 where implementation = \"software running on central processor module\"" + }, + { + "question": "What is the round of 16 result for Jiske Griffioen Esther Vergeer?", + "context": "create table table_18602462_22 (round_of_16 varchar, athlete varchar, PRIMARY KEY (round_of_16))", + "answer": "select round_of_16 from table_18602462_22 where athlete = \"jiske griffioen esther vergeer\"" + }, + { + "question": "What are the phone and email for customer Harold?", + "context": "create table customers (customer_phone varchar, customer_email_address varchar, customer_name varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone, customer_email_address from customers where customer_name = \"harold\"" + }, + { + "question": "What is the fire control for the sporter target", + "context": "create table table_12834315_2 (fire_control varchar, name varchar, PRIMARY KEY (fire_control))", + "answer": "select fire_control from table_12834315_2 where name = \"sporter target\"" + }, + { + "question": "Name the air date for uk17", + "context": "create table table_19897294_5 (original_air_date varchar, no_overall varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_19897294_5 where no_overall = \"uk17\"" + }, + { + "question": "What is the molecular target listed under the compounded name of hemiasterlin (e7974)", + "context": "create table table_12715053_1 (molecular_target varchar, compound_name varchar, PRIMARY KEY (molecular_target))", + "answer": "select molecular_target from table_12715053_1 where compound_name = \"hemiasterlin (e7974)\"" + }, + { + "question": "What is the smallest week 3 score?", + "context": "create table table_28946565_2 (week_3 integer, PRIMARY KEY (week_3))", + "answer": "select min(week_3) from table_28946565_2" + }, + { + "question": "Who is the last/current driver(s) 3 november 2013 when first driver(s) is marlon st\u00f6ckinger , kotaro sakurai ( 2011 )?", + "context": "create table table_27279050_3 (last_current_driver_s__3_november_2013 varchar, first_driver_s_ varchar, PRIMARY KEY (last_current_driver_s__3_november_2013))", + "answer": "select last_current_driver_s__3_november_2013 from table_27279050_3 where first_driver_s_ = \"marlon st\u00f6ckinger , kotaro sakurai ( 2011 )\"" + }, + { + "question": "Who did the team play against when a record of 3-1, #16 was achieved?", + "context": "create table table_21063459_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_21063459_1 where record = \"3-1, #16\"" + }, + { + "question": "What team(s) had an outgoing manager of jo\u00e3o alves?", + "context": "create table table_17933600_2 (team varchar, outgoing_manage varchar, PRIMARY KEY (team))", + "answer": "select team from table_17933600_2 where outgoing_manage = \"jo\u00e3o alves\"" + }, + { + "question": "What is the status for all the counties that have a poverty rate of 36.6%?", + "context": "create table table_22815568_3 (status varchar, poverty_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_3 where poverty_rate = \"36.6%\"" + }, + { + "question": "Brett kimmorley, who was chosen for the clive churchill medal belonged to what team?", + "context": "create table table_11236195_5 (winningteam varchar, clive_churchill_medal varchar, PRIMARY KEY (winningteam))", + "answer": "select winningteam from table_11236195_5 where clive_churchill_medal = \"brett kimmorley\"" + }, + { + "question": "Name the equipment for bike number being 3", + "context": "create table table_16941304_4 (equipment varchar, bike_no varchar, PRIMARY KEY (equipment))", + "answer": "select equipment from table_16941304_4 where bike_no = 3" + }, + { + "question": "What are all ages for Maghreb is Maarifiense?", + "context": "create table table_22860_1 (age__before_ varchar, maghreb varchar, PRIMARY KEY (age__before_))", + "answer": "select age__before_ from table_22860_1 where maghreb = \"maarifiense\"" + }, + { + "question": "How many actors are there?", + "context": "create table actor (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from actor" + }, + { + "question": "If the median income is $57,407, what is the per capita income?", + "context": "create table table_1840495_2 (per_capita_income varchar, median_house__hold_income varchar, PRIMARY KEY (per_capita_income))", + "answer": "select per_capita_income from table_1840495_2 where median_house__hold_income = \"$57,407\"" + }, + { + "question": "What is the name of the person whose date of death is 01-04-1954?", + "context": "create table table_11585313_1 (name varchar, date_of_death\u2020 varchar, PRIMARY KEY (name))", + "answer": "select name from table_11585313_1 where date_of_death\u2020 = \"01-04-1954\"" + }, + { + "question": "What nominees had a net vote of 34.46%?", + "context": "create table table_15162479_8 (nominee varchar, net_vote varchar, PRIMARY KEY (nominee))", + "answer": "select nominee from table_15162479_8 where net_vote = \"34.46%\"" + }, + { + "question": "What are the degrees conferred in \"San Francisco State University\" in 2001.", + "context": "create table degrees (id varchar, PRIMARY KEY (id)); create table campuses (id varchar, PRIMARY KEY (id))", + "answer": "select degrees from campuses as t1 join degrees as t2 on t1.id = t2.campus where t1.campus = \"san francisco state university\" and t2.year = 2001" + }, + { + "question": "Where is Interlake located?", + "context": "create table table_13759592_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_13759592_2 where institution = \"interlake\"" + }, + { + "question": "How many % same-sex marriages are marriages between men for 923?", + "context": "create table table_19614212_1 (_percentage_same_sex_marriages varchar, marriages_between_men varchar, PRIMARY KEY (_percentage_same_sex_marriages))", + "answer": "select count(_percentage_same_sex_marriages) from table_19614212_1 where marriages_between_men = 923" + }, + { + "question": "Show the hometowns shared by at least two teachers.", + "context": "create table teacher (hometown varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from teacher group by hometown having count(*) >= 2" + }, + { + "question": "What is the run time for the episode with 7.9 million viewers?", + "context": "create table table_2108684_1 (run_time varchar, viewers__in_millions_ varchar, PRIMARY KEY (run_time))", + "answer": "select run_time from table_2108684_1 where viewers__in_millions_ = \"7.9\"" + }, + { + "question": "Find the names of the channels that are broadcast in the morning.", + "context": "create table channel (name varchar, channel_id varchar, PRIMARY KEY (name)); create table broadcast (channel_id varchar, time_of_day varchar, PRIMARY KEY (channel_id))", + "answer": "select t1.name from channel as t1 join broadcast as t2 on t1.channel_id = t2.channel_id where t2.time_of_day = 'morning'" + }, + { + "question": "Name the first broadcast for tina malone and joe wilkinson", + "context": "create table table_23292220_17 (first_broadcast varchar, seans_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23292220_17 where seans_team = \"tina malone and joe wilkinson\"" + }, + { + "question": "Return all detention summaries.", + "context": "create table detention (detention_summary varchar, PRIMARY KEY (detention_summary))", + "answer": "select detention_summary from detention" + }, + { + "question": "If the incoming head coach is Carlos Azenha, what is the date of vacancy?", + "context": "create table table_27133147_3 (date_of_vacancy varchar, incoming_head_coach varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_27133147_3 where incoming_head_coach = \"carlos azenha\"" + }, + { + "question": "What is the Pinyin transcription for \"Alas for the Days Gone By\"?", + "context": "create table table_1805919_1 (transcription__based_on_pinyin_ varchar, english_translation varchar, PRIMARY KEY (transcription__based_on_pinyin_))", + "answer": "select transcription__based_on_pinyin_ from table_1805919_1 where english_translation = \"alas for the days gone by\"" + }, + { + "question": "what's the\u00a0dbeingtribution\u00a0with\u00a0rsbac\u00a0being unknown", + "context": "create table table_1357052_6 (distribution varchar, rsbac varchar, PRIMARY KEY (distribution))", + "answer": "select distribution from table_1357052_6 where rsbac = \"unknown\"" + }, + { + "question": "How many settlements are named \u0452\u0443\u0440\u0452\u0438\u043d (croatian: \u0111ur\u0111in)?", + "context": "create table table_2562572_26 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select count(settlement) from table_2562572_26 where cyrillic_name_other_names = \"\u0452\u0443\u0440\u0452\u0438\u043d (croatian: \u0111ur\u0111in)\"" + }, + { + "question": "Name who wrote the episode by lawrence trilling", + "context": "create table table_27504682_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27504682_1 where directed_by = \"lawrence trilling\"" + }, + { + "question": "When were 668 units produced?", + "context": "create table table_1245350_1 (production_period varchar, units_produced varchar, PRIMARY KEY (production_period))", + "answer": "select production_period from table_1245350_1 where units_produced = 668" + }, + { + "question": "How many times did Silas leave as a team manager?", + "context": "create table table_29414946_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select count(manner_of_departure) from table_29414946_3 where outgoing_manager = \"silas\"" + }, + { + "question": "What is saturday day seven when thursday day five is \u1210\u1219\u1235 hamus?", + "context": "create table table_1277350_7 (saturday_day_seven varchar, thursday_day_five varchar, PRIMARY KEY (saturday_day_seven))", + "answer": "select saturday_day_seven from table_1277350_7 where thursday_day_five = \"\u1210\u1219\u1235 hamus\"" + }, + { + "question": "How many season 3 appearances by the character played by Stefan Van Ray?", + "context": "create table table_26240046_1 (season_3 integer, played_by varchar, PRIMARY KEY (season_3))", + "answer": "select min(season_3) from table_26240046_1 where played_by = \"stefan van ray\"" + }, + { + "question": "List the names of technicians who have not been assigned to repair machines.", + "context": "create table technician (name varchar, technician_id varchar, PRIMARY KEY (name)); create table repair_assignment (name varchar, technician_id varchar, PRIMARY KEY (name))", + "answer": "select name from technician where not technician_id in (select technician_id from repair_assignment)" + }, + { + "question": "List the id of students who registered course statistics in the order of registration date.", + "context": "create table student_course_registrations (student_id varchar, course_id varchar, registration_date varchar, PRIMARY KEY (student_id)); create table courses (course_id varchar, course_name varchar, PRIMARY KEY (course_id))", + "answer": "select t2.student_id from courses as t1 join student_course_registrations as t2 on t1.course_id = t2.course_id where t1.course_name = \"statistics\" order by t2.registration_date" + }, + { + "question": "Find the names and publication dates of all catalogs that have catalog level number greater than 5.", + "context": "create table catalogs (catalog_name varchar, date_of_publication varchar, catalog_id varchar, PRIMARY KEY (catalog_name)); create table catalog_structure (catalog_id varchar, PRIMARY KEY (catalog_id))", + "answer": "select t1.catalog_name, t1.date_of_publication from catalogs as t1 join catalog_structure as t2 on t1.catalog_id = t2.catalog_id where catalog_level_number > 5" + }, + { + "question": "What is the document type code with most number of documents?", + "context": "create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents group by document_type_code order by count(*) desc limit 1" + }, + { + "question": "which country did participated in the most number of Tournament competitions?", + "context": "create table competition (country varchar, competition_type varchar, PRIMARY KEY (country))", + "answer": "select country from competition where competition_type = 'tournament' group by country order by count(*) desc limit 1" + }, + { + "question": "How many different titles are there of episodes that have been seen by 7.84 million people in the US/", + "context": "create table table_23242933_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_23242933_2 where us_viewers__millions_ = \"7.84\"" + }, + { + "question": "When 11:40:26 is the time (utc) what is the depth?", + "context": "create table table_24192190_1 (depth varchar, time__utc_ varchar, PRIMARY KEY (depth))", + "answer": "select depth from table_24192190_1 where time__utc_ = \"11:40:26\"" + }, + { + "question": "What conference does Gonzaga University play in?", + "context": "create table table_16078390_2 (primary_conference varchar, institution varchar, PRIMARY KEY (primary_conference))", + "answer": "select primary_conference from table_16078390_2 where institution = \"gonzaga university\"" + }, + { + "question": "What status of school is informatics international college?", + "context": "create table table_2589963_1 (status varchar, institution varchar, PRIMARY KEY (status))", + "answer": "select status from table_2589963_1 where institution = \"informatics international college\"" + }, + { + "question": "Name the successor for elected january 26, 1837", + "context": "create table table_225200_3 (successor varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (successor))", + "answer": "select count(successor) from table_225200_3 where date_of_successors_formal_installation = \"elected january 26, 1837\"" + }, + { + "question": "What is the pressure in ultra high vacuum?", + "context": "create table table_170097_1 (pressure_in_hpa__mbar_ varchar, vacuum_range varchar, PRIMARY KEY (pressure_in_hpa__mbar_))", + "answer": "select pressure_in_hpa__mbar_ from table_170097_1 where vacuum_range = \"ultra high vacuum\"" + }, + { + "question": "which shop has happy hour most frequently? List its id and number of happy hours.", + "context": "create table happy_hour (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select shop_id, count(*) from happy_hour group by shop_id order by count(*) desc limit 1" + }, + { + "question": "what is the song name for the film name ganga kare insaaf?", + "context": "create table table_11827596_2 (song_name varchar, film_name varchar, PRIMARY KEY (song_name))", + "answer": "select song_name from table_11827596_2 where film_name = \"ganga kare insaaf\"" + }, + { + "question": "What is the prize (eur) for the 6th division?", + "context": "create table table_20195922_3 (prize__eur_ varchar, divisions varchar, PRIMARY KEY (prize__eur_))", + "answer": "select prize__eur_ from table_20195922_3 where divisions = \"6th\"" + }, + { + "question": "Where is the headquarters of Alpha Nu Omega", + "context": "create table table_10054296_1 (headquarters varchar, member varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from table_10054296_1 where member = \"alpha nu omega\"" + }, + { + "question": "What is the leg for c. atkinson", + "context": "create table table_13050822_2 (leg varchar, rally_leader varchar, PRIMARY KEY (leg))", + "answer": "select leg from table_13050822_2 where rally_leader = \"c. atkinson\"" + }, + { + "question": "When did Jacques Chirac stop being a G8 leader?", + "context": "create table table_10026563_1 (ended_time_as_senior_g8_leader varchar, person varchar, PRIMARY KEY (ended_time_as_senior_g8_leader))", + "answer": "select ended_time_as_senior_g8_leader from table_10026563_1 where person = \"jacques chirac\"" + }, + { + "question": "Show the card type codes and the number of transactions.", + "context": "create table financial_transactions (card_id varchar, PRIMARY KEY (card_id)); create table customers_cards (card_type_code varchar, card_id varchar, PRIMARY KEY (card_type_code))", + "answer": "select t2.card_type_code, count(*) from financial_transactions as t1 join customers_cards as t2 on t1.card_id = t2.card_id group by t2.card_type_code" + }, + { + "question": "When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?", + "context": "create table table_18602462_21 (final__bronze_medal_match varchar, quarterfinals varchar, PRIMARY KEY (final__bronze_medal_match))", + "answer": "select final__bronze_medal_match from table_18602462_21 where quarterfinals = \"houdet ( fra ) w 6-2, 6-1\"" + }, + { + "question": "How many performances are there?", + "context": "create table performance (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from performance" + }, + { + "question": "Which mix artists have shlomo as artist 1?", + "context": "create table table_23649244_1 (mix_artist varchar, artist_1 varchar, PRIMARY KEY (mix_artist))", + "answer": "select mix_artist from table_23649244_1 where artist_1 = \"shlomo\"" + }, + { + "question": "On episodes where guest 1 is Jim White, who was guest 3?", + "context": "create table table_20466963_9 (guest_3 varchar, guest_1 varchar, PRIMARY KEY (guest_3))", + "answer": "select guest_3 from table_20466963_9 where guest_1 = \"jim white\"" + }, + { + "question": "When the away team was Carlton, who was the home team?", + "context": "create table table_16388545_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_16388545_1 where away_team = \"carlton\"" + }, + { + "question": "What is the understanding of the one that has \u03bd\u03bf\u1fe6\u03c2 nous reasoning?", + "context": "create table table_19760_1 (understanding varchar, reason varchar, PRIMARY KEY (understanding))", + "answer": "select understanding from table_19760_1 where reason = \"\u03bd\u03bf\u1fe6\u03c2 nous\"" + }, + { + "question": "Name the number of butters for 3 protein", + "context": "create table table_2493389_1 (butter varchar, protein__g_ varchar, PRIMARY KEY (butter))", + "answer": "select count(butter) from table_2493389_1 where protein__g_ = \"3\"" + }, + { + "question": "What is the title of the episode directed by Romeo Tirone?", + "context": "create table table_26961951_6 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_26961951_6 where directed_by = \"romeo tirone\"" + }, + { + "question": "what is the surface of the final which had score 6-2, 6-3", + "context": "create table table_1918850_2 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_1918850_2 where score_in_the_final = \"6-2, 6-3\"" + }, + { + "question": "Name the number of song for solydo", + "context": "create table table_19763199_5 (song varchar, artist varchar, PRIMARY KEY (song))", + "answer": "select count(song) from table_19763199_5 where artist = \"solydo\"" + }, + { + "question": "how many\u00a0country\u00a0with\u00a0currency name\u00a0being republika srpska dinar", + "context": "create table table_13681_2 (country varchar, currency_name varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_13681_2 where currency_name = \"republika srpska dinar\"" + }, + { + "question": "Name the record for charlotte", + "context": "create table table_23281862_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23281862_10 where team = \"charlotte\"" + }, + { + "question": "How many for percentages are there when the against percentage is 35,782 (69)?", + "context": "create table table_1289762_1 (for___percentage_ varchar, against___percentage_ varchar, PRIMARY KEY (for___percentage_))", + "answer": "select for___percentage_ from table_1289762_1 where against___percentage_ = \"35,782 (69)\"" + }, + { + "question": "What is the 3utr sequence when the genbank id is hq021437?", + "context": "create table table_14332822_1 (genbank_id varchar, PRIMARY KEY (genbank_id))", + "answer": "select 3 as \u2019utr_sequence from table_14332822_1 where genbank_id = \"hq021437\"" + }, + { + "question": "Name the mixed doubles for zhu lin", + "context": "create table table_14496232_2 (mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14496232_2 where womens_singles = \"zhu lin\"" + }, + { + "question": "Who won the tournament for the Atlantic Sun Conference?", + "context": "create table table_24248450_3 (tournament_winner varchar, conference varchar, PRIMARY KEY (tournament_winner))", + "answer": "select tournament_winner from table_24248450_3 where conference = \"atlantic sun conference\"" + }, + { + "question": "What is the acceleration 0-100km/h that was produced in 2002-2006?", + "context": "create table table_1857216_1 (acceleration_0_100km_h__0_62mph_ varchar, production varchar, PRIMARY KEY (acceleration_0_100km_h__0_62mph_))", + "answer": "select acceleration_0_100km_h__0_62mph_ from table_1857216_1 where production = \"2002-2006\"" + }, + { + "question": "Show the stadium name and the number of concerts in each stadium.", + "context": "create table stadium (name varchar, stadium_id varchar, PRIMARY KEY (name)); create table concert (stadium_id varchar, PRIMARY KEY (stadium_id))", + "answer": "select t2.name, count(*) from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id group by t1.stadium_id" + }, + { + "question": "Who were the opponents when the record was 11-2?", + "context": "create table table_22862203_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_22862203_2 where record = \"11-2\"" + }, + { + "question": "What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%", + "context": "create table table_1341522_50 (status varchar, opponent varchar, PRIMARY KEY (status))", + "answer": "select status from table_1341522_50 where opponent = \"doc hastings (r) 53.3% jay inslee (d) 46.7%\"" + }, + { + "question": "Where was the game played when the team's record was 1-3?", + "context": "create table table_11452830_2 (game_site varchar, record varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_11452830_2 where record = \"1-3\"" + }, + { + "question": "Which district is associated with the incumbent Carl Vinson?", + "context": "create table table_1342233_11 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342233_11 where incumbent = \"carl vinson\"" + }, + { + "question": "Who is the designer of the Christmas: Winter Fun (USA) stamp?", + "context": "create table table_11900773_6 (design varchar, theme varchar, PRIMARY KEY (design))", + "answer": "select design from table_11900773_6 where theme = \"christmas: winter fun (usa)\"" + }, + { + "question": "What is the record listed when the high assists is earl watson (6)?", + "context": "create table table_28768469_7 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_28768469_7 where high_assists = \"earl watson (6)\"" + }, + { + "question": "HOw many no votes were there when there were 45.60% yes votes", + "context": "create table table_256286_20 (no_votes integer, _percentage_yes varchar, PRIMARY KEY (no_votes))", + "answer": "select min(no_votes) from table_256286_20 where _percentage_yes = \"45.60%\"" + }, + { + "question": "List the names of phones that are not on any market.", + "context": "create table phone (name varchar, phone_id varchar, phone_id varchar, PRIMARY KEY (name)); create table phone_market (name varchar, phone_id varchar, phone_id varchar, PRIMARY KEY (name))", + "answer": "select name from phone where not phone_id in (select phone_id from phone_market)" + }, + { + "question": "Please show the record formats of orchestras in ascending order of count.", + "context": "create table orchestra (major_record_format varchar, PRIMARY KEY (major_record_format))", + "answer": "select major_record_format from orchestra group by major_record_format order by count(*)" + }, + { + "question": "What is other when registered voters is 50.7%?", + "context": "create table table_27003186_3 (other varchar, registered_voters varchar, PRIMARY KEY (other))", + "answer": "select other from table_27003186_3 where registered_voters = \"50.7%\"" + }, + { + "question": "Name the pe\u030dh-\u014de-j\u012b for \u524d\u91d1\u5340", + "context": "create table table_17015_2 (pe\u030dh_\u014de_j\u012b varchar, chinese varchar, PRIMARY KEY (pe\u030dh_\u014de_j\u012b))", + "answer": "select pe\u030dh_\u014de_j\u012b from table_17015_2 where chinese = \"\u524d\u91d1\u5340\"" + }, + { + "question": "What is the club when the chairman is roger lambrecht?", + "context": "create table table_27374004_2 (club varchar, chairman varchar, PRIMARY KEY (club))", + "answer": "select club from table_27374004_2 where chairman = \"roger lambrecht\"" + }, + { + "question": "What is the at Manhattan record against TCU?", + "context": "create table table_15740666_4 (at_manhattan varchar, kansas_state_vs varchar, PRIMARY KEY (at_manhattan))", + "answer": "select at_manhattan from table_15740666_4 where kansas_state_vs = \"tcu\"" + }, + { + "question": "What was the placing when the jockey was Damien Oliver?", + "context": "create table table_24915874_1 (placing varchar, jockey varchar, PRIMARY KEY (placing))", + "answer": "select placing from table_24915874_1 where jockey = \"damien oliver\"" + }, + { + "question": "How many object dates have origin in Samoa?", + "context": "create table table_29635868_1 (object_date varchar, origin varchar, PRIMARY KEY (object_date))", + "answer": "select count(object_date) from table_29635868_1 where origin = \"samoa\"" + }, + { + "question": "Who was the radio commentator when the final television commentator was John Dunn?", + "context": "create table table_17766232_7 (radio_commentator varchar, final_television_commentator varchar, PRIMARY KEY (radio_commentator))", + "answer": "select radio_commentator from table_17766232_7 where final_television_commentator = \"john dunn\"" + }, + { + "question": "What was the Overs score of the career played from 1993-2007?", + "context": "create table table_18914438_1 (overs varchar, career varchar, PRIMARY KEY (overs))", + "answer": "select overs from table_18914438_1 where career = \"1993-2007\"" + }, + { + "question": "What was spent per voter when total amount spent was 210,280,000?", + "context": "create table table_22097588_9 (spent_per_voter___php__ varchar, amount_spent___php__ varchar, PRIMARY KEY (spent_per_voter___php__))", + "answer": "select spent_per_voter___php__ from table_22097588_9 where amount_spent___php__ = \"210,280,000\"" + }, + { + "question": "Which language does the film AIRPORT POLLOCK use? List the language name.", + "context": "create table film (language_id varchar, title varchar, PRIMARY KEY (language_id)); create table language (name varchar, language_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from film as t1 join language as t2 on t1.language_id = t2.language_id where t1.title = 'airport pollock'" + }, + { + "question": "What is every bus type for the texture of fillrate?", + "context": "create table table_25005714_3 (bus_type varchar, texture___gt__s_ varchar, PRIMARY KEY (bus_type))", + "answer": "select bus_type from table_25005714_3 where texture___gt__s_ = \"fillrate\"" + }, + { + "question": "Show first name for all students with major 600.", + "context": "create table student (fname varchar, major varchar, PRIMARY KEY (fname))", + "answer": "select fname from student where major = 600" + }, + { + "question": "List all webkit versions when the major version was Safari 3, and the minor version was 3.1.2.", + "context": "create table table_24257833_4 (webkit_version varchar, major_version varchar, minor_version varchar, PRIMARY KEY (webkit_version))", + "answer": "select webkit_version from table_24257833_4 where major_version = \"safari 3\" and minor_version = \"3.1.2\"" + }, + { + "question": "who is the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being bud shuster (r) unopposed", + "context": "create table table_1341586_39 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1341586_39 where candidates = \"bud shuster (r) unopposed\"" + }, + { + "question": "How many orders have detail \"Second time\"?", + "context": "create table customer_orders (order_details varchar, PRIMARY KEY (order_details))", + "answer": "select count(*) from customer_orders where order_details = \"second time\"" + }, + { + "question": "What is the minimum 2007 USD in Kabardino-Balkaria?", + "context": "create table table_24364690_1 (federal_subjects varchar, PRIMARY KEY (federal_subjects))", + "answer": "select min(2007 as __usd_) from table_24364690_1 where federal_subjects = \"kabardino-balkaria\"" + }, + { + "question": "What is the role of the employee named Koby?", + "context": "create table roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description)); create table employees (role_code varchar, employee_name varchar, PRIMARY KEY (role_code))", + "answer": "select t1.role_description from roles as t1 join employees as t2 on t1.role_code = t2.role_code where t2.employee_name = \"koby\"" + }, + { + "question": "How many episodes have a premier date of july 24, 2006", + "context": "create table table_2140071_7 (external_link varchar, premier_date varchar, PRIMARY KEY (external_link))", + "answer": "select count(external_link) from table_2140071_7 where premier_date = \"july 24, 2006\"" + }, + { + "question": "Find the name of instructors who didn't teach any courses?", + "context": "create table teaches (name varchar, id varchar, PRIMARY KEY (name)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select name from instructor where not id in (select id from teaches)" + }, + { + "question": "How much was solidv4 when pacbio is $300 usd?", + "context": "create table table_127511_1 (solidv4 varchar, pacbio varchar, PRIMARY KEY (solidv4))", + "answer": "select solidv4 from table_127511_1 where pacbio = \"$300 usd\"" + }, + { + "question": "Name the explanation by rank is 10", + "context": "create table table_2026548_1 (explanation varchar, rank_by_time_in_office varchar, PRIMARY KEY (explanation))", + "answer": "select explanation from table_2026548_1 where rank_by_time_in_office = 10" + }, + { + "question": "What was the B.P. of club Halifax?", + "context": "create table table_19179465_1 (bp varchar, club varchar, PRIMARY KEY (bp))", + "answer": "select bp from table_19179465_1 where club = \"halifax\"" + }, + { + "question": "Name the air date for jay j. demopoulos", + "context": "create table table_24466855_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_24466855_1 where written_by = \"jay j. demopoulos\"" + }, + { + "question": "If the hometown is Windhoek, what is the represented?", + "context": "create table table_23576576_2 (represented varchar, hometown varchar, PRIMARY KEY (represented))", + "answer": "select represented from table_23576576_2 where hometown = \"windhoek\"" + }, + { + "question": "Show the name of colleges that have at least two players in descending alphabetical order.", + "context": "create table match_season (college varchar, PRIMARY KEY (college))", + "answer": "select college from match_season group by college having count(*) >= 2 order by college desc" + }, + { + "question": "What is the title that has 14.59 u.s. viewers (millions)?", + "context": "create table table_22078691_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22078691_2 where us_viewers__millions_ = \"14.59\"" + }, + { + "question": "whatis the gender wher ethe species is holland lop?", + "context": "create table table_26615633_3 (gender varchar, species varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_26615633_3 where species = \"holland lop\"" + }, + { + "question": "What is the weight of the bullet used in a Weatherby?", + "context": "create table table_16010376_1 (bullet_weight varchar, source varchar, PRIMARY KEY (bullet_weight))", + "answer": "select bullet_weight from table_16010376_1 where source = \"weatherby\"" + }, + { + "question": "What is the software with version 1.2.2.0?", + "context": "create table table_15038373_1 (software varchar, version varchar, PRIMARY KEY (software))", + "answer": "select software from table_15038373_1 where version = \"1.2.2.0\"" + }, + { + "question": "What is the description of the color used by least products?", + "context": "create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description)); create table products (color_code varchar, PRIMARY KEY (color_code))", + "answer": "select t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code group by t2.color_description order by count(*) limit 1" + }, + { + "question": "what is the bristol & n. som where the somerset is ashcott and shapwick?", + "context": "create table table_12043148_2 (bristol_ varchar, _n_som varchar, somerset varchar, PRIMARY KEY (bristol_))", + "answer": "select bristol_ & _n_som from table_12043148_2 where somerset = \"ashcott and shapwick\"" + }, + { + "question": "What is the gender of the junior high school is 24mm?", + "context": "create table table_13555999_1 (gender varchar, junior_high_school__12_15_yrs_ varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_13555999_1 where junior_high_school__12_15_yrs_ = \"24mm\"" + }, + { + "question": "What religious groups made up 0.72% of the Indian population in 2001?", + "context": "create table table_10710364_1 (religious_group varchar, population__percentage_2001 varchar, PRIMARY KEY (religious_group))", + "answer": "select religious_group from table_10710364_1 where population__percentage_2001 = \"0.72%\"" + }, + { + "question": "Name the area for administrative county being flintshire", + "context": "create table table_14925084_1 (area_1891__statute_acres_ varchar, administrative_county varchar, PRIMARY KEY (area_1891__statute_acres_))", + "answer": "select area_1891__statute_acres_ from table_14925084_1 where administrative_county = \"flintshire\"" + }, + { + "question": "Who were the pregame hosts when the sideline reporters were Steve Armitage and Brenda Irving?", + "context": "create table table_17628022_2 (pregame_host varchar, sideline_reporters varchar, PRIMARY KEY (pregame_host))", + "answer": "select pregame_host from table_17628022_2 where sideline_reporters = \"steve armitage and brenda irving\"" + }, + { + "question": "For couple Todd and Susie, what was the vote percentage?", + "context": "create table table_19744915_17 (vote_percentage varchar, couple varchar, PRIMARY KEY (vote_percentage))", + "answer": "select vote_percentage from table_19744915_17 where couple = \"todd and susie\"" + }, + { + "question": "Name the bulgarian for jullie hadden gehoord", + "context": "create table table_1841901_1 (bulgarian varchar, dutch varchar, PRIMARY KEY (bulgarian))", + "answer": "select bulgarian from table_1841901_1 where dutch = \"jullie hadden gehoord\"" + }, + { + "question": "What is the id and trade name of the medicines can interact with at least 3 enzymes?", + "context": "create table medicine (id varchar, trade_name varchar, PRIMARY KEY (id)); create table medicine_enzyme_interaction (medicine_id varchar, PRIMARY KEY (medicine_id))", + "answer": "select t1.id, t1.trade_name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id group by t1.id having count(*) >= 3" + }, + { + "question": "Give me the kickoff time of the game that was aired on CBS against the St. Louis Cardinals.", + "context": "create table table_11449311_2 (kickoff_ varchar, a_ varchar, tv varchar, opponent varchar, PRIMARY KEY (kickoff_))", + "answer": "select kickoff_[a_] from table_11449311_2 where tv = \"cbs\" and opponent = \"st. louis cardinals\"" + }, + { + "question": "Who was the class AAAAA in 2008-09?", + "context": "create table table_14603057_2 (class_aaaaa varchar, school_year varchar, PRIMARY KEY (class_aaaaa))", + "answer": "select class_aaaaa from table_14603057_2 where school_year = \"2008-09\"" + }, + { + "question": "When michigan technological university (ncaa) is the college, junior, or club team what is the nationality?", + "context": "create table table_1965650_9 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1965650_9 where college_junior_club_team = \"michigan technological university (ncaa)\"" + }, + { + "question": "Which manager was appointed on 08.06.2010?", + "context": "create table table_27091128_2 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27091128_2 where date_of_appointment = \"08.06.2010\"" + }, + { + "question": "What is total number of show times per dat for each cinema?", + "context": "create table schedule (show_times_per_day integer, cinema_id varchar, PRIMARY KEY (show_times_per_day)); create table cinema (name varchar, cinema_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, sum(t1.show_times_per_day) from schedule as t1 join cinema as t2 on t1.cinema_id = t2.cinema_id group by t1.cinema_id" + }, + { + "question": "How many titles were written by Don Shank and Genndy Tartakovsky?", + "context": "create table table_2156758_4 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_2156758_4 where written_by = \"don shank and genndy tartakovsky\"" + }, + { + "question": "How many episodes were directed by Tim Matheson?", + "context": "create table table_25740548_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_25740548_2 where directed_by = \"tim matheson\"" + }, + { + "question": "What prefixes are priced at pence per minute, fixed at all times with a premium of 3p/min?", + "context": "create table table_10408617_5 (prefixes varchar, scheme varchar, approx_premium varchar, PRIMARY KEY (prefixes))", + "answer": "select prefixes from table_10408617_5 where scheme = \"pence per minute, fixed at all times\" and approx_premium = \"3p/min\"" + }, + { + "question": "Show the names of trains and locations of railways they are in.", + "context": "create table railway (location varchar, railway_id varchar, PRIMARY KEY (location)); create table train (name varchar, railway_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t1.location from railway as t1 join train as t2 on t1.railway_id = t2.railway_id" + }, + { + "question": "Which episodes did Nelson McCormick direct?", + "context": "create table table_17355820_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_17355820_1 where directed_by = \"nelson mccormick\"" + }, + { + "question": "What was the original air date of the episode written by michael glassberg?", + "context": "create table table_26866299_1 (original_airdate varchar, writer varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_26866299_1 where writer = \"michael glassberg\"" + }, + { + "question": "Name the pinyin for \u062a\u0649\u0632\u0646\u0627\u067e", + "context": "create table table_2008069_2 (pinyin varchar, uyghur___k\u0322ona_yezik\u0322__ varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2008069_2 where uyghur___k\u0322ona_yezik\u0322__ = \"\u062a\u0649\u0632\u0646\u0627\u067e\"" + }, + { + "question": "How many high assists where there for the team of caja laboral?", + "context": "create table table_27756474_2 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_27756474_2 where team = \"caja laboral\"" + }, + { + "question": "What's the shank type of the buttonholer with red plastic box as storage case?", + "context": "create table table_28652521_1 (for_shank_type varchar, storage_case varchar, PRIMARY KEY (for_shank_type))", + "answer": "select for_shank_type from table_28652521_1 where storage_case = \"red plastic box\"" + }, + { + "question": "Find the phone number of all the customers and staff.", + "context": "create table staff (phone_number varchar, PRIMARY KEY (phone_number)); create table customers (phone_number varchar, PRIMARY KEY (phone_number))", + "answer": "select phone_number from customers union select phone_number from staff" + }, + { + "question": "Name the tongyong for chinese of \u6e56\u5167\u5340", + "context": "create table table_17015_2 (tongyong varchar, chinese varchar, PRIMARY KEY (tongyong))", + "answer": "select tongyong from table_17015_2 where chinese = \"\u6e56\u5167\u5340\"" + }, + { + "question": "Name the country when dar is 16:9 for italian english for disney xd +2", + "context": "create table table_15887683_9 (country varchar, television_service varchar, dar varchar, language varchar, PRIMARY KEY (country))", + "answer": "select country from table_15887683_9 where dar = \"16:9\" and language = \"italian english\" and television_service = \"disney xd +2\"" + }, + { + "question": "How many records have black knights points as 17?", + "context": "create table table_21091162_1 (record varchar, black_knights_points varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_21091162_1 where black_knights_points = 17" + }, + { + "question": "What is the maturity that has a coupon of exactly 0.726?", + "context": "create table table_21692771_1 (maturity varchar, coupon varchar, PRIMARY KEY (maturity))", + "answer": "select maturity from table_21692771_1 where coupon = \"0.726\"" + }, + { + "question": "Which location has 103.534 million passengers in 2011-12?", + "context": "create table table_18118221_1 (location varchar, total_passengers__millions__2011_12 varchar, PRIMARY KEY (location))", + "answer": "select location from table_18118221_1 where total_passengers__millions__2011_12 = \"103.534\"" + }, + { + "question": "How many countries has more than 2 car makers ?", + "context": "create table car_makers (country varchar, PRIMARY KEY (country)); create table countries (countryid varchar, PRIMARY KEY (countryid))", + "answer": "select count(*) from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) > 2" + }, + { + "question": "Name the total number of viewers for audience share in timeslot for 10.2%", + "context": "create table table_19834691_4 (viewers__millions_ varchar, audience_share_in_timeslot varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select count(viewers__millions_) from table_19834691_4 where audience_share_in_timeslot = \"10.2%\"" + }, + { + "question": "What political party for burton e. sweet?", + "context": "create table table_1342451_13 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342451_13 where incumbent = \"burton e. sweet\"" + }, + { + "question": "Show all locations with only 1 station.", + "context": "create table station (location varchar, PRIMARY KEY (location))", + "answer": "select location from station group by location having count(*) = 1" + }, + { + "question": "What type of cartridge is used by a Weatherby?", + "context": "create table table_16010376_1 (cartridge varchar, source varchar, PRIMARY KEY (cartridge))", + "answer": "select cartridge from table_16010376_1 where source = \"weatherby\"" + }, + { + "question": "Name the tigrinya for \u03c7ams-", + "context": "create table table_26919_6 (tigrinya varchar, arabic varchar, PRIMARY KEY (tigrinya))", + "answer": "select count(tigrinya) from table_26919_6 where arabic = \"\u03c7ams-\"" + }, + { + "question": "Which lava domes erupted or had a growth episode during the Holocene period?", + "context": "create table table_1081235_1 (name_of_lava_dome varchar, last_eruption_or_growth_episode varchar, PRIMARY KEY (name_of_lava_dome))", + "answer": "select name_of_lava_dome from table_1081235_1 where last_eruption_or_growth_episode = \"holocene\"" + }, + { + "question": "When fc schwandorf is the oberpfalz what is the oberbayern b?", + "context": "create table table_23224961_1 (oberbayern_b varchar, oberpfalz varchar, PRIMARY KEY (oberbayern_b))", + "answer": "select oberbayern_b from table_23224961_1 where oberpfalz = \"fc schwandorf\"" + }, + { + "question": "Which team was played when the high points was from Wallace (20)?", + "context": "create table table_11960944_4 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_11960944_4 where high_points = \"wallace (20)\"" + }, + { + "question": "What was the home team score when Brisbane lions was the home team?", + "context": "create table table_16388398_1 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16388398_1 where home_team = \"brisbane lions\"" + }, + { + "question": "What is the represent province for the contestant whose hometown is Woerden?", + "context": "create table table_27946889_2 (represent_province varchar, hometown varchar, PRIMARY KEY (represent_province))", + "answer": "select represent_province from table_27946889_2 where hometown = \"woerden\"" + }, + { + "question": "If the census ranking is 693 of 5,008, what is the status?", + "context": "create table table_171236_1 (status varchar, census_ranking varchar, PRIMARY KEY (status))", + "answer": "select status from table_171236_1 where census_ranking = \"693 of 5,008\"" + }, + { + "question": "What is the BBM when the strike rate is 42.2?", + "context": "create table table_19662262_6 (bbm varchar, strike_rate varchar, PRIMARY KEY (bbm))", + "answer": "select bbm from table_19662262_6 where strike_rate = \"42.2\"" + }, + { + "question": "What is the additional information in the song mera yaar bana hai dulha", + "context": "create table table_2528382_2 (additional_info varchar, song varchar, PRIMARY KEY (additional_info))", + "answer": "select additional_info from table_2528382_2 where song = \"mera yaar bana hai dulha\"" + }, + { + "question": "What was the title of the episode viewed by 5.03 million viewers?", + "context": "create table table_27987623_1 (title varchar, us_viewers__in_million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_27987623_1 where us_viewers__in_million_ = \"5.03\"" + }, + { + "question": "Name the number of package/option for sky primafila 24", + "context": "create table table_15887683_6 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))", + "answer": "select count(package_option) from table_15887683_6 where television_service = \"sky primafila 24\"" + }, + { + "question": "What are the names of representatives whose party is not \"Republican\"?", + "context": "create table representative (name varchar, party varchar, PRIMARY KEY (name))", + "answer": "select name from representative where party <> \"republican\"" + }, + { + "question": "which year was the original title \u10d2\u10d0\u10e6\u10db\u10d0 \u10dc\u10d0\u10de\u10d8\u10e0\u10d8", + "context": "create table table_18069789_1 (year_ varchar, e_ varchar, original_title varchar, PRIMARY KEY (year_))", + "answer": "select year_[e_] as __ceremony_ from table_18069789_1 where original_title = \"\u10d2\u10d0\u10e6\u10db\u10d0 \u10dc\u10d0\u10de\u10d8\u10e0\u10d8\"" + }, + { + "question": "what are the first name and last name of all candidates?", + "context": "create table candidates (candidate_id varchar, PRIMARY KEY (candidate_id)); create table people (first_name varchar, last_name varchar, person_id varchar, PRIMARY KEY (first_name))", + "answer": "select t2.first_name, t2.last_name from candidates as t1 join people as t2 on t1.candidate_id = t2.person_id" + }, + { + "question": "Name the date of vacancy for daniel uberti", + "context": "create table table_18522916_5 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_18522916_5 where outgoing_manager = \"daniel uberti\"" + }, + { + "question": "What is the name of the episode written by Sheila Lawrence & Henry Alonso Myers?", + "context": "create table table_12146637_1 (episode_title varchar, writer_s_ varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_12146637_1 where writer_s_ = \"sheila lawrence & henry alonso myers\"" + }, + { + "question": "How many titles does the episode written by Joe Toplyn have?", + "context": "create table table_25716397_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_25716397_1 where written_by = \"joe toplyn\"" + }, + { + "question": "What is the international use of the 1 \u0435\u0434\u0438\u043d\u0438\u0446\u0430 flag?", + "context": "create table table_29997112_3 (international_use varchar, flag_name varchar, PRIMARY KEY (international_use))", + "answer": "select international_use from table_29997112_3 where flag_name = \"1 \u0435\u0434\u0438\u043d\u0438\u0446\u0430\"" + }, + { + "question": "How many polls show different percentages for Tom Emmer and 38% for Matt Entenza?", + "context": "create table table_20032301_3 (tom_emmer__r_ varchar, matt_entenza__dfl_ varchar, PRIMARY KEY (tom_emmer__r_))", + "answer": "select count(tom_emmer__r_) from table_20032301_3 where matt_entenza__dfl_ = \"38%\"" + }, + { + "question": "What is the rate limit when budget plans (\u00a3m) is limit agreed?", + "context": "create table table_25316812_1 (rate_limit__p_ varchar, budget_plans__\u00a3m_ varchar, PRIMARY KEY (rate_limit__p_))", + "answer": "select rate_limit__p_ from table_25316812_1 where budget_plans__\u00a3m_ = \"limit agreed\"" + }, + { + "question": "Who placed fourth when the winner was Greg Hancock?", + "context": "create table table_21808535_1 (winner varchar, PRIMARY KEY (winner))", + "answer": "select 4 as th_placed from table_21808535_1 where winner = \"greg hancock\"" + }, + { + "question": "Where was the game against Atlanta Falcons held?", + "context": "create table table_14971788_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_14971788_1 where opponent = \"atlanta falcons\"" + }, + { + "question": "Who directed the episode with an audience of 14.11 million?", + "context": "create table table_27776266_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27776266_1 where us_viewers__million_ = \"14.11\"" + }, + { + "question": "Find the number of orchestras whose record format is \"CD\" or \"DVD\".", + "context": "create table orchestra (major_record_format varchar, PRIMARY KEY (major_record_format))", + "answer": "select count(*) from orchestra where major_record_format = \"cd\" or major_record_format = \"dvd\"" + }, + { + "question": "Who directed the eposide that was watched by 1.95 million US viewers?", + "context": "create table table_26736342_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_26736342_1 where us_viewers__millions_ = \"1.95\"" + }, + { + "question": "How many RolePlay actors played the same role as FlatSpin's Tracy Taylor?", + "context": "create table table_17827271_1 (roleplay varchar, flatspin varchar, PRIMARY KEY (roleplay))", + "answer": "select count(roleplay) from table_17827271_1 where flatspin = \"tracy taylor\"" + }, + { + "question": "Find the name of the instructors who taught C Programming course before.", + "context": "create table teaches (id varchar, course_id varchar, PRIMARY KEY (id)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from instructor as t1 join teaches as t2 on t1.id = t2.id join course as t3 on t2.course_id = t3.course_id where t3.title = 'c programming'" + }, + { + "question": "how many hometowns for faisal aden?", + "context": "create table table_29598261_1 (hometown varchar, name varchar, PRIMARY KEY (hometown))", + "answer": "select count(hometown) from table_29598261_1 where name = \"faisal aden\"" + }, + { + "question": "What type of school is Jefferson College of Health Sciences?", + "context": "create table table_2076608_1 (type varchar, school varchar, PRIMARY KEY (type))", + "answer": "select type from table_2076608_1 where school = \"jefferson college of health sciences\"" + }, + { + "question": "What is the LOA of Brindabella?", + "context": "create table table_25595209_1 (loa__metres_ varchar, yacht varchar, PRIMARY KEY (loa__metres_))", + "answer": "select loa__metres_ from table_25595209_1 where yacht = \"brindabella\"" + }, + { + "question": "For how many players from UTEP can one calculate how many years they've played for Jazz?", + "context": "create table table_11545282_6 (years_for_jazz varchar, school_club_team varchar, PRIMARY KEY (years_for_jazz))", + "answer": "select count(years_for_jazz) from table_11545282_6 where school_club_team = \"utep\"" + }, + { + "question": "What is the Spanish word for cas [\u02c8kas]?", + "context": "create table table_26614365_1 (spanish varchar, central varchar, PRIMARY KEY (spanish))", + "answer": "select spanish from table_26614365_1 where central = \"cas [\u02c8kas]\"" + }, + { + "question": "what was Casey Martin's minimum yearly earnings?", + "context": "create table table_1697190_2 (earnings___ integer, PRIMARY KEY (earnings___))", + "answer": "select min(earnings___) as $__ from table_1697190_2" + }, + { + "question": "Show all distinct publishers for books.", + "context": "create table book_club (publisher varchar, PRIMARY KEY (publisher))", + "answer": "select distinct publisher from book_club" + }, + { + "question": "Name the winning pilot for hungary", + "context": "create table table_20036882_2 (winning_pilot varchar, country varchar, PRIMARY KEY (winning_pilot))", + "answer": "select winning_pilot from table_20036882_2 where country = \"hungary\"" + }, + { + "question": "Please list all album titles in alphabetical order.", + "context": "create table album (title varchar, PRIMARY KEY (title))", + "answer": "select title from album order by title" + }, + { + "question": "Find the number of shops in each location.", + "context": "create table shop (location varchar, PRIMARY KEY (location))", + "answer": "select count(*), location from shop group by location" + }, + { + "question": "Name the number of international frieghts for domestic mail of 260", + "context": "create table table_1754531_4 (international_freight varchar, domestic_mail varchar, PRIMARY KEY (international_freight))", + "answer": "select count(international_freight) from table_1754531_4 where domestic_mail = 260" + }, + { + "question": "Name the colorado when alaska is connecticut", + "context": "create table table_17425749_1 (colorado varchar, alaska varchar, PRIMARY KEY (colorado))", + "answer": "select colorado from table_17425749_1 where alaska = \"connecticut\"" + }, + { + "question": "Name the number of playoffs for 3rd round", + "context": "create table table_2511876_1 (playoffs varchar, open_cup varchar, PRIMARY KEY (playoffs))", + "answer": "select count(playoffs) from table_2511876_1 where open_cup = \"3rd round\"" + }, + { + "question": "Name the number of cab size for 4 medium tanker", + "context": "create table table_2155350_2 (cab_size varchar, category varchar, PRIMARY KEY (cab_size))", + "answer": "select count(cab_size) from table_2155350_2 where category = \"4 medium tanker\"" + }, + { + "question": "How many times did the sounddock series II aux in?", + "context": "create table table_24384861_1 (aux_in varchar, version varchar, PRIMARY KEY (aux_in))", + "answer": "select count(aux_in) from table_24384861_1 where version = \"sounddock series ii\"" + }, + { + "question": "Name the most released for right here, right now", + "context": "create table table_24600706_1 (released integer, song varchar, PRIMARY KEY (released))", + "answer": "select max(released) from table_24600706_1 where song = \"right here, right now\"" + }, + { + "question": "Who were the challenge leaders of the games won by boston college (88-76)?", + "context": "create table table_29535057_4 (challenge_leader varchar, winner varchar, PRIMARY KEY (challenge_leader))", + "answer": "select challenge_leader from table_29535057_4 where winner = \"boston college (88-76)\"" + }, + { + "question": "Show student ids who don't have any sports.", + "context": "create table sportsinfo (stuid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student except select stuid from sportsinfo" + }, + { + "question": "How many socialists correspond to a 7.5% People's Party?", + "context": "create table table_1463383_1 (socialist varchar, peoples_party varchar, PRIMARY KEY (socialist))", + "answer": "select count(socialist) from table_1463383_1 where peoples_party = \"7.5%\"" + }, + { + "question": "Who was the GTU winning team when the TO winning team was #3 Camaro?", + "context": "create table table_13642023_2 (gtu_winning_team varchar, to_winning_team varchar, PRIMARY KEY (gtu_winning_team))", + "answer": "select gtu_winning_team from table_13642023_2 where to_winning_team = \"#3 camaro\"" + }, + { + "question": "What June 10-11 is is that corresponds to March 28, 1968?", + "context": "create table table_25284864_3 (june_10_11 varchar, march_27_29 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25284864_3 where march_27_29 = \"march 28, 1968\"" + }, + { + "question": "Where is Dwain Chambers from", + "context": "create table table_1231316_4 (location varchar, athlete varchar, PRIMARY KEY (location))", + "answer": "select location from table_1231316_4 where athlete = \"dwain chambers\"" + }, + { + "question": "What was the capacity for the Denver Broncos?", + "context": "create table table_28884858_2 (capacity_percentage varchar, team varchar, PRIMARY KEY (capacity_percentage))", + "answer": "select capacity_percentage from table_28884858_2 where team = \"denver broncos\"" + }, + { + "question": "What year did the team who played at the Scottrade Center leave the city?", + "context": "create table table_21564794_3 (left_st_louis integer, venue varchar, PRIMARY KEY (left_st_louis))", + "answer": "select min(left_st_louis) from table_21564794_3 where venue = \"scottrade center\"" + }, + { + "question": "what is the percentage for john kerry and dates administered is april 22, 2008?", + "context": "create table table_16751596_5 (democrat varchar, dates_administered varchar, PRIMARY KEY (democrat))", + "answer": "select democrat as :_john_kerry from table_16751596_5 where dates_administered = \"april 22, 2008\"" + }, + { + "question": "How many countries spent $83.7 billion on international tourism in 2012?", + "context": "create table table_29789_3 (_percentage_change varchar, international_tourism_expenditure_2012 varchar, PRIMARY KEY (_percentage_change))", + "answer": "select count(_percentage_change) from table_29789_3 where international_tourism_expenditure_2012 = \"$83.7 billion\"" + }, + { + "question": "what's the\u00a0fcc info\u00a0with\u00a0call sign\u00a0being w221aw", + "context": "create table table_13998897_1 (fcc_info varchar, call_sign varchar, PRIMARY KEY (fcc_info))", + "answer": "select fcc_info from table_13998897_1 where call_sign = \"w221aw\"" + }, + { + "question": "How many election results in 2012 had a Cook PVI of D+16?", + "context": "create table table_19283806_4 (cook_pvi varchar, PRIMARY KEY (cook_pvi))", + "answer": "select count(2012 as _election_results) from table_19283806_4 where cook_pvi = \"d+16\"" + }, + { + "question": "What is every value for Under-13 when value for Under-15 is Maria Elena Ubina?", + "context": "create table table_26368963_2 (under_13 varchar, under_15 varchar, PRIMARY KEY (under_13))", + "answer": "select under_13 from table_26368963_2 where under_15 = \"maria elena ubina\"" + }, + { + "question": "List the states which have between 2 to 4 staffs living there.", + "context": "create table addresses (state_province_county varchar, address_id varchar, PRIMARY KEY (state_province_county)); create table staff (staff_address_id varchar, PRIMARY KEY (staff_address_id))", + "answer": "select t1.state_province_county from addresses as t1 join staff as t2 on t1.address_id = t2.staff_address_id group by t1.state_province_county having count(*) between 2 and 4" + }, + { + "question": "Who is the director for the film title Eldra?", + "context": "create table table_26385848_1 (director varchar, film_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_26385848_1 where film_title = \"eldra\"" + }, + { + "question": "Namw the total number for domestic freight for international mail is larger than 1.0 with domestic mail for 260", + "context": "create table table_1754531_4 (domestic_freight varchar, international_mail varchar, domestic_mail varchar, PRIMARY KEY (domestic_freight))", + "answer": "select count(domestic_freight) from table_1754531_4 where international_mail > 1.0 and domestic_mail = 260" + }, + { + "question": "find the id of tv channels that do not play any cartoon directed by Ben Jones.", + "context": "create table tv_channel (id varchar, channel varchar, directed_by varchar, PRIMARY KEY (id)); create table cartoon (id varchar, channel varchar, directed_by varchar, PRIMARY KEY (id))", + "answer": "select id from tv_channel except select channel from cartoon where directed_by = 'ben jones'" + }, + { + "question": "What is the highest total for evm votes", + "context": "create table table_24051013_3 (total_evm_votes integer, PRIMARY KEY (total_evm_votes))", + "answer": "select max(total_evm_votes) from table_24051013_3" + }, + { + "question": "When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification?", + "context": "create table table_25055040_22 (sprint_classification varchar, youth_classification varchar, most_courageous varchar, PRIMARY KEY (sprint_classification))", + "answer": "select sprint_classification from table_25055040_22 where youth_classification = \"peter sagan\" and most_courageous = \"thomas rabou\"" + }, + { + "question": "What change caused a change of staff in March 9, 1865?", + "context": "create table table_2147588_3 (reason_for_change varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2147588_3 where date_of_successors_formal_installation = \"march 9, 1865\"" + }, + { + "question": "Who were the successors when the date the successors were installed was February 23, 1870?", + "context": "create table table_2417345_3 (successor varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2417345_3 where date_of_successors_formal_installation = \"february 23, 1870\"" + }, + { + "question": "What were the result(s) of the election featuring grace napolitano as the incumbent?", + "context": "create table table_1805191_6 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1805191_6 where incumbent = \"grace napolitano\"" + }, + { + "question": "How many drivers had the fastest lap at Silverstone?", + "context": "create table table_1137718_2 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))", + "answer": "select count(fastest_lap) from table_1137718_2 where location = \"silverstone\"" + }, + { + "question": "What is Inaba's maximum score?", + "context": "create table table_18595004_7 (inaba integer, PRIMARY KEY (inaba))", + "answer": "select max(inaba) from table_18595004_7" + }, + { + "question": "What is the English name of the country whose official native language is Dutch Papiamento?", + "context": "create table table_1008653_1 (country___exonym__ varchar, official_or_native_language_s___alphabet_script_ varchar, PRIMARY KEY (country___exonym__))", + "answer": "select country___exonym__ from table_1008653_1 where official_or_native_language_s___alphabet_script_ = \"dutch papiamento\"" + }, + { + "question": "What was the nominated film title of \u09b6\u09cd\u09af\u09be\u09ae\u09b2 \u099b\u09be\u09af\u09bc\u09be (shyamol chhaya)?", + "context": "create table table_17156199_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_17156199_1 where original_title = \"\u09b6\u09cd\u09af\u09be\u09ae\u09b2 \u099b\u09be\u09af\u09bc\u09be (shyamol chhaya)\"" + }, + { + "question": "How many viewers (in millions) watched the episode written by deidre shaw?", + "context": "create table table_22951088_3 (us_viewers__in_millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__in_millions_))", + "answer": "select us_viewers__in_millions_ from table_22951088_3 where written_by = \"deidre shaw\"" + }, + { + "question": "How many drivers won the Italian Grand Prix?", + "context": "create table table_1132600_3 (winning_driver varchar, grand_prix varchar, PRIMARY KEY (winning_driver))", + "answer": "select count(winning_driver) from table_1132600_3 where grand_prix = \"italian grand_prix\"" + }, + { + "question": "What is every school for the Adelaide location?", + "context": "create table table_22043925_1 (school varchar, location varchar, PRIMARY KEY (school))", + "answer": "select school from table_22043925_1 where location = \"adelaide\"" + }, + { + "question": "Name all the candidates vying for Albert Bustamante's seat.", + "context": "create table table_1341586_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341586_44 where incumbent = \"albert bustamante\"" + }, + { + "question": "Which mission number has alternate name 1962-f01", + "context": "create table table_191323_2 (mission_no varchar, alt_name varchar, PRIMARY KEY (mission_no))", + "answer": "select mission_no from table_191323_2 where alt_name = \"1962-f01\"" + }, + { + "question": "How many opengl have the ironlake ( clarkdale ) code name?", + "context": "create table table_25839957_5 (opengl varchar, code_name varchar, PRIMARY KEY (opengl))", + "answer": "select count(opengl) from table_25839957_5 where code_name = \"ironlake ( clarkdale )\"" + }, + { + "question": "Name the sepal width for i.virginica with petal length of 5.1", + "context": "create table table_10477224_1 (sepal_width varchar, species varchar, petal_length varchar, PRIMARY KEY (sepal_width))", + "answer": "select sepal_width from table_10477224_1 where species = \"i.virginica\" and petal_length = \"5.1\"" + }, + { + "question": "Find the country of origin for the artist who made the least number of songs?", + "context": "create table song (artist_name varchar, PRIMARY KEY (artist_name)); create table artist (country varchar, artist_name varchar, PRIMARY KEY (country))", + "answer": "select t1.country from artist as t1 join song as t2 on t1.artist_name = t2.artist_name group by t2.artist_name order by count(*) limit 1" + }, + { + "question": "What are all the reports where Paul Tracy had the fastest lap?", + "context": "create table table_11056278_3 (report varchar, fastest_lap varchar, PRIMARY KEY (report))", + "answer": "select report from table_11056278_3 where fastest_lap = \"paul tracy\"" + }, + { + "question": "Show the names and details of all the staff members.", + "context": "create table staff (name varchar, other_details varchar, PRIMARY KEY (name))", + "answer": "select name, other_details from staff" + }, + { + "question": "What is the current account balance for a GDP at current prices of 142.640?", + "context": "create table table_30133_1 (current_account_balance__percent_of_gdp_ varchar, gdp_at_current_prices__usd_billions_ varchar, PRIMARY KEY (current_account_balance__percent_of_gdp_))", + "answer": "select current_account_balance__percent_of_gdp_ from table_30133_1 where gdp_at_current_prices__usd_billions_ = \"142.640\"" + }, + { + "question": "Who had the fastest lap when the winning driver was kristian ghedina?", + "context": "create table table_26920192_5 (fastest_lap varchar, winning_driver varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_26920192_5 where winning_driver = \"kristian ghedina\"" + }, + { + "question": "list in alphabetic order all course names and their instructors' names in year 2008.", + "context": "create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table teaches (course_id varchar, id varchar, PRIMARY KEY (course_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.title, t3.name from course as t1 join teaches as t2 on t1.course_id = t2.course_id join instructor as t3 on t2.id = t3.id where year = 2008 order by t1.title" + }, + { + "question": "The province/city corregidor island (2) is where the lighthouse is located.", + "context": "create table table_25597136_1 (province_city varchar, lighthouse varchar, PRIMARY KEY (province_city))", + "answer": "select province_city from table_25597136_1 where lighthouse = \"corregidor island (2)\"" + }, + { + "question": "Who was the winning driver when the grand Prix was at Belgian Grand Prix?", + "context": "create table table_1137702_3 (winning_driver varchar, grand_prix varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137702_3 where grand_prix = \"belgian grand_prix\"" + }, + { + "question": "When was the new manager of the team on 21st position appointed?", + "context": "create table table_19359427_6 (date_of_appointment varchar, position_in_table varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_19359427_6 where position_in_table = \"21st\"" + }, + { + "question": "What is every population density if name is Beaubassin East?", + "context": "create table table_26321719_1 (population_density varchar, name varchar, PRIMARY KEY (population_density))", + "answer": "select population_density from table_26321719_1 where name = \"beaubassin east\"" + }, + { + "question": "What is the gender of the teacher with last name \"Medhurst\"?", + "context": "create table teachers (gender varchar, last_name varchar, PRIMARY KEY (gender))", + "answer": "select gender from teachers where last_name = \"medhurst\"" + }, + { + "question": "For the episode(s) aired in the U.S. on 4 april 2008, what were the names?", + "context": "create table table_10935205_1 (title varchar, us_airdate varchar, PRIMARY KEY (title))", + "answer": "select title from table_10935205_1 where us_airdate = \"4 april 2008\"" + }, + { + "question": "How many viewers did the episode written by Warren Lieberstein & Halsted Sullivan have?", + "context": "create table table_17482534_1 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_17482534_1 where written_by = \"warren lieberstein & halsted sullivan\"" + }, + { + "question": "Which club has the most members majoring in \"600\"?", + "context": "create table student (stuid varchar, major varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname))", + "answer": "select t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.major = \"600\" group by t1.clubname order by count(*) desc limit 1" + }, + { + "question": "Who are the candidates in the race where Wright Patman is the incumbent?", + "context": "create table table_1342315_42 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342315_42 where incumbent = \"wright patman\"" + }, + { + "question": "Who is the opponent in the match with final score 3\u20136, 4\u20136, 7\u20135, 4\u20136?", + "context": "create table table_22839669_1 (opponent_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponent_in_the_final))", + "answer": "select opponent_in_the_final from table_22839669_1 where score_in_the_final = \"3\u20136, 4\u20136, 7\u20135, 4\u20136\"" + }, + { + "question": "Show the most common nationality for journalists.", + "context": "create table journalist (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from journalist group by nationality order by count(*) desc limit 1" + }, + { + "question": "Name the number of judges for dr\u00e9 steemans ann van elsen", + "context": "create table table_16884579_1 (judges varchar, host_s_ varchar, PRIMARY KEY (judges))", + "answer": "select count(judges) from table_16884579_1 where host_s_ = \"dr\u00e9 steemans ann van elsen\"" + }, + { + "question": "How many stations own Bounce TV?", + "context": "create table table_1404984_1 (station_ownership varchar, network varchar, PRIMARY KEY (station_ownership))", + "answer": "select count(station_ownership) from table_1404984_1 where network = \"bounce tv\"" + }, + { + "question": "what's the\u00a03rd day\u00a0with\u00a0finbeingh position\u00a0being 16th", + "context": "create table table_1340667_3 (finish_position varchar, PRIMARY KEY (finish_position))", + "answer": "select 3 as rd_day from table_1340667_3 where finish_position = \"16th\"" + }, + { + "question": "When hit by sam at 38,500 feet just after bomb release was the cause of loss what is the mission/target?", + "context": "create table table_18933037_3 (mission_target varchar, cause_of_loss varchar, PRIMARY KEY (mission_target))", + "answer": "select mission_target from table_18933037_3 where cause_of_loss = \"hit by sam at 38,500 feet just after bomb release\"" + }, + { + "question": "What is the maximum fc matches?", + "context": "create table table_1176371_1 (fc_matches integer, PRIMARY KEY (fc_matches))", + "answer": "select max(fc_matches) from table_1176371_1" + }, + { + "question": "How many figures are given for the New Democratic for the polling range May 11\u201331, 2010?", + "context": "create table table_24778847_2 (new_democratic varchar, date_of_polling varchar, PRIMARY KEY (new_democratic))", + "answer": "select count(new_democratic) from table_24778847_2 where date_of_polling = \"may 11\u201331, 2010\"" + }, + { + "question": "How many products are there?", + "context": "create table products (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from products" + }, + { + "question": "Who wrote the episode directed by Jos Humphrey that had an original Canadian air date that was unknown and a United States original air date of August 27, 2011?", + "context": "create table table_29087004_2 (written_by varchar, united_states_original_airdate varchar, directed_by varchar, canada_original_airdate varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29087004_2 where directed_by = \"jos humphrey\" and canada_original_airdate = \"unknown\" and united_states_original_airdate = \"august 27, 2011\"" + }, + { + "question": "Find the number of players for each hand type.", + "context": "create table players (hand varchar, PRIMARY KEY (hand))", + "answer": "select count(*), hand from players group by hand" + }, + { + "question": "How had the high points when the high assists were from J. Johnson (7)?", + "context": "create table table_11961582_10 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_11961582_10 where high_assists = \"j. johnson (7)\"" + }, + { + "question": "What is the average and total transaction amount?", + "context": "create table financial_transactions (transaction_amount integer, PRIMARY KEY (transaction_amount))", + "answer": "select avg(transaction_amount), sum(transaction_amount) from financial_transactions" + }, + { + "question": "what is the state for reason for change is resigned may 15, 1820?", + "context": "create table table_225099_3 (state__class_ varchar, reason_for_change varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_225099_3 where reason_for_change = \"resigned may 15, 1820\"" + }, + { + "question": "What are the nationalities that are shared by at least two people?", + "context": "create table people (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from people group by nationality having count(*) >= 2" + }, + { + "question": "List the distinct police forces of counties whose location is not on east side.", + "context": "create table county_public_safety (police_force varchar, location varchar, PRIMARY KEY (police_force))", + "answer": "select distinct police_force from county_public_safety where location <> \"east\"" + }, + { + "question": "what are all the open 1st viii with u15 4th iv being gt", + "context": "create table table_11318462_5 (open_1st_viii varchar, u15_4th_iv varchar, PRIMARY KEY (open_1st_viii))", + "answer": "select open_1st_viii from table_11318462_5 where u15_4th_iv = \"gt\"" + }, + { + "question": "When tim mack is on team usa what is the progressive total?", + "context": "create table table_19072602_3 (progressive_total varchar, team_usa varchar, PRIMARY KEY (progressive_total))", + "answer": "select progressive_total from table_19072602_3 where team_usa = \"tim mack\"" + }, + { + "question": "What is the code of the school where the accounting department belongs to?", + "context": "create table department (school_code varchar, dept_name varchar, PRIMARY KEY (school_code))", + "answer": "select school_code from department where dept_name = \"accounting\"" + }, + { + "question": "What is the family of the constellation that has lyncis /\u02c8l\u026ans\u0268s/ as genitive?", + "context": "create table table_287159_1 (family varchar, genitive varchar, PRIMARY KEY (family))", + "answer": "select family from table_287159_1 where genitive = \"lyncis /\u02c8l\u026ans\u0268s/\"" + }, + { + "question": "Who is every vacator with reason for change as resigned December 31, 1959?", + "context": "create table table_2159571_2 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_2159571_2 where reason_for_change = \"resigned december 31, 1959\"" + }, + { + "question": "How many times was team 1 the wykeham wonderers?", + "context": "create table table_18733480_1 (players_left_after_round_1 varchar, team_1 varchar, PRIMARY KEY (players_left_after_round_1))", + "answer": "select count(players_left_after_round_1) from table_18733480_1 where team_1 = \"wykeham wonderers\"" + }, + { + "question": "display the department name and number of employees in each of the department.", + "context": "create table employees (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select department_name, count(*) from employees as t1 join departments as t2 on t1.department_id = t2.department_id group by department_name" + }, + { + "question": "What is the modified torque (lb/ft) when the standard hp n/a?", + "context": "create table table_19704392_1 (modified_torque__lb_ft_ varchar, standard_hp varchar, PRIMARY KEY (modified_torque__lb_ft_))", + "answer": "select count(modified_torque__lb_ft_) from table_19704392_1 where standard_hp = \"n/a\"" + }, + { + "question": "What is the 20 year for Sulfur Hexafluoride?", + "context": "create table table_21350772_2 (gas_name varchar, PRIMARY KEY (gas_name))", + "answer": "select 20 as _yr from table_21350772_2 where gas_name = \"sulfur hexafluoride\"" + }, + { + "question": "what is the total number of reasons for change where the date the successor was seated is june 8, 1876?", + "context": "create table table_2192067_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_2192067_4 where date_successor_seated = \"june 8, 1876\"" + }, + { + "question": "What is every value for % 20-39 if % 60-74 is 10,46%?", + "context": "create table table_23606500_4 (_percentage_20_39 varchar, _percentage_60_74 varchar, PRIMARY KEY (_percentage_20_39))", + "answer": "select _percentage_20_39 from table_23606500_4 where _percentage_60_74 = \"10,46%\"" + }, + { + "question": "What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover?", + "context": "create table table_20042805_2 (hadeda_ibis varchar, whitefaced_duck varchar, PRIMARY KEY (hadeda_ibis))", + "answer": "select hadeda_ibis from table_20042805_2 where whitefaced_duck = \"blacksmith plover\"" + }, + { + "question": "What record was set when the result/game was montreal 20 @ ottawa 10?", + "context": "create table table_21436373_8 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_8 where result_games = \"montreal 20 @ ottawa 10\"" + }, + { + "question": "who directed the episode that have 0.25 million u.s viewers", + "context": "create table table_29803475_3 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29803475_3 where us_viewers__million_ = \"0.25\"" + }, + { + "question": "what are all the adversary where the beginning is 1899", + "context": "create table table_2846320_4 (rival varchar, first_meeting varchar, PRIMARY KEY (rival))", + "answer": "select rival from table_2846320_4 where first_meeting = 1899" + }, + { + "question": "Who was the cover model when the issue's pictorials was pmoy - sara jean underwood?", + "context": "create table table_1566852_8 (cover_model varchar, pictorials varchar, PRIMARY KEY (cover_model))", + "answer": "select cover_model from table_1566852_8 where pictorials = \"pmoy - sara jean underwood\"" + }, + { + "question": "What is the percent for in manitoba?", + "context": "create table table_120778_1 (percent_for varchar, jurisdiction varchar, PRIMARY KEY (percent_for))", + "answer": "select percent_for from table_120778_1 where jurisdiction = \"manitoba\"" + }, + { + "question": "What is the position of tickets sold/available when the sellout is 82%?", + "context": "create table table_16331025_2 (tickets_sold___available varchar, sellout___percentage_ varchar, PRIMARY KEY (tickets_sold___available))", + "answer": "select count(tickets_sold___available) from table_16331025_2 where sellout___percentage_ = \"82%\"" + }, + { + "question": "Hom many albums does the artist \"Metallica\" have?", + "context": "create table artist (artistid varchar, name varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid))", + "answer": "select count(*) from album as t1 join artist as t2 on t1.artistid = t2.artistid where t2.name = \"metallica\"" + }, + { + "question": "Find the branch names of banks in the New York state.", + "context": "create table bank (bname varchar, state varchar, PRIMARY KEY (bname))", + "answer": "select bname from bank where state = 'new york'" + }, + { + "question": "Show ids for all transactions whose amounts are greater than the average.", + "context": "create table financial_transactions (transaction_id varchar, transaction_amount integer, PRIMARY KEY (transaction_id))", + "answer": "select transaction_id from financial_transactions where transaction_amount > (select avg(transaction_amount) from financial_transactions)" + }, + { + "question": "what type of record was made where result/games is 10 games (29,606 avg.)", + "context": "create table table_21436373_12 (type_of_record varchar, result_games varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_12 where result_games = \"10 games (29,606 avg.)\"" + }, + { + "question": "What was the date of appointment for the manager replacing Kadir \u00d6zcan?", + "context": "create table table_27091128_2 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27091128_2 where outgoing_manager = \"kadir \u00f6zcan\"" + }, + { + "question": "What is the variant when Alexander was the bodybuilder?", + "context": "create table table_28035004_1 (variant varchar, bodybuilder varchar, PRIMARY KEY (variant))", + "answer": "select variant from table_28035004_1 where bodybuilder = \"alexander\"" + }, + { + "question": "Which title, directed by David Kendall, had 3.7 million viewers?", + "context": "create table table_18054886_1 (title varchar, viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_18054886_1 where viewers__millions_ = \"3.7\" and directed_by = \"david kendall\"" + }, + { + "question": "If Safari is 3.76%, what is the other Mozilla amount?", + "context": "create table table_1876262_10 (other_mozilla varchar, safari varchar, PRIMARY KEY (other_mozilla))", + "answer": "select other_mozilla from table_1876262_10 where safari = \"3.76%\"" + }, + { + "question": "Which school would you come across if you were in Kirksville?", + "context": "create table table_2076463_2 (school varchar, location_s_ varchar, PRIMARY KEY (school))", + "answer": "select school from table_2076463_2 where location_s_ = \"kirksville\"" + }, + { + "question": "state el canal de las estrellas where ma\u00f1ana es para siempre is impreuna pentru totdeauna", + "context": "create table table_18498743_1 (el_canal_de_las_estrellas varchar, ma\u00f1ana_es_para_siempre varchar, PRIMARY KEY (el_canal_de_las_estrellas))", + "answer": "select el_canal_de_las_estrellas from table_18498743_1 where ma\u00f1ana_es_para_siempre = \"impreuna pentru totdeauna\"" + }, + { + "question": "What is the density of yushan county?", + "context": "create table table_1300525_1 (density varchar, english_name varchar, PRIMARY KEY (density))", + "answer": "select count(density) from table_1300525_1 where english_name = \"yushan county\"" + }, + { + "question": "What's the overall record of the team with 4-3 road record?", + "context": "create table table_22993636_2 (overall_record varchar, road_record varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_22993636_2 where road_record = \"4-3\"" + }, + { + "question": "How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?", + "context": "create table table_1341640_11 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341640_11 where candidates = \"newt gingrich (r) 59.1% dock h. davis (d) 40.9%\"" + }, + { + "question": "Name the date of birth for 27/07/86", + "context": "create table table_22705586_1 (name varchar, date_of_birth varchar, PRIMARY KEY (name))", + "answer": "select name from table_22705586_1 where date_of_birth = \"27/07/86\"" + }, + { + "question": "Name who directed the episode by joe sachs and david zabel", + "context": "create table table_17355743_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_17355743_1 where written_by = \"joe sachs and david zabel\"" + }, + { + "question": "What was the premiere date for the episode whose alternate title was mi\u0142o\u015b\u0107 i przeznaczenie?", + "context": "create table table_29799700_2 (series_premiere varchar, alternante_title varchar, PRIMARY KEY (series_premiere))", + "answer": "select series_premiere from table_29799700_2 where alternante_title = \"mi\u0142o\u015b\u0107 i przeznaczenie\"" + }, + { + "question": "What is the director name is the U.S. viewers is 2.22 million?", + "context": "create table table_23399481_2 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23399481_2 where us_viewers__in_millions_ = \"2.22\"" + }, + { + "question": "What are all the distinct premise types?", + "context": "create table premises (premises_type varchar, PRIMARY KEY (premises_type))", + "answer": "select distinct premises_type from premises" + }, + { + "question": "Who wrote the episode that aired on September 26, 2010?", + "context": "create table table_27169029_1 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_27169029_1 where original_air_date = \"september 26, 2010\"" + }, + { + "question": "What were the years active where Asian Cup played as a captain is Iran 1976?", + "context": "create table table_272865_20 (years_active varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (years_active))", + "answer": "select years_active from table_272865_20 where asian_cup_played_as_a_captain = \"iran 1976\"" + }, + { + "question": "What is every origin for the destination of Manchester?", + "context": "create table table_3005999_1 (origin varchar, destination varchar, PRIMARY KEY (origin))", + "answer": "select origin from table_3005999_1 where destination = \"manchester\"" + }, + { + "question": "Show all destinations and the number of flights to each destination.", + "context": "create table flight (destination varchar, PRIMARY KEY (destination))", + "answer": "select destination, count(*) from flight group by destination" + }, + { + "question": "Who build the boat where Ken Read was the skipper?", + "context": "create table table_19872699_1 (builder varchar, skipper varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_19872699_1 where skipper = \"ken read\"" + }, + { + "question": "How many Spanish word is there for the Portuguese bem-vindo?", + "context": "create table table_26614365_5 (spanish varchar, portuguese varchar, PRIMARY KEY (spanish))", + "answer": "select count(spanish) from table_26614365_5 where portuguese = \"bem-vindo\"" + }, + { + "question": "What is the id of the product that is booked for 3 times?", + "context": "create table products_booked (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select product_id from products_booked group by product_id having count(*) = 3" + }, + { + "question": "What was the epicenter latitude for the quake that started at 17:09?", + "context": "create table table_25643046_1 (epicentre__lat varchar, _s_ varchar, origin_time varchar, PRIMARY KEY (epicentre__lat))", + "answer": "select epicentre__lat, _s_ from table_25643046_1 where origin_time = \"17:09\"" + }, + { + "question": "Show ids for all templates that are used by more than one document.", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id))", + "answer": "select template_id from documents group by template_id having count(*) > 1" + }, + { + "question": "What is the average ROM size of phones produced by the company named \"Nokia Corporation\"?", + "context": "create table phone (chip_model varchar, company_name varchar, PRIMARY KEY (chip_model)); create table chip_model (rom_mib integer, model_name varchar, PRIMARY KEY (rom_mib))", + "answer": "select avg(t1.rom_mib) from chip_model as t1 join phone as t2 on t1.model_name = t2.chip_model where t2.company_name = \"nokia corporation\"" + }, + { + "question": "Which play-by-play has mike milbury as the studio analyst and darren pang as the ice level reporters?", + "context": "create table table_22485543_1 (play_by_play varchar, studio_analysts varchar, ice_level_reporters varchar, PRIMARY KEY (play_by_play))", + "answer": "select play_by_play from table_22485543_1 where studio_analysts = \"mike milbury\" and ice_level_reporters = \"darren pang\"" + }, + { + "question": "Name the party/s when the polling percentage was 6.3% in Dec 2008.", + "context": "create table table_23680576_2 (party varchar, dec_2008 varchar, PRIMARY KEY (party))", + "answer": "select party from table_23680576_2 where dec_2008 = \"6.3%\"" + }, + { + "question": "Name the opponent for 11-1", + "context": "create table table_22847880_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_22847880_2 where record = \"11-1\"" + }, + { + "question": "What is the lowest number of states contested under apna dal?", + "context": "create table table_22582663_1 (states_contested integer, party_name varchar, PRIMARY KEY (states_contested))", + "answer": "select min(states_contested) from table_22582663_1 where party_name = \"apna dal\"" + }, + { + "question": "How many airports are there per country? Order the countries by decreasing number of airports.", + "context": "create table airports (country varchar, PRIMARY KEY (country))", + "answer": "select count(*), country from airports group by country order by count(*) desc" + }, + { + "question": "How many episodes aired on february 13, 1954?", + "context": "create table table_15824796_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_15824796_3 where original_air_date = \"february 13, 1954\"" + }, + { + "question": "Find the most prominent max page size among all the products.", + "context": "create table product (max_page_size varchar, PRIMARY KEY (max_page_size))", + "answer": "select max_page_size from product group by max_page_size order by count(*) desc limit 1" + }, + { + "question": "Who won the Men's Doubles when Guo Xin won the Women's Singles?", + "context": "create table table_12164707_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12164707_1 where womens_singles = \"guo xin\"" + }, + { + "question": "What is the unemployment rate for the county with a market income per capita of $20,958?", + "context": "create table table_22815568_2 (unemployment_rate varchar, market_income_per_capita varchar, PRIMARY KEY (unemployment_rate))", + "answer": "select count(unemployment_rate) from table_22815568_2 where market_income_per_capita = \"$20,958\"" + }, + { + "question": "Name the original air date for 7 1-07", + "context": "create table table_24222929_4 (original_airdate varchar, episode_number_production_number varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_24222929_4 where episode_number_production_number = \"7 1-07\"" + }, + { + "question": "What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)?", + "context": "create table table_2155836_1 (population__millions varchar, _2011_ varchar, hdi__2011_ varchar, PRIMARY KEY (population__millions))", + "answer": "select population__millions, _2011_ from table_2155836_1 where hdi__2011_ = \"0.453 (low)\"" + }, + { + "question": "Name the bush% for where others # is 90", + "context": "create table table_1733457_1 (bush_percentage varchar, others_number varchar, PRIMARY KEY (bush_percentage))", + "answer": "select bush_percentage from table_1733457_1 where others_number = 90" + }, + { + "question": "What is the \u00a31 fraction when the reverse is hare?", + "context": "create table table_1682865_1 (\u00a31_fraction varchar, reverse varchar, PRIMARY KEY (\u00a31_fraction))", + "answer": "select \u00a31_fraction from table_1682865_1 where reverse = \"hare\"" + }, + { + "question": "How many providers are there where the resale category is yes and bandwith is up is 1024?", + "context": "create table table_1773908_3 (provider varchar, resale varchar, up__up_to_kbit_s_ varchar, PRIMARY KEY (provider))", + "answer": "select count(provider) from table_1773908_3 where resale = \"yes\" and up__up_to_kbit_s_ = 1024" + }, + { + "question": "which affiliation is james h. morrison part of", + "context": "create table table_1341930_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341930_18 where incumbent = \"james h. morrison\"" + }, + { + "question": "Name the total number of moto2 winners for laguna seca", + "context": "create table table_27948565_1 (moto2_winner varchar, circuit varchar, PRIMARY KEY (moto2_winner))", + "answer": "select count(moto2_winner) from table_27948565_1 where circuit = \"laguna seca\"" + }, + { + "question": "Who is the operator to Highbury & Islington?", + "context": "create table table_1612760_1 (operator varchar, destination varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_1612760_1 where destination = \"highbury & islington\"" + }, + { + "question": "How many backgrounds are there represented from Memphis, Tennessee?", + "context": "create table table_1289860_2 (background varchar, hometown varchar, PRIMARY KEY (background))", + "answer": "select count(background) from table_1289860_2 where hometown = \"memphis, tennessee\"" + }, + { + "question": "What candidates ran in the election when john s. wood was the incumbent?", + "context": "create table table_1342331_11 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342331_11 where incumbent = \"john s. wood\"" + }, + { + "question": "Who replaced when position in table is pre-season?", + "context": "create table table_10592536_8 (replaced_by varchar, position_in_table varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_10592536_8 where position_in_table = \"pre-season\"" + }, + { + "question": "Show the school name and type for schools without a school bus.", + "context": "create table school_bus (school varchar, type varchar, school_id varchar, PRIMARY KEY (school)); create table school (school varchar, type varchar, school_id varchar, PRIMARY KEY (school))", + "answer": "select school, type from school where not school_id in (select school_id from school_bus)" + }, + { + "question": "what's the\u00a0chroma format\u00a0with\u00a0scalable modes\u00a0being snr- or spatial-scalable and\u00a0intra dc precbeingion\u00a0being 8, 9, 10", + "context": "create table table_1376890_2 (chroma_format varchar, scalable_modes varchar, intra_dc_precision varchar, PRIMARY KEY (chroma_format))", + "answer": "select chroma_format from table_1376890_2 where scalable_modes = \"snr- or spatial-scalable\" and intra_dc_precision = \"8, 9, 10\"" + }, + { + "question": "What is the language of the malacca fm station?", + "context": "create table table_1601792_3 (language varchar, station varchar, PRIMARY KEY (language))", + "answer": "select language from table_1601792_3 where station = \"malacca fm\"" + }, + { + "question": "What is the cpu of the calculator released in 1993?", + "context": "create table table_11703336_1 (cpu varchar, year_released varchar, PRIMARY KEY (cpu))", + "answer": "select cpu from table_11703336_1 where year_released = \"1993\"" + }, + { + "question": "Name the crew chief for rhonda thorson", + "context": "create table table_24535095_2 (crew_chief varchar, listed_owner_s_ varchar, PRIMARY KEY (crew_chief))", + "answer": "select crew_chief from table_24535095_2 where listed_owner_s_ = \"rhonda thorson\"" + }, + { + "question": "How many appointed archbishops were ordained as priests on December 20, 1959", + "context": "create table table_1656555_1 (appointed varchar, ordained_priest varchar, PRIMARY KEY (appointed))", + "answer": "select count(appointed) as archbishop from table_1656555_1 where ordained_priest = \"december 20, 1959\"" + }, + { + "question": "What is the color of the grape whose wine products has the highest average price?", + "context": "create table grapes (color varchar, grape varchar, PRIMARY KEY (color)); create table wine (grape varchar, PRIMARY KEY (grape))", + "answer": "select t1.color from grapes as t1 join wine as t2 on t1.grape = t2.grape group by t2.grape order by avg(price) desc limit 1" + }, + { + "question": "what is the pole position for france?", + "context": "create table table_29686983_1 (pole_position varchar, country varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_29686983_1 where country = \"france\"" + }, + { + "question": "List all role codes, role names, and role descriptions.", + "context": "create table roles (role_code varchar, role_name varchar, role_description varchar, PRIMARY KEY (role_code))", + "answer": "select role_code, role_name, role_description from roles" + }, + { + "question": "Name the awardees for best special effects", + "context": "create table table_24446718_3 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_24446718_3 where name_of_award = \"best special effects\"" + }, + { + "question": "How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6\u20132, 3\u20136, 5\u20137?", + "context": "create table table_17289604_38 (athlete varchar, round_of_64 varchar, PRIMARY KEY (athlete))", + "answer": "select count(athlete) from table_17289604_38 where round_of_64 = \"llagostera vives ( esp ) l 6\u20132, 3\u20136, 5\u20137\"" + }, + { + "question": "Find the number of songs in all the studio albums.", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table albums (aid varchar, PRIMARY KEY (aid)); create table tracklists (albumid varchar, songid varchar, PRIMARY KEY (albumid))", + "answer": "select count(distinct t3.title) from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.type = \"studio\"" + }, + { + "question": "What is the most common major among female (sex is F) students?", + "context": "create table student (major varchar, major varchar, sex varchar, PRIMARY KEY (major))", + "answer": "select major from student where sex = \"f\" group by major order by count(*) desc limit 1" + }, + { + "question": "Name the number of tenants for russia at the saransk stadium", + "context": "create table table_28281704_1 (tenant varchar, country varchar, stadium varchar, PRIMARY KEY (tenant))", + "answer": "select count(tenant) from table_28281704_1 where country = \"russia\" and stadium = \"saransk stadium\"" + }, + { + "question": "At a Saginaw fare of $470.47, what is the fare to Lansing?", + "context": "create table table_1637981_7 (lansing__lan_ varchar, saginaw__mbs_ varchar, PRIMARY KEY (lansing__lan_))", + "answer": "select lansing__lan_ from table_1637981_7 where saginaw__mbs_ = \"$470.47\"" + }, + { + "question": "How many deaths per year have 66.3 as the life expectancy females?", + "context": "create table table_23423_2 (deaths_per_year varchar, life_expectancy_females varchar, PRIMARY KEY (deaths_per_year))", + "answer": "select deaths_per_year from table_23423_2 where life_expectancy_females = \"66.3\"" + }, + { + "question": "Name the peletier for systematics being million 1", + "context": "create table table_260938_1 (peletier varchar, systematics varchar, PRIMARY KEY (peletier))", + "answer": "select peletier from table_260938_1 where systematics = \"million 1\"" + }, + { + "question": "What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?", + "context": "create table table_29218221_3 (fri_3_june varchar, thurs_2_june varchar, PRIMARY KEY (fri_3_june))", + "answer": "select fri_3_june from table_29218221_3 where thurs_2_june = \"20' 50.45 108.623mph\"" + }, + { + "question": "What episode titles have 20.94 million U.S. viewers?", + "context": "create table table_16617025_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_16617025_1 where us_viewers__millions_ = \"20.94\"" + }, + { + "question": "What is zip code of customer with first name as Carole and last name as Bernhard?", + "context": "create table addresses (zip_postcode varchar, address_id varchar, PRIMARY KEY (zip_postcode)); create table customers (customer_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (customer_address_id))", + "answer": "select t2.zip_postcode from customers as t1 join addresses as t2 on t1.customer_address_id = t2.address_id where t1.first_name = \"carole\" and t1.last_name = \"bernhard\"" + }, + { + "question": "If the constellation is Gemini, what is the spectral type?", + "context": "create table table_1820752_1 (spectral_type varchar, constellation varchar, PRIMARY KEY (spectral_type))", + "answer": "select spectral_type from table_1820752_1 where constellation = \"gemini\"" + }, + { + "question": "What was the result of the ballot that had a 52.49% yes vote percentage?", + "context": "create table table_256286_22 (passed varchar, _percentage_yes varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_22 where _percentage_yes = \"52.49%\"" + }, + { + "question": "What are the the University of Richmond's school colors?", + "context": "create table table_1221089_1 (colors varchar, institution varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_1221089_1 where institution = \"university of richmond\"" + }, + { + "question": "Where is the nickname the Red Raiders?", + "context": "create table table_26476336_2 (location varchar, team_nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_26476336_2 where team_nickname = \"red raiders\"" + }, + { + "question": "Show the average amount of transactions for different lots, ordered by average amount of transactions.", + "context": "create table transactions (transaction_id varchar, PRIMARY KEY (transaction_id)); create table transactions_lots (lot_id varchar, transaction_id varchar, PRIMARY KEY (lot_id))", + "answer": "select t2.lot_id, avg(amount_of_transaction) from transactions as t1 join transactions_lots as t2 on t1.transaction_id = t2.transaction_id group by t2.lot_id order by avg(amount_of_transaction)" + }, + { + "question": "How many current drivers, as of March 20, 2010 does Denmark have?", + "context": "create table table_19487922_2 (current_march_20 varchar, _2010 varchar, country varchar, PRIMARY KEY (current_march_20))", + "answer": "select current_march_20, _2010 from table_19487922_2 where country = \"denmark\"" + }, + { + "question": "How many different outcomes did the final with Paul McNamee as a partner have?", + "context": "create table table_2201541_3 (outcome varchar, partner varchar, PRIMARY KEY (outcome))", + "answer": "select count(outcome) from table_2201541_3 where partner = \"paul mcnamee\"" + }, + { + "question": "What is the Cook PVI for the location that has a representative of Mike Thompson?", + "context": "create table table_19283806_4 (cook_pvi varchar, representative varchar, PRIMARY KEY (cook_pvi))", + "answer": "select cook_pvi from table_19283806_4 where representative = \"mike thompson\"" + }, + { + "question": "Name the name for norway nationality", + "context": "create table table_25826954_7 (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from table_25826954_7 where nationality = \"norway\"" + }, + { + "question": "What is the cyrillic name when the settlement is a\u0161anja?", + "context": "create table table_2562572_52 (cyrillic_name varchar, settlement varchar, PRIMARY KEY (cyrillic_name))", + "answer": "select cyrillic_name from table_2562572_52 where settlement = \"a\u0161anja\"" + }, + { + "question": "How many episode were written by Brett Conrad?", + "context": "create table table_25740548_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_25740548_2 where written_by = \"brett conrad\"" + }, + { + "question": "How many original 3rd us tour cast were there while the original uk cast was alyssa dipalma?", + "context": "create table table_24353141_1 (original_3rd_us_tour_cast varchar, original_uk_cast varchar, PRIMARY KEY (original_3rd_us_tour_cast))", + "answer": "select count(original_3rd_us_tour_cast) from table_24353141_1 where original_uk_cast = \"alyssa dipalma\"" + }, + { + "question": "What is the description of the measure that got 39.57% yes votes?", + "context": "create table table_256286_23 (description varchar, _percentage_yes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_23 where _percentage_yes = \"39.57%\"" + }, + { + "question": "How many different second members were there when John rudhale was first member?", + "context": "create table table_15451122_2 (second_member varchar, first_member varchar, PRIMARY KEY (second_member))", + "answer": "select count(second_member) from table_15451122_2 where first_member = \"john rudhale\"" + }, + { + "question": "what's the\u00a0country\u00a0with\u00a0es mulatto\u00a0being 3.5%", + "context": "create table table_1333612_1 (country varchar, es_mulatto varchar, PRIMARY KEY (country))", + "answer": "select country from table_1333612_1 where es_mulatto = \"3.5%\"" + }, + { + "question": "Find the number of students for each department.", + "context": "create table student (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*), dept_code from student group by dept_code" + }, + { + "question": "what ist he output where the short description is massive?", + "context": "create table table_17157367_1 (output varchar, short_description varchar, PRIMARY KEY (output))", + "answer": "select output from table_17157367_1 where short_description = \"massive\"" + }, + { + "question": "What party was represented by incumbent Richard Coulter ?", + "context": "create table table_2668243_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668243_20 where incumbent = \"richard coulter\"" + }, + { + "question": "Name the number of high points for record 5-17", + "context": "create table table_23186738_6 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_23186738_6 where record = \"5-17\"" + }, + { + "question": "What nationality is the draft pick player going to Minnesota North Stars?", + "context": "create table table_2850912_1 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_2850912_1 where nhl_team = \"minnesota north stars\"" + }, + { + "question": "What is the event name with the number 8M?", + "context": "create table table_22050544_4 (event varchar, event__number varchar, PRIMARY KEY (event))", + "answer": "select event from table_22050544_4 where event__number = \"8m\"" + }, + { + "question": "Report the first name and last name of all the students.", + "context": "create table list (firstname varchar, lastname varchar, PRIMARY KEY (firstname))", + "answer": "select distinct firstname, lastname from list" + }, + { + "question": "What is the title for the episode that written by Michael Miller?", + "context": "create table table_19517621_3 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_19517621_3 where written_by = \"michael miller\"" + }, + { + "question": "Where was the competition with a qualifying score of 58.425?", + "context": "create table table_25143284_1 (location varchar, score_qualifying varchar, PRIMARY KEY (location))", + "answer": "select location from table_25143284_1 where score_qualifying = \"58.425\"" + }, + { + "question": "What country is the contestant from San Francisco de Yojoa from?", + "context": "create table table_20669355_2 (country varchar, hometown varchar, PRIMARY KEY (country))", + "answer": "select country from table_20669355_2 where hometown = \"san francisco de yojoa\"" + }, + { + "question": "Show the average amount of transactions for different lots.", + "context": "create table transactions (transaction_id varchar, PRIMARY KEY (transaction_id)); create table transactions_lots (lot_id varchar, transaction_id varchar, PRIMARY KEY (lot_id))", + "answer": "select t2.lot_id, avg(amount_of_transaction) from transactions as t1 join transactions_lots as t2 on t1.transaction_id = t2.transaction_id group by t2.lot_id" + }, + { + "question": "Find the number of rooms with king bed for each decor type.", + "context": "create table rooms (decor varchar, bedtype varchar, PRIMARY KEY (decor))", + "answer": "select decor, count(*) from rooms where bedtype = \"king\" group by decor" + }, + { + "question": "What was the report for the winton race?", + "context": "create table table_20884163_2 (report varchar, race_title varchar, PRIMARY KEY (report))", + "answer": "select report from table_20884163_2 where race_title = \"winton\"" + }, + { + "question": "What is the origin of the constellation that can be abbreviated to tele?", + "context": "create table table_287159_1 (origin varchar, other_abbreviation varchar, PRIMARY KEY (origin))", + "answer": "select origin from table_287159_1 where other_abbreviation = \"tele\"" + }, + { + "question": "How many items are listed under caps when burnley is the club team?", + "context": "create table table_28286776_12 (cap_s_ varchar, club_s_ varchar, PRIMARY KEY (cap_s_))", + "answer": "select count(cap_s_) from table_28286776_12 where club_s_ = \"burnley\"" + }, + { + "question": "What is the name of the station where the language is tamil malay?", + "context": "create table table_1601792_3 (station varchar, language varchar, PRIMARY KEY (station))", + "answer": "select station from table_1601792_3 where language = \"tamil malay\"" + }, + { + "question": "How many drivers on the williams team had a margin of defeat of 2?", + "context": "create table table_10753917_1 (driver varchar, team varchar, margin_of_defeat varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_10753917_1 where team = \"williams\" and margin_of_defeat = \"2\"" + }, + { + "question": "What channel has station kdfw ++?", + "context": "create table table_1353096_1 (channel_tv___dt__ varchar, station varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select channel_tv___dt__ from table_1353096_1 where station = \"kdfw ++\"" + }, + { + "question": "When were the members tenured in the Field school?", + "context": "create table table_28051859_3 (tenure varchar, school varchar, PRIMARY KEY (tenure))", + "answer": "select tenure from table_28051859_3 where school = \"field\"" + }, + { + "question": "What is the largest n value for 55.6% r1b1c4 (r-v69)?", + "context": "create table table_21481509_4 (n integer, r1b1c4__r_v69_ varchar, PRIMARY KEY (n))", + "answer": "select max(n) from table_21481509_4 where r1b1c4__r_v69_ = \"55.6%\"" + }, + { + "question": "What is the role name and role description for employee called Ebba?", + "context": "create table employees (role_code varchar, employee_name varchar, PRIMARY KEY (role_code)); create table roles (role_name varchar, role_description varchar, role_code varchar, PRIMARY KEY (role_name))", + "answer": "select t2.role_name, t2.role_description from employees as t1 join roles as t2 on t1.role_code = t2.role_code where t1.employee_name = \"ebba\"" + }, + { + "question": "How many tree species are there when the total plant species is 113?", + "context": "create table table_16577990_1 (tree_species varchar, total_plant_species varchar, PRIMARY KEY (tree_species))", + "answer": "select count(tree_species) from table_16577990_1 where total_plant_species = 113" + }, + { + "question": "Who is the captain in Chaguaramas?", + "context": "create table table_24039173_1 (captain varchar, location varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_24039173_1 where location = \"chaguaramas\"" + }, + { + "question": "How many staff in total?", + "context": "create table staff (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from staff" + }, + { + "question": "Who directed the episode whose production code is 2m5901?", + "context": "create table table_27969432_4 (directed_by varchar, production varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27969432_4 where production = \"2m5901\"" + }, + { + "question": "Name the circuit for france and portugal", + "context": "create table table_2446333_2 (circuit varchar, main_winner varchar, country varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_2446333_2 where main_winner = \"france\" and country = \"portugal\"" + }, + { + "question": "List the names of the schools without any endowment.", + "context": "create table endowment (school_name varchar, school_id varchar, PRIMARY KEY (school_name)); create table school (school_name varchar, school_id varchar, PRIMARY KEY (school_name))", + "answer": "select school_name from school where not school_id in (select school_id from endowment)" + }, + { + "question": "Where are the Buffalo Sabres from?", + "context": "create table table_2679061_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2679061_7 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner?", + "context": "create table table_13643320_2 (gto_winning_team varchar, gtu_winning_team varchar, PRIMARY KEY (gto_winning_team))", + "answer": "select gto_winning_team from table_13643320_2 where gtu_winning_team = \"chris cord\"" + }, + { + "question": "What is the Malayalam word for punarvasu \u0caa\u0cc1\u0ca8\u0cb0\u0ccd\u0cb5\u0cb8\u0cc1 in Kannada?", + "context": "create table table_1408397_3 (malayalam_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 varchar, kannada_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 varchar, PRIMARY KEY (malayalam_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02))", + "answer": "select malayalam_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 from table_1408397_3 where kannada_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 = \"punarvasu \u0caa\u0cc1\u0ca8\u0cb0\u0ccd\u0cb5\u0cb8\u0cc1\"" + }, + { + "question": "Name the cardinal points for 19-4 record", + "context": "create table table_23192661_3 (cardinal_points integer, record varchar, PRIMARY KEY (cardinal_points))", + "answer": "select min(cardinal_points) from table_23192661_3 where record = \"19-4\"" + }, + { + "question": "If the just cents is 701.96, what is the interval name?", + "context": "create table table_18955077_1 (interval_name varchar, just__cents_ varchar, PRIMARY KEY (interval_name))", + "answer": "select interval_name from table_18955077_1 where just__cents_ = \"701.96\"" + }, + { + "question": "How many air dates were there when Morgan was eliminated?", + "context": "create table table_1893276_2 (air_date varchar, eliminated varchar, PRIMARY KEY (air_date))", + "answer": "select count(air_date) from table_1893276_2 where eliminated = \"morgan\"" + }, + { + "question": "What is the minimum of 25 to 29?", + "context": "create table table_16457934_5 (id varchar, PRIMARY KEY (id))", + "answer": "select min(25 as _to_29) from table_16457934_5" + }, + { + "question": "what's the\u00a0character name\u00a0with\u00a0voice actor (englbeingh 1997 / saban)\u00a0being ian james corlett", + "context": "create table table_1410384_1 (character_name varchar, voice_actor__english_1997___saban_ varchar, PRIMARY KEY (character_name))", + "answer": "select character_name from table_1410384_1 where voice_actor__english_1997___saban_ = \"ian james corlett\"" + }, + { + "question": "what is the name of the station where the metlink code is mata?", + "context": "create table table_3005450_1 (station varchar, metlink_code varchar, PRIMARY KEY (station))", + "answer": "select station from table_3005450_1 where metlink_code = \"mata\"" + }, + { + "question": "What was the number of viewers for the episode having a fourth couple of Tony and Jamie?", + "context": "create table table_25664518_3 (viewers__millions_ varchar, fourth_couple varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select viewers__millions_ from table_25664518_3 where fourth_couple = \"tony and jamie\"" + }, + { + "question": "What circuit was the Clipsal 500 on?", + "context": "create table table_25531112_2 (circuit varchar, event varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_25531112_2 where event = \"clipsal 500\"" + }, + { + "question": "How many daves team entries are there on 27 october 2006?", + "context": "create table table_23292220_4 (daves_team varchar, first_broadcast varchar, PRIMARY KEY (daves_team))", + "answer": "select count(daves_team) from table_23292220_4 where first_broadcast = \"27 october 2006\"" + }, + { + "question": "What team won when the race time was 3:12:30?", + "context": "create table table_2175685_1 (team varchar, race_time varchar, PRIMARY KEY (team))", + "answer": "select team from table_2175685_1 where race_time = \"3:12:30\"" + }, + { + "question": "What is the minimum number of wins possible for the Champ Car World Series among all the drivers?", + "context": "create table table_19524523_1 (champ_car_world_series__2004_2007_ integer, PRIMARY KEY (champ_car_world_series__2004_2007_))", + "answer": "select min(champ_car_world_series__2004_2007_) from table_19524523_1" + }, + { + "question": "What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2\u20136, 6\u20131, 7\u20135?", + "context": "create table table_17289604_38 (round_of_16 varchar, round_of_32 varchar, PRIMARY KEY (round_of_16))", + "answer": "select round_of_16 from table_17289604_38 where round_of_32 = \"koryttseva ( ukr ) w 2\u20136, 6\u20131, 7\u20135\"" + }, + { + "question": "How many neighborhoods have a station proposed at a Hospital?", + "context": "create table table_22771048_4 (city_neighborhood varchar, station varchar, PRIMARY KEY (city_neighborhood))", + "answer": "select count(city_neighborhood) from table_22771048_4 where station = \"hospital\"" + }, + { + "question": "Find the number of students taught by TARRING LEIA.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = \"tarring\" and t2.lastname = \"leia\"" + }, + { + "question": "When @ new orleans is the team who has the highest amount of rebounds?", + "context": "create table table_17288825_6 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17288825_6 where team = \"@ new orleans\"" + }, + { + "question": "What year and where was the tournament when fan ying won the womens singles?", + "context": "create table table_28138035_26 (year_location varchar, womens_singles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_26 where womens_singles = \"fan ying\"" + }, + { + "question": "What smallest amount in the weeks at peak column?", + "context": "create table table_26399982_2 (weeks_at_peak integer, PRIMARY KEY (weeks_at_peak))", + "answer": "select min(weeks_at_peak) from table_26399982_2" + }, + { + "question": "What is the team captain when the shirt sponser is quick?", + "context": "create table table_27374004_2 (team_captain varchar, shirt_sponsor varchar, PRIMARY KEY (team_captain))", + "answer": "select team_captain from table_27374004_2 where shirt_sponsor = \"quick\"" + }, + { + "question": "How many different players did the high assists in games where the high rebounds were done by Sales (10)?", + "context": "create table table_19778010_5 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_19778010_5 where high_rebounds = \"sales (10)\"" + }, + { + "question": "What format for the release that had 2000 copies?", + "context": "create table table_18710512_3 (format varchar, other_details varchar, PRIMARY KEY (format))", + "answer": "select format from table_18710512_3 where other_details = \"2000 copies\"" + }, + { + "question": "How many races was Loki in?", + "context": "create table table_25594888_1 (race_number varchar, yacht varchar, PRIMARY KEY (race_number))", + "answer": "select count(race_number) from table_25594888_1 where yacht = \"loki\"" + }, + { + "question": "who wrote s01e06", + "context": "create table table_20360535_2 (written_by varchar, television_order varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_20360535_2 where television_order = \"s01e06\"" + }, + { + "question": "How many distinct courses are enrolled in by students?", + "context": "create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select count(course_id) from student_course_enrolment" + }, + { + "question": "What was the total of arlenes vote when craig voted for brian and karen?", + "context": "create table table_12305325_4 (arlenes_vote varchar, craigs_vote varchar, PRIMARY KEY (arlenes_vote))", + "answer": "select count(arlenes_vote) from table_12305325_4 where craigs_vote = \"brian and karen\"" + }, + { + "question": "What city and state is the Lancers mascot located?", + "context": "create table table_11044765_1 (location varchar, mascot varchar, PRIMARY KEY (location))", + "answer": "select location from table_11044765_1 where mascot = \"lancers\"" + }, + { + "question": "What is the record in the atlantic coast conference for the Miami team?", + "context": "create table table_28744929_2 (acc_record varchar, team varchar, PRIMARY KEY (acc_record))", + "answer": "select acc_record from table_28744929_2 where team = \"miami\"" + }, + { + "question": "What is every value for TDP if model is x53xx?", + "context": "create table table_2467150_2 (tdp varchar, model__list_ varchar, PRIMARY KEY (tdp))", + "answer": "select tdp from table_2467150_2 where model__list_ = \"x53xx\"" + }, + { + "question": "What is the format for the station owned by Dakota Broadcasting?", + "context": "create table table_2709_4 (format varchar, owner varchar, PRIMARY KEY (format))", + "answer": "select format from table_2709_4 where owner = \"dakota broadcasting\"" + }, + { + "question": "Car number 15 earned what time?", + "context": "create table table_17244483_1 (time_retired varchar, car_no varchar, PRIMARY KEY (time_retired))", + "answer": "select time_retired from table_17244483_1 where car_no = 15" + }, + { + "question": "How many years of kindergarten is provided in Ticino?", + "context": "create table table_1831309_1 (years_of_kindergarten varchar, canton varchar, PRIMARY KEY (years_of_kindergarten))", + "answer": "select years_of_kindergarten as provided from table_1831309_1 where canton = \"ticino\"" + }, + { + "question": "Name the sabaean for sab\u0295-", + "context": "create table table_26919_6 (sabaean varchar, arabic varchar, PRIMARY KEY (sabaean))", + "answer": "select sabaean from table_26919_6 where arabic = \"sab\u0295-\"" + }, + { + "question": "What percentage voted for Tom Horner according to the poll source with sampling error of 2.5%?", + "context": "create table table_20032301_3 (tom_horner__i_ varchar, sampling_error varchar, PRIMARY KEY (tom_horner__i_))", + "answer": "select tom_horner__i_ from table_20032301_3 where sampling_error = \"2.5%\"" + }, + { + "question": "What is the end (UTC) for spacecraft STS-114 Eva 3?", + "context": "create table table_22385461_6 (end__utc_ varchar, spacecraft varchar, PRIMARY KEY (end__utc_))", + "answer": "select end__utc_ from table_22385461_6 where spacecraft = \"sts-114 eva 3\"" + }, + { + "question": "What alumni had noor jehangir as their fresh meat partner?", + "context": "create table table_26419467_1 (alumni varchar, fresh_meat_partner varchar, PRIMARY KEY (alumni))", + "answer": "select alumni from table_26419467_1 where fresh_meat_partner = \"noor jehangir\"" + }, + { + "question": "What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba?", + "context": "create table table_1906920_1 (host varchar, PRIMARY KEY (host))", + "answer": "select count(3 as rd_place) from table_1906920_1 where host = \"university of manitoba, winnipeg, manitoba\"" + }, + { + "question": "List the language used least number of TV Channel. List language and number of TV Channel.", + "context": "create table tv_channel (language varchar, PRIMARY KEY (language))", + "answer": "select language, count(*) from tv_channel group by language order by count(*) limit 1" + }, + { + "question": "How many times does ROY SWEAZY has reserved a room.", + "context": "create table reservations (firstname varchar, lastname varchar, PRIMARY KEY (firstname))", + "answer": "select count(*) from reservations where firstname = \"roy\" and lastname = \"sweazy\"" + }, + { + "question": "Which channel tv (dt) plays in San Francisco - Oakland - San Jose?", + "context": "create table table_1553485_1 (channel_tv___dt__ varchar, city_of_license__market varchar, PRIMARY KEY (channel_tv___dt__))", + "answer": "select channel_tv___dt__ from table_1553485_1 where city_of_license__market = \"san francisco - oakland - san jose\"" + }, + { + "question": "When did the staff member with first name as Janessa and last name as Sawayn join the company?", + "context": "create table staff (date_joined_staff varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_joined_staff))", + "answer": "select date_joined_staff from staff where first_name = \"janessa\" and last_name = \"sawayn\"" + }, + { + "question": "What album was the song Shimmy Jimmy from the episode titled Toy to the world on?", + "context": "create table table_23667534_1 (album_s_ varchar, episode_title varchar, song_s__title varchar, PRIMARY KEY (album_s_))", + "answer": "select album_s_ from table_23667534_1 where episode_title = \"toy to the world\" and song_s__title = \"shimmy jimmy\"" + }, + { + "question": "What's Eduardo Salas' riding score?", + "context": "create table table_12407546_1 (riding varchar, athlete__noc_ varchar, PRIMARY KEY (riding))", + "answer": "select riding from table_12407546_1 where athlete__noc_ = \"eduardo salas\"" + }, + { + "question": "Name the hebrew for *ti\u0161\u02bb-", + "context": "create table table_26919_6 (hebrew varchar, proto_semitic varchar, PRIMARY KEY (hebrew))", + "answer": "select hebrew from table_26919_6 where proto_semitic = \"*ti\u0161\u02bb-\"" + }, + { + "question": "what is the socket that has a brand name of core 2 extreme?", + "context": "create table table_24101118_1 (socket varchar, brand_name varchar, PRIMARY KEY (socket))", + "answer": "select socket from table_24101118_1 where brand_name = \"core 2 extreme\"" + }, + { + "question": "Find the name of the airports located in Cuba or Argentina.", + "context": "create table airports (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from airports where country = 'cuba' or country = 'argentina'" + }, + { + "question": "What does the non-present stem -erama- mean?", + "context": "create table table_12784134_1 (meaning varchar, non_present_stem varchar, PRIMARY KEY (meaning))", + "answer": "select meaning from table_12784134_1 where non_present_stem = \"-erama-\"" + }, + { + "question": "How many figures are named for security forces in 1998?", + "context": "create table table_21636599_2 (security_forces varchar, period varchar, PRIMARY KEY (security_forces))", + "answer": "select count(security_forces) from table_21636599_2 where period = 1998" + }, + { + "question": "What are the addresses of the course authors or tutors with personal name \"Cathrine\"", + "context": "create table course_authors_and_tutors (address_line_1 varchar, personal_name varchar, PRIMARY KEY (address_line_1))", + "answer": "select address_line_1 from course_authors_and_tutors where personal_name = \"cathrine\"" + }, + { + "question": "What is the title that had 13.59 u.s. viewers (millions)?", + "context": "create table table_22078691_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22078691_2 where us_viewers__millions_ = \"13.59\"" + }, + { + "question": "List the names and phone numbers of all the distinct suppliers who supply red jeans.", + "context": "create table product_suppliers (supplier_id varchar, product_id varchar, PRIMARY KEY (supplier_id)); create table suppliers (supplier_name varchar, supplier_phone varchar, supplier_id varchar, PRIMARY KEY (supplier_name)); create table products (product_id varchar, product_name varchar, PRIMARY KEY (product_id))", + "answer": "select distinct t1.supplier_name, t1.supplier_phone from suppliers as t1 join product_suppliers as t2 on t1.supplier_id = t2.supplier_id join products as t3 on t2.product_id = t3.product_id where t3.product_name = \"red jeans\"" + }, + { + "question": "How many events had participants whose details had the substring 'Dr.'", + "context": "create table participants (participant_id varchar, participant_details varchar, PRIMARY KEY (participant_id)); create table participants_in_events (participant_id varchar, PRIMARY KEY (participant_id))", + "answer": "select count(*) from participants as t1 join participants_in_events as t2 on t1.participant_id = t2.participant_id where t1.participant_details like '%dr.%'" + }, + { + "question": "Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt?", + "context": "create table table_23292220_13 (jons_team varchar, seans_team varchar, PRIMARY KEY (jons_team))", + "answer": "select jons_team from table_23292220_13 where seans_team = \"matthew crosby and kimberly wyatt\"" + }, + { + "question": "Which party was the incumbent from when the cadidates were henry e. barbour (r) 52.1% henry hawson (d) 47.9%? Answer: Democratic", + "context": "create table table_1346118_5 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1346118_5 where candidates = \"henry e. barbour (r) 52.1% henry hawson (d) 47.9%\"" + }, + { + "question": "What is the record at Columbia for the team overall record of MU, 3-1?", + "context": "create table table_16201038_5 (at_columbia varchar, overall_record varchar, PRIMARY KEY (at_columbia))", + "answer": "select at_columbia from table_16201038_5 where overall_record = \"mu, 3-1\"" + }, + { + "question": "in the drum module td-5 what are the tom-tom pads", + "context": "create table table_2889300_6 (tom_tom_pads varchar, drum_module varchar, PRIMARY KEY (tom_tom_pads))", + "answer": "select tom_tom_pads from table_2889300_6 where drum_module = \"td-5\"" + }, + { + "question": "Who was the home team when the away team is Carlton?", + "context": "create table table_16388478_4 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_16388478_4 where away_team = \"carlton\"" + }, + { + "question": "List the hebrew word for the strongs words compounded of 'adown [# 113] & yahu", + "context": "create table table_1242447_2 (hebrew_word varchar, strongs_words_compounded varchar, PRIMARY KEY (hebrew_word))", + "answer": "select hebrew_word from table_1242447_2 where strongs_words_compounded = \"'adown [# 113] & yahu\"" + }, + { + "question": "What was the game record when the opponent was 'at Los Angeles Raiders'?", + "context": "create table table_17972193_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_17972193_1 where opponent = \"at los angeles raiders\"" + }, + { + "question": "what's the\u00a0airport\u00a0with\u00a0total passengers 2009\u00a0being 157933", + "context": "create table table_13836704_4 (airport varchar, total_passengers_2009 varchar, PRIMARY KEY (airport))", + "answer": "select airport from table_13836704_4 where total_passengers_2009 = 157933" + }, + { + "question": "How long has the team who owns North Shore Events Centre Vector Arena been active?", + "context": "create table table_283203_1 (years_active varchar, home_venue varchar, PRIMARY KEY (years_active))", + "answer": "select years_active from table_283203_1 where home_venue = \"north shore events centre vector arena\"" + }, + { + "question": "What stain is used commonly for elastic fibers?", + "context": "create table table_13570_1 (stain varchar, common_use varchar, PRIMARY KEY (stain))", + "answer": "select stain from table_13570_1 where common_use = \"elastic fibers\"" + }, + { + "question": "Display the first name and department name for each employee.", + "context": "create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name)); create table employees (first_name varchar, department_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t2.department_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id" + }, + { + "question": "what is the numbe of provincial captial where the population is 1162900?", + "context": "create table table_17416221_1 (provincial_capital varchar, population__2013_ varchar, PRIMARY KEY (provincial_capital))", + "answer": "select count(provincial_capital) from table_17416221_1 where population__2013_ = 1162900" + }, + { + "question": "Who was the winning driver in the race that was 3:04:09 long?", + "context": "create table table_2266762_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_2266762_1 where race_time = \"3:04:09\"" + }, + { + "question": "What's the model of the processor with a 5.5 w TDP?", + "context": "create table table_24099916_1 (model__list_ varchar, tdp varchar, PRIMARY KEY (model__list_))", + "answer": "select model__list_ from table_24099916_1 where tdp = \"5.5 w\"" + }, + { + "question": "What was the name of the episode directed by Jessica Yu?", + "context": "create table table_23492454_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23492454_1 where directed_by = \"jessica yu\"" + }, + { + "question": "What country is the contestant from Salto from?", + "context": "create table table_20754016_2 (country varchar, hometown varchar, PRIMARY KEY (country))", + "answer": "select country from table_20754016_2 where hometown = \"salto\"" + }, + { + "question": "How many lowest mark entries are there when % passed is 76?", + "context": "create table table_29842201_1 (lowest_mark varchar, _percentage_pass varchar, PRIMARY KEY (lowest_mark))", + "answer": "select count(lowest_mark) from table_29842201_1 where _percentage_pass = 76" + }, + { + "question": "What are the profits of Wells Fargo (in billions)?", + "context": "create table table_1682026_3 (profits__billion_$_ varchar, company varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_1682026_3 where company = \"wells fargo\"" + }, + { + "question": "Name the time for entries being 907", + "context": "create table table_2534387_10 (time__et_ varchar, entries varchar, PRIMARY KEY (time__et_))", + "answer": "select time__et_ from table_2534387_10 where entries = \"907\"" + }, + { + "question": "What is the percentage seats contested for the revolutionary socialist party?", + "context": "create table table_20728138_1 (_percentage_in_seats_contested varchar, party varchar, PRIMARY KEY (_percentage_in_seats_contested))", + "answer": "select _percentage_in_seats_contested from table_20728138_1 where party = \"revolutionary socialist party\"" + }, + { + "question": "What eagle riders where ova (harmony gold dub) is lord zortek?", + "context": "create table table_17480471_3 (eagle_riders varchar, ova__harmony_gold_dub_ varchar, PRIMARY KEY (eagle_riders))", + "answer": "select eagle_riders from table_17480471_3 where ova__harmony_gold_dub_ = \"lord zortek\"" + }, + { + "question": "What was the average finish when the average start was 18.4?", + "context": "create table table_1507423_4 (avg_finish varchar, avg_start varchar, PRIMARY KEY (avg_finish))", + "answer": "select avg_finish from table_1507423_4 where avg_start = \"18.4\"" + }, + { + "question": "What is the size of Itwara central forest reserve?", + "context": "create table table_16577990_1 (size_in_km\u00b2 integer, central_forest_reserve varchar, PRIMARY KEY (size_in_km\u00b2))", + "answer": "select min(size_in_km\u00b2) from table_16577990_1 where central_forest_reserve = \"itwara\"" + }, + { + "question": "what is ahli when ramtha is 0-4?", + "context": "create table table_26173063_2 (ahli varchar, ramtha varchar, PRIMARY KEY (ahli))", + "answer": "select ahli from table_26173063_2 where ramtha = \"0-4\"" + }, + { + "question": "What is the car number for driver H\u00e9lio Castroneves", + "context": "create table table_17330069_1 (car_no integer, driver varchar, PRIMARY KEY (car_no))", + "answer": "select min(car_no) from table_17330069_1 where driver = \"h\u00e9lio castroneves\"" + }, + { + "question": "what is the name of the report that lists the race name as long beach grand prix?", + "context": "create table table_10707142_2 (report varchar, race_name varchar, PRIMARY KEY (report))", + "answer": "select report from table_10707142_2 where race_name = \"long beach grand prix\"" + }, + { + "question": "Name the 1/8 finals for round 1 n/a", + "context": "create table table_18646111_13 (round_1 varchar, PRIMARY KEY (round_1))", + "answer": "select 1 as _8_finals from table_18646111_13 where round_1 = \"n/a\"" + }, + { + "question": "Where were games played when the record was 9-1?", + "context": "create table table_22862203_2 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_22862203_2 where record = \"9-1\"" + }, + { + "question": "What is the genre for the group with ages 29-30?", + "context": "create table table_27529608_21 (genre varchar, age_s_ varchar, PRIMARY KEY (genre))", + "answer": "select genre from table_27529608_21 where age_s_ = \"29-30\"" + }, + { + "question": "How much ht does the model with 10x mult. 1 have?", + "context": "create table table_27277284_28 (ht varchar, mult_1 varchar, PRIMARY KEY (ht))", + "answer": "select ht from table_27277284_28 where mult_1 = \"10x\"" + }, + { + "question": "Which operators offer a genre of music?", + "context": "create table table_1837570_1 (operator varchar, genre varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_1837570_1 where genre = \"music\"" + }, + { + "question": "List all themes from the top 9.", + "context": "create table table_23871828_1 (theme varchar, week__number varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_23871828_1 where week__number = \"top 9\"" + }, + { + "question": "Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team?", + "context": "create table table_1473672_2 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1473672_2 where college_junior_club_team = \"oshawa generals (omjhl)\"" + }, + { + "question": "What is the winning score when 5 strokes is the margin of victory?", + "context": "create table table_2167226_3 (winning_score varchar, margin_of_victory varchar, PRIMARY KEY (winning_score))", + "answer": "select winning_score from table_2167226_3 where margin_of_victory = \"5 strokes\"" + }, + { + "question": "How many places has the rank changed since 2006, for Clane?", + "context": "create table table_1940144_1 (change_since_2006 varchar, urban_area varchar, PRIMARY KEY (change_since_2006))", + "answer": "select change_since_2006 from table_1940144_1 where urban_area = \"clane\"" + }, + { + "question": "How many people voted for Obama in the county where McCain got 72.75% of the votes?", + "context": "create table table_20799587_1 (obama_number integer, mccain_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select min(obama_number) from table_20799587_1 where mccain_percentage = \"72.75%\"" + }, + { + "question": "How may women doubles winner were there when Philippe Aulner was mens singles winner?", + "context": "create table table_15001957_1 (womens_doubles varchar, mens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select count(womens_doubles) from table_15001957_1 where mens_singles = \"philippe aulner\"" + }, + { + "question": "What is the circuit located in baltimore , maryland?", + "context": "create table table_30134667_2 (circuit varchar, location varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_30134667_2 where location = \"baltimore , maryland\"" + }, + { + "question": "How many professors who has a either Ph.D. or MA degree?", + "context": "create table professor (prof_high_degree varchar, PRIMARY KEY (prof_high_degree))", + "answer": "select count(*) from professor where prof_high_degree = 'ph.d.' or prof_high_degree = 'ma'" + }, + { + "question": "How many employees do we have?", + "context": "create table employees (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from employees" + }, + { + "question": "What team did the New York Rangers recruit a player from?", + "context": "create table table_2886617_4 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2886617_4 where nhl_team = \"new york rangers\"" + }, + { + "question": "What is the color description of the product with name \"catnip\"?", + "context": "create table products (color_code varchar, product_name varchar, PRIMARY KEY (color_code)); create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description))", + "answer": "select t2.color_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where t1.product_name = \"catnip\"" + }, + { + "question": "When the value rank is 23, what is the value?", + "context": "create table table_21109892_1 (value__int_ integer, value_world_rank varchar, PRIMARY KEY (value__int_))", + "answer": "select min(value__int_) as $1000_ from table_21109892_1 where value_world_rank = \"23\"" + }, + { + "question": "How many values for Maghreb with Mediterranean Europe is Siciliense?", + "context": "create table table_22860_1 (maghreb varchar, mediterranean_europe varchar, PRIMARY KEY (maghreb))", + "answer": "select count(maghreb) from table_22860_1 where mediterranean_europe = \"siciliense\"" + }, + { + "question": "What is the theme where the original artist is AC/DC?", + "context": "create table table_25374338_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_25374338_1 where original_artist = \"ac/dc\"" + }, + { + "question": "What are the maximum and minimum settlement amount on record?", + "context": "create table settlements (settlement_amount integer, PRIMARY KEY (settlement_amount))", + "answer": "select max(settlement_amount), min(settlement_amount) from settlements" + }, + { + "question": "What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?", + "context": "create table table_161591_2 (expenditure__s$m_ varchar, operating_profit__s$m_ varchar, PRIMARY KEY (expenditure__s$m_))", + "answer": "select expenditure__s$m_ from table_161591_2 where operating_profit__s$m_ = \"717.1\"" + }, + { + "question": "How many of the schools listed are in Ames, IA?", + "context": "create table table_10082596_1 (primary_conference varchar, location varchar, PRIMARY KEY (primary_conference))", + "answer": "select count(primary_conference) from table_10082596_1 where location = \"ames, ia\"" + }, + { + "question": "What is the id of the event with the most participants?", + "context": "create table participants_in_events (event_id varchar, PRIMARY KEY (event_id))", + "answer": "select event_id from participants_in_events group by event_id order by count(*) desc limit 1" + }, + { + "question": "When 24.1 million is international tourist arrivals (2012) what is the change (2010 to 2011) ?", + "context": "create table table_14752049_6 (change__2010_to_2011_ varchar, international_tourist_arrivals__2012_ varchar, PRIMARY KEY (change__2010_to_2011_))", + "answer": "select change__2010_to_2011_ from table_14752049_6 where international_tourist_arrivals__2012_ = \"24.1 million\"" + }, + { + "question": "How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?", + "context": "create table table_12221135_3 (arrival varchar, operator varchar, calling_at varchar, PRIMARY KEY (arrival))", + "answer": "select count(arrival) from table_12221135_3 where operator = \"lnwr\" and calling_at = \"castor, overton, peterborough east\"" + }, + { + "question": "How many integrated allied-related are there?", + "context": "create table table_11944282_1 (integrated varchar, allied_related varchar, PRIMARY KEY (integrated))", + "answer": "select integrated from table_11944282_1 where allied_related = \"many\"" + }, + { + "question": "Name the sprint classification being alejandro valverde", + "context": "create table table_22713796_14 (sprint_classification varchar, winner varchar, PRIMARY KEY (sprint_classification))", + "answer": "select sprint_classification from table_22713796_14 where winner = \"alejandro valverde\"" + }, + { + "question": "For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.", + "context": "create table skills_required_to_fix (part_fault_id varchar, skill_id varchar, PRIMARY KEY (part_fault_id)); create table part_faults (fault_short_name varchar, part_fault_id varchar, PRIMARY KEY (fault_short_name)); create table skills (skill_description varchar, skill_id varchar, PRIMARY KEY (skill_description))", + "answer": "select t1.fault_short_name, t3.skill_description from part_faults as t1 join skills_required_to_fix as t2 on t1.part_fault_id = t2.part_fault_id join skills as t3 on t2.skill_id = t3.skill_id" + }, + { + "question": "What is the original air date of the Jamie Babbit directed episode?", + "context": "create table table_11404452_1 (original_air_date varchar, director varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11404452_1 where director = \"jamie babbit\"" + }, + { + "question": "What is the height for the player in 1968-72?", + "context": "create table table_11734041_11 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_11 where years_for_rockets = \"1968-72\"" + }, + { + "question": "what is the overall record when the club is dallas burn?", + "context": "create table table_1246208_5 (overall_record varchar, club varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_1246208_5 where club = \"dallas burn\"" + }, + { + "question": "What are electricals where secretariat is po(w)?", + "context": "create table table_1348246_3 (electrical varchar, secretariat varchar, PRIMARY KEY (electrical))", + "answer": "select electrical from table_1348246_3 where secretariat = \"po(w)\"" + }, + { + "question": "Which state can address \"6862 Kaitlyn Knolls\" possibly be in?", + "context": "create table addresses (state_province_county varchar, line_1_number_building varchar, PRIMARY KEY (state_province_county))", + "answer": "select state_province_county from addresses where line_1_number_building like \"%6862 kaitlyn knolls%\"" + }, + { + "question": "What is the city_code of the city that the most students live in?", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select city_code from student group by city_code order by count(*) desc limit 1" + }, + { + "question": "How many solar eclipse during June 10-11 and march 27-29 is 149?", + "context": "create table table_25287007_2 (june_10_11 varchar, march_27_29 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25287007_2 where march_27_29 = \"149\"" + }, + { + "question": "What are the names of the airports which are not in the country 'Iceland'?", + "context": "create table airport (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from airport where country <> 'iceland'" + }, + { + "question": "What is the area of cimahi city?", + "context": "create table table_21734764_1 (area__km\u00b2__2005 varchar, administrative_division varchar, PRIMARY KEY (area__km\u00b2__2005))", + "answer": "select area__km\u00b2__2005 from table_21734764_1 where administrative_division = \"cimahi city\"" + }, + { + "question": "What is the fewest recorded entrants against paris saint-germain?", + "context": "create table table_26455614_1 (entries integer, winner varchar, PRIMARY KEY (entries))", + "answer": "select min(entries) from table_26455614_1 where winner = \"paris saint-germain\"" + }, + { + "question": "What is the name of the shop that is hiring the largest number of employees?", + "context": "create table shop (name varchar, shop_id varchar, PRIMARY KEY (name)); create table hiring (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select t2.name from hiring as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1" + }, + { + "question": "Find the average ranking for each player and their first name.", + "context": "create table players (first_name varchar, player_id varchar, PRIMARY KEY (first_name)); create table rankings (player_id varchar, PRIMARY KEY (player_id))", + "answer": "select avg(ranking), t1.first_name from players as t1 join rankings as t2 on t1.player_id = t2.player_id group by t1.first_name" + }, + { + "question": "when hayden roulston is the winner what is the team classification?", + "context": "create table table_28298471_14 (team_classification varchar, winner varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_28298471_14 where winner = \"hayden roulston\"" + }, + { + "question": "Name the finished for exited day 13", + "context": "create table table_14345690_4 (finished varchar, exited varchar, PRIMARY KEY (finished))", + "answer": "select finished from table_14345690_4 where exited = \"day 13\"" + }, + { + "question": "what's the\u00a0torque\u00a0where\u00a0performance\u00a0is 0\u2013100km/h: 7.5s auto, vmax: km/h (mph)", + "context": "create table table_11167610_1 (torque varchar, performance varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_11167610_1 where performance = \"0\u2013100km/h: 7.5s auto, vmax: km/h (mph)\"" + }, + { + "question": "What is the df when Adam Hinshelwood is Junior Mendes?", + "context": "create table table_23835213_2 (df varchar, adam_hinshelwood varchar, PRIMARY KEY (df))", + "answer": "select df from table_23835213_2 where adam_hinshelwood = \"junior mendes\"" + }, + { + "question": "How many yards per attempt were there when total yards were 513?", + "context": "create table table_19517448_3 (yards_per_attempt varchar, total_yards varchar, PRIMARY KEY (yards_per_attempt))", + "answer": "select yards_per_attempt from table_19517448_3 where total_yards = \"513\"" + }, + { + "question": "What is the power of the Baguio station?", + "context": "create table table_17822401_1 (power__kw_ varchar, location varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_17822401_1 where location = \"baguio\"" + }, + { + "question": "List all areas within 1000 km in the city of Lubelskie?", + "context": "create table table_11654169_1 (area_in_1000km\u00b2__1930_ varchar, voivodeship_separate_city varchar, PRIMARY KEY (area_in_1000km\u00b2__1930_))", + "answer": "select area_in_1000km\u00b2__1930_ from table_11654169_1 where voivodeship_separate_city = \"lubelskie\"" + }, + { + "question": "Name the most female life expectancy for djibouti", + "context": "create table table_2701625_1 (female_life_expectancy integer, country varchar, PRIMARY KEY (female_life_expectancy))", + "answer": "select max(female_life_expectancy) from table_2701625_1 where country = \"djibouti\"" + }, + { + "question": "What is the paper type of the University of Saskatchewan themed stamp?", + "context": "create table table_11900773_5 (paper_type varchar, theme varchar, PRIMARY KEY (paper_type))", + "answer": "select paper_type from table_11900773_5 where theme = \"university of saskatchewan\"" + }, + { + "question": "Name the 2nd m for gregor schlierenzauer", + "context": "create table table_14407512_24 (name varchar, PRIMARY KEY (name))", + "answer": "select 2 as nd__m_ from table_14407512_24 where name = \"gregor schlierenzauer\"" + }, + { + "question": "How old was the official with Chinese name \u5b6b\u660e\u63da?", + "context": "create table table_2263674_1 (age_at_appointment varchar, chinese_name varchar, PRIMARY KEY (age_at_appointment))", + "answer": "select age_at_appointment from table_2263674_1 where chinese_name = \"\u5b6b\u660e\u63da\"" + }, + { + "question": "What's \u6881\u611b\u8a69's romanised name?", + "context": "create table table_2263674_1 (romanised_name varchar, chinese_name varchar, PRIMARY KEY (romanised_name))", + "answer": "select romanised_name from table_2263674_1 where chinese_name = \"\u6881\u611b\u8a69\"" + }, + { + "question": "What is the capital of the country with a population density per km\u00b2 of 15.6/km\u00b2 (/sqmi)?", + "context": "create table table_26769_1 (capital varchar, population_density_per_km\u00b2 varchar, PRIMARY KEY (capital))", + "answer": "select capital from table_26769_1 where population_density_per_km\u00b2 = \"15.6/km\u00b2 (/sqmi)\"" + }, + { + "question": "What is the record where high assists is pierce (6)?", + "context": "create table table_11959669_6 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_11959669_6 where high_assists = \"pierce (6)\"" + }, + { + "question": "HOW MUCH IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007?", + "context": "create table table_11251601_2 (percentage_of_global_total varchar, carbon_dioxide_emissions_per_year__tons_per_person___2007_ varchar, PRIMARY KEY (percentage_of_global_total))", + "answer": "select percentage_of_global_total from table_11251601_2 where carbon_dioxide_emissions_per_year__tons_per_person___2007_ = \"4.9\"" + }, + { + "question": "How many record data were written when Devin Harris (6) was High Assists?", + "context": "create table table_27700375_8 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_27700375_8 where high_assists = \"devin harris (6)\"" + }, + { + "question": "What is the wheel arrangement for the train in Riverdale, Georgia?", + "context": "create table table_1057316_1 (wheel_arrangement___whyte_notation__ varchar, disposition varchar, PRIMARY KEY (wheel_arrangement___whyte_notation__))", + "answer": "select wheel_arrangement___whyte_notation__ from table_1057316_1 where disposition = \"riverdale, georgia\"" + }, + { + "question": "What's the HP -hr/gal of the fuel whose GGE is 0.9000?", + "context": "create table table_2224692_1 (hp__hr_gal varchar, gge varchar, PRIMARY KEY (hp__hr_gal))", + "answer": "select hp__hr_gal from table_2224692_1 where gge = \"0.9000\"" + }, + { + "question": "In how many different parts was the incumbent Abraham B. Venable?", + "context": "create table table_2668416_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_2668416_18 where incumbent = \"abraham b. venable\"" + }, + { + "question": "What's the record of the game in which Carlos Delfino (17) did the most high points?", + "context": "create table table_22871316_6 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_22871316_6 where high_points = \"carlos delfino (17)\"" + }, + { + "question": "How many numbers were recorded under Obama when he had 29.9% voters?", + "context": "create table table_20693870_1 (obama_number varchar, obama_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select count(obama_number) from table_20693870_1 where obama_percentage = \"29.9%\"" + }, + { + "question": "What is the try bonus for Ruthin RFC?", + "context": "create table table_14058433_3 (try_bonus varchar, club varchar, PRIMARY KEY (try_bonus))", + "answer": "select try_bonus from table_14058433_3 where club = \"ruthin rfc\"" + }, + { + "question": "Show all majors.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select distinct major from student" + }, + { + "question": "Name the jason for public vote being 19.20%", + "context": "create table table_21234111_6 (jason varchar, public_vote__percentage varchar, PRIMARY KEY (jason))", + "answer": "select jason from table_21234111_6 where public_vote__percentage = \"19.20%\"" + }, + { + "question": "What is the gender of the Roman Catholic school is AL4?", + "context": "create table table_28523_3 (gender varchar, religious_affiliation varchar, location varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_28523_3 where religious_affiliation = \"roman catholic\" and location = \"al4\"" + }, + { + "question": "Who won the season with Africa as its destination?", + "context": "create table table_20026849_1 (winner varchar, destination varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_20026849_1 where destination = \"africa\"" + }, + { + "question": "Name the studio for catalog number 81063", + "context": "create table table_27303975_2 (studio varchar, catalog_number varchar, PRIMARY KEY (studio))", + "answer": "select studio from table_27303975_2 where catalog_number = \"81063\"" + }, + { + "question": "What is the teaching language with the duration (years) 3.5?", + "context": "create table table_12591022_2 (teaching_language varchar, duration__years_ varchar, PRIMARY KEY (teaching_language))", + "answer": "select teaching_language from table_12591022_2 where duration__years_ = \"3.5\"" + }, + { + "question": "What is the literacy rate for groups that grew 103.1% between 1991 and 2001?", + "context": "create table table_10710364_2 (literacy___percentage_ varchar, growth__1991_2001_ varchar, PRIMARY KEY (literacy___percentage_))", + "answer": "select literacy___percentage_ from table_10710364_2 where growth__1991_2001_ = \"103.1%\"" + }, + { + "question": "How many colleges in total?", + "context": "create table college (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from college" + }, + { + "question": "What is the june 10-11 when august 21-22 is august 21, 2017?", + "context": "create table table_25355392_2 (june_10_11 varchar, august_21_22 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25355392_2 where august_21_22 = \"august 21, 2017\"" + }, + { + "question": "Find the numbers of different majors and cities.", + "context": "create table student (major varchar, city_code varchar, PRIMARY KEY (major))", + "answer": "select count(distinct major), count(distinct city_code) from student" + }, + { + "question": "What medium was used for the sculpture of George Harold Baker?", + "context": "create table table_20903658_1 (medium varchar, title_subject varchar, PRIMARY KEY (medium))", + "answer": "select medium from table_20903658_1 where title_subject = \"george harold baker\"" + }, + { + "question": "What was the percentage in 2011 of the province that had 2.4% population in 2001?", + "context": "create table table_1717824_1 (_percentage_2011 varchar, _percentage_2001 varchar, PRIMARY KEY (_percentage_2011))", + "answer": "select _percentage_2011 from table_1717824_1 where _percentage_2001 = \"2.4%\"" + }, + { + "question": "What is the zip code of staff with first name as Janessa and last name as Sawayn lived?", + "context": "create table addresses (zip_postcode varchar, address_id varchar, PRIMARY KEY (zip_postcode)); create table staff (staff_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_address_id))", + "answer": "select t1.zip_postcode from addresses as t1 join staff as t2 on t1.address_id = t2.staff_address_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\"" + }, + { + "question": "Who had the fastest lap for the circuit magione?", + "context": "create table table_26920192_5 (fastest_lap varchar, circuit varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_26920192_5 where circuit = \"magione\"" + }, + { + "question": "What are the countries that have at least two perpetrators?", + "context": "create table perpetrator (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from perpetrator group by country having count(*) >= 2" + }, + { + "question": "Who is the captain of the team whose kit manufacturer is Nike?", + "context": "create table table_25527255_2 (captain varchar, kit_manufacturer varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_25527255_2 where kit_manufacturer = \"nike\"" + }, + { + "question": "What is the losing bonus for the team with a point difference of -99?", + "context": "create table table_15467476_3 (losing_bonus varchar, points_difference varchar, PRIMARY KEY (losing_bonus))", + "answer": "select losing_bonus from table_15467476_3 where points_difference = \"-99\"" + }, + { + "question": "What kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on?", + "context": "create table table_11900773_4 (paper_type varchar, theme varchar, PRIMARY KEY (paper_type))", + "answer": "select paper_type from table_11900773_4 where theme = \"duck decoys, barrow's golden eye\"" + }, + { + "question": "how many 10wi and bbi is 6/101", + "context": "create table table_28846752_5 (bbi varchar, PRIMARY KEY (bbi))", + "answer": "select count(10 as wi) from table_28846752_5 where bbi = \"6/101\"" + }, + { + "question": "Find the first name of students who are living in the dorm that has most number of amenities.", + "context": "create table dorm_amenity (amenid varchar, PRIMARY KEY (amenid)); create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table dorm (dormid varchar, PRIMARY KEY (dormid)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid))", + "answer": "select t1.fname from student as t1 join lives_in as t2 on t1.stuid = t2.stuid where t2.dormid in (select t2.dormid from dorm as t3 join has_amenity as t4 on t3.dormid = t4.dormid join dorm_amenity as t5 on t4.amenid = t5.amenid group by t3.dormid order by count(*) desc limit 1)" + }, + { + "question": "how many points did the argentinos juniors team score during the 1986-87 season?", + "context": "create table table_14489821_1 (team varchar, PRIMARY KEY (team))", + "answer": "select 1986 as _87 from table_14489821_1 where team = \"argentinos juniors\"" + }, + { + "question": "What is the number of monarchs that had Yan Maw la Mon as the heir?", + "context": "create table table_26460435_5 (monarch varchar, heir varchar, PRIMARY KEY (monarch))", + "answer": "select count(monarch) from table_26460435_5 where heir = \"yan maw la mon\"" + }, + { + "question": "What are the commissioned for scotts, greenock and chieftain?", + "context": "create table table_1206583_2 (commissioned varchar, builder varchar, name varchar, PRIMARY KEY (commissioned))", + "answer": "select commissioned from table_1206583_2 where builder = \"scotts, greenock\" and name = \"chieftain\"" + }, + { + "question": "How many employees are living in Canada?", + "context": "create table employees (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from employees where country = \"canada\"" + }, + { + "question": "Find the payment method that is used most frequently.", + "context": "create table customers (payment_method varchar, PRIMARY KEY (payment_method))", + "answer": "select payment_method from customers group by payment_method order by count(*) desc limit 1" + }, + { + "question": "What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph?", + "context": "create table table_30058355_2 (mon_22_aug varchar, wed_24_aug varchar, PRIMARY KEY (mon_22_aug))", + "answer": "select mon_22_aug from table_30058355_2 where wed_24_aug = \"19' 56.16 113.553mph\"" + }, + { + "question": "What was the stadium in Adelaide, South Australia built for?", + "context": "create table table_28885977_1 (built_for varchar, location varchar, PRIMARY KEY (built_for))", + "answer": "select built_for from table_28885977_1 where location = \"adelaide, south australia\"" + }, + { + "question": "How many house colours are associated with house names of Hillary?", + "context": "create table table_1942683_1 (house_colour varchar, house_name varchar, PRIMARY KEY (house_colour))", + "answer": "select count(house_colour) from table_1942683_1 where house_name = \"hillary\"" + }, + { + "question": "How many awards did milagros gutierrez win?", + "context": "create table table_1825751_14 (other_awards varchar, delegate varchar, PRIMARY KEY (other_awards))", + "answer": "select other_awards from table_1825751_14 where delegate = \"milagros gutierrez\"" + }, + { + "question": "Which vocal type has the band mate with first name \"Marianne\" played the most?", + "context": "create table vocals (bandmate varchar, PRIMARY KEY (bandmate)); create table band (id varchar, PRIMARY KEY (id))", + "answer": "select type from vocals as t1 join band as t2 on t1.bandmate = t2.id where firstname = \"marianne\" group by type order by count(*) desc limit 1" + }, + { + "question": "What is the state of Ted Stevens?", + "context": "create table table_10644188_3 (state_represented varchar, name varchar, PRIMARY KEY (state_represented))", + "answer": "select state_represented from table_10644188_3 where name = \"ted stevens\"" + }, + { + "question": "How many values of powershell (cmdlet) are valid when unix shell is env, export, set, setenv?", + "context": "create table table_14465871_1 (powershell__cmdlet_ varchar, unix_shell varchar, PRIMARY KEY (powershell__cmdlet_))", + "answer": "select count(powershell__cmdlet_) from table_14465871_1 where unix_shell = \"env, export, set, setenv\"" + }, + { + "question": "What's the report for the race name, XIII Grand Prix de l'Albigeois?", + "context": "create table table_1140117_5 (report varchar, race_name varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140117_5 where race_name = \"xiii grand prix de l'albigeois\"" + }, + { + "question": "What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin?", + "context": "create table table_18712423_3 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_18712423_3 where directed_by = \"ian barry\" and written_by = \"philip dalkin\"" + }, + { + "question": "Name the most number of contestants", + "context": "create table table_22951646_1 (number_of_contestants integer, PRIMARY KEY (number_of_contestants))", + "answer": "select max(number_of_contestants) from table_22951646_1" + }, + { + "question": "Name the country for gerrard", + "context": "create table table_22667773_8 (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select country from table_22667773_8 where name = \"gerrard\"" + }, + { + "question": "What was the doctor for sorted series 6eb/b?", + "context": "create table table_1620397_5 (doctor varchar, series_sorted varchar, PRIMARY KEY (doctor))", + "answer": "select doctor from table_1620397_5 where series_sorted = \"6eb/b\"" + }, + { + "question": "What is the title of the episode with the original air date October 21, 1998?", + "context": "create table table_2618152_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_2618152_1 where original_air_date = \"october 21, 1998\"" + }, + { + "question": "Which episode did actor A. J. Buckley last appear in?", + "context": "create table table_11240028_1 (last_appearance varchar, portrayed_by varchar, PRIMARY KEY (last_appearance))", + "answer": "select last_appearance from table_11240028_1 where portrayed_by = \"a. j. buckley\"" + }, + { + "question": "What is the length (miles) when pico to 7th st/metro center are the endpoints?", + "context": "create table table_1817879_2 (length__miles_ varchar, endpoints varchar, PRIMARY KEY (length__miles_))", + "answer": "select length__miles_ from table_1817879_2 where endpoints = \"pico to 7th st/metro center\"" + }, + { + "question": "Show the name of the building that has the most company offices.", + "context": "create table buildings (name varchar, id varchar, PRIMARY KEY (name)); create table companies (id varchar, PRIMARY KEY (id)); create table office_locations (building_id varchar, company_id varchar, PRIMARY KEY (building_id))", + "answer": "select t2.name from office_locations as t1 join buildings as t2 on t1.building_id = t2.id join companies as t3 on t1.company_id = t3.id group by t1.building_id order by count(*) desc limit 1" + }, + { + "question": "What was the conference when Arizona State won the regular season?", + "context": "create table table_22779004_1 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_22779004_1 where regular_season_winner = \"arizona state\"" + }, + { + "question": "Who was in the pole position for knockhill?", + "context": "create table table_24547593_1 (pole_position varchar, circuit varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_24547593_1 where circuit = \"knockhill\"" + }, + { + "question": "When santiago del estero is the hometown who is the contestant?", + "context": "create table table_18626383_2 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_18626383_2 where hometown = \"santiago del estero\"" + }, + { + "question": "What is the Deliblato village known as in Cyrillic?", + "context": "create table table_2562572_41 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_41 where settlement = \"deliblato\"" + }, + { + "question": "When in round of 16 it was did not advance what was it in round of 32?", + "context": "create table table_18602462_21 (round_of_32 varchar, round_of_16 varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_18602462_21 where round_of_16 = \"did not advance\"" + }, + { + "question": "Who are the candidates when the incumbent is john pegram?", + "context": "create table table_2668336_24 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668336_24 where incumbent = \"john pegram\"" + }, + { + "question": "who is the the\u00a0high rebounds\u00a0with\u00a0high assbeingts\u00a0being scottie pippen (9)", + "context": "create table table_13480122_5 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_13480122_5 where high_assists = \"scottie pippen (9)\"" + }, + { + "question": "Show the number of transaction types.", + "context": "create table financial_transactions (transaction_type varchar, PRIMARY KEY (transaction_type))", + "answer": "select count(distinct transaction_type) from financial_transactions" + }, + { + "question": "How many times has a wrestler from the country of England wrestled in this event?", + "context": "create table table_2305948_1 (country varchar, PRIMARY KEY (country))", + "answer": "select count(2) from table_2305948_1 where country = \"england\"" + }, + { + "question": "Which award-winning film has a screening number of 50 films 50 televised?", + "context": "create table table_18220102_1 (award_winning_film varchar, number_of_screening varchar, PRIMARY KEY (award_winning_film))", + "answer": "select award_winning_film from table_18220102_1 where number_of_screening = \"50 films 50 televised\"" + }, + { + "question": "What is the minimum for 2nd runner-up?", + "context": "create table table_2290097_4 (id varchar, PRIMARY KEY (id))", + "answer": "select min(2 as nd_runner_up) from table_2290097_4" + }, + { + "question": "How many strongs transliteration of the english spelling of the work jehojakin?", + "context": "create table table_1242447_1 (strongs_transliteration varchar, english_spelling varchar, PRIMARY KEY (strongs_transliteration))", + "answer": "select count(strongs_transliteration) from table_1242447_1 where english_spelling = \"jehojakin\"" + }, + { + "question": "What school did the player who was with the grizzles in 2011 attend?", + "context": "create table table_16494599_3 (school_club_team varchar, years_for_grizzlies varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_16494599_3 where years_for_grizzlies = \"2011\"" + }, + { + "question": "How many episodes in history have a running time of 24:06?", + "context": "create table table_1498589_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select count(archive) from table_1498589_1 where run_time = \"24:06\"" + }, + { + "question": "When vp8 ( webm ) is 4.4, how much is vp9 ( webm )", + "context": "create table table_26099252_1 (vp9___webm__ varchar, vp8___webm__ varchar, PRIMARY KEY (vp9___webm__))", + "answer": "select vp9___webm__ from table_26099252_1 where vp8___webm__ = \"4.4\"" + }, + { + "question": "What was the prize pool in New Orleans?", + "context": "create table table_2715355_1 (total_prize_pool varchar, location varchar, PRIMARY KEY (total_prize_pool))", + "answer": "select total_prize_pool from table_2715355_1 where location = \"new orleans\"" + }, + { + "question": "Which authors belong to the institution \"Google\"? Show the first names and last names.", + "context": "create table authorship (authid varchar, instid varchar, PRIMARY KEY (authid)); create table authors (fname varchar, lname varchar, authid varchar, PRIMARY KEY (fname)); create table inst (instid varchar, name varchar, PRIMARY KEY (instid))", + "answer": "select distinct t1.fname, t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join inst as t3 on t2.instid = t3.instid where t3.name = \"google\"" + }, + { + "question": "Which semesters do not have any student enrolled? List the semester name.", + "context": "create table student_enrolment (semester_name varchar, semester_id varchar, PRIMARY KEY (semester_name)); create table semesters (semester_name varchar, semester_id varchar, PRIMARY KEY (semester_name))", + "answer": "select semester_name from semesters where not semester_id in (select semester_id from student_enrolment)" + }, + { + "question": "How many releases did the DVD River Cottage forever have?", + "context": "create table table_1180228_1 (released varchar, dvd_name varchar, PRIMARY KEY (released))", + "answer": "select count(released) from table_1180228_1 where dvd_name = \"river cottage forever\"" + }, + { + "question": "what is ba - running bear where ab - angry boar is os - ox soldier?", + "context": "create table table_2603017_2 (ba___running_bear varchar, ab___angry_boar varchar, PRIMARY KEY (ba___running_bear))", + "answer": "select ba___running_bear from table_2603017_2 where ab___angry_boar = \"os - ox soldier\"" + }, + { + "question": "Show headquarters with at least two companies in the banking industry.", + "context": "create table company (headquarters varchar, main_industry varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company where main_industry = 'banking' group by headquarters having count(*) >= 2" + }, + { + "question": "What is every registration for the type of T 6 G?", + "context": "create table table_22180353_1 (registration varchar, type varchar, PRIMARY KEY (registration))", + "answer": "select registration from table_22180353_1 where type = \"t 6 g\"" + }, + { + "question": "Who is the founder of Sony?", + "context": "create table manufacturers (founder varchar, name varchar, PRIMARY KEY (founder))", + "answer": "select founder from manufacturers where name = 'sony'" + }, + { + "question": "what is the party where the candidates are edward boland (d) unopposed?", + "context": "create table table_1341690_21 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341690_21 where candidates = \"edward boland (d) unopposed\"" + }, + { + "question": "What is every value for Croats when value for Romanians is 16.65%?", + "context": "create table table_2374338_2 (croats varchar, romanians varchar, PRIMARY KEY (croats))", + "answer": "select croats from table_2374338_2 where romanians = \"16.65%\"" + }, + { + "question": "What's the tail number of the airplane involved in the accident described as crashed?", + "context": "create table table_229917_2 (tail_number varchar, brief_description varchar, PRIMARY KEY (tail_number))", + "answer": "select tail_number from table_229917_2 where brief_description = \"crashed\"" + }, + { + "question": "What are the distinct visit dates?", + "context": "create table visits (visit_date varchar, PRIMARY KEY (visit_date))", + "answer": "select distinct visit_date from visits" + }, + { + "question": "What was the title of the episode directed by John T. Kretchmer?", + "context": "create table table_18481791_2 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_18481791_2 where directed_by = \"john t. kretchmer\"" + }, + { + "question": "Which school has the mascot of the Colonials?", + "context": "create table table_16403890_1 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_16403890_1 where team_nickname = \"colonials\"" + }, + { + "question": "How many figures are there for Rank 07-11 when the world ranking is 4?", + "context": "create table table_167354_2 (rank_07_11 varchar, world_ranking varchar, PRIMARY KEY (rank_07_11))", + "answer": "select count(rank_07_11) from table_167354_2 where world_ranking = \"4\"" + }, + { + "question": "List the name of artworks in ascending alphabetical order.", + "context": "create table artwork (name varchar, PRIMARY KEY (name))", + "answer": "select name from artwork order by name" + }, + { + "question": "Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco?", + "context": "create table table_27833186_1 (rider_names varchar, location varchar, horse_name varchar, PRIMARY KEY (rider_names))", + "answer": "select rider_names from table_27833186_1 where location = \"euer valley, ca\" and horse_name = \"magic sirocco\"" + }, + { + "question": "list the local authorities and services provided by all stations.", + "context": "create table station (local_authority varchar, services varchar, PRIMARY KEY (local_authority))", + "answer": "select local_authority, services from station" + }, + { + "question": "what are all the\u00a0uu-usu score\u00a0with\u00a0winner\u00a0is #5 brigham young (2\u20130)", + "context": "create table table_13665809_2 (uu_usu_score varchar, winner varchar, PRIMARY KEY (uu_usu_score))", + "answer": "select uu_usu_score from table_13665809_2 where winner = \"#5 brigham young (2\u20130)\"" + }, + { + "question": "Who did they play against in the game that ended in 2-2?", + "context": "create table table_13258806_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_13258806_2 where record = \"2-2\"" + }, + { + "question": "Show the builder of railways associated with the trains named \"Andaman Exp\".", + "context": "create table railway (builder varchar, railway_id varchar, PRIMARY KEY (builder)); create table train (railway_id varchar, name varchar, PRIMARY KEY (railway_id))", + "answer": "select t1.builder from railway as t1 join train as t2 on t1.railway_id = t2.railway_id where t2.name = \"andaman exp\"" + }, + { + "question": "If puma is 12, what is camper?", + "context": "create table table_26894949_2 (camper integer, puma varchar, PRIMARY KEY (camper))", + "answer": "select min(camper) from table_26894949_2 where puma = \"12\"" + }, + { + "question": "who directed s01e13", + "context": "create table table_20360535_2 (directed_by varchar, television_order varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_20360535_2 where television_order = \"s01e13\"" + }, + { + "question": "List every individual's first name, middle name and last name in alphabetical order by last name.", + "context": "create table individuals (individual_first_name varchar, individual_middle_name varchar, individual_last_name varchar, PRIMARY KEY (individual_first_name))", + "answer": "select individual_first_name, individual_middle_name, individual_last_name from individuals order by individual_last_name" + }, + { + "question": "Name the high rebounds for new york", + "context": "create table table_22669044_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_22669044_9 where team = \"new york\"" + }, + { + "question": "How many residence cities have an English name of Province of Viborg and Nyslott?", + "context": "create table table_198175_2 (residence_city varchar, english_name varchar, PRIMARY KEY (residence_city))", + "answer": "select count(residence_city) from table_198175_2 where english_name = \"province of viborg and nyslott\"" + }, + { + "question": "How many players are there for mens singles when chen qi ma lin played mens doubles?", + "context": "create table table_28138035_20 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select count(mens_singles) from table_28138035_20 where mens_doubles = \"chen qi ma lin\"" + }, + { + "question": "Name the title that was written by r. scott gemmill", + "context": "create table table_17356042_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_17356042_1 where written_by = \"r. scott gemmill\"" + }, + { + "question": "How many scores did Helen Sildna give when Iiris Vesik gave a 3?", + "context": "create table table_29261215_4 (helen_sildna varchar, iiris_vesik varchar, PRIMARY KEY (helen_sildna))", + "answer": "select count(helen_sildna) from table_29261215_4 where iiris_vesik = 3" + }, + { + "question": "Name the pinyin for 657 date", + "context": "create table table_16162581_1 (pinyin varchar, date__ce_ varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_16162581_1 where date__ce_ = \"657\"" + }, + { + "question": "if the aramaic is \u0161l\u0101m-\u0101\u02bc, what is the english?", + "context": "create table table_26919_7 (english varchar, aramaic varchar, PRIMARY KEY (english))", + "answer": "select english from table_26919_7 where aramaic = \"\u0161l\u0101m-\u0101\u02bc\"" + }, + { + "question": "Vsevolod Shilovskiy is from what country?", + "context": "create table table_10236830_4 (country varchar, actors_name varchar, PRIMARY KEY (country))", + "answer": "select country from table_10236830_4 where actors_name = \"vsevolod shilovskiy\"" + }, + { + "question": "Name the total number of written by for 26 july 2010", + "context": "create table table_27218002_1 (written_by varchar, originalairdate varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_27218002_1 where originalairdate = \"26 july 2010\"" + }, + { + "question": "What are the email addresses of teachers whose address has zip code \"918\"?", + "context": "create table addresses (address_id varchar, zip_postcode varchar, PRIMARY KEY (address_id)); create table teachers (email_address varchar, address_id varchar, PRIMARY KEY (email_address))", + "answer": "select t2.email_address from addresses as t1 join teachers as t2 on t1.address_id = t2.address_id where t1.zip_postcode = \"918\"" + }, + { + "question": "What was the area (km\u00b2) (per sqmi) of a country with a population density per km\u00b2 of 8.4/km\u00b2 (/sqmi)?", + "context": "create table table_26769_1 (area__km\u00b2___per_sqmi_ varchar, population_density_per_km\u00b2 varchar, PRIMARY KEY (area__km\u00b2___per_sqmi_))", + "answer": "select area__km\u00b2___per_sqmi_ from table_26769_1 where population_density_per_km\u00b2 = \"8.4/km\u00b2 (/sqmi)\"" + }, + { + "question": "What album was the song It's going so badly on?", + "context": "create table table_23667534_1 (album_s_ varchar, song_s__title varchar, PRIMARY KEY (album_s_))", + "answer": "select album_s_ from table_23667534_1 where song_s__title = \"it's going so badly\"" + }, + { + "question": "What was the data on January 15-16 if the data recorded June 10-11 is June 10, 1964?", + "context": "create table table_25216791_3 (january_15_16 varchar, june_10_11 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25216791_3 where june_10_11 = \"june 10, 1964\"" + }, + { + "question": "Name the dar for telenord", + "context": "create table table_15887683_17 (dar varchar, television_service varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_17 where television_service = \"telenord\"" + }, + { + "question": "what is wed 25 aug when mon 23 aug is 26' 57.82 89.957mph?", + "context": "create table table_26986076_2 (wed_25_aug varchar, mon_23_aug varchar, PRIMARY KEY (wed_25_aug))", + "answer": "select wed_25_aug from table_26986076_2 where mon_23_aug = \"26' 57.82 89.957mph\"" + }, + { + "question": "How many type of governments are in Africa?", + "context": "create table country (governmentform varchar, continent varchar, PRIMARY KEY (governmentform))", + "answer": "select count(distinct governmentform) from country where continent = \"africa\"" + }, + { + "question": "How many directors were there for the film Course Completed?", + "context": "create table table_10798928_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_10798928_1 where film_title_used_in_nomination = \"course completed\"" + }, + { + "question": "Name the fluency for transcortical sensory aphasia", + "context": "create table table_2088_1 (fluency varchar, type_of_aphasia varchar, PRIMARY KEY (fluency))", + "answer": "select fluency from table_2088_1 where type_of_aphasia = \"transcortical sensory aphasia\"" + }, + { + "question": "How many vehicle thefts data were recorded if forcible rape is 1232?", + "context": "create table table_26060884_2 (vehicle_theft varchar, forcible_rape varchar, PRIMARY KEY (vehicle_theft))", + "answer": "select count(vehicle_theft) from table_26060884_2 where forcible_rape = 1232" + }, + { + "question": "How many different payment methods are there?", + "context": "create table customers (payment_method varchar, PRIMARY KEY (payment_method))", + "answer": "select count(distinct payment_method) from customers" + }, + { + "question": "How many s hindu are where buddhists are 955?", + "context": "create table table_14598_5 (s_hindu varchar, buddhist varchar, PRIMARY KEY (s_hindu))", + "answer": "select s_hindu from table_14598_5 where buddhist = \"955\"" + }, + { + "question": "who directed the movie written by is sib ventress / aydrea ten bosch", + "context": "create table table_10269427_3 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_10269427_3 where written_by = \"sib ventress / aydrea ten bosch\"" + }, + { + "question": "Find the number of manufactures that are based in Tokyo or Beijing.", + "context": "create table manufacturers (headquarter varchar, PRIMARY KEY (headquarter))", + "answer": "select count(*) from manufacturers where headquarter = 'tokyo' or headquarter = 'beijing'" + }, + { + "question": "What is the role code with the largest number of employees?", + "context": "create table employees (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from employees group by role_code order by count(*) desc limit 1" + }, + { + "question": "What are the completion dates of all the tests that have result \"Fail\"?", + "context": "create table student_tests_taken (registration_id varchar, test_result varchar, PRIMARY KEY (registration_id)); create table student_course_enrolment (date_of_completion varchar, registration_id varchar, PRIMARY KEY (date_of_completion))", + "answer": "select t1.date_of_completion from student_course_enrolment as t1 join student_tests_taken as t2 on t1.registration_id = t2.registration_id where t2.test_result = \"fail\"" + }, + { + "question": "List the number of invoices from the US, grouped by state.", + "context": "create table invoices (billing_state varchar, billing_country varchar, PRIMARY KEY (billing_state))", + "answer": "select billing_state, count(*) from invoices where billing_country = \"usa\" group by billing_state" + }, + { + "question": "Which role is most common for the staff?", + "context": "create table project_staff (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from project_staff group by role_code order by count(*) desc limit 1" + }, + { + "question": "What was the manner of departure when the outgoing manager was andrea mandorlini?", + "context": "create table table_26976615_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_26976615_3 where outgoing_manager = \"andrea mandorlini\"" + }, + { + "question": "If the parallel bars numbers is 61.500, what is the total number for the flood?", + "context": "create table table_18662026_1 (floor varchar, parallel_bars varchar, PRIMARY KEY (floor))", + "answer": "select count(floor) from table_18662026_1 where parallel_bars = \"61.500\"" + }, + { + "question": "What country has the order number 711871-711880?", + "context": "create table table_2351952_1 (country varchar, order_number varchar, PRIMARY KEY (country))", + "answer": "select country from table_2351952_1 where order_number = \"711871-711880\"" + }, + { + "question": "What is the sanskrit word if the transcription is wan athit?", + "context": "create table table_180802_3 (sanskrit_word varchar, transcription varchar, PRIMARY KEY (sanskrit_word))", + "answer": "select sanskrit_word from table_180802_3 where transcription = \"wan athit\"" + }, + { + "question": "What are the locations with an eagles macot?", + "context": "create table table_13456202_1 (location varchar, mascot varchar, PRIMARY KEY (location))", + "answer": "select location from table_13456202_1 where mascot = \"eagles\"" + }, + { + "question": "When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?", + "context": "create table table_26609958_1 (groundwater_discharge__million_m_3__ integer, hydrographic_basin varchar, PRIMARY KEY (groundwater_discharge__million_m_3__))", + "answer": "select min(groundwater_discharge__million_m_3__) from table_26609958_1 where hydrographic_basin = \"cabarita river\"" + }, + { + "question": "How many connection catagories are there for Tampa?", + "context": "create table table_2093995_1 (connections varchar, stations varchar, PRIMARY KEY (connections))", + "answer": "select count(connections) from table_2093995_1 where stations = \"tampa\"" + }, + { + "question": "What party does incumbent Charles Edward Bennett belong to?", + "context": "create table table_1341598_10 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341598_10 where incumbent = \"charles edward bennett\"" + }, + { + "question": "What was the name of the entrant with an owner named David Johnson?", + "context": "create table table_20668268_1 (name varchar, owner varchar, PRIMARY KEY (name))", + "answer": "select name from table_20668268_1 where owner = \"david johnson\"" + }, + { + "question": "What is the id and name of the department store that has both marketing and managing department?", + "context": "create table department_stores (dept_store_id varchar, store_name varchar, PRIMARY KEY (dept_store_id)); create table departments (dept_store_id varchar, department_name varchar, PRIMARY KEY (dept_store_id))", + "answer": "select t2.dept_store_id, t2.store_name from departments as t1 join department_stores as t2 on t1.dept_store_id = t2.dept_store_id where t1.department_name = \"marketing\" intersect select t2.dept_store_id, t2.store_name from departments as t1 join department_stores as t2 on t1.dept_store_id = t2.dept_store_id where t1.department_name = \"managing\"" + }, + { + "question": "Who wrote the episode directed by Peter Woeste?", + "context": "create table table_15284274_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_15284274_1 where directed_by = \"peter woeste\"" + }, + { + "question": "What is the chambering for the 8339 f bolt ( kgf )?", + "context": "create table table_26967904_2 (chambering varchar, f_bolt___kgf__ varchar, PRIMARY KEY (chambering))", + "answer": "select chambering from table_26967904_2 where f_bolt___kgf__ = 8339" + }, + { + "question": "What is the id and name of the browser that is compatible with the most web accelerators?", + "context": "create table browser (id varchar, name varchar, PRIMARY KEY (id)); create table accelerator_compatible_browser (browser_id varchar, PRIMARY KEY (browser_id))", + "answer": "select t1.id, t1.name from browser as t1 join accelerator_compatible_browser as t2 on t1.id = t2.browser_id group by t1.id order by count(*) desc limit 1" + }, + { + "question": "How many settlements have as their cyrillic name and other names \u043f\u0430\u043d\u043e\u043d\u0438\u0458\u0430?", + "context": "create table table_2562572_27 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_27 where cyrillic_name_other_names = \"\u043f\u0430\u043d\u043e\u043d\u0438\u0458\u0430\"" + }, + { + "question": "Name the minimum for 2500-3000 ft for scotland", + "context": "create table table_1456056_1 (country varchar, PRIMARY KEY (country))", + "answer": "select min(2500 as _3000ft) from table_1456056_1 where country = \"scotland\"" + }, + { + "question": "Name the party a for m. s. k. sathiyendran runner up", + "context": "create table table_22754310_1 (party varchar, runner_up_a varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22754310_1 where runner_up_a = \"m. s. k. sathiyendran\"" + }, + { + "question": "Who has the high points when 53-27 is the record?", + "context": "create table table_23284271_10 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23284271_10 where record = \"53-27\"" + }, + { + "question": "How many points per game did he have when he had 1.5 assists per game?", + "context": "create table table_2761641_1 (points_per_game varchar, assists_per_game varchar, PRIMARY KEY (points_per_game))", + "answer": "select points_per_game from table_2761641_1 where assists_per_game = \"1.5\"" + }, + { + "question": "When Paul Whiting won the mixed veteran, who won the mixed restricted?", + "context": "create table table_28211674_3 (mixed_restricted varchar, mixed_veteran varchar, PRIMARY KEY (mixed_restricted))", + "answer": "select mixed_restricted from table_28211674_3 where mixed_veteran = \"paul whiting\"" + }, + { + "question": "What is the percentage of all the literate people where females are 73.17?", + "context": "create table table_14598_9 (literate_persons___percentage_ varchar, females___percentage_ varchar, PRIMARY KEY (literate_persons___percentage_))", + "answer": "select literate_persons___percentage_ from table_14598_9 where females___percentage_ = \"73.17\"" + }, + { + "question": "What's the axle ratio of the model with model designation 97G00?", + "context": "create table table_20866024_2 (axle_ratio varchar, model_designation varchar, PRIMARY KEY (axle_ratio))", + "answer": "select axle_ratio from table_20866024_2 where model_designation = \"97g00\"" + }, + { + "question": "How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?", + "context": "create table table_1013129_2 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_1013129_2 where nhl_team = \"washington capitals\"" + }, + { + "question": "What is the mascot for texas tech university?", + "context": "create table table_28243691_1 (team_nickname varchar, institution varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_28243691_1 where institution = \"texas tech university\"" + }, + { + "question": "How many CFL teams drafted someone from mount allison college?", + "context": "create table table_26996293_3 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select count(cfl_team) from table_26996293_3 where college = \"mount allison\"" + }, + { + "question": "What type had a beginning term of December 8, 1980", + "context": "create table table_1602620_1 (type varchar, term_began varchar, PRIMARY KEY (type))", + "answer": "select type from table_1602620_1 where term_began = \"december 8, 1980\"" + }, + { + "question": "List the presbyterian members of the senate.", + "context": "create table table_20803065_1 (senator varchar, religion varchar, PRIMARY KEY (senator))", + "answer": "select senator from table_20803065_1 where religion = \"presbyterian\"" + }, + { + "question": "What was the goal accuracy % when the total disposals are 481?", + "context": "create table table_2814720_1 (goal_accuracy__percentage varchar, total_disposals varchar, PRIMARY KEY (goal_accuracy__percentage))", + "answer": "select goal_accuracy__percentage from table_2814720_1 where total_disposals = 481" + }, + { + "question": "How many 'United Airlines' flights go to Airport 'ASY'?", + "context": "create table flights (airline varchar, destairport varchar, PRIMARY KEY (airline)); create table airlines (uid varchar, airline varchar, PRIMARY KEY (uid))", + "answer": "select count(*) from airlines as t1 join flights as t2 on t2.airline = t1.uid where t1.airline = \"united airlines\" and t2.destairport = \"asy\"" + }, + { + "question": "Which sport has most number of students on scholarship?", + "context": "create table sportsinfo (sportname varchar, onscholarship varchar, PRIMARY KEY (sportname))", + "answer": "select sportname from sportsinfo where onscholarship = 'y' group by sportname order by count(*) desc limit 1" + }, + { + "question": "What was the name of the episode that was directed by Mary Harron?", + "context": "create table table_2182654_6 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2182654_6 where directed_by = \"mary harron\"" + }, + { + "question": "How many votes were cast when the constituency was midlothian?", + "context": "create table table_25818630_2 (votes__cast varchar, constituency varchar, PRIMARY KEY (votes__cast))", + "answer": "select votes__cast from table_25818630_2 where constituency = \"midlothian\"" + }, + { + "question": "Show the distinct apartment numbers of the apartments that have bookings with status code \"Confirmed\".", + "context": "create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number)); create table apartment_bookings (apt_id varchar, booking_status_code varchar, PRIMARY KEY (apt_id))", + "answer": "select distinct t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = \"confirmed\"" + }, + { + "question": "what are the notes for date (from) 12 august 1897?", + "context": "create table table_12562214_1 (notes varchar, date__from_ varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_12562214_1 where date__from_ = \"12 august 1897\"" + }, + { + "question": "What is the detailed family information where the sequence is aagtact?", + "context": "create table table_26708105_2 (detailed_family_information varchar, sequence varchar, PRIMARY KEY (detailed_family_information))", + "answer": "select count(detailed_family_information) from table_26708105_2 where sequence = \"aagtact\"" + }, + { + "question": "When atsv erlangen is the mittelfranken nord and alemannia haibach is the unterfranken west what is the mittelfranken s\u00fcd?", + "context": "create table table_23224961_2 (mittelfranken_s\u00fcd varchar, unterfranken_west varchar, mittelfranken_nord varchar, PRIMARY KEY (mittelfranken_s\u00fcd))", + "answer": "select mittelfranken_s\u00fcd from table_23224961_2 where unterfranken_west = \"alemannia haibach\" and mittelfranken_nord = \"atsv erlangen\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0incumbent\u00a0being william b. bankhead", + "context": "create table table_1342292_2 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342292_2 where incumbent = \"william b. bankhead\"" + }, + { + "question": "If 4 went to iran and the amount that survived was less than 12.0 how many were there in 1990?", + "context": "create table table_1817852_1 (to_iran varchar, survived varchar, PRIMARY KEY (to_iran))", + "answer": "select count(1990) from table_1817852_1 where to_iran = 4 and survived < 12.0" + }, + { + "question": "What is every type for the location of Roanoke, Virginia?", + "context": "create table table_261954_1 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select type from table_261954_1 where location = \"roanoke, virginia\"" + }, + { + "question": "what's the\u00a0status\u00a0with\u00a0incumbent\u00a0being eliot engel", + "context": "create table table_13833770_3 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select status from table_13833770_3 where incumbent = \"eliot engel\"" + }, + { + "question": "How many professors do have a Ph.D. degree?", + "context": "create table professor (prof_high_degree varchar, PRIMARY KEY (prof_high_degree))", + "answer": "select count(*) from professor where prof_high_degree = 'ph.d.'" + }, + { + "question": "How many viewers in the UK did episode 50 have?", + "context": "create table table_30139175_3 (uk_total_viewers varchar, episode_no varchar, PRIMARY KEY (uk_total_viewers))", + "answer": "select uk_total_viewers from table_30139175_3 where episode_no = 50" + }, + { + "question": "Show all the distinct institution types.", + "context": "create table institution (type varchar, PRIMARY KEY (type))", + "answer": "select distinct type from institution" + }, + { + "question": "Name the towns/villages for budapest", + "context": "create table table_16278825_1 (towns__villages varchar, county_seat varchar, PRIMARY KEY (towns__villages))", + "answer": "select towns__villages from table_16278825_1 where county_seat = \"budapest\"" + }, + { + "question": "Who is the constituency when the runner-up was d. Venugopal?", + "context": "create table table_22753245_1 (constituency varchar, runner_up_a varchar, PRIMARY KEY (constituency))", + "answer": "select constituency from table_22753245_1 where runner_up_a = \"d. venugopal\"" + }, + { + "question": "How many Mountains Classifications were in the race with Mike Northey as Youth Classification?", + "context": "create table table_23157997_13 (mountains_classification varchar, youth_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select count(mountains_classification) from table_23157997_13 where youth_classification = \"mike northey\"" + }, + { + "question": "How much did Dale Jarrett win?", + "context": "create table table_21297652_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))", + "answer": "select winnings from table_21297652_1 where driver = \"dale jarrett\"" + }, + { + "question": "What was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms?", + "context": "create table table_18461045_1 (kentucky varchar, michigan varchar, PRIMARY KEY (kentucky))", + "answer": "select kentucky from table_18461045_1 where michigan = \"grosse pointe farms-city ll grosse pointe farms\"" + }, + { + "question": "What is Samuel Smith's party?", + "context": "create table table_2668329_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668329_11 where incumbent = \"samuel smith\"" + }, + { + "question": "What was the innings when caught was 20?", + "context": "create table table_24039597_26 (innings varchar, caught varchar, PRIMARY KEY (innings))", + "answer": "select innings from table_24039597_26 where caught = 20" + }, + { + "question": "list all female (sex is F) candidate names in the alphabetical order.", + "context": "create table candidate (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, sex varchar, PRIMARY KEY (name))", + "answer": "select t1.name from people as t1 join candidate as t2 on t1.people_id = t2.people_id where t1.sex = 'f' order by t1.name" + }, + { + "question": "When 87 mpg-e (39kw-hrs/100mi) is the epa rated combined fuel economy how many operating modes are there?", + "context": "create table table_24620684_2 (operating_mode varchar, epa_rated_combined_fuel_economy varchar, PRIMARY KEY (operating_mode))", + "answer": "select count(operating_mode) from table_24620684_2 where epa_rated_combined_fuel_economy = \"87 mpg-e (39kw-hrs/100mi)\"" + }, + { + "question": "How many stamps were designed for the theme of XII Summit de la Francophonie?", + "context": "create table table_11900773_6 (design varchar, theme varchar, PRIMARY KEY (design))", + "answer": "select count(design) from table_11900773_6 where theme = \"xii summit de la francophonie\"" + }, + { + "question": "Name the family/families uk17", + "context": "create table table_19897294_5 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))", + "answer": "select family_families from table_19897294_5 where no_overall = \"uk17\"" + }, + { + "question": "Name the original airdate for guy verney", + "context": "create table table_20345624_2 (original_airdate varchar, director varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_20345624_2 where director = \"guy verney\"" + }, + { + "question": "When was the tournament in Forest Lake Country Club held?", + "context": "create table table_229059_2 (dates varchar, tournament_location varchar, PRIMARY KEY (dates))", + "answer": "select dates from table_229059_2 where tournament_location = \"forest lake country club\"" + }, + { + "question": "List all customers\u2019 names in the alphabetical order.", + "context": "create table accounts (name varchar, PRIMARY KEY (name))", + "answer": "select name from accounts order by name" + }, + { + "question": "On broadcast date is 28march1970, how many people tuned in?", + "context": "create table table_2102898_1 (viewers__in_millions_ varchar, broadcast_date varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_2102898_1 where broadcast_date = \"28march1970\"" + }, + { + "question": "what is the type of vehicle driven by mark higgins", + "context": "create table table_28046929_2 (car varchar, driver varchar, PRIMARY KEY (car))", + "answer": "select car from table_28046929_2 where driver = \"mark higgins\"" + }, + { + "question": "How many trains depart at 17:30?", + "context": "create table table_27011761_2 (train_no varchar, departure varchar, PRIMARY KEY (train_no))", + "answer": "select count(train_no) from table_27011761_2 where departure = \"17:30\"" + }, + { + "question": "Which nation is where the horse parkmore ed is?", + "context": "create table table_18666752_3 (nation varchar, horse varchar, PRIMARY KEY (nation))", + "answer": "select nation from table_18666752_3 where horse = \"parkmore ed\"" + }, + { + "question": "What is the days with rain figure for the city of Santiago de Compostela?", + "context": "create table table_12837_1 (days_with_rain__year_summer_ varchar, city_town varchar, PRIMARY KEY (days_with_rain__year_summer_))", + "answer": "select days_with_rain__year_summer_ from table_12837_1 where city_town = \"santiago de compostela\"" + }, + { + "question": "What is the independent regional force when alliance is (r) iv\u00e1n norambuena ( udi )?", + "context": "create table table_2651755_1 (independent_regional_force varchar, alliance varchar, PRIMARY KEY (independent_regional_force))", + "answer": "select independent_regional_force from table_2651755_1 where alliance = \"(r) iv\u00e1n norambuena ( udi )\"" + }, + { + "question": "Name the manner of departure for elvio selighini", + "context": "create table table_17275810_7 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_17275810_7 where replaced_by = \"elvio selighini\"" + }, + { + "question": "Name the date successor seated for contested election; served until february 14, 1794", + "context": "create table table_224837_4 (date_successor_seated varchar, reason_for_change varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_224837_4 where reason_for_change = \"contested election; served until february 14, 1794\"" + }, + { + "question": "What's the type of the school whose students are nicknamed Chargers?", + "context": "create table table_1969577_3 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_1969577_3 where nickname = \"chargers\"" + }, + { + "question": "When spanish challenge is the team name what are the rr1 points?", + "context": "create table table_21489362_2 (rr1_pts varchar, team_name varchar, PRIMARY KEY (rr1_pts))", + "answer": "select rr1_pts from table_21489362_2 where team_name = \"spanish challenge\"" + }, + { + "question": "How many circuits had a winning team of #1 patr\u00f3n highcroft racing ang gtc winning team #81 alex job racing ?", + "context": "create table table_24037660_2 (circuit varchar, lmp_winning_team varchar, gtc_winning_team varchar, PRIMARY KEY (circuit))", + "answer": "select count(circuit) from table_24037660_2 where lmp_winning_team = \"#1 patr\u00f3n highcroft racing\" and gtc_winning_team = \"#81 alex job racing\"" + }, + { + "question": "What is Stella Farentino's current relationship status?", + "context": "create table table_24143253_2 (current_marital_status varchar, name varchar, PRIMARY KEY (current_marital_status))", + "answer": "select current_marital_status from table_24143253_2 where name = \"stella farentino\"" + }, + { + "question": "who won the senate seat in arkansas", + "context": "create table table_1133844_4 (senator varchar, state__linked_to_summaries_below_ varchar, PRIMARY KEY (senator))", + "answer": "select senator from table_1133844_4 where state__linked_to_summaries_below_ = \"arkansas\"" + }, + { + "question": "What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?", + "context": "create table table_16175217_1 (donor_payment varchar, children_per_donor varchar, allowed_recipients varchar, PRIMARY KEY (donor_payment))", + "answer": "select donor_payment from table_16175217_1 where children_per_donor = \"6 children\" and allowed_recipients = \"no data\"" + }, + { + "question": "How many budget types do we have?", + "context": "create table ref_budget_codes (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_budget_codes" + }, + { + "question": "When finland is the country how many hometowns are there?", + "context": "create table table_18626383_2 (hometown varchar, country varchar, PRIMARY KEY (hometown))", + "answer": "select count(hometown) from table_18626383_2 where country = \"finland\"" + }, + { + "question": "What NFL team picked a player from Jackson State?", + "context": "create table table_2508633_9 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_2508633_9 where college = \"jackson state\"" + }, + { + "question": "Name the number of team for 19th position", + "context": "create table table_27666856_3 (team varchar, position_in_table varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27666856_3 where position_in_table = \"19th\"" + }, + { + "question": "Who replaced outgoing manager Jos\u00e9 \u00c1ngel Ziganda?", + "context": "create table table_17201869_3 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17201869_3 where outgoing_manager = \"jos\u00e9 \u00e1ngel ziganda\"" + }, + { + "question": "What is the english spelling of the word that has the strongs trasliteration of y e howram?", + "context": "create table table_1242447_1 (english_spelling varchar, strongs_transliteration varchar, PRIMARY KEY (english_spelling))", + "answer": "select english_spelling from table_1242447_1 where strongs_transliteration = \"y e howram\"" + }, + { + "question": "Name the team for arif asadov", + "context": "create table table_22848931_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_22848931_3 where replaced_by = \"arif asadov\"" + }, + { + "question": "When yidu \u5b9c\u90fd is the commandery what is the lowest number of countries?", + "context": "create table table_278229_1 (no_of_counties integer, commandery varchar, PRIMARY KEY (no_of_counties))", + "answer": "select min(no_of_counties) from table_278229_1 where commandery = \"yidu \u5b9c\u90fd\"" + }, + { + "question": "Name the bulgarian name for mart", + "context": "create table table_15275060_1 (bulgarian_name varchar, mart varchar, transliteration varchar, PRIMARY KEY (bulgarian_name))", + "answer": "select bulgarian_name from table_15275060_1 where bulgarian_name(transliteration) = mart" + }, + { + "question": "Which teams used Wally Rogers as their crew chief?", + "context": "create table table_1266602_2 (team varchar, crew_chief varchar, PRIMARY KEY (team))", + "answer": "select team from table_1266602_2 where crew_chief = \"wally rogers\"" + }, + { + "question": "The engine family MaxxForce 5\t in the years produced 2007-current, have what cylinder layout?", + "context": "create table table_26352332_4 (cylinder_layout varchar, years_produced varchar, engine_family varchar, PRIMARY KEY (cylinder_layout))", + "answer": "select cylinder_layout from table_26352332_4 where years_produced = \"2007-current\" and engine_family = \"maxxforce 5\"" + }, + { + "question": "What are the descriptions and names of the courses that have student enrollment bigger than 2?", + "context": "create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id)); create table courses (course_description varchar, course_name varchar, course_id varchar, PRIMARY KEY (course_description))", + "answer": "select t1.course_description, t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name having count(*) > 2" + }, + { + "question": "How many categories of Senate Seats does Emile Roemer have?", + "context": "create table table_158282_1 (senate_seats varchar, political_leader varchar, PRIMARY KEY (senate_seats))", + "answer": "select count(senate_seats) from table_158282_1 where political_leader = \"emile roemer\"" + }, + { + "question": "Who was the General Classification awardee if Sergio Luis Henao was the winner and the Points Classification award was given to Sergio Luis Henao?", + "context": "create table table_28853064_15 (general_classification varchar, winner varchar, points_classification varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_28853064_15 where winner = \"sergio luis henao\" and points_classification = \"sergio luis henao\"" + }, + { + "question": "What is the earliest quarterfinal week when the genre is dancing and the act is 32?", + "context": "create table table_27529608_21 (qtr_final__week_ integer, genre varchar, age_s_ varchar, PRIMARY KEY (qtr_final__week_))", + "answer": "select min(qtr_final__week_) from table_27529608_21 where genre = \"dancing\" and age_s_ = \"32\"" + }, + { + "question": "If the amount of U.S. viewers is 2.05 milliom, who was the episode directed by?", + "context": "create table table_23399481_2 (directed_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_23399481_2 where us_viewers__in_millions_ = \"2.05\"" + }, + { + "question": "What is the region 2 for the complete fifth series?", + "context": "create table table_1337525_1 (region_2 varchar, complete_series varchar, PRIMARY KEY (region_2))", + "answer": "select region_2 from table_1337525_1 where complete_series = \"the complete fifth series\"" + }, + { + "question": "What was the to winnning team when the tu winning team was #16 2002?", + "context": "create table table_13657883_2 (to_winning_team varchar, tu_winning_team varchar, PRIMARY KEY (to_winning_team))", + "answer": "select to_winning_team from table_13657883_2 where tu_winning_team = \"#16 2002\"" + }, + { + "question": "What is the postal code when the administrative capital in Bori?", + "context": "create table table_28891101_3 (postal_code integer, administrative_capital varchar, PRIMARY KEY (postal_code))", + "answer": "select max(postal_code) from table_28891101_3 where administrative_capital = \"bori\"" + }, + { + "question": "Which states have renewable electricity equal to 9667 (gw\u00d7h)?", + "context": "create table table_25244412_1 (state varchar, renewable_electricity__gw\u2022h_ varchar, PRIMARY KEY (state))", + "answer": "select state from table_25244412_1 where renewable_electricity__gw\u2022h_ = 9667" + }, + { + "question": "What is every Gregorian month when the season in Tamil is \u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd?", + "context": "create table table_1740431_3 (gregorian_months varchar, season_in_tamil varchar, PRIMARY KEY (gregorian_months))", + "answer": "select gregorian_months from table_1740431_3 where season_in_tamil = \"\u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd\"" + }, + { + "question": "Show the apartment numbers of apartments with bookings that have status code both \"Provisional\" and \"Confirmed\"", + "context": "create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number)); create table apartment_bookings (apt_id varchar, booking_status_code varchar, PRIMARY KEY (apt_id))", + "answer": "select t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = \"confirmed\" intersect select t2.apt_number from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t1.booking_status_code = \"provisional\"" + }, + { + "question": "Who won the tournament when Idaho State won the regular season?", + "context": "create table table_22779004_1 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))", + "answer": "select conference as tournament from table_22779004_1 where regular_season_winner = \"idaho state\"" + }, + { + "question": "When the network mask is 255.255.255.252 what is the prefix size?", + "context": "create table table_149426_4 (prefix_size varchar, network_mask varchar, PRIMARY KEY (prefix_size))", + "answer": "select prefix_size from table_149426_4 where network_mask = \"255.255.255.252\"" + }, + { + "question": "Name the rank timeslot for 11.59 viewers", + "context": "create table table_20971444_3 (rank__timeslot_ varchar, viewers__millions_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select rank__timeslot_ from table_20971444_3 where viewers__millions_ = \"11.59\"" + }, + { + "question": "What is the status in those places where the poverty rate is 8.6%?", + "context": "create table table_22815568_7 (status varchar, poverty_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_7 where poverty_rate = \"8.6%\"" + }, + { + "question": "What is the poor law union of the Lackenagobidane townland?", + "context": "create table table_30121046_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30121046_1 where townland = \"lackenagobidane\"" + }, + { + "question": "If high assists are under Canty (6) how much would the record be?", + "context": "create table table_17118657_10 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_17118657_10 where high_assists = \"canty (6)\"" + }, + { + "question": "List the names and emails of customers who payed by Visa card.", + "context": "create table customers (customer_email varchar, customer_name varchar, payment_method varchar, PRIMARY KEY (customer_email))", + "answer": "select customer_email, customer_name from customers where payment_method = 'visa'" + }, + { + "question": "What member of the current Broadway cast plays the character played by Constantine Maroulis from the original Broadway cast?", + "context": "create table table_19529639_3 (current_broadway_cast varchar, original_broadway_cast varchar, PRIMARY KEY (current_broadway_cast))", + "answer": "select current_broadway_cast from table_19529639_3 where original_broadway_cast = \"constantine maroulis\"" + }, + { + "question": "How many IRST figures for the show that premiered on Canale 5 (2006)?", + "context": "create table table_28803803_1 (irst varchar, original_channel varchar, PRIMARY KEY (irst))", + "answer": "select count(irst) from table_28803803_1 where original_channel = \"canale 5 (2006)\"" + }, + { + "question": "What are characteristic names used at least twice across all products?", + "context": "create table products (product_id varchar, PRIMARY KEY (product_id)); create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "select t3.characteristic_name 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 group by t3.characteristic_name having count(*) >= 2" + }, + { + "question": "How many entries have a speed of exactly 2.53 GHz?", + "context": "create table table_269920_16 (cores varchar, speed__ghz_ varchar, PRIMARY KEY (cores))", + "answer": "select count(cores) from table_269920_16 where speed__ghz_ = \"2.53\"" + }, + { + "question": "How many outputs are there for solid state, battery operated for portable use listed in notes?", + "context": "create table table_25276250_3 (outputs varchar, notes varchar, PRIMARY KEY (outputs))", + "answer": "select count(outputs) from table_25276250_3 where notes = \"solid state, battery operated for portable use\"" + }, + { + "question": "Name the original air date for the potter family", + "context": "create table table_19897294_16 (original_air_date varchar, family_families varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_19897294_16 where family_families = \"the potter family\"" + }, + { + "question": "What market is Wessington Springs in", + "context": "create table table_134729_3 (target_city__market varchar, city_of_license varchar, PRIMARY KEY (target_city__market))", + "answer": "select target_city__market from table_134729_3 where city_of_license = \"wessington springs\"" + }, + { + "question": "How many total finals where there when the last win was in 2012-13?", + "context": "create table table_14286908_1 (total_finals varchar, year_of_last_win varchar, PRIMARY KEY (total_finals))", + "answer": "select total_finals from table_14286908_1 where year_of_last_win = \"2012-13\"" + }, + { + "question": "Name the scientific name for veiled chameleon", + "context": "create table table_175442_1 (scientific_name varchar, common_name varchar, PRIMARY KEY (scientific_name))", + "answer": "select scientific_name from table_175442_1 where common_name = \"veiled chameleon\"" + }, + { + "question": "Name the common name for rhampholeon spectrum", + "context": "create table table_175442_1 (common_name varchar, scientific_name varchar, PRIMARY KEY (common_name))", + "answer": "select common_name from table_175442_1 where scientific_name = \"rhampholeon spectrum\"" + }, + { + "question": "Who won the mens doubles when wang hao won the mens singles?", + "context": "create table table_28138035_26 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28138035_26 where mens_singles = \"wang hao\"" + }, + { + "question": "What type of car does Jeff Fuller drive?", + "context": "create table table_2182170_1 (car_s_ varchar, driver_s_ varchar, PRIMARY KEY (car_s_))", + "answer": "select car_s_ from table_2182170_1 where driver_s_ = \"jeff fuller\"" + }, + { + "question": "How many weeks are shown for the champion of john mcenroe 6\u20132, 6\u20133?", + "context": "create table table_21584646_10 (week_of varchar, champion varchar, PRIMARY KEY (week_of))", + "answer": "select count(week_of) from table_21584646_10 where champion = \"john mcenroe 6\u20132, 6\u20133\"" + }, + { + "question": "When 2005 is the year played what is the lowest year drafted?", + "context": "create table table_18373863_2 (year_drafted integer, years_played varchar, PRIMARY KEY (year_drafted))", + "answer": "select min(year_drafted) from table_18373863_2 where years_played = \"2005\"" + }, + { + "question": "How many perpetrators are there?", + "context": "create table perpetrator (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from perpetrator" + }, + { + "question": "If sail number is AUS 03, what are all associated race numbers?", + "context": "create table table_14882588_2 (race_number varchar, sail_number varchar, PRIMARY KEY (race_number))", + "answer": "select race_number from table_14882588_2 where sail_number = \"aus 03\"" + }, + { + "question": "What is the name of the green house?", + "context": "create table table_11464746_1 (house_name varchar, colours varchar, PRIMARY KEY (house_name))", + "answer": "select house_name from table_11464746_1 where colours = \"green\"" + }, + { + "question": "How many different allergy types exist?", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select count(distinct allergytype) from allergy_type" + }, + { + "question": "What is the decision when the opponents are atlanta thrashers?", + "context": "create table table_27501030_7 (decision varchar, opponent varchar, PRIMARY KEY (decision))", + "answer": "select decision from table_27501030_7 where opponent = \"atlanta thrashers\"" + }, + { + "question": "How many dollars is the revenue when the net profit is 55.4 million dollars?", + "context": "create table table_18077713_1 (revenue__us_$million_ varchar, net_profit__us_$m_ varchar, PRIMARY KEY (revenue__us_$million_))", + "answer": "select revenue__us_$million_ from table_18077713_1 where net_profit__us_$m_ = \"55.4\"" + }, + { + "question": "what is the original air date for julie warner?", + "context": "create table table_26561498_1 (original_air_date varchar, patient_portrayer varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26561498_1 where patient_portrayer = \"julie warner\"" + }, + { + "question": "What's the order number of the song originally performed by Rickie Lee Jones?", + "context": "create table table_12310814_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_12310814_1 where original_artist = \"rickie lee jones\"" + }, + { + "question": "How many different total results are there for the model with parchment/black interior/roof?", + "context": "create table table_2066296_5 (totals varchar, interior_roof varchar, PRIMARY KEY (totals))", + "answer": "select count(totals) from table_2066296_5 where interior_roof = \"parchment/black\"" + }, + { + "question": "Name the record for golden state", + "context": "create table table_23186738_6 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23186738_6 where team = \"golden state\"" + }, + { + "question": "Find the payment method and phone of the party with email \"enrico09@example.com\".", + "context": "create table parties (payment_method_code varchar, party_phone varchar, party_email varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code, party_phone from parties where party_email = \"enrico09@example.com\"" + }, + { + "question": "What week did the member who's original tribe was shark and who was sent to the third island on week 14 arrive on the main island?", + "context": "create table table_11764007_2 (week_arrived_on_main_island varchar, original_tribe varchar, week_sent_to_third_island varchar, PRIMARY KEY (week_arrived_on_main_island))", + "answer": "select week_arrived_on_main_island from table_11764007_2 where original_tribe = \"shark\" and week_sent_to_third_island = \"14\"" + }, + { + "question": "what's the\u00a0village\u00a0with\u00a0wine style\u00a0being red wine and\u00a0vineyard surface (2010)\u00a0being hectares (acres)", + "context": "create table table_13981938_1 (village varchar, wine_style varchar, vineyard_surface__2010_ varchar, PRIMARY KEY (village))", + "answer": "select village from table_13981938_1 where wine_style = \"red wine\" and vineyard_surface__2010_ = \"hectares (acres)\"" + }, + { + "question": "What is the fastest lap for the european grand prix?", + "context": "create table table_1132588_3 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1132588_3 where grand_prix = \"european grand_prix\"" + }, + { + "question": "For small patent type of protections, what type of PCT route is available?", + "context": "create table table_2279413_1 (pct_route_available varchar, type_of_protection varchar, PRIMARY KEY (pct_route_available))", + "answer": "select pct_route_available from table_2279413_1 where type_of_protection = \"small patent\"" + }, + { + "question": "What's the title of the episode written by Harry Winkler?", + "context": "create table table_2342078_5 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2342078_5 where written_by = \"harry winkler\"" + }, + { + "question": "How many submissions are there?", + "context": "create table submission (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from submission" + }, + { + "question": "what type of school is the institution nicknamed seminoles?", + "context": "create table table_28744929_1 (school_type varchar, nickname varchar, PRIMARY KEY (school_type))", + "answer": "select school_type from table_28744929_1 where nickname = \"seminoles\"" + }, + { + "question": "What are the register ids of electoral registries that have the cross reference source system code 'Electoral' or 'Tax'?", + "context": "create table electoral_register (electoral_register_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (electoral_register_id)); create table cmi_cross_references (cmi_cross_ref_id varchar, source_system_code varchar, PRIMARY KEY (cmi_cross_ref_id))", + "answer": "select t1.electoral_register_id from electoral_register as t1 join cmi_cross_references as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id where t2.source_system_code = 'electoral' or t2.source_system_code = 'tax'" + }, + { + "question": "What is the name of the column points against?", + "context": "create table table_13564637_4 (id varchar, PRIMARY KEY (id))", + "answer": "select \"points\" as _against from table_13564637_4 where \"points\" = \"points\"" + }, + { + "question": "What date did the episode that had 1.023 million u.s. viewers originally air?", + "context": "create table table_24223834_3 (original_air_date varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_24223834_3 where us_viewers__in_millions_ = \"1.023\"" + }, + { + "question": "When Vincennes is the county seat what is the area sq mi (km 2 ) (rank) ?", + "context": "create table table_14253123_1 (area_sq_mi__km_2____rank_ varchar, county_seat varchar, PRIMARY KEY (area_sq_mi__km_2____rank_))", + "answer": "select area_sq_mi__km_2____rank_ from table_14253123_1 where county_seat = \"vincennes\"" + }, + { + "question": "Which professional did not operate any treatment on dogs? List the professional's id, role and email.", + "context": "create table professionals (professional_id varchar, role_code varchar, email_address varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))", + "answer": "select professional_id, role_code, email_address from professionals except select t1.professional_id, t1.role_code, t1.email_address from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id" + }, + { + "question": "What's the original airdate of the episode directed by Pete Travis?", + "context": "create table table_12919003_3 (original_airdate varchar, director varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_12919003_3 where director = \"pete travis\"" + }, + { + "question": "How many seats were there in 2001 when there were 11 seats in 2006?", + "context": "create table table_21132404_1 (seats_2001 integer, seats_2006 varchar, PRIMARY KEY (seats_2001))", + "answer": "select min(seats_2001) from table_21132404_1 where seats_2006 = 11" + }, + { + "question": "Find the number of web accelerators used for each Operating system.", + "context": "create table web_client_accelerator (operating_system varchar, PRIMARY KEY (operating_system))", + "answer": "select operating_system, count(*) from web_client_accelerator group by operating_system" + }, + { + "question": "Who got high rebounds when Jordan Crawford (27) got high points?", + "context": "create table table_27721131_10 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27721131_10 where high_points = \"jordan crawford (27)\"" + }, + { + "question": "What is the Nationality when the club team is Peterborough Petes (OHL)?", + "context": "create table table_11803648_20 (nationality varchar, club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_11803648_20 where club_team = \"peterborough petes (ohl)\"" + }, + { + "question": "Who directed the episode that had 12.88 million viewers?", + "context": "create table table_25923164_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25923164_1 where us_viewers__million_ = \"12.88\"" + }, + { + "question": "What is the protein name when the e-value is 2.50e-41?", + "context": "create table table_26708105_5 (protein_name varchar, e_value varchar, PRIMARY KEY (protein_name))", + "answer": "select protein_name from table_26708105_5 where e_value = \"2.50e-41\"" + }, + { + "question": "Name the language for sopachuy 10", + "context": "create table table_2509350_3 (language varchar, sopachuy_municipality varchar, PRIMARY KEY (language))", + "answer": "select language from table_2509350_3 where sopachuy_municipality = 10" + }, + { + "question": "Show each gender code and the corresponding count of guests sorted by the count in descending order.", + "context": "create table guests (gender_code varchar, PRIMARY KEY (gender_code))", + "answer": "select gender_code, count(*) from guests group by gender_code order by count(*) desc" + }, + { + "question": "Where is the university located that's nicknamed the Wolves?", + "context": "create table table_16078390_2 (location varchar, team_nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_16078390_2 where team_nickname = \"wolves\"" + }, + { + "question": "How many directors worked on the episode with 2.27m (5) is the ratings?", + "context": "create table table_2430014_8 (directed_by varchar, uk_ratings__bbc2_rank_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_2430014_8 where uk_ratings__bbc2_rank_ = \"2.27m (5)\"" + }, + { + "question": "What is the category for trains numbered 16609/16610?", + "context": "create table table_21716139_1 (category varchar, train_no varchar, PRIMARY KEY (category))", + "answer": "select category from table_21716139_1 where train_no = \"16609/16610\"" + }, + { + "question": "What is the name of the softball stadium for the school that has Eastern Baseball Stadium?", + "context": "create table table_1974545_3 (softball_stadium varchar, baseball_stadium varchar, PRIMARY KEY (softball_stadium))", + "answer": "select softball_stadium from table_1974545_3 where baseball_stadium = \"eastern baseball stadium\"" + }, + { + "question": "What is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%?", + "context": "create table table_22815568_3 (market_income_per_capita varchar, status varchar, unemployment_rate varchar, PRIMARY KEY (market_income_per_capita))", + "answer": "select market_income_per_capita from table_22815568_3 where status = \"distressed\" and unemployment_rate = \"10.5%\"" + }, + { + "question": "When it's the 2nd round of the open cup what is the playoffs?", + "context": "create table table_1939235_1 (playoffs varchar, open_cup varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1939235_1 where open_cup = \"2nd round\"" + }, + { + "question": "How many seats were forfeited in the revolutionary socialist party?", + "context": "create table table_20728138_1 (seats_forfeited varchar, party varchar, PRIMARY KEY (seats_forfeited))", + "answer": "select count(seats_forfeited) from table_20728138_1 where party = \"revolutionary socialist party\"" + }, + { + "question": "List the number of different series names and contents in the TV Channel table.", + "context": "create table tv_channel (series_name varchar, content varchar, PRIMARY KEY (series_name))", + "answer": "select count(distinct series_name), count(distinct content) from tv_channel" + }, + { + "question": "Who wrote the episode what had the rating 2.27m (5)?", + "context": "create table table_2430014_8 (written_by varchar, uk_ratings__bbc2_rank_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2430014_8 where uk_ratings__bbc2_rank_ = \"2.27m (5)\"" + }, + { + "question": "What 2011 GDP (PPP) billions of USD does Israel have?", + "context": "create table table_2248784_4 (country varchar, PRIMARY KEY (country))", + "answer": "select 2011 as _gdp__ppp__billions_of_usd from table_2248784_4 where country = \"israel\"" + }, + { + "question": "What was the maximum rank-final score on the floor exercise?", + "context": "create table table_26681728_1 (rank_final integer, apparatus varchar, PRIMARY KEY (rank_final))", + "answer": "select max(rank_final) from table_26681728_1 where apparatus = \"floor exercise\"" + }, + { + "question": "What was the Tuesday episode if theThursday episode was 196 Buried?", + "context": "create table table_18173916_6 (tuesday varchar, thursday varchar, PRIMARY KEY (tuesday))", + "answer": "select tuesday from table_18173916_6 where thursday = \"196 buried\"" + }, + { + "question": "How many episodes were written by Alison McDonald?", + "context": "create table table_26961951_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_26961951_4 where written_by = \"alison mcdonald\"" + }, + { + "question": "Find the title of course that is provided by Statistics but not Psychology departments.", + "context": "create table course (title varchar, dept_name varchar, PRIMARY KEY (title))", + "answer": "select title from course where dept_name = 'statistics' except select title from course where dept_name = 'psychology'" + }, + { + "question": "wich were the events when bout 2 was zhang ( chn ) l 0-5?", + "context": "create table table_19398910_4 (event varchar, bout_2 varchar, PRIMARY KEY (event))", + "answer": "select event from table_19398910_4 where bout_2 = \"zhang ( chn ) l 0-5\"" + }, + { + "question": "Where did adrian smith go to college?", + "context": "create table table_26916717_1 (team_school varchar, name varchar, PRIMARY KEY (team_school))", + "answer": "select team_school from table_26916717_1 where name = \"adrian smith\"" + }, + { + "question": "What was the preliminary average for Miss Mississippi?", + "context": "create table table_16323766_3 (preliminary_average varchar, state varchar, PRIMARY KEY (preliminary_average))", + "answer": "select preliminary_average from table_16323766_3 where state = \"mississippi\"" + }, + { + "question": "List the id and type of each thing, and the details of the organization that owns it.", + "context": "create table organizations (organization_details varchar, organization_id varchar, PRIMARY KEY (organization_details)); create table things (thing_id varchar, type_of_thing_code varchar, organization_id varchar, PRIMARY KEY (thing_id))", + "answer": "select t1.thing_id, t1.type_of_thing_code, t2.organization_details from things as t1 join organizations as t2 on t1.organization_id = t2.organization_id" + }, + { + "question": "Which projects have no outcome? List the project details.", + "context": "create table project_outcomes (project_details varchar, project_id varchar, PRIMARY KEY (project_details)); create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details))", + "answer": "select project_details from projects where not project_id in (select project_id from project_outcomes)" + }, + { + "question": "What was the event when su\u00e1rez ( tri ) w 16\u20136 was round of 32?", + "context": "create table table_27294107_11 (event varchar, round_of_32 varchar, PRIMARY KEY (event))", + "answer": "select event from table_27294107_11 where round_of_32 = \"su\u00e1rez ( tri ) w 16\u20136\"" + }, + { + "question": "Show the start dates and end dates of all the apartment bookings.", + "context": "create table apartment_bookings (booking_start_date varchar, booking_end_date varchar, PRIMARY KEY (booking_start_date))", + "answer": "select booking_start_date, booking_end_date from apartment_bookings" + }, + { + "question": "Name the vacator for died august 13, 1826", + "context": "create table table_225102_4 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225102_4 where reason_for_change = \"died august 13, 1826\"" + }, + { + "question": "What is every construction date for the registration of HB-HOS?", + "context": "create table table_22180353_1 (construction varchar, registration varchar, PRIMARY KEY (construction))", + "answer": "select construction as date from table_22180353_1 where registration = \"hb-hos\"" + }, + { + "question": "Name the total number of nicknames for andrew college", + "context": "create table table_16734640_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_16734640_1 where institution = \"andrew college\"" + }, + { + "question": "Which team appointed a person on 23 December 2008?", + "context": "create table table_18788823_5 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select team from table_18788823_5 where date_of_appointment = \"23 december 2008\"" + }, + { + "question": "how many\u00a0party\u00a0with\u00a0candidates\u00a0being alton lennon (d) 89.0% c. dana malpass (r) 11.0%", + "context": "create table table_1341930_33 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341930_33 where candidates = \"alton lennon (d) 89.0% c. dana malpass (r) 11.0%\"" + }, + { + "question": "When 127 is on June 10th to 11th what is November 3rd?", + "context": "create table table_25286976_2 (november_3 varchar, june_10_11 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25286976_2 where june_10_11 = \"127\"" + }, + { + "question": "what is kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 of tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd anusham \u0b85\u0ba9\u0bc1\u0bb7\u0bae\u0bcd", + "context": "create table table_201400_2 (kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 varchar, tamil_name_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd varchar, PRIMARY KEY (kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1))", + "answer": "select kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 from table_201400_2 where tamil_name_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd = \"anusham \u0b85\u0ba9\u0bc1\u0bb7\u0bae\u0bcd\"" + }, + { + "question": "List the document type code, document name, and document description for the document with name 'Noel CV' or name 'King Book'.", + "context": "create table documents (document_type_code varchar, document_name varchar, document_description varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code, document_name, document_description from documents where document_name = 'noel cv' or document_name = 'king book'" + }, + { + "question": "What is the genre name of the film HUNGER ROOF?", + "context": "create table film_category (category_id varchar, film_id varchar, PRIMARY KEY (category_id)); create table film (film_id varchar, title varchar, PRIMARY KEY (film_id)); create table category (name varchar, category_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from category as t1 join film_category as t2 on t1.category_id = t2.category_id join film as t3 on t2.film_id = t3.film_id where t3.title = 'hunger roof'" + }, + { + "question": "When tony kanaan is the driver what is the average speed miles per hour?", + "context": "create table table_1771753_3 (average_speed__mph_ varchar, driver varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_1771753_3 where driver = \"tony kanaan\"" + }, + { + "question": "Who did the high rebounds in the game with a 19-6 record?", + "context": "create table table_18894744_6 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_18894744_6 where record = \"19-6\"" + }, + { + "question": "What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?", + "context": "create table table_16105186_2 (california__san_francisco_ varchar, alaska___juneau__ varchar, southeast__atlanta_ varchar, PRIMARY KEY (california__san_francisco_))", + "answer": "select california__san_francisco_ from table_16105186_2 where alaska___juneau__ = \"80 g/mi (50 g/km)\" and southeast__atlanta_ = \"250 g/mi (155 g/km)\"" + }, + { + "question": "What is the coding for hq021442 genbankid?", + "context": "create table table_14332822_1 (coding varchar, genbank_id varchar, PRIMARY KEY (coding))", + "answer": "select coding from table_14332822_1 where genbank_id = \"hq021442\"" + }, + { + "question": "How many types are cardio?", + "context": "create table table_27512025_1 (program varchar, type varchar, PRIMARY KEY (program))", + "answer": "select count(program) from table_27512025_1 where type = \"cardio\"" + }, + { + "question": "How many models do not have the wifi function?", + "context": "create table chip_model (wifi varchar, PRIMARY KEY (wifi))", + "answer": "select count(*) from chip_model where wifi = 'no'" + }, + { + "question": "Did the I Brazilian Grand Prix have a report?", + "context": "create table table_1140088_6 (report varchar, race_name varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140088_6 where race_name = \"i brazilian grand prix\"" + }, + { + "question": "What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?", + "context": "create table table_256286_8 (type varchar, description varchar, PRIMARY KEY (type))", + "answer": "select type from table_256286_8 where description = \"department of industry and public works amendment\"" + }, + { + "question": "When north american record is the world record who is the denis nizhegorodov ( rus )?", + "context": "create table table_24059973_3 (denis_nizhegorodov___rus__ varchar, world_record varchar, PRIMARY KEY (denis_nizhegorodov___rus__))", + "answer": "select denis_nizhegorodov___rus__ from table_24059973_3 where world_record = \"north american record\"" + }, + { + "question": "Who wrote the episode with 3.96 million US viewers?", + "context": "create table table_2866514_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2866514_1 where us_viewers__million_ = \"3.96\"" + }, + { + "question": "What are the titles of segment c for series episode is 21-08?", + "context": "create table table_15187735_21 (segment_c varchar, series_ep varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_21 where series_ep = \"21-08\"" + }, + { + "question": "What is the home team where the San Jose state is the visiting team?", + "context": "create table table_26842217_4 (home_team varchar, visiting_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26842217_4 where visiting_team = \"san jose state\"" + }, + { + "question": "What team appointed a manager on 12 June?", + "context": "create table table_17327458_1 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select team from table_17327458_1 where date_of_appointment = \"12 june\"" + }, + { + "question": "List the names, phone numbers, and emails of all customers sorted by their dates of becoming customers.", + "context": "create table customers (customer_name varchar, customer_phone varchar, customer_email varchar, date_became_customer varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name, customer_phone, customer_email from customers order by date_became_customer" + }, + { + "question": "In what prefecture is Daito located?", + "context": "create table table_2518850_4 (prefecture varchar, city_town varchar, PRIMARY KEY (prefecture))", + "answer": "select prefecture from table_2518850_4 where city_town = \"daito\"" + }, + { + "question": "How many metropolitan boroughs have dorridge as a station?", + "context": "create table table_15366849_1 (c_ varchar, metropolitan_borough_ varchar, station varchar, PRIMARY KEY (c_))", + "answer": "select count(metropolitan_borough_)[c_] from table_15366849_1 where station = \"dorridge\"" + }, + { + "question": "Who were the candidates in the district where Charlie Norwood is the incumbent?", + "context": "create table table_1341472_12 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341472_12 where incumbent = \"charlie norwood\"" + }, + { + "question": "What is the record for the game against team @ Minnesota?", + "context": "create table table_27713583_2 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27713583_2 where team = \"@ minnesota\"" + }, + { + "question": "Which countries has the most number of airlines?", + "context": "create table airlines (country varchar, PRIMARY KEY (country))", + "answer": "select country from airlines group by country order by count(*) desc limit 1" + }, + { + "question": "when coverage is dumaguete central visayas region, what is the callsign?", + "context": "create table table_24418525_1 (callsign varchar, coverage varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_24418525_1 where coverage = \"dumaguete central visayas region\"" + }, + { + "question": "Who was featured in 20 questions when the subject of the interview was Mike Piazza?", + "context": "create table table_1566852_4 (interview_subject varchar, PRIMARY KEY (interview_subject))", + "answer": "select 20 as _questions from table_1566852_4 where interview_subject = \"mike piazza\"" + }, + { + "question": "What is the GVW for model 97H00?", + "context": "create table table_20866024_4 (gvw__kg_ton_ varchar, model_designation varchar, PRIMARY KEY (gvw__kg_ton_))", + "answer": "select gvw__kg_ton_ from table_20866024_4 where model_designation = \"97h00\"" + }, + { + "question": "List the names of all distinct wines in alphabetical order.", + "context": "create table wine (name varchar, PRIMARY KEY (name))", + "answer": "select distinct name from wine order by name" + }, + { + "question": "What is the percentage of literate people where india is andaman and Nicobar Islands?", + "context": "create table table_14598_9 (literate_persons___percentage_ varchar, india_state_ut varchar, PRIMARY KEY (literate_persons___percentage_))", + "answer": "select literate_persons___percentage_ from table_14598_9 where india_state_ut = \"andaman and nicobar islands\"" + }, + { + "question": "What are the numbers of constructors for different nationalities?", + "context": "create table constructors (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select count(*), nationality from constructors group by nationality" + }, + { + "question": "List all the information about course authors and tutors in alphabetical order of the personal name.", + "context": "create table course_authors_and_tutors (personal_name varchar, PRIMARY KEY (personal_name))", + "answer": "select * from course_authors_and_tutors order by personal_name" + }, + { + "question": "How many results did the GT1 Winning Team No. 50 Larbre Comp\u00e9tition on the Algarve circuit?", + "context": "create table table_24865763_2 (results varchar, circuit varchar, gt1_winning_team varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_24865763_2 where circuit = \"algarve\" and gt1_winning_team = \"no. 50 larbre comp\u00e9tition\"" + }, + { + "question": "What is the brightest star of the constellation that means archer?", + "context": "create table table_287159_1 (brightest_star varchar, meaning varchar, PRIMARY KEY (brightest_star))", + "answer": "select brightest_star from table_287159_1 where meaning = \"archer\"" + }, + { + "question": "Which countries in europe have at least 3 car manufacturers?", + "context": "create table countries (countryname varchar, continent varchar, countryid varchar, PRIMARY KEY (countryname)); create table continents (contid varchar, continent varchar, PRIMARY KEY (contid)); create table car_makers (country varchar, PRIMARY KEY (country))", + "answer": "select t1.countryname from countries as t1 join continents as t2 on t1.continent = t2.contid join car_makers as t3 on t1.countryid = t3.country where t2.continent = 'europe' group by t1.countryname having count(*) >= 3" + }, + { + "question": "For short patent type of protections, what type of PCT route is available?", + "context": "create table table_2279413_1 (pct_route_available varchar, type_of_protection varchar, PRIMARY KEY (pct_route_available))", + "answer": "select pct_route_available from table_2279413_1 where type_of_protection = \"short patent\"" + }, + { + "question": "What is the air date for the episode written by Wendy Battles and directed by Oz Scott", + "context": "create table table_11665016_2 (original_air_date varchar, written_by varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11665016_2 where written_by = \"wendy battles\" and directed_by = \"oz scott\"" + }, + { + "question": "Which nationality is kitchener rangers (ohl) college/junior/club team?", + "context": "create table table_21721351_18 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_21721351_18 where college_junior_club_team = \"kitchener rangers (ohl)\"" + }, + { + "question": "What percentage is listed in column r1b1c (r-v88) for the 4.5% total percentage?", + "context": "create table table_21481509_4 (r1b1c__r_v88_ varchar, total_percentage varchar, PRIMARY KEY (r1b1c__r_v88_))", + "answer": "select r1b1c__r_v88_ from table_21481509_4 where total_percentage = \"4.5%\"" + }, + { + "question": "When were the callback auditions for the audition city in the episode aired on February 9, 2011?", + "context": "create table table_27455867_1 (callback_audition_date varchar, episode_air_date varchar, PRIMARY KEY (callback_audition_date))", + "answer": "select callback_audition_date from table_27455867_1 where episode_air_date = \"february 9, 2011\"" + }, + { + "question": "How many students attend course English?", + "context": "create table student_course_attendance (course_id varchar, PRIMARY KEY (course_id)); create table courses (course_id varchar, course_name varchar, PRIMARY KEY (course_id))", + "answer": "select count(*) from courses as t1 join student_course_attendance as t2 on t1.course_id = t2.course_id where t1.course_name = \"english\"" + }, + { + "question": "What is the 2011 number (,000) when the status is separated?", + "context": "create table table_273617_6 (status varchar, PRIMARY KEY (status))", + "answer": "select 2011 as _number__, 000 as _ from table_273617_6 where status = \"separated\"" + }, + { + "question": "What party was Lane Evans?", + "context": "create table table_1341568_14 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341568_14 where incumbent = \"lane evans\"" + }, + { + "question": "Which club was originally named the newcastle falcons?", + "context": "create table table_26218124_1 (original_club varchar, name varchar, PRIMARY KEY (original_club))", + "answer": "select original_club from table_26218124_1 where name = \"newcastle falcons\"" + }, + { + "question": "What is the reunion weight of the contestant who lost 74.4 lbs at the finale?", + "context": "create table table_28654454_5 (reunion_weight varchar, lbs_lost_finale varchar, PRIMARY KEY (reunion_weight))", + "answer": "select reunion_weight from table_28654454_5 where lbs_lost_finale = \"74.4\"" + }, + { + "question": "How many sound engineers were there for law hakon '3er leek?", + "context": "create table table_28005100_1 (sound_engineer varchar, title varchar, PRIMARY KEY (sound_engineer))", + "answer": "select count(sound_engineer) from table_28005100_1 where title = \"law hakon '3er leek\"" + }, + { + "question": "The fighting knights has what type of nickname?", + "context": "create table table_1183842_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_1183842_1 where nickname = \"fighting knights\"" + }, + { + "question": "Name the population for 2002 being ada", + "context": "create table table_2562572_5 (population__2002_ integer, urban_settlement varchar, PRIMARY KEY (population__2002_))", + "answer": "select min(population__2002_) from table_2562572_5 where urban_settlement = \"ada\"" + }, + { + "question": "What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?", + "context": "create table problems (reported_by_staff_id varchar, closure_authorised_by_staff_id varchar, PRIMARY KEY (reported_by_staff_id)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select product_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = \"christop\" and t2.staff_last_name = \"berge\" intersect select product_id from problems as t1 join staff as t2 on t1.closure_authorised_by_staff_id = t2.staff_id where t2.staff_first_name = \"ashley\" and t2.staff_last_name = \"medhurst\"" + }, + { + "question": "What is the location of the club named \"Tennis Club\"?", + "context": "create table club (clublocation varchar, clubname varchar, PRIMARY KEY (clublocation))", + "answer": "select clublocation from club where clubname = \"tennis club\"" + }, + { + "question": "What is the type where the country is esp?", + "context": "create table table_11891841_2 (type varchar, country varchar, PRIMARY KEY (type))", + "answer": "select type from table_11891841_2 where country = \"esp\"" + }, + { + "question": "When were episodes first broadcast with jessica ennis as andrew and jacks guest?", + "context": "create table table_29141354_5 (first_broadcast varchar, andrew_and_jacks_guest varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_29141354_5 where andrew_and_jacks_guest = \"jessica ennis\"" + }, + { + "question": "During the act, Playing on Glasses, what was the semi-final?", + "context": "create table table_23429629_4 (semi_final varchar, act varchar, PRIMARY KEY (semi_final))", + "answer": "select semi_final from table_23429629_4 where act = \"playing on glasses\"" + }, + { + "question": "Who had the most high assists with a record of 32-19?", + "context": "create table table_23284271_8 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23284271_8 where record = \"32-19\"" + }, + { + "question": "What are all types where registration is HB-OPU?", + "context": "create table table_22180353_1 (type varchar, registration varchar, PRIMARY KEY (type))", + "answer": "select type from table_22180353_1 where registration = \"hb-opu\"" + }, + { + "question": "What is every school with basic elements of 52?", + "context": "create table table_21995420_6 (school varchar, basic_elements varchar, PRIMARY KEY (school))", + "answer": "select school from table_21995420_6 where basic_elements = 52" + }, + { + "question": "What was the length of the jumper representing FIN, in meters?", + "context": "create table table_14407512_4 (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select 1 as st__m_ from table_14407512_4 where nationality = \"fin\"" + }, + { + "question": "Where is lootos p\u00f5lva from?", + "context": "create table table_27409644_1 (location varchar, club varchar, PRIMARY KEY (location))", + "answer": "select location from table_27409644_1 where club = \"lootos p\u00f5lva\"" + }, + { + "question": "What percentage of voters chose McCain in the county where 2.1% of voters voted third party?", + "context": "create table table_20278716_2 (mccain__percentage varchar, others__percentage varchar, PRIMARY KEY (mccain__percentage))", + "answer": "select mccain__percentage from table_20278716_2 where others__percentage = \"2.1%\"" + }, + { + "question": "how many programs are broadcast in each time section of the day?", + "context": "create table broadcast (time_of_day varchar, PRIMARY KEY (time_of_day))", + "answer": "select count(*), time_of_day from broadcast group by time_of_day" + }, + { + "question": "When momoiro clover z is the vocalist how many japanese titles are there?", + "context": "create table table_2144389_9 (japanese_title varchar, vocalist varchar, PRIMARY KEY (japanese_title))", + "answer": "select count(japanese_title) from table_2144389_9 where vocalist = \"momoiro clover z\"" + }, + { + "question": "What could a spanish coronel be addressed as in the commonwealth military?", + "context": "create table table_1015521_2 (commonwealth_equivalent varchar, rank_in_spanish varchar, PRIMARY KEY (commonwealth_equivalent))", + "answer": "select commonwealth_equivalent from table_1015521_2 where rank_in_spanish = \"coronel\"" + }, + { + "question": "What is the final score if the partner is Woodforde?", + "context": "create table table_22597626_2 (score_in_the_final varchar, partner varchar, PRIMARY KEY (score_in_the_final))", + "answer": "select score_in_the_final from table_22597626_2 where partner = \"woodforde\"" + }, + { + "question": "How many times was Scott Oelslager a representative?", + "context": "create table table_26131768_4 (residence varchar, representative varchar, PRIMARY KEY (residence))", + "answer": "select count(residence) from table_26131768_4 where representative = \"scott oelslager\"" + }, + { + "question": "What is the title and source for the game developed by Hydravision Entertainment?", + "context": "create table table_26538035_1 (title_and_source varchar, developer varchar, PRIMARY KEY (title_and_source))", + "answer": "select title_and_source from table_26538035_1 where developer = \"hydravision entertainment\"" + }, + { + "question": "What location did the episode that aired originally on August 26, 2009 take place at?", + "context": "create table table_24798489_2 (location varchar, original_airdate varchar, PRIMARY KEY (location))", + "answer": "select location from table_24798489_2 where original_airdate = \"august 26, 2009\"" + }, + { + "question": "Name the womens doubles when tour is malaysia super series", + "context": "create table table_14496232_2 (womens_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_14496232_2 where tour = \"malaysia super series\"" + }, + { + "question": "If the channels is wxyzuv, what is the number of channels?", + "context": "create table table_233830_1 (number_of_channels varchar, channels varchar, PRIMARY KEY (number_of_channels))", + "answer": "select number_of_channels from table_233830_1 where channels = \"wxyzuv\"" + }, + { + "question": "What are the maximum, minimum and average home games each stadium held?", + "context": "create table stadium (home_games integer, PRIMARY KEY (home_games))", + "answer": "select max(home_games), min(home_games), avg(home_games) from stadium" + }, + { + "question": "Name the total number of pinyin for hsin-y\u00fcan-i-ma", + "context": "create table table_16162581_1 (pinyin varchar, wade_giles varchar, PRIMARY KEY (pinyin))", + "answer": "select count(pinyin) from table_16162581_1 where wade_giles = \"hsin-y\u00fcan-i-ma\"" + }, + { + "question": "When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?", + "context": "create table table_23286158_10 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23286158_10 where high_rebounds = \"marcus camby (15)\"" + }, + { + "question": "What type of government does Kyrgyzstan have?", + "context": "create table table_1604579_2 (country varchar, PRIMARY KEY (country))", + "answer": "select 2012 as _democracy_index from table_1604579_2 where country = \"kyrgyzstan\"" + }, + { + "question": "What is the depth of the aftershock at 18:00:22?", + "context": "create table table_24518475_1 (depth varchar, time__utc_ varchar, PRIMARY KEY (depth))", + "answer": "select depth from table_24518475_1 where time__utc_ = \"18:00:22\"" + }, + { + "question": "what is the hometown for mike ladd?", + "context": "create table table_29598261_1 (hometown varchar, name varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_29598261_1 where name = \"mike ladd\"" + }, + { + "question": "What is the callsign for the Cebu station?", + "context": "create table table_17822401_1 (callsign varchar, location varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_17822401_1 where location = \"cebu\"" + }, + { + "question": "What is every amount for weight lost if the starting weight is 97.4?", + "context": "create table table_24370270_10 (weight_lost__kg_ varchar, starting_weight__kg_ varchar, PRIMARY KEY (weight_lost__kg_))", + "answer": "select weight_lost__kg_ from table_24370270_10 where starting_weight__kg_ = \"97.4\"" + }, + { + "question": "When was originally aired the episode with an audience of 1.57 million us viewers?", + "context": "create table table_28081876_6 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28081876_6 where us_viewers__millions_ = \"1.57\"" + }, + { + "question": "What date was an episode broadcasted on that had a run time of 24:40?", + "context": "create table table_2102714_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2102714_1 where run_time = \"24:40\"" + }, + { + "question": "List the ids of all distinct orders ordered by placed date.", + "context": "create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id))", + "answer": "select distinct order_id from orders order by date_order_placed" + }, + { + "question": "Which artist sang the song that ingela hemming wrote?", + "context": "create table table_23585197_3 (artist varchar, songwriter_s_ varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_23585197_3 where songwriter_s_ = \"ingela hemming\"" + }, + { + "question": "What is the cyrillic and other name of rabe?", + "context": "create table table_2562572_30 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_30 where settlement = \"rabe\"" + }, + { + "question": "Name the artist for 1595 televotes", + "context": "create table table_21378339_5 (artist varchar, televotes varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_21378339_5 where televotes = 1595" + }, + { + "question": "Which store has most the customers?", + "context": "create table customer (store_id varchar, PRIMARY KEY (store_id))", + "answer": "select store_id from customer group by store_id order by count(*) desc limit 1" + }, + { + "question": "what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph?", + "context": "create table table_14209455_1 (mon_26_may varchar, fri_30_may varchar, PRIMARY KEY (mon_26_may))", + "answer": "select mon_26_may from table_14209455_1 where fri_30_may = \"18' 28.27 122.599mph\"" + }, + { + "question": "What is the type of the school whose students' nickname is tigers?", + "context": "create table table_1973842_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_1973842_1 where nickname = \"tigers\"" + }, + { + "question": "What are the maximum and minimum number of cows across all farms.", + "context": "create table farm (cows integer, PRIMARY KEY (cows))", + "answer": "select max(cows), min(cows) from farm" + }, + { + "question": "What are the locations with a panthers mascot?", + "context": "create table table_13456202_1 (location varchar, mascot varchar, PRIMARY KEY (location))", + "answer": "select location from table_13456202_1 where mascot = \"panthers\"" + }, + { + "question": "what models are produced where the plant is scarborough?", + "context": "create table table_250309_1 (models_produced varchar, plant varchar, PRIMARY KEY (models_produced))", + "answer": "select models_produced from table_250309_1 where plant = \"scarborough\"" + }, + { + "question": "What is every media type for the World genre?", + "context": "create table table_23829490_1 (media_type varchar, genre varchar, PRIMARY KEY (media_type))", + "answer": "select media_type from table_23829490_1 where genre = \"world\"" + }, + { + "question": "Name the number of bowl for lee corso, gene chizik and chip kelly", + "context": "create table table_2724704_5 (bowl varchar, studio_analyst_s_ varchar, PRIMARY KEY (bowl))", + "answer": "select count(bowl) from table_2724704_5 where studio_analyst_s_ = \"lee corso, gene chizik and chip kelly\"" + }, + { + "question": "What was the English title of Ladrones Y Mentirosos?", + "context": "create table table_27423508_1 (english_title varchar, spanish_title varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_27423508_1 where spanish_title = \"ladrones y mentirosos\"" + }, + { + "question": "Find all the zip codes in which the max dew point have never reached 70.", + "context": "create table weather (zip_code varchar, max_dew_point_f varchar, PRIMARY KEY (zip_code))", + "answer": "select distinct zip_code from weather except select distinct zip_code from weather where max_dew_point_f >= 70" + }, + { + "question": "Name the nation for abdon pamich category:articles with hcards", + "context": "create table table_22355_44 (nation varchar, athlete varchar, PRIMARY KEY (nation))", + "answer": "select nation from table_22355_44 where athlete = \"abdon pamich category:articles with hcards\"" + }, + { + "question": "Show the headquarters that have both companies in banking industry and companies in oil and gas industry.", + "context": "create table company (headquarters varchar, industry varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company where industry = \"banking\" intersect select headquarters from company where industry = \"oil and gas\"" + }, + { + "question": "What are all the AAA classes in the school years of 2005-06?", + "context": "create table table_14603212_5 (class_aaa varchar, school_year varchar, PRIMARY KEY (class_aaa))", + "answer": "select class_aaa from table_14603212_5 where school_year = \"2005-06\"" + }, + { + "question": "Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?", + "context": "create table tv_channel (series_name varchar, country varchar, id varchar, PRIMARY KEY (series_name)); create table cartoon (channel varchar, directed_by varchar, PRIMARY KEY (channel))", + "answer": "select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'michael chang' intersect select t1.series_name, t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.directed_by = 'ben jones'" + }, + { + "question": "Who performed the most rebounds on games against the Minnesota Timberwolves?", + "context": "create table table_27902171_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27902171_9 where team = \"minnesota timberwolves\"" + }, + { + "question": "Find the total number of employees.", + "context": "create table employee (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from employee" + }, + { + "question": "How many parties does the incumbent Donald A. Bailey a member of?", + "context": "create table table_1341640_39 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341640_39 where incumbent = \"donald a. bailey\"" + }, + { + "question": "Which stadium is managed by Kari Martonen?", + "context": "create table table_25129482_1 (stadium varchar, manager varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_25129482_1 where manager = \"kari martonen\"" + }, + { + "question": "Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata contest?", + "context": "create table table_24014744_1 (putri_pariwisata_indonesia varchar, PRIMARY KEY (putri_pariwisata_indonesia))", + "answer": "select 1 as st_runner_up from table_24014744_1 where putri_pariwisata_indonesia = \"albertina fransisca mailoa\"" + }, + { + "question": "Name the total number of race time for kevin harvick", + "context": "create table table_2241259_1 (race_time varchar, driver varchar, PRIMARY KEY (race_time))", + "answer": "select count(race_time) from table_2241259_1 where driver = \"kevin harvick\"" + }, + { + "question": "How many hectars of land is in Kaxholmen?", + "context": "create table table_16796625_1 (land_area__hectares_ varchar, urban_area__locality_ varchar, PRIMARY KEY (land_area__hectares_))", + "answer": "select land_area__hectares_ from table_16796625_1 where urban_area__locality_ = \"kaxholmen\"" + }, + { + "question": "Show locations and nicknames of schools.", + "context": "create table school (location varchar, school_id varchar, PRIMARY KEY (location)); create table school_details (nickname varchar, school_id varchar, PRIMARY KEY (nickname))", + "answer": "select t1.location, t2.nickname from school as t1 join school_details as t2 on t1.school_id = t2.school_id" + }, + { + "question": "Name the davids team for 8 august 2008", + "context": "create table table_23575917_2 (davids_team varchar, first_broadcast varchar, PRIMARY KEY (davids_team))", + "answer": "select davids_team from table_23575917_2 where first_broadcast = \"8 august 2008\"" + }, + { + "question": "What is the adjusted GDP when the nominal GDP per capita is 2874?", + "context": "create table table_1610496_3 (gdp_adjusted__$_billions_ varchar, gdp_per_capita_nominal__$_ varchar, PRIMARY KEY (gdp_adjusted__$_billions_))", + "answer": "select gdp_adjusted__$_billions_ from table_1610496_3 where gdp_per_capita_nominal__$_ = 2874" + }, + { + "question": "What was the titles of the episodes written by ken lazebnik?", + "context": "create table table_11111116_7 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_11111116_7 where written_by = \"ken lazebnik\"" + }, + { + "question": "What is the symbol for Windpower in China?", + "context": "create table table_11347578_1 (wind_power__wp_ varchar, country varchar, PRIMARY KEY (wind_power__wp_))", + "answer": "select wind_power__wp_ from table_11347578_1 where country = \"china\"" + }, + { + "question": "What is the party affiliation for Senator David Goodman?", + "context": "create table table_26129220_2 (party varchar, senator varchar, PRIMARY KEY (party))", + "answer": "select party from table_26129220_2 where senator = \"david goodman\"" + }, + { + "question": "Who is themens doubles when the mens singles is flemming delfs?", + "context": "create table table_12171145_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12171145_1 where mens_singles = \"flemming delfs\"" + }, + { + "question": "Name the total number of replaced by for 13 june 2009", + "context": "create table table_22640051_3 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select count(replaced_by) from table_22640051_3 where date_of_appointment = \"13 june 2009\"" + }, + { + "question": "For the headstamp id of h2, what was the color of the bullet tip?", + "context": "create table table_1036189_1 (bullet_tip_color varchar, headstamp_id varchar, PRIMARY KEY (bullet_tip_color))", + "answer": "select bullet_tip_color from table_1036189_1 where headstamp_id = \"h2\"" + }, + { + "question": "When troy is the regular season winner what is the conference tournament?", + "context": "create table table_24160890_3 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))", + "answer": "select conference as tournament from table_24160890_3 where regular_season_winner = \"troy\"" + }, + { + "question": "How many dams are there in the Lake and Peninsula area?", + "context": "create table table_17978052_2 (_number_s_dam_and_gnis_query_link integer, borough_or_census_area varchar, PRIMARY KEY (_number_s_dam_and_gnis_query_link))", + "answer": "select max(_number_s_dam_and_gnis_query_link) from table_17978052_2 where borough_or_census_area = \"lake and peninsula\"" + }, + { + "question": "What is the television network with the television channel of Astro Pelangi & Astro Bintang?", + "context": "create table table_27469019_2 (television_network varchar, television_channel varchar, PRIMARY KEY (television_network))", + "answer": "select television_network from table_27469019_2 where television_channel = \"astro pelangi & astro bintang\"" + }, + { + "question": "In the Central region, where the land area (km 2) is 8,543.2, what was the rainfall by depth (mm/year)?", + "context": "create table table_25983027_1 (rainfall_by_depth__mm_year_ varchar, land_area__km_2__ varchar, PRIMARY KEY (rainfall_by_depth__mm_year_))", + "answer": "select rainfall_by_depth__mm_year_ from table_25983027_1 where land_area__km_2__ = \"8,543.2\"" + }, + { + "question": "List singer names and number of concerts for each singer.", + "context": "create table singer_in_concert (singer_id varchar, PRIMARY KEY (singer_id)); create table singer (name varchar, singer_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, count(*) from singer_in_concert as t1 join singer as t2 on t1.singer_id = t2.singer_id group by t2.singer_id" + }, + { + "question": "What is the cable rank for bbc three weekly ranking of n/a?", + "context": "create table table_24399615_3 (cable_rank varchar, bbc_three_weekly_ranking varchar, PRIMARY KEY (cable_rank))", + "answer": "select cable_rank from table_24399615_3 where bbc_three_weekly_ranking = \"n/a\"" + }, + { + "question": "Find the names of all the clubs that have at least a member from the city with city code \"BAL\".", + "context": "create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname)); create table student (stuid varchar, city_code varchar, PRIMARY KEY (stuid))", + "answer": "select distinct t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.city_code = \"bal\"" + }, + { + "question": "What's the name of Linroy Bottoson's victim?", + "context": "create table table_23546266_1 (victim_s_ varchar, executed_person varchar, PRIMARY KEY (victim_s_))", + "answer": "select victim_s_ from table_23546266_1 where executed_person = \"linroy bottoson\"" + }, + { + "question": "What's the HC for the Euro I standard?", + "context": "create table table_2780146_6 (hc__g_kwh_ varchar, standard varchar, PRIMARY KEY (hc__g_kwh_))", + "answer": "select hc__g_kwh_ from table_2780146_6 where standard = \"euro i\"" + }, + { + "question": "When 155 is the jersey what is the highest amount of different holders?", + "context": "create table table_18676973_3 (different_holders integer, jerseys varchar, PRIMARY KEY (different_holders))", + "answer": "select max(different_holders) from table_18676973_3 where jerseys = 155" + }, + { + "question": "How many candidates represent the district of kenneth a. roberts?", + "context": "create table table_1341897_3 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341897_3 where incumbent = \"kenneth a. roberts\"" + }, + { + "question": "How many locomotives have a livery that is highland railway green", + "context": "create table table_15827397_1 (name varchar, livery varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_15827397_1 where livery = \"highland railway green\"" + }, + { + "question": "Between November 25\u201330, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?", + "context": "create table table_22123920_4 (shows___sellout varchar, sellout___percentage_ varchar, PRIMARY KEY (shows___sellout))", + "answer": "select shows___sellout from table_22123920_4 where sellout___percentage_ = \"75%\"" + }, + { + "question": "What is the subject when the highest mark is 79?", + "context": "create table table_29842201_1 (subject varchar, highest_mark varchar, PRIMARY KEY (subject))", + "answer": "select subject from table_29842201_1 where highest_mark = 79" + }, + { + "question": "Where was d: 25~70nm, l: 10~20 \u03bcm geometry researched?", + "context": "create table table_30057479_1 (researched_at varchar, geometry varchar, PRIMARY KEY (researched_at))", + "answer": "select researched_at from table_30057479_1 where geometry = \"d: 25~70nm, l: 10~20 \u03bcm\"" + }, + { + "question": "what's the\u00a0cancelable\u00a0with\u00a0bubbles\u00a0being yes", + "context": "create table table_1507852_5 (cancelable varchar, bubbles varchar, PRIMARY KEY (cancelable))", + "answer": "select cancelable from table_1507852_5 where bubbles = \"yes\"" + }, + { + "question": "Find the name of department that offers the class whose description has the word \"Statistics\".", + "context": "create table course (dept_code varchar, crs_description varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name from course as t1 join department as t2 on t1.dept_code = t2.dept_code where t1.crs_description like '%statistics%'" + }, + { + "question": "What is the title of the episode that was watched by 8.92 million viewers?", + "context": "create table table_12146637_1 (episode_title varchar, us_viewers__millions_ varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_12146637_1 where us_viewers__millions_ = \"8.92\"" + }, + { + "question": "What is the largest village that had 103279 houses affected?", + "context": "create table table_20403667_2 (village integer, house_affected varchar, PRIMARY KEY (village))", + "answer": "select max(village) from table_20403667_2 where house_affected = 103279" + }, + { + "question": "How many different skippers of the yacht City Index Leopard?", + "context": "create table table_14882588_2 (skipper varchar, yacht varchar, PRIMARY KEY (skipper))", + "answer": "select count(skipper) from table_14882588_2 where yacht = \"city index leopard\"" + }, + { + "question": "How long has the longest song spent in the top 10?", + "context": "create table table_27813010_2 (weeks_in_top_10 integer, PRIMARY KEY (weeks_in_top_10))", + "answer": "select max(weeks_in_top_10) from table_27813010_2" + }, + { + "question": "How many centerfold models were there when the cover model was Torrie Wilson?", + "context": "create table table_1566852_4 (centerfold_model varchar, cover_model varchar, PRIMARY KEY (centerfold_model))", + "answer": "select count(centerfold_model) from table_1566852_4 where cover_model = \"torrie wilson\"" + }, + { + "question": "Name the population of maryborough when population of woocoo is 2700", + "context": "create table table_12576536_1 (population__maryborough_ varchar, population__woocoo_ varchar, PRIMARY KEY (population__maryborough_))", + "answer": "select population__maryborough_ from table_12576536_1 where population__woocoo_ = 2700" + }, + { + "question": "What is every entry for intermediate stops for the destination of Manchester?", + "context": "create table table_3005999_1 (intermediate_stops varchar, destination varchar, PRIMARY KEY (intermediate_stops))", + "answer": "select intermediate_stops from table_3005999_1 where destination = \"manchester\"" + }, + { + "question": "What was the reported cost of the asset acquired from Standard & Poor's?", + "context": "create table table_1373542_1 (reported_cost varchar, acquired_from varchar, PRIMARY KEY (reported_cost))", + "answer": "select reported_cost from table_1373542_1 where acquired_from = \"standard & poor's\"" + }, + { + "question": "How many entries are shown for november 3 when january 15-16 is 141?", + "context": "create table table_25355501_2 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))", + "answer": "select count(november_3) from table_25355501_2 where january_15_16 = \"141\"" + }, + { + "question": "How many different civil parishes is Canrooska a part of?", + "context": "create table table_30120555_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select count(civil_parish) from table_30120555_1 where townland = \"canrooska\"" + }, + { + "question": "Where was the successor formally installed on December 3, 1858?", + "context": "create table table_1802760_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_1802760_3 where date_of_successors_formal_installation = \"december 3, 1858\"" + }, + { + "question": "Did the legislation pass that had 42.87% yes votes?", + "context": "create table table_256286_63 (passed varchar, _percentage_yes varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_63 where _percentage_yes = \"42.87%\"" + }, + { + "question": "What are all percentages of Left Block when there is a 28.7% Social Democratic?", + "context": "create table table_1463383_1 (left_bloc varchar, social_democratic varchar, PRIMARY KEY (left_bloc))", + "answer": "select left_bloc from table_1463383_1 where social_democratic = \"28.7%\"" + }, + { + "question": "What party is incumbent thomas j. lane from?", + "context": "create table table_1341930_21 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341930_21 where incumbent = \"thomas j. lane\"" + }, + { + "question": "Which masters fought in hapkido style?", + "context": "create table table_14937957_1 (masters varchar, martial_art_style varchar, PRIMARY KEY (masters))", + "answer": "select masters from table_14937957_1 where martial_art_style = \"hapkido\"" + }, + { + "question": "What date did the show air when Sean Lock was the headliner?", + "context": "create table table_23122988_1 (airdate varchar, headliner varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_23122988_1 where headliner = \"sean lock\"" + }, + { + "question": "List the number of shows that had 12.04 million viewers in the united states", + "context": "create table table_22904780_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_22904780_1 where us_viewers__million_ = \"12.04\"" + }, + { + "question": "What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'?", + "context": "create table customer_master_index (master_customer_id varchar, cmi_details varchar, PRIMARY KEY (master_customer_id)); create table cmi_cross_references (source_system_code varchar, master_customer_id varchar, PRIMARY KEY (source_system_code))", + "answer": "select distinct t2.source_system_code from customer_master_index as t1 join cmi_cross_references as t2 on t1.master_customer_id = t2.master_customer_id where t1.cmi_details = 'gottlieb , becker and wyman'" + }, + { + "question": "Who was promoted to the league when Coventry was relegated to the league?", + "context": "create table table_23927423_4 (promoted_to_league varchar, relegated_to_league varchar, PRIMARY KEY (promoted_to_league))", + "answer": "select promoted_to_league from table_23927423_4 where relegated_to_league = \"coventry\"" + }, + { + "question": "What TV order is written by gail simone?", + "context": "create table table_20360535_3 (television_order varchar, written_by varchar, PRIMARY KEY (television_order))", + "answer": "select television_order from table_20360535_3 where written_by = \"gail simone\"" + }, + { + "question": "What are the the approximate translations when the Morphological Category is 1st. plur. perfect?", + "context": "create table table_2784232_1 (approximate_translation varchar, morphological_category varchar, PRIMARY KEY (approximate_translation))", + "answer": "select approximate_translation from table_2784232_1 where morphological_category = \"1st. plur. perfect\"" + }, + { + "question": "What is the name of the country when the ioc code is mas?", + "context": "create table table_2879165_1 (country varchar, ioc_code varchar, PRIMARY KEY (country))", + "answer": "select country from table_2879165_1 where ioc_code = \"mas\"" + }, + { + "question": "What is the description of the club named \"Tennis Club\"?", + "context": "create table club (clubdesc varchar, clubname varchar, PRIMARY KEY (clubdesc))", + "answer": "select clubdesc from club where clubname = \"tennis club\"" + }, + { + "question": "List the titles of the books in ascending order of issues.", + "context": "create table book (title varchar, issues varchar, PRIMARY KEY (title))", + "answer": "select title from book order by issues" + }, + { + "question": "How many miss universes did south africa have?", + "context": "create table table_28634206_1 (miss_universe varchar, country varchar, PRIMARY KEY (miss_universe))", + "answer": "select count(miss_universe) from table_28634206_1 where country = \"south africa\"" + }, + { + "question": "How many values of periselene when epoch is November 15, 2004, 17:47:12.1?", + "context": "create table table_206217_2 (periselene__km_ varchar, epoch__utc_ varchar, PRIMARY KEY (periselene__km_))", + "answer": "select count(periselene__km_) from table_206217_2 where epoch__utc_ = \"november 15, 2004, 17:47:12.1\"" + }, + { + "question": "What division had a population density of 8,552.4 km2 in 2011?", + "context": "create table table_24027047_1 (administrative_division varchar, population_density___km\u00b2_2011_ varchar, PRIMARY KEY (administrative_division))", + "answer": "select administrative_division from table_24027047_1 where population_density___km\u00b2_2011_ = \"8,552.4\"" + }, + { + "question": "How many winners of Binibining Pilipinas-International when Nina Ricci Alagao?", + "context": "create table table_1825751_4 (binibining_pilipinas_international varchar, miss_universe_philippines varchar, PRIMARY KEY (binibining_pilipinas_international))", + "answer": "select count(binibining_pilipinas_international) from table_1825751_4 where miss_universe_philippines = \"nina ricci alagao\"" + }, + { + "question": "Find all the songs that do not have a back vocal.", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table vocals (songid varchar, PRIMARY KEY (songid))", + "answer": "select distinct title from vocals as t1 join songs as t2 on t1.songid = t2.songid except select t2.title from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = \"back\"" + }, + { + "question": "How many values for winnings correspond to average start of 19.0?", + "context": "create table table_2597876_2 (winnings varchar, avg_start varchar, PRIMARY KEY (winnings))", + "answer": "select count(winnings) from table_2597876_2 where avg_start = \"19.0\"" + }, + { + "question": "What is the date of appointment for the date of vacancy of 22 august 2010?", + "context": "create table table_26976615_3 (date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_26976615_3 where date_of_vacancy = \"22 august 2010\"" + }, + { + "question": "Which engineer has visited the most times? Show the engineer id, first name and last name.", + "context": "create table maintenance_engineers (engineer_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (engineer_id)); create table engineer_visits (id varchar, PRIMARY KEY (id))", + "answer": "select t1.engineer_id, t1.first_name, t1.last_name from maintenance_engineers as t1 join engineer_visits as t2 group by t1.engineer_id order by count(*) desc limit 1" + }, + { + "question": "What was the broadcast date of episodes that were watched by 23.2 million viewers?", + "context": "create table table_27714985_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27714985_1 where us_viewers__millions_ = \"23.2\"" + }, + { + "question": "How many parks are called mt. olympus", + "context": "create table table_2665085_1 (name varchar, park varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_2665085_1 where park = \"mt. olympus\"" + }, + { + "question": "If Internet Explorer is 47.22%, what is the Safari total?", + "context": "create table table_1876262_10 (safari varchar, internet_explorer varchar, PRIMARY KEY (safari))", + "answer": "select safari from table_1876262_10 where internet_explorer = \"47.22%\"" + }, + { + "question": "Find the first name and office of the professor who is in the history department and has a Ph.D. degree.", + "context": "create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, prof_high_degree varchar, PRIMARY KEY (prof_office)); create table employee (emp_fname varchar, emp_num varchar, PRIMARY KEY (emp_fname))", + "answer": "select t1.emp_fname, t2.prof_office from employee as t1 join professor as t2 on t1.emp_num = t2.emp_num join department as t3 on t3.dept_code = t2.dept_code where t3.dept_name = 'history' and t2.prof_high_degree = 'ph.d.'" + }, + { + "question": "Name the most number of s eva", + "context": "create table table_1558077_8 (number_of_s_eva integer, PRIMARY KEY (number_of_s_eva))", + "answer": "select max(number_of_s_eva) from table_1558077_8" + }, + { + "question": "Who played the mathematics student?", + "context": "create table table_2933761_1 (played_by varchar, occupation varchar, PRIMARY KEY (played_by))", + "answer": "select played_by from table_2933761_1 where occupation = \"mathematics student\"" + }, + { + "question": "What is the power in KW that has a station type of relay and a callsign of DXCL-TV?", + "context": "create table table_24673888_1 (power_kw varchar, station_type varchar, callsign varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_24673888_1 where station_type = \"relay\" and callsign = \"dxcl-tv\"" + }, + { + "question": "What is the length of the coaster with the unknown speed", + "context": "create table table_2665085_1 (length__ft_ varchar, speed__mph_ varchar, PRIMARY KEY (length__ft_))", + "answer": "select length__ft_ from table_2665085_1 where speed__mph_ = \"unknown\"" + }, + { + "question": "how many match points did gran parma lost", + "context": "create table table_27987767_2 (match_points varchar, losers varchar, PRIMARY KEY (match_points))", + "answer": "select match_points from table_27987767_2 where losers = \"gran parma\"" + }, + { + "question": "How did the match end when she played with caroline wozniacki?", + "context": "create table table_25505246_8 (outcome varchar, partner varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_25505246_8 where partner = \"caroline wozniacki\"" + }, + { + "question": "Which major has least number of students? List the major and the number of students.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select major, count(*) from student group by major order by count(major) limit 1" + }, + { + "question": "How many different partners were played with during French Open (0/1)?", + "context": "create table table_2201541_3 (partner varchar, championship__titles_finals_ varchar, PRIMARY KEY (partner))", + "answer": "select count(partner) from table_2201541_3 where championship__titles_finals_ = \"french open (0/1)\"" + }, + { + "question": "What is Friesland's gdp per capita?", + "context": "create table table_1067441_1 (_in_\u20ac_ varchar, gdp_per_cap__2003 integer, province varchar, PRIMARY KEY (_in_\u20ac_))", + "answer": "select min(gdp_per_cap__2003), _in_\u20ac_ from table_1067441_1 where province = \"friesland\"" + }, + { + "question": "How many debates are there?", + "context": "create table debate (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from debate" + }, + { + "question": "What year was the tournament first held in Italy?", + "context": "create table table_14903081_1 (began integer, country varchar, PRIMARY KEY (began))", + "answer": "select min(began) from table_14903081_1 where country = \"italy\"" + }, + { + "question": "Name the contestant for villa hermosa", + "context": "create table table_21346767_3 (contestant varchar, hometown varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_21346767_3 where hometown = \"villa hermosa\"" + }, + { + "question": "Which season received 10.2 million viewers?", + "context": "create table table_217785_2 (tv_season varchar, viewers__in_millions_of_households_ varchar, PRIMARY KEY (tv_season))", + "answer": "select count(tv_season) from table_217785_2 where viewers__in_millions_of_households_ = \"10.2\"" + }, + { + "question": "If team two is San Lorenzo, how many were on team one?", + "context": "create table table_16795394_3 (team__number1 varchar, team__number2 varchar, PRIMARY KEY (team__number1))", + "answer": "select count(team__number1) from table_16795394_3 where team__number2 = \"san lorenzo\"" + }, + { + "question": "Which main developer made their first release in 1991 and created the Mega Drive/Genesis console?", + "context": "create table table_12887260_1 (main_developer varchar, first_release varchar, console varchar, PRIMARY KEY (main_developer))", + "answer": "select main_developer from table_12887260_1 where first_release = 1991 and console = \"mega drive/genesis\"" + }, + { + "question": "What party is Frank Lobiondo a member of?", + "context": "create table table_1341453_32 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_32 where incumbent = \"frank lobiondo\"" + }, + { + "question": "Where were the wrestlers born who debuted in 2002-7?", + "context": "create table table_1557974_1 (birthplace varchar, debut varchar, PRIMARY KEY (birthplace))", + "answer": "select birthplace from table_1557974_1 where debut = \"2002-7\"" + }, + { + "question": "When is the date of appointment when the position in table is 16?", + "context": "create table table_27383390_4 (date_of_appointment varchar, position_in_table varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27383390_4 where position_in_table = 16" + }, + { + "question": "What is the environment rating of the country with an overall average rating of 4.7?", + "context": "create table table_13677808_1 (environment varchar, overall__average_ varchar, PRIMARY KEY (environment))", + "answer": "select environment from table_13677808_1 where overall__average_ = \"4.7\"" + }, + { + "question": "Name the platforms for cityengine", + "context": "create table table_19495707_1 (platforms varchar, application varchar, PRIMARY KEY (platforms))", + "answer": "select platforms from table_19495707_1 where application = \"cityengine\"" + }, + { + "question": "what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?", + "context": "create table table_214479_8 (y_ varchar, _2009 varchar, expression varchar, month varchar, d varchar, e varchar, PRIMARY KEY (y_))", + "answer": "select y_ = _2009 from table_214479_8 where expression = month = floor((d + e + 114) / 31)" + }, + { + "question": "Select the names of all the products in the store.", + "context": "create table products (name varchar, PRIMARY KEY (name))", + "answer": "select name from products" + }, + { + "question": "Name the industry for revenue being 2.1", + "context": "create table table_19112_3 (industry varchar, revenue__billion_$_ varchar, PRIMARY KEY (industry))", + "answer": "select industry from table_19112_3 where revenue__billion_$_ = \"2.1\"" + }, + { + "question": "Name the santee sisseton for h\u00ed\u014bha\u014bna", + "context": "create table table_1499791_2 (santee_sisseton varchar, yankton_yanktonai varchar, PRIMARY KEY (santee_sisseton))", + "answer": "select count(santee_sisseton) from table_1499791_2 where yankton_yanktonai = \"h\u00ed\u014bha\u014bna\"" + }, + { + "question": "Middletown High School uses which colors", + "context": "create table table_15475116_1 (colors varchar, school varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_15475116_1 where school = \"middletown high school\"" + }, + { + "question": "How many car models are produced in the usa?", + "context": "create table car_makers (id varchar, country varchar, PRIMARY KEY (id)); create table countries (countryid varchar, countryname varchar, PRIMARY KEY (countryid)); create table model_list (maker varchar, PRIMARY KEY (maker))", + "answer": "select count(*) from model_list as t1 join car_makers as t2 on t1.maker = t2.id join countries as t3 on t2.country = t3.countryid where t3.countryname = 'usa'" + }, + { + "question": "Who is the chairman of Mark Robins team?", + "context": "create table table_26593762_2 (chairman varchar, manager varchar, PRIMARY KEY (chairman))", + "answer": "select chairman from table_26593762_2 where manager = \"mark robins\"" + }, + { + "question": "Who did the high rebounds in the game where Carl Landry (23) did the most high points?", + "context": "create table table_23281862_6 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23281862_6 where high_points = \"carl landry (23)\"" + }, + { + "question": "How many birthdays does Earl Hanley Beshlin have?", + "context": "create table table_10284385_1 (date_of_birth varchar, representative varchar, PRIMARY KEY (date_of_birth))", + "answer": "select count(date_of_birth) from table_10284385_1 where representative = \"earl hanley beshlin\"" + }, + { + "question": "What was the race status(es) with the lotus-ford 38/1 chassis?", + "context": "create table table_181892_4 (race_status varchar, chassis varchar, PRIMARY KEY (race_status))", + "answer": "select race_status from table_181892_4 where chassis = \"lotus-ford 38/1\"" + }, + { + "question": "How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n", + "context": "create table cmi_cross_references (cmi_cross_ref_id varchar, master_customer_id varchar, PRIMARY KEY (cmi_cross_ref_id)); create table business_rates (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id))", + "answer": "select t2.cmi_cross_ref_id, t2.master_customer_id, count(*) from business_rates as t1 join cmi_cross_references as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id group by t2.cmi_cross_ref_id" + }, + { + "question": "When hermann uhde is the count who is the conductor?", + "context": "create table table_29728787_1 (conductor varchar, count varchar, PRIMARY KEY (conductor))", + "answer": "select conductor from table_29728787_1 where count = \"hermann uhde\"" + }, + { + "question": "What is the name of the team from the Elverado Trico school in football?", + "context": "create table table_18304058_2 (team_name varchar, sports varchar, schools varchar, PRIMARY KEY (team_name))", + "answer": "select team_name from table_18304058_2 where sports = \"football\" and schools = \"elverado trico\"" + }, + { + "question": "Show budget type codes and the number of documents in each budget type.", + "context": "create table documents_with_expenses (budget_type_code varchar, PRIMARY KEY (budget_type_code))", + "answer": "select budget_type_code, count(*) from documents_with_expenses group by budget_type_code" + }, + { + "question": "Name the catalog number for am/pm callanetics", + "context": "create table table_27303975_2 (catalog_number varchar, title varchar, PRIMARY KEY (catalog_number))", + "answer": "select catalog_number from table_27303975_2 where title = \"am/pm callanetics\"" + }, + { + "question": "what are the names of the channels that broadcast in both morning and night?", + "context": "create table channel (name varchar, channel_id varchar, PRIMARY KEY (name)); create table broadcast (channel_id varchar, time_of_day varchar, PRIMARY KEY (channel_id))", + "answer": "select t1.name from channel as t1 join broadcast as t2 on t1.channel_id = t2.channel_id where t2.time_of_day = 'morning' intersect select t1.name from channel as t1 join broadcast as t2 on t1.channel_id = t2.channel_id where t2.time_of_day = 'night'" + }, + { + "question": "When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles?", + "context": "create table table_14319023_2 (mixed_doubles varchar, girls_doubles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14319023_2 where girls_doubles = \"anneke feinya agustin wenny setiawati\"" + }, + { + "question": "Which vocal type has the band mate with last name \"Heilo\" played the most?", + "context": "create table vocals (bandmate varchar, PRIMARY KEY (bandmate)); create table band (id varchar, PRIMARY KEY (id))", + "answer": "select type from vocals as t1 join band as t2 on t1.bandmate = t2.id where lastname = \"heilo\" group by type order by count(*) desc limit 1" + }, + { + "question": "If the school is John A. Logan College, what are the colors?", + "context": "create table table_22319599_1 (colors varchar, school varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_22319599_1 where school = \"john a. logan college\"" + }, + { + "question": "If the date of birth is 1961-08-09 9 august 1961, what is the start date of (first) term?", + "context": "create table table_25182437_1 (start_date_of__first__term varchar, date_of_birth varchar, PRIMARY KEY (start_date_of__first__term))", + "answer": "select start_date_of__first__term from table_25182437_1 where date_of_birth = \"1961-08-09 9 august 1961\"" + }, + { + "question": "What team is from the Eastern province?", + "context": "create table table_19905183_1 (team varchar, province varchar, PRIMARY KEY (team))", + "answer": "select team from table_19905183_1 where province = \"eastern\"" + }, + { + "question": "How many values of Other A correspond to Tommy Johnson Category:Articles with hCards?", + "context": "create table table_14962287_2 (other_a varchar, name varchar, PRIMARY KEY (other_a))", + "answer": "select count(other_a) from table_14962287_2 where name = \"tommy johnson category:articles with hcards\"" + }, + { + "question": "Name the revenue for eps being 8.9", + "context": "create table table_18304259_1 (revenue__\u00a3million_ varchar, earnings_per_share__p_ varchar, PRIMARY KEY (revenue__\u00a3million_))", + "answer": "select revenue__\u00a3million_ from table_18304259_1 where earnings_per_share__p_ = \"8.9\"" + }, + { + "question": "what ae all of the brazil 100% where the age group is 15-17?", + "context": "create table table_18950570_4 (brazil_100_percentage__percent_of_the_population_ varchar, age_group varchar, PRIMARY KEY (brazil_100_percentage__percent_of_the_population_))", + "answer": "select brazil_100_percentage__percent_of_the_population_ from table_18950570_4 where age_group = \"15-17\"" + }, + { + "question": "What is the original air date of the episode that had a week ranking of 21?", + "context": "create table table_23177573_1 (original_air_date varchar, rank__week_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23177573_1 where rank__week_ = 21" + }, + { + "question": "what's the\u00a0country/region\u00a0with\u00a0seasons and winners\u00a0being season 1, 2012: demetra malalan", + "context": "create table table_13779832_1 (country_region varchar, seasons_and_winners varchar, PRIMARY KEY (country_region))", + "answer": "select country_region from table_13779832_1 where seasons_and_winners = \"season 1, 2012: demetra malalan\"" + }, + { + "question": "How many assets does each third party company supply? List the count and the company id.", + "context": "create table assets (supplier_company_id varchar, PRIMARY KEY (supplier_company_id)); create table third_party_companies (company_id varchar, PRIMARY KEY (company_id))", + "answer": "select count(*), t1.company_id from third_party_companies as t1 join assets as t2 on t1.company_id = t2.supplier_company_id group by t1.company_id" + }, + { + "question": "Who won the match when the winner used the Pedigree attack?", + "context": "create table table_18598175_2 (eliminated_by varchar, method_of_elimination varchar, PRIMARY KEY (eliminated_by))", + "answer": "select eliminated_by from table_18598175_2 where method_of_elimination = \"pedigree\"" + }, + { + "question": "How many subjects have the pinyin shixun?", + "context": "create table table_1216675_1 (subject varchar, pinyin varchar, PRIMARY KEY (subject))", + "answer": "select count(subject) from table_1216675_1 where pinyin = \"shixun\"" + }, + { + "question": "What network is virtual channel 9.1 linked to?", + "context": "create table table_1404984_1 (network varchar, virtual_channel varchar, PRIMARY KEY (network))", + "answer": "select network from table_1404984_1 where virtual_channel = \"9.1\"" + }, + { + "question": "Show the statement detail and the corresponding document name for the statement with detail 'Private Project'.", + "context": "create table statements (statement_details varchar, statement_id varchar, PRIMARY KEY (statement_details)); create table documents (document_name varchar, document_id varchar, PRIMARY KEY (document_name))", + "answer": "select t1.statement_details, t2.document_name from statements as t1 join documents as t2 on t1.statement_id = t2.document_id where t1.statement_details = 'private project'" + }, + { + "question": "What is the name of the institution that \"Matthias Blume\" belongs to?", + "context": "create table authorship (authid varchar, instid varchar, PRIMARY KEY (authid)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid)); create table inst (name varchar, instid varchar, PRIMARY KEY (name))", + "answer": "select distinct t3.name from authors as t1 join authorship as t2 on t1.authid = t2.authid join inst as t3 on t2.instid = t3.instid where t1.fname = \"matthias\" and t1.lname = \"blume\"" + }, + { + "question": "Who was the artist for the origin Shake it, Europe?", + "context": "create table table_19523708_1 (artist varchar, original varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_19523708_1 where original = \"shake it, europe\"" + }, + { + "question": "What is the seat of the RCM in the county that has a density of 9.7?", + "context": "create table table_214920_1 (seat_of_rcm varchar, density__pop_per_km2_ varchar, PRIMARY KEY (seat_of_rcm))", + "answer": "select seat_of_rcm from table_214920_1 where density__pop_per_km2_ = \"9.7\"" + }, + { + "question": "Show all the time(et) where the opponent is the Cincinnati Bengals.", + "context": "create table table_14477002_1 (time___et__ varchar, opponent varchar, PRIMARY KEY (time___et__))", + "answer": "select time___et__ from table_14477002_1 where opponent = \"cincinnati bengals\"" + }, + { + "question": "Who is Wayne Day's crew chief?", + "context": "create table table_2182170_1 (crew_chief varchar, listed_owner_s_ varchar, PRIMARY KEY (crew_chief))", + "answer": "select crew_chief from table_2182170_1 where listed_owner_s_ = \"wayne day\"" + }, + { + "question": "What is the title the episode directed by Allison Liddi-Brown?", + "context": "create table table_23793770_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23793770_1 where directed_by = \"allison liddi-brown\"" + }, + { + "question": "If the engine make/capacity is MWM 6.10 TCA-EURO III (Turbo Intercooler) and GVM (kg) Technical Capacity is 23000, what is the Torque Nm@rpm?", + "context": "create table table_11497980_1 (torque_nm varchar, gcm__kg__technical_capacity varchar, engine_make_capacity varchar, PRIMARY KEY (torque_nm))", + "answer": "select torque_nm as @rpm from table_11497980_1 where gcm__kg__technical_capacity = \"23000\" and engine_make_capacity = \"mwm 6.10 tca-euro iii (turbo intercooler)\"" + }, + { + "question": "How many championship titles for LRS Formula / Laurent R\u00e9don Motorsport?", + "context": "create table table_19312274_3 (championship_titles varchar, name varchar, PRIMARY KEY (championship_titles))", + "answer": "select championship_titles from table_19312274_3 where name = \"lrs formula / laurent r\u00e9don motorsport\"" + }, + { + "question": "Name the maaidens where overs bowled is 13", + "context": "create table table_15700367_2 (maidens varchar, overs_bowled varchar, PRIMARY KEY (maidens))", + "answer": "select maidens from table_15700367_2 where overs_bowled = \"13\"" + }, + { + "question": "What are all the Riders whose best-conditioned horse is Basia?", + "context": "create table table_27833186_1 (rider_names varchar, best_conditioned_horse varchar, PRIMARY KEY (rider_names))", + "answer": "select rider_names from table_27833186_1 where best_conditioned_horse = \"basia\"" + }, + { + "question": "How many titles had an average rating of 8.9%?", + "context": "create table table_18539834_2 (romaji_title varchar, average_ratings varchar, PRIMARY KEY (romaji_title))", + "answer": "select count(romaji_title) from table_18539834_2 where average_ratings = \"8.9%\"" + }, + { + "question": "What is the percentage of Android use when Windows is 1.15%?", + "context": "create table table_11381701_3 (android varchar, windows varchar, PRIMARY KEY (android))", + "answer": "select android from table_11381701_3 where windows = \"1.15%\"" + }, + { + "question": "What are Wells Fargo's assets?", + "context": "create table table_1682026_2 (assets__billion_$_ varchar, company varchar, PRIMARY KEY (assets__billion_$_))", + "answer": "select assets__billion_$_ from table_1682026_2 where company = \"wells fargo\"" + }, + { + "question": "What's the green (SW) of the model with charcoal/white interior/roof?", + "context": "create table table_2066296_5 (green__sw_ integer, interior_roof varchar, PRIMARY KEY (green__sw_))", + "answer": "select min(green__sw_) from table_2066296_5 where interior_roof = \"charcoal/white\"" + }, + { + "question": "When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi?", + "context": "create table table_21576644_2 (mens_2nd_xi varchar, mens_1st_xi varchar, PRIMARY KEY (mens_2nd_xi))", + "answer": "select mens_2nd_xi from table_21576644_2 where mens_1st_xi = \"6th, south division 2\"" + }, + { + "question": "What rank is \u611b\u306e\u30d0\u30ab on the Japanese singles chart?", + "context": "create table table_10979230_4 (oricon varchar, japanese_title varchar, PRIMARY KEY (oricon))", + "answer": "select count(oricon) from table_10979230_4 where japanese_title = \"\u611b\u306e\u30d0\u30ab\"" + }, + { + "question": "List the name of artworks whose type is not \"Program Talent Show\".", + "context": "create table artwork (name varchar, type varchar, PRIMARY KEY (name))", + "answer": "select name from artwork where type <> \"program talent show\"" + }, + { + "question": "What was the game site for the matchup against the Frankfurt Galaxy?", + "context": "create table table_24852001_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_24852001_2 where opponent = \"frankfurt galaxy\"" + }, + { + "question": "List the number of tournament winners when iona , siena & niagara won in the regular season.", + "context": "create table table_24348134_3 (tournament_winner varchar, regular_season_winner varchar, PRIMARY KEY (tournament_winner))", + "answer": "select count(tournament_winner) from table_24348134_3 where regular_season_winner = \"iona , siena & niagara\"" + }, + { + "question": "Name the location for school eckstein", + "context": "create table table_17641314_3 (location_denotes_location_of_school_by_seattle_neighborhood varchar, _does_not_necessary_correspond_with_attendance_area varchar, school varchar, PRIMARY KEY (location_denotes_location_of_school_by_seattle_neighborhood))", + "answer": "select location_denotes_location_of_school_by_seattle_neighborhood, _does_not_necessary_correspond_with_attendance_area from table_17641314_3 where school = \"eckstein\"" + }, + { + "question": "What is the website of the school affiliated with the Church of England?", + "context": "create table table_28523_3 (school varchar, religious_affiliation varchar, PRIMARY KEY (school))", + "answer": "select school as website from table_28523_3 where religious_affiliation = \"church of england\"" + }, + { + "question": "How many people finished 9th?", + "context": "create table table_14345690_3 (exited varchar, finished varchar, PRIMARY KEY (exited))", + "answer": "select count(exited) from table_14345690_3 where finished = \"9th\"" + }, + { + "question": "Who played SS when paul konerko played 1st base?", + "context": "create table table_12142298_2 (shortstop varchar, first_baseman varchar, PRIMARY KEY (shortstop))", + "answer": "select shortstop from table_12142298_2 where first_baseman = \"paul konerko\"" + }, + { + "question": "How many players had the most points in the game @ Milwaukee?", + "context": "create table table_11960944_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_11960944_6 where team = \"@ milwaukee\"" + }, + { + "question": "What is the year of appearance for the Prince Albert Raiders?", + "context": "create table table_17751942_4 (years_of_appearance varchar, team varchar, PRIMARY KEY (years_of_appearance))", + "answer": "select years_of_appearance from table_17751942_4 where team = \"prince albert raiders\"" + }, + { + "question": "List ids and details for all projects.", + "context": "create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id))", + "answer": "select project_id, project_details from projects" + }, + { + "question": "When the value of \"since beginning of big 12\" is synonymous with its' category, what are the in Ames values?", + "context": "create table table_10429820_13 (in_ames varchar, PRIMARY KEY (in_ames))", + "answer": "select in_ames from table_10429820_13 where \"since_beginning_of_big_12\" = \"since_beginning_of_big_12\"" + }, + { + "question": "june 10-11 when november 3 is 133?", + "context": "create table table_25355501_2 (june_10_11 varchar, november_3 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25355501_2 where november_3 = \"133\"" + }, + { + "question": "What is the name of the player from purcell, ok?", + "context": "create table table_26916717_1 (name varchar, home_town varchar, PRIMARY KEY (name))", + "answer": "select name from table_26916717_1 where home_town = \"purcell, ok\"" + }, + { + "question": "What was the name of the epiode written by Gary M. Goodrich?", + "context": "create table table_2409041_9 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2409041_9 where written_by = \"gary m. goodrich\"" + }, + { + "question": "Name the home team when away team is kilmarnock", + "context": "create table table_15173650_2 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_15173650_2 where away_team = \"kilmarnock\"" + }, + { + "question": "Which companies have a free float of 0.2726?", + "context": "create table table_20667854_1 (company varchar, free_float varchar, PRIMARY KEY (company))", + "answer": "select company from table_20667854_1 where free_float = \"0.2726\"" + }, + { + "question": "Who was the first couple in the episode having a fourth couple of Sammy and Nat?", + "context": "create table table_25664518_3 (first_couple varchar, fourth_couple varchar, PRIMARY KEY (first_couple))", + "answer": "select first_couple from table_25664518_3 where fourth_couple = \"sammy and nat\"" + }, + { + "question": "Which episode had bbc ranking and canle ranking of n/a?", + "context": "create table table_24399615_10 (episode_no varchar, bbc_three_weekly_ranking varchar, cable_rank varchar, PRIMARY KEY (episode_no))", + "answer": "select count(episode_no) from table_24399615_10 where bbc_three_weekly_ranking = \"n/a\" and cable_rank = \"n/a\"" + }, + { + "question": "display the employee ID and job name for all those jobs in department 80.", + "context": "create table jobs (job_title varchar, job_id varchar, PRIMARY KEY (job_title)); create table employees (employee_id varchar, job_id varchar, department_id varchar, PRIMARY KEY (employee_id))", + "answer": "select t1.employee_id, t2.job_title from employees as t1 join jobs as t2 on t1.job_id = t2.job_id where t1.department_id = 80" + }, + { + "question": "On what date was the episode aired where event 2 was Hang Tough?", + "context": "create table table_17257687_1 (air_date varchar, event_2 varchar, PRIMARY KEY (air_date))", + "answer": "select air_date from table_17257687_1 where event_2 = \"hang tough\"" + }, + { + "question": "What is the former school of the player from North Port, FL?", + "context": "create table table_29418619_1 (former_school varchar, hometown varchar, PRIMARY KEY (former_school))", + "answer": "select former_school from table_29418619_1 where hometown = \"north port, fl\"" + }, + { + "question": "How many times was the time 20' 05.19 112.703mph on Thurs Aug 26th?", + "context": "create table table_26986076_1 (sat_21_aug varchar, thurs_26_aug varchar, PRIMARY KEY (sat_21_aug))", + "answer": "select count(sat_21_aug) from table_26986076_1 where thurs_26_aug = \"20' 05.19 112.703mph\"" + }, + { + "question": "What was the report of Mike Hawthorn's winning race?", + "context": "create table table_1140113_5 (report varchar, winning_driver varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140113_5 where winning_driver = \"mike hawthorn\"" + }, + { + "question": "What is the highest score of round 1 where they also shot 90 in round 2", + "context": "create table table_14708760_3 (round_1 integer, round_2 varchar, PRIMARY KEY (round_1))", + "answer": "select max(round_1) from table_14708760_3 where round_2 = 90" + }, + { + "question": "Name the total number of male rank for fiji", + "context": "create table table_2701625_1 (male_rank varchar, country varchar, PRIMARY KEY (male_rank))", + "answer": "select count(male_rank) from table_2701625_1 where country = \"fiji\"" + }, + { + "question": "What is the previous experience of the player from East Jordan, Michigan?", + "context": "create table table_14342367_13 (previous_experience varchar, hometown varchar, PRIMARY KEY (previous_experience))", + "answer": "select previous_experience from table_14342367_13 where hometown = \"east jordan, michigan\"" + }, + { + "question": "When was successor George E. Harris (R) seated?", + "context": "create table table_2417345_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2417345_4 where successor = \"george e. harris (r)\"" + }, + { + "question": "When Grand Rapids's fare was $377.29, what is the fare to Detroit?", + "context": "create table table_1637981_7 (detroit__dtw_ varchar, grand_rapids__grr_ varchar, PRIMARY KEY (detroit__dtw_))", + "answer": "select detroit__dtw_ from table_1637981_7 where grand_rapids__grr_ = \"$377.29\"" + }, + { + "question": "whe, co2 is 206g/km, what is the torque?", + "context": "create table table_24729_2 (torque varchar, co2 varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_24729_2 where co2 = \"206g/km\"" + }, + { + "question": "What is the name of the high schooler who has the greatest number of friends?", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id order by count(*) desc limit 1" + }, + { + "question": "What is the population density in Buffalo Lake?", + "context": "create table table_2500440_1 (population_density__per_km_2__ varchar, name varchar, PRIMARY KEY (population_density__per_km_2__))", + "answer": "select population_density__per_km_2__ from table_2500440_1 where name = \"buffalo lake\"" + }, + { + "question": "Which artists have order # 1?", + "context": "create table table_29756040_1 (original_artist varchar, order__number varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_29756040_1 where order__number = \"1\"" + }, + { + "question": "Describe the section h.", + "context": "create table sections (section_description varchar, section_name varchar, PRIMARY KEY (section_description))", + "answer": "select section_description from sections where section_name = 'h'" + }, + { + "question": "What is the codename for the Core i3-32xxt?", + "context": "create table table_24538587_11 (codename__main_article_ varchar, brand_name__list_ varchar, PRIMARY KEY (codename__main_article_))", + "answer": "select codename__main_article_ from table_24538587_11 where brand_name__list_ = \"core i3-32xxt\"" + }, + { + "question": "Who were the candidates in the district whose incumbent is Bill Pascrell?", + "context": "create table table_1341453_32 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341453_32 where incumbent = \"bill pascrell\"" + }, + { + "question": "Name the seasons and winners that airs 28 january 2007", + "context": "create table table_16884579_1 (seasons_and_winners varchar, premiere varchar, PRIMARY KEY (seasons_and_winners))", + "answer": "select seasons_and_winners from table_16884579_1 where premiere = \"28 january 2007\"" + }, + { + "question": "How many races take place in Dessau circuit?", + "context": "create table table_1140116_6 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))", + "answer": "select count(race_name) from table_1140116_6 where circuit = \"dessau\"" + }, + { + "question": "What was the title when 1.121 million US people watched it?", + "context": "create table table_23513241_5 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23513241_5 where us_viewers__millions_ = \"1.121\"" + }, + { + "question": "Which template type code has most number of templates?", + "context": "create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code from templates group by template_type_code order by count(*) desc limit 1" + }, + { + "question": "What is the percentage of others when McCain is at 57.7%", + "context": "create table table_20573232_1 (others_percentage varchar, mccain_percentage varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_20573232_1 where mccain_percentage = \"57.7%\"" + }, + { + "question": "What is the team for the position in table 19th?", + "context": "create table table_24231638_3 (team varchar, position_in_table varchar, PRIMARY KEY (team))", + "answer": "select team from table_24231638_3 where position_in_table = \"19th\"" + }, + { + "question": "List the name of all playlist.", + "context": "create table playlists (name varchar, PRIMARY KEY (name))", + "answer": "select name from playlists" + }, + { + "question": "When sweden is the country what is the highest production in 2010 (1,000 ton)?", + "context": "create table table_293465_1 (production_in_2010__1 integer, country varchar, PRIMARY KEY (production_in_2010__1))", + "answer": "select max(production_in_2010__1), 000 as _ton_ from table_293465_1 where country = \"sweden\"" + }, + { + "question": "Name the archive for run time of 23:55", + "context": "create table table_2102782_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2102782_1 where run_time = \"23:55\"" + }, + { + "question": "How many outgoing managers were replaced by Bob Peeters?", + "context": "create table table_27374004_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_27374004_3 where replaced_by = \"bob peeters\"" + }, + { + "question": "How many assets does each maintenance contract contain? List the number and the contract id.", + "context": "create table assets (maintenance_contract_id varchar, PRIMARY KEY (maintenance_contract_id)); create table maintenance_contracts (maintenance_contract_id varchar, PRIMARY KEY (maintenance_contract_id))", + "answer": "select count(*), t1.maintenance_contract_id from maintenance_contracts as t1 join assets as t2 on t1.maintenance_contract_id = t2.maintenance_contract_id group by t1.maintenance_contract_id" + }, + { + "question": "When tajik is the ethnicity what is islam?", + "context": "create table table_16642_1 (islam varchar, ethnicity varchar, PRIMARY KEY (islam))", + "answer": "select islam from table_16642_1 where ethnicity = \"tajik\"" + }, + { + "question": "How many people are guest 1 on episodes where guest 4 is Des Kelly?", + "context": "create table table_20466963_9 (guest_1 varchar, guest_4 varchar, PRIMARY KEY (guest_1))", + "answer": "select count(guest_1) from table_20466963_9 where guest_4 = \"des kelly\"" + }, + { + "question": "What was the winner share (in $) in the year when Se Ri Pak (2) was the champion?", + "context": "create table table_229059_2 (winners_share__ integer, champion varchar, PRIMARY KEY (winners_share__))", + "answer": "select min(winners_share__) as $_ from table_229059_2 where champion = \"se ri pak (2)\"" + }, + { + "question": "What team had a net run rate of 0.134?", + "context": "create table table_25368177_1 (team varchar, net_run_rate varchar, PRIMARY KEY (team))", + "answer": "select team from table_25368177_1 where net_run_rate = \"0.134\"" + }, + { + "question": "How many different C_{high} values are there for the good category?", + "context": "create table table_1942366_9 (high varchar, category varchar, PRIMARY KEY (high))", + "answer": "select struct(high) from table_1942366_9 where category = \"good\"" + }, + { + "question": "Name the incumbent for sue myrick (r) 69.0% jeff doctor (d) 31.0%", + "context": "create table table_19753079_36 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_19753079_36 where candidates = \"sue myrick (r) 69.0% jeff doctor (d) 31.0%\"" + }, + { + "question": "When peninsula is the electorate what is the reason?", + "context": "create table table_28898974_3 (reason varchar, electorate varchar, PRIMARY KEY (reason))", + "answer": "select reason from table_28898974_3 where electorate = \"peninsula\"" + }, + { + "question": "Which circuit has two heats as the format?", + "context": "create table table_19886463_1 (circuit varchar, format varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_19886463_1 where format = \"two heats\"" + }, + { + "question": "Find the names of stadiums that the most swimmers have been to.", + "context": "create table record (event_id varchar, PRIMARY KEY (event_id)); create table stadium (name varchar, id varchar, PRIMARY KEY (name)); create table event (stadium_id varchar, id varchar, PRIMARY KEY (stadium_id))", + "answer": "select t3.name from record as t1 join event as t2 on t1.event_id = t2.id join stadium as t3 on t3.id = t2.stadium_id group by t2.stadium_id order by count(*) desc limit 1" + }, + { + "question": "If the branding is Yes! FM 91.1 Boracay, what is the power?", + "context": "create table table_19874169_3 (power__kw_ varchar, branding varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_19874169_3 where branding = \"yes! fm 91.1 boracay\"" + }, + { + "question": "What is the name of the winner when the sprints classification is no award?", + "context": "create table table_22941863_19 (winner varchar, sprints_classification varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22941863_19 where sprints_classification = \"no award\"" + }, + { + "question": "What is the least amount of season epidsodes?", + "context": "create table table_1067134_1 (_number_of_ep integer, PRIMARY KEY (_number_of_ep))", + "answer": "select min(_number_of_ep) from table_1067134_1" + }, + { + "question": "How many countries spent at least $51.0 billion in international tourism in 2012?", + "context": "create table table_29789_3 (rank_2012 integer, international_tourism_expenditure_2011 varchar, PRIMARY KEY (rank_2012))", + "answer": "select max(rank_2012) from table_29789_3 where international_tourism_expenditure_2011 = \"$51.0 billion\"" + }, + { + "question": "Find the name of the source user with the highest average trust score.", + "context": "create table useracct (name varchar, u_id varchar, PRIMARY KEY (name)); create table trust (source_u_id varchar, PRIMARY KEY (source_u_id))", + "answer": "select t1.name from useracct as t1 join trust as t2 on t1.u_id = t2.source_u_id group by t2.source_u_id order by avg(trust) desc limit 1" + }, + { + "question": "Name the total number of luna blastoff date for apollo 11", + "context": "create table table_1558077_8 (lunar_blastoff_date varchar, mission_name varchar, PRIMARY KEY (lunar_blastoff_date))", + "answer": "select count(lunar_blastoff_date) from table_1558077_8 where mission_name = \"apollo 11\"" + }, + { + "question": "Name the timeslot for 6.51 viewers", + "context": "create table table_19834691_4 (timeslot varchar, viewers__millions_ varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_19834691_4 where viewers__millions_ = \"6.51\"" + }, + { + "question": "When \u043e\u045f\u0430\u0446\u0438 is the cyrillic name other names what is the type?", + "context": "create table table_2562572_25 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_25 where cyrillic_name_other_names = \"\u043e\u045f\u0430\u0446\u0438\"" + }, + { + "question": "Find the name of tracks which are in both Movies and music playlists.", + "context": "create table playlists (id varchar, name varchar, PRIMARY KEY (id)); create table playlist_tracks (track_id varchar, playlist_id varchar, PRIMARY KEY (track_id)); create table tracks (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'movies' intersect select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'music'" + }, + { + "question": "What is the name of the player when n is 28?", + "context": "create table table_22810095_8 (name varchar, n varchar, PRIMARY KEY (name))", + "answer": "select name from table_22810095_8 where n = 28" + }, + { + "question": "What was the state (class) where the new successor was formally installed on May 11, 1966?", + "context": "create table table_1847180_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_1847180_3 where date_of_successors_formal_installation = \"may 11, 1966\"" + }, + { + "question": "How many council taxes are collected for renting arrears ?", + "context": "create table rent_arrears (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from rent_arrears" + }, + { + "question": "how many times was the catalog number cal01 / 0091037137319?", + "context": "create table table_27303975_3 (copyright_information varchar, catalog_number varchar, PRIMARY KEY (copyright_information))", + "answer": "select count(copyright_information) from table_27303975_3 where catalog_number = \"cal01 / 0091037137319\"" + }, + { + "question": "In what location was a stadium built for the St Kilda Football Club?", + "context": "create table table_28885977_1 (location varchar, built_for varchar, PRIMARY KEY (location))", + "answer": "select location from table_28885977_1 where built_for = \"st kilda football club\"" + }, + { + "question": "what's the\u00a0highest point\u00a0with\u00a0lowest point\u00a0being belle fourche river at south dakota border", + "context": "create table table_1416612_1 (highest_point varchar, lowest_point varchar, PRIMARY KEY (highest_point))", + "answer": "select highest_point from table_1416612_1 where lowest_point = \"belle fourche river at south dakota border\"" + }, + { + "question": "What was the year of previous participation for the school in the Kagoshima prefecture?", + "context": "create table table_2518850_4 (year_of_previous_participation varchar, prefecture varchar, PRIMARY KEY (year_of_previous_participation))", + "answer": "select year_of_previous_participation from table_2518850_4 where prefecture = \"kagoshima\"" + }, + { + "question": "What are the directions for the guardian whose graha (planet) is b\u1e5bhaspati (Jupiter)?", + "context": "create table table_100518_1 (direction varchar, graha__planet_ varchar, PRIMARY KEY (direction))", + "answer": "select direction from table_100518_1 where graha__planet_ = \"b\u1e5bhaspati (jupiter)\"" + }, + { + "question": "Show id and location of railways that are associated with more than one train.", + "context": "create table railway (location varchar, railway_id varchar, PRIMARY KEY (location)); create table train (railway_id varchar, PRIMARY KEY (railway_id))", + "answer": "select t2.railway_id, t1.location from railway as t1 join train as t2 on t1.railway_id = t2.railway_id group by t2.railway_id having count(*) > 1" + }, + { + "question": "Find the name of customers who do not have an saving account.", + "context": "create table customer (cust_name varchar, acc_type varchar, PRIMARY KEY (cust_name))", + "answer": "select cust_name from customer except select cust_name from customer where acc_type = 'saving'" + }, + { + "question": "What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?", + "context": "create table architect (id varchar, PRIMARY KEY (id)); create table mill (name varchar, architect_id varchar, PRIMARY KEY (name)); create table bridge (architect_id varchar, length_meters integer, PRIMARY KEY (architect_id))", + "answer": "select distinct t1.name from mill as t1 join architect as t2 on t1.architect_id = t2.id join bridge as t3 on t3.architect_id = t2.id where t3.length_meters > 80" + }, + { + "question": "What are the names of the tourist attractions that have parking or shopping as their feature details?", + "context": "create table tourist_attraction_features (tourist_attraction_id varchar, feature_id varchar, PRIMARY KEY (tourist_attraction_id)); create table features (feature_id varchar, feature_details varchar, PRIMARY KEY (feature_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tourist_attractions as t1 join tourist_attraction_features as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join features as t3 on t2.feature_id = t3.feature_id where t3.feature_details = 'park' union select t1.name from tourist_attractions as t1 join tourist_attraction_features as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join features as t3 on t2.feature_id = t3.feature_id where t3.feature_details = 'shopping'" + }, + { + "question": "How many farms are there?", + "context": "create table farm (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from farm" + }, + { + "question": "show the lowest low temperature and highest wind speed in miles per hour.", + "context": "create table weekly_weather (low_temperature integer, wind_speed_mph integer, PRIMARY KEY (low_temperature))", + "answer": "select min(low_temperature), max(wind_speed_mph) from weekly_weather" + }, + { + "question": "How many origins have titles of Samoan cricket bats?", + "context": "create table table_29635868_1 (origin varchar, title_ varchar, _link_to_episode_on_youtube varchar, PRIMARY KEY (origin))", + "answer": "select count(origin) from table_29635868_1 where title_ & _link_to_episode_on_youtube = \"samoan cricket bats\"" + }, + { + "question": "When fixed route is the type of fare how much is the 31-day pass?", + "context": "create table table_20803241_1 (day_pass varchar, type_of_fare varchar, PRIMARY KEY (day_pass))", + "answer": "select 31 - day_pass from table_20803241_1 where type_of_fare = \"fixed route\"" + }, + { + "question": "what's the\u00a0livingstone\u00a0with\u00a0fitzroy\u00a0being 9499", + "context": "create table table_12570207_1 (livingstone varchar, fitzroy varchar, PRIMARY KEY (livingstone))", + "answer": "select livingstone from table_12570207_1 where fitzroy = 9499" + }, + { + "question": "How many headquarters are there listed for HSBC?", + "context": "create table table_1682026_7 (headquarters varchar, company varchar, PRIMARY KEY (headquarters))", + "answer": "select count(headquarters) from table_1682026_7 where company = \"hsbc\"" + }, + { + "question": "What are the name of courses that have at least five enrollments?", + "context": "create table enrolled_in (cid varchar, PRIMARY KEY (cid)); create table course (cname varchar, cid varchar, PRIMARY KEY (cname))", + "answer": "select t1.cname from course as t1 join enrolled_in as t2 on t1.cid = t2.cid group by t2.cid having count(*) >= 5" + }, + { + "question": "Who is the conductor on the Multisonic label?", + "context": "create table table_24521345_1 (conductor varchar, record_label varchar, PRIMARY KEY (conductor))", + "answer": "select conductor from table_24521345_1 where record_label = \"multisonic\"" + }, + { + "question": "List the titles of books that are not published.", + "context": "create table book (title varchar, book_id varchar, PRIMARY KEY (title)); create table publication (title varchar, book_id varchar, PRIMARY KEY (title))", + "answer": "select title from book where not book_id in (select book_id from publication)" + }, + { + "question": "What is the released date for Super Mario 64 DS?", + "context": "create table table_1616608_2 (released_date varchar, western_title varchar, PRIMARY KEY (released_date))", + "answer": "select released_date from table_1616608_2 where western_title = \"super mario 64 ds\"" + }, + { + "question": "How many people wrote the episode that had 6.34 million viewers?", + "context": "create table table_17641206_2 (written_by varchar, viewership varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_17641206_2 where viewership = \"6.34 million\"" + }, + { + "question": "What was the margin of victory for the event in lake forest, illinois?", + "context": "create table table_275162_1 (margin_of_victory varchar, location varchar, PRIMARY KEY (margin_of_victory))", + "answer": "select margin_of_victory from table_275162_1 where location = \"lake forest, illinois\"" + }, + { + "question": "What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley?", + "context": "create table table_26986076_3 (mon_23_aug varchar, rider varchar, PRIMARY KEY (mon_23_aug))", + "answer": "select mon_23_aug from table_26986076_3 where rider = \"steve linsdell 499cc royal enfield seeley\"" + }, + { + "question": "What institution is located in Watertown, Wisconsin?", + "context": "create table table_1974443_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1974443_1 where location = \"watertown, wisconsin\"" + }, + { + "question": "Which allergy type has least number of allergies?", + "context": "create table allergy_type (allergytype varchar, PRIMARY KEY (allergytype))", + "answer": "select allergytype from allergy_type group by allergytype order by count(*) limit 1" + }, + { + "question": "What is the nationality of the player from the University of Michigan (NCAA)?", + "context": "create table table_1965650_11 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1965650_11 where college_junior_club_team = \"university of michigan (ncaa)\"" + }, + { + "question": "Where does Route 24 intersect?", + "context": "create table table_10568553_1 (location varchar, roads_intersected varchar, PRIMARY KEY (location))", + "answer": "select location from table_10568553_1 where roads_intersected = \"route 24\"" + }, + { + "question": "What is the team with the date of vacancy 8 dec 2010?", + "context": "create table table_27383390_4 (team varchar, date_of_vacancy varchar, PRIMARY KEY (team))", + "answer": "select team from table_27383390_4 where date_of_vacancy = \"8 dec 2010\"" + }, + { + "question": "What is the location of the team Saturn?", + "context": "create table table_20140132_1 (location varchar, team varchar, PRIMARY KEY (location))", + "answer": "select location from table_20140132_1 where team = \"saturn\"" + }, + { + "question": "Who wrote the episode with 8.61 million U.S. viewers?", + "context": "create table table_24648983_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_24648983_1 where us_viewers__million_ = \"8.61\"" + }, + { + "question": "how many arabic scottish is afghan", + "context": "create table table_24807774_1 (afghan varchar, arabic varchar, PRIMARY KEY (afghan))", + "answer": "select afghan from table_24807774_1 where arabic = \"scottish\"" + }, + { + "question": "What is the week 32 result when week 33 is 31.9%?", + "context": "create table table_23680576_3 (week_32 varchar, week_33 varchar, PRIMARY KEY (week_32))", + "answer": "select week_32 from table_23680576_3 where week_33 = \"31.9%\"" + }, + { + "question": "How many times did the Centurions play the Rhein Fire?", + "context": "create table table_27764201_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select count(game_site) from table_27764201_2 where opponent = \"rhein fire\"" + }, + { + "question": "What is the total gdp world rank when the gdp per capita was listed at $1,163?", + "context": "create table table_2248991_2 (total_gdp_world_rank integer, gdp_per_capita varchar, PRIMARY KEY (total_gdp_world_rank))", + "answer": "select min(total_gdp_world_rank) from table_2248991_2 where gdp_per_capita = \"$1,163\"" + }, + { + "question": "How many times was Plan B 4th place?", + "context": "create table table_17111812_1 (winner varchar, fourth varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_17111812_1 where fourth = \"plan b\"" + }, + { + "question": "How many total itv viewers were there for the episode with official itv hd ratings of 1.12 million?", + "context": "create table table_27319183_7 (total_itv_viewers__millions_ varchar, official_itv_hd_rating__millions_ varchar, PRIMARY KEY (total_itv_viewers__millions_))", + "answer": "select total_itv_viewers__millions_ from table_27319183_7 where official_itv_hd_rating__millions_ = \"1.12\"" + }, + { + "question": "How many locations have a median household income in 2011 of $71,479?", + "context": "create table table_19283806_4 (location varchar, median_household_income__2011_ varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_19283806_4 where median_household_income__2011_ = \"$71,479\"" + }, + { + "question": "How many locations does Elon University have?", + "context": "create table table_16403890_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_16403890_1 where institution = \"elon university\"" + }, + { + "question": "How many votes did Southern England cast whilst Northern Ireland cast 3?", + "context": "create table table_10128185_2 (southern_england varchar, northern_ireland varchar, PRIMARY KEY (southern_england))", + "answer": "select southern_england from table_10128185_2 where northern_ireland = 3" + }, + { + "question": "what are the title in japanese where the reference is kids-430?", + "context": "create table table_10979230_5 (japanese_title varchar, reference varchar, PRIMARY KEY (japanese_title))", + "answer": "select japanese_title from table_10979230_5 where reference = \"kids-430\"" + }, + { + "question": "Name the world rank for market value 17.2", + "context": "create table table_19112_3 (world_rank varchar, market_value__billion_$_ varchar, PRIMARY KEY (world_rank))", + "answer": "select world_rank from table_19112_3 where market_value__billion_$_ = \"17.2\"" + }, + { + "question": "There are 5 imports of plywood.", + "context": "create table table_12077540_1 (import varchar, product varchar, PRIMARY KEY (import))", + "answer": "select import from table_12077540_1 where product = \"plywood\"" + }, + { + "question": "Who had highest assists in game against Utah?", + "context": "create table table_28768469_5 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_28768469_5 where team = \"utah\"" + }, + { + "question": "Find the names of all the product characteristics.", + "context": "create table characteristics (characteristic_name varchar, PRIMARY KEY (characteristic_name))", + "answer": "select distinct characteristic_name from characteristics" + }, + { + "question": "What is the least amount of total medals won?", + "context": "create table table_22355_23 (total_min_2_medals_ integer, PRIMARY KEY (total_min_2_medals_))", + "answer": "select min(total_min_2_medals_) from table_22355_23" + }, + { + "question": "Name the national rank for medical university of south carolina", + "context": "create table table_27956_3 (national_rank varchar, institution varchar, PRIMARY KEY (national_rank))", + "answer": "select national_rank from table_27956_3 where institution = \"medical university of south carolina\"" + }, + { + "question": "Find the name of customers who have more than one loan.", + "context": "create table customer (cust_name varchar, cust_id varchar, PRIMARY KEY (cust_name)); create table loan (cust_id varchar, PRIMARY KEY (cust_id))", + "answer": "select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id group by t1.cust_name having count(*) > 1" + }, + { + "question": "How many medicines have the FDA approval status 'No' ?", + "context": "create table medicine (fda_approved varchar, PRIMARY KEY (fda_approved))", + "answer": "select count(*) from medicine where fda_approved = 'no'" + }, + { + "question": "what is the title of the episode where b b is 20/16", + "context": "create table table_19485888_1 (title__french_____english_ varchar, b_b_ varchar, _corresponds_to_tf1s_broadcast_schedule varchar, PRIMARY KEY (title__french_____english_))", + "answer": "select title__french_____english_ from table_19485888_1 where b_b_ = _corresponds_to_tf1s_broadcast_schedule = 20 / 16" + }, + { + "question": "What municipality where the human development index in the year 2000 was 0.7827?", + "context": "create table table_1480455_1 (municipality varchar, human_development_index__2000_ varchar, PRIMARY KEY (municipality))", + "answer": "select municipality from table_1480455_1 where human_development_index__2000_ = \"0.7827\"" + }, + { + "question": "What station was sent on flight up and was launched on 23 July 1980 18:33:03?", + "context": "create table table_245800_2 (flight_up varchar, launch_date varchar, PRIMARY KEY (flight_up))", + "answer": "select flight_up from table_245800_2 where launch_date = \"23 july 1980 18:33:03\"" + }, + { + "question": "What is the Netflix where Segment C is car washes?", + "context": "create table table_15187735_12 (netflix varchar, segment_c varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_12 where segment_c = \"car washes\"" + }, + { + "question": "What is the brand name associated with a model name e4xxx?", + "context": "create table table_24099628_1 (brand_name varchar, model__list_ varchar, PRIMARY KEY (brand_name))", + "answer": "select brand_name from table_24099628_1 where model__list_ = \"e4xxx\"" + }, + { + "question": "what is the nightly rank where the episode number production number is 06 1-06?", + "context": "create table table_17004367_3 (nightly_rank varchar, episode_number_production_number varchar, PRIMARY KEY (nightly_rank))", + "answer": "select count(nightly_rank) from table_17004367_3 where episode_number_production_number = \"06 1-06\"" + }, + { + "question": "Name the film title for la boca del lobo", + "context": "create table table_20963074_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_20963074_1 where original_title = \"la boca del lobo\"" + }, + { + "question": "How many entries for Italian correspond to the Conservative Central Italian of Unu?", + "context": "create table table_25401_15 (italian varchar, conservative_central_italian_1 varchar, PRIMARY KEY (italian))", + "answer": "select count(italian) from table_25401_15 where conservative_central_italian_1 = \"unu\"" + }, + { + "question": "How many semifinals did ferhat pehlivan attend?", + "context": "create table table_27294107_11 (semifinals varchar, athlete varchar, PRIMARY KEY (semifinals))", + "answer": "select count(semifinals) from table_27294107_11 where athlete = \"ferhat pehlivan\"" + }, + { + "question": "How many different original U.S. air dates appear where the U.S. viewers were 2.5 million?", + "context": "create table table_25246990_5 (original_us_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_us_air_date))", + "answer": "select count(original_us_air_date) from table_25246990_5 where us_viewers__millions_ = \"2.5\"" + }, + { + "question": "Name the young rider classification with laudelino cubino", + "context": "create table table_12261806_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_12261806_2 where winner = \"laudelino cubino\"" + }, + { + "question": "How many 4 credits is the hand two pair?", + "context": "create table table_11200856_1 (hand varchar, PRIMARY KEY (hand))", + "answer": "select count(4 as _credits) from table_11200856_1 where hand = \"two pair\"" + }, + { + "question": "How many gas companies are there?", + "context": "create table company (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from company" + }, + { + "question": "List the status for the operator Toronto transit commission.", + "context": "create table table_22481967_1 (status varchar, operator varchar, PRIMARY KEY (status))", + "answer": "select status from table_22481967_1 where operator = \"toronto transit commission\"" + }, + { + "question": "What is the 2008 rank of Djibouti?", + "context": "create table table_23050383_1 (country varchar, PRIMARY KEY (country))", + "answer": "select 2008 as _rank from table_23050383_1 where country = \"djibouti\"" + }, + { + "question": "Give me the minimum number of people in 1991 with 92.5% of Slovenes in 1991.", + "context": "create table table_10798421_1 (number_of_people_1991 integer, percent_of_slovenes_1991 varchar, PRIMARY KEY (number_of_people_1991))", + "answer": "select min(number_of_people_1991) from table_10798421_1 where percent_of_slovenes_1991 = \"92.5%\"" + }, + { + "question": "What is the planet associated with the direction of south?", + "context": "create table table_14850099_18 (planet varchar, cardinal_direction varchar, PRIMARY KEY (planet))", + "answer": "select planet from table_14850099_18 where cardinal_direction = \"south\"" + }, + { + "question": "How many products were not included in any order?", + "context": "create table products (product_id varchar, PRIMARY KEY (product_id)); create table order_items (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select count(*) from products where not product_id in (select product_id from order_items)" + }, + { + "question": "List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS.", + "context": "create table ref_shipping_agents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id)); create table documents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents where document_status_code = \"done\" and document_type_code = \"paper\" intersect select document_id from documents join ref_shipping_agents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code where ref_shipping_agents.shipping_agent_name = \"usps\"" + }, + { + "question": "What are the different nationalities of pilots? Show each nationality and the number of pilots of each nationality.", + "context": "create table pilot (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality, count(*) from pilot group by nationality" + }, + { + "question": "What was the team record after the Frankfurt Galaxy matchup?", + "context": "create table table_24852001_2 (team_record varchar, opponent varchar, PRIMARY KEY (team_record))", + "answer": "select team_record from table_24852001_2 where opponent = \"frankfurt galaxy\"" + }, + { + "question": "Name the total number of japanese for amagasaki", + "context": "create table table_1585609_2 (japanese varchar, name varchar, PRIMARY KEY (japanese))", + "answer": "select count(japanese) from table_1585609_2 where name = \"amagasaki\"" + }, + { + "question": "Which assets did not incur any fault log? List the asset model.", + "context": "create table fault_log (asset_model varchar, asset_id varchar, PRIMARY KEY (asset_model)); create table assets (asset_model varchar, asset_id varchar, PRIMARY KEY (asset_model))", + "answer": "select asset_model from assets where not asset_id in (select asset_id from fault_log)" + }, + { + "question": "Name the team for mario somma", + "context": "create table table_17275810_7 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_17275810_7 where replaced_by = \"mario somma\"" + }, + { + "question": "Find the total and average amount paid in claim headers.", + "context": "create table claim_headers (amount_piad integer, PRIMARY KEY (amount_piad))", + "answer": "select sum(amount_piad), avg(amount_piad) from claim_headers" + }, + { + "question": "What is the population density of the administrative division with a population in 2010 of 264170 according to the census?", + "context": "create table table_21734764_1 (population_density___km\u00b2_2010_ varchar, population_2010_census varchar, PRIMARY KEY (population_density___km\u00b2_2010_))", + "answer": "select population_density___km\u00b2_2010_ from table_21734764_1 where population_2010_census = 264170" + }, + { + "question": "What team is sponsored by hydroxycut?", + "context": "create table table_2503102_1 (team varchar, car_sponsor_s_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_2503102_1 where car_sponsor_s_ = \"hydroxycut\"" + }, + { + "question": "Find the ids of all the order items whose product id is 11.", + "context": "create table order_items (order_item_id varchar, product_id varchar, PRIMARY KEY (order_item_id))", + "answer": "select order_item_id from order_items where product_id = 11" + }, + { + "question": "How many gb's have an iso number of cn-65?", + "context": "create table table_254234_1 (gb varchar, iso_\u2116 varchar, PRIMARY KEY (gb))", + "answer": "select count(gb) from table_254234_1 where iso_\u2116 = \"cn-65\"" + }, + { + "question": "Show station names without any trains.", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train_station (name varchar, station_id varchar, PRIMARY KEY (name))", + "answer": "select name from station where not station_id in (select station_id from train_station)" + }, + { + "question": "What is the GDP (PPP) (USD, per capita) for Algeria?", + "context": "create table table_2155836_1 (_per_capita_ varchar, gdp__ppp___usd integer, country varchar, PRIMARY KEY (_per_capita_))", + "answer": "select min(gdp__ppp___usd), _per_capita_ from table_2155836_1 where country = \"algeria\"" + }, + { + "question": "What is the name of Rhode Island College's softball stadium?", + "context": "create table table_1974545_3 (softball_stadium varchar, school varchar, PRIMARY KEY (softball_stadium))", + "answer": "select softball_stadium from table_1974545_3 where school = \"rhode island college\"" + }, + { + "question": "Name the kinship for *t-ina", + "context": "create table table_15568886_14 (kinship varchar, proto_malayo_polynesian varchar, PRIMARY KEY (kinship))", + "answer": "select kinship from table_15568886_14 where proto_malayo_polynesian = \"*t-ina\"" + }, + { + "question": "Where is the University that is also called Owls?", + "context": "create table table_19210115_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_19210115_1 where nickname = \"owls\"" + }, + { + "question": "Who were the guests on the episode that first aired August 16?", + "context": "create table table_25691838_8 (guest varchar, original_airdate varchar, PRIMARY KEY (guest))", + "answer": "select guest from table_25691838_8 where original_airdate = \"august 16\"" + }, + { + "question": "List the carriers of devices that have no devices in stock.", + "context": "create table stock (carrier varchar, device_id varchar, PRIMARY KEY (carrier)); create table device (carrier varchar, device_id varchar, PRIMARY KEY (carrier))", + "answer": "select carrier from device where not device_id in (select device_id from stock)" + }, + { + "question": "How many players' hometown was Akron, Ohio?", + "context": "create table table_11677691_4 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select count(school) from table_11677691_4 where hometown = \"akron, ohio\"" + }, + { + "question": "What is the nickname of the Adrian, Michigan team?", + "context": "create table table_27361255_1 (team_nickname varchar, location varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_27361255_1 where location = \"adrian, michigan\"" + }, + { + "question": "What is every value for Croats if the value of Roma is 3.1%?", + "context": "create table table_2374338_2 (croats varchar, roma varchar, PRIMARY KEY (croats))", + "answer": "select croats from table_2374338_2 where roma = \"3.1%\"" + }, + { + "question": "How many figures for Other in the district where the GN division is 95?", + "context": "create table table_23777640_1 (other varchar, gn_divisions varchar, PRIMARY KEY (other))", + "answer": "select count(other) from table_23777640_1 where gn_divisions = 95" + }, + { + "question": "for the drumset name td-15k how many snare pads are", + "context": "create table table_2889300_6 (snare_pad varchar, drumset_name varchar, PRIMARY KEY (snare_pad))", + "answer": "select count(snare_pad) from table_2889300_6 where drumset_name = \"td-15k\"" + }, + { + "question": "which country won swimming track & field when lexington won swimming and madison won volleyball", + "context": "create table table_16423070_4 (track_ varchar, _field varchar, swimming varchar, volleyball varchar, PRIMARY KEY (track_))", + "answer": "select track_ & _field from table_16423070_4 where swimming = \"lexington\" and volleyball = \"madison\"" + }, + { + "question": "What is the height in inches if the represented is Erongo?", + "context": "create table table_23576576_2 (height__in_ varchar, represented varchar, PRIMARY KEY (height__in_))", + "answer": "select height__in_ from table_23576576_2 where represented = \"erongo\"" + }, + { + "question": "which episode was Transmitted on wednesday if the episode of \"307 vs.\" was transmitted on friday?", + "context": "create table table_18173916_8 (wednesday varchar, friday varchar, PRIMARY KEY (wednesday))", + "answer": "select wednesday from table_18173916_8 where friday = \"307 vs.\"" + }, + { + "question": "What is the title of the episode directed by Rodney Clouden?", + "context": "create table table_23242958_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23242958_1 where directed_by = \"rodney clouden\"" + }, + { + "question": "When Matt Ware won the mens singles, who won the mixed restricted?", + "context": "create table table_28211674_3 (mixed_restricted varchar, mens_singles varchar, PRIMARY KEY (mixed_restricted))", + "answer": "select mixed_restricted from table_28211674_3 where mens_singles = \"matt ware\"" + }, + { + "question": "How many documents were shipped by USPS?", + "context": "create table documents (id varchar, PRIMARY KEY (id)); create table ref_shipping_agents (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_shipping_agents join documents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code where ref_shipping_agents.shipping_agent_name = \"usps\"" + }, + { + "question": "What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph?", + "context": "create table table_30058355_7 (sat_27_aug varchar, thurs_25_aug varchar, PRIMARY KEY (sat_27_aug))", + "answer": "select sat_27_aug from table_30058355_7 where thurs_25_aug = \"23' 56.90 94.528mph\"" + }, + { + "question": "Name the number of direction for debrecen", + "context": "create table table_197286_4 (direction varchar, further_cities varchar, PRIMARY KEY (direction))", + "answer": "select count(direction) from table_197286_4 where further_cities = \"debrecen\"" + }, + { + "question": "What's the process technology of the Intel WiFi Link 5100 wireless LAN?", + "context": "create table table_199666_1 (process_technology varchar, wireless_lan varchar, PRIMARY KEY (process_technology))", + "answer": "select process_technology from table_199666_1 where wireless_lan = \"intel wifi link 5100\"" + }, + { + "question": "What's the ijekavian translation of the ikavian word grijati?", + "context": "create table table_27730_9 (ijekavian varchar, ikavian varchar, PRIMARY KEY (ijekavian))", + "answer": "select ijekavian from table_27730_9 where ikavian = \"grijati\"" + }, + { + "question": "Name the number of application for modeling, computer aided design, animation", + "context": "create table table_19495707_1 (application varchar, mainly_used_for varchar, PRIMARY KEY (application))", + "answer": "select count(application) from table_19495707_1 where mainly_used_for = \"modeling, computer aided design, animation\"" + }, + { + "question": "Who won the regular season when Maryland won the tournament?", + "context": "create table table_22779004_1 (regular_season_winner varchar, tournament_winner varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_22779004_1 where tournament_winner = \"maryland\"" + }, + { + "question": "what's the\u00a0premiere\u00a0with\u00a0hk viewers\u00a0of 2.09 million", + "context": "create table table_11174272_1 (premiere varchar, hk_viewers varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_11174272_1 where hk_viewers = \"2.09 million\"" + }, + { + "question": "How many mens doubles when womens doubles is catrine bengtsson margit borg?", + "context": "create table table_12171145_1 (mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select count(mens_doubles) from table_12171145_1 where womens_doubles = \"catrine bengtsson margit borg\"" + }, + { + "question": "Name the minimum 11-12 enrollment for washington school", + "context": "create table table_17641314_3 (school varchar, PRIMARY KEY (school))", + "answer": "select min(11 as _12_enrollment) from table_17641314_3 where school = \"washington\"" + }, + { + "question": "Who plays Overton Moyle in casino theatre 1888 & savoy theatre 1906?", + "context": "create table table_148386_2 (casino_theatre_1888 varchar, savoy_theatre_1906 varchar, PRIMARY KEY (casino_theatre_1888))", + "answer": "select casino_theatre_1888 from table_148386_2 where savoy_theatre_1906 = \"overton moyle\"" + }, + { + "question": "What town has the reserve with an area of 163,62?", + "context": "create table table_26013618_1 (district___town varchar, area__ha_ varchar, PRIMARY KEY (district___town))", + "answer": "select district___town from table_26013618_1 where area__ha_ = \"163,62\"" + }, + { + "question": "How many dorms are there?", + "context": "create table dorm (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from dorm" + }, + { + "question": "What is the record of wins and losses for Denver's ball club?", + "context": "create table table_17311759_5 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17311759_5 where team = \"denver\"" + }, + { + "question": "Name the landesliga nord for asv neumarkt", + "context": "create table table_20181270_3 (landesliga_nord varchar, landesliga_mitte varchar, PRIMARY KEY (landesliga_nord))", + "answer": "select landesliga_nord from table_20181270_3 where landesliga_mitte = \"asv neumarkt\"" + }, + { + "question": "Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes?", + "context": "create table table_1773908_3 (provider varchar, up__up_to_kbit_s_ varchar, resale varchar, PRIMARY KEY (provider))", + "answer": "select provider from table_1773908_3 where up__up_to_kbit_s_ = 1024 and resale = \"yes\"" + }, + { + "question": "What is the name of the document with the most number of sections?", + "context": "create table document_sections (document_code varchar, PRIMARY KEY (document_code)); create table documents (document_name varchar, document_code varchar, PRIMARY KEY (document_name))", + "answer": "select t1.document_name from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code group by t1.document_code order by count(*) desc limit 1" + }, + { + "question": "Who were the cover models in the edition that included Benicio Del Toro as the interview subject?", + "context": "create table table_1566852_10 (cover_model varchar, interview_subject varchar, PRIMARY KEY (cover_model))", + "answer": "select cover_model from table_1566852_10 where interview_subject = \"benicio del toro\"" + }, + { + "question": "What is the report for the race that Mike Spence won.", + "context": "create table table_1140099_6 (report varchar, winning_driver varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140099_6 where winning_driver = \"mike spence\"" + }, + { + "question": "what's the\u00a0salmonella\u00a0with\u00a0shigella\u00a0being ipgc", + "context": "create table table_10321124_1 (salmonella varchar, shigella varchar, PRIMARY KEY (salmonella))", + "answer": "select salmonella from table_10321124_1 where shigella = \"ipgc\"" + }, + { + "question": "Which countries have more than two members?", + "context": "create table member (country varchar, PRIMARY KEY (country))", + "answer": "select country from member group by country having count(*) > 2" + }, + { + "question": "When dietrich fischer-dieskau is the olivier who is the conductor?", + "context": "create table table_29728787_1 (conductor varchar, olivier varchar, PRIMARY KEY (conductor))", + "answer": "select conductor from table_29728787_1 where olivier = \"dietrich fischer-dieskau\"" + }, + { + "question": "What Marisa Monte song choice was song during top 5?", + "context": "create table table_27614707_1 (song_choice varchar, week__number varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_27614707_1 where week__number = \"top 5\" and original_artist = \"marisa monte\"" + }, + { + "question": "Who's the partner at Tamara, Hon?", + "context": "create table table_18268930_1 (partner varchar, location varchar, PRIMARY KEY (partner))", + "answer": "select partner from table_18268930_1 where location = \"tamara, hon\"" + }, + { + "question": "In which album can Dil De De Nahin Nahin Dil Le Le be found?", + "context": "create table table_2528382_1 (movie_album varchar, song varchar, PRIMARY KEY (movie_album))", + "answer": "select movie_album from table_2528382_1 where song = \"dil de de nahin nahin dil le le\"" + }, + { + "question": "Name the fsb for atom z540", + "context": "create table table_16729930_11 (fsb varchar, model_number varchar, PRIMARY KEY (fsb))", + "answer": "select fsb from table_16729930_11 where model_number = \"atom z540\"" + }, + { + "question": "What are the winnings for the season where the average finish is 11.1?", + "context": "create table table_1637041_6 (winnings varchar, avg_finish varchar, PRIMARY KEY (winnings))", + "answer": "select winnings from table_1637041_6 where avg_finish = \"11.1\"" + }, + { + "question": "In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)?", + "context": "create table table_25983027_1 (evapotranspiration__km_3__year_ varchar, rainfall_by_volume__km_3__year_ varchar, PRIMARY KEY (evapotranspiration__km_3__year_))", + "answer": "select evapotranspiration__km_3__year_ from table_25983027_1 where rainfall_by_volume__km_3__year_ = \"13.2\"" + }, + { + "question": "How many episodes were shown on Friday if 210 Kirby's Epic Yarn was shown on Wednesday?", + "context": "create table table_18173916_6 (friday varchar, wednesday varchar, PRIMARY KEY (friday))", + "answer": "select count(friday) from table_18173916_6 where wednesday = \"210 kirby's epic yarn\"" + }, + { + "question": "Who was the composer of te3rafy?", + "context": "create table table_28005100_1 (composer varchar, title varchar, PRIMARY KEY (composer))", + "answer": "select composer from table_28005100_1 where title = \"te3rafy\"" + }, + { + "question": "What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987?", + "context": "create table table_24089503_1 (breeders_cup_friday varchar, breeders_cup_saturday varchar, PRIMARY KEY (breeders_cup_friday))", + "answer": "select breeders_cup_friday from table_24089503_1 where breeders_cup_saturday = \"52,987\"" + }, + { + "question": "Who were the starting actors in the time frame of tuesday 22:00~22:54 8 april 2008 to 17 june 2008?", + "context": "create table table_18539834_2 (starring_actors varchar, time_frame varchar, PRIMARY KEY (starring_actors))", + "answer": "select starring_actors from table_18539834_2 where time_frame = \"tuesday 22:00~22:54 8 april 2008 to 17 june 2008\"" + }, + { + "question": "Name the number of other builders for nant, visual studio", + "context": "create table table_22903426_1 (other_builders varchar, windows_builders varchar, PRIMARY KEY (other_builders))", + "answer": "select count(other_builders) from table_22903426_1 where windows_builders = \"nant, visual studio\"" + }, + { + "question": "Name the film title for wohin und zur\u00fcck - welcome in vienna", + "context": "create table table_16255245_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_16255245_1 where original_title = \"wohin und zur\u00fcck - welcome in vienna\"" + }, + { + "question": "When 10% is the percentage of electricity reduction how many sets of universities are there?", + "context": "create table table_29538735_1 (universities varchar, _percentage_electricity_reduction varchar, PRIMARY KEY (universities))", + "answer": "select count(universities) from table_29538735_1 where _percentage_electricity_reduction = \"10%\"" + }, + { + "question": "Tell me the number of dogs that have not received any treatment .", + "context": "create table treatments (dog_id varchar, PRIMARY KEY (dog_id)); create table dogs (dog_id varchar, PRIMARY KEY (dog_id))", + "answer": "select count(*) from dogs where not dog_id in (select dog_id from treatments)" + }, + { + "question": "What was team number 2's Fluminense's 2nd leg?", + "context": "create table table_24426072_1 (team__number2 varchar, PRIMARY KEY (team__number2))", + "answer": "select 2 as nd_leg from table_24426072_1 where team__number2 = \"fluminense\"" + }, + { + "question": "What is the repeat date of the episode that aired 22/12/1968?", + "context": "create table table_13403120_1 (repeatairdate_s_ varchar, originalairdate varchar, PRIMARY KEY (repeatairdate_s_))", + "answer": "select repeatairdate_s_ from table_13403120_1 where originalairdate = \"22/12/1968\"" + }, + { + "question": "Who had the most assists and how many did they have in the game against Miami?", + "context": "create table table_17001658_5 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17001658_5 where team = \"miami\"" + }, + { + "question": "Who was the composer of ain shams?", + "context": "create table table_28005100_1 (composer varchar, title varchar, PRIMARY KEY (composer))", + "answer": "select composer from table_28005100_1 where title = \"ain shams\"" + }, + { + "question": "what are all the people where the entries is peugeot sport polska", + "context": "create table table_28046929_2 (driver varchar, entrant varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_28046929_2 where entrant = \"peugeot sport polska\"" + }, + { + "question": "How many railroads have the numbers 864-873?", + "context": "create table table_2351952_1 (railroad varchar, numbers varchar, PRIMARY KEY (railroad))", + "answer": "select count(railroad) from table_2351952_1 where numbers = \"864-873\"" + }, + { + "question": "Name the successor for election was successfully contested july 30, 1861", + "context": "create table table_2417330_4 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2417330_4 where reason_for_change = \"election was successfully contested july 30, 1861\"" + }, + { + "question": "Name the number of going to for thurlby, braceborough spa at departure being 16.50", + "context": "create table table_17200372_2 (going_to varchar, calling_at varchar, departure varchar, PRIMARY KEY (going_to))", + "answer": "select count(going_to) from table_17200372_2 where calling_at = \"thurlby, braceborough spa\" and departure = \"16.50\"" + }, + { + "question": "Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele srednji kot.", + "context": "create table table_10798421_1 (village__german_ varchar, village__slovenian_ varchar, PRIMARY KEY (village__german_))", + "answer": "select village__german_ from table_10798421_1 where village__slovenian_ = \"sele srednji kot\"" + }, + { + "question": "How many tests have result \"Fail\"?", + "context": "create table student_tests_taken (test_result varchar, PRIMARY KEY (test_result))", + "answer": "select count(*) from student_tests_taken where test_result = \"fail\"" + }, + { + "question": "what is the title when the writer(s) is jack turley?", + "context": "create table table_21146729_6 (title varchar, writer_s_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_21146729_6 where writer_s_ = \"jack turley\"" + }, + { + "question": "Show the ids of all employees who have authorized destruction.", + "context": "create table documents_to_be_destroyed (destruction_authorised_by_employee_id varchar, PRIMARY KEY (destruction_authorised_by_employee_id))", + "answer": "select distinct destruction_authorised_by_employee_id from documents_to_be_destroyed" + }, + { + "question": "how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs", + "context": "create table table_11318462_5 (crew varchar, open_1st_viii varchar, u15_3rd_iv varchar, u15_1st_iv varchar, PRIMARY KEY (crew))", + "answer": "select count(crew) from table_11318462_5 where u15_3rd_iv = \"bgs\" and u15_1st_iv = \"acgs\" and open_1st_viii = \"acgs\"" + }, + { + "question": "Name the overall record for road record being 4-3", + "context": "create table table_22825679_1 (overall_record varchar, road_record varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_22825679_1 where road_record = \"4-3\"" + }, + { + "question": "On how many different dates did the episode directed by Marcos Siega and written by Scott Buck air for the first time?", + "context": "create table table_24132083_1 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_24132083_1 where directed_by = \"marcos siega\" and written_by = \"scott buck\"" + }, + { + "question": "who are the candidates where the incumbent is sam m. gibbons?", + "context": "create table table_1341663_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341663_10 where incumbent = \"sam m. gibbons\"" + }, + { + "question": "Name the accession number for rhodopseudomonas palustris", + "context": "create table table_27155678_2 (accession_number varchar, genus_species varchar, PRIMARY KEY (accession_number))", + "answer": "select accession_number from table_27155678_2 where genus_species = \"rhodopseudomonas palustris\"" + }, + { + "question": "What record was set on Tue 11/02/75?", + "context": "create table table_21436373_8 (type_of_record varchar, date_year varchar, PRIMARY KEY (type_of_record))", + "answer": "select type_of_record from table_21436373_8 where date_year = \"tue 11/02/75\"" + }, + { + "question": "What is the largest number of DVDs?", + "context": "create table table_1467951_4 (dvd_no integer, PRIMARY KEY (dvd_no))", + "answer": "select max(dvd_no) from table_1467951_4" + }, + { + "question": "How many times was the overall attendance 17807?", + "context": "create table table_2771237_1 (overall_attendance varchar, average_attendance varchar, PRIMARY KEY (overall_attendance))", + "answer": "select count(overall_attendance) from table_2771237_1 where average_attendance = 17807" + }, + { + "question": "Name the 20 questions for derek jeter", + "context": "create table table_1566852_5 (interview_subject varchar, PRIMARY KEY (interview_subject))", + "answer": "select 20 as _questions from table_1566852_5 where interview_subject = \"derek jeter\"" + }, + { + "question": "what's the\u00a0pole position\u00a0with\u00a0location\u00a0being hockenheimring", + "context": "create table table_1140074_2 (pole_position varchar, location varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1140074_2 where location = \"hockenheimring\"" + }, + { + "question": "What institution is located in St. Peter?", + "context": "create table table_261913_1 (institution varchar, location__all_in_minnesota_ varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261913_1 where location__all_in_minnesota_ = \"st. peter\"" + }, + { + "question": "Name the chassis for sfacs ecurie france", + "context": "create table table_28190534_1 (chassis varchar, entrant varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_28190534_1 where entrant = \"sfacs ecurie france\"" + }, + { + "question": "Show all template type codes and descriptions.", + "context": "create table ref_template_types (template_type_code varchar, template_type_description varchar, PRIMARY KEY (template_type_code))", + "answer": "select template_type_code, template_type_description from ref_template_types" + }, + { + "question": "How many artworks are there?", + "context": "create table artwork (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from artwork" + }, + { + "question": "When did episode number 6 air?", + "context": "create table table_24399615_5 (airdate varchar, episode_no varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_24399615_5 where episode_no = 6" + }, + { + "question": "What is the hometown of the players from alvin high school?", + "context": "create table table_22496374_1 (home_town varchar, high_school varchar, PRIMARY KEY (home_town))", + "answer": "select home_town from table_22496374_1 where high_school = \"alvin\"" + }, + { + "question": "Show the id of each employee and the number of document destruction authorised by that employee.", + "context": "create table documents_to_be_destroyed (destruction_authorised_by_employee_id varchar, PRIMARY KEY (destruction_authorised_by_employee_id))", + "answer": "select destruction_authorised_by_employee_id, count(*) from documents_to_be_destroyed group by destruction_authorised_by_employee_id" + }, + { + "question": "Show all distinct template type codes for all templates.", + "context": "create table templates (template_type_code varchar, PRIMARY KEY (template_type_code))", + "answer": "select distinct template_type_code from templates" + }, + { + "question": "Find the number of students in total.", + "context": "create table student (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from student" + }, + { + "question": "How many writers had an US air date of september 25, 1993?", + "context": "create table table_10470082_3 (writer varchar, us_air_date varchar, PRIMARY KEY (writer))", + "answer": "select count(writer) from table_10470082_3 where us_air_date = \"september 25, 1993\"" + }, + { + "question": "Name the us viewers directed by christine moore", + "context": "create table table_26914076_2 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_26914076_2 where directed_by = \"christine moore\"" + }, + { + "question": "What country does the player who joined the Vancouver Canucks originally hail from?", + "context": "create table table_2886617_4 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_2886617_4 where nhl_team = \"vancouver canucks\"" + }, + { + "question": "How many times was the incumbent john dawson redistricted from the 15th district?", + "context": "create table table_2668393_18 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_2668393_18 where incumbent = \"john dawson redistricted from the 15th district\"" + }, + { + "question": "The Rainbow District School Board is associated with what type?", + "context": "create table table_1506619_1 (type varchar, school_board varchar, PRIMARY KEY (type))", + "answer": "select type from table_1506619_1 where school_board = \"rainbow district school_board\"" + }, + { + "question": "How many players were drafted from laval?", + "context": "create table table_20170644_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select count(cfl_team) from table_20170644_5 where college = \"laval\"" + }, + { + "question": "Name the march 27-29 for november 3 being 133", + "context": "create table table_1708610_3 (march_27_29 varchar, november_3 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_1708610_3 where november_3 = \"133\"" + }, + { + "question": "Which episode was written by anthony e. zuiker & ken solarz", + "context": "create table table_11665016_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_11665016_2 where written_by = \"anthony e. zuiker & ken solarz\"" + }, + { + "question": "Find the famous titles of artists that do not have any volume.", + "context": "create table volume (famous_title varchar, artist_id varchar, PRIMARY KEY (famous_title)); create table artist (famous_title varchar, artist_id varchar, PRIMARY KEY (famous_title))", + "answer": "select famous_title from artist where not artist_id in (select artist_id from volume)" + }, + { + "question": "Find the name of the courses that do not have any prerequisite?", + "context": "create table prereq (title varchar, course_id varchar, PRIMARY KEY (title)); create table course (title varchar, course_id varchar, PRIMARY KEY (title))", + "answer": "select title from course where not course_id in (select course_id from prereq)" + }, + { + "question": "what's the\u00a0try bonus\u00a0with\u00a0club\u00a0being abercwmboi rfc", + "context": "create table table_13940275_5 (try_bonus varchar, club varchar, PRIMARY KEY (try_bonus))", + "answer": "select try_bonus from table_13940275_5 where club = \"abercwmboi rfc\"" + }, + { + "question": "Who belong to the institution \"University of Oxford\"? Show the first names and last names.", + "context": "create table authorship (authid varchar, instid varchar, PRIMARY KEY (authid)); create table authors (fname varchar, lname varchar, authid varchar, PRIMARY KEY (fname)); create table inst (instid varchar, name varchar, PRIMARY KEY (instid))", + "answer": "select distinct t1.fname, t1.lname from authors as t1 join authorship as t2 on t1.authid = t2.authid join inst as t3 on t2.instid = t3.instid where t3.name = \"university of oxford\"" + }, + { + "question": "Tony P. Hall was the incumbent in the race between what two candidates?", + "context": "create table table_1341453_37 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341453_37 where incumbent = \"tony p. hall\"" + }, + { + "question": "What max processor has a maximum memory of 256 gb?", + "context": "create table table_10818465_1 (max_processors varchar, max_memory varchar, PRIMARY KEY (max_processors))", + "answer": "select max_processors from table_10818465_1 where max_memory = \"256 gb\"" + }, + { + "question": "What are the names and id of courses having at most 2 sections?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table sections (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name, t1.course_id from courses as t1 join sections as t2 on t1.course_id = t2.course_id group by t1.course_id having count(*) <= 2" + }, + { + "question": "Which film title used in nomination has vinterkyss as the original title?", + "context": "create table table_21655290_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_21655290_1 where original_title = \"vinterkyss\"" + }, + { + "question": "How many hebrew forms are there for the arabic form yuktibu \u064a\u0643\u062a\u0628?", + "context": "create table table_2784232_1 (hebrew_form varchar, arabic_form varchar, PRIMARY KEY (hebrew_form))", + "answer": "select count(hebrew_form) from table_2784232_1 where arabic_form = \"yuktibu \u064a\u0643\u062a\u0628\"" + }, + { + "question": "Find the distinct first names of the students who have class senator votes.", + "context": "create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table voting_record (class_senator_vote varchar, PRIMARY KEY (class_senator_vote))", + "answer": "select distinct t1.fname from student as t1 join voting_record as t2 on t1.stuid = t2.class_senator_vote" + }, + { + "question": "What is the home town of David Noel?", + "context": "create table table_20785990_2 (home_town varchar, name varchar, PRIMARY KEY (home_town))", + "answer": "select home_town from table_20785990_2 where name = \"david noel\"" + }, + { + "question": "Find the patient who has the most recent undergoing treatment?", + "context": "create table undergoes (patient varchar, dateundergoes varchar, PRIMARY KEY (patient))", + "answer": "select patient from undergoes order by dateundergoes limit 1" + }, + { + "question": "Who was the winner if the Mountains Classification award was given to Jaime Vergara and the Team Classification award is given to Col es Pasion Caf\u00e9 De Colombia 472?", + "context": "create table table_28853064_15 (winner varchar, mountains_classification varchar, team_classification varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_28853064_15 where mountains_classification = \"jaime vergara\" and team_classification = \"col es pasion caf\u00e9 de colombia 472\"" + }, + { + "question": "Who is every vacator if date of successors formal installation is August 8, 1960?", + "context": "create table table_2159571_1 (vacator varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_2159571_1 where date_of_successors_formal_installation = \"august 8, 1960\"" + }, + { + "question": "Show names of ships involved in a mission launched after 1928.", + "context": "create table mission (ship_id varchar, launched_year integer, PRIMARY KEY (ship_id)); create table ship (name varchar, ship_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from mission as t1 join ship as t2 on t1.ship_id = t2.ship_id where t1.launched_year > 1928" + }, + { + "question": "What is the original air date of the episode \"Another Happy Day\"?", + "context": "create table table_2570269_3 (original_air_date__uk_ varchar, episode_title varchar, PRIMARY KEY (original_air_date__uk_))", + "answer": "select original_air_date__uk_ from table_2570269_3 where episode_title = \"another happy day\"" + }, + { + "question": "Find the names of songs whose genre is modern or language is English.", + "context": "create table song (song_name varchar, genre_is varchar, languages varchar, PRIMARY KEY (song_name))", + "answer": "select song_name from song where genre_is = \"modern\" or languages = \"english\"" + }, + { + "question": "If there were 14 in 1990 and 6 survived how many were destroyed?", + "context": "create table table_1817852_1 (destroyed varchar, survived varchar, PRIMARY KEY (destroyed))", + "answer": "select destroyed from table_1817852_1 where 1990 = 14 and survived = 6" + }, + { + "question": "What were the high points for the game played at the MCI Center?", + "context": "create table table_18904831_7 (high_points varchar, location varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_18904831_7 where location = \"mci center\"" + }, + { + "question": "If the language is another native, what is the San Benito Municipality total number?", + "context": "create table table_2509112_3 (san_benito_municipality varchar, language varchar, PRIMARY KEY (san_benito_municipality))", + "answer": "select count(san_benito_municipality) from table_2509112_3 where language = \"another native\"" + }, + { + "question": "What are the names of the physician who prescribed the highest dose?", + "context": "create table prescribes (physician varchar, dose varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from physician as t1 join prescribes as t2 on t1.employeeid = t2.physician order by t2.dose desc limit 1" + }, + { + "question": "Show the guest first names, start dates, and end dates of all the apartment bookings.", + "context": "create table apartment_bookings (booking_start_date varchar, guest_id varchar, PRIMARY KEY (booking_start_date)); create table guests (guest_first_name varchar, guest_id varchar, PRIMARY KEY (guest_first_name))", + "answer": "select t2.guest_first_name, t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join guests as t2 on t1.guest_id = t2.guest_id" + }, + { + "question": "whatis hte station code where users are 130368?", + "context": "create table table_14748457_1 (station__and_code_ varchar, station_users_2008_9 varchar, PRIMARY KEY (station__and_code_))", + "answer": "select station__and_code_ from table_14748457_1 where station_users_2008_9 = \"130368\"" + }, + { + "question": "What is the number of jews asarb where the metro area is philadelphia?", + "context": "create table table_1131183_2 (number_of_jews__asarb_ varchar, metro_area varchar, PRIMARY KEY (number_of_jews__asarb_))", + "answer": "select number_of_jews__asarb_ from table_1131183_2 where metro_area = \"philadelphia\"" + }, + { + "question": "What is the canadian air date when the US air date is 24 august 2012?", + "context": "create table table_30012404_4 (canadian_air_date varchar, us_air_date varchar, PRIMARY KEY (canadian_air_date))", + "answer": "select canadian_air_date from table_30012404_4 where us_air_date = \"24 august 2012\"" + }, + { + "question": "Find the name of the students who have more than one advisor?", + "context": "create table student (name varchar, id varchar, PRIMARY KEY (name)); create table advisor (s_id varchar, PRIMARY KEY (s_id))", + "answer": "select t1.name from student as t1 join advisor as t2 on t1.id = t2.s_id group by t2.s_id having count(*) > 1" + }, + { + "question": "List each language and the number of TV Channels using it.", + "context": "create table tv_channel (language varchar, PRIMARY KEY (language))", + "answer": "select language, count(*) from tv_channel group by language" + }, + { + "question": "What report was there for the porsche north america?", + "context": "create table table_10707176_2 (report varchar, winning_team varchar, PRIMARY KEY (report))", + "answer": "select report from table_10707176_2 where winning_team = \"porsche north america\"" + }, + { + "question": "What is every value for Croatian when value for English is dog?", + "context": "create table table_25008327_8 (croatian varchar, english varchar, PRIMARY KEY (croatian))", + "answer": "select croatian from table_25008327_8 where english = \"dog\"" + }, + { + "question": "What is the code of airport that has the highest number of flights?", + "context": "create table flights (destairport varchar, sourceairport varchar, PRIMARY KEY (destairport)); create table airports (airportcode varchar, PRIMARY KEY (airportcode))", + "answer": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) desc limit 1" + }, + { + "question": "Who is the written by when mark worthington is the director?", + "context": "create table table_22570439_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_22570439_1 where directed_by = \"mark worthington\"" + }, + { + "question": "What amount of the university students and adults ehre the the senior high school is 26mm?", + "context": "create table table_13555999_1 (university_students_and_adults__18yrs varchar, _ varchar, senior_high_school__15_18_yrs_ varchar, PRIMARY KEY (university_students_and_adults__18yrs))", + "answer": "select university_students_and_adults__18yrs + _ from table_13555999_1 where senior_high_school__15_18_yrs_ = \"26mm\"" + }, + { + "question": "what are the endings of examples achilles, appendices, f\u00e6ces", + "context": "create table table_17798093_20 (ending varchar, examples varchar, PRIMARY KEY (ending))", + "answer": "select ending from table_17798093_20 where examples = \"achilles, appendices, f\u00e6ces\"" + }, + { + "question": "Which city did kpnz-tv provide coverage for?", + "context": "create table table_2523809_1 (coverage varchar, callsign varchar, PRIMARY KEY (coverage))", + "answer": "select coverage from table_2523809_1 where callsign = \"kpnz-tv\"" + }, + { + "question": "Who are all successors when reason for change is died May 12, 1964?", + "context": "create table table_2159506_4 (successor varchar, reason_for_change varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2159506_4 where reason_for_change = \"died may 12, 1964\"" + }, + { + "question": "How many original air dates did the episode directed by Bethany rooney have?", + "context": "create table table_28859177_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_28859177_3 where directed_by = \"bethany rooney\"" + }, + { + "question": "Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.", + "context": "create table documents (id varchar, PRIMARY KEY (id)); create table ref_shipping_agents (id varchar, PRIMARY KEY (id))", + "answer": "select ref_shipping_agents.shipping_agent_name, count(documents.document_id) from ref_shipping_agents join documents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code group by ref_shipping_agents.shipping_agent_code order by count(documents.document_id) desc limit 1" + }, + { + "question": "Which country is akiko suzuki from?", + "context": "create table table_24990183_5 (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select country from table_24990183_5 where name = \"akiko suzuki\"" + }, + { + "question": "What is the type if the organization name is Gamma RHO Lambda 1?", + "context": "create table table_2538117_7 (type varchar, organization varchar, PRIMARY KEY (type))", + "answer": "select type from table_2538117_7 where organization = \"gamma rho lambda 1\"" + }, + { + "question": "Who was the winner if the final venue is Kowloon Cricket Club?", + "context": "create table table_22577693_1 (winner varchar, final_venue varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22577693_1 where final_venue = \"kowloon cricket club\"" + }, + { + "question": "How many states is Grant Wharington from?", + "context": "create table table_25595209_1 (state_country varchar, skipper varchar, PRIMARY KEY (state_country))", + "answer": "select count(state_country) from table_25595209_1 where skipper = \"grant wharington\"" + }, + { + "question": "When did the season located in the Netherlands premier?", + "context": "create table table_1949994_7 (premiere_air_dates varchar, country varchar, PRIMARY KEY (premiere_air_dates))", + "answer": "select premiere_air_dates from table_1949994_7 where country = \"the netherlands\"" + }, + { + "question": "What are the profits in billions for Berkshire Hathaway?", + "context": "create table table_1682026_6 (profits__billion_$_ varchar, company varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_1682026_6 where company = \"berkshire hathaway\"" + }, + { + "question": "What was the max mach when the maximum speed was 3887?", + "context": "create table table_221315_3 (max_mach varchar, max_speed__mph_ varchar, PRIMARY KEY (max_mach))", + "answer": "select max_mach from table_221315_3 where max_speed__mph_ = 3887" + }, + { + "question": "Name the rank on channel for pilot", + "context": "create table table_24222929_4 (rank_on_channel varchar, title varchar, PRIMARY KEY (rank_on_channel))", + "answer": "select rank_on_channel from table_24222929_4 where title = \"pilot\"" + }, + { + "question": "How many distinct governors are there?", + "context": "create table party (governor varchar, PRIMARY KEY (governor))", + "answer": "select count(distinct governor) from party" + }, + { + "question": "What is the strong words compounded when the strongs transliteration is yowyariyb?", + "context": "create table table_1242447_1 (strongs_words_compounded varchar, strongs_transliteration varchar, PRIMARY KEY (strongs_words_compounded))", + "answer": "select strongs_words_compounded from table_1242447_1 where strongs_transliteration = \"yowyariyb\"" + }, + { + "question": "Which is the charity that the background of the celebrity is heavyweight champion?", + "context": "create table table_12286195_1 (charity varchar, background varchar, PRIMARY KEY (charity))", + "answer": "select charity from table_12286195_1 where background = \"heavyweight champion\"" + }, + { + "question": "What is the location of the daytona international speedway?", + "context": "create table table_1245148_1 (location varchar, track_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_1245148_1 where track_name = \"daytona international speedway\"" + }, + { + "question": "What's the C_{high} when the C_{low} value is 250.5?", + "context": "create table table_1942366_9 (high varchar, low varchar, PRIMARY KEY (high))", + "answer": "select struct(high) from table_1942366_9 where struct(low) = \"250.5\"" + }, + { + "question": "What is the exercise when the equipment is heart rate monitor, water and towel?", + "context": "create table table_27512025_1 (exercise varchar, equipment varchar, PRIMARY KEY (exercise))", + "answer": "select exercise from table_27512025_1 where equipment = \"heart rate monitor, water and towel\"" + }, + { + "question": "List the industry shared by the most companies.", + "context": "create table companies (industry varchar, PRIMARY KEY (industry))", + "answer": "select industry from companies group by industry order by count(*) desc limit 1" + }, + { + "question": "Name the class 3 for silverstone rmit university", + "context": "create table table_1936678_1 (class_3 varchar, location varchar, class_1 varchar, PRIMARY KEY (class_3))", + "answer": "select class_3 from table_1936678_1 where location = \"silverstone\" and class_1 = \"rmit university\"" + }, + { + "question": "How many entrepreneurs are there?", + "context": "create table entrepreneur (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from entrepreneur" + }, + { + "question": "Who is the operator to destination Dalston Junction?", + "context": "create table table_1612760_1 (operator varchar, destination varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_1612760_1 where destination = \"dalston junction\"" + }, + { + "question": "If the arrival date is January 2059, what is the total amount of signal power?", + "context": "create table table_1820752_1 (signal_power___kw__ varchar, arrival_date varchar, PRIMARY KEY (signal_power___kw__))", + "answer": "select count(signal_power___kw__) from table_1820752_1 where arrival_date = \"january 2059\"" + }, + { + "question": "Who directed the episode which originally aired February 4, 2005?", + "context": "create table table_228973_11 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_228973_11 where original_air_date = \"february 4, 2005\"" + }, + { + "question": "If the distance is 55.7, what is the name of the constellation?", + "context": "create table table_1820752_1 (constellation varchar, distance___ly__ varchar, PRIMARY KEY (constellation))", + "answer": "select constellation from table_1820752_1 where distance___ly__ = \"55.7\"" + }, + { + "question": "What is shown for august 21-22 when november 3 is november 3, 1994?", + "context": "create table table_25252080_3 (august_21_22 varchar, november_3 varchar, PRIMARY KEY (august_21_22))", + "answer": "select august_21_22 from table_25252080_3 where november_3 = \"november_3, 1994\"" + }, + { + "question": "Find the codes of countries that have more than 50 players.", + "context": "create table players (country_code varchar, PRIMARY KEY (country_code))", + "answer": "select country_code from players group by country_code having count(*) > 50" + }, + { + "question": "How many students does KAWA GORDON teaches?", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = \"kawa\" and t2.lastname = \"gordon\"" + }, + { + "question": "When the poll source is research 2000/daily kos, what is the total number of dates administered?", + "context": "create table table_16751596_13 (dates_administered varchar, poll_source varchar, PRIMARY KEY (dates_administered))", + "answer": "select count(dates_administered) from table_16751596_13 where poll_source = \"research 2000/daily kos\"" + }, + { + "question": "What are airlines that have flights arriving at airport 'AHD'?", + "context": "create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, destairport varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.destairport = \"ahd\"" + }, + { + "question": "What is the rear sight type on the model with the acr muzzle brake device?", + "context": "create table table_19901_1 (rear_sight_type varchar, muzzle_device varchar, PRIMARY KEY (rear_sight_type))", + "answer": "select rear_sight_type from table_19901_1 where muzzle_device = \"acr muzzle brake\"" + }, + { + "question": "When 13 is the share (18-49) what is the rank (timeslot)?", + "context": "create table table_28980706_4 (rank__timeslot_ varchar, share__18_49_ varchar, PRIMARY KEY (rank__timeslot_))", + "answer": "select rank__timeslot_ from table_28980706_4 where share__18_49_ = 13" + }, + { + "question": "Show the most common country across members.", + "context": "create table member (country varchar, PRIMARY KEY (country))", + "answer": "select country from member group by country order by count(*) desc limit 1" + }, + { + "question": "What is the status code, mobile phone number and email address of customer with last name as Kohler or first name as Marina?", + "context": "create table customers (customer_status_code varchar, cell_mobile_phone_number varchar, email_address varchar, first_name varchar, last_name varchar, PRIMARY KEY (customer_status_code))", + "answer": "select customer_status_code, cell_mobile_phone_number, email_address from customers where first_name = \"marina\" or last_name = \"kohler\"" + }, + { + "question": "What is the name of the nurse has the most appointments?", + "context": "create table nurse (name varchar, employeeid varchar, PRIMARY KEY (name)); create table appointment (prepnurse varchar, PRIMARY KEY (prepnurse))", + "answer": "select t1.name from nurse as t1 join appointment as t2 on t1.employeeid = t2.prepnurse group by t1.employeeid order by count(*) desc limit 1" + }, + { + "question": "Which office has 1 New Hampshire as a third place state?", + "context": "create table table_20246201_9 (office varchar, states___third_place varchar, PRIMARY KEY (office))", + "answer": "select office from table_20246201_9 where states___third_place = \"1 new hampshire\"" + }, + { + "question": "How many school colors is there for the main campus location of highland?", + "context": "create table table_12434380_1 (school_colors varchar, main_campus_location varchar, PRIMARY KEY (school_colors))", + "answer": "select count(school_colors) from table_12434380_1 where main_campus_location = \"highland\"" + }, + { + "question": "What is the highest value for SF round for the country of England?", + "context": "create table table_23293785_2 (sf_round integer, country varchar, PRIMARY KEY (sf_round))", + "answer": "select max(sf_round) from table_23293785_2 where country = \"england\"" + }, + { + "question": "How many different nationalities do the players of New Jersey Devils come from?", + "context": "create table table_1013129_3 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select count(nationality) from table_1013129_3 where nhl_team = \"new jersey devils\"" + }, + { + "question": "How many millions of viewers were there for the episode with a run time of 18:00?", + "context": "create table table_1601935_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_1601935_1 where run_time = \"18:00\"" + }, + { + "question": "What country'c capital is santiago?", + "context": "create table table_14098_1 (country_or_territory_with_flag varchar, capital varchar, PRIMARY KEY (country_or_territory_with_flag))", + "answer": "select country_or_territory_with_flag from table_14098_1 where capital = \"santiago\"" + }, + { + "question": "What are the assets for company who's headquarters are located in Brazil?", + "context": "create table table_1682026_2 (assets__billion_$_ varchar, headquarters varchar, PRIMARY KEY (assets__billion_$_))", + "answer": "select assets__billion_$_ from table_1682026_2 where headquarters = \"brazil\"" + }, + { + "question": "How many Huckleberry Hound episodes were aired on 1960.09.18?", + "context": "create table table_19860361_4 (huckleberry_hound varchar, air_date varchar, PRIMARY KEY (huckleberry_hound))", + "answer": "select count(huckleberry_hound) from table_19860361_4 where air_date = \"1960.09.18\"" + }, + { + "question": "What was the lowest judge rank for danny and frankie?", + "context": "create table table_26375386_16 (judges integer, couple varchar, PRIMARY KEY (judges))", + "answer": "select min(judges) from table_26375386_16 where couple = \"danny and frankie\"" + }, + { + "question": "in the milwaukee team who made the high points", + "context": "create table table_30049462_3 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_30049462_3 where team = \"milwaukee\"" + }, + { + "question": "What is the Late Middle English equivalent of the Anglian \u00e6g, \u01e3g?", + "context": "create table table_28177800_5 (late_middle_english varchar, late_old_english__anglian_ varchar, PRIMARY KEY (late_middle_english))", + "answer": "select late_middle_english from table_28177800_5 where late_old_english__anglian_ = \"\u00e6g, \u01e3g\"" + }, + { + "question": "Find the cell mobile number of the candidates whose assessment code is \"Fail\"?", + "context": "create table candidates (candidate_id varchar, PRIMARY KEY (candidate_id)); create table people (cell_mobile_number varchar, person_id varchar, PRIMARY KEY (cell_mobile_number)); create table candidate_assessments (candidate_id varchar, asessment_outcome_code varchar, PRIMARY KEY (candidate_id))", + "answer": "select t3.cell_mobile_number from candidates as t1 join candidate_assessments as t2 on t1.candidate_id = t2.candidate_id join people as t3 on t1.candidate_id = t3.person_id where t2.asessment_outcome_code = \"fail\"" + }, + { + "question": "Show the apartment type codes and the corresponding number of apartments sorted by the number of apartments in ascending order.", + "context": "create table apartments (apt_type_code varchar, PRIMARY KEY (apt_type_code))", + "answer": "select apt_type_code, count(*) from apartments group by apt_type_code order by count(*)" + }, + { + "question": "Name the most ending with", + "context": "create table table_1852650_1 (ending_with integer, PRIMARY KEY (ending_with))", + "answer": "select max(ending_with) from table_1852650_1" + }, + { + "question": "Please show each industry and the corresponding number of companies in that industry.", + "context": "create table companies (industry varchar, PRIMARY KEY (industry))", + "answer": "select industry, count(*) from companies group by industry" + }, + { + "question": "Which courses are taught on days MTW?", + "context": "create table course (cname varchar, days varchar, PRIMARY KEY (cname))", + "answer": "select cname from course where days = \"mtw\"" + }, + { + "question": "who are the participants that wear clothing in 33-23-36", + "context": "create table table_27515452_3 (contestant varchar, sizes varchar, PRIMARY KEY (contestant))", + "answer": "select contestant from table_27515452_3 where sizes = \"33-23-36\"" + }, + { + "question": "What is the number of colour with the regisration number of mg-509?", + "context": "create table table_11066073_1 (colour varchar, registration_no varchar, PRIMARY KEY (colour))", + "answer": "select count(colour) from table_11066073_1 where registration_no = \"mg-509\"" + }, + { + "question": "What is the id of the student who most recently registered course 301?", + "context": "create table student_course_attendance (student_id varchar, course_id varchar, date_of_attendance varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from student_course_attendance where course_id = 301 order by date_of_attendance desc limit 1" + }, + { + "question": "What is the name of the team when the stadium is listed as Edward Jones Dome?", + "context": "create table table_28884858_1 (team varchar, stadium varchar, PRIMARY KEY (team))", + "answer": "select team from table_28884858_1 where stadium = \"edward jones dome\"" + }, + { + "question": "what's the\u00a0turing complete\u00a0with\u00a0name\u00a0being atanasoff\u2013berry computer (us)", + "context": "create table table_13636_1 (turing_complete varchar, name varchar, PRIMARY KEY (turing_complete))", + "answer": "select turing_complete from table_13636_1 where name = \"atanasoff\u2013berry computer (us)\"" + }, + { + "question": "What are the countries having at least one car maker? List name and id.", + "context": "create table car_makers (country varchar, PRIMARY KEY (country)); create table countries (countryname varchar, countryid varchar, PRIMARY KEY (countryname))", + "answer": "select t1.countryname, t1.countryid from countries as t1 join car_makers as t2 on t1.countryid = t2.country group by t1.countryid having count(*) >= 1" + }, + { + "question": "How many settlements does each claim correspond to? List the claim id and the number of settlements.", + "context": "create table settlements (claim_id varchar, PRIMARY KEY (claim_id)); create table claims (claim_id varchar, claim_id varchar, PRIMARY KEY (claim_id))", + "answer": "select t1.claim_id, count(*) from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id" + }, + { + "question": "Show the ids of high schoolers who have friends and are also liked by someone else.", + "context": "create table likes (student_id varchar, liked_id varchar, PRIMARY KEY (student_id)); create table friend (student_id varchar, liked_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id from friend intersect select liked_id from likes" + }, + { + "question": "Who were the candidates when gregory w. meeks was the incumbent", + "context": "create table table_1341395_33 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341395_33 where incumbent = \"gregory w. meeks\"" + }, + { + "question": "Please show the industries of companies in descending order of the number of companies.", + "context": "create table companies (industry varchar, PRIMARY KEY (industry))", + "answer": "select industry from companies group by industry order by count(*) desc" + }, + { + "question": "The record of 9-4 was against which opponent?", + "context": "create table table_10361453_2 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_10361453_2 where record = \"9-4\"" + }, + { + "question": "What is the Spanish word for the French word filtrer?", + "context": "create table table_15040_8 (spanish varchar, french varchar, PRIMARY KEY (spanish))", + "answer": "select spanish from table_15040_8 where french = \"filtrer\"" + }, + { + "question": "Show all artist names and the number of exhibitions for each artist.", + "context": "create table artist (name varchar, artist_id varchar, PRIMARY KEY (name)); create table exhibition (artist_id varchar, PRIMARY KEY (artist_id))", + "answer": "select t2.name, count(*) from exhibition as t1 join artist as t2 on t1.artist_id = t2.artist_id group by t1.artist_id" + }, + { + "question": "How many teams eliminated b\u00e9ziers from competition?", + "context": "create table table_28068063_3 (match_points varchar, eliminated_from_competition varchar, PRIMARY KEY (match_points))", + "answer": "select count(match_points) from table_28068063_3 where eliminated_from_competition = \"b\u00e9ziers\"" + }, + { + "question": "What is the instition where the main campus location is overland park?", + "context": "create table table_12434380_1 (institution varchar, main_campus_location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_12434380_1 where main_campus_location = \"overland park\"" + }, + { + "question": "What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?", + "context": "create table medicine (id varchar, name varchar, PRIMARY KEY (id)); create table medicine_enzyme_interaction (enzyme_id varchar, medicine_id varchar, interaction_type varchar, PRIMARY KEY (enzyme_id)); create table enzyme (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from enzyme as t1 join medicine_enzyme_interaction as t2 on t1.id = t2.enzyme_id join medicine as t3 on t2.medicine_id = t3.id where t3.name = 'amisulpride' and t2.interaction_type = 'inhibitor'" + }, + { + "question": "What were the active dates for the storm that had 185km/h (115mph) deaths?", + "context": "create table table_10602294_1 (dates_active varchar, deaths varchar, PRIMARY KEY (dates_active))", + "answer": "select dates_active from table_10602294_1 where deaths = \"185km/h (115mph)\"" + }, + { + "question": "Name the country for 188.77 market value", + "context": "create table table_1682026_9 (country varchar, market_value__billion_$_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_1682026_9 where market_value__billion_$_ = \"188.77\"" + }, + { + "question": "Name the high rebounds for memphis", + "context": "create table table_17060277_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17060277_7 where team = \"memphis\"" + }, + { + "question": "What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5", + "context": "create table table_15416002_1 (v_mph_ integer, chi varchar, PRIMARY KEY (v_mph_))", + "answer": "select max(v_mph_) from table_15416002_1 where chi = \"13.5\"" + }, + { + "question": "What is the song by the musician panjabi mc?", + "context": "create table table_25760427_2 (single varchar, artist varchar, PRIMARY KEY (single))", + "answer": "select single from table_25760427_2 where artist = \"panjabi mc\"" + }, + { + "question": "Which colleges have the english abbreviation MTC?", + "context": "create table table_11390711_4 (english_name varchar, abbreviation varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_11390711_4 where abbreviation = \"mtc\"" + }, + { + "question": "What are the nationality of the players on the Fresno State school/club team?", + "context": "create table table_10015132_9 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_10015132_9 where school_club_team = \"fresno state\"" + }, + { + "question": "What college did the Rookie of the Year from the Columbus Crew attend?", + "context": "create table table_1004033_1 (college varchar, team varchar, PRIMARY KEY (college))", + "answer": "select college from table_1004033_1 where team = \"columbus crew\"" + }, + { + "question": "What is the train name that has a destination of Tuticorin?", + "context": "create table table_21716139_1 (train_name varchar, destination varchar, PRIMARY KEY (train_name))", + "answer": "select train_name from table_21716139_1 where destination = \"tuticorin\"" + }, + { + "question": "What were the January (\u00b0F) temperatures in the Corner Brook location?", + "context": "create table table_21980_1 (january__\u00b0f_ varchar, location varchar, PRIMARY KEY (january__\u00b0f_))", + "answer": "select january__\u00b0f_ from table_21980_1 where location = \"corner brook\"" + }, + { + "question": "What is the volume when the resrvoir is Tanes?", + "context": "create table table_28702208_1 (volume__hm\u00b3_ varchar, reservoir varchar, PRIMARY KEY (volume__hm\u00b3_))", + "answer": "select volume__hm\u00b3_ from table_28702208_1 where reservoir = \"tanes\"" + }, + { + "question": "Find the start and end dates of detentions of teachers with last name \"Schultz\".", + "context": "create table detention (datetime_detention_start varchar, teacher_id varchar, PRIMARY KEY (datetime_detention_start)); create table teachers (teacher_id varchar, last_name varchar, PRIMARY KEY (teacher_id))", + "answer": "select t1.datetime_detention_start, datetime_detention_end from detention as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id where t2.last_name = \"schultz\"" + }, + { + "question": "In what year was the total finals at 10?", + "context": "create table table_14286908_1 (year_of_last_win varchar, total_finals varchar, PRIMARY KEY (year_of_last_win))", + "answer": "select year_of_last_win from table_14286908_1 where total_finals = 10" + }, + { + "question": "What is every high score for a strike rate of 84.88?", + "context": "create table table_2985664_8 (high_score varchar, strike_rate varchar, PRIMARY KEY (high_score))", + "answer": "select high_score from table_2985664_8 where strike_rate = \"84.88\"" + }, + { + "question": "What was the date when Terry McAuliffe won 19%?", + "context": "create table table_21535453_1 (dates_administered varchar, terry_mcauliffe varchar, PRIMARY KEY (dates_administered))", + "answer": "select dates_administered from table_21535453_1 where terry_mcauliffe = \"19%\"" + }, + { + "question": "What are the type and nationality of ships?", + "context": "create table ship (type varchar, nationality varchar, PRIMARY KEY (type))", + "answer": "select type, nationality from ship" + }, + { + "question": "What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?.", + "context": "create table table_20325360_2 (id varchar, PRIMARY KEY (id))", + "answer": "select max(3 as rd_runner_up) from table_20325360_2" + }, + { + "question": "What is the Portuguese word for the English word 'welcome'?", + "context": "create table table_26614365_5 (portuguese varchar, english varchar, PRIMARY KEY (portuguese))", + "answer": "select portuguese from table_26614365_5 where english = \"welcome\"" + }, + { + "question": "List the names of all the customers in alphabetical order.", + "context": "create table customers (customer_details varchar, PRIMARY KEY (customer_details))", + "answer": "select customer_details from customers order by customer_details" + }, + { + "question": "Which fault log included the most number of faulty parts? List the fault log id, description and record time.", + "context": "create table fault_log (fault_log_entry_id varchar, fault_description varchar, fault_log_entry_datetime varchar, PRIMARY KEY (fault_log_entry_id)); create table fault_log_parts (fault_log_entry_id varchar, PRIMARY KEY (fault_log_entry_id))", + "answer": "select t1.fault_log_entry_id, t1.fault_description, t1.fault_log_entry_datetime from fault_log as t1 join fault_log_parts as t2 on t1.fault_log_entry_id = t2.fault_log_entry_id group by t1.fault_log_entry_id order by count(*) desc limit 1" + }, + { + "question": "What is the max gross weight of the Robinson R-22?", + "context": "create table table_10006830_1 (max_gross_weight varchar, aircraft varchar, PRIMARY KEY (max_gross_weight))", + "answer": "select max_gross_weight from table_10006830_1 where aircraft = \"robinson r-22\"" + }, + { + "question": "what is the value for minimum\u00a0total wins", + "context": "create table table_1458666_4 (total_wins integer, PRIMARY KEY (total_wins))", + "answer": "select min(total_wins) from table_1458666_4" + }, + { + "question": "How many parks are there in the state of NY?", + "context": "create table park (state varchar, PRIMARY KEY (state))", + "answer": "select count(*) from park where state = 'ny'" + }, + { + "question": "What is the id of the product that was ordered the most often?", + "context": "create table order_items (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select product_id from order_items group by product_id order by count(*) desc limit 1" + }, + { + "question": "What is the iclandic of the glossary for presenta for mi locaria", + "context": "create table table_13003460_1 (the_icelandic_of_the_glossary varchar, the_basque_of_the_glossary varchar, PRIMARY KEY (the_icelandic_of_the_glossary))", + "answer": "select the_icelandic_of_the_glossary from table_13003460_1 where the_basque_of_the_glossary = \"presenta for mi locaria\"" + }, + { + "question": "How many different writers have written the episode with series number 8?", + "context": "create table table_23958944_2 (written_by varchar, no_by_series varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_23958944_2 where no_by_series = 8" + }, + { + "question": "What date did the episode directed by Victor Cook and Written by Brat Jennett air in the U.S.?", + "context": "create table table_28511558_2 (original_air_date__us_ varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date__us_))", + "answer": "select original_air_date__us_ from table_28511558_2 where directed_by = \"victor cook\" and written_by = \"brat jennett\"" + }, + { + "question": "How many years did lin gaoyuan wu jiaji play mens doubles?", + "context": "create table table_28138035_20 (year_location varchar, mens_doubles varchar, PRIMARY KEY (year_location))", + "answer": "select count(year_location) from table_28138035_20 where mens_doubles = \"lin gaoyuan wu jiaji\"" + }, + { + "question": "How many airlines are from USA?", + "context": "create table airlines (country varchar, PRIMARY KEY (country))", + "answer": "select count(*) from airlines where country = \"usa\"" + }, + { + "question": "Find the first name and major of the students who are not allegry to soy.", + "context": "create table has_allergy (fname varchar, major varchar, stuid varchar, allergy varchar, PRIMARY KEY (fname)); create table student (fname varchar, major varchar, stuid varchar, allergy varchar, PRIMARY KEY (fname))", + "answer": "select fname, major from student where not stuid in (select stuid from has_allergy where allergy = \"soy\")" + }, + { + "question": "what is the date of appointment 11 june 2010?", + "context": "create table table_26914854_3 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select team from table_26914854_3 where date_of_appointment = \"11 june 2010\"" + }, + { + "question": "IN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?", + "context": "create table table_11667521_17 (stage__winner_ varchar, general_classification varchar, PRIMARY KEY (stage__winner_))", + "answer": "select stage__winner_ from table_11667521_17 where general_classification = \"alexander vinokourov\"" + }, + { + "question": "Who moved from Northampton Town?", + "context": "create table table_22810095_8 (name varchar, moving_from varchar, PRIMARY KEY (name))", + "answer": "select name from table_22810095_8 where moving_from = \"northampton town\"" + }, + { + "question": "Name the number of developed by for solid edge", + "context": "create table table_19495707_1 (developed_by varchar, application varchar, PRIMARY KEY (developed_by))", + "answer": "select count(developed_by) from table_19495707_1 where application = \"solid edge\"" + }, + { + "question": "Name the date of appointment for ascoli", + "context": "create table table_17275810_7 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_17275810_7 where team = \"ascoli\"" + }, + { + "question": "When 2011 is the period and olympikus is the kit manufacturer how many minor sponsors are there?", + "context": "create table table_187239_1 (minor_sponsors varchar, kit_manufacturer varchar, period varchar, PRIMARY KEY (minor_sponsors))", + "answer": "select count(minor_sponsors) from table_187239_1 where kit_manufacturer = \"olympikus\" and period = \"2011\"" + }, + { + "question": "What are the different parties of representative? Show the party name and the number of representatives in each party.", + "context": "create table representative (party varchar, PRIMARY KEY (party))", + "answer": "select party, count(*) from representative group by party" + }, + { + "question": "for the robot black nickname, what framed size is used", + "context": "create table table_15070195_1 (framed_size varchar, nickname varchar, PRIMARY KEY (framed_size))", + "answer": "select framed_size from table_15070195_1 where nickname = \"robot black\"" + }, + { + "question": "Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?", + "context": "create table table_29162856_1 (pole_position varchar, winning_rider varchar, fastest_lap varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_29162856_1 where winning_rider = \"rob guiver\" and fastest_lap = \"kyle ryde\"" + }, + { + "question": "Name the driver for race 2 7", + "context": "create table table_15530244_5 (driver varchar, race_2 varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_15530244_5 where race_2 = \"7\"" + }, + { + "question": "What teams drive cars manufactured by Toyota?", + "context": "create table table_1963459_2 (team varchar, manufacturer varchar, PRIMARY KEY (team))", + "answer": "select team from table_1963459_2 where manufacturer = \"toyota\"" + }, + { + "question": "How many different instructors have taught some course?", + "context": "create table teaches (id varchar, PRIMARY KEY (id))", + "answer": "select count(distinct id) from teaches" + }, + { + "question": "What is the area in km2 for the district whose original name was Kecamatan Bogor Timur?", + "context": "create table table_1104312_5 (area_in_km\u00b2 varchar, original_name varchar, PRIMARY KEY (area_in_km\u00b2))", + "answer": "select area_in_km\u00b2 from table_1104312_5 where original_name = \"kecamatan bogor timur\"" + }, + { + "question": "What source gave 26% of the votes to Brian Moran?", + "context": "create table table_21535453_1 (source varchar, brian_moran varchar, PRIMARY KEY (source))", + "answer": "select source from table_21535453_1 where brian_moran = \"26%\"" + }, + { + "question": "How many different standards have a PM of 0.02 g/kWh?", + "context": "create table table_2780146_6 (standard varchar, pm__g_kwh_ varchar, PRIMARY KEY (standard))", + "answer": "select count(standard) from table_2780146_6 where pm__g_kwh_ = \"0.02\"" + }, + { + "question": "Name the film title for andr\u00e9 t\u00e9chin\u00e9 category:articles with hcards", + "context": "create table table_18987377_1 (film_title_used_in_nomination varchar, director varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_18987377_1 where director = \"andr\u00e9 t\u00e9chin\u00e9 category:articles with hcards\"" + }, + { + "question": "What is the country (exonym) where the official or native language(s) (alphabet/script) is Icelandic?", + "context": "create table table_1008653_9 (country___exonym__ varchar, official_or_native_language_s___alphabet_script_ varchar, PRIMARY KEY (country___exonym__))", + "answer": "select country___exonym__ from table_1008653_9 where official_or_native_language_s___alphabet_script_ = \"icelandic\"" + }, + { + "question": "What is the seat of the county that has a density of 14.1?", + "context": "create table table_214920_1 (seat_of_rcm varchar, density__pop_per_km2_ varchar, PRIMARY KEY (seat_of_rcm))", + "answer": "select seat_of_rcm from table_214920_1 where density__pop_per_km2_ = \"14.1\"" + }, + { + "question": "What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?", + "context": "create table table_19526911_1 (arena__capacity_ varchar, head_coach varchar, PRIMARY KEY (arena__capacity_))", + "answer": "select arena__capacity_ from table_19526911_1 where head_coach = \"roberto serniotti\"" + }, + { + "question": "Show the names of pilots from team \"Bradley\" or \"Fordham\".", + "context": "create table pilot (pilot_name varchar, team varchar, PRIMARY KEY (pilot_name))", + "answer": "select pilot_name from pilot where team = \"bradley\" or team = \"fordham\"" + }, + { + "question": "What is the lowest value in the miss international column?", + "context": "create table table_29942205_1 (miss_international integer, PRIMARY KEY (miss_international))", + "answer": "select min(miss_international) from table_29942205_1" + }, + { + "question": "How many bill cosponsored during those years where bills originally cosponsored is 113?", + "context": "create table table_18852984_2 (all_bills_cosponsored varchar, bills_originally_cosponsored varchar, PRIMARY KEY (all_bills_cosponsored))", + "answer": "select all_bills_cosponsored from table_18852984_2 where bills_originally_cosponsored = 113" + }, + { + "question": "how many times is the jewel malachite?", + "context": "create table table_26615633_1 (birthday varchar, jewel varchar, PRIMARY KEY (birthday))", + "answer": "select count(birthday) from table_26615633_1 where jewel = \"malachite\"" + }, + { + "question": "What is the total number of postseason games that team Boston Red Stockings participated in?", + "context": "create table postseason (team_id_winner varchar, team_id_loser varchar, PRIMARY KEY (team_id_winner)); create table team (team_id_br varchar, name varchar, PRIMARY KEY (team_id_br))", + "answer": "select count(*) from (select * from postseason as t1 join team as t2 on t1.team_id_winner = t2.team_id_br where t2.name = 'boston red stockings' union select * from postseason as t1 join team as t2 on t1.team_id_loser = t2.team_id_br where t2.name = 'boston red stockings')" + }, + { + "question": "Find the number of papers published by the institution \"University of Pennsylvania\".", + "context": "create table inst (instid varchar, name varchar, PRIMARY KEY (instid)); create table authorship (paperid varchar, instid varchar, PRIMARY KEY (paperid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title))", + "answer": "select count(distinct t1.title) from papers as t1 join authorship as t2 on t1.paperid = t2.paperid join inst as t3 on t2.instid = t3.instid where t3.name = \"university of pennsylvania\"" + }, + { + "question": "What are the first and last name for those employees who works either in department 70 or 90?", + "context": "create table employees (first_name varchar, last_name varchar, department_id varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from employees where department_id = 70 or department_id = 90" + }, + { + "question": "Name the location of statesmen", + "context": "create table table_1974482_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_1974482_1 where nickname = \"statesmen\"" + }, + { + "question": "How many members arrived on the main island in week 4?", + "context": "create table table_11764007_2 (member varchar, week_arrived_on_main_island varchar, PRIMARY KEY (member))", + "answer": "select count(member) from table_11764007_2 where week_arrived_on_main_island = \"4\"" + }, + { + "question": "How many clubs are there in the Korea Republic?", + "context": "create table table_19412902_2 (clubs varchar, member_association varchar, PRIMARY KEY (clubs))", + "answer": "select clubs from table_19412902_2 where member_association = \"korea republic\"" + }, + { + "question": "When yen galagnara is the name what is the highest total days in the pbb house?", + "context": "create table table_19061741_1 (total_days_in_pbb_house integer, name varchar, PRIMARY KEY (total_days_in_pbb_house))", + "answer": "select max(total_days_in_pbb_house) from table_19061741_1 where name = \"yen galagnara\"" + }, + { + "question": "What is the nickname of Linfield College?", + "context": "create table table_261941_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_261941_1 where institution = \"linfield college\"" + }, + { + "question": "If the call sign is DXYR, what is the branding?", + "context": "create table table_19874169_3 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_19874169_3 where callsign = \"dxyr\"" + }, + { + "question": "what are the details of the cmi masters that have the cross reference code 'Tax'?", + "context": "create table cmi_cross_references (master_customer_id varchar, source_system_code varchar, PRIMARY KEY (master_customer_id)); create table customer_master_index (cmi_details varchar, master_customer_id varchar, PRIMARY KEY (cmi_details))", + "answer": "select t1.cmi_details from customer_master_index as t1 join cmi_cross_references as t2 on t1.master_customer_id = t2.master_customer_id where t2.source_system_code = 'tax'" + }, + { + "question": "What is run time when there were 7.4 million viewers?", + "context": "create table table_1723080_1 (run_time varchar, viewers__in_millions_ varchar, PRIMARY KEY (run_time))", + "answer": "select run_time from table_1723080_1 where viewers__in_millions_ = \"7.4\"" + }, + { + "question": "When was the date of appointment by Hugo Broos?", + "context": "create table table_27374004_4 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27374004_4 where replaced_by = \"hugo broos\"" + }, + { + "question": "What is the current streak against TCU?", + "context": "create table table_15740666_4 (current_streak varchar, kansas_state_vs varchar, PRIMARY KEY (current_streak))", + "answer": "select current_streak from table_15740666_4 where kansas_state_vs = \"tcu\"" + }, + { + "question": "How many entries are there for u.s. viewers (millions) for the episode directed by rob bailey?", + "context": "create table table_26914076_3 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select count(us_viewers__millions_) from table_26914076_3 where directed_by = \"rob bailey\"" + }, + { + "question": "Who replaced on the date of appointment 2 november 2010?", + "context": "create table table_24231638_3 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_24231638_3 where date_of_appointment = \"2 november 2010\"" + }, + { + "question": "what is the total number of\u00a0kickoff [a ]\u00a0where\u00a0week\u00a0is week", + "context": "create table table_11406866_2 (a_ varchar, kickoff_ varchar, PRIMARY KEY (a_))", + "answer": "select count(kickoff_)[a_] from table_11406866_2 where \"week\" = \"week\"" + }, + { + "question": "What is \"the date in location from\" and \"the date in location to\" for the document with name \"Robin CV\"?", + "context": "create table all_documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table document_locations (date_in_location_from varchar, date_in_locaton_to varchar, document_id varchar, PRIMARY KEY (date_in_location_from))", + "answer": "select t1.date_in_location_from, t1.date_in_locaton_to from document_locations as t1 join all_documents as t2 on t1.document_id = t2.document_id where t2.document_name = \"robin cv\"" + }, + { + "question": "When 12743 is the spelthorne what is the largest gore hundred?", + "context": "create table table_16677738_1 (gore_hundred integer, spelthorne_hundred varchar, PRIMARY KEY (gore_hundred))", + "answer": "select max(gore_hundred) from table_16677738_1 where spelthorne_hundred = 12743" + }, + { + "question": "Name the total number of class aaa for 2006-07", + "context": "create table table_14630796_1 (class_aaa varchar, school_year varchar, PRIMARY KEY (class_aaa))", + "answer": "select count(class_aaa) from table_14630796_1 where school_year = \"2006-07\"" + }, + { + "question": "How many thermal design power levels does part number amql65dam22gg have?", + "context": "create table table_27277284_27 (tdp varchar, order_part_number varchar, PRIMARY KEY (tdp))", + "answer": "select count(tdp) from table_27277284_27 where order_part_number = \"amql65dam22gg\"" + }, + { + "question": "Name the copa libertadores 1992 for round of 16 and team of fluminense", + "context": "create table table_15013825_8 (copa_libertadores_1992 varchar, copa_conmebol_1992 varchar, team varchar, PRIMARY KEY (copa_libertadores_1992))", + "answer": "select copa_libertadores_1992 from table_15013825_8 where copa_conmebol_1992 = \"round of 16\" and team = \"fluminense\"" + }, + { + "question": "Which locations did Gordon Johncock hold the pole position?", + "context": "create table table_22673872_1 (location varchar, pole_position varchar, PRIMARY KEY (location))", + "answer": "select location from table_22673872_1 where pole_position = \"gordon johncock\"" + }, + { + "question": "Who was the participant or recipient for the Best Female Actor?", + "context": "create table table_26282750_1 (participants_recipients varchar, category varchar, PRIMARY KEY (participants_recipients))", + "answer": "select participants_recipients from table_26282750_1 where category = \"best female actor\"" + }, + { + "question": "Wat is the tax source system code and master customer id of the taxes related to each parking fine id?", + "context": "create table cmi_cross_references (source_system_code varchar, master_customer_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (source_system_code)); create table parking_fines (council_tax_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (council_tax_id))", + "answer": "select t1.source_system_code, t1.master_customer_id, t2.council_tax_id from cmi_cross_references as t1 join parking_fines as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id" + }, + { + "question": "What was pinky's bmi at the reunion?", + "context": "create table table_28654454_5 (reunion_bmi varchar, contestant varchar, PRIMARY KEY (reunion_bmi))", + "answer": "select reunion_bmi from table_28654454_5 where contestant = \"pinky\"" + }, + { + "question": "Name the months in the malayalam era for \u0d15\u0d41\u0d02\u0d2d\u0d02", + "context": "create table table_169955_1 (months_in_malayalam_era varchar, in_malayalam varchar, PRIMARY KEY (months_in_malayalam_era))", + "answer": "select months_in_malayalam_era from table_169955_1 where in_malayalam = \"\u0d15\u0d41\u0d02\u0d2d\u0d02\"" + }, + { + "question": "How long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn?", + "context": "create table lessons (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (staff_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select sum(lesson_time) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\"" + }, + { + "question": "What is the lowest number of carriers?", + "context": "create table table_2394927_1 (number_of_carriers integer, PRIMARY KEY (number_of_carriers))", + "answer": "select min(number_of_carriers) from table_2394927_1" + }, + { + "question": "What is the name of the tourist attraction that is associated with the photo \"game1\"?", + "context": "create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name)); create table photos (tourist_attraction_id varchar, name varchar, PRIMARY KEY (tourist_attraction_id))", + "answer": "select t2.name from photos as t1 join tourist_attractions as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id where t1.name = \"game1\"" + }, + { + "question": "Name the number of writers for airdate of 15 july 1967", + "context": "create table table_20345624_2 (writer varchar, original_airdate varchar, PRIMARY KEY (writer))", + "answer": "select count(writer) from table_20345624_2 where original_airdate = \"15 july 1967\"" + }, + { + "question": "Who was the home team in the game broadcast on the Big East Network?", + "context": "create table table_26842217_12 (home_team varchar, broadcast varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26842217_12 where broadcast = \"big east network\"" + }, + { + "question": "Show the short names of the buildings managed by \"Emma\".", + "context": "create table apartment_buildings (building_short_name varchar, building_manager varchar, PRIMARY KEY (building_short_name))", + "answer": "select building_short_name from apartment_buildings where building_manager = \"emma\"" + }, + { + "question": "what's the\u00a0torque\u00a0with\u00a0trim\u00a0being xe (2009)", + "context": "create table table_1373768_1 (torque varchar, trim varchar, PRIMARY KEY (torque))", + "answer": "select torque from table_1373768_1 where trim = \"xe (2009)\"" + }, + { + "question": "List all the subject names.", + "context": "create table subjects (subject_name varchar, PRIMARY KEY (subject_name))", + "answer": "select subject_name from subjects" + }, + { + "question": "When was Stellbrookmoor established?", + "context": "create table table_26013618_1 (date_established varchar, name_of_the_nature_reserve varchar, PRIMARY KEY (date_established))", + "answer": "select date_established from table_26013618_1 where name_of_the_nature_reserve = \"stellbrookmoor\"" + }, + { + "question": "How many communities had a total renewable generation of 1375?", + "context": "create table table_13566548_1 (autonomous_community varchar, total_renewable_generation varchar, PRIMARY KEY (autonomous_community))", + "answer": "select count(autonomous_community) from table_13566548_1 where total_renewable_generation = 1375" + }, + { + "question": "Who is the artist for strip numbers 3932-4031a?", + "context": "create table table_2161859_1 (artist varchar, strip_numbers varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_2161859_1 where strip_numbers = \"3932-4031a\"" + }, + { + "question": "Show the transaction types and the total amount of transactions.", + "context": "create table financial_transactions (transaction_type varchar, transaction_amount integer, PRIMARY KEY (transaction_type))", + "answer": "select transaction_type, sum(transaction_amount) from financial_transactions group by transaction_type" + }, + { + "question": "What is the original air date of the episode directed by Jeff Melman?", + "context": "create table table_13477468_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13477468_3 where directed_by = \"jeff melman\"" + }, + { + "question": "When \u0433\u043d(\u0438\u0458)\u0435\u0437\u0434\u043e / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there?", + "context": "create table table_26757_4 (proto_slavic varchar, serbo_croatian varchar, PRIMARY KEY (proto_slavic))", + "answer": "select count(proto_slavic) from table_26757_4 where serbo_croatian = \"\u0433\u043d(\u0438\u0458)\u0435\u0437\u0434\u043e / gn(ij)ezdo\"" + }, + { + "question": "Find the id and last name of the teacher that has the most detentions with detention type code \"AFTER\"?", + "context": "create table detention (teacher_id varchar, detention_type_code varchar, PRIMARY KEY (teacher_id)); create table teachers (last_name varchar, teacher_id varchar, PRIMARY KEY (last_name))", + "answer": "select t1.teacher_id, t2.last_name from detention as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id where t1.detention_type_code = \"after\" group by t1.teacher_id order by count(*) desc limit 1" + }, + { + "question": "What was the record of the Wildcats after playing Florida?", + "context": "create table table_21062353_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_21062353_1 where opponent = \"florida\"" + }, + { + "question": "List the name for storms and the number of affected regions for each storm.", + "context": "create table affected_region (storm_id varchar, PRIMARY KEY (storm_id)); create table storm (name varchar, storm_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from storm as t1 join affected_region as t2 on t1.storm_id = t2.storm_id group by t1.storm_id" + }, + { + "question": "Who is the original artist for the theme \"Year they were born?\"", + "context": "create table table_15796100_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_15796100_1 where theme = \"year they were born\"" + }, + { + "question": "How many Mixed Doubles won when Oliver Pongratz won the Men's Singles?", + "context": "create table table_12164707_1 (mixed_doubles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select count(mixed_doubles) from table_12164707_1 where mens_singles = \"oliver pongratz\"" + }, + { + "question": "Who were the candidates when Barney Frank was the incumbent?", + "context": "create table table_1341395_22 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341395_22 where incumbent = \"barney frank\"" + }, + { + "question": "How many live births per year are there in the period where the life expectancy for females is 73.3?", + "context": "create table table_18950570_2 (live_births_per_year varchar, life_expectancy_females varchar, PRIMARY KEY (live_births_per_year))", + "answer": "select live_births_per_year from table_18950570_2 where life_expectancy_females = \"73.3\"" + }, + { + "question": "What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk?", + "context": "create table table_20042805_2 (hadeda_ibis varchar, ostrich varchar, PRIMARY KEY (hadeda_ibis))", + "answer": "select hadeda_ibis from table_20042805_2 where ostrich = \"dark chanting goshawk\"" + }, + { + "question": "What is the RCM that has a density of 9.7?", + "context": "create table table_214920_1 (regional_county_municipality__rcm_ varchar, density__pop_per_km2_ varchar, PRIMARY KEY (regional_county_municipality__rcm_))", + "answer": "select regional_county_municipality__rcm_ from table_214920_1 where density__pop_per_km2_ = \"9.7\"" + }, + { + "question": "What is the l2 cache for the model with a release price of $669?", + "context": "create table table_16400024_1 (l2_cache varchar, release_price___usd__ varchar, PRIMARY KEY (l2_cache))", + "answer": "select l2_cache from table_16400024_1 where release_price___usd__ = \"$669\"" + }, + { + "question": "What is the route/via when the destination is listed as Madurai?", + "context": "create table table_29202276_2 (route_via varchar, destination varchar, PRIMARY KEY (route_via))", + "answer": "select route_via from table_29202276_2 where destination = \"madurai\"" + }, + { + "question": "List all the dates of enrollment and completion of students.", + "context": "create table student_course_enrolment (date_of_enrolment varchar, date_of_completion varchar, PRIMARY KEY (date_of_enrolment))", + "answer": "select date_of_enrolment, date_of_completion from student_course_enrolment" + }, + { + "question": "Show names of technicians and the number of machines they are assigned to repair.", + "context": "create table repair_assignment (technician_id varchar, PRIMARY KEY (technician_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, count(*) from repair_assignment as t1 join technician as t2 on t1.technician_id = t2.technician_id group by t2.name" + }, + { + "question": "What is the lowest child sex ratio in groups where employment is 31.3%?", + "context": "create table table_10710364_2 (sex_ratio__child_ integer, work_participation___percentage_ varchar, PRIMARY KEY (sex_ratio__child_))", + "answer": "select min(sex_ratio__child_) from table_10710364_2 where work_participation___percentage_ = \"31.3%\"" + }, + { + "question": "Name the minimum inhabitants for markatal 49", + "context": "create table table_16278673_1 (inhabitants_per_km\u00b2 integer, markatal varchar, PRIMARY KEY (inhabitants_per_km\u00b2))", + "answer": "select min(inhabitants_per_km\u00b2) from table_16278673_1 where markatal = 49" + }, + { + "question": "What party did Hale Boggs belong to?", + "context": "create table table_1341884_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341884_20 where incumbent = \"hale boggs\"" + }, + { + "question": "How many men from the Ukraine?", + "context": "create table table_24302700_2 (event_4_carwalk varchar, nationality varchar, PRIMARY KEY (event_4_carwalk))", + "answer": "select count(event_4_carwalk) from table_24302700_2 where nationality = \"ukraine\"" + }, + { + "question": "List the id of students who attended statistics courses in the order of attendance date.", + "context": "create table student_course_attendance (student_id varchar, course_id varchar, date_of_attendance varchar, PRIMARY KEY (student_id)); create table courses (course_id varchar, course_name varchar, PRIMARY KEY (course_id))", + "answer": "select t2.student_id from courses as t1 join student_course_attendance as t2 on t1.course_id = t2.course_id where t1.course_name = \"statistics\" order by t2.date_of_attendance" + }, + { + "question": "When \u0440\u0443\u043a\u0430 / ruka is the serbo-croatian what is the macedonian?", + "context": "create table table_26757_4 (macedonian varchar, serbo_croatian varchar, PRIMARY KEY (macedonian))", + "answer": "select macedonian from table_26757_4 where serbo_croatian = \"\u0440\u0443\u043a\u0430 / ruka\"" + }, + { + "question": "Who directed the episode written by patrick meighan?", + "context": "create table table_22269839_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_22269839_1 where written_by = \"patrick meighan\"" + }, + { + "question": "What country was Danissa Zurek from?", + "context": "create table table_25461827_2 (country varchar, contestant varchar, PRIMARY KEY (country))", + "answer": "select country from table_25461827_2 where contestant = \"danissa zurek\"" + }, + { + "question": "What is the enrollment ration in primary in the region where the enrollment ratio in preschool is 50.23?", + "context": "create table table_25042332_22 (primary__6_13_years_ varchar, preschool__0_5_years_ varchar, PRIMARY KEY (primary__6_13_years_))", + "answer": "select primary__6_13_years_ from table_25042332_22 where preschool__0_5_years_ = \"50.23\"" + }, + { + "question": "How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?", + "context": "create table table_256286_45 (no_votes varchar, description varchar, PRIMARY KEY (no_votes))", + "answer": "select count(no_votes) from table_256286_45 where description = \"forest rehabilitation debt limit amendment\"" + }, + { + "question": "What are the different ids and names of the battles that lost any 'Brig' type shipes?", + "context": "create table ship (lost_in_battle varchar, ship_type varchar, PRIMARY KEY (lost_in_battle)); create table battle (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select distinct t1.id, t1.name from battle as t1 join ship as t2 on t1.id = t2.lost_in_battle where t2.ship_type = 'brig'" + }, + { + "question": "Show the transaction type code that occurs the fewest times.", + "context": "create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code))", + "answer": "select transaction_type_code from transactions group by transaction_type_code order by count(*) limit 1" + }, + { + "question": "Where is the school whose students are nicknamed falcons located?", + "context": "create table table_1974545_2 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_1974545_2 where nickname = \"falcons\"" + }, + { + "question": "how many times was hancock % considered when starky % was 20.96%", + "context": "create table table_19681738_1 (hancock__percentage varchar, starky__percentage varchar, PRIMARY KEY (hancock__percentage))", + "answer": "select count(hancock__percentage) from table_19681738_1 where starky__percentage = \"20.96%\"" + }, + { + "question": "What team owns the car owned by chip ganassi?", + "context": "create table table_2503102_2 (team varchar, listed_owner_s_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_2503102_2 where listed_owner_s_ = \"chip ganassi\"" + }, + { + "question": "Who were the original artist(s) for track number 6?", + "context": "create table table_28715942_2 (original_artist varchar, track_no varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_28715942_2 where track_no = 6" + }, + { + "question": "What is the land area of the RCM having a density of 21.1?", + "context": "create table table_214920_1 (land_area varchar, density__pop_per_km2_ varchar, PRIMARY KEY (land_area))", + "answer": "select land_area from table_214920_1 where density__pop_per_km2_ = \"21.1\"" + }, + { + "question": "How many documents are with document type code BK for each product id?", + "context": "create table documents (project_id varchar, document_type_code varchar, PRIMARY KEY (project_id))", + "answer": "select count(*), project_id from documents where document_type_code = \"bk\" group by project_id" + }, + { + "question": "If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?", + "context": "create table table_2263152_1 (version varchar, features varchar, distribution_mechanism varchar, PRIMARY KEY (version))", + "answer": "select version from table_2263152_1 where features = \"service release\" and distribution_mechanism = \"windows nt 4.0 option pack microsoft office 97\"" + }, + { + "question": "What was the result in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift?", + "context": "create table table_24302700_2 (event_1_medley varchar, event_3_squat_lift varchar, PRIMARY KEY (event_1_medley))", + "answer": "select event_1_medley from table_24302700_2 where event_3_squat_lift = \"4 (6 in 31.85s)\"" + }, + { + "question": "How many points did player 7 score in the challenge cup?", + "context": "create table table_22683369_8 (challenge_cup varchar, p varchar, PRIMARY KEY (challenge_cup))", + "answer": "select count(challenge_cup) from table_22683369_8 where p = 7" + }, + { + "question": "Where did the Centurions play the Hamburg Sea Devils?", + "context": "create table table_27764201_2 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_27764201_2 where opponent = \"hamburg sea devils\"" + }, + { + "question": "What countries are visited in the episode presented by Brian B. Thompson?", + "context": "create table table_15211468_1 (countries_visited varchar, presenter varchar, PRIMARY KEY (countries_visited))", + "answer": "select countries_visited from table_15211468_1 where presenter = \"brian b. thompson\"" + }, + { + "question": "Thomas J. Lane is the incumbent of how many parties?", + "context": "create table table_1342013_20 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342013_20 where incumbent = \"thomas j. lane\"" + }, + { + "question": "Who won the fastest lap if Anders Krohn won the pole position?", + "context": "create table table_25459168_2 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_25459168_2 where pole_position = \"anders krohn\"" + }, + { + "question": "What is the total number of modern grannies performed?", + "context": "create table table_28180840_15 (act varchar, name_name_of_act varchar, PRIMARY KEY (act))", + "answer": "select count(act) from table_28180840_15 where name_name_of_act = \"modern grannies\"" + }, + { + "question": "What are the names and types of the companies that have ever operated a flight?", + "context": "create table operate_company (name varchar, type varchar, id varchar, PRIMARY KEY (name)); create table flight (id varchar, PRIMARY KEY (id))", + "answer": "select t1.name, t1.type from operate_company as t1 join flight as t2 on t1.id = t2.company_id" + }, + { + "question": "Name the most official number for tf1 # being 42", + "context": "create table table_16425614_4 (official__number integer, tf1__number varchar, PRIMARY KEY (official__number))", + "answer": "select max(official__number) from table_16425614_4 where tf1__number = 42" + }, + { + "question": "What is the venue for the team Terek?", + "context": "create table table_20140132_1 (venue varchar, team varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_20140132_1 where team = \"terek\"" + }, + { + "question": "What is the date of debut that has a date of birth listed at 24-10-1887?", + "context": "create table table_11585313_1 (date_of_debut varchar, date_of_birth varchar, PRIMARY KEY (date_of_debut))", + "answer": "select date_of_debut from table_11585313_1 where date_of_birth = \"24-10-1887\"" + }, + { + "question": "How many cover dates does the story \"Devastation Derby! (part 1)\" have?", + "context": "create table table_18305523_2 (cover_date varchar, story_title varchar, PRIMARY KEY (cover_date))", + "answer": "select count(cover_date) from table_18305523_2 where story_title = \"devastation derby! (part 1)\"" + }, + { + "question": "What is the title of the episode directed by Peter Markle and written by Jerry Stahl?", + "context": "create table table_10715317_2 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_10715317_2 where directed_by = \"peter markle\" and written_by = \"jerry stahl\"" + }, + { + "question": "Who had the fastest lap(s) when stefan wilson had the pole?", + "context": "create table table_29690363_3 (fastest_lap varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_29690363_3 where pole_position = \"stefan wilson\"" + }, + { + "question": "When dxrt-tv is the callsign what is the power kw?", + "context": "create table table_23394920_1 (power_kw varchar, callsign varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_23394920_1 where callsign = \"dxrt-tv\"" + }, + { + "question": "What is the number of members that have boroughs of Bandon Bridge?", + "context": "create table table_24329520_8 (members varchar, borough varchar, PRIMARY KEY (members))", + "answer": "select count(members) from table_24329520_8 where borough = \"bandon bridge\"" + }, + { + "question": "Who was performer 4 when Kate Robbins was performer 3?", + "context": "create table table_14934885_1 (performer_4 varchar, performer_3 varchar, PRIMARY KEY (performer_4))", + "answer": "select performer_4 from table_14934885_1 where performer_3 = \"kate robbins\"" + }, + { + "question": "Who won the Womens Singles in the year the Jean-Michel Saive won the Mens Singles?", + "context": "create table table_28138035_35 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_28138035_35 where mens_singles = \"jean-michel saive\"" + }, + { + "question": "Who is the guest 3 in the show where guest 4 is Jill Douglas?", + "context": "create table table_20466963_4 (guest_3 varchar, guest_4 varchar, PRIMARY KEY (guest_3))", + "answer": "select guest_3 from table_20466963_4 where guest_4 = \"jill douglas\"" + }, + { + "question": "What are all the conjugated forms of the verb where the el/ ella/usted verb is piense?", + "context": "create table table_1977630_2 (nosotros___nosotras varchar, \u00e9l___ella___usted varchar, PRIMARY KEY (nosotros___nosotras))", + "answer": "select nosotros___nosotras from table_1977630_2 where \u00e9l___ella___usted = \"piense\"" + }, + { + "question": "What was the destination of the season won by Anwar Syed?", + "context": "create table table_20026849_1 (destination varchar, winner varchar, PRIMARY KEY (destination))", + "answer": "select destination from table_20026849_1 where winner = \"anwar syed\"" + }, + { + "question": "What channel had the prize of \u20ac100,000?", + "context": "create table table_14523485_9 (channel varchar, top_prize varchar, PRIMARY KEY (channel))", + "answer": "select channel from table_14523485_9 where top_prize = \"\u20ac100,000\"" + }, + { + "question": "How much is the track Fast As a Shark?", + "context": "create table tracks (unit_price varchar, name varchar, PRIMARY KEY (unit_price))", + "answer": "select unit_price from tracks where name = \"fast as a shark\"" + }, + { + "question": "Name the chassis for ludwig fischer", + "context": "create table table_28578594_1 (chassis varchar, driver varchar, PRIMARY KEY (chassis))", + "answer": "select chassis from table_28578594_1 where driver = \"ludwig fischer\"" + }, + { + "question": "What title was written by Matt Wayne?", + "context": "create table table_16581695_3 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_16581695_3 where written_by = \"matt wayne\"" + }, + { + "question": "What is title of album which track Balls to the Wall belongs to?", + "context": "create table tracks (genre_id varchar, name varchar, PRIMARY KEY (genre_id)); create table albums (title varchar, id varchar, PRIMARY KEY (title))", + "answer": "select t1.title from albums as t1 join tracks as t2 on t1.id = t2.genre_id where t2.name = \"balls to the wall\"" + }, + { + "question": "When was the episode directed by Carey Meyer aired for the first time?", + "context": "create table table_13273629_2 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13273629_2 where directed_by = \"carey meyer\"" + }, + { + "question": "Show the role code with the least employees.", + "context": "create table employees (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from employees group by role_code order by count(*) limit 1" + }, + { + "question": "If the country of Origin is South Africa, who is the primary user?", + "context": "create table table_26389588_1 (primary_user varchar, country_of_origin varchar, PRIMARY KEY (primary_user))", + "answer": "select primary_user from table_26389588_1 where country_of_origin = \"south africa\"" + }, + { + "question": "How many values of HDTV correspond to television service of la sorgente sat 1?", + "context": "create table table_15887683_16 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select count(hdtv) from table_15887683_16 where television_service = \"la sorgente sat 1\"" + }, + { + "question": "what is the km from wellington where the metlink code is mast?", + "context": "create table table_3005450_1 (km_from_wellington varchar, metlink_code varchar, PRIMARY KEY (km_from_wellington))", + "answer": "select km_from_wellington from table_3005450_1 where metlink_code = \"mast\"" + }, + { + "question": "How many figures are there for density for Yucheng County?", + "context": "create table table_2135222_2 (density varchar, english_name varchar, PRIMARY KEY (density))", + "answer": "select count(density) from table_2135222_2 where english_name = \"yucheng county\"" + }, + { + "question": "Which providers use exchange server?", + "context": "create table table_14465871_2 (provider varchar, application varchar, PRIMARY KEY (provider))", + "answer": "select provider from table_14465871_2 where application = \"exchange server\"" + }, + { + "question": "When 1. fc k\u00f6ln is the team what is the date of appointment?", + "context": "create table table_24162080_3 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_24162080_3 where team = \"1. fc k\u00f6ln\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0incumbent\u00a0being william e. evans", + "context": "create table table_1342359_5 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342359_5 where incumbent = \"william e. evans\"" + }, + { + "question": "What are the grades served at Manchester Junior-Senior High School?", + "context": "create table table_1984697_85 (grades varchar, school varchar, PRIMARY KEY (grades))", + "answer": "select grades from table_1984697_85 where school = \"manchester junior-senior high school\"" + }, + { + "question": "What is theoriginal air date of the episode directed by timothy van patten?", + "context": "create table table_11951237_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11951237_3 where directed_by = \"timothy van patten\"" + }, + { + "question": "What are the distinct names and nationalities of the architects who have ever built a mill?", + "context": "create table mill (id varchar, PRIMARY KEY (id)); create table architect (name varchar, nationality varchar, id varchar, PRIMARY KEY (name))", + "answer": "select distinct t1.name, t1.nationality from architect as t1 join mill as t2 on t1.id = t2.architect_id" + }, + { + "question": "Show the names of members and the location of the performances they attended.", + "context": "create table performance (location varchar, performance_id varchar, PRIMARY KEY (location)); create table member (name varchar, member_id varchar, PRIMARY KEY (name)); create table member_attendance (member_id varchar, performance_id varchar, PRIMARY KEY (member_id))", + "answer": "select t2.name, t3.location from member_attendance as t1 join member as t2 on t1.member_id = t2.member_id join performance as t3 on t1.performance_id = t3.performance_id" + }, + { + "question": "What was the dominant religion in 2002 in lokve?", + "context": "create table table_2562572_44 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_44 where settlement = \"lokve\"" + }, + { + "question": "When the scoring rank was 117, what was the best finish?", + "context": "create table table_10021158_3 (best_finish varchar, scoring_rank varchar, PRIMARY KEY (best_finish))", + "answer": "select best_finish from table_10021158_3 where scoring_rank = \"117\"" + }, + { + "question": "Where was mlb draft for the player who's school was Carl Albert High School?", + "context": "create table table_11677100_18 (mlb_draft varchar, school varchar, PRIMARY KEY (mlb_draft))", + "answer": "select mlb_draft from table_11677100_18 where school = \"carl albert high school\"" + }, + { + "question": "Eduardo Martins is a customer at which company?", + "context": "create table customers (company varchar, first_name varchar, last_name varchar, PRIMARY KEY (company))", + "answer": "select company from customers where first_name = \"eduardo\" and last_name = \"martins\"" + }, + { + "question": "what television service are in the united kingdom and n\u00b0 is greater than 854.0?", + "context": "create table table_15887683_15 (television_service varchar, country varchar, n\u00b0 varchar, PRIMARY KEY (television_service))", + "answer": "select television_service from table_15887683_15 where country = \"united kingdom\" and n\u00b0 > 854.0" + }, + { + "question": "Name the most 3 car sets", + "context": "create table table_19255192_2 (id varchar, PRIMARY KEY (id))", + "answer": "select max(3 as _car_sets) from table_19255192_2" + }, + { + "question": "While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast?", + "context": "create table table_24353141_1 (original_1st_us_tour_cast varchar, original_tokyo___seoul_tour_cast varchar, PRIMARY KEY (original_1st_us_tour_cast))", + "answer": "select original_1st_us_tour_cast from table_24353141_1 where original_tokyo___seoul_tour_cast = \"thomas hettrick\"" + }, + { + "question": "When tom snow 250cc honda is the rider what is Monday August 23rd?", + "context": "create table table_26986076_5 (mon_23_aug varchar, rider varchar, PRIMARY KEY (mon_23_aug))", + "answer": "select mon_23_aug from table_26986076_5 where rider = \"tom snow 250cc honda\"" + }, + { + "question": "How many distinct payment methods are used by parties?", + "context": "create table parties (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select count(distinct payment_method_code) from parties" + }, + { + "question": "Name the singer for 1.45m", + "context": "create table table_29135051_2 (singer_s_ varchar, ratings varchar, PRIMARY KEY (singer_s_))", + "answer": "select singer_s_ from table_29135051_2 where ratings = \"1.45m\"" + }, + { + "question": "When esv ingolstadt is the oberbayern b what is the niederbayern?", + "context": "create table table_23224961_1 (niederbayern varchar, oberbayern_b varchar, PRIMARY KEY (niederbayern))", + "answer": "select niederbayern from table_23224961_1 where oberbayern_b = \"esv ingolstadt\"" + }, + { + "question": "When karl ridderbusch is the la roche who is the olivier?", + "context": "create table table_29728787_1 (olivier varchar, la_roche varchar, PRIMARY KEY (olivier))", + "answer": "select olivier from table_29728787_1 where la_roche = \"karl ridderbusch\"" + }, + { + "question": "Find the name of the person who has no student friends.", + "context": "create table person (name varchar, job varchar, PRIMARY KEY (name)); create table personfriend (name varchar, friend varchar, PRIMARY KEY (name)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select name from person except select t2.name from person as t1 join personfriend as t2 on t1.name = t2.friend where t1.job = 'student'" + }, + { + "question": "Who is every high points for the Pistons team?", + "context": "create table table_23248910_9 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23248910_9 where team = \"pistons\"" + }, + { + "question": "The original artist The Temptations has what week #?", + "context": "create table table_26250253_1 (week__number varchar, original_artist varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_26250253_1 where original_artist = \"the temptations\"" + }, + { + "question": "Name the name for organization date being unknown", + "context": "create table table_25794010_1 (name varchar, organization_date varchar, PRIMARY KEY (name))", + "answer": "select name from table_25794010_1 where organization_date = \"unknown\"" + }, + { + "question": "What affiliation is Erie, Pennsylvania?", + "context": "create table table_16381914_1 (affiliation varchar, location varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_16381914_1 where location = \"erie, pennsylvania\"" + }, + { + "question": "What is the 2012 population of Indonesia?", + "context": "create table table_28741_1 (population_2012_ varchar, country varchar, PRIMARY KEY (population_2012_))", + "answer": "select population_2012_ from table_28741_1 where country = \"indonesia\"" + }, + { + "question": "which team(s) won $2,605,05", + "context": "create table table_2012187_1 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2012187_1 where winnings = \"$2,605,05\"" + }, + { + "question": "What was the loan club when Derry played?", + "context": "create table table_12608427_8 (loan_club varchar, name varchar, PRIMARY KEY (loan_club))", + "answer": "select loan_club from table_12608427_8 where name = \"derry\"" + }, + { + "question": "What is the phone and email for customer with first name Aniyah and last name Feest?", + "context": "create table customers (customer_phone varchar, customer_email varchar, customer_first_name varchar, customer_last_name varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone, customer_email from customers where customer_first_name = \"aniyah\" and customer_last_name = \"feest\"" + }, + { + "question": "which driver got best time of day 1:16.93", + "context": "create table table_20090682_4 (driver varchar, best_time_of_day varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_20090682_4 where best_time_of_day = \"1:16.93\"" + }, + { + "question": "Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside?", + "context": "create table table_26758262_1 (judges_residence varchar, municipalities_served varchar, PRIMARY KEY (judges_residence))", + "answer": "select judges_residence from table_26758262_1 where municipalities_served = \"beacon falls , naugatuck , middlebury , prospect\"" + }, + { + "question": "What is Liscumb when Haydon is 1632?", + "context": "create table table_11447995_2 (liscumb varchar, haydon varchar, PRIMARY KEY (liscumb))", + "answer": "select liscumb from table_11447995_2 where haydon = \"1632\"" + }, + { + "question": "What is the land area for the RCM that has a population of 18847?", + "context": "create table table_214920_1 (land_area varchar, population_canada_2011_census varchar, PRIMARY KEY (land_area))", + "answer": "select land_area from table_214920_1 where population_canada_2011_census = 18847" + }, + { + "question": "Name the minimum derby county goals", + "context": "create table table_15201666_3 (derby_county integer, PRIMARY KEY (derby_county))", + "answer": "select min(derby_county) as goals from table_15201666_3" + }, + { + "question": "THe audio book with ISBN 978-1-4084-6879-1 is read by whom?", + "context": "create table table_2950964_5 (read_by varchar, isbn varchar, PRIMARY KEY (read_by))", + "answer": "select read_by from table_2950964_5 where isbn = \"isbn 978-1-4084-6879-1\"" + }, + { + "question": "When was the 'first season of current spell in top division' if the first season in top division is in 1964-65?", + "context": "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))", + "answer": "select first_season_of_current_spell_in_top_division from table_18143210_2 where first_season_in_top_division = \"1964-65\"" + }, + { + "question": "What is the project id and detail for the project with at least two documents?", + "context": "create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id)); create table documents (project_id varchar, PRIMARY KEY (project_id))", + "answer": "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" + }, + { + "question": "in the ft pct .667 what is the number of gp-gs", + "context": "create table table_23817012_6 (gp_gs varchar, ft_pct varchar, PRIMARY KEY (gp_gs))", + "answer": "select count(gp_gs) from table_23817012_6 where ft_pct = \".667\"" + }, + { + "question": "Name the country for troops per one million being 54.9", + "context": "create table table_30108346_1 (country varchar, troops_per_one_million_population varchar, PRIMARY KEY (country))", + "answer": "select country from table_30108346_1 where troops_per_one_million_population = \"54.9\"" + }, + { + "question": "How many car models are produced by each maker ? Only list the count and the maker full name .", + "context": "create table model_list (maker varchar, PRIMARY KEY (maker)); create table car_makers (fullname varchar, id varchar, PRIMARY KEY (fullname))", + "answer": "select count(*), t2.fullname from model_list as t1 join car_makers as t2 on t1.maker = t2.id group by t2.id" + }, + { + "question": "How many tickets are sold for the Carver-Hawkeye Arena?", + "context": "create table table_18277458_2 (ticket_sold___available varchar, venue varchar, PRIMARY KEY (ticket_sold___available))", + "answer": "select ticket_sold___available from table_18277458_2 where venue = \"carver-hawkeye arena\"" + }, + { + "question": "What is every high point when the team is Washington?", + "context": "create table table_17325580_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17325580_6 where team = \"washington\"" + }, + { + "question": "How many claim processing stages are there in total?", + "context": "create table claims_processing_stages (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from claims_processing_stages" + }, + { + "question": "What is the id of the most recent order?", + "context": "create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id))", + "answer": "select order_id from orders order by date_order_placed desc limit 1" + }, + { + "question": "List the name of physicians who took some appointment.", + "context": "create table appointment (physician varchar, PRIMARY KEY (physician)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t2.name from appointment as t1 join physician as t2 on t1.physician = t2.employeeid" + }, + { + "question": "List all the document names which contains \"CV\".", + "context": "create table documents (document_name varchar, PRIMARY KEY (document_name))", + "answer": "select document_name from documents where document_name like \"%cv%\"" + }, + { + "question": "When buffalo narrows is the name how many measurements of population density per kilometer squared are there?", + "context": "create table table_189598_7 (population_density__per_km\u00b2_ varchar, name varchar, PRIMARY KEY (population_density__per_km\u00b2_))", + "answer": "select count(population_density__per_km\u00b2_) from table_189598_7 where name = \"buffalo narrows\"" + }, + { + "question": "What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium?", + "context": "create table table_2383498_4 (qld_cup_premierships varchar, home_ground varchar, PRIMARY KEY (qld_cup_premierships))", + "answer": "select qld_cup_premierships from table_2383498_4 where home_ground = \"dairy farmers stadium\"" + }, + { + "question": "Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee.", + "context": "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))", + "answer": "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" + }, + { + "question": "Who came in 3rd place in Kr\u0161ko , Slovenia Matije Gubca Stadium", + "context": "create table table_19317584_2 (city_and_venue varchar, PRIMARY KEY (city_and_venue))", + "answer": "select 3 as rd_placed from table_19317584_2 where city_and_venue = \"kr\u0161ko , slovenia matije gubca stadium\"" + }, + { + "question": "What is the license that is described as a tool for designing and executing workflows?", + "context": "create table table_25474825_1 (license varchar, description varchar, PRIMARY KEY (license))", + "answer": "select license from table_25474825_1 where description = \"tool for designing and executing workflows\"" + }, + { + "question": "Name the 3 where weightlifter is m. van der goten ( bel )", + "context": "create table table_16779068_5 (weightlifter varchar, PRIMARY KEY (weightlifter))", + "answer": "select 3 from table_16779068_5 where weightlifter = \"m. van der goten ( bel )\"" + }, + { + "question": "What are the names of the channels owned by CCTV or HBS?", + "context": "create table channel (name varchar, owner varchar, PRIMARY KEY (name))", + "answer": "select name from channel where owner = 'cctv' or owner = 'hbs'" + }, + { + "question": "What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?", + "context": "create table table_16724844_1 (mens_open varchar, womens_40 varchar, PRIMARY KEY (mens_open))", + "answer": "select mens_open from table_16724844_1 where womens_40 = \"sydney scorpions defeated hunter hornets\"" + }, + { + "question": "What is the result at the Masters for the player who finished R16 at the PGA Ch.?", + "context": "create table table_1506950_9 (masters varchar, pga_ch varchar, PRIMARY KEY (masters))", + "answer": "select masters from table_1506950_9 where pga_ch = \"r16\"" + }, + { + "question": "What was the original airdate of the episode \"The Cold Turkey\", which was viewed by 3.73 million viewers?", + "context": "create table table_17467578_1 (original_airdate varchar, us_viewers__million_ varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_17467578_1 where us_viewers__million_ = \"3.73\"" + }, + { + "question": "what is the date (from) where date (to) is 1919?", + "context": "create table table_12562214_1 (date__from_ varchar, date__to_ varchar, PRIMARY KEY (date__from_))", + "answer": "select date__from_ from table_12562214_1 where date__to_ = \"1919\"" + }, + { + "question": "Name the total number of reason for change for not filled this congress", + "context": "create table table_225200_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_225200_4 where date_successor_seated = \"not filled this congress\"" + }, + { + "question": "When town is the type what is the settlement?", + "context": "create table table_2562572_25 (settlement varchar, type varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_25 where type = \"town\"" + }, + { + "question": "What is the id, name and nationality of the architect who built most mills?", + "context": "create table architect (id varchar, name varchar, nationality varchar, PRIMARY KEY (id)); create table mill (architect_id varchar, PRIMARY KEY (architect_id))", + "answer": "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" + }, + { + "question": "How many status are there for Moncton?", + "context": "create table table_176529_2 (status varchar, official_name varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_176529_2 where official_name = \"moncton\"" + }, + { + "question": "How many project staff worked as leaders or started working before '1989-04-24 23:51:54'?", + "context": "create table project_staff (role_code varchar, date_from varchar, PRIMARY KEY (role_code))", + "answer": "select count(*) from project_staff where role_code = 'leader' or date_from < '1989-04-24 23:51:54'" + }, + { + "question": "what's the\u00a0state\u00a0with\u00a0highest point\u00a0being mount katahdin", + "context": "create table table_1416612_1 (state varchar, highest_point varchar, PRIMARY KEY (state))", + "answer": "select state from table_1416612_1 where highest_point = \"mount katahdin\"" + }, + { + "question": "How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?", + "context": "create table table_23840623_4 (clean_electric_grid_california__san_francisco_ varchar, vehicle varchar, PRIMARY KEY (clean_electric_grid_california__san_francisco_))", + "answer": "select count(clean_electric_grid_california__san_francisco_) from table_23840623_4 where vehicle = \"nissan leaf\"" + }, + { + "question": "When middle prut valley is the land formation what is the highest of which currently forests, km\u00b2 ?", + "context": "create table table_19242_5 (_km\u00b2 varchar, of_which_currently_forests integer, land_formation varchar, PRIMARY KEY (_km\u00b2))", + "answer": "select max(of_which_currently_forests), _km\u00b2 from table_19242_5 where land_formation = \"middle prut valley\"" + }, + { + "question": "Show all document ids, names and the number of paragraphs in each document.", + "context": "create table documents (document_name varchar, document_id varchar, PRIMARY KEY (document_name)); create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "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" + }, + { + "question": "What are the names and trade names of the medicines which has 'Yes' value in the FDA record?", + "context": "create table medicine (name varchar, trade_name varchar, fda_approved varchar, PRIMARY KEY (name))", + "answer": "select name, trade_name from medicine where fda_approved = 'yes'" + }, + { + "question": "Which titles have been published by Gamehouse Live?", + "context": "create table table_28621502_1 (title varchar, publisher varchar, PRIMARY KEY (title))", + "answer": "select title from table_28621502_1 where publisher = \"gamehouse live\"" + }, + { + "question": "Who wrote the episode that aired December 1, 1956?", + "context": "create table table_25800134_1 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_25800134_1 where airdate = \"december 1, 1956\"" + }, + { + "question": "Who is every play-by-play announcer when Chris Rose is the trophy presenter?", + "context": "create table table_2941848_2 (play_by_play_announcer varchar, trophy_presentation varchar, PRIMARY KEY (play_by_play_announcer))", + "answer": "select play_by_play_announcer from table_2941848_2 where trophy_presentation = \"chris rose\"" + }, + { + "question": "When was successor David Atwood (R) seated?", + "context": "create table table_2417345_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2417345_4 where successor = \"david atwood (r)\"" + }, + { + "question": "How many peak positions were there on the daily charts?", + "context": "create table table_23180638_1 (peak_position varchar, oricon_albums_chart varchar, PRIMARY KEY (peak_position))", + "answer": "select peak_position from table_23180638_1 where oricon_albums_chart = \"daily charts\"" + }, + { + "question": "What is every value for Serbs if value for Hungarians is 9.26%?", + "context": "create table table_2374338_2 (serbs varchar, hungarians varchar, PRIMARY KEY (serbs))", + "answer": "select serbs from table_2374338_2 where hungarians = \"9.26%\"" + }, + { + "question": "List the email, cell phone and home phone of all the professionals.", + "context": "create table professionals (email_address varchar, cell_number varchar, home_phone varchar, PRIMARY KEY (email_address))", + "answer": "select email_address, cell_number, home_phone from professionals" + }, + { + "question": "how many open 2nd viii had u15 3rd iv being gt", + "context": "create table table_11318462_5 (open_2nd_viii varchar, u15_3rd_iv varchar, PRIMARY KEY (open_2nd_viii))", + "answer": "select count(open_2nd_viii) from table_11318462_5 where u15_3rd_iv = \"gt\"" + }, + { + "question": "Which authority has a rocket launch called rehnuma-8?", + "context": "create table table_11869952_1 (institutional_authority varchar, rocket_launch varchar, PRIMARY KEY (institutional_authority))", + "answer": "select institutional_authority from table_11869952_1 where rocket_launch = \"rehnuma-8\"" + }, + { + "question": "Who is the lites 2 race two winning team when #11 Performance Tech is the lites 1 race two winning team?", + "context": "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))", + "answer": "select lites_2_race_two_winning_team from table_26638600_3 where lites_1_race_two_winning_team = \"#11 performance tech\"" + }, + { + "question": "How many songs are there?", + "context": "create table songs (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from songs" + }, + { + "question": "Name the network for dr\u00e9 steemans ann van elsen", + "context": "create table table_16884579_1 (network varchar, host_s_ varchar, PRIMARY KEY (network))", + "answer": "select network from table_16884579_1 where host_s_ = \"dr\u00e9 steemans ann van elsen\"" + }, + { + "question": "Who took first place in week 6?", + "context": "create table table_2054561_2 (first_place varchar, no_of_weeks varchar, PRIMARY KEY (first_place))", + "answer": "select count(first_place) from table_2054561_2 where no_of_weeks = 6" + }, + { + "question": "What is who-two where you and i is ng\u0153ban?", + "context": "create table table_1015914_24 (who_two varchar, you_and_i varchar, PRIMARY KEY (who_two))", + "answer": "select who_two from table_1015914_24 where you_and_i = \"ng\u0153ban\"" + }, + { + "question": "What classifications does Fish Rap live! has?", + "context": "create table table_2266990_2 (classification varchar, title varchar, PRIMARY KEY (classification))", + "answer": "select classification from table_2266990_2 where title = \"fish rap live!\"" + }, + { + "question": "What is the rate limit when the desired rate (p) is 162?", + "context": "create table table_25316812_1 (rate_limit__p_ varchar, desired_rate__p_ varchar, PRIMARY KEY (rate_limit__p_))", + "answer": "select rate_limit__p_ from table_25316812_1 where desired_rate__p_ = \"162\"" + }, + { + "question": "Which player went to college in Oklahoma?", + "context": "create table table_10966926_2 (player_name varchar, college varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_10966926_2 where college = \"oklahoma\"" + }, + { + "question": "If the -250m is 18.852, what is the", + "context": "create table table_1912276_2 (__750m varchar, __250m varchar, PRIMARY KEY (__750m))", + "answer": "select __750m from table_1912276_2 where __250m = \"18.852\"" + }, + { + "question": "What is every value for approximate duration when event details is women's foil?", + "context": "create table table_28003469_1 (approx_duration varchar, event_details varchar, PRIMARY KEY (approx_duration))", + "answer": "select approx_duration from table_28003469_1 where event_details = \"women's foil\"" + }, + { + "question": "Name the coach for may 20, 2010", + "context": "create table table_2140071_10 (coach varchar, premier_date varchar, PRIMARY KEY (coach))", + "answer": "select coach from table_2140071_10 where premier_date = \"may 20, 2010\"" + }, + { + "question": "Who won the race at the Jersey circuit?", + "context": "create table table_1140119_5 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140119_5 where circuit = \"jersey\"" + }, + { + "question": "What is the FSB of the model with part number lf80537ge0251mn?", + "context": "create table table_11602313_4 (fsb varchar, part_number_s_ varchar, PRIMARY KEY (fsb))", + "answer": "select fsb from table_11602313_4 where part_number_s_ = \"lf80537ge0251mn\"" + }, + { + "question": "What is every team in the location of Port Moresby?", + "context": "create table table_2383498_4 (team varchar, location varchar, PRIMARY KEY (team))", + "answer": "select team from table_2383498_4 where location = \"port moresby\"" + }, + { + "question": "Name the high points for 21-45 record", + "context": "create table table_22871239_9 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_22871239_9 where record = \"21-45\"" + }, + { + "question": "What was the original air date for the episode with 13.92 million us viewers?", + "context": "create table table_26565936_2 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26565936_2 where us_viewers__millions_ = \"13.92\"" + }, + { + "question": "Name the trinidad for yellow-bellied puffing snake", + "context": "create table table_1850282_7 (trinidad varchar, common_name varchar, PRIMARY KEY (trinidad))", + "answer": "select trinidad from table_1850282_7 where common_name = \"yellow-bellied puffing snake\"" + }, + { + "question": "Show all card type codes and the number of cards in each type.", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select card_type_code, count(*) from customers_cards group by card_type_code" + }, + { + "question": "Who made the decision on the game where the record was 29-28-12?", + "context": "create table table_27537518_9 (decision varchar, record varchar, PRIMARY KEY (decision))", + "answer": "select decision from table_27537518_9 where record = \"29-28-12\"" + }, + { + "question": "If the opponent was the Philadelphia flyers, what was the record?", + "context": "create table table_27537870_6 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_27537870_6 where opponent = \"philadelphia flyers\"" + }, + { + "question": "Name the nickerie for marowijne being 4.7%", + "context": "create table table_16886076_1 (nickerie varchar, marowijne varchar, PRIMARY KEY (nickerie))", + "answer": "select count(nickerie) from table_16886076_1 where marowijne = \"4.7%\"" + }, + { + "question": "What is Esperance pipeline co total diameter?", + "context": "create table table_17918238_1 (maximum_diameter varchar, owner_operator varchar, PRIMARY KEY (maximum_diameter))", + "answer": "select maximum_diameter from table_17918238_1 where owner_operator = \"esperance pipeline co\"" + }, + { + "question": "Find the names of all artists that have \"a\" in their names.", + "context": "create table artist (name varchar, PRIMARY KEY (name))", + "answer": "select name from artist where name like \"%a%\"" + }, + { + "question": "How many cellos are suggested in the reference with section size for 20 players?", + "context": "create table table_2414_1 (celli varchar, section_size varchar, PRIMARY KEY (celli))", + "answer": "select celli from table_2414_1 where section_size = \"20 players\"" + }, + { + "question": "Which title did Neil Affleck direct?", + "context": "create table table_14724369_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_14724369_1 where directed_by = \"neil affleck\"" + }, + { + "question": "what race name had a uci rating of cn?", + "context": "create table table_27887723_1 (race_name varchar, uci_rating varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_27887723_1 where uci_rating = \"cn\"" + }, + { + "question": "What is the format for South Australia?", + "context": "create table table_1000181_1 (format varchar, state_territory varchar, PRIMARY KEY (format))", + "answer": "select format from table_1000181_1 where state_territory = \"south australia\"" + }, + { + "question": "What is the title when u.s. viewers (millions) is 3.97?", + "context": "create table table_18481791_3 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_18481791_3 where us_viewers__in_millions_ = \"3.97\"" + }, + { + "question": "state the institution in glenside, pennsylvania", + "context": "create table table_1974632_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1974632_1 where location = \"glenside, pennsylvania\"" + }, + { + "question": "How many players attended Hillcrest High School?", + "context": "create table table_11677691_1 (college varchar, school varchar, PRIMARY KEY (college))", + "answer": "select count(college) from table_11677691_1 where school = \"hillcrest high school\"" + }, + { + "question": "What bran is the callsign dytc-fm?", + "context": "create table table_2610582_7 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2610582_7 where callsign = \"dytc-fm\"" + }, + { + "question": "Which country does Airline \"JetBlue Airways\" belong to?", + "context": "create table airlines (country varchar, airline varchar, PRIMARY KEY (country))", + "answer": "select country from airlines where airline = \"jetblue airways\"" + }, + { + "question": "What period was the life expectancy at 62.4?", + "context": "create table table_27434_2 (period varchar, life_expectancy_total varchar, PRIMARY KEY (period))", + "answer": "select period from table_27434_2 where life_expectancy_total = \"62.4\"" + }, + { + "question": "Who wrote the episodes watched by 1.816 million people in Canada?", + "context": "create table table_18424435_3 (written_by varchar, canadian_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_18424435_3 where canadian_viewers__million_ = \"1.816\"" + }, + { + "question": "What is the engine type when the max torque at rpm is n\u00b7m ( lbf\u00b7ft ) @ 4,800 Answers:?", + "context": "create table table_1147705_1 (engine_type varchar, max_torque_at_rpm varchar, PRIMARY KEY (engine_type))", + "answer": "select engine_type from table_1147705_1 where max_torque_at_rpm = \"n\u00b7m ( lbf\u00b7ft ) @ 4,800\"" + }, + { + "question": "Which episode number aired on 18 october 2012?", + "context": "create table table_25721_3 (episode_no integer, airdate varchar, PRIMARY KEY (episode_no))", + "answer": "select min(episode_no) from table_25721_3 where airdate = \"18 october 2012\"" + }, + { + "question": "Who had the fastest lap when the winning driver is giorgio sanna?", + "context": "create table table_26920192_5 (fastest_lap varchar, winning_driver varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_26920192_5 where winning_driver = \"giorgio sanna\"" + }, + { + "question": "What is the mintage (bu) with the artist Royal Canadian Mint Staff and has an issue price (proof) of $54.95?", + "context": "create table table_11916083_1 (mintage__bu_ varchar, _clarification_needed_ varchar, artist varchar, issue_price__proof_ varchar, PRIMARY KEY (mintage__bu_))", + "answer": "select mintage__bu_[_clarification_needed_] from table_11916083_1 where artist = \"royal canadian mint staff\" and issue_price__proof_ = \"$54.95\"" + }, + { + "question": "Which team classification has malaysian team classification of mncf continental team?", + "context": "create table table_22464308_2 (team_classification varchar, malaysian_team_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_22464308_2 where malaysian_team_classification = \"mncf continental team\"" + }, + { + "question": "What is the link abilities when the predecessors is ti-85?", + "context": "create table table_11703336_1 (link_abilities varchar, predecessors varchar, PRIMARY KEY (link_abilities))", + "answer": "select link_abilities from table_11703336_1 where predecessors = \"ti-85\"" + }, + { + "question": "what is the party where the incumbent is edward boland?", + "context": "create table table_1341690_21 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341690_21 where incumbent = \"edward boland\"" + }, + { + "question": "Name the featuring for pat mills", + "context": "create table table_1620397_2 (featuring varchar, author varchar, PRIMARY KEY (featuring))", + "answer": "select featuring from table_1620397_2 where author = \"pat mills\"" + }, + { + "question": "what are the song names for the film kaal bhairav?", + "context": "create table table_11827596_2 (song_name varchar, film_name varchar, PRIMARY KEY (song_name))", + "answer": "select song_name from table_11827596_2 where film_name = \"kaal bhairav\"" + }, + { + "question": "Which team has an up/down of + 3479?", + "context": "create table table_2472711_31 (team varchar, up_down varchar, PRIMARY KEY (team))", + "answer": "select team from table_2472711_31 where up_down = \"+ 3479\"" + }, + { + "question": "How many head coaches are there for the website, http://www.burleighbulldogs.org/?", + "context": "create table table_11365528_2 (head_coach varchar, website varchar, PRIMARY KEY (head_coach))", + "answer": "select count(head_coach) from table_11365528_2 where website = \"http://www.burleighbulldogs.org/\"" + }, + { + "question": "What is the Original air date for the episode directed by Tricia Brock?", + "context": "create table table_13183076_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13183076_3 where directed_by = \"tricia brock\"" + }, + { + "question": "Which competition did the toronto city saints win?", + "context": "create table table_25735_1 (competition varchar, winner varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_25735_1 where winner = \"toronto city saints\"" + }, + { + "question": "how many categories fall under the category of britons?", + "context": "create table table_261895_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_261895_1 where nickname = \"britons\"" + }, + { + "question": "What is the trademark listed for the molecular target : dna-binding?", + "context": "create table table_12715053_1 (trademark varchar, molecular_target varchar, PRIMARY KEY (trademark))", + "answer": "select trademark from table_12715053_1 where molecular_target = \"dna-binding\"" + }, + { + "question": "Who is the famous for that finished 2nd?", + "context": "create table table_14345690_5 (famous_for varchar, finished varchar, PRIMARY KEY (famous_for))", + "answer": "select famous_for from table_14345690_5 where finished = \"2nd\"" + }, + { + "question": "What is the name when tfl-yds is 2-2?", + "context": "create table table_26176081_29 (name varchar, tfl_yds varchar, PRIMARY KEY (name))", + "answer": "select name from table_26176081_29 where tfl_yds = \"2-2\"" + }, + { + "question": "For part 2 *raid, what is listed for part 3?", + "context": "create table table_1745843_2 (part_3 varchar, part_2 varchar, PRIMARY KEY (part_3))", + "answer": "select part_3 from table_1745843_2 where part_2 = \"*raid\"" + }, + { + "question": "What nasl club won several titles with leeds united?", + "context": "create table table_237757_9 (nasl_club_s_ varchar, accolades__pre_nasl_ varchar, PRIMARY KEY (nasl_club_s_))", + "answer": "select nasl_club_s_ from table_237757_9 where accolades__pre_nasl_ = \"won several titles with leeds united\"" + }, + { + "question": "What are the names of entrepreneurs whose investor is not \"Rachel Elnaugh\"?", + "context": "create table entrepreneur (people_id varchar, investor varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from entrepreneur as t1 join people as t2 on t1.people_id = t2.people_id where t1.investor <> \"rachel elnaugh\"" + }, + { + "question": "What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August?", + "context": "create table table_23465864_4 (sat_29_aug varchar, tues_25_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_23465864_4 where tues_25_aug = \"22' 54.20 98.842mph\"" + }, + { + "question": "What are the staff ids and genders of all staffs whose job title is Department Manager?", + "context": "create table staff_department_assignments (staff_id varchar, job_title_code varchar, PRIMARY KEY (staff_id)); create table staff (staff_id varchar, staff_gender varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.staff_id, t1.staff_gender from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id where t2.job_title_code = \"department manager\"" + }, + { + "question": "What is the Netflix where Segment D is pressure gauges ?", + "context": "create table table_15187735_12 (netflix varchar, segment_d varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_12 where segment_d = \"pressure gauges\"" + }, + { + "question": "Who is the manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?", + "context": "create table table_29778616_1 (manufacturer varchar, intro_date varchar, throughput varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_29778616_1 where intro_date = \"2006\" and throughput = \"4 mbit/s\"" + }, + { + "question": "List the writers of the books in ascending alphabetical order.", + "context": "create table book (writer varchar, PRIMARY KEY (writer))", + "answer": "select writer from book order by writer" + }, + { + "question": "If the prime minister is Palmer, Geoffrey Geoffrey Palmer, what is the end date of (final) term?", + "context": "create table table_25182437_1 (end_date_of__final__term varchar, prime_minister varchar, PRIMARY KEY (end_date_of__final__term))", + "answer": "select end_date_of__final__term from table_25182437_1 where prime_minister = \"palmer, geoffrey geoffrey palmer\"" + }, + { + "question": "what would be final four mvp maximum when first team is 1", + "context": "create table table_26130295_3 (final_four_mvp integer, first_team varchar, PRIMARY KEY (final_four_mvp))", + "answer": "select max(final_four_mvp) from table_26130295_3 where first_team = 1" + }, + { + "question": "Show all card type codes.", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select distinct card_type_code from customers_cards" + }, + { + "question": "How many entries are there for first driver for Canada?", + "context": "create table table_13416000_3 (first_driver_s_ varchar, country varchar, PRIMARY KEY (first_driver_s_))", + "answer": "select count(first_driver_s_) from table_13416000_3 where country = \"canada\"" + }, + { + "question": "What are the fa.brill when w.h. archer is known as r. newman?", + "context": "create table table_1320857_1 (fa_brill varchar, wh_archer varchar, PRIMARY KEY (fa_brill))", + "answer": "select fa_brill from table_1320857_1 where wh_archer = \"r. newman\"" + }, + { + "question": "How many home games are listed when the average attendance is 79475?", + "context": "create table table_28884858_1 (home_games varchar, average_attendance varchar, PRIMARY KEY (home_games))", + "answer": "select count(home_games) from table_28884858_1 where average_attendance = 79475" + }, + { + "question": "Who is the youngest employee in the company? List employee's first and last name.", + "context": "create table employees (first_name varchar, last_name varchar, birth_date varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from employees order by birth_date desc limit 1" + }, + { + "question": "What is the template type code of the template used by document with the name \"Data base\"?", + "context": "create table templates (template_type_code varchar, template_id varchar, PRIMARY KEY (template_type_code)); create table documents (template_id varchar, document_name varchar, PRIMARY KEY (template_id))", + "answer": "select t1.template_type_code from templates as t1 join documents as t2 on t1.template_id = t2.template_id where t2.document_name = \"data base\"" + }, + { + "question": "Name the years in orlando that the player from concord hs was in", + "context": "create table table_15621965_10 (years_in_orlando varchar, school_club_team varchar, PRIMARY KEY (years_in_orlando))", + "answer": "select years_in_orlando from table_15621965_10 where school_club_team = \"concord hs\"" + }, + { + "question": "What is every entry for Latin when Catalan is Mar?", + "context": "create table table_25401_15 (latin varchar, catalan varchar, PRIMARY KEY (latin))", + "answer": "select latin from table_25401_15 where catalan = \"mar\"" + }, + { + "question": "Which club was originally named hapoel katamon jerusalem f.c.?", + "context": "create table table_26218124_1 (original_club varchar, name varchar, PRIMARY KEY (original_club))", + "answer": "select original_club from table_26218124_1 where name = \"hapoel katamon jerusalem f.c.\"" + }, + { + "question": "What is Segment A where Segment B is Kevlar S Canoe?", + "context": "create table table_15187735_12 (segment_a varchar, segment_b varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_12 where segment_b = \"kevlar s canoe\"" + }, + { + "question": "Who proceeded to the quarter finals with a points margin of 21?", + "context": "create table table_27986200_3 (proceed_to_quarter_final varchar, points_margin varchar, PRIMARY KEY (proceed_to_quarter_final))", + "answer": "select proceed_to_quarter_final from table_27986200_3 where points_margin = 21" + }, + { + "question": "when co2 is 192g/km, what is the power?", + "context": "create table table_24729_2 (power varchar, co2 varchar, PRIMARY KEY (power))", + "answer": "select power from table_24729_2 where co2 = \"192g/km\"" + }, + { + "question": "What are the undisclosed when Adam Hinshelwood is Ricky Newman?", + "context": "create table table_23835213_2 (undisclosed varchar, adam_hinshelwood varchar, PRIMARY KEY (undisclosed))", + "answer": "select undisclosed from table_23835213_2 where adam_hinshelwood = \"ricky newman\"" + }, + { + "question": "What is the year (ceremony) for the film title Eldra?", + "context": "create table table_26385848_1 (year__ceremony_ varchar, film_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_26385848_1 where film_title = \"eldra\"" + }, + { + "question": "How many architects are female?", + "context": "create table architect (gender varchar, PRIMARY KEY (gender))", + "answer": "select count(*) from architect where gender = 'female'" + }, + { + "question": "What are the first names of all the students?", + "context": "create table student (fname varchar, PRIMARY KEY (fname))", + "answer": "select distinct fname from student" + }, + { + "question": "Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?", + "context": "create table table_1566850_9 (centerfold_model varchar, PRIMARY KEY (centerfold_model))", + "answer": "select 20 as _questions from table_1566850_9 where centerfold_model = \"marliece andrada\"" + }, + { + "question": "Name the eps for net profit being 39.2", + "context": "create table table_18304259_1 (earnings_per_share__p_ varchar, net_profit__\u00a3m_ varchar, PRIMARY KEY (earnings_per_share__p_))", + "answer": "select earnings_per_share__p_ from table_18304259_1 where net_profit__\u00a3m_ = \"39.2\"" + }, + { + "question": "How many kids stay in the rooms reserved by ROY SWEAZY?", + "context": "create table reservations (kids varchar, firstname varchar, lastname varchar, PRIMARY KEY (kids))", + "answer": "select kids from reservations where firstname = \"roy\" and lastname = \"sweazy\"" + }, + { + "question": "What are the 2fm's for erp 16?", + "context": "create table table_18475946_2 (erp__kw_ varchar, PRIMARY KEY (erp__kw_))", + "answer": "select 2 as fm__mhz_ from table_18475946_2 where erp__kw_ = \"16\"" + }, + { + "question": "What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'?", + "context": "create table photos (camera_lens_id varchar, PRIMARY KEY (camera_lens_id)); create table camera_lens (name varchar, id varchar, brand varchar, PRIMARY KEY (name))", + "answer": "select t1.name from camera_lens as t1 join photos as t2 on t2.camera_lens_id = t1.id where t1.brand = 'sigma' or t1.brand = 'olympus'" + }, + { + "question": "Which of the radio stations has the organization of ente p\u00fablico radio televisi\u00f3n madrid (eprtvm)?", + "context": "create table table_23143607_1 (radio_stations varchar, organization varchar, PRIMARY KEY (radio_stations))", + "answer": "select radio_stations from table_23143607_1 where organization = \"ente p\u00fablico radio televisi\u00f3n madrid (eprtvm)\"" + }, + { + "question": "What is the Netflix Episode when the Segment B is s Highlighter?", + "context": "create table table_15187735_6 (netflix varchar, segment_b varchar, PRIMARY KEY (netflix))", + "answer": "select netflix from table_15187735_6 where segment_b = \"s highlighter\"" + }, + { + "question": "Who won the mens doubles when wu yang won the womens singles?", + "context": "create table table_28138035_26 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28138035_26 where womens_singles = \"wu yang\"" + }, + { + "question": "Name the number of proto austronesian for *natu", + "context": "create table table_15568886_14 (proto_austronesian varchar, proto_oceanic varchar, PRIMARY KEY (proto_austronesian))", + "answer": "select count(proto_austronesian) from table_15568886_14 where proto_oceanic = \"*natu\"" + }, + { + "question": "Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?", + "context": "create table table_27755603_2 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27755603_2 where high_points = \"rodney stuckey (16)\"" + }, + { + "question": "Who are all the candidates when Sam Rayburn was incumbent?", + "context": "create table table_1342292_42 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342292_42 where incumbent = \"sam rayburn\"" + }, + { + "question": "What are all the languages for tsotsi?", + "context": "create table table_13700749_1 (language_s_ varchar, film_title varchar, PRIMARY KEY (language_s_))", + "answer": "select language_s_ from table_13700749_1 where film_title = \"tsotsi\"" + }, + { + "question": "When john w. leftwich (uu) is the successor what is the date the successor was seated?", + "context": "create table table_2147588_4 (date_successor_seated varchar, successor varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2147588_4 where successor = \"john w. leftwich (uu)\"" + }, + { + "question": "what is the language when the name of award is best editing?", + "context": "create table table_25926120_7 (language varchar, name_of_award varchar, PRIMARY KEY (language))", + "answer": "select language from table_25926120_7 where name_of_award = \"best editing\"" + }, + { + "question": "How many lines have the segment description of red line mos-2 west?", + "context": "create table table_1817879_2 (line_s_ varchar, segment_description varchar, PRIMARY KEY (line_s_))", + "answer": "select line_s_ from table_1817879_2 where segment_description = \"red line mos-2 west\"" + }, + { + "question": "What is the nominal GDP per capita when the population is 63.056 million?", + "context": "create table table_1610496_3 (gdp_per_capita_nominal__ integer, population__millions_ varchar, PRIMARY KEY (gdp_per_capita_nominal__))", + "answer": "select min(gdp_per_capita_nominal__) as $_ from table_1610496_3 where population__millions_ = \"63.056\"" + }, + { + "question": "what's the\u00a0primary payload(s)\u00a0with\u00a0launch date\u00a0being july 8, 1994", + "context": "create table table_14118521_1 (primary_payload_s_ varchar, launch_date varchar, PRIMARY KEY (primary_payload_s_))", + "answer": "select primary_payload_s_ from table_14118521_1 where launch_date = \"july 8, 1994\"" + }, + { + "question": "What is the maximum and minimum market value of companies?", + "context": "create table company (market_value_in_billion integer, PRIMARY KEY (market_value_in_billion))", + "answer": "select max(market_value_in_billion), min(market_value_in_billion) from company" + }, + { + "question": "Name the office running for for anthony mussara", + "context": "create table table_1855841_1 (office_running_for varchar, candidate varchar, PRIMARY KEY (office_running_for))", + "answer": "select office_running_for from table_1855841_1 where candidate = \"anthony mussara\"" + }, + { + "question": "Which party does Del Latta belong to?", + "context": "create table table_1341577_36 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341577_36 where incumbent = \"del latta\"" + }, + { + "question": "What party does jim ramstad represent?", + "context": "create table table_1341423_23 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341423_23 where incumbent = \"jim ramstad\"" + }, + { + "question": "Name the barrel length for rear sight a2 for factory compensator", + "context": "create table table_12834315_4 (barrel_length varchar, rear_sight varchar, muzzle_device varchar, PRIMARY KEY (barrel_length))", + "answer": "select barrel_length from table_12834315_4 where rear_sight = \"a2\" and muzzle_device = \"factory compensator\"" + }, + { + "question": "How many different colleges do attend the tryout test?", + "context": "create table tryout (cname varchar, PRIMARY KEY (cname))", + "answer": "select count(distinct cname) from tryout" + }, + { + "question": "Find the names and number of works of the three artists who have produced the most songs.", + "context": "create table song (artist_name varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.artist_name, count(*) from artist as t1 join song as t2 on t1.artist_name = t2.artist_name group by t2.artist_name order by count(*) desc limit 3" + }, + { + "question": "How many millions of U.S. viewers watched the episode that first aired on March 31, 2013?", + "context": "create table table_11111116_8 (us_viewers__million_ varchar, original_air_date varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_11111116_8 where original_air_date = \"march 31, 2013\"" + }, + { + "question": "Name the james e. holmes for erselle young", + "context": "create table table_25330991_3 (james_e_holmes varchar, reidsville varchar, PRIMARY KEY (james_e_holmes))", + "answer": "select james_e_holmes from table_25330991_3 where reidsville = \"erselle young\"" + }, + { + "question": "When theora is 2.3, how much is the h.264?", + "context": "create table table_26099252_1 (h264 varchar, theora varchar, PRIMARY KEY (h264))", + "answer": "select h264 from table_26099252_1 where theora = \"2.3\"" + }, + { + "question": "Who were the authors of the episode first broadcast on August 10, 2012?", + "context": "create table table_28081876_6 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28081876_6 where original_air_date = \"august 10, 2012\"" + }, + { + "question": "Show the names of phones with carrier either \"Sprint\" or \"TMobile\".", + "context": "create table phone (name varchar, carrier varchar, PRIMARY KEY (name))", + "answer": "select name from phone where carrier = \"sprint\" or carrier = \"tmobile\"" + }, + { + "question": "Was it a win or loss for Wanganui in round 3?", + "context": "create table table_26847237_1 (win_loss varchar, round__number varchar, PRIMARY KEY (win_loss))", + "answer": "select win_loss from table_26847237_1 where round__number = \"round 3\"" + }, + { + "question": "How many TV Channel using language English?", + "context": "create table tv_channel (language varchar, PRIMARY KEY (language))", + "answer": "select count(*) from tv_channel where language = \"english\"" + }, + { + "question": "What is the abbreviation for the college pronounced \"k\u014dk\u016b daigakk\u014d\"?", + "context": "create table table_11390711_4 (abbreviation varchar, pronouciation varchar, PRIMARY KEY (abbreviation))", + "answer": "select abbreviation from table_11390711_4 where pronouciation = \"k\u014dk\u016b daigakk\u014d\"" + }, + { + "question": "How many titles have an original air date of November 17, 1998?", + "context": "create table table_234886_2 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_234886_2 where original_air_date = \"november 17, 1998\"" + }, + { + "question": "Whose name in Polish holds the Lublin seat?", + "context": "create table table_11614581_3 (name_in_polish varchar, seat varchar, PRIMARY KEY (name_in_polish))", + "answer": "select name_in_polish from table_11614581_3 where seat = \"lublin\"" + }, + { + "question": "When the under-11 was Aly Abou El Einen, who was the under-13?", + "context": "create table table_26368963_1 (under_13 varchar, under_11 varchar, PRIMARY KEY (under_13))", + "answer": "select under_13 from table_26368963_1 where under_11 = \"aly abou el einen\"" + }, + { + "question": "How many teams did inge \u2013 6 have the high assists with?", + "context": "create table table_30054758_3 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_30054758_3 where high_assists = \"inge \u2013 6\"" + }, + { + "question": "How many debut albums did mike mohede have?", + "context": "create table table_1646960_3 (debut_album varchar, winner varchar, PRIMARY KEY (debut_album))", + "answer": "select count(debut_album) from table_1646960_3 where winner = \"mike mohede\"" + }, + { + "question": "Name the number of director for huelepega: ley de la calle", + "context": "create table table_18123274_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_18123274_1 where original_title = \"huelepega: ley de la calle\"" + }, + { + "question": "How many winning constructor catagories are there when Mark Webber had the fastest lap?", + "context": "create table table_26258348_4 (winning_constructor varchar, fastest_lap varchar, PRIMARY KEY (winning_constructor))", + "answer": "select count(winning_constructor) from table_26258348_4 where fastest_lap = \"mark webber\"" + }, + { + "question": "What are all role codes?", + "context": "create table roles (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from roles" + }, + { + "question": "What is the operating mode of the Coda?", + "context": "create table table_23840623_4 (operating_mode varchar, vehicle varchar, PRIMARY KEY (operating_mode))", + "answer": "select operating_mode from table_23840623_4 where vehicle = \"coda\"" + }, + { + "question": "List the names of companies in descending order of market value.", + "context": "create table companies (name varchar, market_value_billion varchar, PRIMARY KEY (name))", + "answer": "select name from companies order by market_value_billion desc" + }, + { + "question": "how many times is the fuel propulsion is cng?", + "context": "create table table_10007452_3 (fleet_series__quantity_ varchar, fuel_propulsion varchar, PRIMARY KEY (fleet_series__quantity_))", + "answer": "select count(fleet_series__quantity_) from table_10007452_3 where fuel_propulsion = \"cng\"" + }, + { + "question": "What was the percentage in 2006 whose natives is Polish?", + "context": "create table table_2328113_1 (percentage__2006_ varchar, mother_tongue varchar, PRIMARY KEY (percentage__2006_))", + "answer": "select percentage__2006_ from table_2328113_1 where mother_tongue = \"polish\"" + }, + { + "question": "How many titles are there with the original air date of august3,2010?", + "context": "create table table_30030477_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_30030477_1 where original_air_date = \"august3,2010\"" + }, + { + "question": "What is the prize for the tournament at Ibaraki?", + "context": "create table table_26144632_1 (prize_fund___\uffe5__ varchar, location varchar, PRIMARY KEY (prize_fund___\uffe5__))", + "answer": "select prize_fund___\uffe5__ from table_26144632_1 where location = \"ibaraki\"" + }, + { + "question": "What is the date of appointment for outgoing manager Campbell Money", + "context": "create table table_11206916_2 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_11206916_2 where outgoing_manager = \"campbell money\"" + }, + { + "question": "What is the enrollment of STM which has been in competition since 1990?", + "context": "create table table_11318462_29 (enrolment varchar, in_competition_since varchar, abbreviation varchar, PRIMARY KEY (enrolment))", + "answer": "select count(enrolment) from table_11318462_29 where in_competition_since = 1990 and abbreviation = \"stm\"" + }, + { + "question": "what's the\u00a0naturalisation by marriage\u00a0with\u00a0numer of jamaicans granted british citizenship\u00a0being 3165", + "context": "create table table_11214212_1 (naturalisation_by_marriage varchar, numer_of_jamaicans_granted_british_citizenship varchar, PRIMARY KEY (naturalisation_by_marriage))", + "answer": "select naturalisation_by_marriage from table_11214212_1 where numer_of_jamaicans_granted_british_citizenship = 3165" + }, + { + "question": "How many companies have Postermobile Limited as a parent company?", + "context": "create table table_1756264_2 (company_name varchar, parent__holding__company varchar, PRIMARY KEY (company_name))", + "answer": "select count(company_name) from table_1756264_2 where parent__holding__company = \"postermobile limited\"" + }, + { + "question": "How many singers do we have?", + "context": "create table singer (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from singer" + }, + { + "question": "Find the number of female students (with F sex) living in Smith Hall", + "context": "create table lives_in (stuid varchar, dormid varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid)); create table dorm (dormid varchar, dorm_name varchar, PRIMARY KEY (dormid))", + "answer": "select count(*) from student as t1 join lives_in as t2 on t1.stuid = t2.stuid join dorm as t3 on t3.dormid = t2.dormid where t3.dorm_name = 'smith hall' and t1.sex = 'f'" + }, + { + "question": "Show all cities and corresponding number of students.", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select city_code, count(*) from student group by city_code" + }, + { + "question": "Name the manufacturer for 2011", + "context": "create table table_24193494_3 (manufacturer varchar, order_year varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_24193494_3 where order_year = 2011" + }, + { + "question": "For the Republican party what are the names of the incumbents?", + "context": "create table table_1342149_42 (incumbent varchar, party varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342149_42 where party = \"republican\"" + }, + { + "question": "Who directed El Nido?", + "context": "create table table_10798928_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_10798928_1 where original_title = \"el nido\"" + }, + { + "question": "What is the record against Boston?", + "context": "create table table_17323529_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17323529_8 where team = \"boston\"" + }, + { + "question": "How many Connecticut home games were broadcast?", + "context": "create table table_28298589_4 (broadcast varchar, home_team varchar, PRIMARY KEY (broadcast))", + "answer": "select count(broadcast) from table_28298589_4 where home_team = \"connecticut\"" + }, + { + "question": "Name the opponent in the final for 3\u20136, 1\u20136", + "context": "create table table_23284597_3 (opponent_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponent_in_the_final))", + "answer": "select opponent_in_the_final from table_23284597_3 where score_in_the_final = \"3\u20136, 1\u20136\"" + }, + { + "question": "What are the distinct address type codes for all customer addresses?", + "context": "create table customer_addresses (address_type_code varchar, PRIMARY KEY (address_type_code))", + "answer": "select distinct address_type_code from customer_addresses" + }, + { + "question": "What was the fastest lap at the Mexican Grand Prix?", + "context": "create table table_1137718_2 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_1137718_2 where grand_prix = \"mexican grand_prix\"" + }, + { + "question": "find the number of different programs that are broadcast during night time.", + "context": "create table broadcast (program_id varchar, time_of_day varchar, PRIMARY KEY (program_id))", + "answer": "select count(distinct program_id) from broadcast where time_of_day = 'night'" + }, + { + "question": "Name the package/option for giappone", + "context": "create table table_15887683_8 (package_option varchar, country varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from table_15887683_8 where country = \"giappone\"" + }, + { + "question": "What is the percentage of all females that are literate people have a percentage of 68.74?", + "context": "create table table_14598_9 (females___percentage_ varchar, literate_persons___percentage_ varchar, PRIMARY KEY (females___percentage_))", + "answer": "select females___percentage_ from table_14598_9 where literate_persons___percentage_ = \"68.74\"" + }, + { + "question": "How many no votes were there in the partial public funding of election campaigns legislation?", + "context": "create table table_256286_63 (no_votes varchar, description varchar, PRIMARY KEY (no_votes))", + "answer": "select no_votes from table_256286_63 where description = \"partial public funding of election campaigns\"" + }, + { + "question": "Where is every location with specialization of textile engineering?", + "context": "create table table_2112260_1 (location varchar, specialization varchar, PRIMARY KEY (location))", + "answer": "select location from table_2112260_1 where specialization = \"textile engineering\"" + }, + { + "question": "Name all the date of designations for kurume", + "context": "create table table_1585609_2 (date_of_designation varchar, name varchar, PRIMARY KEY (date_of_designation))", + "answer": "select date_of_designation from table_1585609_2 where name = \"kurume\"" + }, + { + "question": "How many points did the opposing team get in the game with 6-2 record?", + "context": "create table table_23184448_3 (opp_points integer, record varchar, PRIMARY KEY (opp_points))", + "answer": "select min(opp_points) from table_23184448_3 where record = \"6-2\"" + }, + { + "question": "period between 1985 - 1990 have minimum infant mortality rate of what.", + "context": "create table table_21258_1 (infant_mortality_rate integer, period varchar, PRIMARY KEY (infant_mortality_rate))", + "answer": "select min(infant_mortality_rate) from table_21258_1 where period = \"1985 - 1990\"" + }, + { + "question": "Which crime rate per 1,000 people is associated with a cost per capita of $152?", + "context": "create table table_12340907_1 (crime_rate_per_1 integer, cost_per_capita varchar, PRIMARY KEY (crime_rate_per_1))", + "answer": "select max(crime_rate_per_1), 000 as _people from table_12340907_1 where cost_per_capita = \"$152\"" + }, + { + "question": "What is the premiere date of the american disney xd tron uprising site?", + "context": "create table table_29487895_2 (series_premiere varchar, source_s_ varchar, PRIMARY KEY (series_premiere))", + "answer": "select series_premiere from table_29487895_2 where source_s_ = \"american disney xd tron uprising site\"" + }, + { + "question": "Show all directors.", + "context": "create table film (directed_by varchar, PRIMARY KEY (directed_by))", + "answer": "select distinct directed_by from film" + }, + { + "question": "What is the total brup for the team?", + "context": "create table table_18064020_21 (brup varchar, name varchar, PRIMARY KEY (brup))", + "answer": "select brup from table_18064020_21 where name = \"total\"" + }, + { + "question": "What document types have more than 2 corresponding documents?", + "context": "create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents group by document_type_code having count(*) > 2" + }, + { + "question": "Which station has park & ride lot parking?", + "context": "create table table_2093995_1 (stations varchar, parking varchar, PRIMARY KEY (stations))", + "answer": "select stations from table_2093995_1 where parking = \"park & ride lot\"" + }, + { + "question": "What team set a 3:15:43 winning time?", + "context": "create table table_2241841_1 (team varchar, race_time varchar, PRIMARY KEY (team))", + "answer": "select team from table_2241841_1 where race_time = \"3:15:43\"" + }, + { + "question": "How many Australians were in the UN commission on Korea?", + "context": "create table table_10121127_1 (number_of_australians_involved varchar, un_operation_title varchar, PRIMARY KEY (number_of_australians_involved))", + "answer": "select count(number_of_australians_involved) from table_10121127_1 where un_operation_title = \"un commission on korea\"" + }, + { + "question": "Name the number of series episode for s piston", + "context": "create table table_15187735_8 (series_ep varchar, segment_a varchar, PRIMARY KEY (series_ep))", + "answer": "select count(series_ep) from table_15187735_8 where segment_a = \"s piston\"" + }, + { + "question": "january 15-16 when august 21-22 is august 22, 1979?", + "context": "create table table_25355501_2 (january_15_16 varchar, august_21_22 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25355501_2 where august_21_22 = \"august 22, 1979\"" + }, + { + "question": "How many people voted for others in the county where McCain got 65.5% of the votes?", + "context": "create table table_20453681_1 (others varchar, mccain_percentage varchar, PRIMARY KEY (others))", + "answer": "select others from table_20453681_1 where mccain_percentage = \"65.5%\"" + }, + { + "question": "Find all members of \"Bootup Baltimore\" whose major is \"600\". Show the first name and last name.", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table student (fname varchar, lname varchar, stuid varchar, major varchar, PRIMARY KEY (fname))", + "answer": "select t3.fname, t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"bootup baltimore\" and t3.major = \"600\"" + }, + { + "question": "What are the building full names that contain the word \"court\"?", + "context": "create table apartment_buildings (building_full_name varchar, PRIMARY KEY (building_full_name))", + "answer": "select building_full_name from apartment_buildings where building_full_name like \"%court%\"" + }, + { + "question": "What are the years of participation for central crossing school?", + "context": "create table table_17429402_7 (years_of_participation varchar, school varchar, PRIMARY KEY (years_of_participation))", + "answer": "select years_of_participation from table_17429402_7 where school = \"central crossing\"" + }, + { + "question": "How many languages for the 2001 (74th) awards?", + "context": "create table table_16254861_1 (language_s_ varchar, year__ceremony_ varchar, PRIMARY KEY (language_s_))", + "answer": "select count(language_s_) from table_16254861_1 where year__ceremony_ = \"2001 (74th)\"" + }, + { + "question": "What's the total number of songs originally performed by Anna Nalick?", + "context": "create table table_12310814_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select count(song_choice) from table_12310814_1 where original_artist = \"anna nalick\"" + }, + { + "question": "How many roller coasters are there?", + "context": "create table roller_coaster (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from roller_coaster" + }, + { + "question": "Find the names of users whose emails contain \u2018superstar\u2019 or \u2018edu\u2019.", + "context": "create table user_profiles (name varchar, email varchar, PRIMARY KEY (name))", + "answer": "select name from user_profiles where email like '%superstar%' or email like '%edu%'" + }, + { + "question": "What DAR is available for n. 336 in Italian?", + "context": "create table table_15887683_5 (dar varchar, n\u00b0 varchar, language varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_5 where n\u00b0 = \"336\" and language = \"italian\"" + }, + { + "question": "Name the segment d for chicken", + "context": "create table table_15187735_3 (segment_d varchar, segment_c varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_3 where segment_c = \"chicken\"" + }, + { + "question": "If the net worth of fixed assets is 621, what is the current ratio?", + "context": "create table table_19166421_1 (current_ratio varchar, net_worth_to_fixed_assets varchar, PRIMARY KEY (current_ratio))", + "answer": "select current_ratio from table_19166421_1 where net_worth_to_fixed_assets = 621" + }, + { + "question": "How many people on this list are named thomas abernethy?", + "context": "create table table_1342218_24 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342218_24 where incumbent = \"thomas abernethy\"" + }, + { + "question": "What month is the Paris 20k Road Race held?", + "context": "create table table_26166836_3 (month_held varchar, location varchar, PRIMARY KEY (month_held))", + "answer": "select month_held from table_26166836_3 where location = \"paris\"" + }, + { + "question": "Who was the successor that was formally installed on March 30, 1870?", + "context": "create table table_2417345_3 (successor varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2417345_3 where date_of_successors_formal_installation = \"march 30, 1870\"" + }, + { + "question": "What is every GICS sector for free float of 0.3180?", + "context": "create table table_20667854_1 (gics_sector varchar, free_float varchar, PRIMARY KEY (gics_sector))", + "answer": "select gics_sector from table_20667854_1 where free_float = \"0.3180\"" + }, + { + "question": "What player attended california university?", + "context": "create table table_26916717_1 (name varchar, team_school varchar, PRIMARY KEY (name))", + "answer": "select name from table_26916717_1 where team_school = \"california\"" + }, + { + "question": "what's the\u00a0occupied territory\u00a0with\u00a0estimated deaths\u00a0of 600,000", + "context": "create table table_10335_1 (occupied_territory varchar, estimated_deaths varchar, PRIMARY KEY (occupied_territory))", + "answer": "select occupied_territory from table_10335_1 where estimated_deaths = \"600,000\"" + }, + { + "question": "What are the team colors from Tolono, Illinois?", + "context": "create table table_29612224_1 (colors varchar, location varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_29612224_1 where location = \"tolono, illinois\"" + }, + { + "question": "Name the chinese traditional for \u7f8e\u4e3d\u4eba\u751f", + "context": "create table table_1893815_1 (chinese__traditional_ varchar, chinese__simplified_ varchar, PRIMARY KEY (chinese__traditional_))", + "answer": "select chinese__traditional_ from table_1893815_1 where chinese__simplified_ = \"\u7f8e\u4e3d\u4eba\u751f\"" + }, + { + "question": "Show all party names and the number of members in each party.", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (party_id varchar, PRIMARY KEY (party_id))", + "answer": "select t2.party_name, count(*) from member as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id" + }, + { + "question": "Name the leader battle for plamen", + "context": "create table table_25920798_2 (leader_battle varchar, eliminated varchar, PRIMARY KEY (leader_battle))", + "answer": "select leader_battle from table_25920798_2 where eliminated = \"plamen\"" + }, + { + "question": "What is the community with a wind power of 1042?", + "context": "create table table_13566548_1 (autonomous_community varchar, wind_power varchar, PRIMARY KEY (autonomous_community))", + "answer": "select autonomous_community from table_13566548_1 where wind_power = 1042" + }, + { + "question": "What is the ramsan-810 transfer delay?", + "context": "create table table_27615520_1 (latency__microseconds_ varchar, product_name varchar, PRIMARY KEY (latency__microseconds_))", + "answer": "select count(latency__microseconds_) from table_27615520_1 where product_name = \"ramsan-810\"" + }, + { + "question": "What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks?", + "context": "create table table_16724844_1 (mens_40 varchar, mens_u20 varchar, PRIMARY KEY (mens_40))", + "answer": "select mens_40 from table_16724844_1 where mens_u20 = \"southern suns def gold coast sharks\"" + }, + { + "question": "What are the hosts of competitions whose theme is not \"Aliens\"?", + "context": "create table farm_competition (hosts varchar, theme varchar, PRIMARY KEY (hosts))", + "answer": "select hosts from farm_competition where theme <> 'aliens'" + }, + { + "question": "When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?", + "context": "create table table_26986076_5 (fri_27_aug varchar, wed_25_aug varchar, PRIMARY KEY (fri_27_aug))", + "answer": "select fri_27_aug from table_26986076_5 where wed_25_aug = \"21' 05.83 107.304mph\"" + }, + { + "question": "How many millions viewers watched the episode that ran 23:25?", + "context": "create table table_2101431_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_2101431_1 where run_time = \"23:25\"" + }, + { + "question": "For what ceremony was \"Fire Dancer\" not nominated?", + "context": "create table table_17155250_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17155250_1 where original_title = \"fire dancer\"" + }, + { + "question": "Name the week number for the beatles", + "context": "create table table_19508635_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_19508635_1 where theme = \"the beatles\"" + }, + { + "question": "For location Caversham, what is the name of the captain?", + "context": "create table table_18752986_1 (captain varchar, location varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_18752986_1 where location = \"caversham\"" + }, + { + "question": "When Sagittarius is the wester name what is the sanskrit gloss?", + "context": "create table table_186462_1 (sanskrit varchar, western_name varchar, PRIMARY KEY (sanskrit))", + "answer": "select sanskrit as gloss from table_186462_1 where western_name = \"sagittarius\"" + }, + { + "question": "What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?", + "context": "create table table_12584173_1 (population__stanthorpe_ integer, population__rosenthal_ varchar, PRIMARY KEY (population__stanthorpe_))", + "answer": "select max(population__stanthorpe_) from table_12584173_1 where population__rosenthal_ = 1548" + }, + { + "question": "What is the top speed of a 5-speed manual transmission produced in 2006-2009?", + "context": "create table table_1857216_1 (top_speed varchar, production varchar, transmission varchar, PRIMARY KEY (top_speed))", + "answer": "select top_speed from table_1857216_1 where production = \"2006-2009\" and transmission = \"5-speed manual\"" + }, + { + "question": "When \u0645\u0644\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u062d\u0631 is the arabic title what is the english title?", + "context": "create table table_26555737_1 (english_title varchar, arabic_title varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_26555737_1 where arabic_title = \"\u0645\u0644\u062d \u0647\u0630\u0627 \u0627\u0644\u0628\u062d\u0631\"" + }, + { + "question": "Find the names of all instructors whose name includes the substring \u201cdar\u201d.", + "context": "create table instructor (name varchar, PRIMARY KEY (name))", + "answer": "select name from instructor where name like '%dar%'" + }, + { + "question": "What number of voters did Queens have when Staten Island had 295 voters?", + "context": "create table table_1108394_34 (queens varchar, richmond_ varchar, staten_is varchar, PRIMARY KEY (queens))", + "answer": "select queens from table_1108394_34 where richmond_[staten_is] = \"295\"" + }, + { + "question": "How many cinema do we have?", + "context": "create table cinema (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from cinema" + }, + { + "question": "who the reader of title department x?", + "context": "create table table_20174050_23 (reader varchar, title varchar, PRIMARY KEY (reader))", + "answer": "select reader from table_20174050_23 where title = \"department x\"" + }, + { + "question": "What is the lowest overall number of hurricanes?", + "context": "create table table_2930244_3 (number_of_hurricanes integer, PRIMARY KEY (number_of_hurricanes))", + "answer": "select min(number_of_hurricanes) from table_2930244_3" + }, + { + "question": "What vehicle has an epa highway fuel economy of 109 mpg-e?", + "context": "create table table_20549371_3 (vehicle varchar, epa_rated_highway_fuel_economy varchar, PRIMARY KEY (vehicle))", + "answer": "select vehicle from table_20549371_3 where epa_rated_highway_fuel_economy = \"109 mpg-e\"" + }, + { + "question": "WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?", + "context": "create table table_14903627_1 (mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_14903627_1 where womens_doubles = \"helen reino kai-riin saluste\"" + }, + { + "question": "What was the vote when the air date is 4 october 1997?", + "context": "create table table_25016824_2 (vote varchar, air_date varchar, PRIMARY KEY (vote))", + "answer": "select vote from table_25016824_2 where air_date = \"4 october 1997\"" + }, + { + "question": "What types of stations are located in Cebu?", + "context": "create table table_28794440_1 (station_type varchar, location varchar, PRIMARY KEY (station_type))", + "answer": "select station_type from table_28794440_1 where location = \"cebu\"" + }, + { + "question": "How many countries has a gdp (nominal) of $29.9 billion?", + "context": "create table table_11780179_1 (gdp_per_capita__nominal_ varchar, gdp__nominal_ varchar, PRIMARY KEY (gdp_per_capita__nominal_))", + "answer": "select count(gdp_per_capita__nominal_) from table_11780179_1 where gdp__nominal_ = \"$29.9 billion\"" + }, + { + "question": "Please show the categories of the music festivals with count more than 1.", + "context": "create table music_festival (category varchar, PRIMARY KEY (category))", + "answer": "select category from music_festival group by category having count(*) > 1" + }, + { + "question": "What was the original air date for episode number 6?", + "context": "create table table_1481865_1 (original_air_date varchar, number_of_episode varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_1481865_1 where number_of_episode = 6" + }, + { + "question": "If the grand average is 12.76-202, who is the player?", + "context": "create table table_27533947_1 (players varchar, grand_average varchar, PRIMARY KEY (players))", + "answer": "select players from table_27533947_1 where grand_average = \"12.76-202\"" + }, + { + "question": "Which artist does the album \"Balls to the Wall\" belong to?", + "context": "create table album (artistid varchar, title varchar, PRIMARY KEY (artistid)); create table artist (name varchar, artistid varchar, PRIMARY KEY (name))", + "answer": "select t2.name from album as t1 join artist as t2 on t1.artistid = t2.artistid where t1.title = \"balls to the wall\"" + }, + { + "question": "Name the game site for l 26\u201342", + "context": "create table table_26401898_2 (game_site varchar, final_score varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_26401898_2 where final_score = \"l 26\u201342\"" + }, + { + "question": "What is the minimum of t20 matches?", + "context": "create table table_1176371_1 (t20_matches integer, PRIMARY KEY (t20_matches))", + "answer": "select min(t20_matches) from table_1176371_1" + }, + { + "question": "What amount of senior high school where junior high school is 114cm?", + "context": "create table table_13555999_1 (senior_high_school__15_18_yrs_ varchar, junior_high_school__12_15_yrs_ varchar, PRIMARY KEY (senior_high_school__15_18_yrs_))", + "answer": "select senior_high_school__15_18_yrs_ from table_13555999_1 where junior_high_school__12_15_yrs_ = \"114cm\"" + }, + { + "question": "What was the Lok Sabha in Karakat (Vidhan Sabha Constituency)?", + "context": "create table table_29785324_5 (lok_sabha varchar, vidhan_sabha_constituency varchar, PRIMARY KEY (lok_sabha))", + "answer": "select lok_sabha from table_29785324_5 where vidhan_sabha_constituency = \"karakat (vidhan sabha constituency)\"" + }, + { + "question": "what is the total number of population where census designated place is westmont?", + "context": "create table table_22916979_2 (population__2000_census_ varchar, census_designated_place varchar, PRIMARY KEY (population__2000_census_))", + "answer": "select count(population__2000_census_) from table_22916979_2 where census_designated_place = \"westmont\"" + }, + { + "question": "How much was the prize money for rwe-sporthalle, m\u00fclheim ?", + "context": "create table table_18828487_1 (prize_fund varchar, venue varchar, PRIMARY KEY (prize_fund))", + "answer": "select prize_fund from table_18828487_1 where venue = \"rwe-sporthalle, m\u00fclheim\"" + }, + { + "question": "Name the social democratic party for labour", + "context": "create table table_152358_3 (social_democratic_party varchar, control varchar, PRIMARY KEY (social_democratic_party))", + "answer": "select social_democratic_party from table_152358_3 where control = \"labour\"" + }, + { + "question": "What was the results when the incumbent was ernest istook?", + "context": "create table table_1341423_36 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341423_36 where incumbent = \"ernest istook\"" + }, + { + "question": "List the name of the company that produced more than one phone model.", + "context": "create table phone (company_name varchar, PRIMARY KEY (company_name))", + "answer": "select company_name from phone group by company_name having count(*) > 1" + }, + { + "question": "Name the minimum number of reservoir for gnis query link where numbers lake gnis query link being 60", + "context": "create table table_18760137_2 (_number_s_reservoir_and_gnis_query_link integer, _number_s_lake_and_gnis_query_link varchar, PRIMARY KEY (_number_s_reservoir_and_gnis_query_link))", + "answer": "select min(_number_s_reservoir_and_gnis_query_link) from table_18760137_2 where _number_s_lake_and_gnis_query_link = 60" + }, + { + "question": "When Netherlands is the country what is the report?", + "context": "create table table_21191496_1 (report varchar, country varchar, PRIMARY KEY (report))", + "answer": "select report from table_21191496_1 where country = \"netherlands\"" + }, + { + "question": "Which episode was directed by steven depaul", + "context": "create table table_11665016_2 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_11665016_2 where directed_by = \"steven depaul\"" + }, + { + "question": "How many different kinds of reports are there for races that Juan Manuel Fangio won?", + "context": "create table table_1140111_5 (report varchar, winning_driver varchar, PRIMARY KEY (report))", + "answer": "select count(report) from table_1140111_5 where winning_driver = \"juan manuel fangio\"" + }, + { + "question": "What was the title when there were 14.39 million viewers?", + "context": "create table table_15717093_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_15717093_1 where us_viewers__millions_ = \"14.39\"" + }, + { + "question": "What is the title of the episode directed by Mark Tinker?", + "context": "create table table_11058032_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_11058032_1 where directed_by = \"mark tinker\"" + }, + { + "question": "when the vacator was Henry Latimer (f), what were the causes for modification?", + "context": "create table table_224840_3 (reason_for_change varchar, vacator varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_224840_3 where vacator = \"henry latimer (f)\"" + }, + { + "question": "Name the sepal lengh when sepal width is 2.9 and petal width 1.3", + "context": "create table table_10477224_1 (sepal_length varchar, sepal_width varchar, petal_width varchar, PRIMARY KEY (sepal_length))", + "answer": "select sepal_length from table_10477224_1 where sepal_width = \"2.9\" and petal_width = \"1.3\"" + }, + { + "question": "What was the UK broadcast date for the episode which visited USA?", + "context": "create table table_15211468_1 (uk_broadcast_date varchar, countries_visited varchar, PRIMARY KEY (uk_broadcast_date))", + "answer": "select uk_broadcast_date from table_15211468_1 where countries_visited = \"usa\"" + }, + { + "question": "Name the title for total viewers on fx+ being 483,000", + "context": "create table table_26493520_3 (title varchar, total_viewers_on_fx varchar, PRIMARY KEY (title))", + "answer": "select title from table_26493520_3 where total_viewers_on_fx = \"483,000\"" + }, + { + "question": "who is the the\u00a0mens doubles\u00a0with\u00a0mixed doubles\u00a0being jimm aalto nina sarnesto", + "context": "create table table_13857700_1 (mens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_13857700_1 where mixed_doubles = \"jimm aalto nina sarnesto\"" + }, + { + "question": "which company has a person that can wear clothing in 33-23-36", + "context": "create table table_27515452_3 (agency varchar, sizes varchar, PRIMARY KEY (agency))", + "answer": "select agency from table_27515452_3 where sizes = \"33-23-36\"" + }, + { + "question": "What is the last name and office of the professor from the history department?", + "context": "create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table employee (emp_lname varchar, emp_num varchar, PRIMARY KEY (emp_lname)); create table professor (prof_office varchar, emp_num varchar, dept_code varchar, PRIMARY KEY (prof_office))", + "answer": "select t1.emp_lname, t2.prof_office from employee as t1 join professor as t2 on t1.emp_num = t2.emp_num join department as t3 on t2.dept_code = t3.dept_code where t3.dept_name = 'history'" + }, + { + "question": "What is the model of the engine d5244 t?", + "context": "create table table_1147701_5 (model_name varchar, engine_code varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from table_1147701_5 where engine_code = \"d5244 t\"" + }, + { + "question": "How long were Ray Bradbury and his wife married?", + "context": "create table table_24143253_4 (length_of_marriage varchar, name varchar, PRIMARY KEY (length_of_marriage))", + "answer": "select length_of_marriage from table_24143253_4 where name = \"ray bradbury\"" + }, + { + "question": "What is the accrediation for united tribes technical college?", + "context": "create table table_2076522_2 (accreditation varchar, school varchar, PRIMARY KEY (accreditation))", + "answer": "select accreditation from table_2076522_2 where school = \"united tribes technical college\"" + }, + { + "question": "How many regions had an hdi of 0.896?", + "context": "create table table_25042332_33 (combined_gross_enrollment_ratio__2009_ varchar, hdi varchar, PRIMARY KEY (combined_gross_enrollment_ratio__2009_))", + "answer": "select count(combined_gross_enrollment_ratio__2009_) from table_25042332_33 where hdi = \"0.896\"" + }, + { + "question": "When November is 153 what is the March number?", + "context": "create table table_25235489_2 (march_27_29 varchar, november_3 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_25235489_2 where november_3 = \"153\"" + }, + { + "question": "Who directed the film titled 'Steam of Life'?", + "context": "create table table_22020724_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select director from table_22020724_1 where film_title_used_in_nomination = \"steam of life\"" + }, + { + "question": "Which organisation type hires most research staff?", + "context": "create table research_staff (employer_organisation_id varchar, PRIMARY KEY (employer_organisation_id)); create table organisations (organisation_type varchar, organisation_id varchar, PRIMARY KEY (organisation_type))", + "answer": "select t1.organisation_type from organisations as t1 join research_staff as t2 on t1.organisation_id = t2.employer_organisation_id group by t1.organisation_type order by count(*) desc limit 1" + }, + { + "question": "Who was the senior US senator in the state whose governor was D. Patrick?", + "context": "create table table_21531764_2 (senior_us_senator varchar, governor varchar, PRIMARY KEY (senior_us_senator))", + "answer": "select senior_us_senator from table_21531764_2 where governor = \"d. patrick\"" + }, + { + "question": "How many house mascots are associated with yellow house colours?", + "context": "create table table_1942683_1 (house_mascot varchar, house_colour varchar, PRIMARY KEY (house_mascot))", + "answer": "select count(house_mascot) from table_1942683_1 where house_colour = \"yellow\"" + }, + { + "question": "Which representative has a birthday of January 31, 1866?", + "context": "create table table_10284385_1 (representative varchar, date_of_birth varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_10284385_1 where date_of_birth = \"january 31, 1866\"" + }, + { + "question": "What are all values for 24 mountains when direction is Northeast?", + "context": "create table table_23406517_2 (direction varchar, PRIMARY KEY (direction))", + "answer": "select 24 as _mountains from table_23406517_2 where direction = \"northeast\"" + }, + { + "question": "When thomas l\u00f6fkvist is the general classification who is the winner?", + "context": "create table table_18733814_2 (winner varchar, general_classification varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_18733814_2 where general_classification = \"thomas l\u00f6fkvist\"" + }, + { + "question": "Who was the train operator when the train departed at 11.02 in 1922?", + "context": "create table table_18365784_3 (operator varchar, departure varchar, PRIMARY KEY (operator))", + "answer": "select operator from table_18365784_3 where departure = \"11.02\"" + }, + { + "question": "What is the ISIN that has an amount issued of 223,000,000?", + "context": "create table table_21692771_1 (isin varchar, amount_issued_ varchar, \u20ac varchar, PRIMARY KEY (isin))", + "answer": "select isin from table_21692771_1 where amount_issued_[\u20ac] = \"223,000,000\"" + }, + { + "question": "Who was the opponent in the game in which Hakim Warrick (14) did the most high points?", + "context": "create table table_22669044_10 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_22669044_10 where high_points = \"hakim warrick (14)\"" + }, + { + "question": "Who replaced the manager on Team Cfr Cluj?", + "context": "create table table_17115950_2 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17115950_2 where team = \"cfr cluj\"" + }, + { + "question": "How many celebrities had an 18October2007 Original air Date?", + "context": "create table table_11642945_1 (celebrity varchar, original_air_date varchar, PRIMARY KEY (celebrity))", + "answer": "select count(celebrity) from table_11642945_1 where original_air_date = \"18october2007\"" + }, + { + "question": "When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications?", + "context": "create table table_2279413_1 (conversion_from_patent_application varchar, maximum_term varchar, pct_route_available varchar, PRIMARY KEY (conversion_from_patent_application))", + "answer": "select conversion_from_patent_application from table_2279413_1 where maximum_term = \"10 years\" and pct_route_available = \"yes\"" + }, + { + "question": "What is the moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=", + "context": "create table table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ varchar, beam_height__mm_ varchar, PRIMARY KEY (moment_of_inertia_in_torsion__j___cm_4__))", + "answer": "select count(moment_of_inertia_in_torsion__j___cm_4__) from table_2071644_1 where beam_height__mm_ = 120" + }, + { + "question": "High assists belonging to Carmelo Anthony (11) have a record of what?", + "context": "create table table_17355408_7 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_17355408_7 where high_assists = \"carmelo anthony (11)\"" + }, + { + "question": "What is every rider on Tuesday August 25 at 20' 32.11 110.241mph?", + "context": "create table table_23465864_5 (rider varchar, tues_25_aug varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_23465864_5 where tues_25_aug = \"20' 32.11 110.241mph\"" + }, + { + "question": "who is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster?", + "context": "create table table_20174050_23 (reader varchar, format varchar, author varchar, PRIMARY KEY (reader))", + "answer": "select reader from table_20174050_23 where format = \"download/cd\" and author = \"lidster, joseph joseph lidster\"" + }, + { + "question": "How much power was used when the callsign was DZYT?", + "context": "create table table_12547903_3 (power__kw_ varchar, callsign varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_12547903_3 where callsign = \"dzyt\"" + }, + { + "question": "How many dates originally aired episodes located in Philadelphia, pennsylvania?", + "context": "create table table_24798489_2 (original_airdate varchar, location varchar, PRIMARY KEY (original_airdate))", + "answer": "select count(original_airdate) from table_24798489_2 where location = \"philadelphia, pennsylvania\"" + }, + { + "question": "List all document type codes and document type names.", + "context": "create table ref_document_types (document_type_code varchar, document_type_name varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code, document_type_name from ref_document_types" + }, + { + "question": "what is the sweet for voice actor saki fujita?", + "context": "create table table_26615633_3 (sweet varchar, voice_actor varchar, PRIMARY KEY (sweet))", + "answer": "select sweet from table_26615633_3 where voice_actor = \"saki fujita\"" + }, + { + "question": "The score in the final is 2\u20136, 6\u20132, 6\u20130, on what surface?", + "context": "create table table_26202847_6 (surface varchar, score_in_the_final varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_26202847_6 where score_in_the_final = \"2\u20136, 6\u20132, 6\u20130\"" + }, + { + "question": "Find the number of departments in each school.", + "context": "create table department (school_code varchar, dept_name varchar, PRIMARY KEY (school_code))", + "answer": "select count(distinct dept_name), school_code from department group by school_code" + }, + { + "question": "How many vacators have October 22, 1808 as date successor seated?", + "context": "create table table_225093_4 (vacator varchar, date_successor_seated varchar, PRIMARY KEY (vacator))", + "answer": "select count(vacator) from table_225093_4 where date_successor_seated = \"october 22, 1808\"" + }, + { + "question": "What is the event # when the winner is what is 7x6?", + "context": "create table table_22050544_1 (event__number varchar, winner varchar, PRIMARY KEY (event__number))", + "answer": "select event__number from table_22050544_1 where winner = \"what is 7x6\"" + }, + { + "question": "What was the host city in years where the host school was \u00e9cole de technologie sup\u00e9rieure?", + "context": "create table table_2331549_1 (host_city varchar, host_school varchar, PRIMARY KEY (host_city))", + "answer": "select host_city from table_2331549_1 where host_school = \"\u00e9cole de technologie sup\u00e9rieure\"" + }, + { + "question": "How many cover models were on the edition that featured Jennifer Pershing as the centerfold?", + "context": "create table table_1566852_10 (cover_model varchar, centerfold_model varchar, PRIMARY KEY (cover_model))", + "answer": "select count(cover_model) from table_1566852_10 where centerfold_model = \"jennifer pershing\"" + }, + { + "question": "Find the names of the chip models that are not used by any phone with full accreditation type.", + "context": "create table chip_model (model_name varchar, chip_model varchar, accreditation_type varchar, PRIMARY KEY (model_name)); create table phone (model_name varchar, chip_model varchar, accreditation_type varchar, PRIMARY KEY (model_name))", + "answer": "select model_name from chip_model except select chip_model from phone where accreditation_type = 'full'" + }, + { + "question": "Name the broadcast date for run timke of 25:04", + "context": "create table table_2102782_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2102782_1 where run_time = \"25:04\"" + }, + { + "question": "available subnets leading total is?", + "context": "create table table_149426_4 (available_subnets integer, PRIMARY KEY (available_subnets))", + "answer": "select max(available_subnets) from table_149426_4" + }, + { + "question": "Name the guest judge for first audition date being july 9, 2009", + "context": "create table table_22897967_1 (guest_judge varchar, first_audition_date varchar, PRIMARY KEY (guest_judge))", + "answer": "select count(guest_judge) from table_22897967_1 where first_audition_date = \"july 9, 2009\"" + }, + { + "question": "Show the location with most number of train stations.", + "context": "create table station (location varchar, PRIMARY KEY (location))", + "answer": "select location from station group by location order by count(*) desc limit 1" + }, + { + "question": "What are the names of teams that do no have match season record?", + "context": "create table match_season (name varchar, team_id varchar, team varchar, PRIMARY KEY (name)); create table team (name varchar, team_id varchar, team varchar, PRIMARY KEY (name))", + "answer": "select name from team where not team_id in (select team from match_season)" + }, + { + "question": "Who won the regular season when Missouri Valley Conference took place?", + "context": "create table table_22779004_1 (regular_season_winner varchar, conference varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_22779004_1 where conference = \"missouri valley conference\"" + }, + { + "question": "Find the titles of all movies directed by steven spielberg.", + "context": "create table movie (title varchar, director varchar, PRIMARY KEY (title))", + "answer": "select title from movie where director = 'steven spielberg'" + }, + { + "question": "What was the description when the viewers selected Nan?", + "context": "create table table_15162503_1 (description varchar, viewers_selection varchar, PRIMARY KEY (description))", + "answer": "select description from table_15162503_1 where viewers_selection = \"nan\"" + }, + { + "question": "What was the main legion base for the Romans when the notes were \"primigenia goddess of fate. xx in batavi revolt\"?", + "context": "create table table_242785_3 (main_legion_base varchar, notes varchar, PRIMARY KEY (main_legion_base))", + "answer": "select main_legion_base from table_242785_3 where notes = \"primigenia goddess of fate. xx in batavi revolt\"" + }, + { + "question": "What is the id, name and IATA code of the airport that had most number of flights?", + "context": "create table airport (id varchar, name varchar, iata varchar, PRIMARY KEY (id)); create table flight (id varchar, airport_id varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t1.name, t1.iata from airport as t1 join flight as t2 on t1.id = t2.airport_id group by t2.id order by count(*) desc limit 1" + }, + { + "question": "When was the date of vacancy for the manager of Kartalspor?", + "context": "create table table_27091128_3 (date_of_vacancy varchar, team varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_27091128_3 where team = \"kartalspor\"" + }, + { + "question": "How many debit cards do we have?", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select count(*) from customers_cards where card_type_code = \"debit\"" + }, + { + "question": "Who is performing in the back stage position for the song \"Der Kapitan\"? Show the first name and last name.", + "context": "create table band (firstname varchar, lastname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, songid varchar, stageposition varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select t2.firstname, t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = \"der kapitan\" and t1.stageposition = \"back\"" + }, + { + "question": "Name the total number of period for yvon le roux", + "context": "create table table_24565004_13 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select count(period) from table_24565004_13 where name = \"yvon le roux\"" + }, + { + "question": "For the area which was 9.1 in October 2010, what is the figure for October 2012?", + "context": "create table table_21531764_1 (october_2012 varchar, october_2010 varchar, PRIMARY KEY (october_2012))", + "answer": "select october_2012 from table_21531764_1 where october_2010 = \"9.1\"" + }, + { + "question": "If the opponent is the Stampeders, what is the record?", + "context": "create table table_23916539_3 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23916539_3 where opponent = \"stampeders\"" + }, + { + "question": "How many marriages between women have % same-sex marriages of 1.06?", + "context": "create table table_19614212_1 (marriages_between_women varchar, _percentage_same_sex_marriages varchar, PRIMARY KEY (marriages_between_women))", + "answer": "select marriages_between_women from table_19614212_1 where _percentage_same_sex_marriages = \"1.06\"" + }, + { + "question": "What is the airport name for airport 'AKO'?", + "context": "create table airports (airportname varchar, airportcode varchar, PRIMARY KEY (airportname))", + "answer": "select airportname from airports where airportcode = \"ako\"" + }, + { + "question": "What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?", + "context": "create table table_1610496_3 (gdp_adjusted__$_billions_ varchar, gdp_nominal__$_billions_ varchar, PRIMARY KEY (gdp_adjusted__$_billions_))", + "answer": "select gdp_adjusted__$_billions_ from table_1610496_3 where gdp_nominal__$_billions_ = \"8.43\"" + }, + { + "question": "What country has a P of GK?", + "context": "create table table_17596418_4 (country varchar, p varchar, PRIMARY KEY (country))", + "answer": "select country from table_17596418_4 where p = \"gk\"" + }, + { + "question": "Name the proto oceanic for *fafine", + "context": "create table table_15568886_14 (proto_oceanic varchar, proto_polynesian varchar, PRIMARY KEY (proto_oceanic))", + "answer": "select proto_oceanic from table_15568886_14 where proto_polynesian = \"*fafine\"" + }, + { + "question": "Who directed all the episodes that were written by aaron ehasz & john o'bryan?", + "context": "create table table_14562722_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_14562722_1 where written_by = \"aaron ehasz & john o'bryan\"" + }, + { + "question": "Name the total number of serial number for 24 wd no", + "context": "create table table_20236726_2 (serial_no varchar, wd_no varchar, PRIMARY KEY (serial_no))", + "answer": "select count(serial_no) from table_20236726_2 where wd_no = 24" + }, + { + "question": "Who is GTU Winning Team's #27 Don Lindley's TO Winning Team?", + "context": "create table table_13657749_2 (to_winning_team varchar, gtu_winning_team varchar, PRIMARY KEY (to_winning_team))", + "answer": "select to_winning_team from table_13657749_2 where gtu_winning_team = \"#27 don lindley\"" + }, + { + "question": "What are the shipping agent names?", + "context": "create table ref_shipping_agents (shipping_agent_name varchar, PRIMARY KEY (shipping_agent_name))", + "answer": "select shipping_agent_name from ref_shipping_agents" + }, + { + "question": "Name the mandate for list pct 12.39%", + "context": "create table table_14834801_1 (mandate varchar, list_pct varchar, PRIMARY KEY (mandate))", + "answer": "select mandate from table_14834801_1 where list_pct = \"12.39%\"" + }, + { + "question": "Which team did the player have who had 27 total carries?", + "context": "create table table_20938922_2 (team varchar, carries varchar, PRIMARY KEY (team))", + "answer": "select team from table_20938922_2 where carries = 27" + }, + { + "question": "How many points did the opponents score at the game in Knoxville?", + "context": "create table table_22903773_2 (opp_points integer, location varchar, PRIMARY KEY (opp_points))", + "answer": "select min(opp_points) from table_22903773_2 where location = \"knoxville\"" + }, + { + "question": "What is the id of the reviewer whose name has substring \u201cMike\u201d?", + "context": "create table reviewer (rid varchar, name varchar, PRIMARY KEY (rid))", + "answer": "select rid from reviewer where name like \"%mike%\"" + }, + { + "question": "When 25 are willing to take risks, what is the experts view?", + "context": "create table table_1855342_5 (experts_view integer, willing_to_take_risks varchar, PRIMARY KEY (experts_view))", + "answer": "select min(experts_view) from table_1855342_5 where willing_to_take_risks = 25" + }, + { + "question": "What is the arrival time of greenbat", + "context": "create table table_142159_1 (arrival integer, name varchar, PRIMARY KEY (arrival))", + "answer": "select max(arrival) from table_142159_1 where name = \"greenbat\"" + }, + { + "question": "When \u0645\u0648\u0633\u0645 \u0632\u064a\u062a\u0648\u0646 is the arabic title when is the year (ceremony)?", + "context": "create table table_26555737_1 (year__ceremony_ varchar, arabic_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_26555737_1 where arabic_title = \"\u0645\u0648\u0633\u0645 \u0632\u064a\u062a\u0648\u0646\"" + }, + { + "question": "Who led with the highest points during the game against Indiana?", + "context": "create table table_23286158_9 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23286158_9 where team = \"indiana\"" + }, + { + "question": "What is the location for the team name of eagles?", + "context": "create table table_24195232_1 (location varchar, team_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_24195232_1 where team_name = \"eagles\"" + }, + { + "question": "Show the location codes and the number of documents in each location.", + "context": "create table document_locations (location_code varchar, PRIMARY KEY (location_code))", + "answer": "select location_code, count(*) from document_locations group by location_code" + }, + { + "question": "How many employees have certificate.", + "context": "create table certificate (eid varchar, PRIMARY KEY (eid))", + "answer": "select count(distinct eid) from certificate" + }, + { + "question": "what's the\u00a0original air date\u00a0where\u00a0written by\u00a0is iain morris & damon beesley", + "context": "create table table_11589522_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11589522_3 where written_by = \"iain morris & damon beesley\"" + }, + { + "question": "What is the location for tournament on Jul 8-11?", + "context": "create table table_26144632_1 (location varchar, dates varchar, PRIMARY KEY (location))", + "answer": "select location from table_26144632_1 where dates = \"jul 8-11\"" + }, + { + "question": "What country is the contestant from Chihuahua from?", + "context": "create table table_20754016_2 (country varchar, hometown varchar, PRIMARY KEY (country))", + "answer": "select country from table_20754016_2 where hometown = \"chihuahua\"" + }, + { + "question": "List the employees who have not showed up in any circulation history of documents. List the employee's name.", + "context": "create table circulation_history (employee_name varchar, PRIMARY KEY (employee_name)); create table employees (employee_name varchar, PRIMARY KEY (employee_name))", + "answer": "select employee_name from employees except select employees.employee_name from employees join circulation_history on circulation_history.employee_id = employees.employee_id" + }, + { + "question": "What is the title when 18.58 u.s. viewers (millions) watched?", + "context": "create table table_18217741_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_18217741_1 where us_viewers__millions_ = \"18.58\"" + }, + { + "question": "display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working.", + "context": "create table countries (country_name varchar, country_id varchar, PRIMARY KEY (country_name)); create table departments (department_id varchar, location_id varchar, PRIMARY KEY (department_id)); create table locations (location_id varchar, country_id varchar, PRIMARY KEY (location_id)); create table employees (first_name varchar, last_name varchar, employee_id varchar, department_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t1.last_name, t1.employee_id, t4.country_name from employees as t1 join departments as t2 on t1.department_id = t2.department_id join locations as t3 on t2.location_id = t3.location_id join countries as t4 on t3.country_id = t4.country_id" + }, + { + "question": "Who were the directors of the film submitted with the title Young T\u00f6rless?", + "context": "create table table_10874596_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select director from table_10874596_1 where film_title_used_in_nomination = \"young t\u00f6rless\"" + }, + { + "question": "Which TV network has a country of origin of Iran?", + "context": "create table table_29799700_2 (tv_network_s_ varchar, country varchar, PRIMARY KEY (tv_network_s_))", + "answer": "select tv_network_s_ from table_29799700_2 where country = \"iran\"" + }, + { + "question": "which train name arrives in lonavla at 17:45", + "context": "create table table_29301050_1 (train_name varchar, arrival_lonavla varchar, PRIMARY KEY (train_name))", + "answer": "select train_name from table_29301050_1 where arrival_lonavla = \"17:45\"" + }, + { + "question": "When there was a bye in the round of 32, what was the result in the round of 16?", + "context": "create table table_1745820_5 (semifinals varchar, round_of_32 varchar, PRIMARY KEY (semifinals))", + "answer": "select semifinals from table_1745820_5 where round_of_32 = \"bye\"" + }, + { + "question": "Which driver won at the Sachsenring circuit?", + "context": "create table table_1140114_5 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140114_5 where circuit = \"sachsenring\"" + }, + { + "question": "How many upstream speeds are there for downstream of 20 mbit/s and bandwidth of 40 gb?", + "context": "create table table_17304621_14 (upstream varchar, downstream varchar, bandwidth varchar, PRIMARY KEY (upstream))", + "answer": "select count(upstream) from table_17304621_14 where downstream = \"20 mbit/s\" and bandwidth = \"40 gb\"" + }, + { + "question": "Where was the attempt on the Prime Minister of Sri Lanka's life made?", + "context": "create table table_251272_4 (location varchar, title_at_the_time varchar, PRIMARY KEY (location))", + "answer": "select location from table_251272_4 where title_at_the_time = \"prime minister of sri lanka\"" + }, + { + "question": "Name the rank on channel for january 21, 2011", + "context": "create table table_26493520_3 (rank_on_channel varchar, original_air_date varchar, PRIMARY KEY (rank_on_channel))", + "answer": "select rank_on_channel from table_26493520_3 where original_air_date = \"january 21, 2011\"" + }, + { + "question": "what are all the playoffs for regular season is 1st, atlantic division", + "context": "create table table_1046170_5 (playoffs varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1046170_5 where regular_season = \"1st, atlantic division\"" + }, + { + "question": "How many films are titled \"Dans la Ville Blanche\"?", + "context": "create table table_22034853_1 (film_title_used_in_nomination varchar, original_title varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select count(film_title_used_in_nomination) from table_22034853_1 where original_title = \"dans la ville blanche\"" + }, + { + "question": "Which aorist has imperfect form of bijasmo / bejasmo / besmo?", + "context": "create table table_27298240_26 (aorist varchar, imperfect varchar, PRIMARY KEY (aorist))", + "answer": "select aorist from table_27298240_26 where imperfect = \"bijasmo / bejasmo / besmo\"" + }, + { + "question": "Show the location codes with at least 3 documents.", + "context": "create table document_locations (location_code varchar, PRIMARY KEY (location_code))", + "answer": "select location_code from document_locations group by location_code having count(*) >= 3" + }, + { + "question": "What teams drafted players that played for northwood school?", + "context": "create table table_10960039_6 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_10960039_6 where college = \"northwood\"" + }, + { + "question": "What is the English word for the Russian words loshad, kobyla (\u043b\u043e\u0448\u0430\u0434\u044c, \u043a\u043e\u0431\u044b\u043b\u0430)?", + "context": "create table table_15040_8 (english varchar, russian varchar, PRIMARY KEY (english))", + "answer": "select english from table_15040_8 where russian = \"loshad, kobyla (\u043b\u043e\u0448\u0430\u0434\u044c, \u043a\u043e\u0431\u044b\u043b\u0430)\"" + }, + { + "question": "Name the race 1 when race 3 is 8", + "context": "create table table_15530244_5 (race_1 varchar, race_3 varchar, PRIMARY KEY (race_1))", + "answer": "select race_1 from table_15530244_5 where race_3 = \"8\"" + }, + { + "question": "The episode which originally aired on December 17, 2004 was written by whom?", + "context": "create table table_228973_11 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_228973_11 where original_air_date = \"december 17, 2004\"" + }, + { + "question": "Who is the kitmaker for TPS?", + "context": "create table table_25129482_1 (kitmaker varchar, club varchar, PRIMARY KEY (kitmaker))", + "answer": "select kitmaker from table_25129482_1 where club = \"tps\"" + }, + { + "question": "Name the parent unit for josef priller", + "context": "create table table_28342423_1 (parent_unit varchar, commanding_officer varchar, PRIMARY KEY (parent_unit))", + "answer": "select parent_unit from table_28342423_1 where commanding_officer = \"josef priller\"" + }, + { + "question": "What party is thomas foglietta from?", + "context": "create table table_1341472_40 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341472_40 where incumbent = \"thomas foglietta\"" + }, + { + "question": "Who was the challenger when guillaume brahimi was the iron chef?", + "context": "create table table_29281529_2 (challenger varchar, iron_chef varchar, PRIMARY KEY (challenger))", + "answer": "select challenger from table_29281529_2 where iron_chef = \"guillaume brahimi\"" + }, + { + "question": "What date was parliament assembled when John rudhale was first member?", + "context": "create table table_15451122_2 (assembled varchar, first_member varchar, PRIMARY KEY (assembled))", + "answer": "select assembled from table_15451122_2 where first_member = \"john rudhale\"" + }, + { + "question": "list all the names of programs, ordering by launch time.", + "context": "create table program (name varchar, launch varchar, PRIMARY KEY (name))", + "answer": "select name from program order by launch" + }, + { + "question": "give the 1st leg score against ilisiakos", + "context": "create table table_21434618_1 (team__number2 varchar, PRIMARY KEY (team__number2))", + "answer": "select 1 as st_leg from table_21434618_1 where team__number2 = \"ilisiakos\"" + }, + { + "question": "Which source shows Blackberry at 2.9%?", + "context": "create table table_11381701_3 (source varchar, blackberry varchar, PRIMARY KEY (source))", + "answer": "select source from table_11381701_3 where blackberry = \"2.9%\"" + }, + { + "question": "What is the size when the frame is bigger than for 4096.0", + "context": "create table table_1251878_3 (aspect_ratio varchar, width integer, PRIMARY KEY (aspect_ratio))", + "answer": "select aspect_ratio from table_1251878_3 where width > 4096.0" + }, + { + "question": "Who was the artist who worked on the stories published in 1966?", + "context": "create table table_23963073_1 (artist varchar, date_of_publication varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_23963073_1 where date_of_publication = 1966" + }, + { + "question": "What is Segment B for series episode 12-08?", + "context": "create table table_15187735_12 (segment_b varchar, series_ep varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_12 where series_ep = \"12-08\"" + }, + { + "question": "what's the\u00a0species in the world\u00a0with\u00a0peruvian amazon vs. peru (percent)\u00a0 of 63", + "context": "create table table_11727969_1 (species_in_the_world varchar, peruvian_amazon_vs_peru__percent_ varchar, PRIMARY KEY (species_in_the_world))", + "answer": "select species_in_the_world from table_11727969_1 where peruvian_amazon_vs_peru__percent_ = 63" + }, + { + "question": "Please show the different record companies and the corresponding number of orchestras.", + "context": "create table orchestra (record_company varchar, PRIMARY KEY (record_company))", + "answer": "select record_company, count(*) from orchestra group by record_company" + }, + { + "question": "How many titles/sources have a developer of Clover Studio?", + "context": "create table table_26538035_1 (title_and_source varchar, developer varchar, PRIMARY KEY (title_and_source))", + "answer": "select count(title_and_source) from table_26538035_1 where developer = \"clover studio\"" + }, + { + "question": "Which high school is located in Kyoto?", + "context": "create table table_2518850_4 (high_school_name varchar, prefecture varchar, PRIMARY KEY (high_school_name))", + "answer": "select high_school_name from table_2518850_4 where prefecture = \"kyoto\"" + }, + { + "question": "How many weeks was France at #1?", + "context": "create table table_27441210_12 (weeks_at__number1 integer, country varchar, PRIMARY KEY (weeks_at__number1))", + "answer": "select max(weeks_at__number1) from table_27441210_12 where country = \"france\"" + }, + { + "question": "What are the names that had a finalist score of 2?", + "context": "create table table_14286908_1 (school varchar, finalists varchar, PRIMARY KEY (school))", + "answer": "select school from table_14286908_1 where finalists = 2" + }, + { + "question": "What are the profits (in billions) where the assets are 192.8 billion?", + "context": "create table table_1682026_3 (profits__billion_$_ varchar, assets__billion_$_ varchar, PRIMARY KEY (profits__billion_$_))", + "answer": "select profits__billion_$_ from table_1682026_3 where assets__billion_$_ = \"192.8\"" + }, + { + "question": "How many constructors are listed for the XVI BRDC international trophy race", + "context": "create table table_1140103_6 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))", + "answer": "select count(constructor) from table_1140103_6 where race_name = \"xvi brdc international trophy\"" + }, + { + "question": "What are the resident details containing the substring 'Miss'?", + "context": "create table residents (other_details varchar, PRIMARY KEY (other_details))", + "answer": "select other_details from residents where other_details like '%miss%'" + }, + { + "question": "what is the vehicle code where the bore is 79.4?", + "context": "create table table_23722304_2 (vehicle_code varchar, bore__mm_ varchar, PRIMARY KEY (vehicle_code))", + "answer": "select vehicle_code from table_23722304_2 where bore__mm_ = \"79.4\"" + }, + { + "question": "What is the deficit (-surplus) of the country who use 5.2% of the world demand of uranium?", + "context": "create table table_15624586_2 (deficit___surplus_ varchar, _percentage_of_world_demand varchar, PRIMARY KEY (deficit___surplus_))", + "answer": "select deficit___surplus_ from table_15624586_2 where _percentage_of_world_demand = \"5.2%\"" + }, + { + "question": "What is the Burmese term for Thursday?", + "context": "create table table_14850099_18 (burmese varchar, english varchar, PRIMARY KEY (burmese))", + "answer": "select burmese from table_14850099_18 where english = \"thursday\"" + }, + { + "question": "Which episodes did Katie Palmer write?", + "context": "create table table_27823058_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_27823058_1 where written_by = \"katie palmer\"" + }, + { + "question": "what is the number of teams where conmebol 1996 did not qualify?", + "context": "create table table_14310205_1 (team varchar, conmebol_1996 varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_14310205_1 where conmebol_1996 = \"did not qualify\"" + }, + { + "question": "When 4744 is the avg. trips per mile (x1000) what is the current stock?", + "context": "create table table_17839_1 (current_stock varchar, avg_trips_per_mile__\u00d71000_ varchar, PRIMARY KEY (current_stock))", + "answer": "select current_stock from table_17839_1 where avg_trips_per_mile__\u00d71000_ = 4744" + }, + { + "question": "When \u0440\u044b\u0431\u0430 (r\u00fdba) is the belarusian how many slovenes are there?", + "context": "create table table_26757_4 (slovene varchar, belarusian varchar, PRIMARY KEY (slovene))", + "answer": "select count(slovene) from table_26757_4 where belarusian = \"\u0440\u044b\u0431\u0430 (r\u00fdba)\"" + }, + { + "question": "Which product has been ordered most number of times?", + "context": "create table products (product_details varchar, product_id varchar, PRIMARY KEY (product_details)); create table order_items (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t2.product_details from order_items as t1 join products as t2 on t1.product_id = t2.product_id group by t1.product_id order by count(*) desc limit 1" + }, + { + "question": "what are all the\u00a0registrations\u00a0where\u00a0location\u00a0is yaxley", + "context": "create table table_11934032_1 (registrations varchar, location varchar, PRIMARY KEY (registrations))", + "answer": "select registrations from table_11934032_1 where location = \"yaxley\"" + }, + { + "question": "What position did Nell McAndrew finish?", + "context": "create table table_14345690_2 (finished varchar, celebrity varchar, PRIMARY KEY (finished))", + "answer": "select finished from table_14345690_2 where celebrity = \"nell mcandrew\"" + }, + { + "question": "How many officers o/s were there on the day when the number of USAAF was 2373882?", + "context": "create table table_23508196_2 (officers_o_s integer, total_usaaf varchar, PRIMARY KEY (officers_o_s))", + "answer": "select max(officers_o_s) from table_23508196_2 where total_usaaf = 2373882" + }, + { + "question": "Show all school names in alphabetical order.", + "context": "create table school (school_name varchar, PRIMARY KEY (school_name))", + "answer": "select school_name from school order by school_name" + }, + { + "question": "Name the total number of opponent in the final for 6\u20132, 6\u20131, 6\u20133", + "context": "create table table_23235767_4 (opponent_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponent_in_the_final))", + "answer": "select count(opponent_in_the_final) from table_23235767_4 where score_in_the_final = \"6\u20132, 6\u20131, 6\u20133\"" + }, + { + "question": "How many Patent outcomes are generated from all the projects?", + "context": "create table project_outcomes (outcome_code varchar, PRIMARY KEY (outcome_code))", + "answer": "select count(*) from project_outcomes where outcome_code = 'patent'" + }, + { + "question": "Which distinct source system code includes the substring 'en'?", + "context": "create table cmi_cross_references (source_system_code varchar, PRIMARY KEY (source_system_code))", + "answer": "select distinct source_system_code from cmi_cross_references where source_system_code like '%en%'" + }, + { + "question": "If Powershell (alias) is cpi, copy, cp, what are all corresponding descriptions.", + "context": "create table table_14465871_1 (description varchar, powershell__alias_ varchar, PRIMARY KEY (description))", + "answer": "select description from table_14465871_1 where powershell__alias_ = \"cpi, copy, cp\"" + }, + { + "question": "how many\u00a0height m ( ft )\u00a0with\u00a0notes\u00a0being via wccv; formerly w236aj", + "context": "create table table_13998897_1 (height_m___ft__ varchar, notes varchar, PRIMARY KEY (height_m___ft__))", + "answer": "select count(height_m___ft__) from table_13998897_1 where notes = \"via wccv; formerly w236aj\"" + }, + { + "question": "Which parliament is sylvia lim swee lian?", + "context": "create table table_1889233_2 (parliament varchar, name varchar, PRIMARY KEY (parliament))", + "answer": "select parliament from table_1889233_2 where name = \"sylvia lim swee lian\"" + }, + { + "question": "what is mon 23 aug when fri 27 aug is 18' 59.25 119.226mph?", + "context": "create table table_26986076_2 (mon_23_aug varchar, fri_27_aug varchar, PRIMARY KEY (mon_23_aug))", + "answer": "select mon_23_aug from table_26986076_2 where fri_27_aug = \"18' 59.25 119.226mph\"" + }, + { + "question": "How many distinct FDA approval statuses are there for the medicines?", + "context": "create table medicine (fda_approved varchar, PRIMARY KEY (fda_approved))", + "answer": "select count(distinct fda_approved) from medicine" + }, + { + "question": "What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?", + "context": "create table table_15416002_1 (chi varchar, nhc_advisory_number varchar, PRIMARY KEY (chi))", + "answer": "select chi from table_15416002_1 where nhc_advisory_number = \"49b\"" + }, + { + "question": "What is the maximum number of 1st places for the country with exactly 1 third place?", + "context": "create table table_2876467_3 (first_place integer, third_place varchar, PRIMARY KEY (first_place))", + "answer": "select max(first_place) from table_2876467_3 where third_place = 1" + }, + { + "question": "When 64 is the entries what is the winning boat?", + "context": "create table table_24673710_1 (winning_boat varchar, entries varchar, PRIMARY KEY (winning_boat))", + "answer": "select winning_boat from table_24673710_1 where entries = 64" + }, + { + "question": "Find the title of course that is provided by both Statistics and Psychology departments.", + "context": "create table course (title varchar, dept_name varchar, PRIMARY KEY (title))", + "answer": "select title from course where dept_name = 'statistics' intersect select title from course where dept_name = 'psychology'" + }, + { + "question": "When 1546 is inns of court and chancery what is the finsbury division?", + "context": "create table table_16677738_1 (finsbury_division varchar, inns_of_court_and_chancery varchar, PRIMARY KEY (finsbury_division))", + "answer": "select finsbury_division from table_16677738_1 where inns_of_court_and_chancery = 1546" + }, + { + "question": "When green is the map colour what is the future stock?", + "context": "create table table_17839_1 (future_stock varchar, map_colour varchar, PRIMARY KEY (future_stock))", + "answer": "select future_stock from table_17839_1 where map_colour = \"green\"" + }, + { + "question": "What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 227.5 (19)?", + "context": "create table table_14948647_1 (bhofen_number2__rk_ varchar, ga_pa__rk_ varchar, PRIMARY KEY (bhofen_number2__rk_))", + "answer": "select bhofen_number2__rk_ from table_14948647_1 where ga_pa__rk_ = \"227.5 (19)\"" + }, + { + "question": "Who was the semi-final television commentator when the spokesperson was Colin Berry and the final television commentator was Pete Murray?", + "context": "create table table_17766232_7 (semi_final_television_commentator varchar, spokesperson varchar, final_television_commentator varchar, PRIMARY KEY (semi_final_television_commentator))", + "answer": "select semi_final_television_commentator from table_17766232_7 where spokesperson = \"colin berry\" and final_television_commentator = \"pete murray\"" + }, + { + "question": "How many episodes were written by david j. north & janet tamaro?", + "context": "create table table_27969432_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_27969432_3 where written_by = \"david j. north & janet tamaro\"" + }, + { + "question": "How many car models were produced by the maker with full name American Motor Company?", + "context": "create table car_makers (id varchar, fullname varchar, PRIMARY KEY (id)); create table model_list (maker varchar, PRIMARY KEY (maker))", + "answer": "select count(*) from car_makers as t1 join model_list as t2 on t1.id = t2.maker where t1.fullname = 'american motor company'" + }, + { + "question": "Who was the loan club for the Westlake game?", + "context": "create table table_12608427_8 (loan_club varchar, name varchar, PRIMARY KEY (loan_club))", + "answer": "select loan_club from table_12608427_8 where name = \"westlake\"" + }, + { + "question": "What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?", + "context": "create table table_17516922_1 (pregame_analysts varchar, sideline_reporters varchar, network varchar, PRIMARY KEY (pregame_analysts))", + "answer": "select pregame_analysts from table_17516922_1 where sideline_reporters = \"rob stone and monica gonzalez\" and network = \"tsn2\"" + }, + { + "question": "Name the old bulgarian names for yuni", + "context": "create table table_15275060_1 (old_bulgarian_names varchar, yuni varchar, transliteration varchar, PRIMARY KEY (old_bulgarian_names))", + "answer": "select old_bulgarian_names from table_15275060_1 where bulgarian_name(transliteration) = yuni" + }, + { + "question": "Name the total number of index weighting % at 17 january 2013 for bouygues", + "context": "create table table_168274_1 (index_weighting___percentage__at_17_january_2013 varchar, company varchar, PRIMARY KEY (index_weighting___percentage__at_17_january_2013))", + "answer": "select count(index_weighting___percentage__at_17_january_2013) from table_168274_1 where company = \"bouygues\"" + }, + { + "question": "What word is listed under part 2 for part 4 *ridanaz?", + "context": "create table table_1745843_2 (part_2 varchar, part_4 varchar, PRIMARY KEY (part_2))", + "answer": "select part_2 from table_1745843_2 where part_4 = \"*ridanaz\"" + }, + { + "question": "What group was in office when the term ended in January 3, 1993?", + "context": "create table table_197446_1 (office varchar, term_ended varchar, PRIMARY KEY (office))", + "answer": "select office from table_197446_1 where term_ended = \"january 3, 1993\"" + }, + { + "question": "What are the changes from 2009 to 2010 in Tunisia?", + "context": "create table table_14752049_2 (change__2009_to_2010_ varchar, country varchar, PRIMARY KEY (change__2009_to_2010_))", + "answer": "select change__2009_to_2010_ from table_14752049_2 where country = \"tunisia\"" + }, + { + "question": "Who directed the episode that was viewed by 2.50 million people in the U.S.?", + "context": "create table table_11820086_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11820086_1 where us_viewers__millions_ = \"2.50\"" + }, + { + "question": "How many company commanders were commissioned or elected on November 12, 1861?", + "context": "create table table_29023680_2 (company varchar, date_of_election_commission varchar, PRIMARY KEY (company))", + "answer": "select count(company) as commander from table_29023680_2 where date_of_election_commission = \"november 12, 1861\"" + }, + { + "question": "Which dogs are owned by someone who lives in Virginia? List the owner's first name and the dog's name.", + "context": "create table dogs (name varchar, owner_id varchar, PRIMARY KEY (name)); create table owners (first_name varchar, owner_id varchar, state varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t2.name from owners as t1 join dogs as t2 on t1.owner_id = t2.owner_id where t1.state = 'virginia'" + }, + { + "question": "who is beavercreek's representative", + "context": "create table table_29486189_4 (representative varchar, residence varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_29486189_4 where residence = \"beavercreek\"" + }, + { + "question": "Which vocal type has the band mate with first name \"Solveig\" played the most?", + "context": "create table vocals (bandmate varchar, PRIMARY KEY (bandmate)); create table band (id varchar, PRIMARY KEY (id))", + "answer": "select type from vocals as t1 join band as t2 on t1.bandmate = t2.id where firstname = \"solveig\" group by type order by count(*) desc limit 1" + }, + { + "question": "How many times did li ju win the womens singles and wang liqin win the mens singles?", + "context": "create table table_28138035_6 (womens_doubles varchar, womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select count(womens_doubles) from table_28138035_6 where womens_singles = \"li ju\" and mens_singles = \"wang liqin\"" + }, + { + "question": "What is the lowest value for innings?", + "context": "create table table_2985664_8 (innings integer, PRIMARY KEY (innings))", + "answer": "select min(innings) from table_2985664_8" + }, + { + "question": "What is the hometown of the player who attended American Heritage School?", + "context": "create table table_11677691_11 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_11 where school = \"american heritage school\"" + }, + { + "question": "What is the name of series episode 11-02's segment c?", + "context": "create table table_15187735_11 (segment_c varchar, series_ep varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_11 where series_ep = \"11-02\"" + }, + { + "question": "If the equation is all equal, what is the 3rd throw?", + "context": "create table table_17265535_6 (equation varchar, PRIMARY KEY (equation))", + "answer": "select 3 as rd_throw from table_17265535_6 where equation = \"all equal\"" + }, + { + "question": "What are Doug Davis' maximum pitching stats?", + "context": "create table table_19839391_3 (stats integer, pitcher varchar, PRIMARY KEY (stats))", + "answer": "select max(stats) from table_19839391_3 where pitcher = \"doug davis\"" + }, + { + "question": "What is the country that has the most perpetrators?", + "context": "create table perpetrator (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from perpetrator group by country order by count(*) desc limit 1" + }, + { + "question": "Name the year location for haruna fukuoka", + "context": "create table table_28138035_4 (year_location varchar, womens_singles varchar, PRIMARY KEY (year_location))", + "answer": "select year_location from table_28138035_4 where womens_singles = \"haruna fukuoka\"" + }, + { + "question": "What are the dimensions of the coin issued in 1992 with kim il-sung on the obverse?", + "context": "create table table_298883_5 (dimensions varchar, obverse varchar, date_of_issue varchar, PRIMARY KEY (dimensions))", + "answer": "select dimensions from table_298883_5 where obverse = \"kim il-sung\" and date_of_issue = \"1992\"" + }, + { + "question": "What is the least amount of Miss Airs any country has had?", + "context": "create table table_30008638_1 (miss_air integer, PRIMARY KEY (miss_air))", + "answer": "select min(miss_air) from table_30008638_1" + }, + { + "question": "What's the l2 cache of the model with TDP of 5.5-10 w?", + "context": "create table table_24099916_1 (l2_cache varchar, tdp varchar, PRIMARY KEY (l2_cache))", + "answer": "select l2_cache from table_24099916_1 where tdp = \"5.5-10 w\"" + }, + { + "question": "How many distinct characteristic names does the product \"cumin\" have?", + "context": "create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); 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))", + "answer": "select count(distinct t3.characteristic_name) 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 = \"sesame\"" + }, + { + "question": "Who wrote the episode directed by Ken Whittingham?", + "context": "create table table_23097214_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23097214_1 where directed_by = \"ken whittingham\"" + }, + { + "question": "What is the Burmese term associated with a cardinal direction of west?", + "context": "create table table_14850099_18 (burmese varchar, cardinal_direction varchar, PRIMARY KEY (burmese))", + "answer": "select burmese from table_14850099_18 where cardinal_direction = \"west\"" + }, + { + "question": "How many games are played for all students?", + "context": "create table sportsinfo (gamesplayed integer, PRIMARY KEY (gamesplayed))", + "answer": "select sum(gamesplayed) from sportsinfo" + }, + { + "question": "How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher?", + "context": "create table table_28037619_2 (us_viewers__million_ varchar, directed_by varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_28037619_2 where directed_by = \"roger young\" and written_by = \"debra j. fisher\"" + }, + { + "question": "What was the team record when the team was Cleveland?", + "context": "create table table_17288861_5 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17288861_5 where team = \"cleveland\"" + }, + { + "question": "How many party events do we have?", + "context": "create table party_events (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from party_events" + }, + { + "question": "What was the game edition when they played on the clay (i) surface and the outcome was a winner?", + "context": "create table table_18183850_12 (edition varchar, surface varchar, outcome varchar, PRIMARY KEY (edition))", + "answer": "select edition from table_18183850_12 where surface = \"clay (i)\" and outcome = \"winner\"" + }, + { + "question": "What was the smallest population figure for Mareeba?", + "context": "create table table_12555835_1 (population__mareeba_ integer, PRIMARY KEY (population__mareeba_))", + "answer": "select min(population__mareeba_) from table_12555835_1" + }, + { + "question": "What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?", + "context": "create table table_16105186_2 (us_national_average_electric_mix varchar, midwest__des_moines_ varchar, PRIMARY KEY (us_national_average_electric_mix))", + "answer": "select us_national_average_electric_mix from table_16105186_2 where midwest__des_moines_ = \"280 g/mi (174 g/km)\"" + }, + { + "question": "Name the name of bowl for 2006 season", + "context": "create table table_2517159_1 (name_of_bowl varchar, last_appearance varchar, PRIMARY KEY (name_of_bowl))", + "answer": "select count(name_of_bowl) from table_2517159_1 where last_appearance = \"2006 season\"" + }, + { + "question": "what's the\u00a0character name\u00a0with\u00a0voice actor (englbeingh 1998 / pioneer)\u00a0being paul dobson", + "context": "create table table_1410384_1 (character_name varchar, voice_actor__english_1998___pioneer_ varchar, PRIMARY KEY (character_name))", + "answer": "select character_name from table_1410384_1 where voice_actor__english_1998___pioneer_ = \"paul dobson\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0opponent\u00a0being peter king (r) 56.0% david mejias (d) 44.0%", + "context": "create table table_13833770_3 (incumbent varchar, opponent varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_13833770_3 where opponent = \"peter king (r) 56.0% david mejias (d) 44.0%\"" + }, + { + "question": "What were the results in the election where Albert Wynn was the incumbent?", + "context": "create table table_1341423_20 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341423_20 where incumbent = \"albert wynn\"" + }, + { + "question": "What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012?", + "context": "create table table_1598533_8 (public_debt__percentage_of_gdp__2013_q1_ varchar, gdp__percentage_of_eu__2012_ varchar, PRIMARY KEY (public_debt__percentage_of_gdp__2013_q1_))", + "answer": "select public_debt__percentage_of_gdp__2013_q1_ from table_1598533_8 where gdp__percentage_of_eu__2012_ = \"4.7%\"" + }, + { + "question": "Who has the high assists when 50-26 is the record?", + "context": "create table table_23284271_10 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23284271_10 where record = \"50-26\"" + }, + { + "question": "how many time is fri 27 aug 19' 38.87 115.219mph?", + "context": "create table table_26986076_2 (sat_29_aug varchar, fri_27_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select count(sat_29_aug) from table_26986076_2 where fri_27_aug = \"19' 38.87 115.219mph\"" + }, + { + "question": "Which makers designed more than 3 car models? List full name and the id.", + "context": "create table model_list (maker varchar, PRIMARY KEY (maker)); create table car_makers (fullname varchar, id varchar, PRIMARY KEY (fullname))", + "answer": "select t1.fullname, t1.id from car_makers as t1 join model_list as t2 on t1.id = t2.maker group by t1.id having count(*) > 3" + }, + { + "question": "What is the protein identity with a length of 5304bp/377aa?", + "context": "create table table_16849531_2 (protein_identity varchar, length__bp_aa_ varchar, PRIMARY KEY (protein_identity))", + "answer": "select protein_identity from table_16849531_2 where length__bp_aa_ = \"5304bp/377aa\"" + }, + { + "question": "What are the alternative name/s of those satellites whose nssdc id number is 1970-054a?", + "context": "create table table_191323_2 (alt_name varchar, nssdc_id_no varchar, PRIMARY KEY (alt_name))", + "answer": "select alt_name from table_191323_2 where nssdc_id_no = \"1970-054a\"" + }, + { + "question": "How many sockets are listed that have a brand name of \"Core i3-2xx7m\"?", + "context": "create table table_24538587_11 (socket varchar, brand_name__list_ varchar, PRIMARY KEY (socket))", + "answer": "select count(socket) from table_24538587_11 where brand_name__list_ = \"core i3-2xx7m\"" + }, + { + "question": "Please mention those appointment dates those are replaced by alfredo aglietti", + "context": "create table table_27114708_2 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27114708_2 where replaced_by = \"alfredo aglietti\"" + }, + { + "question": "Where was the game played when the record was 20-6-6?", + "context": "create table table_23308178_6 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_23308178_6 where record = \"20-6-6\"" + }, + { + "question": "Show different teams of technicians and the number of technicians in each team.", + "context": "create table technician (team varchar, PRIMARY KEY (team))", + "answer": "select team, count(*) from technician group by team" + }, + { + "question": "What is the muslim percentage of the 49634 population of england and wales 000?", + "context": "create table table_1532779_1 (muslim___percentage_of_total_population_ varchar, population_of_england_and_wales_000 varchar, PRIMARY KEY (muslim___percentage_of_total_population_))", + "answer": "select muslim___percentage_of_total_population_ from table_1532779_1 where population_of_england_and_wales_000 = 49634" + }, + { + "question": "In the North Central region, what are the regional page #'s?", + "context": "create table table_287659_2 (regional_page__number varchar, region_name varchar, PRIMARY KEY (regional_page__number))", + "answer": "select regional_page__number from table_287659_2 where region_name = \"north central\"" + }, + { + "question": "Where is Norco HIgh School?", + "context": "create table table_11677691_6 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_6 where school = \"norco high school\"" + }, + { + "question": "What period were conscituency contested is aljunied grc?", + "context": "create table table_1889233_2 (period_in_office varchar, constituency_contested varchar, PRIMARY KEY (period_in_office))", + "answer": "select period_in_office from table_1889233_2 where constituency_contested = \"aljunied grc\"" + }, + { + "question": "How many episodes were directed by Michael McCullers?", + "context": "create table table_25341765_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_25341765_1 where directed_by = \"michael mccullers\"" + }, + { + "question": "Name the total number of industry for maxis", + "context": "create table table_19112_3 (industry varchar, company varchar, PRIMARY KEY (industry))", + "answer": "select count(industry) from table_19112_3 where company = \"maxis\"" + }, + { + "question": "Find the detail of products whose detail contains the word \"Latte\" or the word \"Americano\"", + "context": "create table products (product_details varchar, PRIMARY KEY (product_details))", + "answer": "select product_details from products where product_details like \"%latte%\" or product_details like \"%americano%\"" + }, + { + "question": "What is the program where the focus is general management?", + "context": "create table table_12591022_2 (program varchar, focus varchar, PRIMARY KEY (program))", + "answer": "select program from table_12591022_2 where focus = \"general management\"" + }, + { + "question": "How many 1st leg have team 1 ofk belgrade?", + "context": "create table table_19294812_2 (team_1 varchar, PRIMARY KEY (team_1))", + "answer": "select count(1 as st_leg) from table_19294812_2 where team_1 = \"ofk belgrade\"" + }, + { + "question": "Show names of people whose nationality is not \"Russia\".", + "context": "create table people (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from people where nationality <> \"russia\"" + }, + { + "question": "How many GICS sectors have a free float of 0.2391?", + "context": "create table table_20667854_1 (gics_sector varchar, free_float varchar, PRIMARY KEY (gics_sector))", + "answer": "select count(gics_sector) from table_20667854_1 where free_float = \"0.2391\"" + }, + { + "question": "What team was the opponent at Mile High Stadium?", + "context": "create table table_13259009_2 (opponent varchar, game_site varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_13259009_2 where game_site = \"mile high stadium\"" + }, + { + "question": "When the standard torque (lb/ft) is 11.53 how much does more is the modified hp?", + "context": "create table table_19704392_1 (modified_hp varchar, standard_torque__lb_ft_ varchar, PRIMARY KEY (modified_hp))", + "answer": "select modified_hp from table_19704392_1 where standard_torque__lb_ft_ = \"11.53\"" + }, + { + "question": "Name the candidates for john boyle", + "context": "create table table_2668378_5 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668378_5 where incumbent = \"john boyle\"" + }, + { + "question": "What is the most common birth place of people?", + "context": "create table people (birth_place varchar, PRIMARY KEY (birth_place))", + "answer": "select birth_place from people group by birth_place order by count(*) desc limit 1" + }, + { + "question": "what is the name of the team which aggregate score is l 1\u20132", + "context": "create table table_29261823_10 (team varchar, aggregate_score varchar, PRIMARY KEY (team))", + "answer": "select team from table_29261823_10 where aggregate_score = \"l 1\u20132\"" + }, + { + "question": "Name the candidates for felix walker", + "context": "create table table_2668329_18 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668329_18 where incumbent = \"felix walker\"" + }, + { + "question": "What are the names and type codes of products?", + "context": "create table products (product_name varchar, product_type_code varchar, PRIMARY KEY (product_name))", + "answer": "select product_name, product_type_code from products" + }, + { + "question": "What is the id and detail of the vehicle used in lessons for most of the times?", + "context": "create table lessons (vehicle_id varchar, PRIMARY KEY (vehicle_id)); create table vehicles (vehicle_id varchar, vehicle_details varchar, PRIMARY KEY (vehicle_id))", + "answer": "select t1.vehicle_id, t1.vehicle_details from vehicles as t1 join lessons as t2 on t1.vehicle_id = t2.vehicle_id group by t1.vehicle_id order by count(*) desc limit 1" + }, + { + "question": "In language where Wednesday is \u0628\u0631\u06be \u0648\u0627\u0631 budh'var, what is Saturday?", + "context": "create table table_1277350_3 (saturday_shani__saturn_ varchar, wednesday_budha__mercury_ varchar, PRIMARY KEY (saturday_shani__saturn_))", + "answer": "select saturday_shani__saturn_ from table_1277350_3 where wednesday_budha__mercury_ = \"\u0628\u0631\u06be \u0648\u0627\u0631 budh'var\"" + }, + { + "question": "What is the default desktop environment when the code base is ubuntu 8.04 and edition is fluxbox ce?", + "context": "create table table_27329061_2 (default_desktop_environment varchar, code_base varchar, edition varchar, PRIMARY KEY (default_desktop_environment))", + "answer": "select default_desktop_environment from table_27329061_2 where code_base = \"ubuntu 8.04\" and edition = \"fluxbox ce\"" + }, + { + "question": "Who ran in the race for the seat of incumbent Carl W. Rich?", + "context": "create table table_1341865_37 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341865_37 where incumbent = \"carl w. rich\"" + }, + { + "question": "What is he archive for the episode with a run time of 24:05?", + "context": "create table table_2102714_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2102714_1 where run_time = \"24:05\"" + }, + { + "question": "How many students are there?", + "context": "create table student (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from student" + }, + { + "question": "What is the first name of the staff who did not give any lesson?", + "context": "create table lessons (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (first_name varchar, PRIMARY KEY (first_name)); create table staff (first_name varchar, staff_id varchar, PRIMARY KEY (first_name))", + "answer": "select first_name from staff except select t2.first_name from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id" + }, + { + "question": "Name the candidates for selah r. hobbie", + "context": "create table table_2668243_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668243_17 where incumbent = \"selah r. hobbie\"" + }, + { + "question": "Who directed the episode directed by colin teague?", + "context": "create table table_25737761_3 (writer varchar, director varchar, PRIMARY KEY (writer))", + "answer": "select writer from table_25737761_3 where director = \"colin teague\"" + }, + { + "question": "Name the number of celebrity for athlete", + "context": "create table table_14345690_4 (celebrity varchar, famous_for varchar, PRIMARY KEY (celebrity))", + "answer": "select count(celebrity) from table_14345690_4 where famous_for = \"athlete\"" + }, + { + "question": "What is the english (bcp) phrase \"for thine is the kingdom, the power\" in modern german with standard wording?", + "context": "create table table_181240_1 (modern_german__standard_wording_ varchar, english___bcp__ varchar, PRIMARY KEY (modern_german__standard_wording_))", + "answer": "select modern_german__standard_wording_ from table_181240_1 where english___bcp__ = \"for thine is the kingdom, the power\"" + }, + { + "question": "Which current venues location is Mason, Ohio?", + "context": "create table table_14903081_1 (current_venue varchar, location varchar, PRIMARY KEY (current_venue))", + "answer": "select current_venue from table_14903081_1 where location = \"mason, ohio\"" + }, + { + "question": "Name the listen owners for repairone", + "context": "create table table_2187178_1 (listed_owner_s_ varchar, primary_sponsor_s_ varchar, PRIMARY KEY (listed_owner_s_))", + "answer": "select listed_owner_s_ from table_2187178_1 where primary_sponsor_s_ = \"repairone\"" + }, + { + "question": "What is the location code with the most documents?", + "context": "create table document_locations (location_code varchar, PRIMARY KEY (location_code))", + "answer": "select location_code from document_locations group by location_code order by count(*) desc limit 1" + }, + { + "question": "What date did the DVD for season six come out in region 2?", + "context": "create table table_1067134_1 (region_2 varchar, dvd_name varchar, PRIMARY KEY (region_2))", + "answer": "select region_2 from table_1067134_1 where dvd_name = \"season six\"" + }, + { + "question": "what's the\u00a0doubles w-l\u00a0with\u00a0years played\u00a0value of 1 (1968)", + "context": "create table table_10023387_1 (doubles_w_l varchar, years_played varchar, PRIMARY KEY (doubles_w_l))", + "answer": "select doubles_w_l from table_10023387_1 where years_played = \"1 (1968)\"" + }, + { + "question": "Name the james e. holmes for joe baez", + "context": "create table table_25330991_3 (james_e_holmes varchar, rockingham_county varchar, PRIMARY KEY (james_e_holmes))", + "answer": "select james_e_holmes from table_25330991_3 where rockingham_county = \"joe baez\"" + }, + { + "question": "What was the name of the album released by Heavy Winged?", + "context": "create table table_27932399_1 (release_title varchar, artist varchar, PRIMARY KEY (release_title))", + "answer": "select release_title from table_27932399_1 where artist = \"heavy winged\"" + }, + { + "question": "what is bb - blind bear where ba - running bear is mf - mountain falcon?", + "context": "create table table_2603017_2 (bb___blind_bear varchar, ba___running_bear varchar, PRIMARY KEY (bb___blind_bear))", + "answer": "select bb___blind_bear from table_2603017_2 where ba___running_bear = \"mf - mountain falcon\"" + }, + { + "question": "Which team has dirk nowitski (13) as high rebounds?", + "context": "create table table_23284271_10 (team varchar, high_rebounds varchar, PRIMARY KEY (team))", + "answer": "select team from table_23284271_10 where high_rebounds = \"dirk nowitski (13)\"" + }, + { + "question": "How many trains have 'Express' in their names?", + "context": "create table train (name varchar, PRIMARY KEY (name))", + "answer": "select count(*) from train where name like \"%express%\"" + }, + { + "question": "how many archive were when run time is 24:34", + "context": "create table table_2112766_1 (archive varchar, run_time varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2112766_1 where run_time = \"24:34\"" + }, + { + "question": "Show member names that are not in the Progress Party.", + "context": "create table party (party_id varchar, party_name varchar, PRIMARY KEY (party_id)); create table member (member_name varchar, party_id varchar, PRIMARY KEY (member_name))", + "answer": "select t1.member_name from member as t1 join party as t2 on t1.party_id = t2.party_id where t2.party_name <> \"progress party\"" + }, + { + "question": "What's the title of the episode first seen by 18.15 million people in the US?", + "context": "create table table_22078972_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_22078972_2 where us_viewers__millions_ = \"18.15\"" + }, + { + "question": "Name the base 10 for peletier for bi llion", + "context": "create table table_260938_1 (base_10 varchar, peletier varchar, PRIMARY KEY (base_10))", + "answer": "select base_10 from table_260938_1 where peletier = \"bi llion\"" + }, + { + "question": "What is every description if NO votes is 233759?", + "context": "create table table_256286_43 (description varchar, no_votes varchar, PRIMARY KEY (description))", + "answer": "select description from table_256286_43 where no_votes = 233759" + }, + { + "question": "Which seasons were directed by Nelson McCormick?", + "context": "create table table_17355933_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_17355933_1 where directed_by = \"nelson mccormick\"" + }, + { + "question": "Name the callsign for davao mindanao region", + "context": "create table table_27914076_1 (callsign varchar, coverage varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_27914076_1 where coverage = \"davao mindanao region\"" + }, + { + "question": "Show the order ids and the number of items in each order.", + "context": "create table order_items (order_id varchar, PRIMARY KEY (order_id))", + "answer": "select order_id, count(*) from order_items group by order_id" + }, + { + "question": "Find the first name of the band mate that has performed in most songs.", + "context": "create table songs (songid varchar, PRIMARY KEY (songid)); create table band (firstname varchar, id varchar, PRIMARY KEY (firstname)); create table performance (bandmate varchar, PRIMARY KEY (bandmate))", + "answer": "select t2.firstname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid group by firstname order by count(*) desc limit 1" + }, + { + "question": "How many directors are there for the episode that had 1.59 million U.S. viewers?", + "context": "create table table_22347090_6 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_22347090_6 where us_viewers__million_ = \"1.59\"" + }, + { + "question": "Who was the director of the film with the original title of \"The Patience Stone\"?", + "context": "create table table_17155250_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_17155250_1 where original_title = \"the patience stone\"" + }, + { + "question": "What was the average speed where the total time was 1:30.4842?", + "context": "create table table_23018775_3 (avg_speed varchar, total_time varchar, PRIMARY KEY (avg_speed))", + "answer": "select avg_speed from table_23018775_3 where total_time = \"1:30.4842\"" + }, + { + "question": "What districts of Bihar have a sex ratio in 1991 of 864?", + "context": "create table table_19589113_5 (districts_of_bihar varchar, sex_ratio_\u2021_1991 varchar, PRIMARY KEY (districts_of_bihar))", + "answer": "select districts_of_bihar from table_19589113_5 where sex_ratio_\u2021_1991 = 864" + }, + { + "question": "List countries that have more than one swimmer.", + "context": "create table swimmer (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality, count(*) from swimmer group by nationality having count(*) > 1" + }, + { + "question": "If the height order is 1 and the soundfield type is mixed-order, what are all the channels?", + "context": "create table table_233830_1 (channels varchar, soundfield_type varchar, height_order varchar, PRIMARY KEY (channels))", + "answer": "select channels from table_233830_1 where soundfield_type = \"mixed-order\" and height_order = 1" + }, + { + "question": "Find the name of dorms which have TV Lounge but no Study Room as amenity.", + "context": "create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))", + "answer": "select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'tv lounge' except select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'study room'" + }, + { + "question": "Who is the manager for lootos p\u00f5lva?", + "context": "create table table_27409644_1 (manager varchar, club varchar, PRIMARY KEY (manager))", + "answer": "select manager from table_27409644_1 where club = \"lootos p\u00f5lva\"" + }, + { + "question": "what is the transliteration during the period covered is 1125-1223?", + "context": "create table table_22464685_1 (transliteration varchar, period_covered varchar, PRIMARY KEY (transliteration))", + "answer": "select transliteration from table_22464685_1 where period_covered = \"1125-1223\"" + }, + { + "question": "What is the percentage of total capacity when the energy is 120.2?", + "context": "create table table_11456251_5 (_percentage_of_total_capacity varchar, annual_energy__billion_kwh_ varchar, PRIMARY KEY (_percentage_of_total_capacity))", + "answer": "select _percentage_of_total_capacity from table_11456251_5 where annual_energy__billion_kwh_ = \"120.2\"" + }, + { + "question": "What is the abbreviation/symbol of \u8fbd\u5b81\u7701 li\u00e1on\u00edng sh\u011bng?", + "context": "create table table_254234_1 (abbreviation_symbol varchar, chinese_name varchar, PRIMARY KEY (abbreviation_symbol))", + "answer": "select abbreviation_symbol from table_254234_1 where chinese_name = \"\u8fbd\u5b81\u7701 li\u00e1on\u00edng sh\u011bng\"" + }, + { + "question": "Name the route number for rincon valley", + "context": "create table table_25692955_1 (route_number varchar, south_west_terminal varchar, PRIMARY KEY (route_number))", + "answer": "select route_number from table_25692955_1 where south_west_terminal = \"rincon valley\"" + }, + { + "question": "Name the least spirou", + "context": "create table table_15163938_1 (spirou integer, PRIMARY KEY (spirou))", + "answer": "select min(spirou) from table_15163938_1" + }, + { + "question": "How many candidates ran in the race where the incumbent is J. L. Pilcher?", + "context": "create table table_1342013_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342013_10 where incumbent = \"j. l. pilcher\"" + }, + { + "question": "What is the date of enrollment of the course named \"Spanish\"?", + "context": "create table student_course_enrolment (date_of_enrolment varchar, course_id varchar, PRIMARY KEY (date_of_enrolment)); create table courses (course_id varchar, course_name varchar, PRIMARY KEY (course_id))", + "answer": "select t2.date_of_enrolment from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id where t1.course_name = \"spanish\"" + }, + { + "question": "Name the language for villa 1167", + "context": "create table table_2509350_3 (language varchar, villa_alcal\u00e1_municipality varchar, PRIMARY KEY (language))", + "answer": "select language from table_2509350_3 where villa_alcal\u00e1_municipality = 1167" + }, + { + "question": "Who won the race at Magny-Cours", + "context": "create table table_15187794_1 (race_winner varchar, circuit varchar, PRIMARY KEY (race_winner))", + "answer": "select race_winner from table_15187794_1 where circuit = \"magny-cours\"" + }, + { + "question": "What are the distinct types of the companies that have operated any flights with velocity less than 200?", + "context": "create table flight (id varchar, PRIMARY KEY (id)); create table operate_company (type varchar, id varchar, PRIMARY KEY (type))", + "answer": "select distinct t1.type from operate_company as t1 join flight as t2 on t1.id = t2.company_id where t2.velocity < 200" + }, + { + "question": "List all the candidates for the seat where the incumbent is Sam Gibbons?", + "context": "create table table_1341472_11 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341472_11 where incumbent = \"sam gibbons\"" + }, + { + "question": "What is the engine configuration $notes 0-100km/h for the engine type b5244 t2?", + "context": "create table table_1147705_1 (engine_configuration_ varchar, _notes_0_100km_h varchar, engine_type varchar, PRIMARY KEY (engine_configuration_))", + "answer": "select engine_configuration_ & _notes_0_100km_h from table_1147705_1 where engine_type = \"b5244 t2\"" + }, + { + "question": "Name the total number of step 6 for 11 gs grade", + "context": "create table table_2319437_1 (step_6 varchar, gs_grade varchar, PRIMARY KEY (step_6))", + "answer": "select count(step_6) from table_2319437_1 where gs_grade = 11" + }, + { + "question": "What are the names of companies whose headquarters are not \"USA\"?", + "context": "create table companies (name varchar, headquarters varchar, PRIMARY KEY (name))", + "answer": "select name from companies where headquarters <> 'usa'" + }, + { + "question": "How many were written by Peter Winther?", + "context": "create table table_20704243_3 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_20704243_3 where directed_by = \"peter winther\"" + }, + { + "question": "What height was the player that played for the Rockets between 1992-93?", + "context": "create table table_11734041_1 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_1 where years_for_rockets = \"1992-93\"" + }, + { + "question": "Find names and ids of all documents with document type code BK.", + "context": "create table documents (document_name varchar, document_id varchar, document_type_code varchar, PRIMARY KEY (document_name))", + "answer": "select document_name, document_id from documents where document_type_code = \"bk\"" + }, + { + "question": "What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?", + "context": "create table visitors (tourist_id varchar, tourist_details varchar, PRIMARY KEY (tourist_id)); create table visits (visit_date varchar, tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (visit_date)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t3.visit_date from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = \"vincent\" or t2.tourist_details = \"vivian\"" + }, + { + "question": "How many department stores does the store chain South have?", + "context": "create table department_stores (dept_store_chain_id varchar, PRIMARY KEY (dept_store_chain_id)); create table department_store_chain (dept_store_chain_id varchar, dept_store_chain_name varchar, PRIMARY KEY (dept_store_chain_id))", + "answer": "select count(*) from department_stores as t1 join department_store_chain as t2 on t1.dept_store_chain_id = t2.dept_store_chain_id where t2.dept_store_chain_name = \"south\"" + }, + { + "question": "How many licenses have version 1.2.2.0?", + "context": "create table table_15038373_1 (license varchar, version varchar, PRIMARY KEY (license))", + "answer": "select count(license) from table_15038373_1 where version = \"1.2.2.0\"" + }, + { + "question": "Name the result for total attendance-regular season", + "context": "create table table_21436373_11 (result_games varchar, type_of_record varchar, PRIMARY KEY (result_games))", + "answer": "select result_games from table_21436373_11 where type_of_record = \"total attendance-regular season\"" + }, + { + "question": "What is the percentage of land area in the ecozone that the percentage protected is 7.96?", + "context": "create table table_15555661_2 (percentage_of_land_area varchar, percentage_protected varchar, PRIMARY KEY (percentage_of_land_area))", + "answer": "select percentage_of_land_area from table_15555661_2 where percentage_protected = \"7.96\"" + }, + { + "question": "How much did Jeff Burton win?", + "context": "create table table_25146455_1 (winnings varchar, driver varchar, PRIMARY KEY (winnings))", + "answer": "select winnings from table_25146455_1 where driver = \"jeff burton\"" + }, + { + "question": "Return the name and number of reservations made for each of the rooms.", + "context": "create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname))", + "answer": "select t2.roomname, count(*), t1.room from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t1.room" + }, + { + "question": "How many schools have some students playing in goalie and mid positions.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname))", + "answer": "select count(*) from (select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid')" + }, + { + "question": "Show the location code, the starting date and ending data in that location for all the documents.", + "context": "create table document_locations (location_code varchar, date_in_location_from varchar, date_in_locaton_to varchar, PRIMARY KEY (location_code))", + "answer": "select location_code, date_in_location_from, date_in_locaton_to from document_locations" + }, + { + "question": "What was the site of the game against Buffalo Bills ?", + "context": "create table table_14875671_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_14875671_1 where opponent = \"buffalo bills\"" + }, + { + "question": "If the world record is the African record, what is the 1:53.28 total number?", + "context": "create table table_24001246_2 (world_record varchar, PRIMARY KEY (world_record))", + "answer": "select count(1) as :5328 from table_24001246_2 where world_record = \"african record\"" + }, + { + "question": "Name the stacks for 1 1969 2 1995", + "context": "create table table_23958917_1 (stacks varchar, in_service_dates varchar, PRIMARY KEY (stacks))", + "answer": "select stacks from table_23958917_1 where in_service_dates = \"1 1969 2 1995\"" + }, + { + "question": "What is every trigram when direction is Northwest?", + "context": "create table table_23406517_2 (trigram varchar, direction varchar, PRIMARY KEY (trigram))", + "answer": "select trigram from table_23406517_2 where direction = \"northwest\"" + }, + { + "question": "Retrieve the country that has published the most papers.", + "context": "create table inst (country varchar, instid varchar, PRIMARY KEY (country)); create table authorship (instid varchar, paperid varchar, PRIMARY KEY (instid)); create table papers (paperid varchar, PRIMARY KEY (paperid))", + "answer": "select t1.country from inst as t1 join authorship as t2 on t1.instid = t2.instid join papers as t3 on t2.paperid = t3.paperid group by t1.country order by count(*) desc limit 1" + }, + { + "question": "Where did the games that had Wisconsin as big ten team take place?", + "context": "create table table_29535057_4 (location varchar, big_ten_team varchar, PRIMARY KEY (location))", + "answer": "select location from table_29535057_4 where big_ten_team = \"wisconsin\"" + }, + { + "question": "What are the distinct Famous release dates?", + "context": "create table artist (famous_release_date varchar, PRIMARY KEY (famous_release_date))", + "answer": "select distinct (famous_release_date) from artist" + }, + { + "question": "Name the date of report for tier 1 ratio being 3.9%", + "context": "create table table_22368322_2 (date_of_report varchar, tier_1_ratio varchar, PRIMARY KEY (date_of_report))", + "answer": "select date_of_report from table_22368322_2 where tier_1_ratio = \"3.9%\"" + }, + { + "question": "what location has team trek-livestrong?", + "context": "create table table_27887723_1 (location varchar, team varchar, PRIMARY KEY (location))", + "answer": "select location from table_27887723_1 where team = \"trek-livestrong\"" + }, + { + "question": "How many freedom indices does the country of Austria have?", + "context": "create table table_1604579_2 (country varchar, PRIMARY KEY (country))", + "answer": "select count(2013 as _press_freedom_index) from table_1604579_2 where country = \"austria\"" + }, + { + "question": "Show details of all visitors.", + "context": "create table visitors (tourist_details varchar, PRIMARY KEY (tourist_details))", + "answer": "select tourist_details from visitors" + }, + { + "question": "Which vocal type is the most frequently appearring type?", + "context": "create table vocals (type varchar, PRIMARY KEY (type))", + "answer": "select type from vocals group by type order by count(*) desc limit 1" + }, + { + "question": "what are all the\u00a0location\u00a0where\u00a0station number\u00a0is c11", + "context": "create table table_11934032_1 (location varchar, station_number varchar, PRIMARY KEY (location))", + "answer": "select location from table_11934032_1 where station_number = \"c11\"" + }, + { + "question": "How many votes did Obama have at 32.12%", + "context": "create table table_20722805_1 (obama_number integer, obama_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select min(obama_number) from table_20722805_1 where obama_percentage = \"32.12%\"" + }, + { + "question": "What is the soccer stadium with the varsity name is citadins?", + "context": "create table table_27369069_4 (soccer_stadium varchar, varsity_name varchar, PRIMARY KEY (soccer_stadium))", + "answer": "select soccer_stadium from table_27369069_4 where varsity_name = \"citadins\"" + }, + { + "question": "List the problem id and log id which are assigned to the staff named Rylan Homenick.", + "context": "create table problem_log (problem_id varchar, problem_log_id varchar, assigned_to_staff_id varchar, PRIMARY KEY (problem_id)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id))", + "answer": "select distinct t2.problem_id, t2.problem_log_id from staff as t1 join problem_log as t2 on t1.staff_id = t2.assigned_to_staff_id where t1.staff_first_name = \"rylan\" and t1.staff_last_name = \"homenick\"" + }, + { + "question": "What is the -500 number for Theo Bos?", + "context": "create table table_1912276_2 (__500m varchar, name varchar, PRIMARY KEY (__500m))", + "answer": "select __500m from table_1912276_2 where name = \"theo bos\"" + }, + { + "question": "What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?", + "context": "create table table_24765815_2 (competition varchar, vote_percentage varchar, nationality varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_24765815_2 where vote_percentage = \"n/a\" and nationality = \"brazil\"" + }, + { + "question": "Find the name of instructor who is the advisor of the student who has the highest number of total credits.", + "context": "create table student (id varchar, tot_cred varchar, PRIMARY KEY (id)); create table advisor (i_id varchar, s_id varchar, PRIMARY KEY (i_id)); create table instructor (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from advisor as t1 join instructor as t2 on t1.i_id = t2.id join student as t3 on t1.s_id = t3.id order by t3.tot_cred desc limit 1" + }, + { + "question": "What was the airdate of the episode with a UK viewership of 6.02 million?", + "context": "create table table_29063233_1 (original_air_date varchar, uk_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_29063233_1 where uk_viewers__million_ = \"6.02\"" + }, + { + "question": "what's\u00a0the mole\u00a0with\u00a0airdate\u00a0being 8 january 2009", + "context": "create table table_13036251_1 (the_mole varchar, airdate varchar, PRIMARY KEY (the_mole))", + "answer": "select the_mole from table_13036251_1 where airdate = \"8 january 2009\"" + }, + { + "question": "What is the lowest disposable USD 2011?", + "context": "create table table_24486462_1 (disposable_usd_2011 integer, PRIMARY KEY (disposable_usd_2011))", + "answer": "select min(disposable_usd_2011) from table_24486462_1" + }, + { + "question": "Which home town was the high school Catholic University located in?", + "context": "create table table_12032893_1 (home_town varchar, high_school varchar, PRIMARY KEY (home_town))", + "answer": "select home_town from table_12032893_1 where high_school = \"catholic university\"" + }, + { + "question": "when the nickname halley is used, what are the date completed", + "context": "create table table_15070195_1 (date_completed varchar, nickname varchar, PRIMARY KEY (date_completed))", + "answer": "select date_completed from table_15070195_1 where nickname = \"halley\"" + }, + { + "question": "what are all the date withdrawn for twin screw ro-ro motorship", + "context": "create table table_11662133_3 (date_withdrawn varchar, type_of_ship varchar, PRIMARY KEY (date_withdrawn))", + "answer": "select date_withdrawn from table_11662133_3 where type_of_ship = \"twin screw ro-ro motorship\"" + }, + { + "question": "Name the townland for fermoy and ballynoe", + "context": "create table table_30120664_1 (townland varchar, poor_law_union varchar, civil_parish varchar, PRIMARY KEY (townland))", + "answer": "select townland from table_30120664_1 where poor_law_union = \"fermoy\" and civil_parish = \"ballynoe\"" + }, + { + "question": "Find the names of courses taught by the tutor who has personal name \"Julio\".", + "context": "create table course_authors_and_tutors (author_id varchar, personal_name varchar, PRIMARY KEY (author_id)); create table courses (course_name varchar, author_id varchar, PRIMARY KEY (course_name))", + "answer": "select t2.course_name from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id where t1.personal_name = \"julio\"" + }, + { + "question": "What show is coming back on in July 2008", + "context": "create table table_13549921_18 (programme varchar, date_s__of_return varchar, PRIMARY KEY (programme))", + "answer": "select programme from table_13549921_18 where date_s__of_return = \"july 2008\"" + }, + { + "question": "How many different weeks are there in order number 4 that were judge's choice?", + "context": "create table table_27614707_1 (week__number varchar, theme varchar, order__number varchar, PRIMARY KEY (week__number))", + "answer": "select count(week__number) from table_27614707_1 where theme = \"judge's choice\" and order__number = \"4\"" + }, + { + "question": "List the status shared by more than two roller coaster.", + "context": "create table roller_coaster (status varchar, PRIMARY KEY (status))", + "answer": "select status from roller_coaster group by status having count(*) > 2" + }, + { + "question": "What is the maximum apogee for samos f3-3?", + "context": "create table table_12141496_1 (apogee__km_ integer, name varchar, PRIMARY KEY (apogee__km_))", + "answer": "select max(apogee__km_) from table_12141496_1 where name = \"samos f3-3\"" + }, + { + "question": "Name the last title for cuenca", + "context": "create table table_2454589_1 (last_title varchar, home_city varchar, PRIMARY KEY (last_title))", + "answer": "select last_title from table_2454589_1 where home_city = \"cuenca\"" + }, + { + "question": "Name the high points 31-27", + "context": "create table table_22669044_9 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_22669044_9 where record = \"31-27\"" + }, + { + "question": "what's the\u00a0years played\u00a0with\u00a0singles w-l\u00a0of 3\u20132", + "context": "create table table_10023387_1 (years_played varchar, singles_w_l varchar, PRIMARY KEY (years_played))", + "answer": "select years_played from table_10023387_1 where singles_w_l = \"3\u20132\"" + }, + { + "question": "Who were the 3rd couple that were viewed by 4.89 million viewers?", + "context": "create table table_25664518_4 (viewers__millions_ varchar, PRIMARY KEY (viewers__millions_))", + "answer": "select 3 as rd_couple from table_25664518_4 where viewers__millions_ = \"4.89\"" + }, + { + "question": "Who is every name for time(cet) of 09:03?", + "context": "create table table_21536557_2 (name varchar, time__cet_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_21536557_2 where time__cet_ = \"09:03\"" + }, + { + "question": "Name the entrant for benedicto campos", + "context": "create table table_21977704_1 (entrant varchar, driver varchar, PRIMARY KEY (entrant))", + "answer": "select entrant from table_21977704_1 where driver = \"benedicto campos\"" + }, + { + "question": "List the name of tracks belongs to genre Rock or genre Jazz.", + "context": "create table genres (id varchar, name varchar, PRIMARY KEY (id)); create table tracks (name varchar, genre_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from genres as t1 join tracks as t2 on t1.id = t2.genre_id where t1.name = \"rock\" or t1.name = \"jazz\"" + }, + { + "question": "What is the original air date for the episode written by Bob Goodman?", + "context": "create table table_16581695_2 (original_airdate varchar, written_by varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_16581695_2 where written_by = \"bob goodman\"" + }, + { + "question": "What is the name and country for the artist with most number of exhibitions?", + "context": "create table exhibition (artist_id varchar, PRIMARY KEY (artist_id)); create table artist (name varchar, country varchar, artist_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t2.country from exhibition as t1 join artist as t2 on t1.artist_id = t2.artist_id group by t1.artist_id order by count(*) desc limit 1" + }, + { + "question": "What is the max pressure of the .38 long colt cartridge?", + "context": "create table table_173103_1 (max_pressure varchar, cartridge varchar, PRIMARY KEY (max_pressure))", + "answer": "select max_pressure from table_173103_1 where cartridge = \".38 long colt\"" + }, + { + "question": "What shows for thurs 25 aug when fri 26 aug is 19' 30.70 116.023mph?", + "context": "create table table_30058355_2 (thurs_25_aug varchar, fri_26_aug varchar, PRIMARY KEY (thurs_25_aug))", + "answer": "select thurs_25_aug from table_30058355_2 where fri_26_aug = \"19' 30.70 116.023mph\"" + }, + { + "question": "What is every value for periselene if period is 4.947432?", + "context": "create table table_206217_2 (periselene__km_ varchar, period__h_ varchar, PRIMARY KEY (periselene__km_))", + "answer": "select periselene__km_ from table_206217_2 where period__h_ = \"4.947432\"" + }, + { + "question": "Find the first names of teachers whose email address contains the word \"man\".", + "context": "create table teachers (first_name varchar, email_address varchar, PRIMARY KEY (first_name))", + "answer": "select first_name from teachers where email_address like '%man%'" + }, + { + "question": "Name the del pueblo for red/black", + "context": "create table table_15977768_1 (del_pueblo varchar, centennial varchar, PRIMARY KEY (del_pueblo))", + "answer": "select del_pueblo from table_15977768_1 where centennial = \"red/black\"" + }, + { + "question": "Name the circuit for #47 orbit racing", + "context": "create table table_19598014_2 (circuit varchar, challenge_winning_team varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_19598014_2 where challenge_winning_team = \"#47 orbit racing\"" + }, + { + "question": "What were the years active where Asian Cup played as a captain is Qatar 1988?", + "context": "create table table_272865_20 (years_active varchar, asian_cup_played_as_a_captain varchar, PRIMARY KEY (years_active))", + "answer": "select years_active from table_272865_20 where asian_cup_played_as_a_captain = \"qatar 1988\"" + }, + { + "question": "How many albums does Billy Cobham has?", + "context": "create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (artist_id varchar, PRIMARY KEY (artist_id))", + "answer": "select count(*) from albums as t1 join artists as t2 on t1.artist_id = t2.id where t2.name = \"billy cobham\"" + }, + { + "question": "Which poll resource provided the most number of candidate information?", + "context": "create table candidate (poll_source varchar, PRIMARY KEY (poll_source))", + "answer": "select poll_source from candidate group by poll_source order by count(*) desc limit 1" + }, + { + "question": "In the year (ceremony) 1998 (71st), what are all the main languages?", + "context": "create table table_26385848_1 (main_language_s_ varchar, year__ceremony_ varchar, PRIMARY KEY (main_language_s_))", + "answer": "select main_language_s_ from table_26385848_1 where year__ceremony_ = \"1998 (71st)\"" + }, + { + "question": "What are the names of the mills which are not located in 'Donceel'?", + "context": "create table mill (name varchar, location varchar, PRIMARY KEY (name))", + "answer": "select name from mill where location <> 'donceel'" + }, + { + "question": "Who had the high points when the team was charlotte?", + "context": "create table table_27756314_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27756314_8 where team = \"charlotte\"" + }, + { + "question": "how many people work with N Rawiller", + "context": "create table table_13498403_1 (trainer varchar, jockey varchar, PRIMARY KEY (trainer))", + "answer": "select count(trainer) from table_13498403_1 where jockey = \"n rawiller\"" + }, + { + "question": "What are the complements when the commander is Major William Lloyd?", + "context": "create table table_11793221_2 (complement varchar, commander varchar, PRIMARY KEY (complement))", + "answer": "select complement from table_11793221_2 where commander = \"major william lloyd\"" + }, + { + "question": "How many division titles are there when the win pc is .558?", + "context": "create table table_19451173_1 (division_titles varchar, win_pct varchar, PRIMARY KEY (division_titles))", + "answer": "select division_titles from table_19451173_1 where win_pct = \".558\"" + }, + { + "question": "List the population density per kilometer for the city of calintaan?", + "context": "create table table_261951_1 (pop_density__per_km\u00b2_ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_261951_1 where municipality = \"calintaan\"" + }, + { + "question": "Name the replaced by for slaven belupo", + "context": "create table table_27225944_3 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27225944_3 where team = \"slaven belupo\"" + }, + { + "question": "What is the shape distortion for the range frequency of 10?", + "context": "create table table_27615520_1 (form_factor varchar, bandwidth__gb_s_ varchar, PRIMARY KEY (form_factor))", + "answer": "select form_factor from table_27615520_1 where bandwidth__gb_s_ = \"10\"" + }, + { + "question": "Name the song choice when week number is hollywood", + "context": "create table table_15796054_3 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_15796054_3 where week__number = \"hollywood\"" + }, + { + "question": "Which people had the best 10-year period when Fischer had best 15-year period?", + "context": "create table table_1710426_2 (best_10_year_period varchar, best_15_year_period varchar, PRIMARY KEY (best_10_year_period))", + "answer": "select best_10_year_period from table_1710426_2 where best_15_year_period = \"fischer\"" + }, + { + "question": "What episode was writted by John A. Norris?", + "context": "create table table_11695215_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_11695215_1 where written_by = \"john a. norris\"" + }, + { + "question": "What is the description for the budget type with code ORG?", + "context": "create table ref_budget_codes (budget_type_description varchar, budget_type_code varchar, PRIMARY KEY (budget_type_description))", + "answer": "select budget_type_description from ref_budget_codes where budget_type_code = \"org\"" + }, + { + "question": "How many locations for name of role as Xiao Gui \u5c0f\u9b3c?", + "context": "create table table_23379776_5 (location varchar, name_of_role varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_23379776_5 where name_of_role = \"xiao gui \u5c0f\u9b3c\"" + }, + { + "question": "What are the names of the workshop groups that have bookings with status code \"stop\"?", + "context": "create table bookings (workshop_group_id varchar, status_code varchar, PRIMARY KEY (workshop_group_id)); create table drama_workshop_groups (store_name varchar, workshop_group_id varchar, PRIMARY KEY (store_name))", + "answer": "select t2.store_name from bookings as t1 join drama_workshop_groups as t2 on t1.workshop_group_id = t2.workshop_group_id where t1.status_code = \"stop\"" + }, + { + "question": "List the name of technicians whose team is not \"NYY\".", + "context": "create table technician (name varchar, team varchar, PRIMARY KEY (name))", + "answer": "select name from technician where team <> \"nyy\"" + }, + { + "question": "What was the loss/gain when the votes -cast was 166?", + "context": "create table table_25818630_2 (loss_gain varchar, votes__cast varchar, PRIMARY KEY (loss_gain))", + "answer": "select loss_gain from table_25818630_2 where votes__cast = 166" + }, + { + "question": "What was the passing result for the measure with a description of bus and truck operating license bill?", + "context": "create table table_256286_19 (passed varchar, description varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_19 where description = \"bus and truck operating license bill\"" + }, + { + "question": "How many institutions are shown for the football stadium of mosaic stadium?", + "context": "create table table_27599216_6 (institution varchar, football_stadium varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_27599216_6 where football_stadium = \"mosaic stadium\"" + }, + { + "question": "What are the carriers of devices whose software platforms are not \"Android\"?", + "context": "create table device (carrier varchar, software_platform varchar, PRIMARY KEY (carrier))", + "answer": "select carrier from device where software_platform <> 'android'" + }, + { + "question": "What are the notes of the death events which has substring 'East'?", + "context": "create table death (note varchar, PRIMARY KEY (note))", + "answer": "select note from death where note like '%east%'" + }, + { + "question": "Who had the most assists in the game against Miami?", + "context": "create table table_17325937_8 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17325937_8 where team = \"miami\"" + }, + { + "question": "Name the year for reportaje a la muerte", + "context": "create table table_20963074_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_20963074_1 where original_title = \"reportaje a la muerte\"" + }, + { + "question": "Name the builder for wd number being 22", + "context": "create table table_20236726_2 (builder varchar, wd_no varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_20236726_2 where wd_no = 22" + }, + { + "question": "How many times is kenenisa bekele ( eth ) is mar\u00edlson gomes dos santos ( bra )?", + "context": "create table table_24062944_2 (world_record varchar, kenenisa_bekele___eth__ varchar, PRIMARY KEY (world_record))", + "answer": "select count(world_record) from table_24062944_2 where kenenisa_bekele___eth__ = \"mar\u00edlson gomes dos santos ( bra )\"" + }, + { + "question": "Show the most frequently used carrier of the phones.", + "context": "create table phone (carrier varchar, PRIMARY KEY (carrier))", + "answer": "select carrier from phone group by carrier order by count(*) desc limit 1" + }, + { + "question": "How many alt names does 1964-011a have?", + "context": "create table table_12141496_1 (alt_name varchar, id varchar, PRIMARY KEY (alt_name))", + "answer": "select count(alt_name) from table_12141496_1 where id = \"1964-011a\"" + }, + { + "question": "How many languages have le roman de renart as the original title?", + "context": "create table table_22073745_1 (languages varchar, original_title varchar, PRIMARY KEY (languages))", + "answer": "select count(languages) from table_22073745_1 where original_title = \"le roman de renart\"" + }, + { + "question": "What is the record when round of 32 is 0 and metro atlantic conference?", + "context": "create table table_10722506_6 (record varchar, round_of_32 varchar, conference varchar, PRIMARY KEY (record))", + "answer": "select record from table_10722506_6 where round_of_32 = 0 and conference = \"metro atlantic\"" + }, + { + "question": "What date was the participant/recipient takakazu watanabe?", + "context": "create table table_26282750_1 (date_of_ceremony varchar, participants_recipients varchar, PRIMARY KEY (date_of_ceremony))", + "answer": "select date_of_ceremony from table_26282750_1 where participants_recipients = \"takakazu watanabe\"" + }, + { + "question": "If torque is n\u00b7m (lb\u00b7ft) @1600\u20132400 rpm and applications is 2000 w90x sprinter, what is the power?", + "context": "create table table_21021796_1 (power varchar, torque varchar, applications varchar, PRIMARY KEY (power))", + "answer": "select power from table_21021796_1 where torque = \"n\u00b7m (lb\u00b7ft) @1600\u20132400 rpm\" and applications = \"2000 w90x sprinter\"" + }, + { + "question": "What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships?", + "context": "create table table_174491_1 (fis_nordic_world_ski_championships varchar, country varchar, holmenkollen varchar, PRIMARY KEY (fis_nordic_world_ski_championships))", + "answer": "select fis_nordic_world_ski_championships from table_174491_1 where country = \"norway\" and holmenkollen = \"1958\"" + }, + { + "question": "How many flights have a velocity larger than 200?", + "context": "create table flight (velocity integer, PRIMARY KEY (velocity))", + "answer": "select count(*) from flight where velocity > 200" + }, + { + "question": "Name the number of names for exeter chiefs", + "context": "create table table_22977424_8 (name varchar, promoted_from_league varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_22977424_8 where promoted_from_league = \"exeter chiefs\"" + }, + { + "question": "find the package option of the tv channel that do not have any cartoon directed by Ben Jones.", + "context": "create table cartoon (package_option varchar, id varchar, channel varchar, directed_by varchar, PRIMARY KEY (package_option)); create table tv_channel (package_option varchar, id varchar, channel varchar, directed_by varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from tv_channel where not id in (select channel from cartoon where directed_by = 'ben jones')" + }, + { + "question": "What was the source of the poll that gave McAuliffe 30% on June 8?", + "context": "create table table_21535453_1 (source varchar, terry_mcauliffe varchar, dates_administered varchar, PRIMARY KEY (source))", + "answer": "select source from table_21535453_1 where terry_mcauliffe = \"30%\" and dates_administered = \"june 8\"" + }, + { + "question": "What party does clyde t. ellis represent?", + "context": "create table table_1342256_5 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342256_5 where incumbent = \"clyde t. ellis\"" + }, + { + "question": "Which locomotives 12\" x 17\" are both ex-industrial and built by Manning Wardle?", + "context": "create table table_1157867_2 (name varchar, notes varchar, builder varchar, PRIMARY KEY (name))", + "answer": "select name from table_1157867_2 where notes = \"ex-industrial\" and builder = \"manning wardle\"" + }, + { + "question": "Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?", + "context": "create table table_29225103_2 (hp_winning_team varchar, ep_winning_team varchar, gm_winning_team varchar, PRIMARY KEY (hp_winning_team))", + "answer": "select hp_winning_team from table_29225103_2 where ep_winning_team = \"hans zereis\" and gm_winning_team = \"charles gibson\"" + }, + { + "question": "Find the id of students who do not have a cat pet.", + "context": "create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student except select t1.stuid from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat'" + }, + { + "question": "What is the number of locations with the fastest times of 11.13?", + "context": "create table table_1231316_7 (location varchar, fastest_time__s_ varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_1231316_7 where fastest_time__s_ = \"11.13\"" + }, + { + "question": "What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?", + "context": "create table table_27279050_3 (country varchar, last_current_driver_s__3_november_2013 varchar, PRIMARY KEY (country))", + "answer": "select country from table_27279050_3 where last_current_driver_s__3_november_2013 = \"daniel abt ( 2012 )\"" + }, + { + "question": "What are the ids and names of the companies that operated more than one flight?", + "context": "create table flight (id varchar, PRIMARY KEY (id)); create table operate_company (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t1.name from operate_company as t1 join flight as t2 on t1.id = t2.company_id group by t1.id having count(*) > 1" + }, + { + "question": "What is the party for richard j. welch?", + "context": "create table table_1342338_6 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342338_6 where incumbent = \"richard j. welch\"" + }, + { + "question": "What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?", + "context": "create table tourist_attractions (name varchar, location_id varchar, how_to_get_there varchar, PRIMARY KEY (name)); create table locations (location_id varchar, address varchar, PRIMARY KEY (location_id))", + "answer": "select t2.name from locations as t1 join tourist_attractions as t2 on t1.location_id = t2.location_id where t1.address = \"254 ottilie junction\" or t2.how_to_get_there = \"bus\"" + }, + { + "question": "What is the population density of mongmong-toto-maite?", + "context": "create table table_2588674_1 (pop_density integer, village varchar, PRIMARY KEY (pop_density))", + "answer": "select min(pop_density) from table_2588674_1 where village = \"mongmong-toto-maite\"" + }, + { + "question": "How many customers do we have?", + "context": "create table customers (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from customers" + }, + { + "question": "Where is the University that is also called Hawks?", + "context": "create table table_19210115_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_19210115_1 where nickname = \"hawks\"" + }, + { + "question": "What FlatSpin actor played the same role as Robert Austin?", + "context": "create table table_17827271_1 (flatspin varchar, actor_in_original_production varchar, PRIMARY KEY (flatspin))", + "answer": "select flatspin from table_17827271_1 where actor_in_original_production = \"robert austin\"" + }, + { + "question": "Return all reviewer names and movie names together in a single list.", + "context": "create table reviewer (name varchar, title varchar, PRIMARY KEY (name)); create table movie (name varchar, title varchar, PRIMARY KEY (name))", + "answer": "select name from reviewer union select title from movie" + }, + { + "question": "When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg?", + "context": "create table table_14219514_2 (home__1st_leg_ varchar, PRIMARY KEY (home__1st_leg_))", + "answer": "select count(1 as st_leg) from table_14219514_2 where home__1st_leg_ = \"altos hornos zapla\"" + }, + { + "question": "Who is the round winner when entrant is craven mild racing?", + "context": "create table table_19886463_1 (round_winner varchar, entrant varchar, PRIMARY KEY (round_winner))", + "answer": "select round_winner from table_19886463_1 where entrant = \"craven mild racing\"" + }, + { + "question": "Name the nationality who played for 1987-89?", + "context": "create table table_11545282_17 (nationality varchar, years_for_jazz varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_11545282_17 where years_for_jazz = \"1987-89\"" + }, + { + "question": "Who made the decisions in the game whose first star was V. Lecavalier?", + "context": "create table table_27537518_6 (decision varchar, first_star varchar, PRIMARY KEY (decision))", + "answer": "select decision from table_27537518_6 where first_star = \"v. lecavalier\"" + }, + { + "question": "What is the manner of departure when the replaced by is bahman hasanov?", + "context": "create table table_27057070_3 (manner_of_departure varchar, replaced_by varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27057070_3 where replaced_by = \"bahman hasanov\"" + }, + { + "question": "What is the qualifying end date when the qualifying start date is qualifying start date?", + "context": "create table table_23995075_2 (qualifying_end_date varchar, PRIMARY KEY (qualifying_end_date))", + "answer": "select qualifying_end_date from table_23995075_2 where \"qualifying_start_date\" = \"qualifying_start_date\"" + }, + { + "question": "How many papers have \"Atsushi Ohori\" published?", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid)); create table papers (paperid varchar, PRIMARY KEY (paperid))", + "answer": "select count(*) from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = \"atsushi\" and t1.lname = \"ohori\"" + }, + { + "question": "Name the 3rd stage for parameter of thrust", + "context": "create table table_16537783_2 (parameter varchar, PRIMARY KEY (parameter))", + "answer": "select 3 as rd_stage from table_16537783_2 where parameter = \"thrust\"" + }, + { + "question": "Name the fixed telephone line for 25.6% vehicle", + "context": "create table table_25042332_27 (fixed_telephone_line varchar, vehicle varchar, PRIMARY KEY (fixed_telephone_line))", + "answer": "select fixed_telephone_line from table_25042332_27 where vehicle = \"25.6%\"" + }, + { + "question": "what is the company with the parent company wrightbus?", + "context": "create table table_250309_1 (company varchar, parent_company varchar, PRIMARY KEY (company))", + "answer": "select company from table_250309_1 where parent_company = \"wrightbus\"" + }, + { + "question": "Who are the writers of the episodes directed by Justin Hartley?", + "context": "create table table_26464364_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_26464364_1 where directed_by = \"justin hartley\"" + }, + { + "question": "If the highest score is 88, what are the 50s?", + "context": "create table table_27268238_4 (highest_score varchar, PRIMARY KEY (highest_score))", + "answer": "select 50 as s from table_27268238_4 where highest_score = \"88\"" + }, + { + "question": "Name the circuit for united arab emirates", + "context": "create table table_2446333_2 (circuit varchar, country varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_2446333_2 where country = \"united arab emirates\"" + }, + { + "question": "What are the names of entrepreneurs?", + "context": "create table people (name varchar, people_id varchar, PRIMARY KEY (name)); create table entrepreneur (people_id varchar, PRIMARY KEY (people_id))", + "answer": "select t2.name from entrepreneur as t1 join people as t2 on t1.people_id = t2.people_id" + }, + { + "question": "Show names for all employees who have certificate of Boeing 737-800.", + "context": "create table employee (name varchar, eid varchar, PRIMARY KEY (name)); create table certificate (eid varchar, aid varchar, PRIMARY KEY (eid)); create table aircraft (aid varchar, name varchar, PRIMARY KEY (aid))", + "answer": "select t1.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t3.name = \"boeing 737-800\"" + }, + { + "question": "What party does sid simpson represent?", + "context": "create table table_1342198_13 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342198_13 where incumbent = \"sid simpson\"" + }, + { + "question": "Name thenames for 2002-04-01", + "context": "create table table_1585609_2 (name varchar, date_of_designation varchar, PRIMARY KEY (name))", + "answer": "select name from table_1585609_2 where date_of_designation = \"2002-04-01\"" + }, + { + "question": "How many numbers were listed under Silver Medals for Portsmouth HS?", + "context": "create table table_1305623_20 (silver_medals varchar, ensemble varchar, PRIMARY KEY (silver_medals))", + "answer": "select count(silver_medals) from table_1305623_20 where ensemble = \"portsmouth hs\"" + }, + { + "question": "How many new conferences are in the NCLL deep south conference?", + "context": "create table table_26476336_2 (new_conference varchar, new_classification varchar, PRIMARY KEY (new_conference))", + "answer": "select count(new_conference) from table_26476336_2 where new_classification = \"ncll deep south conference\"" + }, + { + "question": "Name the vcore for multi 11x", + "context": "create table table_27277284_8 (v_core varchar, mult_1 varchar, PRIMARY KEY (v_core))", + "answer": "select v_core from table_27277284_8 where mult_1 = \"11x\"" + }, + { + "question": "Find id of the candidate who most recently accessed the course?", + "context": "create table candidate_assessments (candidate_id varchar, assessment_date varchar, PRIMARY KEY (candidate_id))", + "answer": "select candidate_id from candidate_assessments order by assessment_date desc limit 1" + }, + { + "question": "Name the application for caligari corporation", + "context": "create table table_19495707_1 (application varchar, developed_by varchar, PRIMARY KEY (application))", + "answer": "select application from table_19495707_1 where developed_by = \"caligari corporation\"" + }, + { + "question": "how many\u00a0native american\u00a0with\u00a0whites\u00a0being 1.0%", + "context": "create table table_1333612_1 (native_american varchar, whites varchar, PRIMARY KEY (native_american))", + "answer": "select count(native_american) from table_1333612_1 where whites = \"1.0%\"" + }, + { + "question": "Name the singer for joe wilkinson", + "context": "create table table_29135051_2 (singer_s_ varchar, comedian varchar, PRIMARY KEY (singer_s_))", + "answer": "select singer_s_ from table_29135051_2 where comedian = \"joe wilkinson\"" + }, + { + "question": "Who won the mens singles when sayaka sato won the womens singles?", + "context": "create table table_12275551_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_12275551_1 where womens_singles = \"sayaka sato\"" + }, + { + "question": "Show all role codes with at least 3 employees.", + "context": "create table employees (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from employees group by role_code having count(*) >= 3" + }, + { + "question": "what is the name of the institution of the sparta, wi location?", + "context": "create table table_20887670_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_20887670_1 where location = \"sparta, wi\"" + }, + { + "question": "are rolled wafers in many episodes", + "context": "create table table_15187735_17 (series_ep varchar, segment_a varchar, PRIMARY KEY (series_ep))", + "answer": "select series_ep from table_15187735_17 where segment_a = \"rolled wafers\"" + }, + { + "question": "Show the distinct venues of debates", + "context": "create table debate (venue varchar, PRIMARY KEY (venue))", + "answer": "select distinct venue from debate" + }, + { + "question": "Which network was located in Illinois?", + "context": "create table table_27871460_2 (network varchar, state_or_territory varchar, PRIMARY KEY (network))", + "answer": "select network from table_27871460_2 where state_or_territory = \"illinois\"" + }, + { + "question": "Show all game names played by Linda Smith", + "context": "create table student (stuid varchar, lname varchar, fname varchar, PRIMARY KEY (stuid)); create table plays_games (gameid varchar, stuid varchar, PRIMARY KEY (gameid)); create table video_games (gameid varchar, PRIMARY KEY (gameid))", + "answer": "select gname from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid join student as t3 on t3.stuid = t1.stuid where t3.lname = \"smith\" and t3.fname = \"linda\"" + }, + { + "question": "What is the Branding for Group Owner Qantam of Cape Cod, LLC?", + "context": "create table table_10333757_1 (branding varchar, group_owner varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_10333757_1 where group_owner = \"qantam of cape cod, llc\"" + }, + { + "question": "What is the Medal of Honor with Army Distinguished Service Medal?", + "context": "create table table_2104176_1 (medal_of_honor varchar, air_force_cross varchar, PRIMARY KEY (medal_of_honor))", + "answer": "select medal_of_honor from table_2104176_1 where air_force_cross = \"army distinguished service medal\"" + }, + { + "question": "Who was the first star of the game with record of 17-11-5?", + "context": "create table table_27537518_6 (first_star varchar, record varchar, PRIMARY KEY (first_star))", + "answer": "select first_star from table_27537518_6 where record = \"17-11-5\"" + }, + { + "question": "Find the title of the course that is offered by more than one department.", + "context": "create table course (title varchar, PRIMARY KEY (title))", + "answer": "select title from course group by title having count(*) > 1" + }, + { + "question": "What was the UK broadcast date for the episode presented by Buck Henry?", + "context": "create table table_15211468_3 (uk_broadcast_date varchar, presenter varchar, PRIMARY KEY (uk_broadcast_date))", + "answer": "select uk_broadcast_date from table_15211468_3 where presenter = \"buck henry\"" + }, + { + "question": "The president, peter williamson, had how many home grounds?", + "context": "create table table_11365528_2 (home_ground varchar, president varchar, PRIMARY KEY (home_ground))", + "answer": "select count(home_ground) from table_11365528_2 where president = \"peter williamson\"" + }, + { + "question": "Show the title and director for all films.", + "context": "create table film (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title, directed_by from film" + }, + { + "question": "Show the account name, id and the number of transactions for each account.", + "context": "create table financial_transactions (account_id varchar, PRIMARY KEY (account_id)); create table accounts (account_name varchar, account_id varchar, PRIMARY KEY (account_name))", + "answer": "select t2.account_name, t1.account_id, count(*) from financial_transactions as t1 join accounts as t2 on t1.account_id = t2.account_id group by t1.account_id" + }, + { + "question": "Name the position in table for 1 july 2008 when manner of departure is resigned", + "context": "create table table_17039232_3 (position_in_table varchar, date_of_appointment varchar, manner_of_departure varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_17039232_3 where date_of_appointment = \"1 july 2008\" and manner_of_departure = \"resigned\"" + }, + { + "question": "at what location is the last flew on 11 june 2000", + "context": "create table table_1997759_1 (location varchar, last_flew varchar, PRIMARY KEY (location))", + "answer": "select location from table_1997759_1 where last_flew = \"11 june 2000\"" + }, + { + "question": "How many synthesis are there for 5~16.2 pw per cycle (calculated) output power?", + "context": "create table table_30057479_1 (synthesis varchar, output_power varchar, PRIMARY KEY (synthesis))", + "answer": "select count(synthesis) from table_30057479_1 where output_power = \"5~16.2 pw per cycle (calculated)\"" + }, + { + "question": "How many users are logged in?", + "context": "create table users (user_login varchar, PRIMARY KEY (user_login))", + "answer": "select count(*) from users where user_login = 1" + }, + { + "question": "there are in tobago species name helicops angulatus", + "context": "create table table_1850282_5 (tobago varchar, species varchar, PRIMARY KEY (tobago))", + "answer": "select tobago from table_1850282_5 where species = \"helicops angulatus\"" + }, + { + "question": "When did customer with first name as Carole and last name as Bernhard became a customer?", + "context": "create table customers (date_became_customer varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_became_customer))", + "answer": "select date_became_customer from customers where first_name = \"carole\" and last_name = \"bernhard\"" + }, + { + "question": "Which races did Paul Greifzu win?", + "context": "create table table_1140116_6 (race_name varchar, winning_driver varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_1140116_6 where winning_driver = \"paul greifzu\"" + }, + { + "question": "what's the\u00a0trim\u00a0with\u00a0fuel mileage (latest epa mpg - us )\u00a0being 22 city, 30 hwy, 25 comb", + "context": "create table table_1373768_1 (trim varchar, fuel_mileage__latest_epa_mpg___us__ varchar, PRIMARY KEY (trim))", + "answer": "select trim from table_1373768_1 where fuel_mileage__latest_epa_mpg___us__ = \"22 city, 30 hwy, 25 comb\"" + }, + { + "question": "What type of settlemen is Kru\u0161edol Selo?", + "context": "create table table_2562572_50 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_50 where settlement = \"kru\u0161edol selo\"" + }, + { + "question": "What is the number of participating parties when registered voters totaled 643629?", + "context": "create table table_2676980_4 (participating_parties varchar, registered_voters varchar, PRIMARY KEY (participating_parties))", + "answer": "select count(participating_parties) from table_2676980_4 where registered_voters = 643629" + }, + { + "question": "What are the names of the courses that have exactly 1 student enrollment?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name having count(*) = 1" + }, + { + "question": "What is the aspect ratio of the DVD released on 12/10/2009?", + "context": "create table table_1180228_1 (aspect_ratio varchar, released varchar, PRIMARY KEY (aspect_ratio))", + "answer": "select aspect_ratio from table_1180228_1 where released = \"12/10/2009\"" + }, + { + "question": "What is the title of the prerequisite class of International Finance course?", + "context": "create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id))", + "answer": "select title from course where course_id in (select t1.prereq_id from prereq as t1 join course as t2 on t1.course_id = t2.course_id where t2.title = 'international finance')" + }, + { + "question": "What's the HC for the standard with NO x of 7.0 g/kWh?", + "context": "create table table_2780146_6 (hc__g_kwh_ varchar, no_x__g_kwh_ varchar, PRIMARY KEY (hc__g_kwh_))", + "answer": "select hc__g_kwh_ from table_2780146_6 where no_x__g_kwh_ = \"7.0\"" + }, + { + "question": "Who was in 4th when in 6th is Air Traffic?", + "context": "create table table_17111812_1 (fourth varchar, sixth varchar, PRIMARY KEY (fourth))", + "answer": "select fourth from table_17111812_1 where sixth = \"air traffic\"" + }, + { + "question": "Who was the winner when the SEC team LSU played?", + "context": "create table table_20540006_6 (winner varchar, sec_team varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_20540006_6 where sec_team = \"lsu\"" + }, + { + "question": "What is the code of airport that has fewest number of flights?", + "context": "create table flights (destairport varchar, sourceairport varchar, PRIMARY KEY (destairport)); create table airports (airportcode varchar, PRIMARY KEY (airportcode))", + "answer": "select t1.airportcode from airports as t1 join flights as t2 on t1.airportcode = t2.destairport or t1.airportcode = t2.sourceairport group by t1.airportcode order by count(*) limit 1" + }, + { + "question": "Who had the high rebounds when Chris Bosh (16) had the high points?", + "context": "create table table_11960407_4 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_11960407_4 where high_points = \"chris bosh (16)\"" + }, + { + "question": "What is the team when the date of appointment is 23 march 2011?", + "context": "create table table_26914854_3 (team varchar, date_of_appointment varchar, PRIMARY KEY (team))", + "answer": "select team from table_26914854_3 where date_of_appointment = \"23 march 2011\"" + }, + { + "question": "How many passengers (in millions) flew from Seoul in 2012?", + "context": "create table table_16066063_1 (city_1 varchar, PRIMARY KEY (city_1))", + "answer": "select 2012 as _passengers__in_millions_ from table_16066063_1 where city_1 = \"seoul\"" + }, + { + "question": "What is the name of the episode performed by Essra Mohawk", + "context": "create table table_191105_4 (episode_title varchar, performed_by varchar, PRIMARY KEY (episode_title))", + "answer": "select episode_title from table_191105_4 where performed_by = \"essra mohawk\"" + }, + { + "question": "Who is the director when there is 8.44 million viewers?", + "context": "create table table_24910733_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_24910733_1 where us_viewers__millions_ = \"8.44\"" + }, + { + "question": "Name the original air date for 15.74 viewers", + "context": "create table table_19501664_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_19501664_1 where us_viewers__millions_ = \"15.74\"" + }, + { + "question": "What are the names of the drama workshop groups with address in Feliciaberg city?", + "context": "create table addresses (address_id varchar, city_town varchar, PRIMARY KEY (address_id)); create table drama_workshop_groups (store_name varchar, address_id varchar, PRIMARY KEY (store_name))", + "answer": "select t2.store_name from addresses as t1 join drama_workshop_groups as t2 on t1.address_id = t2.address_id where t1.city_town = \"feliciaberg\"" + }, + { + "question": "If the top team in regular season (points) is the New York Cosmos (200 points), what is the winner (number of titles)?", + "context": "create table table_237757_3 (winner__number_of_titles_ varchar, top_team_in_regular_season__points_ varchar, PRIMARY KEY (winner__number_of_titles_))", + "answer": "select winner__number_of_titles_ from table_237757_3 where top_team_in_regular_season__points_ = \"new york cosmos (200 points)\"" + }, + { + "question": "How many candidates were there in the election for William Jennings Bryan Dorn's seat?", + "context": "create table table_1341897_42 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341897_42 where incumbent = \"william jennings bryan dorn\"" + }, + { + "question": "What is we two where you two is ngipen?", + "context": "create table table_1015914_24 (we_two varchar, you_two varchar, PRIMARY KEY (we_two))", + "answer": "select we_two from table_1015914_24 where you_two = \"ngipen\"" + }, + { + "question": "what is the arrival time where the station code is awy?", + "context": "create table table_14688744_2 (arrival varchar, station_code varchar, PRIMARY KEY (arrival))", + "answer": "select arrival from table_14688744_2 where station_code = \"awy\"" + }, + { + "question": "where was sun 09/12/93 record made", + "context": "create table table_21436373_12 (stadium varchar, date_year varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_12 where date_year = \"sun 09/12/93\"" + }, + { + "question": "in electorate of 83850 what is the minimum s split vote", + "context": "create table table_15082102_3 (s_spoilt_vote integer, electorate varchar, PRIMARY KEY (s_spoilt_vote))", + "answer": "select min(s_spoilt_vote) from table_15082102_3 where electorate = 83850" + }, + { + "question": "What was the location when the opposition was East Coast?", + "context": "create table table_26847237_1 (location varchar, opposition varchar, PRIMARY KEY (location))", + "answer": "select location from table_26847237_1 where opposition = \"east coast\"" + }, + { + "question": "how many total number of moto2/250cc when country is united states", + "context": "create table table_2889810_2 (moto2_250cc varchar, country varchar, PRIMARY KEY (moto2_250cc))", + "answer": "select count(moto2_250cc) from table_2889810_2 where country = \"united states\"" + }, + { + "question": "What is the name of the team song written by ken walther?", + "context": "create table table_28243323_1 (basis_for_team_song varchar, writer_composer varchar, PRIMARY KEY (basis_for_team_song))", + "answer": "select basis_for_team_song from table_28243323_1 where writer_composer = \"ken walther\"" + }, + { + "question": "what's the\u00a0others%\u00a0with\u00a0parbeingh\u00a0being tangipahoa", + "context": "create table table_13608101_1 (others_percentage varchar, parish varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_13608101_1 where parish = \"tangipahoa\"" + }, + { + "question": "If the horizontal bar is n/a and the floor is 14.175, what is the number for the parallel bars?", + "context": "create table table_18662026_10 (parallel_bars varchar, floor varchar, horizontal_bar varchar, PRIMARY KEY (parallel_bars))", + "answer": "select parallel_bars from table_18662026_10 where floor = \"14.175\" and horizontal_bar = \"n/a\"" + }, + { + "question": "How many times did Viorel Moldovan replaced a manager?", + "context": "create table table_17115950_2 (date_of_vacancy varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select count(date_of_vacancy) from table_17115950_2 where replaced_by = \"viorel moldovan\"" + }, + { + "question": "What is the NFL team of the player whose college is Minnesota?", + "context": "create table table_14650162_1 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_14650162_1 where college = \"minnesota\"" + }, + { + "question": "Who played in group 12 when persikutim east kutai played in group 10?", + "context": "create table table_19523142_5 (group_12 varchar, group_10 varchar, PRIMARY KEY (group_12))", + "answer": "select group_12 from table_19523142_5 where group_10 = \"persikutim east kutai\"" + }, + { + "question": "Name the segment d for bowling balls", + "context": "create table table_15187735_13 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_13 where segment_a = \"bowling balls\"" + }, + { + "question": "Find the ids and first names of the 3 teachers that have the most number of assessment notes?", + "context": "create table assessment_notes (teacher_id varchar, PRIMARY KEY (teacher_id)); create table teachers (first_name varchar, teacher_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.teacher_id, t2.first_name from assessment_notes as t1 join teachers as t2 on t1.teacher_id = t2.teacher_id group by t1.teacher_id order by count(*) desc limit 3" + }, + { + "question": "What is the LMS class of trains with numbers 14510-5?", + "context": "create table table_15412381_5 (lms varchar, lms_nos varchar, PRIMARY KEY (lms))", + "answer": "select lms as class from table_15412381_5 where lms_nos = \"14510-5\"" + }, + { + "question": "how many times was the catalog number cal04 / 0091037553546?", + "context": "create table table_27303975_3 (copyright_information varchar, catalog_number varchar, PRIMARY KEY (copyright_information))", + "answer": "select count(copyright_information) from table_27303975_3 where catalog_number = \"cal04 / 0091037553546\"" + }, + { + "question": "how many countries are in Asia?", + "context": "create table country (continent varchar, PRIMARY KEY (continent))", + "answer": "select count(*) from country where continent = \"asia\"" + }, + { + "question": "What is the ship id and name that caused most total injuries?", + "context": "create table death (caused_by_ship_id varchar, PRIMARY KEY (caused_by_ship_id)); create table ship (id varchar, PRIMARY KEY (id))", + "answer": "select t2.id, t2.name from death as t1 join ship as t2 on t1.caused_by_ship_id = t2.id group by t2.id order by count(*) desc limit 1" + }, + { + "question": "Name the dominant religion 2002 for \u043c\u0435\u043b\u0435\u043d\u0446\u0438", + "context": "create table table_2562572_35 (dominant_religion__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_35 where cyrillic_name_other_names = \"\u043c\u0435\u043b\u0435\u043d\u0446\u0438\"" + }, + { + "question": "When temperley is the home (2nd leg) what is the home (1st leg)?", + "context": "create table table_14219514_2 (home__1st_leg_ varchar, home__2nd_leg_ varchar, PRIMARY KEY (home__1st_leg_))", + "answer": "select home__1st_leg_ from table_14219514_2 where home__2nd_leg_ = \"temperley\"" + }, + { + "question": "What is every entry for Tuesday August 23 when Thursday August 25 is 24' 31.87 92.282mph?", + "context": "create table table_30058355_3 (tues_23_aug varchar, thurs_25_aug varchar, PRIMARY KEY (tues_23_aug))", + "answer": "select tues_23_aug from table_30058355_3 where thurs_25_aug = \"24' 31.87 92.282mph\"" + }, + { + "question": "how many segments involve wood boring augers", + "context": "create table table_15187735_17 (segment_a varchar, segment_d varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_17 where segment_d = \"wood boring augers\"" + }, + { + "question": "Show the ids for projects with at least 2 documents.", + "context": "create table documents (project_id varchar, PRIMARY KEY (project_id))", + "answer": "select project_id from documents group by project_id having count(*) >= 2" + }, + { + "question": "How much does Point Barrow weight?", + "context": "create table table_20095300_1 (weight__st varchar, _lb_ varchar, name varchar, PRIMARY KEY (weight__st))", + "answer": "select weight__st, _lb_ from table_20095300_1 where name = \"point barrow\"" + }, + { + "question": "What are the timeslot(s) for broadcast on February 22, 2008?", + "context": "create table table_16072430_1 (timeslot varchar, air_date varchar, PRIMARY KEY (timeslot))", + "answer": "select timeslot from table_16072430_1 where air_date = \"february 22, 2008\"" + }, + { + "question": "Show all advisors who have at least two students.", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor from student group by advisor having count(*) >= 2" + }, + { + "question": "How many races were in fukuoka, japan?", + "context": "create table table_26166836_1 (road_race varchar, country varchar, location varchar, PRIMARY KEY (road_race))", + "answer": "select count(road_race) from table_26166836_1 where country = \"japan\" and location = \"fukuoka\"" + }, + { + "question": "Name the commander of 167 off 2348 men", + "context": "create table table_11793221_4 (commander varchar, complement varchar, PRIMARY KEY (commander))", + "answer": "select commander from table_11793221_4 where complement = \"167 off 2348 men\"" + }, + { + "question": "What is the oder part number for the model with 10x mult. 1?", + "context": "create table table_27277284_28 (order_part_number varchar, mult_1 varchar, PRIMARY KEY (order_part_number))", + "answer": "select order_part_number from table_27277284_28 where mult_1 = \"10x\"" + }, + { + "question": "What is the fleet number when the length (ft) is 30?", + "context": "create table table_19643196_1 (fleet__number varchar, length__ft_ varchar, PRIMARY KEY (fleet__number))", + "answer": "select fleet__number from table_19643196_1 where length__ft_ = 30" + }, + { + "question": "What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?", + "context": "create table battle (name varchar, bulgarian_commander varchar, latin_commander varchar, PRIMARY KEY (name))", + "answer": "select name from battle where bulgarian_commander = 'kaloyan' and latin_commander = 'baldwin i'" + }, + { + "question": "In which year did the least people enter hall of fame?", + "context": "create table hall_of_fame (yearid varchar, PRIMARY KEY (yearid))", + "answer": "select yearid from hall_of_fame group by yearid order by count(*) limit 1" + }, + { + "question": "On how many different dates was event 1 Suspension Bridge?", + "context": "create table table_17257687_1 (air_date varchar, event_1 varchar, PRIMARY KEY (air_date))", + "answer": "select count(air_date) from table_17257687_1 where event_1 = \"suspension bridge\"" + }, + { + "question": "What is the target market of the station with call sign KFXS?", + "context": "create table table_134987_3 (target_city__market varchar, call_sign varchar, PRIMARY KEY (target_city__market))", + "answer": "select target_city__market from table_134987_3 where call_sign = \"kfxs\"" + }, + { + "question": "Where is California Lutheran University located?", + "context": "create table table_14976504_2 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_14976504_2 where institution = \"california lutheran university\"" + }, + { + "question": "What is the total number of churches named H\u00f8yanger Kyrkje?", + "context": "create table table_178389_1 (sub_parish__sogn_ varchar, church_name varchar, PRIMARY KEY (sub_parish__sogn_))", + "answer": "select count(sub_parish__sogn_) from table_178389_1 where church_name = \"h\u00f8yanger kyrkje\"" + }, + { + "question": "What settlement is also called \u043c\u0430\u0440\u0442\u043e\u043d\u043e\u0448 (hungarian: martonos)?", + "context": "create table table_2562572_33 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_33 where cyrillic_name_other_names = \"\u043c\u0430\u0440\u0442\u043e\u043d\u043e\u0448 (hungarian: martonos)\"" + }, + { + "question": "How many defending champs from thailand?", + "context": "create table table_19765685_2 (defending_champion varchar, country varchar, PRIMARY KEY (defending_champion))", + "answer": "select count(defending_champion) from table_19765685_2 where country = \"thailand\"" + }, + { + "question": "Which part has the least chargeable amount? List the part id and amount.", + "context": "create table parts (part_id varchar, chargeable_amount varchar, PRIMARY KEY (part_id))", + "answer": "select part_id, chargeable_amount from parts order by chargeable_amount limit 1" + }, + { + "question": "What is the minimum 2010 population of Edgewater?", + "context": "create table table_249512_2 (population__2010_ integer, place_name varchar, PRIMARY KEY (population__2010_))", + "answer": "select min(population__2010_) from table_249512_2 where place_name = \"edgewater\"" + }, + { + "question": "What's Luis Siri's shooting score?", + "context": "create table table_12407546_1 (shooting varchar, athlete__noc_ varchar, PRIMARY KEY (shooting))", + "answer": "select shooting from table_12407546_1 where athlete__noc_ = \"luis siri\"" + }, + { + "question": "When event 4 was Whiplash, what was event 2?", + "context": "create table table_17257687_1 (event_2 varchar, event_4 varchar, PRIMARY KEY (event_2))", + "answer": "select event_2 from table_17257687_1 where event_4 = \"whiplash\"" + }, + { + "question": "What is the official name of the municipality whose name in Spanish is Vitoria?", + "context": "create table table_300283_1 (official_name varchar, name_in_spanish varchar, PRIMARY KEY (official_name))", + "answer": "select official_name from table_300283_1 where name_in_spanish = \"vitoria\"" + }, + { + "question": "What is the country of Paavo Yrj\u00f6l\u00e4?", + "context": "create table table_26454128_4 (country varchar, athlete varchar, PRIMARY KEY (country))", + "answer": "select country from table_26454128_4 where athlete = \"paavo yrj\u00f6l\u00e4\"" + }, + { + "question": "picturesque and trekking route is the category what is the height from sea level in meters?", + "context": "create table table_1430913_1 (height_from_sea_level_in_meters varchar, category varchar, PRIMARY KEY (height_from_sea_level_in_meters))", + "answer": "select height_from_sea_level_in_meters from table_1430913_1 where category = \"picturesque and trekking_route\"" + }, + { + "question": "How many reports were the for the cleveland burke lakefront airport circut?", + "context": "create table table_10707176_2 (report varchar, circuit varchar, PRIMARY KEY (report))", + "answer": "select count(report) from table_10707176_2 where circuit = \"cleveland burke lakefront airport\"" + }, + { + "question": "Who won the 1973 democratic initial primary for queens of 19%?", + "context": "create table table_1108394_24 (queens varchar, PRIMARY KEY (queens))", + "answer": "select 1973 as _democratic_initial_primary from table_1108394_24 where queens = \"19_percentage\"" + }, + { + "question": "What is the content of TV Channel with serial name \"Sky Radio\"?", + "context": "create table tv_channel (content varchar, series_name varchar, PRIMARY KEY (content))", + "answer": "select content from tv_channel where series_name = \"sky radio\"" + }, + { + "question": "What is the winning span in the country of England with the name of paul casey?", + "context": "create table table_1953516_1 (winning_span varchar, country varchar, name varchar, PRIMARY KEY (winning_span))", + "answer": "select winning_span from table_1953516_1 where country = \"england\" and name = \"paul casey\"" + }, + { + "question": "How many values of total top 3 placements does Taiwan have?", + "context": "create table table_2876467_3 (total_top_3_placements varchar, region_represented varchar, PRIMARY KEY (total_top_3_placements))", + "answer": "select count(total_top_3_placements) from table_2876467_3 where region_represented = \"taiwan\"" + }, + { + "question": "What city of license/market has the channel of 41?", + "context": "create table table_1847523_2 (city_of_license__market varchar, channel___tv___rf__ varchar, PRIMARY KEY (city_of_license__market))", + "answer": "select city_of_license__market from table_1847523_2 where channel___tv___rf__ = \"41\"" + }, + { + "question": "If the Original Air Date is 10January2008, what directors released on that date?", + "context": "create table table_11642945_1 (director varchar, original_air_date varchar, PRIMARY KEY (director))", + "answer": "select director from table_11642945_1 where original_air_date = \"10january2008\"" + }, + { + "question": "Who had the high assists @ Dallas?", + "context": "create table table_11964154_11 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_11964154_11 where team = \"@ dallas\"" + }, + { + "question": "What are the meanings of the flag whose name transliterates to sem\u00ebrka?", + "context": "create table table_29997112_3 (meaning varchar, transliteration varchar, PRIMARY KEY (meaning))", + "answer": "select meaning from table_29997112_3 where transliteration = \"sem\u00ebrka\"" + }, + { + "question": "Show the names of products that are in at least two events.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table products_in_events (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_name from products as t1 join products_in_events as t2 on t1.product_id = t2.product_id group by t1.product_name having count(*) >= 2" + }, + { + "question": "What is the charity for the celebrity with an occupation title of actor and singer?", + "context": "create table table_28730873_2 (charity varchar, occupation varchar, PRIMARY KEY (charity))", + "answer": "select charity from table_28730873_2 where occupation = \"actor and singer\"" + }, + { + "question": "Who had the high assists against charlotte?", + "context": "create table table_13557843_3 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_13557843_3 where team = \"charlotte\"" + }, + { + "question": "What is the Italian word for \"orange\" in English?", + "context": "create table table_2077192_2 (italian varchar, english varchar, PRIMARY KEY (italian))", + "answer": "select italian from table_2077192_2 where english = \"orange\"" + }, + { + "question": "When are the vacancy dates for outgoing manager Damien Fox?", + "context": "create table table_11190568_7 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_11190568_7 where outgoing_manager = \"damien fox\"" + }, + { + "question": "Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id.", + "context": "create table film (title varchar, film_id varchar, rental_rate varchar, PRIMARY KEY (title)); create table inventory (film_id varchar, PRIMARY KEY (film_id)); create table film (title varchar, film_id varchar, PRIMARY KEY (title))", + "answer": "select title, film_id from film where rental_rate = 0.99 intersect select t1.title, t1.film_id from film as t1 join inventory as t2 on t1.film_id = t2.film_id group by t1.film_id having count(*) < 3" + }, + { + "question": "What's the name of the barangay whose area is 3.6787 km\u00b2 ?", + "context": "create table table_2004733_2 (barangay varchar, area__in_km_2__ varchar, PRIMARY KEY (barangay))", + "answer": "select barangay from table_2004733_2 where area__in_km_2__ = \"3.6787\"" + }, + { + "question": "What are the types and countries of competitions?", + "context": "create table competition (competition_type varchar, country varchar, PRIMARY KEY (competition_type))", + "answer": "select competition_type, country from competition" + }, + { + "question": "What party did the incumbent Thomas P. Moore belong to?", + "context": "create table table_2668254_8 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668254_8 where incumbent = \"thomas p. moore\"" + }, + { + "question": "How many institutes have the team name Spartans?", + "context": "create table table_27961684_1 (institution varchar, team_name varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_27961684_1 where team_name = \"spartans\"" + }, + { + "question": "When dxcc-tv is the call sign how many station types are there?", + "context": "create table table_23394920_1 (station_type varchar, callsign varchar, PRIMARY KEY (station_type))", + "answer": "select count(station_type) from table_23394920_1 where callsign = \"dxcc-tv\"" + }, + { + "question": "Name the number location of georgia perimeter college", + "context": "create table table_16734640_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_16734640_1 where institution = \"georgia perimeter college\"" + }, + { + "question": "The person who had $126,796 WSOP earnings had how many WSOP cashes?", + "context": "create table table_23696862_6 (wsop_cashes varchar, wsop_earnings varchar, PRIMARY KEY (wsop_cashes))", + "answer": "select wsop_cashes from table_23696862_6 where wsop_earnings = \"$126,796\"" + }, + { + "question": "List in alphabetic order the names of all distinct instructors.", + "context": "create table instructor (name varchar, PRIMARY KEY (name))", + "answer": "select distinct name from instructor order by name" + }, + { + "question": "What is the col location with a col height (m) of 1107?", + "context": "create table table_2731431_1 (col_location varchar, col_height__m_ varchar, PRIMARY KEY (col_location))", + "answer": "select col_location from table_2731431_1 where col_height__m_ = 1107" + }, + { + "question": "How many different combinations of scores by individual judges were given to the contestant competing against Mukul Dev?", + "context": "create table table_18278508_6 (scores_by_each_individual_judge varchar, co_contestant__yaar_vs_pyaar_ varchar, PRIMARY KEY (scores_by_each_individual_judge))", + "answer": "select count(scores_by_each_individual_judge) from table_18278508_6 where co_contestant__yaar_vs_pyaar_ = \"mukul dev\"" + }, + { + "question": "How many different results came out of the round in which #98 All American Racers became the GTU winning team?", + "context": "create table table_13643320_2 (results varchar, gtu_winning_team varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_13643320_2 where gtu_winning_team = \"#98 all american racers\"" + }, + { + "question": "what is the institution located in north newton, kansas?", + "context": "create table table_262527_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_262527_1 where location = \"north newton, kansas\"" + }, + { + "question": "What are the result description of the project whose detail is 'sint'?", + "context": "create table project_outcomes (outcome_code varchar, project_id varchar, PRIMARY KEY (outcome_code)); create table research_outcomes (outcome_description varchar, outcome_code varchar, PRIMARY KEY (outcome_description)); create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id))", + "answer": "select t1.outcome_description from research_outcomes as t1 join project_outcomes as t2 on t1.outcome_code = t2.outcome_code join projects as t3 on t2.project_id = t3.project_id where t3.project_details = 'sint'" + }, + { + "question": "What college did the Cincinnati Bengals' player come from?", + "context": "create table table_12165999_1 (college varchar, afl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_12165999_1 where afl_team = \"cincinnati bengals\"" + }, + { + "question": "What is the song for Dixie Chicks?", + "context": "create table table_23981771_1 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_23981771_1 where artist = \"dixie chicks\"" + }, + { + "question": "how many times did tunde abdulrahman leave the team?", + "context": "create table table_28164986_4 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select count(date_of_vacancy) from table_28164986_4 where outgoing_manager = \"tunde abdulrahman\"" + }, + { + "question": "What is the original date of the repeat air date of 26/01/1969?", + "context": "create table table_13403120_1 (originalairdate varchar, repeatairdate_s_ varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_13403120_1 where repeatairdate_s_ = \"26/01/1969\"" + }, + { + "question": "List the names of the dogs of the rarest breed and the treatment dates of them.", + "context": "create table dogs (name varchar, dog_id varchar, breed_code varchar, PRIMARY KEY (name)); create table treatments (date_of_treatment varchar, dog_id varchar, PRIMARY KEY (date_of_treatment)); create table dogs (breed_code varchar, PRIMARY KEY (breed_code))", + "answer": "select t1.name, t2.date_of_treatment from dogs as t1 join treatments as t2 on t1.dog_id = t2.dog_id where t1.breed_code = (select breed_code from dogs group by breed_code order by count(*) limit 1)" + }, + { + "question": "How many rewards are there for air date October 6, 2005?", + "context": "create table table_1893276_2 (reward varchar, air_date varchar, PRIMARY KEY (reward))", + "answer": "select reward from table_1893276_2 where air_date = \"october 6, 2005\"" + }, + { + "question": "Who was the deceased spouse who was married for 4 years?", + "context": "create table table_24143253_5 (deceased_spouse varchar, length_of_marriage varchar, PRIMARY KEY (deceased_spouse))", + "answer": "select deceased_spouse from table_24143253_5 where length_of_marriage = \"4 years\"" + }, + { + "question": "Find id of candidates whose assessment code is \"Pass\"?", + "context": "create table candidate_assessments (candidate_id varchar, asessment_outcome_code varchar, PRIMARY KEY (candidate_id))", + "answer": "select candidate_id from candidate_assessments where asessment_outcome_code = \"pass\"" + }, + { + "question": "What is the ratings for the original air date may 25, 2010 22.00 - 22.54?", + "context": "create table table_26591434_1 (ratings__kansai_ varchar, original_airdate varchar, PRIMARY KEY (ratings__kansai_))", + "answer": "select ratings__kansai_ from table_26591434_1 where original_airdate = \"may 25, 2010 22.00 - 22.54\"" + }, + { + "question": "When did the episode that had 5.09 million total viewers (both Live and SD types) first air?", + "context": "create table table_24222929_3 (original_airdate varchar, live varchar, sd_total_viewers varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_24222929_3 where live + sd_total_viewers = \"5.09 million\"" + }, + { + "question": "What is the description of the type of the company who concluded its contracts most recently?", + "context": "create table maintenance_contracts (maintenance_contract_company_id varchar, contract_end_date varchar, PRIMARY KEY (maintenance_contract_company_id)); create table third_party_companies (company_name varchar, company_id varchar, company_type_code varchar, PRIMARY KEY (company_name)); create table ref_company_types (company_type_code varchar, PRIMARY KEY (company_type_code))", + "answer": "select t1.company_name from third_party_companies as t1 join maintenance_contracts as t2 on t1.company_id = t2.maintenance_contract_company_id join ref_company_types as t3 on t1.company_type_code = t3.company_type_code order by t2.contract_end_date desc limit 1" + }, + { + "question": "What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?", + "context": "create table enzyme (id varchar, name varchar, PRIMARY KEY (id)); create table medicine (id varchar, name varchar, PRIMARY KEY (id)); create table medicine_enzyme_interaction (interaction_type varchar, medicine_id varchar, enzyme_id varchar, PRIMARY KEY (interaction_type))", + "answer": "select t1.interaction_type from medicine_enzyme_interaction as t1 join medicine as t2 on t1.medicine_id = t2.id join enzyme as t3 on t1.enzyme_id = t3.id where t3.name = 'ala synthase' and t2.name = 'aripiprazole'" + }, + { + "question": "what is the total number of\u00a0coach\u00a0where\u00a0captain\u00a0is grant welsh and\u00a0win/loss\u00a0is 5-15", + "context": "create table table_1165048_1 (coach varchar, captain varchar, win_loss varchar, PRIMARY KEY (coach))", + "answer": "select count(coach) from table_1165048_1 where captain = \"grant welsh\" and win_loss = \"5-15\"" + }, + { + "question": "What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?", + "context": "create table table_1949994_8 (format varchar, local_title varchar, PRIMARY KEY (format))", + "answer": "select format from table_1949994_8 where local_title = \"fort boyard: ultimate challenge\"" + }, + { + "question": "what is the total number of building for address on 201 1st avenue south", + "context": "create table table_13397394_1 (building varchar, address varchar, PRIMARY KEY (building))", + "answer": "select count(building) from table_13397394_1 where address = \"201 1st avenue south\"" + }, + { + "question": "Find the addresses of the course authors who teach the course with name \"operating system\" or \"data structure\".", + "context": "create table courses (author_id varchar, course_name varchar, PRIMARY KEY (author_id)); create table course_authors_and_tutors (address_line_1 varchar, author_id varchar, PRIMARY KEY (address_line_1))", + "answer": "select t1.address_line_1 from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id where t2.course_name = \"operating system\" or t2.course_name = \"data structure\"" + }, + { + "question": "Who wrote the episode that got 5.95 million U.S. viewers?", + "context": "create table table_28760804_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28760804_1 where us_viewers__million_ = \"5.95\"" + }, + { + "question": "Who was the incoming manager for the date of appointment of 15 january 2011?", + "context": "create table table_26976615_3 (incoming_manager varchar, date_of_appointment varchar, PRIMARY KEY (incoming_manager))", + "answer": "select incoming_manager from table_26976615_3 where date_of_appointment = \"15 january 2011\"" + }, + { + "question": "Show ids for all employees who don't have a certificate.", + "context": "create table employee (eid varchar, PRIMARY KEY (eid)); create table certificate (eid varchar, PRIMARY KEY (eid))", + "answer": "select eid from employee except select eid from certificate" + }, + { + "question": "What date of segment description red line mos-2 north open?", + "context": "create table table_1817879_2 (date_opened varchar, segment_description varchar, PRIMARY KEY (date_opened))", + "answer": "select date_opened from table_1817879_2 where segment_description = \"red line mos-2 north\"" + }, + { + "question": "List all episode air dates where Luiza Possi was the guest fourth judge?", + "context": "create table table_27615445_1 (episode_air_date varchar, guest_fourth_judge varchar, PRIMARY KEY (episode_air_date))", + "answer": "select episode_air_date from table_27615445_1 where guest_fourth_judge = \"luiza possi\"" + }, + { + "question": "Find the names of channels that are not owned by CCTV.", + "context": "create table channel (name varchar, owner varchar, PRIMARY KEY (name))", + "answer": "select name from channel where owner <> 'cctv'" + }, + { + "question": "Who was the Class AAAA champion in 2006-07?", + "context": "create table table_14603057_2 (class_aaaa varchar, school_year varchar, PRIMARY KEY (class_aaaa))", + "answer": "select class_aaaa from table_14603057_2 where school_year = \"2006-07\"" + }, + { + "question": "When London Bridge is the destination, how many lines are there?", + "context": "create table table_1569516_1 (line varchar, destination varchar, PRIMARY KEY (line))", + "answer": "select count(line) from table_1569516_1 where destination = \"london bridge\"" + }, + { + "question": "what type of institution is ottawa university?", + "context": "create table table_262527_1 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_262527_1 where institution = \"ottawa university\"" + }, + { + "question": "what is 2nd when the pronoun is vi (you pl.)?", + "context": "create table table_27298240_28 (pronoun varchar, PRIMARY KEY (pronoun))", + "answer": "select 2 as nd from table_27298240_28 where pronoun = \"vi (you pl.)\"" + }, + { + "question": "What is the name of the soccer stadium in NL providence?", + "context": "create table table_27369069_1 (soccer_stadium varchar, province varchar, PRIMARY KEY (soccer_stadium))", + "answer": "select soccer_stadium from table_27369069_1 where province = \"nl\"" + }, + { + "question": "what's the\u00a0fcc info\u00a0with\u00a0call sign\u00a0being w265av", + "context": "create table table_13998897_1 (fcc_info varchar, call_sign varchar, PRIMARY KEY (fcc_info))", + "answer": "select fcc_info from table_13998897_1 where call_sign = \"w265av\"" + }, + { + "question": "What are the birth places that are shared by at least two people?", + "context": "create table people (birth_place varchar, PRIMARY KEY (birth_place))", + "answer": "select birth_place from people group by birth_place having count(*) >= 2" + }, + { + "question": "What is the start date and time of the walk that ends March 28, 2005, 11:31?", + "context": "create table table_22385461_6 (start___utc__ varchar, end__utc_ varchar, PRIMARY KEY (start___utc__))", + "answer": "select start___utc__ from table_22385461_6 where end__utc_ = \"march 28, 2005, 11:31\"" + }, + { + "question": "What was the number of seat changes when the % of votes was 23.75?", + "context": "create table table_149330_1 (change_in_seat varchar, _percentage_of_votes varchar, PRIMARY KEY (change_in_seat))", + "answer": "select change_in_seat from table_149330_1 where _percentage_of_votes = \"23.75\"" + }, + { + "question": "What are the dates of leaving office for politician from the province of Seville?", + "context": "create table table_26362472_1 (left_office varchar, province varchar, PRIMARY KEY (left_office))", + "answer": "select left_office from table_26362472_1 where province = \"seville\"" + }, + { + "question": "How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe?", + "context": "create table table_24628683_2 (wrestler varchar, method_of_elimination varchar, PRIMARY KEY (wrestler))", + "answer": "select count(wrestler) from table_24628683_2 where method_of_elimination = \"pinned after being hit by a lead pipe\"" + }, + { + "question": "What is the poor law union of the Kilmaloda townland?", + "context": "create table table_30121046_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30121046_1 where townland = \"kilmaloda\"" + }, + { + "question": "List the names of hosts who did not serve as a host of any party in our record.", + "context": "create table host (name varchar, host_id varchar, PRIMARY KEY (name)); create table party_host (name varchar, host_id varchar, PRIMARY KEY (name))", + "answer": "select name from host where not host_id in (select host_id from party_host)" + }, + { + "question": "how many times was the candidates dan mica (d) 55.3% bill james (r) 44.7%?", + "context": "create table table_1341663_10 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select count(incumbent) from table_1341663_10 where candidates = \"dan mica (d) 55.3% bill james (r) 44.7%\"" + }, + { + "question": "What is the result of men's doubles when there was no competition?", + "context": "create table table_14904221_1 (mixed_doubles varchar, mens_doubles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14904221_1 where mens_doubles = \"no competition\"" + }, + { + "question": "How many video games have type Massively multiplayer online game?", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select count(*) from video_games where gtype = \"massively multiplayer online game\"" + }, + { + "question": "How many reasons were given when A. Willis Robertson (D) resigned?", + "context": "create table table_1847180_3 (reason_for_change varchar, vacator varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_1847180_3 where vacator = \"a. willis robertson (d)\"" + }, + { + "question": "What is the title when 2.50 is u.s. viewers (in millions)?", + "context": "create table table_23499946_1 (title varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_23499946_1 where us_viewers__in_millions_ = \"2.50\"" + }, + { + "question": "List all state classes when successors were formally installed on June 22, 1868.", + "context": "create table table_2417340_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_2417340_3 where date_of_successors_formal_installation = \"june 22, 1868\"" + }, + { + "question": "What are the previous season ranks of teams whose website is www.novavolley.narod.ru?", + "context": "create table table_19526911_1 (previous_season_2007_2008 varchar, website varchar, PRIMARY KEY (previous_season_2007_2008))", + "answer": "select previous_season_2007_2008 from table_19526911_1 where website = \"www.novavolley.narod.ru\"" + }, + { + "question": "What type of cartridge is used by a Winchester?", + "context": "create table table_16010376_1 (cartridge varchar, source varchar, PRIMARY KEY (cartridge))", + "answer": "select cartridge from table_16010376_1 where source = \"winchester\"" + }, + { + "question": "Name the opponent for 7-1-0", + "context": "create table table_21007907_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_21007907_1 where record = \"7-1-0\"" + }, + { + "question": "Who ihad the highest points and what was the number when the record was 11-40?", + "context": "create table table_13619053_7 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13619053_7 where record = \"11-40\"" + }, + { + "question": "Who is the teleplay by when the director is Rob Bailey?", + "context": "create table table_14346950_1 (teleplay_by varchar, directed_by varchar, PRIMARY KEY (teleplay_by))", + "answer": "select teleplay_by from table_14346950_1 where directed_by = \"rob bailey\"" + }, + { + "question": "What is the power when ch# is tv-26 and dyfj-tv?", + "context": "create table table_12379297_1 (power__kw_ varchar, ch__number varchar, callsign varchar, PRIMARY KEY (power__kw_))", + "answer": "select power__kw_ from table_12379297_1 where ch__number = \"tv-26\" and callsign = \"dyfj-tv\"" + }, + { + "question": "If the location is Yangon, Myanmar, what is the opponent total number?", + "context": "create table table_25428629_1 (opponent varchar, location varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_25428629_1 where location = \"yangon, myanmar\"" + }, + { + "question": "Name the date for q\u00edngyu\u00e1n \u2026 y\u00ecm\u01ce", + "context": "create table table_16162581_1 (date__ce_ varchar, pinyin varchar, PRIMARY KEY (date__ce_))", + "answer": "select date__ce_ from table_16162581_1 where pinyin = \"q\u00edngyu\u00e1n \u2026 y\u00ecm\u01ce\"" + }, + { + "question": "What is the conference when Ferris State is the championship game opponent?", + "context": "create table table_22165661_3 (conference varchar, championship_game_opponent varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_22165661_3 where championship_game_opponent = \"ferris state\"" + }, + { + "question": "When cristina pe\u00f1a garzon is the contestant what is the geographical region?", + "context": "create table table_18618707_1 (geographical_regions varchar, contestant varchar, PRIMARY KEY (geographical_regions))", + "answer": "select geographical_regions from table_18618707_1 where contestant = \"cristina pe\u00f1a garzon\"" + }, + { + "question": "Show student ids who are on scholarship and have major 600.", + "context": "create table sportsinfo (stuid varchar, major varchar, onscholarship varchar, PRIMARY KEY (stuid)); create table student (stuid varchar, major varchar, onscholarship varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where major = 600 intersect select stuid from sportsinfo where onscholarship = 'y'" + }, + { + "question": "how heavy is the maximum", + "context": "create table table_13950065_1 (per_lift integer, PRIMARY KEY (per_lift))", + "answer": "select max(per_lift) from table_13950065_1" + }, + { + "question": "What is the name of the episode that had 8.51 million viewers?", + "context": "create table table_26139405_1 (title varchar, viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_26139405_1 where viewers__in_millions_ = \"8.51\"" + }, + { + "question": "Show the movie titles and book titles for all companies in China.", + "context": "create table movie (title varchar, movie_id varchar, PRIMARY KEY (title)); create table culture_company (movie_id varchar, book_club_id varchar, incorporated_in varchar, PRIMARY KEY (movie_id)); create table book_club (book_title varchar, book_club_id varchar, PRIMARY KEY (book_title))", + "answer": "select t1.title, t3.book_title from movie as t1 join culture_company as t2 on t1.movie_id = t2.movie_id join book_club as t3 on t3.book_club_id = t2.book_club_id where t2.incorporated_in = 'china'" + }, + { + "question": "Which episode had 16.38 million U.S. viewers?", + "context": "create table table_10935548_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_10935548_1 where us_viewers__millions_ = \"16.38\"" + }, + { + "question": "What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?", + "context": "create table tourist_attractions (name varchar, opening_hours varchar, how_to_get_there varchar, PRIMARY KEY (name))", + "answer": "select name, opening_hours from tourist_attractions where how_to_get_there = \"bus\" or how_to_get_there = \"walk\"" + }, + { + "question": "What was the title of the movie from lebanon?", + "context": "create table table_12842068_1 (film_title_used_in_nomination varchar, submitting_country varchar, PRIMARY KEY (film_title_used_in_nomination))", + "answer": "select film_title_used_in_nomination from table_12842068_1 where submitting_country = \"lebanon\"" + }, + { + "question": "How many akhil bharatiya rashtriya azad hind party seats were contested?", + "context": "create table table_22582663_1 (seats_contested varchar, party_name varchar, PRIMARY KEY (seats_contested))", + "answer": "select seats_contested from table_22582663_1 where party_name = \"akhil bharatiya rashtriya azad hind party\"" + }, + { + "question": "What is the kit maker for team foolad?", + "context": "create table table_27383390_2 (kit_maker varchar, team varchar, PRIMARY KEY (kit_maker))", + "answer": "select kit_maker from table_27383390_2 where team = \"foolad\"" + }, + { + "question": "Who is man of the match when Team 1 is ICL Pakistan?", + "context": "create table table_17103566_1 (man_of_the_match varchar, team_1 varchar, PRIMARY KEY (man_of_the_match))", + "answer": "select man_of_the_match from table_17103566_1 where team_1 = \"icl pakistan\"" + }, + { + "question": "If the poverty rate is 12.9%, what is the market income per capita?", + "context": "create table table_22815568_6 (market_income_per_capita varchar, poverty_rate varchar, PRIMARY KEY (market_income_per_capita))", + "answer": "select market_income_per_capita from table_22815568_6 where poverty_rate = \"12.9%\"" + }, + { + "question": "Whose address of operation was the Echirax Concession?", + "context": "create table table_13150274_1 (client varchar, area_of_operation varchar, PRIMARY KEY (client))", + "answer": "select client from table_13150274_1 where area_of_operation = \"echirax concession\"" + }, + { + "question": "What was the mens open when the mens u20 was Qld Country Rustlers def Southern Suns?", + "context": "create table table_16724844_1 (mens_open varchar, mens_u20 varchar, PRIMARY KEY (mens_open))", + "answer": "select mens_open from table_16724844_1 where mens_u20 = \"qld country rustlers def southern suns\"" + }, + { + "question": "how many producers are responsible for the song 'calling out to marlboro?", + "context": "create table table_28232443_1 (producer__s_ varchar, song__s_ varchar, PRIMARY KEY (producer__s_))", + "answer": "select count(producer__s_) from table_28232443_1 where song__s_ = \"calling out to marlboro\"" + }, + { + "question": "List the number of ramsan-720 hard drives?", + "context": "create table table_27615520_1 (storage_medium varchar, product_name varchar, PRIMARY KEY (storage_medium))", + "answer": "select count(storage_medium) from table_27615520_1 where product_name = \"ramsan-720\"" + }, + { + "question": "What was the win-loss record for the player from Switzerland?", + "context": "create table table_25820786_2 (win_loss varchar, nationality varchar, PRIMARY KEY (win_loss))", + "answer": "select win_loss from table_25820786_2 where nationality = \"switzerland\"" + }, + { + "question": "How many kinds of roles are there for the staff?", + "context": "create table project_staff (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select count(distinct role_code) from project_staff" + }, + { + "question": "How many significant relationships list Will as a virtue?", + "context": "create table table_1058787_1 (significant_relationship varchar, virtues varchar, PRIMARY KEY (significant_relationship))", + "answer": "select count(significant_relationship) from table_1058787_1 where virtues = \"will\"" + }, + { + "question": "What is the id and name of the enzyme with most number of medicines that can interact as 'activator'?", + "context": "create table medicine_enzyme_interaction (enzyme_id varchar, interaction_type varchar, PRIMARY KEY (enzyme_id)); create table enzyme (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t1.name from enzyme as t1 join medicine_enzyme_interaction as t2 on t1.id = t2.enzyme_id where t2.interaction_type = 'activitor' group by t1.id order by count(*) desc limit 1" + }, + { + "question": "Name the competition for australia 13, new zealand 40, drawn 3", + "context": "create table table_20251343_4 (competition varchar, head_to_head varchar, PRIMARY KEY (competition))", + "answer": "select competition from table_20251343_4 where head_to_head = \"australia 13, new zealand 40, drawn 3\"" + }, + { + "question": "Find the id of users who are followed by Mary or Susan.", + "context": "create table follows (f1 varchar, f2 varchar, PRIMARY KEY (f1)); create table user_profiles (uid varchar, name varchar, PRIMARY KEY (uid))", + "answer": "select t2.f1 from user_profiles as t1 join follows as t2 on t1.uid = t2.f2 where t1.name = \"mary\" or t1.name = \"susan\"" + }, + { + "question": "Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?", + "context": "create table table_1342256_33 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342256_33 where incumbent = \"harold d. cooley\"" + }, + { + "question": "What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?", + "context": "create table table_19589113_5 (growth_rate_1991_01 varchar, sex_ratio_\u2021_2001 varchar, PRIMARY KEY (growth_rate_1991_01))", + "answer": "select growth_rate_1991_01 from table_19589113_5 where sex_ratio_\u2021_2001 = 937" + }, + { + "question": "How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?", + "context": "create table table_15318324_1 (r_z___arcsecond__ varchar, target_datum varchar, PRIMARY KEY (r_z___arcsecond__))", + "answer": "select r_z___arcsecond__ from table_15318324_1 where target_datum = \"ireland 1965\"" + }, + { + "question": "What was the overall record in the game won by D. Klein (2-0)?", + "context": "create table table_27862483_3 (overall_record varchar, win varchar, PRIMARY KEY (overall_record))", + "answer": "select overall_record from table_27862483_3 where win = \"d. klein (2-0)\"" + }, + { + "question": "What are donor payments in the country where there are 12 children to 6 families (2 per family)?", + "context": "create table table_16175217_1 (donor_payment varchar, children_per_donor varchar, PRIMARY KEY (donor_payment))", + "answer": "select donor_payment from table_16175217_1 where children_per_donor = \"12 children to 6 families (2 per family)\"" + }, + { + "question": "What NHL team was the player from Calgary Centennials (WCHL) drafted for?", + "context": "create table table_1965650_11 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1965650_11 where college_junior_club_team = \"calgary centennials (wchl)\"" + }, + { + "question": "If the version is 1.5b, what is the distribution mechanism?", + "context": "create table table_2263152_1 (distribution_mechanism varchar, version varchar, PRIMARY KEY (distribution_mechanism))", + "answer": "select distribution_mechanism from table_2263152_1 where version = \"1.5b\"" + }, + { + "question": "Who directed the title that was written by Adam Milch?", + "context": "create table table_12419515_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_12419515_4 where written_by = \"adam milch\"" + }, + { + "question": "What's the nickname of the University of Massachusetts Lowell (UMass Lowell)?", + "context": "create table table_12936521_2 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_12936521_2 where institution = \"university of massachusetts lowell (umass lowell)\"" + }, + { + "question": "Which school did the player then go to Auburn?", + "context": "create table table_11677691_7 (school varchar, college varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677691_7 where college = \"auburn\"" + }, + { + "question": "How many entries are there for cyrillic name other names where settlement is idvor?", + "context": "create table table_2562572_43 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select count(cyrillic_name_other_names) from table_2562572_43 where settlement = \"idvor\"" + }, + { + "question": "Name who wrote the episode directed by arthur albert", + "context": "create table table_17356042_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_17356042_1 where directed_by = \"arthur albert\"" + }, + { + "question": "What is the trigger pack on the Colt 602 with the a1 rear sight type?", + "context": "create table table_19901_1 (trigger_pack varchar, rear_sight_type varchar, colt_model_no varchar, PRIMARY KEY (trigger_pack))", + "answer": "select trigger_pack from table_19901_1 where rear_sight_type = \"a1\" and colt_model_no = \"602\"" + }, + { + "question": "Nametheh school team for norman gonzales", + "context": "create table table_15463188_7 (school_club_team varchar, name varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_15463188_7 where name = \"norman gonzales\"" + }, + { + "question": "how many companies released an audiobook titled deadly download", + "context": "create table table_20174050_24 (company varchar, title varchar, PRIMARY KEY (company))", + "answer": "select count(company) from table_20174050_24 where title = \"deadly download\"" + }, + { + "question": "What are the names of poker players?", + "context": "create table poker_player (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from people as t1 join poker_player as t2 on t1.people_id = t2.people_id" + }, + { + "question": "Name the torque of the engine is d5244 t5", + "context": "create table table_1147701_5 (torque__nm varchar, engine_code varchar, PRIMARY KEY (torque__nm))", + "answer": "select torque__nm as @rpm_ from table_1147701_5 where engine_code = \"d5244 t5\"" + }, + { + "question": "How many numbers are there for August when March is 139?", + "context": "create table table_25235489_2 (august_21_22 varchar, march_27_29 varchar, PRIMARY KEY (august_21_22))", + "answer": "select count(august_21_22) from table_25235489_2 where march_27_29 = \"139\"" + }, + { + "question": "Name the pinyin for k\u0275kyar k\u0321ir\u01a3iz yezisi", + "context": "create table table_2008069_2 (pinyin varchar, uyghur___yen\u0261i_yezik\u0322__ varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2008069_2 where uyghur___yen\u0261i_yezik\u0322__ = \"k\u0275kyar k\u0321ir\u01a3iz yezisi\"" + }, + { + "question": "What is the car make for Sterling Marlin?", + "context": "create table table_27514362_7 (car_make varchar, driver varchar, PRIMARY KEY (car_make))", + "answer": "select car_make from table_27514362_7 where driver = \"sterling marlin\"" + }, + { + "question": "Name the standard yarn weight system for 7 wpi", + "context": "create table table_20297668_1 (standard_yarn_weight_system varchar, wraps_per_inch__wpi_ varchar, PRIMARY KEY (standard_yarn_weight_system))", + "answer": "select standard_yarn_weight_system from table_20297668_1 where wraps_per_inch__wpi_ = \"7 wpi\"" + }, + { + "question": "When London Bridge is the destination, what is the frequency?", + "context": "create table table_1569516_1 (frequency__per_hour_ varchar, destination varchar, PRIMARY KEY (frequency__per_hour_))", + "answer": "select frequency__per_hour_ from table_1569516_1 where destination = \"london bridge\"" + }, + { + "question": "When batavo is the main sponsor and olympikus is the kit manufacturer who are the minor sponsors?", + "context": "create table table_187239_1 (minor_sponsors varchar, kit_manufacturer varchar, main_sponsor varchar, PRIMARY KEY (minor_sponsors))", + "answer": "select minor_sponsors from table_187239_1 where kit_manufacturer = \"olympikus\" and main_sponsor = \"batavo\"" + }, + { + "question": "how many colombia in bangladesh is serbian", + "context": "create table table_24807774_1 (colombian varchar, bangladeshi varchar, PRIMARY KEY (colombian))", + "answer": "select colombian from table_24807774_1 where bangladeshi = \"serbian\"" + }, + { + "question": "How many unique languages are spoken in the world?", + "context": "create table countrylanguage (language varchar, PRIMARY KEY (language))", + "answer": "select count(distinct language) from countrylanguage" + }, + { + "question": "How many different kickoffs happened when the oppenent was at Rhein Fire?", + "context": "create table table_26275503_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff))", + "answer": "select count(kickoff) from table_26275503_2 where opponent = \"at rhein fire\"" + }, + { + "question": "Name the average grade for \u015f\u0131mar\u0131k tarkan", + "context": "create table table_21829580_1 (average_grade varchar, song varchar, PRIMARY KEY (average_grade))", + "answer": "select average_grade from table_21829580_1 where song = \"\u015f\u0131mar\u0131k tarkan\"" + }, + { + "question": "Who is h.t. brewer when j.e. armstrong is a.j. wilson?", + "context": "create table table_1320857_1 (ht_brewer varchar, je_armstrong varchar, PRIMARY KEY (ht_brewer))", + "answer": "select ht_brewer from table_1320857_1 where je_armstrong = \"a.j. wilson\"" + }, + { + "question": "Name the name for henley manchester", + "context": "create table table_22977424_8 (name varchar, promoted_to_league varchar, PRIMARY KEY (name))", + "answer": "select name from table_22977424_8 where promoted_to_league = \"henley manchester\"" + }, + { + "question": "Which gatchaman has eagle riders as lukan?", + "context": "create table table_17480471_3 (gatchaman varchar, eagle_riders varchar, PRIMARY KEY (gatchaman))", + "answer": "select gatchaman from table_17480471_3 where eagle_riders = \"lukan\"" + }, + { + "question": "Which settlement has a cyrillic and other name of \u0432\u043e\u0458\u0432\u043e\u0434\u0438\u043d\u0446\u0438 (romanian: voivodin\u0163)?", + "context": "create table table_2562572_46 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_46 where cyrillic_name_other_names = \"\u0432\u043e\u0458\u0432\u043e\u0434\u0438\u043d\u0446\u0438 (romanian: voivodin\u0163)\"" + }, + { + "question": "What's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?", + "context": "create table table_29612224_1 (institution varchar, school_website varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_29612224_1 where school_website = \"http://www.mfschools.org/high/\"" + }, + { + "question": "What is the most silver medals?", + "context": "create table table_1305623_18 (silver_medals integer, PRIMARY KEY (silver_medals))", + "answer": "select max(silver_medals) from table_1305623_18" + }, + { + "question": "Who was the printer of Estes Park, Colorado?", + "context": "create table table_15635768_1 (printer varchar, place_of_issue varchar, PRIMARY KEY (printer))", + "answer": "select printer from table_15635768_1 where place_of_issue = \"estes park, colorado\"" + }, + { + "question": "Are the customers holding coupons with amount 500 bad or good?", + "context": "create table discount_coupons (coupon_id varchar, coupon_amount varchar, PRIMARY KEY (coupon_id)); create table customers (good_or_bad_customer varchar, coupon_id varchar, PRIMARY KEY (good_or_bad_customer))", + "answer": "select t1.good_or_bad_customer from customers as t1 join discount_coupons as t2 on t1.coupon_id = t2.coupon_id where t2.coupon_amount = 500" + }, + { + "question": "which examples are pronounced \u026as in american", + "context": "create table table_17798093_20 (examples varchar, american varchar, PRIMARY KEY (examples))", + "answer": "select examples from table_17798093_20 where american = \"\u026as\"" + }, + { + "question": "What is the number of seats in congress when the electoral district is Ucayali?", + "context": "create table table_2676980_4 (seats_in_congress varchar, electoral_district varchar, PRIMARY KEY (seats_in_congress))", + "answer": "select count(seats_in_congress) from table_2676980_4 where electoral_district = \"ucayali\"" + }, + { + "question": "How many weeks featured duffy as the original artist?", + "context": "create table table_21501564_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select count(theme) from table_21501564_1 where original_artist = \"duffy\"" + }, + { + "question": "If the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?", + "context": "create table table_2263152_1 (features varchar, security_issues varchar, distribution_mechanism varchar, PRIMARY KEY (features))", + "answer": "select features from table_2263152_1 where security_issues = \"98-004\" and distribution_mechanism = \"microsoft website\"" + }, + { + "question": "Find the address of all customers that live in Germany and have invoice.", + "context": "create table invoice (customerid varchar, PRIMARY KEY (customerid)); create table customer (address varchar, customerid varchar, country varchar, PRIMARY KEY (address))", + "answer": "select distinct t1.address from customer as t1 join invoice as t2 on t1.customerid = t2.customerid where t1.country = \"germany\"" + }, + { + "question": "How many records are there at the War Memorial Stadium?", + "context": "create table table_10646790_2 (record varchar, stadium varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_10646790_2 where stadium = \"war memorial stadium\"" + }, + { + "question": "How many titles are there for the episode written by Tom Scharpling?", + "context": "create table table_25716401_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_25716401_1 where written_by = \"tom scharpling\"" + }, + { + "question": "What was the name of the episode that had 4.65 million viewers?", + "context": "create table table_25548213_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_25548213_1 where us_viewers__million_ = \"4.65\"" + }, + { + "question": "How many losingteams were for the cup finaldate 20 August 1989?", + "context": "create table table_12028543_3 (losingteam varchar, cup_finaldate varchar, PRIMARY KEY (losingteam))", + "answer": "select count(losingteam) from table_12028543_3 where cup_finaldate = \"20 august 1989\"" + }, + { + "question": "In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles", + "context": "create table table_15001681_1 (mixed_doubles varchar, womens_singles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_15001681_1 where womens_singles = \"michaela ritter\" and mens_singles = \"armand jehle\"" + }, + { + "question": "What is the compatible repository when the version is old version, no longer supported: 9 and default desktop environment is lxde?", + "context": "create table table_27329061_2 (compatible_repository varchar, version varchar, default_desktop_environment varchar, PRIMARY KEY (compatible_repository))", + "answer": "select compatible_repository from table_27329061_2 where version = \"old version, no longer supported: 9\" and default_desktop_environment = \"lxde\"" + }, + { + "question": "What core clocks ( mhz ) have a 21.3 memory bandwidth ( gb/s )?", + "context": "create table table_25839957_5 (core_clock___mhz__ varchar, memory_bandwidth___gb_s__ varchar, PRIMARY KEY (core_clock___mhz__))", + "answer": "select core_clock___mhz__ from table_25839957_5 where memory_bandwidth___gb_s__ = \"21.3\"" + }, + { + "question": "Name the date of vacancy for manuel pellegrini", + "context": "create table table_22640051_3 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_22640051_3 where outgoing_manager = \"manuel pellegrini\"" + }, + { + "question": "What's the total number of directors whose episodes have been seen by 9.14 million viewers?", + "context": "create table table_12919003_3 (director varchar, viewers_millions_ varchar, PRIMARY KEY (director))", + "answer": "select count(director) from table_12919003_3 where viewers_millions_ = \"9.14\"" + }, + { + "question": "find the program owners that have some programs in both morning and night time.", + "context": "create table broadcast (program_id varchar, time_of_day varchar, PRIMARY KEY (program_id)); create table program (owner varchar, program_id varchar, PRIMARY KEY (owner))", + "answer": "select t1.owner from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = \"morning\" intersect select t1.owner from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = \"night\"" + }, + { + "question": "Who's the captain of the team whose stadium is Gradski Stadion?", + "context": "create table table_23214833_1 (team_captain varchar, stadium varchar, PRIMARY KEY (team_captain))", + "answer": "select team_captain from table_23214833_1 where stadium = \"gradski stadion\"" + }, + { + "question": "What is the rank # of kelli miller the winning pitcher?", + "context": "create table table_22098274_1 (rank_number varchar, winning_pitcher varchar, PRIMARY KEY (rank_number))", + "answer": "select rank_number from table_22098274_1 where winning_pitcher = \"kelli miller\"" + }, + { + "question": "What are the details and ways to get to tourist attractions related to royal family?", + "context": "create table tourist_attractions (how_to_get_there varchar, tourist_attraction_id varchar, PRIMARY KEY (how_to_get_there)); create table royal_family (royal_family_details varchar, royal_family_id varchar, PRIMARY KEY (royal_family_details))", + "answer": "select t1.royal_family_details, t2.how_to_get_there from royal_family as t1 join tourist_attractions as t2 on t1.royal_family_id = t2.tourist_attraction_id" + }, + { + "question": "How many items appear in the dividend per share when the turnover is 0.42?", + "context": "create table table_2856898_1 (dividend_per_share__p_ varchar, turnover__\u00a3m_ varchar, PRIMARY KEY (dividend_per_share__p_))", + "answer": "select count(dividend_per_share__p_) from table_2856898_1 where turnover__\u00a3m_ = \"0.42\"" + }, + { + "question": "Who had the fastest lap when the winning team was Tom's Racing?", + "context": "create table table_16670746_2 (fastest_lap varchar, winning_team varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_16670746_2 where winning_team = \"tom's racing\"" + }, + { + "question": "What is the name of the episode written by alison cross?", + "context": "create table table_27969432_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_27969432_2 where written_by = \"alison cross\"" + }, + { + "question": "What is the gearbox when the torque is torque?", + "context": "create table table_250230_2 (gearbox varchar, PRIMARY KEY (gearbox))", + "answer": "select gearbox from table_250230_2 where \"torque\" = \"torque\"" + }, + { + "question": "Name the musical guest where guest host is elle macpherson", + "context": "create table table_1590967_6 (musical_guest__song_performed_ varchar, guest_host varchar, PRIMARY KEY (musical_guest__song_performed_))", + "answer": "select musical_guest__song_performed_ from table_1590967_6 where guest_host = \"elle macpherson\"" + }, + { + "question": "How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes?", + "context": "create table table_20350118_1 (obama_number varchar, obama_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select count(obama_number) from table_20350118_1 where obama_percentage = \"27.8%\"" + }, + { + "question": "How many drivers are there?", + "context": "create table driver (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from driver" + }, + { + "question": "What are the names of wrestlers and the elimination moves?", + "context": "create table wrestler (name varchar, wrestler_id varchar, PRIMARY KEY (name)); create table elimination (elimination_move varchar, wrestler_id varchar, PRIMARY KEY (elimination_move))", + "answer": "select t2.name, t1.elimination_move from elimination as t1 join wrestler as t2 on t1.wrestler_id = t2.wrestler_id" + }, + { + "question": "What is the original of the ipa ( s\u00e3o paulo ) translation d\u0250\u0303\u02d0\u02c8t\u0255i\u0263\u0250 \u02c8t\u0250\u0303\u028a\u032f\u0303 \u0250\u0303\u02c8mad\u0250 \u02c8su\u0250 \u0266\u00f5\u031e\u02c8m\u0259n\u0259?", + "context": "create table table_23915_4 (translation varchar, ipa___s\u00e3o_paulo__ varchar, PRIMARY KEY (translation))", + "answer": "select translation from table_23915_4 where ipa___s\u00e3o_paulo__ = \"d\u0250\u0303\u02d0\u02c8t\u0255i\u0263\u0250 \u02c8t\u0250\u0303\u028a\u032f\u0303 \u0250\u0303\u02c8mad\u0250 \u02c8su\u0250 \u0266\u00f5\u031e\u02c8m\u0259n\u0259\"" + }, + { + "question": "What is the 2006-2007 points minimum is the team is Overmach Parma?", + "context": "create table table_23215145_2 (team varchar, PRIMARY KEY (team))", + "answer": "select min(2006 as _07_points) from table_23215145_2 where team = \"overmach parma\"" + }, + { + "question": "how much prize money (in USD) did bob lutz win", + "context": "create table table_29302711_12 (prize_money__usd_ integer, name varchar, PRIMARY KEY (prize_money__usd_))", + "answer": "select max(prize_money__usd_) from table_29302711_12 where name = \"bob lutz\"" + }, + { + "question": "How many semifinalists where from peru?", + "context": "create table table_30018460_1 (semifinalists varchar, country_territory varchar, PRIMARY KEY (semifinalists))", + "answer": "select semifinalists from table_30018460_1 where country_territory = \"peru\"" + }, + { + "question": "what is the final-rank for the uneven bars and the competition is u.s. championships?", + "context": "create table table_13114949_3 (final_rank varchar, event varchar, competition varchar, PRIMARY KEY (final_rank))", + "answer": "select final_rank from table_13114949_3 where event = \"uneven bars\" and competition = \"u.s. championships\"" + }, + { + "question": "What school is in Brechin?", + "context": "create table table_21563298_1 (external_link varchar, location varchar, PRIMARY KEY (external_link))", + "answer": "select external_link from table_21563298_1 where location = \"brechin\"" + }, + { + "question": "Name the class aaaa for menard", + "context": "create table table_14630796_1 (class_aaaa varchar, class_a varchar, PRIMARY KEY (class_aaaa))", + "answer": "select class_aaaa from table_14630796_1 where class_a = \"menard\"" + }, + { + "question": "What is the prize money when the clubs is 392 \u2192 276?", + "context": "create table table_27973624_1 (prize_money varchar, clubs varchar, PRIMARY KEY (prize_money))", + "answer": "select prize_money from table_27973624_1 where clubs = \"392 \u2192 276\"" + }, + { + "question": "How many pilots are there?", + "context": "create table pilot (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from pilot" + }, + { + "question": "What is the starting weight if weight lost is 54.6?", + "context": "create table table_24370270_10 (starting_weight__kg_ varchar, weight_lost__kg_ varchar, PRIMARY KEY (starting_weight__kg_))", + "answer": "select starting_weight__kg_ from table_24370270_10 where weight_lost__kg_ = \"54.6\"" + }, + { + "question": "What is the airdate when the story is listed as hugh leonard?", + "context": "create table table_15739098_2 (airdate varchar, story varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_15739098_2 where story = \"hugh leonard\"" + }, + { + "question": "What activities does Clear Channel Entertainment Facilitation Limited engage in?", + "context": "create table table_1756264_2 (description_of_activities varchar, company_name varchar, PRIMARY KEY (description_of_activities))", + "answer": "select description_of_activities from table_1756264_2 where company_name = \"clear channel entertainment facilitation limited\"" + }, + { + "question": "Name the incumbent for matthew lyon (dr) anthony new (dr)", + "context": "create table table_2668378_5 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668378_5 where candidates = \"matthew lyon (dr) anthony new (dr)\"" + }, + { + "question": "What is the number of appearances where the most recent final result is 1999, beat Genk 3-1?", + "context": "create table table_1463332_2 (_number_appearances varchar, most_recent_final varchar, PRIMARY KEY (_number_appearances))", + "answer": "select count(_number_appearances) from table_1463332_2 where most_recent_final = \"1999, beat genk 3-1\"" + }, + { + "question": "Show the date valid from and the date valid to for the card with card number '4560596484842'.", + "context": "create table customers_cards (date_valid_from varchar, date_valid_to varchar, card_number varchar, PRIMARY KEY (date_valid_from))", + "answer": "select date_valid_from, date_valid_to from customers_cards where card_number = \"4560596484842\"" + }, + { + "question": "List the director and producer when Nick Hewer and Saira Khan were starring.", + "context": "create table table_24725951_1 (directed_and_produced_by varchar, celebrities varchar, PRIMARY KEY (directed_and_produced_by))", + "answer": "select directed_and_produced_by from table_24725951_1 where celebrities = \"nick hewer and saira khan\"" + }, + { + "question": "What is the English title for the official number 22 episode?", + "context": "create table table_16425614_3 (english_title varchar, official__number varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_16425614_3 where official__number = 22" + }, + { + "question": "Who was the original artist of the First solo theme?", + "context": "create table table_26250155_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_26250155_1 where theme = \"first solo\"" + }, + { + "question": "Which location has a team that is nicknamed the Vikings?", + "context": "create table table_13759592_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_13759592_1 where nickname = \"vikings\"" + }, + { + "question": "What college did Bill Cappleman go to?", + "context": "create table table_10361230_1 (college varchar, player_name varchar, PRIMARY KEY (college))", + "answer": "select college from table_10361230_1 where player_name = \"bill cappleman\"" + }, + { + "question": "How many materials are there for output power of ~0.1 pw per cycle (calculated)?", + "context": "create table table_30057479_1 (material varchar, output_power varchar, PRIMARY KEY (material))", + "answer": "select count(material) from table_30057479_1 where output_power = \"~0.1 pw per cycle (calculated)\"" + }, + { + "question": "Name the landesliga sud for sg quelle f\u00fcrth", + "context": "create table table_20181270_3 (landesliga_s\u00fcd varchar, bayernliga varchar, PRIMARY KEY (landesliga_s\u00fcd))", + "answer": "select landesliga_s\u00fcd from table_20181270_3 where bayernliga = \"sg quelle f\u00fcrth\"" + }, + { + "question": "Name the guest 4 for steve lamacq", + "context": "create table table_20466963_13 (guest_4 varchar, guest_2 varchar, PRIMARY KEY (guest_4))", + "answer": "select guest_4 from table_20466963_13 where guest_2 = \"steve lamacq\"" + }, + { + "question": "In what parish is the sub-parish fortun?", + "context": "create table table_178398_1 (parish__prestegjeld_ varchar, sub_parish__sogn_ varchar, PRIMARY KEY (parish__prestegjeld_))", + "answer": "select parish__prestegjeld_ from table_178398_1 where sub_parish__sogn_ = \"fortun\"" + }, + { + "question": "Name the round 1 for team event", + "context": "create table table_18646111_13 (round_1 varchar, event varchar, PRIMARY KEY (round_1))", + "answer": "select round_1 from table_18646111_13 where event = \"team\"" + }, + { + "question": "when does the train arriving at bourne at 11.45 departure", + "context": "create table table_18333678_2 (departure varchar, going_to varchar, arrival varchar, PRIMARY KEY (departure))", + "answer": "select departure from table_18333678_2 where going_to = \"bourne\" and arrival = \"11.45\"" + }, + { + "question": "how many guest stars did the episode that was broadcasted 11september2012 have", + "context": "create table table_29135051_3 (guest_s_ varchar, broadcast_date varchar, PRIMARY KEY (guest_s_))", + "answer": "select count(guest_s_) from table_29135051_3 where broadcast_date = \"11september2012\"" + }, + { + "question": "What is the name of the episode told by Kiki and directed by Will Dixon?", + "context": "create table table_10470082_6 (title varchar, storyteller varchar, director varchar, PRIMARY KEY (title))", + "answer": "select title from table_10470082_6 where storyteller = \"kiki\" and director = \"will dixon\"" + }, + { + "question": "what is the total number of films directy and written by john callaghan?", + "context": "create table table_27547668_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select count(directed_by) from table_27547668_4 where written_by = \"john callaghan\"" + }, + { + "question": "Where is the Bellerive Country Club venue located?", + "context": "create table table_224616_1 (location_of_venue varchar, venue varchar, PRIMARY KEY (location_of_venue))", + "answer": "select location_of_venue from table_224616_1 where venue = \"bellerive country club\"" + }, + { + "question": "Show the name of ships whose nationality is either United States or United Kingdom.", + "context": "create table ship (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from ship where nationality = \"united states\" or nationality = \"united kingdom\"" + }, + { + "question": "Find the names of users who did not leave any review.", + "context": "create table review (name varchar, u_id varchar, PRIMARY KEY (name)); create table useracct (name varchar, u_id varchar, PRIMARY KEY (name))", + "answer": "select name from useracct where not u_id in (select u_id from review)" + }, + { + "question": "List the first name and last name of all customers.", + "context": "create table customers (first_name varchar, last_name varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from customers" + }, + { + "question": "Who directed the episode that originally aired on March 18, 1988?", + "context": "create table table_20967430_4 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_20967430_4 where original_air_date = \"march 18, 1988\"" + }, + { + "question": "List all dbm's when profiles are 8a.", + "context": "create table table_2394927_1 (power___dbm__ varchar, profile varchar, PRIMARY KEY (power___dbm__))", + "answer": "select power___dbm__ from table_2394927_1 where profile = \"8a\"" + }, + { + "question": "if the 2.09 million US viewers watched this episode, who was it written by", + "context": "create table table_25084227_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_25084227_1 where us_viewers__in_millions_ = \"2.09\"" + }, + { + "question": "If there are 18 villages, what is the minimum area ?", + "context": "create table table_21302_1 (area___ha__ integer, no_of_villages varchar, PRIMARY KEY (area___ha__))", + "answer": "select min(area___ha__) from table_21302_1 where no_of_villages = 18" + }, + { + "question": "What was the original air date (atv) of episode 1?", + "context": "create table table_1439096_1 (original_air_date__atv_ varchar, episode_no varchar, PRIMARY KEY (original_air_date__atv_))", + "answer": "select original_air_date__atv_ from table_1439096_1 where episode_no = 1" + }, + { + "question": "How many teams had a 99.3% capacity rating?", + "context": "create table table_28884858_2 (team varchar, capacity_percentage varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_28884858_2 where capacity_percentage = \"99.3%\"" + }, + { + "question": "which is the former pageant in the country where the new pageant is miss bahamas?", + "context": "create table table_14308895_2 (former_pageant varchar, new_pageant varchar, PRIMARY KEY (former_pageant))", + "answer": "select former_pageant from table_14308895_2 where new_pageant = \"miss bahamas\"" + }, + { + "question": "What is the mascot with the colors green and navy?", + "context": "create table table_15873547_1 (mascot varchar, colors varchar, PRIMARY KEY (mascot))", + "answer": "select mascot from table_15873547_1 where colors = \"green and navy\"" + }, + { + "question": "What was the attendance last year at Manuka Oval?", + "context": "create table table_1161065_28 (last_year varchar, venue varchar, PRIMARY KEY (last_year))", + "answer": "select last_year from table_1161065_28 where venue = \"manuka oval\"" + }, + { + "question": "Which years had a jersey number 55", + "context": "create table table_11734041_18 (years_for_rockets varchar, no_s_ varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select years_for_rockets from table_11734041_18 where no_s_ = \"55\"" + }, + { + "question": "In how many countries was the total freshwater withdrawal (km 3 /yr) 169.39?", + "context": "create table table_15909409_2 (country varchar, total_freshwater_withdrawal__km_3__yr_ varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_15909409_2 where total_freshwater_withdrawal__km_3__yr_ = \"169.39\"" + }, + { + "question": "What is the average finish for winnings of $1,400?", + "context": "create table table_1875157_2 (avg_finish varchar, winnings varchar, PRIMARY KEY (avg_finish))", + "answer": "select avg_finish from table_1875157_2 where winnings = \"$1,400\"" + }, + { + "question": "What is the first and last name of the professor in biology department?", + "context": "create table professor (dept_code varchar, emp_num varchar, PRIMARY KEY (dept_code)); create table department (dept_code varchar, PRIMARY KEY (dept_code)); create table employee (emp_fname varchar, emp_lname varchar, emp_num varchar, PRIMARY KEY (emp_fname))", + "answer": "select t3.emp_fname, t3.emp_lname from professor as t1 join department as t2 on t1.dept_code = t2.dept_code join employee as t3 on t1.emp_num = t3.emp_num where dept_name = \"biology\"" + }, + { + "question": "Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?", + "context": "create table table_27743641_2 (gt_winning_team varchar, gtc_winning_team varchar, PRIMARY KEY (gt_winning_team))", + "answer": "select gt_winning_team from table_27743641_2 where gtc_winning_team = \"no. 54 black swan racing\"" + }, + { + "question": "Name the us exclusive for miley cyrus", + "context": "create table table_24600706_1 (us_exclusive varchar, artist_band varchar, PRIMARY KEY (us_exclusive))", + "answer": "select us_exclusive from table_24600706_1 where artist_band = \"miley cyrus\"" + }, + { + "question": "What is the course title of the prerequisite of course Mobile Computing?", + "context": "create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table prereq (prereq_id varchar, course_id varchar, PRIMARY KEY (prereq_id)); create table course (course_id varchar, title varchar, PRIMARY KEY (course_id))", + "answer": "select title from course where course_id in (select t1.prereq_id from prereq as t1 join course as t2 on t1.course_id = t2.course_id where t2.title = 'mobile computing')" + }, + { + "question": "Find the name of students who didn't take any course from Biology department.", + "context": "create table student (name varchar, id varchar, PRIMARY KEY (name)); create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id)); create table takes (id varchar, course_id varchar, PRIMARY KEY (id))", + "answer": "select name from student where not id in (select t1.id from takes as t1 join course as t2 on t1.course_id = t2.course_id where t2.dept_name = 'biology')" + }, + { + "question": "What is the vote number when immunity listed as David and reward is listed as none?", + "context": "create table table_28742659_2 (vote varchar, immunity varchar, reward varchar, PRIMARY KEY (vote))", + "answer": "select vote from table_28742659_2 where immunity = \"david\" and reward = \"none\"" + }, + { + "question": "Name the last appearance for music city bowl", + "context": "create table table_2517159_1 (last_appearance varchar, name_of_bowl varchar, PRIMARY KEY (last_appearance))", + "answer": "select last_appearance from table_2517159_1 where name_of_bowl = \"music city bowl\"" + }, + { + "question": "What is the status if the poverty rate is 11.4%?", + "context": "create table table_22815568_6 (status varchar, poverty_rate varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_6 where poverty_rate = \"11.4%\"" + }, + { + "question": "Show all flight number from Los Angeles.", + "context": "create table flight (flno varchar, origin varchar, PRIMARY KEY (flno))", + "answer": "select flno from flight where origin = \"los angeles\"" + }, + { + "question": "How many times was the mens u20 recorded when the Womens 40 were Sydney Scorpions def North Queensland Cyclones?", + "context": "create table table_16724844_1 (mens_u20 varchar, womens_40 varchar, PRIMARY KEY (mens_u20))", + "answer": "select count(mens_u20) from table_16724844_1 where womens_40 = \"sydney scorpions def north queensland cyclones\"" + }, + { + "question": "Name the format for super callanetics", + "context": "create table table_27303975_2 (format varchar, title varchar, PRIMARY KEY (format))", + "answer": "select format from table_27303975_2 where title = \"super callanetics\"" + }, + { + "question": "What is the gdp per capita in 2008 for the region with a combined gross enrollment ratio of 86.6 in 2009?", + "context": "create table table_25042332_33 (gdp__ppp__per_capita__2008_ integer, combined_gross_enrollment_ratio__2009_ varchar, PRIMARY KEY (gdp__ppp__per_capita__2008_))", + "answer": "select max(gdp__ppp__per_capita__2008_) from table_25042332_33 where combined_gross_enrollment_ratio__2009_ = \"86.6\"" + }, + { + "question": "If the start (utc) is November 18, 2008 18:09, what is the name of the spacecraft?", + "context": "create table table_22385461_9 (spacecraft varchar, start___utc__ varchar, PRIMARY KEY (spacecraft))", + "answer": "select spacecraft from table_22385461_9 where start___utc__ = \"november 18, 2008 18:09\"" + }, + { + "question": "what's the\u00a0salmonella\u00a0with\u00a0escherichia\u00a0being sepb (escn)", + "context": "create table table_10321124_1 (salmonella varchar, escherichia varchar, PRIMARY KEY (salmonella))", + "answer": "select salmonella from table_10321124_1 where escherichia = \"sepb (escn)\"" + }, + { + "question": "What is the title when original air date is may15,2008?", + "context": "create table table_10701133_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_10701133_1 where original_air_date = \"may15,2008\"" + }, + { + "question": "What was the duration of Daniela Ryf's swimming stage?", + "context": "create table table_17085947_32 (swim__15km_ varchar, athlete varchar, PRIMARY KEY (swim__15km_))", + "answer": "select swim__15km_ from table_17085947_32 where athlete = \"daniela ryf\"" + }, + { + "question": "When did the first staff for the projects started working?", + "context": "create table project_staff (date_from varchar, PRIMARY KEY (date_from))", + "answer": "select date_from from project_staff order by date_from limit 1" + }, + { + "question": "Who had the fastest lap in bowmanville, ontario?", + "context": "create table table_30134667_2 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_30134667_2 where location = \"bowmanville, ontario\"" + }, + { + "question": "The episode that had 8.62 million US viewers originally aired on which date?", + "context": "create table table_26825349_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26825349_1 where us_viewers__millions_ = \"8.62\"" + }, + { + "question": "What is every title when U.S. viewers is 1.04 million.", + "context": "create table table_26736040_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_26736040_1 where us_viewers__millions_ = \"1.04\"" + }, + { + "question": "What is the Package Option of TV Channel with serial name \"Sky Radio\"?", + "context": "create table tv_channel (package_option varchar, series_name varchar, PRIMARY KEY (package_option))", + "answer": "select package_option from tv_channel where series_name = \"sky radio\"" + }, + { + "question": "What gender is Quentin?", + "context": "create table table_2933761_1 (gender varchar, name varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_2933761_1 where name = \"quentin\"" + }, + { + "question": "Name the least runs conceded for brett lee", + "context": "create table table_15700367_4 (runs_conceded integer, name varchar, PRIMARY KEY (runs_conceded))", + "answer": "select min(runs_conceded) from table_15700367_4 where name = \"brett lee\"" + }, + { + "question": "Who were the candidates in the election where william wilson was the incumbent?", + "context": "create table table_2668336_19 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668336_19 where incumbent = \"william wilson\"" + }, + { + "question": "What is song 1 title is the artist is Danny Byrd?", + "context": "create table table_23649244_2 (song_1_title varchar, artist_1 varchar, PRIMARY KEY (song_1_title))", + "answer": "select song_1_title from table_23649244_2 where artist_1 = \"danny byrd\"" + }, + { + "question": "Show me all the restaurants.", + "context": "create table restaurant (resname varchar, PRIMARY KEY (resname))", + "answer": "select resname from restaurant" + }, + { + "question": "What are the title and director of the films without any schedule?", + "context": "create table schedule (title varchar, directed_by varchar, film_id varchar, PRIMARY KEY (title)); create table film (title varchar, directed_by varchar, film_id varchar, PRIMARY KEY (title))", + "answer": "select title, directed_by from film where not film_id in (select film_id from schedule)" + }, + { + "question": "How many viewers did the episode directed by David Nutter draw in?", + "context": "create table table_14929574_3 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_14929574_3 where directed_by = \"david nutter\"" + }, + { + "question": "Name the original title for 6.05 million viewership", + "context": "create table table_17641206_6 (original_title varchar, viewership varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_17641206_6 where viewership = \"6.05 million\"" + }, + { + "question": "what is the full name and id of the college with the largest number of baseball players?", + "context": "create table player_college (college_id varchar, PRIMARY KEY (college_id)); create table college (name_full varchar, college_id varchar, PRIMARY KEY (name_full))", + "answer": "select t1.name_full, t1.college_id from college as t1 join player_college as t2 on t1.college_id = t2.college_id group by t1.college_id order by count(*) desc limit 1" + }, + { + "question": "What arena does the team play at that has Michael Wales as the captain?", + "context": "create table table_2384331_1 (arena varchar, captain varchar, PRIMARY KEY (arena))", + "answer": "select arena from table_2384331_1 where captain = \"michael wales\"" + }, + { + "question": "Find the last name of the first ever contact person of the organization with the highest UK Vat number.", + "context": "create table organizations (uk_vat_number integer, PRIMARY KEY (uk_vat_number)); create table individuals (individual_last_name varchar, individual_id varchar, PRIMARY KEY (individual_last_name)); create table organizations (organization_id varchar, uk_vat_number integer, PRIMARY KEY (organization_id)); create table organization_contact_individuals (organization_id varchar, individual_id varchar, date_contact_to varchar, PRIMARY KEY (organization_id))", + "answer": "select t3.individual_last_name from organizations as t1 join organization_contact_individuals as t2 on t1.organization_id = t2.organization_id join individuals as t3 on t2.individual_id = t3.individual_id where t1.uk_vat_number = (select max(uk_vat_number) from organizations) order by t2.date_contact_to limit 1" + }, + { + "question": "If the spectral type is g1v, what is the constellation?", + "context": "create table table_1820752_1 (constellation varchar, spectral_type varchar, PRIMARY KEY (constellation))", + "answer": "select constellation from table_1820752_1 where spectral_type = \"g1v\"" + }, + { + "question": "Name the number of countries that have the us dollar", + "context": "create table table_2764267_2 (country varchar, currency varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_2764267_2 where currency = \"us dollar\"" + }, + { + "question": "Erdo\u011fan Ar\u0131ca is the head coach at what venue?", + "context": "create table table_17356873_1 (venue varchar, head_coach varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_17356873_1 where head_coach = \"erdo\u011fan ar\u0131ca\"" + }, + { + "question": "find all dependent names who have a spouse relation with some employee.", + "context": "create table dependent (dependent_name varchar, relationship varchar, PRIMARY KEY (dependent_name))", + "answer": "select dependent_name from dependent where relationship = 'spouse'" + }, + { + "question": "Who did the most high rebounds in the game where Sales (17) did the high points?", + "context": "create table table_18904831_5 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_18904831_5 where high_points = \"sales (17)\"" + }, + { + "question": "Who are the members of the club named \"Hopkins Student Enterprises\"? Show the last name.", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))", + "answer": "select t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"hopkins student enterprises\"" + }, + { + "question": "When 24:31 is the run time how many millions of viewers are there?", + "context": "create table table_2102945_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_2102945_1 where run_time = \"24:31\"" + }, + { + "question": "who is the person that is part of the belgian vw club that works with fr\u00e9d\u00e9ric miclotte", + "context": "create table table_28046929_2 (driver varchar, entrant varchar, co_driver varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_28046929_2 where entrant = \"belgian vw club\" and co_driver = \"fr\u00e9d\u00e9ric miclotte\"" + }, + { + "question": "What is the manhattan for richmond 35%?", + "context": "create table table_1108394_24 (manhattan varchar, richmond_ varchar, staten_is varchar, PRIMARY KEY (manhattan))", + "answer": "select manhattan from table_1108394_24 where richmond_[staten_is] = \"35_percentage\"" + }, + { + "question": "What country had 20% imports from russia?", + "context": "create table table_21690339_1 (country varchar, _percentage_of_imports_from_russia varchar, PRIMARY KEY (country))", + "answer": "select country from table_21690339_1 where _percentage_of_imports_from_russia = \"20%\"" + }, + { + "question": "What is the party of the district incumbent Jim Saxton?", + "context": "create table table_1341453_32 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341453_32 where incumbent = \"jim saxton\"" + }, + { + "question": "How many connections aux in using FIrewire?", + "context": "create table table_24384861_1 (aux_in varchar, dock_connection varchar, PRIMARY KEY (aux_in))", + "answer": "select count(aux_in) from table_24384861_1 where dock_connection = \"firewire\"" + }, + { + "question": "Find the name and partition id for users who tweeted less than twice.", + "context": "create table user_profiles (name varchar, partitionid varchar, uid varchar, PRIMARY KEY (name)); create table tweets (uid varchar, PRIMARY KEY (uid))", + "answer": "select t1.name, t1.partitionid from user_profiles as t1 join tweets as t2 on t1.uid = t2.uid group by t2.uid having count(*) < 2" + }, + { + "question": "what is the number of opponents where the location is syracuse, ny?", + "context": "create table table_23346303_3 (opponent varchar, location varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_23346303_3 where location = \"syracuse, ny\"" + }, + { + "question": "What is the traditional with density of 820?", + "context": "create table table_2135222_2 (traditional varchar, density varchar, PRIMARY KEY (traditional))", + "answer": "select traditional from table_2135222_2 where density = 820" + }, + { + "question": "Which department offers the most number of degrees? List department name and id.", + "context": "create table degree_programs (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name))", + "answer": "select t2.department_name, t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1" + }, + { + "question": "What is the Thurs 2 June time for the rider with a Fri 3 June time of 17' 36.58 128.554mph?", + "context": "create table table_29218221_1 (thurs_2_june varchar, fri_3_june varchar, PRIMARY KEY (thurs_2_june))", + "answer": "select thurs_2_june from table_29218221_1 where fri_3_june = \"17' 36.58 128.554mph\"" + }, + { + "question": "What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?", + "context": "create table table_24089503_1 (kentucky_oaks varchar, belmont_stakes varchar, PRIMARY KEY (kentucky_oaks))", + "answer": "select kentucky_oaks from table_24089503_1 where belmont_stakes = \"64,949\"" + }, + { + "question": "What is the torque formula for the 1.6 Duratec ti-vct model/engine?", + "context": "create table table_1212189_1 (torque__nm__rpm varchar, model_engine varchar, PRIMARY KEY (torque__nm__rpm))", + "answer": "select torque__nm__rpm from table_1212189_1 where model_engine = \"1.6 duratec ti-vct\"" + }, + { + "question": "How many million viewers watch the episode that kevin biegel & aseem batra wrote?", + "context": "create table table_25548213_1 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_25548213_1 where written_by = \"kevin biegel & aseem batra\"" + }, + { + "question": "How many RolePlay actors played the role requiring a \"male, younger\" actor?", + "context": "create table table_17827271_1 (roleplay varchar, actor_required varchar, PRIMARY KEY (roleplay))", + "answer": "select count(roleplay) from table_17827271_1 where actor_required = \"male, younger\"" + }, + { + "question": "List all restaurant types.", + "context": "create table restaurant_type (restypename varchar, PRIMARY KEY (restypename))", + "answer": "select restypename from restaurant_type" + }, + { + "question": "How many different product types are there?", + "context": "create table products_for_hire (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select count(distinct product_type_code) from products_for_hire" + }, + { + "question": "How many different degree names are offered?", + "context": "create table degree_programs (degree_summary_name varchar, PRIMARY KEY (degree_summary_name))", + "answer": "select count(distinct degree_summary_name) from degree_programs" + }, + { + "question": "What is every entry for Proto-Italo-Western 1 when door is English?", + "context": "create table table_25401_15 (proto_italo_western_1 varchar, english varchar, PRIMARY KEY (proto_italo_western_1))", + "answer": "select proto_italo_western_1 from table_25401_15 where english = \"door\"" + }, + { + "question": "What is the lowest value for int. caps?", + "context": "create table table_29743928_5 (int_caps integer, PRIMARY KEY (int_caps))", + "answer": "select min(int_caps) from table_29743928_5" + }, + { + "question": "Name the southern lakota for h\u00ed\u014bha\u014bna", + "context": "create table table_1499774_5 (southern_lakota varchar, yankton_yanktonai varchar, PRIMARY KEY (southern_lakota))", + "answer": "select southern_lakota from table_1499774_5 where yankton_yanktonai = \"h\u00ed\u014bha\u014bna\"" + }, + { + "question": "who directed with\u00a0original air date\u00a0being november18,1995", + "context": "create table table_14637853_3 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_14637853_3 where original_air_date = \"november18,1995\"" + }, + { + "question": "How many faculty members participate in an activity?", + "context": "create table faculty_participates_in (facid varchar, PRIMARY KEY (facid))", + "answer": "select count(distinct facid) from faculty_participates_in" + }, + { + "question": "Find the number of investors in total.", + "context": "create table investors (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from investors" + }, + { + "question": "How many engineer visits are required at most for a single fault log? List the number and the log entry id.", + "context": "create table fault_log (fault_log_entry_id varchar, PRIMARY KEY (fault_log_entry_id)); create table engineer_visits (fault_log_entry_id varchar, PRIMARY KEY (fault_log_entry_id))", + "answer": "select count(*), t1.fault_log_entry_id from fault_log as t1 join engineer_visits as t2 on t1.fault_log_entry_id = t2.fault_log_entry_id group by t1.fault_log_entry_id order by count(*) desc limit 1" + }, + { + "question": "What is the number for combaya municipality when quiabaya municipality is 33?", + "context": "create table table_2509202_2 (combaya_municipality varchar, quiabaya_municipality varchar, PRIMARY KEY (combaya_municipality))", + "answer": "select combaya_municipality from table_2509202_2 where quiabaya_municipality = \"33\"" + }, + { + "question": "how many remittances in 2010 where the remittances is 19.73?", + "context": "create table table_2941963_1 (remittances_2010 varchar, remittances_2009 varchar, PRIMARY KEY (remittances_2010))", + "answer": "select count(remittances_2010) from table_2941963_1 where remittances_2009 = \"19.73\"" + }, + { + "question": "What were the records when the opponents had 50 points?", + "context": "create table table_22862203_2 (record varchar, opp_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_22862203_2 where opp_points = 50" + }, + { + "question": "what is the English meaning of the old English name \"s\u00e6turnesd\u00e6g\"?", + "context": "create table table_2624098_1 (english_day_name_meaning varchar, old_english_day_name varchar, PRIMARY KEY (english_day_name_meaning))", + "answer": "select english_day_name_meaning from table_2624098_1 where old_english_day_name = \"s\u00e6turnesd\u00e6g\"" + }, + { + "question": "Show the transportation method most people choose to get to tourist attractions.", + "context": "create table tourist_attractions (how_to_get_there varchar, PRIMARY KEY (how_to_get_there))", + "answer": "select how_to_get_there from tourist_attractions group by how_to_get_there order by count(*) desc limit 1" + }, + { + "question": "What are the name of the countries where there is not a single car maker?", + "context": "create table countries (countryname varchar, countryid varchar, PRIMARY KEY (countryname)); create table countries (countryname varchar, PRIMARY KEY (countryname)); create table car_makers (country varchar, PRIMARY KEY (country))", + "answer": "select countryname from countries except select t1.countryname from countries as t1 join car_makers as t2 on t1.countryid = t2.country" + }, + { + "question": "What is the episode number where the English title is Pilot?", + "context": "create table table_1481865_1 (number_of_episode varchar, title__english_ varchar, PRIMARY KEY (number_of_episode))", + "answer": "select number_of_episode from table_1481865_1 where title__english_ = \"pilot\"" + }, + { + "question": "What are the majors of male (sex is M) students?", + "context": "create table student (major varchar, sex varchar, PRIMARY KEY (major))", + "answer": "select major from student where sex = \"m\"" + }, + { + "question": "Find the name of the most popular party form.", + "context": "create table party_forms (form_id varchar, PRIMARY KEY (form_id)); create table forms (form_name varchar, form_id varchar, PRIMARY KEY (form_name))", + "answer": "select t1.form_name from forms as t1 join party_forms as t2 on t1.form_id = t2.form_id group by t2.form_id order by count(*) desc limit 1" + }, + { + "question": "How many schools had the win loss ratio of 0.667?", + "context": "create table table_16225511_2 (school varchar, percent varchar, PRIMARY KEY (school))", + "answer": "select count(school) from table_16225511_2 where percent = \"0.667\"" + }, + { + "question": "What is the second year class following pag-unawa?", + "context": "create table table_12148147_2 (second_year varchar, first_year varchar, PRIMARY KEY (second_year))", + "answer": "select second_year from table_12148147_2 where first_year = \"pag-unawa\"" + }, + { + "question": "What is the status of the airport line?", + "context": "create table table_1603807_2 (status varchar, line varchar, PRIMARY KEY (status))", + "answer": "select status from table_1603807_2 where line = \"airport line\"" + }, + { + "question": "What game modes are there when the pinyin is zh\u00edg\u01cen y\u012b b\u01d0 ?", + "context": "create table table_1616608_2 (game_modes varchar, pinyin varchar, PRIMARY KEY (game_modes))", + "answer": "select game_modes from table_1616608_2 where pinyin = \"zh\u00edg\u01cen y\u012b b\u01d0\"" + }, + { + "question": "What is the withdraw date for secr no. 771?", + "context": "create table table_17607663_1 (date_withdrawn varchar, secr_no varchar, PRIMARY KEY (date_withdrawn))", + "answer": "select date_withdrawn from table_17607663_1 where secr_no = 771" + }, + { + "question": "When abba is the artist what is the album?", + "context": "create table table_18442691_2 (album varchar, artist varchar, PRIMARY KEY (album))", + "answer": "select album from table_18442691_2 where artist = \"abba\"" + }, + { + "question": "Show the names of pilots and the number of records they have.", + "context": "create table pilot (pilot_name varchar, pilot_id varchar, PRIMARY KEY (pilot_name)); create table pilot_record (pilot_id varchar, PRIMARY KEY (pilot_id))", + "answer": "select t2.pilot_name, count(*) from pilot_record as t1 join pilot as t2 on t1.pilot_id = t2.pilot_id group by t2.pilot_name" + }, + { + "question": "In what city did oklahoma win the tournament.", + "context": "create table table_24348134_3 (tournament_venue__city_ varchar, tournament_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_24348134_3 where tournament_winner = \"oklahoma\"" + }, + { + "question": "In what event was the compulsory dance score 28.12?", + "context": "create table table_22644589_4 (event varchar, compulsory_dance__cd_ varchar, PRIMARY KEY (event))", + "answer": "select event from table_22644589_4 where compulsory_dance__cd_ = \"28.12\"" + }, + { + "question": "How many nominee's had a vote to evict percentage of 3.92%", + "context": "create table table_15162479_8 (nominee varchar, vote_to_evict varchar, PRIMARY KEY (nominee))", + "answer": "select count(nominee) from table_15162479_8 where vote_to_evict = \"3.92%\"" + }, + { + "question": "What is the population density in the Brighton area?", + "context": "create table table_140297_1 (density varchar, principal_town varchar, PRIMARY KEY (density))", + "answer": "select density from table_140297_1 where principal_town = \"brighton\"" + }, + { + "question": "What is the playoffs result in years where Open Canada Cup was \"N/A\" and regular season result was \"2nd, New England\"?", + "context": "create table table_1999350_1 (playoffs varchar, open_canada_cup varchar, regular_season varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1999350_1 where open_canada_cup = \"n/a\" and regular_season = \"2nd, new england\"" + }, + { + "question": "When autodromo nazionale monza is the circuit what is the report?", + "context": "create table table_21191496_1 (report varchar, circuit varchar, PRIMARY KEY (report))", + "answer": "select report from table_21191496_1 where circuit = \"autodromo nazionale monza\"" + }, + { + "question": "What was the percentage of national votes for Mahmoud Ahmadinejad?", + "context": "create table table_1827900_1 (_percentage_of_votes_nationally varchar, candidates varchar, PRIMARY KEY (_percentage_of_votes_nationally))", + "answer": "select _percentage_of_votes_nationally from table_1827900_1 where candidates = \"mahmoud ahmadinejad\"" + }, + { + "question": "How many flights depart from 'APG'?", + "context": "create table flights (sourceairport varchar, PRIMARY KEY (sourceairport))", + "answer": "select count(*) from flights where sourceairport = \"apg\"" + }, + { + "question": "Who led the most laps when brandon wagner had the fastest lap?", + "context": "create table table_29690363_3 (most_laps_led varchar, fastest_lap varchar, PRIMARY KEY (most_laps_led))", + "answer": "select most_laps_led from table_29690363_3 where fastest_lap = \"brandon wagner\"" + }, + { + "question": "What kind of decor has the least number of reservations?", + "context": "create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (decor varchar, roomid varchar, PRIMARY KEY (decor))", + "answer": "select t2.decor from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t2.decor order by count(t2.decor) limit 1" + }, + { + "question": "What is the depth at the UTC time of 12:19:36?", + "context": "create table table_26950408_1 (depth varchar, time___utc__ varchar, PRIMARY KEY (depth))", + "answer": "select depth from table_26950408_1 where time___utc__ = \"12:19:36\"" + }, + { + "question": "What is the smallest number for old membership total?", + "context": "create table table_27671835_3 (old_membership_total integer, PRIMARY KEY (old_membership_total))", + "answer": "select min(old_membership_total) from table_27671835_3" + }, + { + "question": "Show the teams that have both wrestlers eliminated by \"Orton\" and wrestlers eliminated by \"Benjamin\".", + "context": "create table elimination (team varchar, eliminated_by varchar, PRIMARY KEY (team))", + "answer": "select team from elimination where eliminated_by = \"orton\" intersect select team from elimination where eliminated_by = \"benjamin\"" + }, + { + "question": "what's the\u00a0report\u00a0with\u00a0fastest lap\u00a0being felipe massa and\u00a0winning driver\u00a0being jenson button", + "context": "create table table_12161822_5 (report varchar, fastest_lap varchar, winning_driver varchar, PRIMARY KEY (report))", + "answer": "select report from table_12161822_5 where fastest_lap = \"felipe massa\" and winning_driver = \"jenson button\"" + }, + { + "question": "what is the dadar xi b where pifa colaba is sporting options?", + "context": "create table table_28759261_5 (dadar_xi_\u2018b\u2019 varchar, pifa_colaba_fc_u_17 varchar, PRIMARY KEY (dadar_xi_\u2018b\u2019))", + "answer": "select dadar_xi_\u2018b\u2019 from table_28759261_5 where pifa_colaba_fc_u_17 = \"sporting options\"" + }, + { + "question": "Who was the male rep. when Caroline Rhoads was the artistic director?", + "context": "create table table_22410780_1 (male_rep varchar, artistic_director varchar, PRIMARY KEY (male_rep))", + "answer": "select male_rep from table_22410780_1 where artistic_director = \"caroline rhoads\"" + }, + { + "question": "Who were the operational owners during the construction date of April 1892?", + "context": "create table table_1057316_1 (operational_owner_s_ varchar, build_date varchar, PRIMARY KEY (operational_owner_s_))", + "answer": "select operational_owner_s_ from table_1057316_1 where build_date = \"april 1892\"" + }, + { + "question": "What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?", + "context": "create table table_21154679_1 (top_speed varchar, max_power varchar, PRIMARY KEY (top_speed))", + "answer": "select top_speed from table_21154679_1 where max_power = \"ps (kw; bhp)@5250-6250\"" + }, + { + "question": "How long does student Linda Smith spend on the restaurant in total?", + "context": "create table visits_restaurant (spent integer, PRIMARY KEY (spent)); create table student (spent integer, PRIMARY KEY (spent))", + "answer": "select sum(spent) from student join visits_restaurant on student.stuid = visits_restaurant.stuid where student.fname = \"linda\" and student.lname = \"smith\"" + }, + { + "question": "In the country Switzerland, what is the total trade?", + "context": "create table table_26160007_1 (total_trade varchar, country varchar, PRIMARY KEY (total_trade))", + "answer": "select total_trade from table_26160007_1 where country = \"switzerland\"" + }, + { + "question": "List the number of bbc rankings with cable rankings of 6.", + "context": "create table table_24399615_10 (bbc_three_weekly_ranking varchar, cable_rank varchar, PRIMARY KEY (bbc_three_weekly_ranking))", + "answer": "select bbc_three_weekly_ranking from table_24399615_10 where cable_rank = \"6\"" + }, + { + "question": "What was the election date for H. Brent Coles?", + "context": "create table table_1329532_2 (date_of_election varchar, appointed_successor varchar, PRIMARY KEY (date_of_election))", + "answer": "select date_of_election from table_1329532_2 where appointed_successor = \"h. brent coles\"" + }, + { + "question": "find the name of employee who was awarded the most times in the evaluation.", + "context": "create table evaluation (employee_id varchar, PRIMARY KEY (employee_id)); create table employee (name varchar, employee_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from employee as t1 join evaluation as t2 on t1.employee_id = t2.employee_id group by t2.employee_id order by count(*) desc limit 1" + }, + { + "question": "How many have the colors blue & gold?", + "context": "create table table_261927_1 (institution varchar, colors varchar, PRIMARY KEY (institution))", + "answer": "select count(institution) from table_261927_1 where colors = \"blue & gold\"" + }, + { + "question": "Who is h.l birkett if w.h. archer is r. cochrane?", + "context": "create table table_1320857_1 (hl_birkett varchar, wh_archer varchar, PRIMARY KEY (hl_birkett))", + "answer": "select hl_birkett from table_1320857_1 where wh_archer = \"r. cochrane\"" + }, + { + "question": "Who was the director for the episode airing on September 24, 1993?", + "context": "create table table_2409041_6 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2409041_6 where original_air_date = \"september 24, 1993\"" + }, + { + "question": "What is the type of measure that voted on the Power Development Debt Limit Amendment?", + "context": "create table table_256286_45 (type varchar, description varchar, PRIMARY KEY (type))", + "answer": "select type from table_256286_45 where description = \"power development debt limit amendment\"" + }, + { + "question": "Name the 0-100 km/hs for name of 2.0 8v", + "context": "create table table_17941111_2 (s varchar, name varchar, PRIMARY KEY (s))", + "answer": "select 0 as _100km_h, s from table_17941111_2 where name = \"2.0 8v\"" + }, + { + "question": "What is the value of barrel twist when the barrel profile is SFW?", + "context": "create table table_12834315_8 (barrel_twist varchar, barrel_profile varchar, PRIMARY KEY (barrel_twist))", + "answer": "select barrel_twist from table_12834315_8 where barrel_profile = \"sfw\"" + }, + { + "question": "Name the general classification for steven kruijswijk", + "context": "create table table_29077342_19 (general_classification varchar, winner varchar, PRIMARY KEY (general_classification))", + "answer": "select general_classification from table_29077342_19 where winner = \"steven kruijswijk\"" + }, + { + "question": "what's the\u00a0brooklyn\u00a0with\u00a0queens\u00a0value of 16.8%", + "context": "create table table_1108394_43 (brooklyn varchar, queens varchar, PRIMARY KEY (brooklyn))", + "answer": "select brooklyn from table_1108394_43 where queens = \"16.8_percentage\"" + }, + { + "question": "Name the number of others votes for when others % is 2.0%", + "context": "create table table_15929156_3 (others_votes varchar, others__percentage varchar, PRIMARY KEY (others_votes))", + "answer": "select count(others_votes) from table_15929156_3 where others__percentage = \"2.0%\"" + }, + { + "question": "What are the original air dates for episodes directed by fred toye?", + "context": "create table table_27969432_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27969432_3 where directed_by = \"fred toye\"" + }, + { + "question": "Name the total number of segment b for s banjo", + "context": "create table table_15187735_10 (segment_b varchar, segment_d varchar, PRIMARY KEY (segment_b))", + "answer": "select count(segment_b) from table_15187735_10 where segment_d = \"s banjo\"" + }, + { + "question": "What are the dates of birth of entrepreneurs with investor \"Simon Woodroffe\" or \"Peter Jones\"?", + "context": "create table entrepreneur (people_id varchar, investor varchar, PRIMARY KEY (people_id)); create table people (date_of_birth varchar, people_id varchar, PRIMARY KEY (date_of_birth))", + "answer": "select t2.date_of_birth from entrepreneur as t1 join people as t2 on t1.people_id = t2.people_id where t1.investor = \"simon woodroffe\" or t1.investor = \"peter jones\"" + }, + { + "question": "When Spencer is the county what is total of the population (2010) (rank)?", + "context": "create table table_14253123_1 (population__2010___rank_ varchar, county_name varchar, PRIMARY KEY (population__2010___rank_))", + "answer": "select count(population__2010___rank_) from table_14253123_1 where county_name = \"spencer\"" + }, + { + "question": "Name the equivalence for varas for geometrical pace", + "context": "create table table_26538461_2 (equivalence_in_varas varchar, english_name varchar, PRIMARY KEY (equivalence_in_varas))", + "answer": "select equivalence_in_varas from table_26538461_2 where english_name = \"geometrical pace\"" + }, + { + "question": "Name the number of stage winners for team columbia", + "context": "create table table_19115414_4 (stage__winner_ varchar, team_classification varchar, PRIMARY KEY (stage__winner_))", + "answer": "select count(stage__winner_) from table_19115414_4 where team_classification = \"team columbia\"" + }, + { + "question": "What is the most common interaction type between enzymes and medicine? And how many are there?", + "context": "create table medicine_enzyme_interaction (interaction_type varchar, PRIMARY KEY (interaction_type))", + "answer": "select interaction_type, count(*) from medicine_enzyme_interaction group by interaction_type order by count(*) desc limit 1" + }, + { + "question": "Name the entries for 6 h 23 min elapsed time", + "context": "create table table_2534387_10 (entries varchar, elapsed_time varchar, PRIMARY KEY (entries))", + "answer": "select entries from table_2534387_10 where elapsed_time = \"6 h 23 min\"" + }, + { + "question": "Who left a position on 29 May?", + "context": "create table table_17327458_1 (outgoing_manager varchar, date_of_vacancy varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_17327458_1 where date_of_vacancy = \"29 may\"" + }, + { + "question": "What are the womens singles of imam sodikin irawan andi tandaputra?", + "context": "create table table_12104319_1 (womens_singles varchar, mens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_12104319_1 where mens_doubles = \"imam sodikin irawan andi tandaputra\"" + }, + { + "question": "If the equation is 6 \u00d7 9\u00b2 + 6 \u00d7 9 + 6, what is the 3rd throw?", + "context": "create table table_17265535_7 (equation varchar, PRIMARY KEY (equation))", + "answer": "select max(3 as rd_throw) from table_17265535_7 where equation = \"6 \u00d7 9\u00b2 + 6 \u00d7 9 + 6\"" + }, + { + "question": "What is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?", + "context": "create table table_27329061_2 (codename varchar, code_base varchar, edition varchar, PRIMARY KEY (codename))", + "answer": "select codename from table_27329061_2 where code_base = \"ubuntu 8.04\" and edition = \"fluxbox ce\"" + }, + { + "question": "What is the minimum amount for wool for 2001-02?", + "context": "create table table_1057262_1 (commodity varchar, PRIMARY KEY (commodity))", + "answer": "select min(2001 as _02) from table_1057262_1 where commodity = \"wool\"" + }, + { + "question": "When united arab emirates is the country how many fastest qualifying are there?", + "context": "create table table_26358264_2 (fastest_qualifying varchar, country varchar, PRIMARY KEY (fastest_qualifying))", + "answer": "select count(fastest_qualifying) from table_26358264_2 where country = \"united arab emirates\"" + }, + { + "question": "What is the number of voters in 1800 that have boroughs named Drogheda?", + "context": "create table table_24329520_8 (voters_in_1800 varchar, borough varchar, PRIMARY KEY (voters_in_1800))", + "answer": "select count(voters_in_1800) from table_24329520_8 where borough = \"drogheda\"" + }, + { + "question": "Which stadium name contains the substring \"Bank\"?", + "context": "create table stadium (name varchar, PRIMARY KEY (name))", + "answer": "select name from stadium where name like \"%bank%\"" + }, + { + "question": "How many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng?", + "context": "create table table_28190363_1 (network varchar, judges varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_28190363_1 where judges = \"pete goffe-wood andrew atkinson benny masekwameng\"" + }, + { + "question": "How many cytoplasms result in a blue nucleus?", + "context": "create table table_13570_1 (cytoplasm varchar, nucleus varchar, PRIMARY KEY (cytoplasm))", + "answer": "select count(cytoplasm) from table_13570_1 where nucleus = \"blue\"" + }, + { + "question": "What are the ids and names of the architects who built at least 3 bridges ?", + "context": "create table architect (id varchar, name varchar, PRIMARY KEY (id)); create table bridge (architect_id varchar, PRIMARY KEY (architect_id))", + "answer": "select t1.id, t1.name from architect as t1 join bridge as t2 on t1.id = t2.architect_id group by t1.id having count(*) >= 3" + }, + { + "question": "What is the party where the incumbent is overton brooks?", + "context": "create table table_1342198_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342198_18 where incumbent = \"overton brooks\"" + }, + { + "question": "What are the dates of the outgoing manager colin hendry does appointments?", + "context": "create table table_11207040_6 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_11207040_6 where outgoing_manager = \"colin hendry\"" + }, + { + "question": "How many distinct colleges are associated with players from the team with name \"Columbus Crew\".", + "context": "create table match_season (college varchar, team varchar, PRIMARY KEY (college)); create table team (team_id varchar, name varchar, PRIMARY KEY (team_id))", + "answer": "select count(distinct t1.college) from match_season as t1 join team as t2 on t1.team = t2.team_id where t2.name = \"columbus crew\"" + }, + { + "question": "What is the default desktop environment when the edition is kde and the compatible repository is ubuntu 13.04?", + "context": "create table table_27329061_2 (default_desktop_environment varchar, edition varchar, compatible_repository varchar, PRIMARY KEY (default_desktop_environment))", + "answer": "select default_desktop_environment from table_27329061_2 where edition = \"kde\" and compatible_repository = \"ubuntu 13.04\"" + }, + { + "question": "What is the original air date for the episode directed by kevin dowling?", + "context": "create table table_2602958_3 (original_air_date varchar, director varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_2602958_3 where director = \"kevin dowling\"" + }, + { + "question": "How many weeks in the top-10 did Beats International have?", + "context": "create table table_26400075_2 (weeks_in_top_10 varchar, artist varchar, PRIMARY KEY (weeks_in_top_10))", + "answer": "select weeks_in_top_10 from table_26400075_2 where artist = \"beats international\"" + }, + { + "question": "which episode was Transmitted on friday if the episode of \"414 insanely twisted shadow planet\" was transmitted on tuesday?", + "context": "create table table_18173916_8 (friday varchar, tuesday varchar, PRIMARY KEY (friday))", + "answer": "select friday from table_18173916_8 where tuesday = \"414 insanely twisted shadow planet\"" + }, + { + "question": "What was the gdp of the country with a gdp per capita of $18048?", + "context": "create table table_1307842_6 (gdp__billion_us$_ varchar, gdp_per_capita__us$_ varchar, PRIMARY KEY (gdp__billion_us$_))", + "answer": "select gdp__billion_us$_ from table_1307842_6 where gdp_per_capita__us$_ = 18048" + }, + { + "question": "During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were shipped?", + "context": "create table table_14260687_3 (blackberry_os varchar, other varchar, quarter varchar, PRIMARY KEY (blackberry_os))", + "answer": "select count(blackberry_os) from table_14260687_3 where other = \"0.1\" and quarter = \"2012 q2\"" + }, + { + "question": "If the salary range is 4,000-9,000, what is the Indians %?", + "context": "create table table_27257896_2 (indians varchar, salary_range varchar, PRIMARY KEY (indians))", + "answer": "select indians from table_27257896_2 where salary_range = \"4,000-9,000\"" + }, + { + "question": "What are the names of the cameras that have taken picture of the most mountains?", + "context": "create table camera_lens (name varchar, id varchar, PRIMARY KEY (name)); create table photos (camera_lens_id varchar, PRIMARY KEY (camera_lens_id))", + "answer": "select t2.name from photos as t1 join camera_lens as t2 on t1.camera_lens_id = t2.id group by t2.id order by count(*) desc limit 1" + }, + { + "question": "what parliament's name is lina loh woon lee?", + "context": "create table table_1889233_2 (parliament varchar, name varchar, PRIMARY KEY (parliament))", + "answer": "select parliament from table_1889233_2 where name = \"lina loh woon lee\"" + }, + { + "question": "How many users are there?", + "context": "create table user_profiles (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from user_profiles" + }, + { + "question": "how many kana spelling when english is mount fuji", + "context": "create table table_26263954_1 (kana_spelling varchar, english varchar, PRIMARY KEY (kana_spelling))", + "answer": "select kana_spelling from table_26263954_1 where english = \"mount fuji\"" + }, + { + "question": "Name the 2 car sets for 622", + "context": "create table table_19255192_2 (total_vehicles varchar, PRIMARY KEY (total_vehicles))", + "answer": "select 2 as _car_sets from table_19255192_2 where total_vehicles = 622" + }, + { + "question": "What shareholders have 0 A shares?", + "context": "create table table_206359_1 (shareholder_name varchar, a_shares varchar, PRIMARY KEY (shareholder_name))", + "answer": "select shareholder_name from table_206359_1 where a_shares = 0" + }, + { + "question": "What were the starting odds for the opening odds of 2-1?", + "context": "create table table_22517564_3 (starting_odds varchar, opening_odds varchar, PRIMARY KEY (starting_odds))", + "answer": "select starting_odds from table_22517564_3 where opening_odds = \"2-1\"" + }, + { + "question": "What municipality has a 130.6 pupulation density?", + "context": "create table table_255829_1 (municipality varchar, pop_density__per_km_2__ varchar, PRIMARY KEY (municipality))", + "answer": "select municipality from table_255829_1 where pop_density__per_km_2__ = \"130.6\"" + }, + { + "question": "On what network was the Kentucky game broadcast?", + "context": "create table table_26842217_16 (broadcast varchar, home_team varchar, PRIMARY KEY (broadcast))", + "answer": "select broadcast from table_26842217_16 where home_team = \"kentucky\"" + }, + { + "question": "What the is the state that the boat is from with LOA of 19.50?", + "context": "create table table_25595209_1 (state_country varchar, loa__metres_ varchar, PRIMARY KEY (state_country))", + "answer": "select state_country from table_25595209_1 where loa__metres_ = \"19.50\"" + }, + { + "question": "How many first tournaments are associated with bowling?", + "context": "create table table_2849652_2 (sport varchar, PRIMARY KEY (sport))", + "answer": "select count(1 as st_tournament) from table_2849652_2 where sport = \"bowling\"" + }, + { + "question": "What type is \u03c3\u03b1\u03b5\u03c0?", + "context": "create table table_2538117_5 (type varchar, letters varchar, PRIMARY KEY (type))", + "answer": "select type from table_2538117_5 where letters = \"\u03c3\u03b1\u03b5\u03c0\"" + }, + { + "question": "Name the english name for \u5d16\u57ce\u9547", + "context": "create table table_1638437_2 (english_name varchar, simplified varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_1638437_2 where simplified = \"\u5d16\u57ce\u9547\"" + }, + { + "question": "Who constructed the I Italian Republic Grand Prix?", + "context": "create table table_1140088_6 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140088_6 where race_name = \"i italian republic grand prix\"" + }, + { + "question": "When McCain% was 64.8%, what is the Others#?", + "context": "create table table_20750731_1 (others_number varchar, mccain_percentage varchar, PRIMARY KEY (others_number))", + "answer": "select others_number from table_20750731_1 where mccain_percentage = \"64.8%\"" + }, + { + "question": "Who are the foreign players representing Ekaterinburg?", + "context": "create table table_14015965_1 (foreign_players__max_2_ varchar, town varchar, PRIMARY KEY (foreign_players__max_2_))", + "answer": "select foreign_players__max_2_ from table_14015965_1 where town = \"ekaterinburg\"" + }, + { + "question": "What comparable country has a national share of 1.08?", + "context": "create table table_171666_1 (comparable_country varchar, national_share___percentage_ varchar, PRIMARY KEY (comparable_country))", + "answer": "select comparable_country from table_171666_1 where national_share___percentage_ = \"1.08\"" + }, + { + "question": "What is the percent for when against prohibition is 2978?", + "context": "create table table_120778_1 (percent_for varchar, against_prohibition varchar, PRIMARY KEY (percent_for))", + "answer": "select percent_for from table_120778_1 where against_prohibition = 2978" + }, + { + "question": "Who directed the film Nuits d'arabie?", + "context": "create table table_18994724_1 (director_s_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director_s_))", + "answer": "select director_s_ from table_18994724_1 where film_title_used_in_nomination = \"nuits d'arabie\"" + }, + { + "question": "How many times were the winnings $3,816,362?", + "context": "create table table_1507423_4 (avg_finish varchar, winnings varchar, PRIMARY KEY (avg_finish))", + "answer": "select count(avg_finish) from table_1507423_4 where winnings = \"$3,816,362\"" + }, + { + "question": "what is the place where the location is 2-1", + "context": "create table table_26173058_2 (amman varchar, qadisiya varchar, PRIMARY KEY (amman))", + "answer": "select amman from table_26173058_2 where qadisiya = \"2-1\"" + }, + { + "question": "What are the arriving date and the departing date of all the dogs?", + "context": "create table dogs (date_arrived varchar, date_departed varchar, PRIMARY KEY (date_arrived))", + "answer": "select date_arrived, date_departed from dogs" + }, + { + "question": "Show the document name and the document date for all documents on project with details 'Graph Database project'.", + "context": "create table documents (project_id varchar, PRIMARY KEY (project_id)); create table projects (project_id varchar, project_details varchar, PRIMARY KEY (project_id))", + "answer": "select document_name, document_date from documents as t1 join projects as t2 on t1.project_id = t2.project_id where t2.project_details = 'graph database project'" + }, + { + "question": "For the name romanised name is lo yik-kee, victor what is the total number foreign nationality that is listed?", + "context": "create table table_17964087_2 (foreign_nationality varchar, romanised_name varchar, PRIMARY KEY (foreign_nationality))", + "answer": "select count(foreign_nationality) from table_17964087_2 where romanised_name = \"lo yik-kee, victor\"" + }, + { + "question": "Name the gdp world rank for asian rank being 20", + "context": "create table table_2249029_1 (gdp_world_rank varchar, asian_rank varchar, PRIMARY KEY (gdp_world_rank))", + "answer": "select gdp_world_rank from table_2249029_1 where asian_rank = 20" + }, + { + "question": "When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?", + "context": "create table table_26986076_5 (mon_23_aug varchar, tues_24_aug varchar, PRIMARY KEY (mon_23_aug))", + "answer": "select mon_23_aug from table_26986076_5 where tues_24_aug = \"21' 18.87 106.209mph\"" + }, + { + "question": "what is the telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 of kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 utthara \u0c89\u0ca4\u0ccd\u0ca4\u0cb0", + "context": "create table table_201400_2 (telugu_name_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 varchar, kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 varchar, PRIMARY KEY (telugu_name_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41))", + "answer": "select telugu_name_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 from table_201400_2 where kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 = \"utthara \u0c89\u0ca4\u0ccd\u0ca4\u0cb0\"" + }, + { + "question": "Which place in the order is the Pinyin transcription She Jiang?", + "context": "create table table_1805919_1 (standard_order integer, transcription__based_on_pinyin_ varchar, PRIMARY KEY (standard_order))", + "answer": "select min(standard_order) from table_1805919_1 where transcription__based_on_pinyin_ = \"she jiang\"" + }, + { + "question": "If the Indians are 8.2%, what is the salary range?", + "context": "create table table_27257896_2 (salary_range varchar, indians varchar, PRIMARY KEY (salary_range))", + "answer": "select salary_range from table_27257896_2 where indians = \"8.2%\"" + }, + { + "question": "What was the name of the race in Bordeaux?", + "context": "create table table_1140113_5 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_1140113_5 where circuit = \"bordeaux\"" + }, + { + "question": "Show the ids of the employees who don't authorize destruction for any document.", + "context": "create table documents_to_be_destroyed (employee_id varchar, destruction_authorised_by_employee_id varchar, PRIMARY KEY (employee_id)); create table employees (employee_id varchar, destruction_authorised_by_employee_id varchar, PRIMARY KEY (employee_id))", + "answer": "select employee_id from employees except select destruction_authorised_by_employee_id from documents_to_be_destroyed" + }, + { + "question": "What are Unit 2's dates of commissioning?", + "context": "create table table_28672269_1 (date_of_commissioning varchar, unit_number varchar, PRIMARY KEY (date_of_commissioning))", + "answer": "select count(date_of_commissioning) from table_28672269_1 where unit_number = 2" + }, + { + "question": "What female fenced with a saber on the team that had an average fencer rank of 3.5?", + "context": "create table table_28372291_1 (female_saber varchar, average_fencers_rank varchar, PRIMARY KEY (female_saber))", + "answer": "select female_saber from table_28372291_1 where average_fencers_rank = \"3.5\"" + }, + { + "question": "When there are 12.70 million u.s. viewers who is the director?", + "context": "create table table_17467147_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_17467147_1 where us_viewers__million_ = \"12.70\"" + }, + { + "question": "what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?", + "context": "create table table_19017269_5 (asia varchar, latin_america_caribbean varchar, PRIMARY KEY (asia))", + "answer": "select asia from table_19017269_5 where latin_america_caribbean = \"783 (7.5%)\"" + }, + { + "question": "How many addresses have zip code 197?", + "context": "create table addresses (zip_postcode varchar, PRIMARY KEY (zip_postcode))", + "answer": "select count(*) from addresses where zip_postcode = \"197\"" + }, + { + "question": "what is the division north when division south was ko\u017euf and division southwest was ilinden velmej", + "context": "create table table_17881033_1 (division_north varchar, division_south varchar, division_southwest varchar, PRIMARY KEY (division_north))", + "answer": "select division_north from table_17881033_1 where division_south = \"ko\u017euf\" and division_southwest = \"ilinden velmej\"" + }, + { + "question": "What is the name of the activity that has the most faculty members involved in?", + "context": "create table faculty_participates_in (actid varchar, PRIMARY KEY (actid)); create table activity (activity_name varchar, actid varchar, PRIMARY KEY (activity_name))", + "answer": "select t1.activity_name from activity as t1 join faculty_participates_in as t2 on t1.actid = t2.actid group by t1.actid order by count(*) desc limit 1" + }, + { + "question": "Name the number of seats to be won being % of popular vote at 6.88%", + "context": "create table table_19283982_4 (_number_of_seats_to_be_won varchar, _percentage_of_popular_vote varchar, PRIMARY KEY (_number_of_seats_to_be_won))", + "answer": "select _number_of_seats_to_be_won from table_19283982_4 where _percentage_of_popular_vote = \"6.88%\"" + }, + { + "question": "What is the lowest 09-10 i/o best?", + "context": "create table table_24990183_5 (id varchar, PRIMARY KEY (id))", + "answer": "select min(09 as _10_i_o_best) from table_24990183_5" + }, + { + "question": "Find the number of vocal types used in song \"Le Pop\"", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(*) from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = \"le pop\"" + }, + { + "question": "How many years did he have an average start of 20.7?", + "context": "create table table_2169966_2 (avg_finish varchar, avg_start varchar, PRIMARY KEY (avg_finish))", + "answer": "select count(avg_finish) from table_2169966_2 where avg_start = \"20.7\"" + }, + { + "question": "What is the percent change from 08/09 for belfast international?", + "context": "create table table_13836704_6 (_percentage_change_2008_2009 varchar, airport varchar, PRIMARY KEY (_percentage_change_2008_2009))", + "answer": "select _percentage_change_2008_2009 from table_13836704_6 where airport = \"belfast international\"" + }, + { + "question": "Name the record for cotton bowl classic", + "context": "create table table_2517159_1 (record varchar, name_of_bowl varchar, PRIMARY KEY (record))", + "answer": "select record from table_2517159_1 where name_of_bowl = \"cotton bowl classic\"" + }, + { + "question": "Where were the auditions held in the episode that aired on january 27, 2011?", + "context": "create table table_27455867_1 (audition_city varchar, episode_air_date varchar, PRIMARY KEY (audition_city))", + "answer": "select audition_city from table_27455867_1 where episode_air_date = \"january 27, 2011\"" + }, + { + "question": "How many types of work is \u0445\u0440\u043e\u043c\u0430\u044f \u0441\u0443\u0434\u044c\u0431\u0430?", + "context": "create table table_207795_1 (type_of_work varchar, russian_title varchar, PRIMARY KEY (type_of_work))", + "answer": "select count(type_of_work) from table_207795_1 where russian_title = \"\u0445\u0440\u043e\u043c\u0430\u044f \u0441\u0443\u0434\u044c\u0431\u0430\"" + }, + { + "question": "What town is Brighton High School in?", + "context": "create table table_11677100_4 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677100_4 where school = \"brighton high school\"" + }, + { + "question": "Name the total number of population 2000 census for mesquita", + "context": "create table table_14986292_1 (population_2000_census varchar, administrative_division varchar, PRIMARY KEY (population_2000_census))", + "answer": "select count(population_2000_census) from table_14986292_1 where administrative_division = \"mesquita\"" + }, + { + "question": "Who directed # (season #) is 1 ( 2 )?", + "context": "create table table_28210383_1 (directed_by varchar, _number__season__number_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_28210383_1 where _number__season__number_ = \"1 ( 2 )\"" + }, + { + "question": "What are the titles of segment b when segment c is standby generators (part 1)?", + "context": "create table table_15187735_21 (segment_b varchar, segment_c varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_21 where segment_c = \"standby generators (part 1)\"" + }, + { + "question": "Who did the Raptors play when their record was 45-36?", + "context": "create table table_13619135_8 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_13619135_8 where record = \"45-36\"" + }, + { + "question": "How many nominees had a net voice of 15.17%", + "context": "create table table_15162479_8 (nominee varchar, net_vote varchar, PRIMARY KEY (nominee))", + "answer": "select count(nominee) from table_15162479_8 where net_vote = \"15.17%\"" + }, + { + "question": "What is the greatest number of bills sponsored in any year?", + "context": "create table table_18852984_2 (all_bills_sponsored integer, PRIMARY KEY (all_bills_sponsored))", + "answer": "select max(all_bills_sponsored) from table_18852984_2" + }, + { + "question": "Who directed the episode that had 0.54 million U.S. viewers?", + "context": "create table table_26914076_4 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_26914076_4 where us_viewers__millions_ = \"0.54\"" + }, + { + "question": "What is the average, minimum, maximum, and total transaction amount?", + "context": "create table financial_transactions (transaction_amount integer, PRIMARY KEY (transaction_amount))", + "answer": "select avg(transaction_amount), min(transaction_amount), max(transaction_amount), sum(transaction_amount) from financial_transactions" + }, + { + "question": "What's the zodiac sing for the month whose transcription is Karakadakhom?", + "context": "create table table_20354_5 (zodiac_sign varchar, transcription varchar, PRIMARY KEY (zodiac_sign))", + "answer": "select zodiac_sign from table_20354_5 where transcription = \"karakadakhom\"" + }, + { + "question": "what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?", + "context": "create table table_10707142_2 (race_name varchar, winning_team varchar, pole_position varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_10707142_2 where winning_team = \"newman/haas racing\" and pole_position = \"rick mears\"" + }, + { + "question": "What is the number reference for LIE?", + "context": "create table table_222771_1 (numeric_code varchar, alpha_3_code varchar, PRIMARY KEY (numeric_code))", + "answer": "select numeric_code from table_222771_1 where alpha_3_code = \"lie\"" + }, + { + "question": "Name the publisher for resident evil 4", + "context": "create table table_14325653_2 (publisher_s_ varchar, video_game varchar, PRIMARY KEY (publisher_s_))", + "answer": "select publisher_s_ from table_14325653_2 where video_game = \"resident evil 4\"" + }, + { + "question": "What is the estimated end date for the 2001-037a international designated satellite?", + "context": "create table table_18161217_2 (estimated_end_date varchar, _clarification_needed_ varchar, cospar_id varchar, PRIMARY KEY (estimated_end_date))", + "answer": "select estimated_end_date[_clarification_needed_] from table_18161217_2 where cospar_id = \"2001-037a\"" + }, + { + "question": "Who was the winning team on the circuit Zolder?", + "context": "create table table_18095719_2 (winning_team varchar, circuit varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_18095719_2 where circuit = \"zolder\"" + }, + { + "question": "How low was the income where services is 72.5?", + "context": "create table table_13618358_1 (income_poverty_f varchar, services_ varchar, _cons_truction_b varchar, PRIMARY KEY (income_poverty_f))", + "answer": "select income_poverty_f from table_13618358_1 where services_ & _cons_truction_b = \"72.5\"" + }, + { + "question": "List the branding name for channel tv-62.", + "context": "create table table_2523809_1 (branding varchar, channel varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2523809_1 where channel = \"tv-62\"" + }, + { + "question": "What is the institution that was located is circleville, ohio?", + "context": "create table table_24195232_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_24195232_1 where location = \"circleville, ohio\"" + }, + { + "question": "For races with an average speed of 113.835 mph, what are the winning race times?", + "context": "create table table_17801022_1 (race_time varchar, average_speed__mph_ varchar, PRIMARY KEY (race_time))", + "answer": "select race_time from table_17801022_1 where average_speed__mph_ = \"113.835\"" + }, + { + "question": "Margot Kidder had what director?", + "context": "create table table_11642945_1 (director varchar, celebrity varchar, PRIMARY KEY (director))", + "answer": "select director from table_11642945_1 where celebrity = \"margot kidder\"" + }, + { + "question": "How many season 3 appearances by Morgan the Dog?", + "context": "create table table_26240046_1 (season_3 integer, played_by varchar, PRIMARY KEY (season_3))", + "answer": "select max(season_3) from table_26240046_1 where played_by = \"morgan the dog\"" + }, + { + "question": "List all statement ids and statement details.", + "context": "create table statements (statement_id varchar, statement_details varchar, PRIMARY KEY (statement_id))", + "answer": "select statement_id, statement_details from statements" + }, + { + "question": "What was the away team's score at the venue football park?", + "context": "create table table_16387953_1 (away_team varchar, ground varchar, PRIMARY KEY (away_team))", + "answer": "select away_team as score from table_16387953_1 where ground = \"football park\"" + }, + { + "question": "Find the names of the clubs that have at least a member from the city with city code \"HOU\".", + "context": "create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubname varchar, clubid varchar, PRIMARY KEY (clubname)); create table student (stuid varchar, city_code varchar, PRIMARY KEY (stuid))", + "answer": "select distinct t1.clubname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.city_code = \"hou\"" + }, + { + "question": "Who was the director for episodes that were written be Matthew Lau?", + "context": "create table table_25740548_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25740548_2 where written_by = \"matthew lau\"" + }, + { + "question": "who is the the\u00a0womens doubles\u00a0with\u00a0mens doubles\u00a0being leopold bauer alfred kohlhauser", + "context": "create table table_15002265_1 (womens_doubles varchar, mens_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_15002265_1 where mens_doubles = \"leopold bauer alfred kohlhauser\"" + }, + { + "question": "What is the category and typical buying price of the product with name \"cumin\"?", + "context": "create table products (product_category_code varchar, typical_buying_price varchar, product_name varchar, PRIMARY KEY (product_category_code))", + "answer": "select product_category_code, typical_buying_price from products where product_name = \"cumin\"" + }, + { + "question": "Show the role description and the id of the project staff involved in most number of project outcomes?", + "context": "create table project_outcomes (project_id varchar, PRIMARY KEY (project_id)); create table project_staff (staff_id varchar, role_code varchar, project_id varchar, PRIMARY KEY (staff_id)); create table staff_roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description))", + "answer": "select t1.role_description, t2.staff_id from staff_roles as t1 join project_staff as t2 on t1.role_code = t2.role_code join project_outcomes as t3 on t2.project_id = t3.project_id group by t2.staff_id order by count(*) desc limit 1" + }, + { + "question": "What are the first names and last names of the students that minor in the department with DNO 140.", + "context": "create table student (fname varchar, lname varchar, stuid varchar, PRIMARY KEY (fname)); create table minor_in (stuid varchar, dno varchar, PRIMARY KEY (stuid))", + "answer": "select t2.fname, t2.lname from minor_in as t1 join student as t2 on t1.stuid = t2.stuid where t1.dno = 140" + }, + { + "question": "What is the record where aaron brooks (6) is high assists?", + "context": "create table table_23281862_9 (record varchar, high_assists varchar, PRIMARY KEY (record))", + "answer": "select record from table_23281862_9 where high_assists = \"aaron brooks (6)\"" + }, + { + "question": "What is the specification where senior high school is 25mm?", + "context": "create table table_13555999_1 (specification varchar, senior_high_school__15_18_yrs_ varchar, PRIMARY KEY (specification))", + "answer": "select specification from table_13555999_1 where senior_high_school__15_18_yrs_ = \"25mm\"" + }, + { + "question": "What Home city has the home ground Klepp stadion?", + "context": "create table table_2522473_1 (home_city varchar, home_ground varchar, PRIMARY KEY (home_city))", + "answer": "select home_city from table_2522473_1 where home_ground = \"klepp stadion\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0opponent\u00a0being mike oxley (r) unopposed", + "context": "create table table_1341522_38 (party varchar, opponent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341522_38 where opponent = \"mike oxley (r) unopposed\"" + }, + { + "question": "When rudolph kleberg (d) is the successor what is the date of successors taking office?", + "context": "create table table_2417445_4 (date_of_successors_taking_office varchar, successor varchar, PRIMARY KEY (date_of_successors_taking_office))", + "answer": "select date_of_successors_taking_office from table_2417445_4 where successor = \"rudolph kleberg (d)\"" + }, + { + "question": "What was the record after the game against Washington?", + "context": "create table table_28768469_9 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_28768469_9 where team = \"washington\"" + }, + { + "question": "How many managers for club in Turku where kitmaker is Puma?", + "context": "create table table_25129482_1 (manager varchar, kitmaker varchar, location varchar, PRIMARY KEY (manager))", + "answer": "select count(manager) from table_25129482_1 where kitmaker = \"puma\" and location = \"turku\"" + }, + { + "question": "Name the listed owners for brevak racing", + "context": "create table table_2187178_1 (listed_owner_s_ varchar, team varchar, PRIMARY KEY (listed_owner_s_))", + "answer": "select listed_owner_s_ from table_2187178_1 where team = \"brevak racing\"" + }, + { + "question": "What is every BSE code for a free float of 0.2726?", + "context": "create table table_20667854_1 (bse_code varchar, free_float varchar, PRIMARY KEY (bse_code))", + "answer": "select bse_code from table_20667854_1 where free_float = \"0.2726\"" + }, + { + "question": "what is the location where the record is 1-0", + "context": "create table table_26173058_2 (ahli varchar, ramtha varchar, PRIMARY KEY (ahli))", + "answer": "select ahli from table_26173058_2 where ramtha = \"1-0\"" + }, + { + "question": "Show the carriers of devices in stock at more than one shop.", + "context": "create table stock (device_id varchar, PRIMARY KEY (device_id)); create table device (carrier varchar, device_id varchar, PRIMARY KEY (carrier))", + "answer": "select t2.carrier from stock as t1 join device as t2 on t1.device_id = t2.device_id group by t1.device_id having count(*) > 1" + }, + { + "question": "Find all students taught by MARROTTE KIRK. Output first and last names of students.", + "context": "create table list (firstname varchar, lastname varchar, classroom varchar, PRIMARY KEY (firstname)); create table teachers (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select t1.firstname, t1.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t2.firstname = \"marrotte\" and t2.lastname = \"kirk\"" + }, + { + "question": "Name the race 2 for james winslow", + "context": "create table table_15530244_5 (race_2 varchar, driver varchar, PRIMARY KEY (race_2))", + "answer": "select race_2 from table_15530244_5 where driver = \"james winslow\"" + }, + { + "question": "what is the camera used when the wavelength is 814nm (i-band)?", + "context": "create table table_2583036_1 (camera varchar, wavelength varchar, PRIMARY KEY (camera))", + "answer": "select camera from table_2583036_1 where wavelength = \"814nm (i-band)\"" + }, + { + "question": "How many counties have a place name of Macedonia?", + "context": "create table table_249512_2 (a_ varchar, county_ies__ varchar, place_name varchar, PRIMARY KEY (a_))", + "answer": "select count(county_ies__)[a_] from table_249512_2 where place_name = \"macedonia\"" + }, + { + "question": "In the episode where segment a is microphones, what is segment d?", + "context": "create table table_15187735_11 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_11 where segment_a = \"microphones\"" + }, + { + "question": "What's the shut down state of the unit that's been in commercial operation since 01.02.1984?", + "context": "create table table_12983929_1 (shut_down varchar, commercial_operation varchar, PRIMARY KEY (shut_down))", + "answer": "select shut_down from table_12983929_1 where commercial_operation = \"01.02.1984\"" + }, + { + "question": "How many countries have content of arte?", + "context": "create table table_15887683_16 (country varchar, content varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_15887683_16 where content = \"arte\"" + }, + { + "question": "What is the upstream speed of the network that costs 39 tl?", + "context": "create table table_17304621_14 (upstream varchar, price_tl varchar, PRIMARY KEY (upstream))", + "answer": "select upstream from table_17304621_14 where price_tl = \"39 tl\"" + }, + { + "question": "What is the strongs # for the hebrew word \u05d9\u05b4\u05e8\u05b0\u05de\u05b0\u05d9\u05b8\u05d4?", + "context": "create table table_1242447_2 (strongs__number varchar, hebrew_word varchar, PRIMARY KEY (strongs__number))", + "answer": "select strongs__number from table_1242447_2 where hebrew_word = \"\u05d9\u05b4\u05e8\u05b0\u05de\u05b0\u05d9\u05b8\u05d4\"" + }, + { + "question": "When zachary sanders is the performer how many people is the music by?", + "context": "create table table_191105_2 (music_by varchar, performed_by varchar, PRIMARY KEY (music_by))", + "answer": "select count(music_by) from table_191105_2 where performed_by = \"zachary sanders\"" + }, + { + "question": "How many episode numbers had US viewership of 4.26 million?", + "context": "create table table_27905664_1 (count varchar, us_viewers__million_ varchar, PRIMARY KEY (count))", + "answer": "select count as \u2116 from table_27905664_1 where us_viewers__million_ = \"4.26\"" + }, + { + "question": "Who was the challenge winner in the episode that originally aired on January 28, 2009?", + "context": "create table table_24798489_1 (challenge_winner varchar, original_airdate varchar, PRIMARY KEY (challenge_winner))", + "answer": "select challenge_winner from table_24798489_1 where original_airdate = \"january 28, 2009\"" + }, + { + "question": "What is the bullet weight when the max pressure is 12,000 cup?", + "context": "create table table_173103_1 (bullet_weight varchar, max_pressure varchar, PRIMARY KEY (bullet_weight))", + "answer": "select bullet_weight from table_173103_1 where max_pressure = \"12,000 cup\"" + }, + { + "question": "What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles?", + "context": "create table table_16724844_1 (womens_u20 varchar, mens_45 varchar, PRIMARY KEY (womens_u20))", + "answer": "select womens_u20 from table_16724844_1 where mens_45 = \"sunwest razorbacks def northern eagles\"" + }, + { + "question": "Who was the cast on the 3/23/1963 episode?", + "context": "create table table_26032940_2 (main_cast varchar, airdate varchar, PRIMARY KEY (main_cast))", + "answer": "select main_cast from table_26032940_2 where airdate = \"3/23/1963\"" + }, + { + "question": "What is the intergiro classification of alexander gontchenkov?", + "context": "create table table_12261926_2 (intergiro_classification varchar, winner varchar, PRIMARY KEY (intergiro_classification))", + "answer": "select intergiro_classification from table_12261926_2 where winner = \"alexander gontchenkov\"" + }, + { + "question": "List all the username and passwords of users with the most popular role.", + "context": "create table users (user_name varchar, password varchar, role_code varchar, PRIMARY KEY (user_name))", + "answer": "select user_name, password from users group by role_code order by count(*) desc limit 1" + }, + { + "question": "Which complaint status has more than 3 records on file?", + "context": "create table complaints (complaint_status_code varchar, PRIMARY KEY (complaint_status_code))", + "answer": "select complaint_status_code from complaints group by complaint_status_code having count(*) > 3" + }, + { + "question": "What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?", + "context": "create table table_23680576_2 (aug_2008 varchar, sep_2008 varchar, PRIMARY KEY (aug_2008))", + "answer": "select aug_2008 from table_23680576_2 where sep_2008 = \"5.0%\"" + }, + { + "question": "How many editors are there?", + "context": "create table editor (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from editor" + }, + { + "question": "What is every entry for epoch if periselene is 5,454.925?", + "context": "create table table_206217_2 (epoch__utc_ varchar, periselene__km_ varchar, PRIMARY KEY (epoch__utc_))", + "answer": "select epoch__utc_ from table_206217_2 where periselene__km_ = \"5,454.925\"" + }, + { + "question": "Name the most obama number for mccain being 38.86%", + "context": "create table table_20468206_1 (obama_number integer, mccain_percentage varchar, PRIMARY KEY (obama_number))", + "answer": "select max(obama_number) from table_20468206_1 where mccain_percentage = \"38.86%\"" + }, + { + "question": "what is the home team when the round # is round 1?", + "context": "create table table_26847237_3 (home_team varchar, round__number varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26847237_3 where round__number = \"round 1\"" + }, + { + "question": "If the country of origin is switzerland, what is the name/ designation?", + "context": "create table table_26389588_1 (name___designation varchar, country_of_origin varchar, PRIMARY KEY (name___designation))", + "answer": "select name___designation from table_26389588_1 where country_of_origin = \"switzerland\"" + }, + { + "question": "If the just cents is 84.46, what is the just ratio?", + "context": "create table table_18955077_1 (just_ratio varchar, just__cents_ varchar, PRIMARY KEY (just_ratio))", + "answer": "select just_ratio from table_18955077_1 where just__cents_ = \"84.46\"" + }, + { + "question": "What is channel 33.7's official call sign?", + "context": "create table table_1404984_1 (call_sign varchar, virtual_channel varchar, PRIMARY KEY (call_sign))", + "answer": "select call_sign from table_1404984_1 where virtual_channel = \"33.7\"" + }, + { + "question": "What are all approximate sales for the author Laura Ingalls Wilder?", + "context": "create table table_2512935_8 (approximate_sales varchar, author varchar, PRIMARY KEY (approximate_sales))", + "answer": "select approximate_sales from table_2512935_8 where author = \"laura ingalls wilder\"" + }, + { + "question": "Who wrote when the original airdate is April 5, 1987?", + "context": "create table table_2226817_2 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2226817_2 where original_air_date = \"april 5, 1987\"" + }, + { + "question": "Find the personal name, family name, and author ID of the course author that teaches the most courses.", + "context": "create table courses (author_id varchar, PRIMARY KEY (author_id)); create table course_authors_and_tutors (personal_name varchar, family_name varchar, author_id varchar, PRIMARY KEY (personal_name))", + "answer": "select t1.personal_name, t1.family_name, t2.author_id from course_authors_and_tutors as t1 join courses as t2 on t1.author_id = t2.author_id group by t2.author_id order by count(*) desc limit 1" + }, + { + "question": "How many weeks in the top 10 was spent by a song performed by Peter Kay?", + "context": "create table table_27813010_2 (weeks_in_top_10 integer, artist varchar, PRIMARY KEY (weeks_in_top_10))", + "answer": "select max(weeks_in_top_10) from table_27813010_2 where artist = \"peter kay\"" + }, + { + "question": "A list of the top 5 countries by number of invoices. List country name and number of invoices.", + "context": "create table invoices (billing_country varchar, PRIMARY KEY (billing_country))", + "answer": "select billing_country, count(*) from invoices group by billing_country order by count(*) desc limit 5" + }, + { + "question": "how many people wrote the episode directed by rob schrab?", + "context": "create table table_28081876_4 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_28081876_4 where directed_by = \"rob schrab\"" + }, + { + "question": "What is the official name of the municipality whose name in Basque is Bilar?", + "context": "create table table_300283_1 (official_name varchar, name_in_basque varchar, PRIMARY KEY (official_name))", + "answer": "select official_name from table_300283_1 where name_in_basque = \"bilar\"" + }, + { + "question": "How many teams can still qualify when there are 0 teams that have secured qualification and 52 teams started?", + "context": "create table table_23995075_2 (teams_that_can_still_qualify varchar, teams_that_have_secured_qualification varchar, teams_started varchar, PRIMARY KEY (teams_that_can_still_qualify))", + "answer": "select teams_that_can_still_qualify from table_23995075_2 where teams_that_have_secured_qualification = \"0\" and teams_started = \"52\"" + }, + { + "question": "What is the highest track number?", + "context": "create table table_10848177_1 (track__number integer, PRIMARY KEY (track__number))", + "answer": "select max(track__number) from table_10848177_1" + }, + { + "question": "how many\u00a0title and source\u00a0with\u00a0pal -295-\u00a0being yes and\u00a0jp -210-\u00a0being yes", + "context": "create table table_13663434_1 (title_and_source varchar, pal__295_ varchar, jp__210_ varchar, PRIMARY KEY (title_and_source))", + "answer": "select count(title_and_source) from table_13663434_1 where pal__295_ = \"yes\" and jp__210_ = \"yes\"" + }, + { + "question": "Who was the athlete that covered biking within 58:52?", + "context": "create table table_17085947_32 (athlete varchar, bike__40km_ varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_17085947_32 where bike__40km_ = \"58:52\"" + }, + { + "question": "What order did Lambert perform in the top 11?", + "context": "create table table_21501511_1 (order__number varchar, week__number varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_21501511_1 where week__number = \"top 11\"" + }, + { + "question": "Name the country for the us dollar", + "context": "create table table_2764267_2 (country varchar, currency varchar, PRIMARY KEY (country))", + "answer": "select country from table_2764267_2 where currency = \"us dollar\"" + }, + { + "question": "What was the vacancy date for Thomas Thomasberg?", + "context": "create table table_27782699_3 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_27782699_3 where outgoing_manager = \"thomas thomasberg\"" + }, + { + "question": "What is the name of the series with the unknown host?", + "context": "create table table_27487310_5 (name varchar, host_s_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_27487310_5 where host_s_ = \"unknown\"" + }, + { + "question": "what's the\u00a0builder\u00a0where\u00a0withdrawn\u00a0is 1954\u20131958", + "context": "create table table_1181375_1 (builder varchar, withdrawn varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_1181375_1 where withdrawn = \"1954\u20131958\"" + }, + { + "question": "What reference, written by Nelson Riddle, suggests 2 violas?", + "context": "create table table_2414_1 (reference varchar, violas varchar, author varchar, PRIMARY KEY (reference))", + "answer": "select reference from table_2414_1 where violas = 2 and author = \"nelson riddle\"" + }, + { + "question": "How many different types of beds are there?", + "context": "create table rooms (bedtype varchar, PRIMARY KEY (bedtype))", + "answer": "select count(distinct bedtype) from rooms" + }, + { + "question": "Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?", + "context": "create table table_287659_2 (region_name varchar, regional_page__number varchar, PRIMARY KEY (region_name))", + "answer": "select region_name from table_287659_2 where regional_page__number = \"1-3, 5-7, 9-11, 13-15\"" + }, + { + "question": "What is the intro date for the throughput of 16 mbit/s?", + "context": "create table table_29778616_1 (intro_date varchar, throughput varchar, PRIMARY KEY (intro_date))", + "answer": "select intro_date from table_29778616_1 where throughput = \"16 mbit/s\"" + }, + { + "question": "How many pixels would be found in a hardware colour of 8?", + "context": "create table table_1701371_2 (pixels varchar, hardware_colours varchar, PRIMARY KEY (pixels))", + "answer": "select pixels from table_1701371_2 where hardware_colours = 8" + }, + { + "question": "how many\u00a0byu-uu score\u00a0with\u00a0winner\u00a0being utah state (2\u20131) won over byu by media vote", + "context": "create table table_13665809_2 (byu_uu_score varchar, winner varchar, PRIMARY KEY (byu_uu_score))", + "answer": "select count(byu_uu_score) from table_13665809_2 where winner = \"utah state (2\u20131) won over byu by media vote\"" + }, + { + "question": "what is the highest mccain # where obama got 33.7%", + "context": "create table table_20424014_1 (mccain__number integer, obama__percentage varchar, PRIMARY KEY (mccain__number))", + "answer": "select max(mccain__number) from table_20424014_1 where obama__percentage = \"33.7%\"" + }, + { + "question": "how many 20-39% are in pont-de-vivaux?", + "context": "create table table_29615165_5 (_percentage_20_39_years varchar, quartier varchar, PRIMARY KEY (_percentage_20_39_years))", + "answer": "select count(_percentage_20_39_years) from table_29615165_5 where quartier = \"pont-de-vivaux\"" + }, + { + "question": "what is the least number of no decisions for scott feldman category:articles with hcards", + "context": "create table table_19864214_3 (no_decisions integer, pitcher varchar, PRIMARY KEY (no_decisions))", + "answer": "select min(no_decisions) from table_19864214_3 where pitcher = \"scott feldman category:articles with hcards\"" + }, + { + "question": "On what date was James P. Buchanan (d)'s successor seated?", + "context": "create table table_2159547_3 (date_successor_seated varchar, vacator varchar, PRIMARY KEY (date_successor_seated))", + "answer": "select date_successor_seated from table_2159547_3 where vacator = \"james p. buchanan (d)\"" + }, + { + "question": "What is the employee id of the head whose department has the least number of employees?", + "context": "create table department (head varchar, departmentid varchar, PRIMARY KEY (head))", + "answer": "select head from department group by departmentid order by count(departmentid) limit 1" + }, + { + "question": "What's the air date of part 1 of the episode whose part 2 aired on December 2, 2007?", + "context": "create table table_13241993_3 (part_1 varchar, part_2 varchar, PRIMARY KEY (part_1))", + "answer": "select part_1 from table_13241993_3 where part_2 = \"december 2, 2007\"" + }, + { + "question": "Which is the class AA when graford was the class A", + "context": "create table table_14747043_1 (class_aa varchar, class_a varchar, PRIMARY KEY (class_aa))", + "answer": "select class_aa from table_14747043_1 where class_a = \"graford\"" + }, + { + "question": "Please show the software platforms of devices in descending order of the count.", + "context": "create table device (software_platform varchar, PRIMARY KEY (software_platform))", + "answer": "select software_platform from device group by software_platform order by count(*) desc" + }, + { + "question": "What's the name of the church in Stavang?", + "context": "create table table_178381_1 (church_name varchar, location_of_the_church varchar, PRIMARY KEY (church_name))", + "answer": "select church_name from table_178381_1 where location_of_the_church = \"stavang\"" + }, + { + "question": "The man who received 87,676 votes in Queens won what percentage of the total for the election?", + "context": "create table table_1108394_47 (_percentage varchar, queens varchar, PRIMARY KEY (_percentage))", + "answer": "select _percentage from table_1108394_47 where queens = \"87,676\"" + }, + { + "question": "What are the customer phone numbers under the policy \"Life Insurance\"?", + "context": "create table available_policies (customer_phone varchar, policy_type_code varchar, PRIMARY KEY (customer_phone))", + "answer": "select customer_phone from available_policies where policy_type_code = \"life insurance\"" + }, + { + "question": "What's the NHL team that drafted the player from Sudbury Wolves (OHA)?", + "context": "create table table_1965650_4 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1965650_4 where college_junior_club_team = \"sudbury wolves (oha)\"" + }, + { + "question": "Name the 2nd leg for boca juniors", + "context": "create table table_23812628_1 (team__number1 varchar, PRIMARY KEY (team__number1))", + "answer": "select 2 as nd_leg from table_23812628_1 where team__number1 = \"boca juniors\"" + }, + { + "question": "Which authority has a rocket launch called shahpar-2?", + "context": "create table table_11869952_1 (institutional_authority varchar, rocket_launch varchar, PRIMARY KEY (institutional_authority))", + "answer": "select institutional_authority from table_11869952_1 where rocket_launch = \"shahpar-2\"" + }, + { + "question": "What is the nickname of Drexel University?", + "context": "create table table_19210115_1 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_19210115_1 where institution = \"drexel university\"" + }, + { + "question": "how many country has moto3/125cc with 15", + "context": "create table table_2889810_2 (country varchar, moto3_125cc varchar, PRIMARY KEY (country))", + "answer": "select country from table_2889810_2 where moto3_125cc = 15" + }, + { + "question": "Which airport has an IATA Code of ORD?", + "context": "create table table_18047346_5 (airport_name varchar, iata_code varchar, PRIMARY KEY (airport_name))", + "answer": "select airport_name from table_18047346_5 where iata_code = \"ord\"" + }, + { + "question": "The winning team of the race, los angeles times 500 is who?", + "context": "create table table_10706879_3 (winning_team varchar, name varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_10706879_3 where name = \"los angeles times 500\"" + }, + { + "question": "What is population in the world when 788 (8.1%)?", + "context": "create table table_19017269_5 (world integer, latin_america_caribbean varchar, PRIMARY KEY (world))", + "answer": "select min(world) from table_19017269_5 where latin_america_caribbean = \"788 (8.1%)\"" + }, + { + "question": "List all information about customer master index, and sort them by details in descending order.", + "context": "create table customer_master_index (cmi_details varchar, PRIMARY KEY (cmi_details))", + "answer": "select * from customer_master_index order by cmi_details desc" + }, + { + "question": "what's the\u00a0na -350-\u00a0with\u00a0title and source\u00a0being paper wars: cannon fodder", + "context": "create table table_13663434_1 (na__350_ varchar, title_and_source varchar, PRIMARY KEY (na__350_))", + "answer": "select na__350_ from table_13663434_1 where title_and_source = \"paper wars: cannon fodder\"" + }, + { + "question": "Find the payment method code used by more than 3 parties.", + "context": "create table parties (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code from parties group by payment_method_code having count(*) > 3" + }, + { + "question": "How many years was the film The Blossoming of Maximo Oliveros entered?", + "context": "create table table_17919342_1 (year__ceremony_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select count(year__ceremony_) from table_17919342_1 where film_title_used_in_nomination = \"the blossoming of maximo oliveros\"" + }, + { + "question": "what's the\u00a0club\u00a0with\u00a0losing bonus\u00a0being 1", + "context": "create table table_13758945_3 (club varchar, losing_bonus varchar, PRIMARY KEY (club))", + "answer": "select club from table_13758945_3 where losing_bonus = \"1\"" + }, + { + "question": "What was the result(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull?", + "context": "create table table_24302700_2 (event_3_squat_lift varchar, nationality varchar, event_2_truck_pull varchar, PRIMARY KEY (event_3_squat_lift))", + "answer": "select event_3_squat_lift from table_24302700_2 where nationality = \"united states\" and event_2_truck_pull = \"1 (42.66s)\"" + }, + { + "question": "What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?", + "context": "create table table_1211545_2 (light_vehicle varchar, heavy_vehicle__2_axles_ varchar, PRIMARY KEY (light_vehicle))", + "answer": "select light_vehicle from table_1211545_2 where heavy_vehicle__2_axles_ = \"r87.00\"" + }, + { + "question": "What is the target with an approval date of 2006?", + "context": "create table table_1661124_1 (target varchar, approval_date varchar, PRIMARY KEY (target))", + "answer": "select target from table_1661124_1 where approval_date = 2006" + }, + { + "question": "What is every reason for change for the date of successors installation is March 16, 1960?", + "context": "create table table_2159571_1 (reason_for_change varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2159571_1 where date_of_successors_formal_installation = \"march 16, 1960\"" + }, + { + "question": "For the chinese name \u76e7\u5955\u57fa how many in total is the govt salary?", + "context": "create table table_17964087_2 (govt_salary varchar, chinese_name varchar, PRIMARY KEY (govt_salary))", + "answer": "select count(govt_salary) from table_17964087_2 where chinese_name = \"\u76e7\u5955\u57fa\"" + }, + { + "question": "Who wrote the episode originally aired on September 29, 1999?", + "context": "create table table_18646432_4 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_18646432_4 where original_air_date = \"september 29, 1999\"" + }, + { + "question": "Name the least population 2007 for barangay is poblacion ii", + "context": "create table table_1686313_1 (population__2007_ integer, barangay varchar, PRIMARY KEY (population__2007_))", + "answer": "select min(population__2007_) from table_1686313_1 where barangay = \"poblacion ii\"" + }, + { + "question": "Name the drivetrain for 1ur-fse for usf41", + "context": "create table table_21530474_1 (drivetrain varchar, engine_code varchar, chassis_code varchar, PRIMARY KEY (drivetrain))", + "answer": "select drivetrain from table_21530474_1 where engine_code = \"1ur-fse\" and chassis_code = \"usf41\"" + }, + { + "question": "in which state where John Laurance (f) as a vacator?", + "context": "create table table_224840_3 (state__class_ varchar, vacator varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_224840_3 where vacator = \"john laurance (f)\"" + }, + { + "question": "Who scored the highest points and how much against the raptors?", + "context": "create table table_23248910_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23248910_6 where team = \"raptors\"" + }, + { + "question": "Where did they finish in the season when when they won $491,977?", + "context": "create table table_2649597_1 (season_rank varchar, winnings varchar, PRIMARY KEY (season_rank))", + "answer": "select season_rank from table_2649597_1 where winnings = \"$491,977\"" + }, + { + "question": "When was the start of the construction of the unit that's been in commercial operation since 04.03.1987?", + "context": "create table table_12983929_1 (construction_start varchar, commercial_operation varchar, PRIMARY KEY (construction_start))", + "answer": "select construction_start from table_12983929_1 where commercial_operation = \"04.03.1987\"" + }, + { + "question": "Who manufactured the car driven by Will Power and Scott Dixon had the most laps?", + "context": "create table table_27913160_3 (manufacturer varchar, driver varchar, most_laps_led varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_27913160_3 where driver = \"will power\" and most_laps_led = \"scott dixon\"" + }, + { + "question": "What is every code and location where the launch site condition and owner is obliterated?", + "context": "create table table_22282917_26 (code_ varchar, _location varchar, launch_site_condition_owner varchar, PRIMARY KEY (code_))", + "answer": "select code_ & _location from table_22282917_26 where launch_site_condition_owner = \"obliterated\"" + }, + { + "question": "Who is the regular season winner for the Ivy League conference?", + "context": "create table table_21091982_3 (regular_season_winner varchar, conference varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_21091982_3 where conference = \"ivy league\"" + }, + { + "question": "For nhl team is san jose sharks mention all the college/junior/club team", + "context": "create table table_2781227_4 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2781227_4 where nhl_team = \"san jose sharks\"" + }, + { + "question": "What is the code nickname where Steve Mayne is the coach?", + "context": "create table table_18752986_1 (nickname varchar, coach varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_18752986_1 where coach = \"steve mayne\"" + }, + { + "question": "Return the name and gender of the staff who was assigned in 2016.", + "context": "create table staff (staff_name varchar, staff_gender varchar, staff_id varchar, PRIMARY KEY (staff_name)); create table staff_department_assignments (staff_id varchar, date_assigned_from varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.staff_name, t1.staff_gender from staff as t1 join staff_department_assignments as t2 on t1.staff_id = t2.staff_id where t2.date_assigned_from like \"2016%\"" + }, + { + "question": "During the quarter 2012 Q4, how many millions of android phones were shipped?", + "context": "create table table_14260687_3 (android varchar, quarter varchar, PRIMARY KEY (android))", + "answer": "select count(android) from table_14260687_3 where quarter = \"2012 q4\"" + }, + { + "question": "Show all video game types.", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select distinct gtype from video_games" + }, + { + "question": "Name the least yes for dublin south", + "context": "create table table_1705429_1 (yes integer, constituency varchar, PRIMARY KEY (yes))", + "answer": "select min(yes) from table_1705429_1 where constituency = \"dublin south\"" + }, + { + "question": "What is the number for future stem for poztu?", + "context": "create table table_12784134_24 (future_stem varchar, perfect_stem varchar, PRIMARY KEY (future_stem))", + "answer": "select count(future_stem) from table_12784134_24 where perfect_stem = \"poztu\"" + }, + { + "question": "Who is every composer for the media named Hall of Dreams?", + "context": "create table table_23829490_1 (composer varchar, name_of_the_media varchar, PRIMARY KEY (composer))", + "answer": "select composer from table_23829490_1 where name_of_the_media = \"hall of dreams\"" + }, + { + "question": "What is the premiere where the host is lieke van lexmond dennis weening?", + "context": "create table table_11323532_2 (premiere varchar, host varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_11323532_2 where host = \"lieke van lexmond dennis weening\"" + }, + { + "question": "Find the first name and gender of the student who has allergy to milk but not cat.", + "context": "create table student (fname varchar, sex varchar, stuid varchar, allergy varchar, PRIMARY KEY (fname)); create table has_allergy (fname varchar, sex varchar, stuid varchar, allergy varchar, PRIMARY KEY (fname))", + "answer": "select fname, sex from student where stuid in (select stuid from has_allergy where allergy = \"milk\" except select stuid from has_allergy where allergy = \"cat\")" + }, + { + "question": "Name the series ep for s02e08", + "context": "create table table_15187735_3 (series_ep varchar, netflix varchar, PRIMARY KEY (series_ep))", + "answer": "select series_ep from table_15187735_3 where netflix = \"s02e08\"" + }, + { + "question": "What is the original air date where tracy poust & jon kinnally was written by?", + "context": "create table table_22570439_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_22570439_1 where written_by = \"tracy poust & jon kinnally\"" + }, + { + "question": "Who is h.t. brewer when je armstrong is c.p. greeks?", + "context": "create table table_1320857_1 (ht_brewer varchar, je_armstrong varchar, PRIMARY KEY (ht_brewer))", + "answer": "select ht_brewer from table_1320857_1 where je_armstrong = \"c.p. greeks\"" + }, + { + "question": "What is the oldest log id and its corresponding problem id?", + "context": "create table problem_log (problem_log_id varchar, problem_id varchar, log_entry_date varchar, PRIMARY KEY (problem_log_id))", + "answer": "select problem_log_id, problem_id from problem_log order by log_entry_date limit 1" + }, + { + "question": "what is the name of the processor for model x33x0?", + "context": "create table table_24101118_1 (processor varchar, model__list_ varchar, PRIMARY KEY (processor))", + "answer": "select processor from table_24101118_1 where model__list_ = \"x33x0\"" + }, + { + "question": "Which teams homeeground is Stemmemyren?", + "context": "create table table_2522473_1 (team varchar, home_ground varchar, PRIMARY KEY (team))", + "answer": "select team from table_2522473_1 where home_ground = \"stemmemyren\"" + }, + { + "question": "Which college has any student who is a goalie and succeeded in the tryout.", + "context": "create table tryout (cname varchar, decision varchar, ppos varchar, PRIMARY KEY (cname))", + "answer": "select cname from tryout where decision = 'yes' and ppos = 'goalie'" + }, + { + "question": "Which kind of part has the least number of faults? List the part name.", + "context": "create table parts (part_name varchar, part_id varchar, PRIMARY KEY (part_name)); create table part_faults (part_id varchar, PRIMARY KEY (part_id))", + "answer": "select t1.part_name from parts as t1 join part_faults as t2 on t1.part_id = t2.part_id group by t1.part_name order by count(*) limit 1" + }, + { + "question": "Which manager was replaced by Thomas Thomasberg?", + "context": "create table table_27782699_3 (outgoing_manager varchar, replaced_by varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27782699_3 where replaced_by = \"thomas thomasberg\"" + }, + { + "question": "What is the minimum score given in judging panel points?", + "context": "create table table_26485957_1 (judging_panel_points integer, PRIMARY KEY (judging_panel_points))", + "answer": "select min(judging_panel_points) from table_26485957_1" + }, + { + "question": "What is the men's nickname at the school that has the lady wildcats women's nickname?", + "context": "create table table_10577579_3 (men\u2019s_nickname varchar, women\u2019s_nickname varchar, PRIMARY KEY (men\u2019s_nickname))", + "answer": "select men\u2019s_nickname from table_10577579_3 where women\u2019s_nickname = \"lady wildcats\"" + }, + { + "question": "Name the barrel twist for colt model mt6400", + "context": "create table table_12834315_4 (barrel_twist varchar, colt_model_no varchar, PRIMARY KEY (barrel_twist))", + "answer": "select barrel_twist from table_12834315_4 where colt_model_no = \"mt6400\"" + }, + { + "question": "Show card type codes with at least 5 cards.", + "context": "create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))", + "answer": "select card_type_code from customers_cards group by card_type_code having count(*) >= 5" + }, + { + "question": "What is the acronym for the school whose website is ul.edu.lb", + "context": "create table table_1160660_1 (acronym varchar, website varchar, PRIMARY KEY (acronym))", + "answer": "select acronym from table_1160660_1 where website = \"ul.edu.lb\"" + }, + { + "question": "When indonesia is the country what is the rank of 2010?", + "context": "create table table_293465_1 (rank_2010 varchar, country varchar, PRIMARY KEY (rank_2010))", + "answer": "select rank_2010 from table_293465_1 where country = \"indonesia\"" + }, + { + "question": "How many professors who are from either Accounting or Biology department?", + "context": "create table department (dept_code varchar, dept_name varchar, PRIMARY KEY (dept_code)); create table professor (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*) from professor as t1 join department as t2 on t1.dept_code = t2.dept_code where t2.dept_name = 'accounting' or t2.dept_name = 'biology'" + }, + { + "question": "what's the\u00a0width\u00a0with\u00a0frame size\u00a0being 4.5k", + "context": "create table table_1251878_1 (width varchar, frame_size varchar, PRIMARY KEY (width))", + "answer": "select width from table_1251878_1 where frame_size = \"4.5k\"" + }, + { + "question": "What is the first name of the author with last name \"Ueno\"?", + "context": "create table authors (fname varchar, lname varchar, PRIMARY KEY (fname))", + "answer": "select fname from authors where lname = \"ueno\"" + }, + { + "question": "What countries does the Rock come from?", + "context": "create table table_2305948_1 (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_2305948_1 where name = \"the rock\"" + }, + { + "question": "Why did the change happen in the state where the formal installation happen on February 14, 1859?", + "context": "create table table_1802760_3 (reason_for_change varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_1802760_3 where date_of_successors_formal_installation = \"february 14, 1859\"" + }, + { + "question": "What institution(s) are located in wilkes-barre, pennsylvania?", + "context": "create table table_261906_2 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261906_2 where location = \"wilkes-barre, pennsylvania\"" + }, + { + "question": "What was the film Falling up nominated for?", + "context": "create table table_10236830_6 (nomination varchar, film_name varchar, PRIMARY KEY (nomination))", + "answer": "select nomination from table_10236830_6 where film_name = \"falling up\"" + }, + { + "question": "What is the queens where richmond staten is 42%?", + "context": "create table table_1108394_24 (queens varchar, richmond_ varchar, staten_is varchar, PRIMARY KEY (queens))", + "answer": "select queens from table_1108394_24 where richmond_[staten_is] = \"42_percentage\"" + }, + { + "question": "Please show different denominations and the corresponding number of schools.", + "context": "create table school (denomination varchar, PRIMARY KEY (denomination))", + "answer": "select denomination, count(*) from school group by denomination" + }, + { + "question": "In what parish is the Askrova Bedehuskapell church?", + "context": "create table table_178381_1 (parish__prestegjeld_ varchar, church_name varchar, PRIMARY KEY (parish__prestegjeld_))", + "answer": "select parish__prestegjeld_ from table_178381_1 where church_name = \"askrova bedehuskapell\"" + }, + { + "question": "How many millions of viewers did the episode written by Andrea Conway Kagey?", + "context": "create table table_23399481_4 (us_viewers__in_millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__in_millions_))", + "answer": "select us_viewers__in_millions_ from table_23399481_4 where written_by = \"andrea conway kagey\"" + }, + { + "question": "When socketg1 is the socket what is the release price in dollars?", + "context": "create table table_18823880_10 (release_price___usd__ varchar, socket varchar, PRIMARY KEY (release_price___usd__))", + "answer": "select release_price___usd__ from table_18823880_10 where socket = \"socketg1\"" + }, + { + "question": "what is the population where municipality is san jacinto?", + "context": "create table table_1691800_2 (population__2010_ varchar, municipality varchar, PRIMARY KEY (population__2010_))", + "answer": "select population__2010_ from table_1691800_2 where municipality = \"san jacinto\"" + }, + { + "question": "What are the names of body builders?", + "context": "create table body_builder (people_id varchar, PRIMARY KEY (people_id)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from body_builder as t1 join people as t2 on t1.people_id = t2.people_id" + }, + { + "question": "What percentage of The Bronx voters occured when Manhattan had 29.9% of voters?", + "context": "create table table_1108394_34 (the_bronx varchar, manhattan varchar, PRIMARY KEY (the_bronx))", + "answer": "select the_bronx from table_1108394_34 where manhattan = \"29.9_percentage\"" + }, + { + "question": "Name the gdp world rank for asian rank being 15", + "context": "create table table_2249029_1 (gdp_world_rank varchar, asian_rank varchar, PRIMARY KEY (gdp_world_rank))", + "answer": "select gdp_world_rank from table_2249029_1 where asian_rank = 15" + }, + { + "question": "How many michelob ultra mountains classification for darren lill", + "context": "create table table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey varchar, drury_hotels_most_aggressive_rider_red_jersey varchar, PRIMARY KEY (michelob_ultra_mountains_classification_gold_polka_dot_jersey))", + "answer": "select count(michelob_ultra_mountains_classification_gold_polka_dot_jersey) from table_13223187_1 where drury_hotels_most_aggressive_rider_red_jersey = \"darren lill\"" + }, + { + "question": "What is the website of the cunningham hill infant school?", + "context": "create table table_28523_2 (school varchar, PRIMARY KEY (school))", + "answer": "select school as website from table_28523_2 where school = \"cunningham hill infant school\"" + }, + { + "question": "What is the fewest shots a glazing can handle?", + "context": "create table table_21538523_1 (shots integer, PRIMARY KEY (shots))", + "answer": "select min(shots) from table_21538523_1" + }, + { + "question": "How many crops were damaged when the public property damage was 1,03,049.60?", + "context": "create table table_20403667_2 (crop_damaged__in_lakh_inr__ varchar, public_property_damaged__in_lakh_inr__ varchar, PRIMARY KEY (crop_damaged__in_lakh_inr__))", + "answer": "select crop_damaged__in_lakh_inr__ from table_20403667_2 where public_property_damaged__in_lakh_inr__ = \"1,03,049.60\"" + }, + { + "question": "What is every species when Afinsa is 639?", + "context": "create table table_1818471_1 (species varchar, afinsa varchar, PRIMARY KEY (species))", + "answer": "select species from table_1818471_1 where afinsa = 639" + }, + { + "question": "What's the minimum number of execution units?", + "context": "create table table_25839957_5 (execution_units integer, PRIMARY KEY (execution_units))", + "answer": "select min(execution_units) from table_25839957_5" + }, + { + "question": "What was the event on Thurs 27 Aug when Tues 25 Aug was 23' 00.59 98.384mph?", + "context": "create table table_23465864_6 (thurs_27_aug varchar, tues_25_aug varchar, PRIMARY KEY (thurs_27_aug))", + "answer": "select thurs_27_aug from table_23465864_6 where tues_25_aug = \"23' 00.59 98.384mph\"" + }, + { + "question": "What is the age of the act who is a rapper?", + "context": "create table table_27529608_21 (age_s_ varchar, act varchar, PRIMARY KEY (age_s_))", + "answer": "select age_s_ from table_27529608_21 where act = \"rapper\"" + }, + { + "question": "The Catalog number is 80809 what is the title?", + "context": "create table table_11222744_2 (title varchar, catalog_number varchar, PRIMARY KEY (title))", + "answer": "select title from table_11222744_2 where catalog_number = \"80809\"" + }, + { + "question": "Who had the fastest lap in the Dutch TT Grand Prix?", + "context": "create table table_18303274_1 (fastest_lap varchar, grand_prix varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_18303274_1 where grand_prix = \"dutch tt\"" + }, + { + "question": "What was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?", + "context": "create table table_18365784_3 (going_to varchar, calling_at varchar, PRIMARY KEY (going_to))", + "answer": "select going_to from table_18365784_3 where calling_at = \"boston, sleaford, nottingham victoria\"" + }, + { + "question": "Which company had profits of 26.9?", + "context": "create table table_1682026_2 (company varchar, profits__billion_$_ varchar, PRIMARY KEY (company))", + "answer": "select company from table_1682026_2 where profits__billion_$_ = \"26.9\"" + }, + { + "question": "What date did the episode that was written by Fintan Ryan originally air?", + "context": "create table table_27218002_2 (originalairdate varchar, written_by varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_27218002_2 where written_by = \"fintan ryan\"" + }, + { + "question": "What is the name of the museum that had no visitor yet?", + "context": "create table visit (name varchar, museum_id varchar, museum_id varchar, PRIMARY KEY (name)); create table museum (name varchar, museum_id varchar, museum_id varchar, PRIMARY KEY (name))", + "answer": "select name from museum where not museum_id in (select museum_id from visit)" + }, + { + "question": "What was the 1845 disposal for sussex?", + "context": "create table table_1184344_1 (name varchar, PRIMARY KEY (name))", + "answer": "select 1845 as _disposal from table_1184344_1 where name = \"sussex\"" + }, + { + "question": "Show ids for all templates not used by any document.", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id)); create table templates (template_id varchar, PRIMARY KEY (template_id))", + "answer": "select template_id from templates except select template_id from documents" + }, + { + "question": "Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong", + "context": "create table table_15511178_3 (report varchar, pole_position varchar, winning_team varchar, PRIMARY KEY (report))", + "answer": "select report from table_15511178_3 where pole_position = \"carl skerlong\" and winning_team = \"newman wachs racing\"" + }, + { + "question": "What won best amiga demo when alto knallo (free electric band) won best pc demo?", + "context": "create table table_2490289_1 (amiga_demo varchar, pc_demo varchar, PRIMARY KEY (amiga_demo))", + "answer": "select amiga_demo from table_2490289_1 where pc_demo = \"alto knallo (free electric band)\"" + }, + { + "question": "How many college/junior/club teams are ther when nhl team is edmonton oilers?", + "context": "create table table_2850912_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_2850912_7 where nhl_team = \"edmonton oilers\"" + }, + { + "question": "What week was the member who arrived on the main island in week 6 sent to the third island?", + "context": "create table table_11764007_2 (week_sent_to_third_island varchar, week_arrived_on_main_island varchar, PRIMARY KEY (week_sent_to_third_island))", + "answer": "select week_sent_to_third_island from table_11764007_2 where week_arrived_on_main_island = \"6\"" + }, + { + "question": "What is the year to april when the revenue is 434.8 million dollars?", + "context": "create table table_18077713_1 (year_to_april varchar, revenue__us_$million_ varchar, PRIMARY KEY (year_to_april))", + "answer": "select year_to_april from table_18077713_1 where revenue__us_$million_ = \"434.8\"" + }, + { + "question": "Who was the winning driver when the pole position was held by Ayrton Senna and the Fastest lap was Michael Schumacher?", + "context": "create table table_1137702_3 (winning_driver varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137702_3 where pole_position = \"ayrton senna\" and fastest_lap = \"michael schumacher\"" + }, + { + "question": "Which city of license/market has 3 (26) as their channel tv (dt)?", + "context": "create table table_1553485_1 (city_of_license__market varchar, channel_tv___dt__ varchar, PRIMARY KEY (city_of_license__market))", + "answer": "select city_of_license__market from table_1553485_1 where channel_tv___dt__ = \"3 (26)\"" + }, + { + "question": "What was Datsun Twin 200's fastest lap?", + "context": "create table table_10527215_3 (fastest_lap varchar, name varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_10527215_3 where name = \"datsun twin 200\"" + }, + { + "question": "What are the LOA (metres) of boat with sail number M10?", + "context": "create table table_20854943_2 (loa__metres_ varchar, sail_number varchar, PRIMARY KEY (loa__metres_))", + "answer": "select loa__metres_ from table_20854943_2 where sail_number = \"m10\"" + }, + { + "question": "How many locations have #12 Michigan State as the big ten team?", + "context": "create table table_21330550_2 (location varchar, big_ten_team varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_21330550_2 where big_ten_team = \"#12 michigan state\"" + }, + { + "question": "For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name.", + "context": "create table table_17964087_2 (romanised_name varchar, prior_occupation varchar, PRIMARY KEY (romanised_name))", + "answer": "select romanised_name from table_17964087_2 where prior_occupation = \"assistant police commissioner (ret'd)\"" + }, + { + "question": "Report the distinct president vote and the vice president vote.", + "context": "create table voting_record (president_vote varchar, vice_president_vote varchar, PRIMARY KEY (president_vote))", + "answer": "select distinct president_vote, vice_president_vote from voting_record" + }, + { + "question": "Who was the original artist of the group performance theme?", + "context": "create table table_26250155_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_26250155_1 where theme = \"group performance\"" + }, + { + "question": "Who was the MVP the season Scaligera Verona were Champions?", + "context": "create table table_19651669_1 (mvp varchar, champion varchar, PRIMARY KEY (mvp))", + "answer": "select mvp from table_19651669_1 where champion = \"scaligera verona\"" + }, + { + "question": "How many apartments do not have any facility?", + "context": "create table apartment_facilities (apt_id varchar, PRIMARY KEY (apt_id)); create table apartments (apt_id varchar, PRIMARY KEY (apt_id))", + "answer": "select count(*) from apartments where not apt_id in (select apt_id from apartment_facilities)" + }, + { + "question": "One 6 November 2007 what was the manner of departure for the coach release in football league one?", + "context": "create table table_28181347_6 (manner_of_departure varchar, date_of_appointment varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_28181347_6 where date_of_appointment = \"6 november 2007\"" + }, + { + "question": "Who led team classification during the stage whose winner was Chris Horner?", + "context": "create table table_26257223_13 (team_classification varchar, winner varchar, PRIMARY KEY (team_classification))", + "answer": "select team_classification from table_26257223_13 where winner = \"chris horner\"" + }, + { + "question": "Location of the school with the nickname Mountaineers", + "context": "create table table_16432543_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_16432543_1 where nickname = \"mountaineers\"" + }, + { + "question": "What is the range of married filing jointly or qualified widower in which married filing separately is $33,951\u2013$68,525?", + "context": "create table table_11647327_2 (married_filing_jointly_or_qualified_widow_er_ varchar, married_filing_separately varchar, PRIMARY KEY (married_filing_jointly_or_qualified_widow_er_))", + "answer": "select married_filing_jointly_or_qualified_widow_er_ from table_11647327_2 where married_filing_separately = \"$33,951\u2013$68,525\"" + }, + { + "question": "Name the outgoing manager for 10 june 2009", + "context": "create table table_22848931_3 (outgoing_manager varchar, date_of_vacancy varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_22848931_3 where date_of_vacancy = \"10 june 2009\"" + }, + { + "question": "What country are the new orleans shell shockers from?", + "context": "create table table_28005160_2 (country varchar, sponsored_name varchar, PRIMARY KEY (country))", + "answer": "select country from table_28005160_2 where sponsored_name = \"new orleans shell shockers\"" + }, + { + "question": "Who has a religion of United Methodist and a prior background of a Congressional Aide?", + "context": "create table table_20098199_2 (representative varchar, religion varchar, prior_background varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_20098199_2 where religion = \"united methodist\" and prior_background = \"congressional aide\"" + }, + { + "question": "what's the\u00a0first operational\u00a0with\u00a0programming\u00a0being not programmable\u2014single purpose", + "context": "create table table_13636_1 (first_operational varchar, programming varchar, PRIMARY KEY (first_operational))", + "answer": "select first_operational from table_13636_1 where programming = \"not programmable\u2014single purpose\"" + }, + { + "question": "Which project made the most number of outcomes? List the project details and the project id.", + "context": "create table project_outcomes (project_id varchar, PRIMARY KEY (project_id)); create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details))", + "answer": "select t1.project_details, t1.project_id from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id group by t1.project_id order by count(*) desc limit 1" + }, + { + "question": "What is the Mens Nickname for the member location of Jacksonville, florida?", + "context": "create table table_10577579_2 (mens_nickname varchar, location varchar, PRIMARY KEY (mens_nickname))", + "answer": "select mens_nickname from table_10577579_2 where location = \"jacksonville, florida\"" + }, + { + "question": "What years did Markose Bristow Madhumita Bisht win the mens singles and/or the mixed doubles?", + "context": "create table table_12194021_1 (mens_singles varchar, mixed_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_12194021_1 where mixed_doubles = \"markose bristow madhumita bisht\"" + }, + { + "question": "How many teams have an eagles mascot?", + "context": "create table table_13456202_1 (affiliation varchar, mascot varchar, PRIMARY KEY (affiliation))", + "answer": "select count(affiliation) from table_13456202_1 where mascot = \"eagles\"" + }, + { + "question": "What is the lowest attendance that East End Park has ever had?", + "context": "create table table_11207040_5 (lowest integer, stadium varchar, PRIMARY KEY (lowest))", + "answer": "select min(lowest) from table_11207040_5 where stadium = \"east end park\"" + }, + { + "question": "Name all the products with next entry ID greater than 8.", + "context": "create table catalog_contents (catalog_entry_name varchar, next_entry_id integer, PRIMARY KEY (catalog_entry_name))", + "answer": "select catalog_entry_name from catalog_contents where next_entry_id > 8" + }, + { + "question": "Who is every Under-15 if Under-11 is Reeham Sedky?", + "context": "create table table_26368963_2 (under_15 varchar, under_11 varchar, PRIMARY KEY (under_15))", + "answer": "select under_15 from table_26368963_2 where under_11 = \"reeham sedky\"" + }, + { + "question": "What is the date of entry for the UK Albums Top 75 chart?", + "context": "create table table_1160304_2 (date_of_entry varchar, chart varchar, PRIMARY KEY (date_of_entry))", + "answer": "select date_of_entry from table_1160304_2 where chart = \"uk albums top 75\"" + }, + { + "question": "Who is the director when there are 2.70 million viewers?", + "context": "create table table_29574579_1 (directed_by varchar, uk_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29574579_1 where uk_viewers__million_ = \"2.70\"" + }, + { + "question": "Name the nec record for 11th standing", + "context": "create table table_20774360_2 (nec_record varchar, standing varchar, PRIMARY KEY (nec_record))", + "answer": "select nec_record from table_20774360_2 where standing = \"11th\"" + }, + { + "question": "What is the origin when the destination is Mumbai?", + "context": "create table table_29202276_2 (origin varchar, destination varchar, PRIMARY KEY (origin))", + "answer": "select origin from table_29202276_2 where destination = \"mumbai\"" + }, + { + "question": "How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes?", + "context": "create table table_16731248_1 (bypass_boosters varchar, spi varchar, exhaust_ports varchar, PRIMARY KEY (bypass_boosters))", + "answer": "select bypass_boosters from table_16731248_1 where spi = \"yes\" and exhaust_ports = \"slit\"" + }, + { + "question": "Which team replaced their manager with Serhat G\u00fcller?", + "context": "create table table_27091128_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_27091128_3 where replaced_by = \"serhat g\u00fcller\"" + }, + { + "question": "Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?", + "context": "create table table_29264319_1 (artist_2 varchar, artist_1 varchar, PRIMARY KEY (artist_2))", + "answer": "select artist_2 from table_29264319_1 where artist_1 = \"sparfunk & d-code\"" + }, + { + "question": "Who was replaced on 11 July?", + "context": "create table table_17327458_1 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17327458_1 where date_of_appointment = \"11 july\"" + }, + { + "question": "what's the\u00a0bubbles\u00a0with\u00a0attribute\u00a0being onpopuphidden", + "context": "create table table_1507852_5 (bubbles varchar, attribute varchar, PRIMARY KEY (bubbles))", + "answer": "select bubbles from table_1507852_5 where attribute = \"onpopuphidden\"" + }, + { + "question": "Where is the club \"Hopkins Student Enterprises\" located?", + "context": "create table club (clublocation varchar, clubname varchar, PRIMARY KEY (clublocation))", + "answer": "select clublocation from club where clubname = \"hopkins student enterprises\"" + }, + { + "question": "What was the total distance (in miles) of the championship where the best conditioned horse was Freedom?", + "context": "create table table_27833186_1 (distance__miles_ varchar, best_conditioned_horse varchar, PRIMARY KEY (distance__miles_))", + "answer": "select distance__miles_ from table_27833186_1 where best_conditioned_horse = \"freedom\"" + }, + { + "question": "what is the maximum\u00a0aircraft movements\u00a0with\u00a0airport\u00a0being liverpool", + "context": "create table table_13836704_9 (aircraft_movements integer, airport varchar, PRIMARY KEY (aircraft_movements))", + "answer": "select max(aircraft_movements) from table_13836704_9 where airport = \"liverpool\"" + }, + { + "question": "What party did candidate george mcduffie (j) represent?", + "context": "create table table_2668254_22 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668254_22 where candidates = \"george mcduffie (j)\"" + }, + { + "question": "How many tourists did not make any visit?", + "context": "create table visitors (tourist_id varchar, PRIMARY KEY (tourist_id)); create table visits (tourist_id varchar, PRIMARY KEY (tourist_id))", + "answer": "select count(*) from visitors where not tourist_id in (select tourist_id from visits)" + }, + { + "question": "What are the ids of the problems reported after the date of any problems reported by Rylan Homenick?", + "context": "create table problems (problem_id varchar, reported_by_staff_id varchar, PRIMARY KEY (problem_id)); create table staff (staff_id varchar, staff_first_name varchar, staff_last_name varchar, PRIMARY KEY (staff_id)); create table problems (reported_by_staff_id varchar, PRIMARY KEY (reported_by_staff_id)); create table staff (staff_id varchar, PRIMARY KEY (staff_id))", + "answer": "select t1.problem_id from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where date_problem_reported > (select max(date_problem_reported) from problems as t3 join staff as t4 on t3.reported_by_staff_id = t4.staff_id where t4.staff_first_name = \"rylan\" and t4.staff_last_name = \"homenick\")" + }, + { + "question": "How many customers does Steve Johnson support?", + "context": "create table employees (id varchar, first_name varchar, last_name varchar, PRIMARY KEY (id)); create table customers (support_rep_id varchar, PRIMARY KEY (support_rep_id))", + "answer": "select count(*) from employees as t1 join customers as t2 on t2.support_rep_id = t1.id where t1.first_name = \"steve\" and t1.last_name = \"johnson\"" + }, + { + "question": "Who were the GT winning team when the results were \"report\"?", + "context": "create table table_27743641_2 (gt_winning_team varchar, results varchar, PRIMARY KEY (gt_winning_team))", + "answer": "select gt_winning_team from table_27743641_2 where results = \"report\"" + }, + { + "question": "What products are available at store named \"Miramichi\"?", + "context": "create table store_product (product_id varchar, store_id varchar, PRIMARY KEY (product_id)); create table store (store_id varchar, store_name varchar, PRIMARY KEY (store_id)); create table product (product varchar, product_id varchar, PRIMARY KEY (product))", + "answer": "select t1.product from product as t1 join store_product as t2 on t1.product_id = t2.product_id join store as t3 on t2.store_id = t3.store_id where t3.store_name = \"miramichi\"" + }, + { + "question": "How many engines were built with a cylinder size of 20 \u00bd\u201d x 26\u201d, firebox is belpaire and valve gear is from Stephenson?", + "context": "create table table_25695027_1 (number_built varchar, valve_gear varchar, cylinder_size varchar, firebox varchar, PRIMARY KEY (number_built))", + "answer": "select number_built from table_25695027_1 where cylinder_size = \"20 \u00bd\u201d x 26\u201d\" and firebox = \"belpaire\" and valve_gear = \"stephenson\"" + }, + { + "question": "What was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008?", + "context": "create table table_13241993_3 (part_2 varchar, part_1 varchar, PRIMARY KEY (part_2))", + "answer": "select part_2 from table_13241993_3 where part_1 = \"january 31, 2008\"" + }, + { + "question": "Who was the home team when the opposition was Buller?", + "context": "create table table_26847237_1 (home_team varchar, opposition varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_26847237_1 where opposition = \"buller\"" + }, + { + "question": "How many entries are listed in poor law union when townland is dromidiclogh?", + "context": "create table table_30121075_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select count(poor_law_union) from table_30121075_1 where townland = \"dromidiclogh\"" + }, + { + "question": "This engine with a cylinder size of 20 \u00bd\u201d x 26\u201d and a firebox of radial-stay was built when?", + "context": "create table table_25695027_1 (years_built varchar, cylinder_size varchar, firebox varchar, PRIMARY KEY (years_built))", + "answer": "select years_built from table_25695027_1 where cylinder_size = \"20 \u00bd\u201d x 26\u201d\" and firebox = \"radial-stay\"" + }, + { + "question": "what is the capital where it is ramtha", + "context": "create table table_26173058_2 (qadisiya varchar, \u00d7 varchar, PRIMARY KEY (qadisiya))", + "answer": "select qadisiya from table_26173058_2 where \u00d7 = \"ramtha\"" + }, + { + "question": "Find the first and last name of all the teachers that teach EVELINA BROMLEY.", + "context": "create table teachers (firstname varchar, lastname varchar, classroom varchar, PRIMARY KEY (firstname)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select t2.firstname, t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = \"evelina\" and t1.lastname = \"bromley\"" + }, + { + "question": "What country does Roberto Almeida live?", + "context": "create table customers (country varchar, first_name varchar, last_name varchar, PRIMARY KEY (country))", + "answer": "select country from customers where first_name = \"roberto\" and last_name = \"almeida\"" + }, + { + "question": "Which eagle riders whose ova (harmony gold dub) is dr. kozaburo nambu?", + "context": "create table table_17480471_3 (eagle_riders varchar, ova__harmony_gold_dub_ varchar, PRIMARY KEY (eagle_riders))", + "answer": "select eagle_riders from table_17480471_3 where ova__harmony_gold_dub_ = \"dr. kozaburo nambu\"" + }, + { + "question": "What are the colors of the Hudson school?", + "context": "create table table_28051859_3 (colors varchar, school varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_28051859_3 where school = \"hudson\"" + }, + { + "question": "When cancelled is the fastest qualifying where is the location?", + "context": "create table table_26358264_2 (location varchar, fastest_qualifying varchar, PRIMARY KEY (location))", + "answer": "select location from table_26358264_2 where fastest_qualifying = \"cancelled\"" + }, + { + "question": "Which college is aligned to the Saskatchewan Roughriders?", + "context": "create table table_10812938_4 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_10812938_4 where cfl_team = \"saskatchewan roughriders\"" + }, + { + "question": "How many sail numbers for boat skippered by Geoff Ross?", + "context": "create table table_20854943_2 (sail_number varchar, skipper varchar, PRIMARY KEY (sail_number))", + "answer": "select count(sail_number) from table_20854943_2 where skipper = \"geoff ross\"" + }, + { + "question": "Find the id of courses which are registered or attended by student whose id is 121?", + "context": "create table student_course_attendance (course_id varchar, student_id varchar, PRIMARY KEY (course_id)); create table student_course_registrations (course_id varchar, student_id varchar, PRIMARY KEY (course_id))", + "answer": "select course_id from student_course_registrations where student_id = 121 union select course_id from student_course_attendance where student_id = 121" + }, + { + "question": "What movie did dana wynter , mel ferrer , theodore bikel star in?", + "context": "create table table_26032940_2 (movie_title_and_year varchar, main_cast varchar, PRIMARY KEY (movie_title_and_year))", + "answer": "select movie_title_and_year from table_26032940_2 where main_cast = \"dana wynter , mel ferrer , theodore bikel\"" + }, + { + "question": "What is the census ranking for the Perth parish?", + "context": "create table table_176524_2 (census_ranking varchar, official_name varchar, PRIMARY KEY (census_ranking))", + "answer": "select census_ranking from table_176524_2 where official_name = \"perth\"" + }, + { + "question": "At what milepost is Beacon Falls?", + "context": "create table table_2572788_1 (milepost varchar, town_city varchar, PRIMARY KEY (milepost))", + "answer": "select milepost from table_2572788_1 where town_city = \"beacon falls\"" + }, + { + "question": "How many times was the GFR 2006 equal to 53.2?", + "context": "create table table_12251936_1 (whites_as__percentage_of_pop varchar, gfr_2006 varchar, PRIMARY KEY (whites_as__percentage_of_pop))", + "answer": "select count(whites_as__percentage_of_pop) from table_12251936_1 where gfr_2006 = \"53.2\"" + }, + { + "question": "Name the least age 40-49", + "context": "create table table_169693_1 (age_40_49 integer, PRIMARY KEY (age_40_49))", + "answer": "select min(age_40_49) from table_169693_1" + }, + { + "question": "How many viewers watched the 16mm t/r episode?", + "context": "create table table_1849243_1 (viewers__in_millions_ varchar, archive varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select viewers__in_millions_ from table_1849243_1 where archive = \"16mm t/r\"" + }, + { + "question": "What was the position of appointment date 17 january 2011", + "context": "create table table_27495117_3 (position_in_table varchar, date_of_appointment varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_27495117_3 where date_of_appointment = \"17 january 2011\"" + }, + { + "question": "What's the romanised name of the official who was Secretary for health, welfare and food?", + "context": "create table table_2263674_1 (romanised_name varchar, portfolio varchar, PRIMARY KEY (romanised_name))", + "answer": "select romanised_name from table_2263674_1 where portfolio = \"secretary for health, welfare and food\"" + }, + { + "question": "Show the names of products and the number of events they are in, sorted by the number of events in descending order.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table products_in_events (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_name, count(*) from products as t1 join products_in_events as t2 on t1.product_id = t2.product_id group by t1.product_name order by count(*) desc" + }, + { + "question": "Which document has the most draft copies? List its document id and number of draft copies.", + "context": "create table draft_copies (document_id varchar, copy_number varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, count(copy_number) from draft_copies group by document_id order by count(copy_number) desc limit 1" + }, + { + "question": "What are the candidates in the district whose incumbent is Gus Yatron?", + "context": "create table table_1341604_39 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341604_39 where incumbent = \"gus yatron\"" + }, + { + "question": "How many female students have milk or egg allergies?", + "context": "create table student (stuid varchar, sex varchar, PRIMARY KEY (stuid)); create table has_allergy (stuid varchar, allergy varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from has_allergy as t1 join student as t2 on t1.stuid = t2.stuid where t2.sex = \"f\" and t1.allergy = \"milk\" or t1.allergy = \"eggs\"" + }, + { + "question": "If the till agra is 1050, what is the max round trip?", + "context": "create table table_19787093_1 (for_round_trip integer, till_agra varchar, PRIMARY KEY (for_round_trip))", + "answer": "select max(for_round_trip) from table_19787093_1 where till_agra = 1050" + }, + { + "question": "Show paragraph details for paragraph with text 'Korea ' .", + "context": "create table paragraphs (other_details varchar, paragraph_text varchar, PRIMARY KEY (other_details))", + "answer": "select other_details from paragraphs where paragraph_text like 'korea'" + }, + { + "question": "When 9386 is the undergraduate enrollment what is the nickname?", + "context": "create table table_262495_1 (nickname varchar, undergraduate_enrollment varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_262495_1 where undergraduate_enrollment = 9386" + }, + { + "question": "What is the density per km in Smoky Lake County?", + "context": "create table table_2500440_1 (population_density__per_km_2__ varchar, municipal_district varchar, PRIMARY KEY (population_density__per_km_2__))", + "answer": "select population_density__per_km_2__ from table_2500440_1 where municipal_district = \"smoky lake county\"" + }, + { + "question": "What is the strongs transliteration of the hebrew word \u05d9\u05d5\u05b9\u05d7\u05b8\u05e0\u05b8\u05df?", + "context": "create table table_1242447_1 (strongs_transliteration varchar, hebrew_word varchar, PRIMARY KEY (strongs_transliteration))", + "answer": "select strongs_transliteration from table_1242447_1 where hebrew_word = \"\u05d9\u05d5\u05b9\u05d7\u05b8\u05e0\u05b8\u05df\"" + }, + { + "question": "What is the highest rebound Dennis Rodman obtained within the 20 rebounds category given two of the following:points, rebounds, assists, steals, and blocked shots (points) greater equal to 5", + "context": "create table table_25696729_8 (double_double varchar, PRIMARY KEY (double_double))", + "answer": "select max(20 as _rebounds) from table_25696729_8 where double_double = 5" + }, + { + "question": "How many games or records were played on the Miami Orange Bowl?", + "context": "create table table_17386066_2 (record varchar, stadium varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17386066_2 where stadium = \"miami orange bowl\"" + }, + { + "question": "What is the house colour associated with the house name of Kupe?", + "context": "create table table_1942683_1 (house_colour varchar, house_name varchar, PRIMARY KEY (house_colour))", + "answer": "select house_colour from table_1942683_1 where house_name = \"kupe\"" + }, + { + "question": "When the 8th is Marcos Hernandez who was the 6th?", + "context": "create table table_17111812_1 (sixth varchar, eighth varchar, PRIMARY KEY (sixth))", + "answer": "select sixth from table_17111812_1 where eighth = \"marcos hernandez\"" + }, + { + "question": "what is the celebrity where the finished is 5th?", + "context": "create table table_14345690_5 (celebrity varchar, finished varchar, PRIMARY KEY (celebrity))", + "answer": "select celebrity from table_14345690_5 where finished = \"5th\"" + }, + { + "question": "What is the largest and smallest customer codes?", + "context": "create table customers (customer_code integer, PRIMARY KEY (customer_code))", + "answer": "select max(customer_code), min(customer_code) from customers" + }, + { + "question": "How many clubs have a try bonus value of 5?", + "context": "create table table_14070062_3 (club varchar, try_bonus varchar, PRIMARY KEY (club))", + "answer": "select count(club) from table_14070062_3 where try_bonus = \"5\"" + }, + { + "question": "What is the power in kilowatts of TV-12?", + "context": "create table table_24673888_1 (power_kw varchar, ch__number varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_24673888_1 where ch__number = \"tv-12\"" + }, + { + "question": "Who directed the TV broadcast s03e19?", + "context": "create table table_15861776_1 (directed_by varchar, tv_broadcast varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_15861776_1 where tv_broadcast = \"s03e19\"" + }, + { + "question": "What are the results of incumbent dave weldon?", + "context": "create table table_1805191_10 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_1805191_10 where incumbent = \"dave weldon\"" + }, + { + "question": "Name the manner of departure for 1 december 2009", + "context": "create table table_22848931_3 (manner_of_departure varchar, date_of_vacancy varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_22848931_3 where date_of_vacancy = \"1 december 2009\"" + }, + { + "question": "Name the replaced by for 8 july 2009", + "context": "create table table_22640051_3 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_22640051_3 where date_of_appointment = \"8 july 2009\"" + }, + { + "question": "What is the place of \"A Lament for Ying\"?", + "context": "create table table_1805919_1 (standard_order integer, english_translation varchar, PRIMARY KEY (standard_order))", + "answer": "select max(standard_order) from table_1805919_1 where english_translation = \"a lament for ying\"" + }, + { + "question": "What is the control for Christopher Newport University?", + "context": "create table table_2076608_1 (control varchar, school varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076608_1 where school = \"christopher newport university\"" + }, + { + "question": "What are the names and location of the wrestlers?", + "context": "create table wrestler (name varchar, location varchar, PRIMARY KEY (name))", + "answer": "select name, location from wrestler" + }, + { + "question": "Find the invoice numbers which are created before 1989-09-03 or after 2007-12-25.", + "context": "create table invoices (invoice_number varchar, invoice_date varchar, PRIMARY KEY (invoice_number))", + "answer": "select invoice_number from invoices where invoice_date < \"1989-09-03\" or invoice_date > \"2007-12-25\"" + }, + { + "question": "Show the stadium names without any concert.", + "context": "create table stadium (name varchar, stadium_id varchar, PRIMARY KEY (name)); create table concert (name varchar, stadium_id varchar, PRIMARY KEY (name))", + "answer": "select name from stadium where not stadium_id in (select stadium_id from concert)" + }, + { + "question": "How many films titled Gie have been nominated?", + "context": "create table table_13719788_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select count(original_title) from table_13719788_1 where film_title_used_in_nomination = \"gie\"" + }, + { + "question": "What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?", + "context": "create table table_16105186_2 (mid_atlantic_south__washington varchar, _dc_ varchar, midwest__des_moines_ varchar, PRIMARY KEY (mid_atlantic_south__washington))", + "answer": "select mid_atlantic_south__washington, _dc_ from table_16105186_2 where midwest__des_moines_ = \"300 g/mi (186 g/km)\"" + }, + { + "question": "What's the report on Penske Racing winning while the pole position was Al Unser?", + "context": "create table table_10527215_3 (report varchar, pole_position varchar, winning_team varchar, PRIMARY KEY (report))", + "answer": "select count(report) from table_10527215_3 where pole_position = \"al unser\" and winning_team = \"penske racing\"" + }, + { + "question": "What is long-term C PK when the short-term C PK is 2.00?", + "context": "create table table_222448_1 (long_term_c_pk varchar, short_term_c_pk varchar, PRIMARY KEY (long_term_c_pk))", + "answer": "select long_term_c_pk from table_222448_1 where short_term_c_pk = \"2.00\"" + }, + { + "question": "With an original artist names Bette Midler, what is the order number?", + "context": "create table table_21501565_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select count(order__number) from table_21501565_1 where original_artist = \"bette midler\"" + }, + { + "question": "Which settlement has the cyrillic and other name of \u043b\u043e\u043a\u0432\u0435 (romanian: locve)?", + "context": "create table table_2562572_44 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_44 where cyrillic_name_other_names = \"\u043b\u043e\u043a\u0432\u0435 (romanian: locve)\"" + }, + { + "question": "What is the 2003 seat number, when seats contested was at 38.23%", + "context": "create table table_20728138_1 (_percentage_in_seats_contested varchar, PRIMARY KEY (_percentage_in_seats_contested))", + "answer": "select min(2003 as _seats) from table_20728138_1 where _percentage_in_seats_contested = \"38.23%\"" + }, + { + "question": "Which countries won by 9 strokes?", + "context": "create table table_1520559_1 (country varchar, margin_of_victory varchar, PRIMARY KEY (country))", + "answer": "select country from table_1520559_1 where margin_of_victory = \"9 strokes\"" + }, + { + "question": "Provide me with the name of the village (German) where there is 96.9% Slovenes in 1951.", + "context": "create table table_10798421_1 (village__german_ varchar, percent_of_slovenes_1951 varchar, PRIMARY KEY (village__german_))", + "answer": "select village__german_ from table_10798421_1 where percent_of_slovenes_1951 = \"96.9%\"" + }, + { + "question": "How many candidates won the election in the district whose incumbent is Bud Shuster?", + "context": "create table table_1341604_39 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341604_39 where incumbent = \"bud shuster\"" + }, + { + "question": "Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name.", + "context": "create table phone (hardware_model_name varchar, company_name varchar, accreditation_type varchar, PRIMARY KEY (hardware_model_name))", + "answer": "select hardware_model_name, company_name from phone where accreditation_type like 'full'" + }, + { + "question": "How many different items were reviewed by some users?", + "context": "create table review (i_id varchar, PRIMARY KEY (i_id))", + "answer": "select count(distinct i_id) from review" + }, + { + "question": "What is the project detail for the project with document \"King Book\"?", + "context": "create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details)); create table documents (project_id varchar, document_name varchar, PRIMARY KEY (project_id))", + "answer": "select t1.project_details from projects as t1 join documents as t2 on t1.project_id = t2.project_id where t2.document_name = \"king book\"" + }, + { + "question": "Find all the customer information in state NY.", + "context": "create table customer (state varchar, PRIMARY KEY (state))", + "answer": "select * from customer where state = \"ny\"" + }, + { + "question": "Name the disposition for date built is march 1909", + "context": "create table table_1748444_1 (disposition varchar, date_built varchar, PRIMARY KEY (disposition))", + "answer": "select disposition from table_1748444_1 where date_built = \"march 1909\"" + }, + { + "question": "What is the FSB of the model with part number lf80537gf0411m?", + "context": "create table table_11602313_4 (fsb varchar, part_number_s_ varchar, PRIMARY KEY (fsb))", + "answer": "select fsb from table_11602313_4 where part_number_s_ = \"lf80537gf0411m\"" + }, + { + "question": "Which staff handled least number of payments? List the full name and the id.", + "context": "create table payment (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (first_name varchar, last_name varchar, staff_id varchar, PRIMARY KEY (first_name))", + "answer": "select t1.first_name, t1.last_name, t1.staff_id from staff as t1 join payment as t2 on t1.staff_id = t2.staff_id group by t1.staff_id order by count(*) limit 1" + }, + { + "question": "Who is listed under womens singles when year location is 1998 doha?", + "context": "create table table_28138035_27 (womens_singles varchar, year_location varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_28138035_27 where year_location = \"1998 doha\"" + }, + { + "question": "What is the graduation rate for the school district with headquarters located in Sydney?", + "context": "create table table_21514460_1 (graduation_rate__2011_12_ varchar, headquarters varchar, PRIMARY KEY (graduation_rate__2011_12_))", + "answer": "select graduation_rate__2011_12_ from table_21514460_1 where headquarters = \"sydney\"" + }, + { + "question": "What is the number of 1st runner up values for Jamaica?", + "context": "create table table_30007801_1 (country_territory varchar, PRIMARY KEY (country_territory))", + "answer": "select count(1 as st_runner_up) from table_30007801_1 where country_territory = \"jamaica\"" + }, + { + "question": "What is the NCBI Accession Number for the length of 5304bp/377aa?", + "context": "create table table_16849531_2 (ncbi_accession_number__mrna_protein_ varchar, length__bp_aa_ varchar, PRIMARY KEY (ncbi_accession_number__mrna_protein_))", + "answer": "select ncbi_accession_number__mrna_protein_ from table_16849531_2 where length__bp_aa_ = \"5304bp/377aa\"" + }, + { + "question": "Who in the family has a gentle personality?", + "context": "create table table_1912713_2 (\u5bb6\u65cf_family varchar, \u6027\u60c5_personality varchar, PRIMARY KEY (\u5bb6\u65cf_family))", + "answer": "select \u5bb6\u65cf_family from table_1912713_2 where \u6027\u60c5_personality = \"gentle\"" + }, + { + "question": "Name the least births for conversion being 26,333", + "context": "create table table_28137918_5 (births integer, conversions varchar, PRIMARY KEY (births))", + "answer": "select min(births) from table_28137918_5 where conversions = \"26,333\"" + }, + { + "question": "What is the highest numbered nightly rank for any episode?", + "context": "create table table_22892217_4 (nightly_rank integer, PRIMARY KEY (nightly_rank))", + "answer": "select max(nightly_rank) from table_22892217_4" + }, + { + "question": "What is the verbal noun connected to the participle e-duki?", + "context": "create table table_12784134_1 (verbal_noun varchar, participle varchar, PRIMARY KEY (verbal_noun))", + "answer": "select verbal_noun from table_12784134_1 where participle = \"e-duki\"" + }, + { + "question": "Name the gt1 winning team for #54 bell motorsports", + "context": "create table table_12146068_2 (gt1_winning_team varchar, gt2_winning_team varchar, PRIMARY KEY (gt1_winning_team))", + "answer": "select gt1_winning_team from table_12146068_2 where gt2_winning_team = \"#54 bell motorsports\"" + }, + { + "question": "What is the prize for the elapsed time of 10 h 10 min?", + "context": "create table table_22050544_1 (prize varchar, elapsed_time varchar, PRIMARY KEY (prize))", + "answer": "select prize from table_22050544_1 where elapsed_time = \"10 h 10 min\"" + }, + { + "question": "Who wrote the episode \"The Cold Turkey\", which was viewed by 3.73 million viewers?", + "context": "create table table_17467578_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_17467578_1 where us_viewers__million_ = \"3.73\"" + }, + { + "question": "What is the name in Basque of the municipality whose official name is Kuartango?", + "context": "create table table_300283_1 (name_in_basque varchar, official_name varchar, PRIMARY KEY (name_in_basque))", + "answer": "select name_in_basque from table_300283_1 where official_name = \"kuartango\"" + }, + { + "question": "march 27-29 where june 10-11 is 127?", + "context": "create table table_25355501_2 (march_27_29 varchar, june_10_11 varchar, PRIMARY KEY (march_27_29))", + "answer": "select march_27_29 from table_25355501_2 where june_10_11 = \"127\"" + }, + { + "question": "How many companies had an april 2013 cumulative ranking of 3?", + "context": "create table table_23950611_2 (market_cap_march_15__mil_usd__ varchar, april_2013_cum_rank varchar, PRIMARY KEY (market_cap_march_15__mil_usd__))", + "answer": "select count(market_cap_march_15__mil_usd__) from table_23950611_2 where april_2013_cum_rank = 3" + }, + { + "question": "Name the original air date for barnaby southcomb for charlie martin", + "context": "create table table_18335117_5 (original_air_date varchar, director varchar, writer varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_18335117_5 where director = \"barnaby southcomb\" and writer = \"charlie martin\"" + }, + { + "question": "What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?", + "context": "create table table_16409745_1 (dpi varchar, dimensions__mm_ varchar, PRIMARY KEY (dpi))", + "answer": "select dpi from table_16409745_1 where dimensions__mm_ = \"280 x 95 x 40\"" + }, + { + "question": "What is the 20 year for Nitrous Oxide?", + "context": "create table table_21350772_2 (gas_name varchar, PRIMARY KEY (gas_name))", + "answer": "select 20 as _yr from table_21350772_2 where gas_name = \"nitrous oxide\"" + }, + { + "question": "What is player 1 when player 3 is South and the prevailing wind is South?", + "context": "create table table_26853172_1 (player_1 varchar, player_3 varchar, prevailing_wind varchar, PRIMARY KEY (player_1))", + "answer": "select player_1 from table_26853172_1 where player_3 = \"south\" and prevailing_wind = \"south\"" + }, + { + "question": "What candidates were in the election when james patrick sutton was incumbent?", + "context": "create table table_1342013_41 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342013_41 where incumbent = \"james patrick sutton\"" + }, + { + "question": "Name the number of processors for october 2006 - january 2010", + "context": "create table table_27765443_2 (no_of_processors varchar, period_of_operation varchar, PRIMARY KEY (no_of_processors))", + "answer": "select no_of_processors from table_27765443_2 where period_of_operation = \"october 2006 - january 2010\"" + }, + { + "question": "Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%", + "context": "create table table_19753079_35 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select party from table_19753079_35 where candidates = \"yvette clarke (d) 90.6% hugh carr (r) 9.4%\"" + }, + { + "question": "What is the authority who set the budget limit (\u00a3m) at 900?", + "context": "create table table_25316812_1 (authority varchar, budget_limit__\u00a3m_ varchar, PRIMARY KEY (authority))", + "answer": "select authority from table_25316812_1 where budget_limit__\u00a3m_ = \"900\"" + }, + { + "question": "What are the names of customers using the most popular payment method?", + "context": "create table customers (customer_name varchar, payment_method varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers where payment_method = (select payment_method from customers group by payment_method order by count(*) desc limit 1)" + }, + { + "question": "Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?", + "context": "create table table_105344_2 (aircraft_kilometers integer, departures varchar, PRIMARY KEY (aircraft_kilometers))", + "answer": "select max(aircraft_kilometers) from table_105344_2 where departures = 17096" + }, + { + "question": "Which country had a contestant that was 1.76 meters tall?", + "context": "create table table_23495048_2 (represent varchar, height__mtr_ varchar, PRIMARY KEY (represent))", + "answer": "select represent from table_23495048_2 where height__mtr_ = \"1.76\"" + }, + { + "question": "What was the maximum total USD collected by Pebble Technology?", + "context": "create table table_27155990_1 (total_usd integer, creator varchar, PRIMARY KEY (total_usd))", + "answer": "select max(total_usd) from table_27155990_1 where creator = \"pebble technology\"" + }, + { + "question": "Name the total number of bids of the sun belt conference", + "context": "create table table_10722506_6 (_number_of_bids varchar, conference varchar, PRIMARY KEY (_number_of_bids))", + "answer": "select count(_number_of_bids) from table_10722506_6 where conference = \"sun belt\"" + }, + { + "question": "What team got a draft pick player from McGill?", + "context": "create table table_25085059_3 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_25085059_3 where college = \"mcgill\"" + }, + { + "question": "What was the date that the episode with Jeff Davis as the second performer originally aired?", + "context": "create table table_23294081_10 (original_airdate varchar, performer_2 varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_23294081_10 where performer_2 = \"jeff davis\"" + }, + { + "question": "Name the trucks for scott neal", + "context": "create table table_2187178_1 (truck_s_ varchar, crew_chief varchar, PRIMARY KEY (truck_s_))", + "answer": "select truck_s_ from table_2187178_1 where crew_chief = \"scott neal\"" + }, + { + "question": "How many instances is the unlocked n/a?", + "context": "create table table_24463470_1 (setting varchar, unlocked_by varchar, PRIMARY KEY (setting))", + "answer": "select count(setting) from table_24463470_1 where unlocked_by = \"n/a\"" + }, + { + "question": "Show names for all aircraft with at least two flights.", + "context": "create table aircraft (name varchar, aid varchar, PRIMARY KEY (name)); create table flight (aid varchar, PRIMARY KEY (aid))", + "answer": "select t2.name from flight as t1 join aircraft as t2 on t1.aid = t2.aid group by t1.aid having count(*) >= 2" + }, + { + "question": "How many locations have a school that is nicknamed the Panthers?", + "context": "create table table_262560_2 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_262560_2 where nickname = \"panthers\"" + }, + { + "question": "When shinya nakano's kawasaki ninja zx-rr is the example what is the graphical?", + "context": "create table table_22915134_2 (graphical varchar, example varchar, PRIMARY KEY (graphical))", + "answer": "select graphical from table_22915134_2 where example = \"shinya nakano's kawasaki ninja zx-rr\"" + }, + { + "question": "What is the type of the document named \"David CV\"?", + "context": "create table documents (document_type_code varchar, document_name varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents where document_name = \"david cv\"" + }, + { + "question": "How many votes for brown in the place that had 84.1% for coakley?", + "context": "create table table_24115349_6 (brown_votes integer, coakley__percentage varchar, PRIMARY KEY (brown_votes))", + "answer": "select max(brown_votes) from table_24115349_6 where coakley__percentage = \"84.1%\"" + }, + { + "question": "Show all dates of transactions whose type code is \"SALE\".", + "context": "create table transactions (date_of_transaction varchar, transaction_type_code varchar, PRIMARY KEY (date_of_transaction))", + "answer": "select date_of_transaction from transactions where transaction_type_code = \"sale\"" + }, + { + "question": "If Coba is the song choice, what is the order number?", + "context": "create table table_22736523_1 (order__number varchar, song_choice varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_22736523_1 where song_choice = \"coba\"" + }, + { + "question": "How many overs bowled for muttiah muralitharan?", + "context": "create table table_15700367_6 (overs_bowled varchar, name varchar, PRIMARY KEY (overs_bowled))", + "answer": "select count(overs_bowled) from table_15700367_6 where name = \"muttiah muralitharan\"" + }, + { + "question": "How many viewers tuned into the show directed by Matt Earl Beesley?", + "context": "create table table_10718525_2 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_10718525_2 where directed_by = \"matt earl beesley\"" + }, + { + "question": "Which narrator has the bonus interview with Frazer Hines?", + "context": "create table table_1681535_1 (narrator varchar, notes varchar, PRIMARY KEY (narrator))", + "answer": "select narrator from table_1681535_1 where notes = \"bonus interview with frazer hines\"" + }, + { + "question": "What percentage of hispanics are there when the free/reduced lunch percentage is 81.4?", + "context": "create table table_14754471_1 (hispanic___percentage_ varchar, free_reduced_lunch___percentage_ varchar, PRIMARY KEY (hispanic___percentage_))", + "answer": "select hispanic___percentage_ from table_14754471_1 where free_reduced_lunch___percentage_ = \"81.4\"" + }, + { + "question": "Who wrote the episode that received 1.83 million U.S. viewers?", + "context": "create table table_13477468_3 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_13477468_3 where us_viewers__millions_ = \"1.83\"" + }, + { + "question": "What is the status of the county with per capita market income of $24,326?", + "context": "create table table_22815568_2 (status varchar, market_income_per_capita varchar, PRIMARY KEY (status))", + "answer": "select status from table_22815568_2 where market_income_per_capita = \"$24,326\"" + }, + { + "question": "What team was the opponent when josh smith (8) had the high assists?", + "context": "create table table_27734577_13 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_27734577_13 where high_assists = \"josh smith (8)\"" + }, + { + "question": "What were the July (\u00b0C) temperatures when the July (\u00b0F) temperatures were 71/55?", + "context": "create table table_21980_1 (july__\u00b0c_ varchar, july__\u00b0f_ varchar, PRIMARY KEY (july__\u00b0c_))", + "answer": "select july__\u00b0c_ from table_21980_1 where july__\u00b0f_ = \"71/55\"" + }, + { + "question": "What team hired Renato Ga\u00facho?", + "context": "create table table_29414946_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_29414946_3 where replaced_by = \"renato ga\u00facho\"" + }, + { + "question": "What was the record in the game against Eskimos?", + "context": "create table table_23685152_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23685152_2 where opponent = \"eskimos\"" + }, + { + "question": "Name the english gloss for nah\u00e1\u014b\u021f\u010di\u014b", + "context": "create table table_1499791_2 (english_gloss varchar, southern_lakota varchar, PRIMARY KEY (english_gloss))", + "answer": "select english_gloss from table_1499791_2 where southern_lakota = \"nah\u00e1\u014b\u021f\u010di\u014b\"" + }, + { + "question": "Show the product ids and the number of unique orders containing each product.", + "context": "create table order_items (product_id varchar, order_id varchar, PRIMARY KEY (product_id))", + "answer": "select product_id, count(distinct order_id) from order_items group by product_id" + }, + { + "question": "Find the total number of hours have done for all students in each department.", + "context": "create table student (dept_code varchar, stu_hrs integer, PRIMARY KEY (dept_code))", + "answer": "select sum(stu_hrs), dept_code from student group by dept_code" + }, + { + "question": "If the time on Tues Aug 24 is 20' 49.46 108.709mph, what is the time on Fri Aug 27?", + "context": "create table table_26986076_1 (fri_27_aug varchar, tues_24_aug varchar, PRIMARY KEY (fri_27_aug))", + "answer": "select fri_27_aug from table_26986076_1 where tues_24_aug = \"20' 49.46 108.709mph\"" + }, + { + "question": "Name the duration for georgi grechko", + "context": "create table table_245801_1 (duration__days_ varchar, crew varchar, PRIMARY KEY (duration__days_))", + "answer": "select duration__days_ from table_245801_1 where crew = \"georgi grechko\"" + }, + { + "question": "how many countries have remittances in 2008 of 9.07?", + "context": "create table table_2941963_1 (country varchar, remittances_2008 varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_2941963_1 where remittances_2008 = \"9.07\"" + }, + { + "question": "what's the\u00a0author / editor / source\u00a0with\u00a0world ranking (1)\u00a0being 73rd", + "context": "create table table_12000368_1 (author___editor___source varchar, world_ranking__1_ varchar, PRIMARY KEY (author___editor___source))", + "answer": "select author___editor___source from table_12000368_1 where world_ranking__1_ = \"73rd\"" + }, + { + "question": "What is the cable rank for episode no. 4?", + "context": "create table table_24399615_3 (cable_rank varchar, episode_no varchar, PRIMARY KEY (cable_rank))", + "answer": "select cable_rank from table_24399615_3 where episode_no = 4" + }, + { + "question": "What country has the most height in the northwestern peak of rysy?", + "context": "create table table_24285393_1 (country_or_region varchar, highest_point varchar, PRIMARY KEY (country_or_region))", + "answer": "select country_or_region from table_24285393_1 where highest_point = \"northwestern peak of rysy\"" + }, + { + "question": "What is the population density of bandung regency?", + "context": "create table table_21734764_1 (population_density___km\u00b2_2010_ varchar, administrative_division varchar, PRIMARY KEY (population_density___km\u00b2_2010_))", + "answer": "select population_density___km\u00b2_2010_ from table_21734764_1 where administrative_division = \"bandung regency\"" + }, + { + "question": "What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0?", + "context": "create table table_11173827_1 (english_title varchar, premiere varchar, finale varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_11173827_1 where premiere < 30.0 and finale > 36.0" + }, + { + "question": "List the name of the conductor with the most years of work.", + "context": "create table conductor (name varchar, year_of_work varchar, PRIMARY KEY (name))", + "answer": "select name from conductor order by year_of_work desc limit 1" + }, + { + "question": "What's the English name of the county called \u592a\u6e56\u53bf / \u592a\u6e56\u7e23 in Chinese?", + "context": "create table table_1976898_1 (english_name varchar, chinese_name__simplified___traditional_ varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_1976898_1 where chinese_name__simplified___traditional_ = \"\u592a\u6e56\u53bf / \u592a\u6e56\u7e23\"" + }, + { + "question": "Name the location for democratic m\u00e9ga-plex taschereau imax", + "context": "create table table_2461720_1 (location varchar, theatre_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_2461720_1 where theatre_name = \"m\u00e9ga-plex taschereau imax\"" + }, + { + "question": "List the builders of railways in ascending alphabetical order.", + "context": "create table railway (builder varchar, PRIMARY KEY (builder))", + "answer": "select builder from railway order by builder" + }, + { + "question": "What is the greek national account when 1997 is 6.1?", + "context": "create table table_27146868_1 (greek_national_account varchar, PRIMARY KEY (greek_national_account))", + "answer": "select greek_national_account from table_27146868_1 where 1997 = \"6.1\"" + }, + { + "question": "Name the least horizontal for smpte 259m three quarters", + "context": "create table table_272313_2 (horizontal integer, pixel_aspect_ratio varchar, PRIMARY KEY (horizontal))", + "answer": "select min(horizontal) from table_272313_2 where pixel_aspect_ratio = \"smpte 259m three quarters\"" + }, + { + "question": "What is the name of the shield winner in which the mls cup winner and mls supporters shield runner up is Chivas usa?", + "context": "create table table_11148572_1 (mls_cup_winner varchar, mls_supporters_shield_runner_up varchar, PRIMARY KEY (mls_cup_winner))", + "answer": "select mls_cup_winner from table_11148572_1 where mls_supporters_shield_runner_up = \"chivas usa\"" + }, + { + "question": "What was the amount in Staten Island when The Bronx was 1,281?", + "context": "create table table_1108394_6 (staten_island varchar, the_bronx varchar, PRIMARY KEY (staten_island))", + "answer": "select staten_island from table_1108394_6 where the_bronx = \"1,281\"" + }, + { + "question": "Who tied in the highest point scorer when playing against Phoenix?", + "context": "create table table_23274514_4 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23274514_4 where team = \"phoenix\"" + }, + { + "question": "What is the max pressure of the cartridge where the muzzle energy is 201ft\u2022lbf (273 j)?", + "context": "create table table_173103_1 (max_pressure varchar, muzzle_energy varchar, PRIMARY KEY (max_pressure))", + "answer": "select max_pressure from table_173103_1 where muzzle_energy = \"201ft\u2022lbf (273 j)\"" + }, + { + "question": "What are the details of the markets that can be accessed by walk or bus?", + "context": "create table street_markets (market_details varchar, market_id varchar, PRIMARY KEY (market_details)); create table tourist_attractions (tourist_attraction_id varchar, how_to_get_there varchar, PRIMARY KEY (tourist_attraction_id))", + "answer": "select t1.market_details from street_markets as t1 join tourist_attractions as t2 on t1.market_id = t2.tourist_attraction_id where t2.how_to_get_there = \"walk\" or t2.how_to_get_there = \"bus\"" + }, + { + "question": "What is the local name given to the city of Canberra?", + "context": "create table table_1008653_1 (capital___endonym__ varchar, capital___exonym__ varchar, PRIMARY KEY (capital___endonym__))", + "answer": "select capital___endonym__ from table_1008653_1 where capital___exonym__ = \"canberra\"" + }, + { + "question": "Hom many musicians performed in the song \"Flash\"?", + "context": "create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid)); create table band (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t3.title = \"flash\"" + }, + { + "question": "What college did the player who was drafted by Calgary go to?", + "context": "create table table_28059992_6 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_28059992_6 where cfl_team = \"calgary\"" + }, + { + "question": "What was the report in the race where the winning team was Roush Fenway Racing?", + "context": "create table table_2220432_1 (report varchar, team varchar, PRIMARY KEY (report))", + "answer": "select report from table_2220432_1 where team = \"roush fenway racing\"" + }, + { + "question": "Who was the vacator when Shadrach Bond was the successor?", + "context": "create table table_225095_4 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225095_4 where successor = \"shadrach bond\"" + }, + { + "question": "Name the team for chris duhon , nate robinson , david lee (3)", + "context": "create table table_17060277_7 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_17060277_7 where high_assists = \"chris duhon , nate robinson , david lee (3)\"" + }, + { + "question": "What is every value for percentage(2006) with a Polish mother tongue?", + "context": "create table table_189893_1 (percentage__2006_ varchar, mother_tongue varchar, PRIMARY KEY (percentage__2006_))", + "answer": "select percentage__2006_ from table_189893_1 where mother_tongue = \"polish\"" + }, + { + "question": "What was the surface when he played with John Alexander?", + "context": "create table table_26309085_1 (surface varchar, partner varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_26309085_1 where partner = \"john alexander\"" + }, + { + "question": "Who was the young rider classification when Alessandro Petacchi won?", + "context": "create table table_28538368_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_28538368_2 where winner = \"alessandro petacchi\"" + }, + { + "question": "what's the\u00a0sunday s\u014dl (sun)\u00a0with\u00a0friday venus (venus)\u00a0being vernes", + "context": "create table table_1277350_1 (sunday_s\u014dl__sun_ varchar, friday_venus__venus_ varchar, PRIMARY KEY (sunday_s\u014dl__sun_))", + "answer": "select sunday_s\u014dl__sun_ from table_1277350_1 where friday_venus__venus_ = \"vernes\"" + }, + { + "question": "Name the accrediatation for southeast technical institute", + "context": "create table table_2076557_2 (accreditation varchar, school varchar, PRIMARY KEY (accreditation))", + "answer": "select accreditation from table_2076557_2 where school = \"southeast technical institute\"" + }, + { + "question": "Show the ids of all employees who have either destroyed a document or made an authorization to do this.", + "context": "create table documents_to_be_destroyed (destroyed_by_employee_id varchar, destruction_authorised_by_employee_id varchar, PRIMARY KEY (destroyed_by_employee_id))", + "answer": "select destroyed_by_employee_id from documents_to_be_destroyed union select destruction_authorised_by_employee_id from documents_to_be_destroyed" + }, + { + "question": "If the location is Chicago, Illinois, what is the airport name?", + "context": "create table table_18047346_4 (airport_name varchar, location varchar, PRIMARY KEY (airport_name))", + "answer": "select airport_name from table_18047346_4 where location = \"chicago, illinois\"" + }, + { + "question": "What date did the episode air that had a ranking of 17 for cable?", + "context": "create table table_24399615_4 (airdate varchar, cable_rank varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_24399615_4 where cable_rank = \"17\"" + }, + { + "question": "Who were the guests for the episode with an original airdate of december 07?", + "context": "create table table_25691838_12 (guest varchar, original_airdate varchar, PRIMARY KEY (guest))", + "answer": "select guest from table_25691838_12 where original_airdate = \"december 07\"" + }, + { + "question": "What title episode did Paris Barclay direct?", + "context": "create table table_20726262_2 (title varchar, directedby varchar, PRIMARY KEY (title))", + "answer": "select title from table_20726262_2 where directedby = \"paris barclay\"" + }, + { + "question": "Where was the home match against FK Rudar Ugljevik played?", + "context": "create table table_29728596_1 (location varchar, away_team varchar, PRIMARY KEY (location))", + "answer": "select location from table_29728596_1 where away_team = \"fk rudar ugljevik\"" + }, + { + "question": "How many times a year is the Paris 20k road race held?", + "context": "create table table_26166836_3 (month_held varchar, road_race varchar, PRIMARY KEY (month_held))", + "answer": "select count(month_held) from table_26166836_3 where road_race = \"paris 20k\"" + }, + { + "question": "Show the names of aircrafts that are associated with both an airport named \"London Heathrow\" and an airport named \"London Gatwick\"", + "context": "create table airport (airport_id varchar, airport_name varchar, PRIMARY KEY (airport_id)); create table aircraft (aircraft varchar, aircraft_id varchar, PRIMARY KEY (aircraft)); create table airport_aircraft (aircraft_id varchar, airport_id varchar, PRIMARY KEY (aircraft_id))", + "answer": "select t1.aircraft from aircraft as t1 join airport_aircraft as t2 on t1.aircraft_id = t2.aircraft_id join airport as t3 on t2.airport_id = t3.airport_id where t3.airport_name = \"london heathrow\" intersect select t1.aircraft from aircraft as t1 join airport_aircraft as t2 on t1.aircraft_id = t2.aircraft_id join airport as t3 on t2.airport_id = t3.airport_id where t3.airport_name = \"london gatwick\"" + }, + { + "question": "If the gun used is the qf 12 pdr 12 cwt, what is the shell weight?", + "context": "create table table_16439764_1 (shell__lb_ varchar, gun varchar, PRIMARY KEY (shell__lb_))", + "answer": "select shell__lb_ from table_16439764_1 where gun = \"qf 12 pdr 12 cwt\"" + }, + { + "question": "What is the English version of the title Getto Daun?", + "context": "create table table_11839306_2 (english_title varchar, r\u014dmaji_title varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_11839306_2 where r\u014dmaji_title = \"getto daun\"" + }, + { + "question": "How many entrants was yves giraud-cabantous?", + "context": "create table table_21977627_1 (entrant varchar, driver varchar, PRIMARY KEY (entrant))", + "answer": "select count(entrant) from table_21977627_1 where driver = \"yves giraud-cabantous\"" + }, + { + "question": "What are Andrew McNamara's colors?", + "context": "create table table_20095300_1 (colours varchar, jockey varchar, PRIMARY KEY (colours))", + "answer": "select colours from table_20095300_1 where jockey = \"andrew mcnamara\"" + }, + { + "question": "What was the date in which Behtash Fariba left his team?", + "context": "create table table_22297140_3 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_22297140_3 where outgoing_manager = \"behtash fariba\"" + }, + { + "question": "Who is the color commentator when brian engblom is ice level reporters?", + "context": "create table table_22485543_1 (color_commentator_s_ varchar, ice_level_reporters varchar, PRIMARY KEY (color_commentator_s_))", + "answer": "select color_commentator_s_ from table_22485543_1 where ice_level_reporters = \"brian engblom\"" + }, + { + "question": "What was the original title of Run for Money?", + "context": "create table table_18162883_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_18162883_1 where film_title_used_in_nomination = \"run for money\"" + }, + { + "question": "When \u03ba\u03b1\u03b8 are the letters what is the nickname?", + "context": "create table table_28436909_4 (nickname varchar, letters varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_28436909_4 where letters = \"\u03ba\u03b1\u03b8\"" + }, + { + "question": "who are the directors of the episode that had 20.5 millions of north american viewers?", + "context": "create table table_27714573_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27714573_1 where us_viewers__millions_ = \"20.5\"" + }, + { + "question": "How many are the Race 2 points when Race 1 was 12?", + "context": "create table table_23293785_3 (race_2_pts_ varchar, race_1_pts_ varchar, PRIMARY KEY (race_2_pts_))", + "answer": "select race_2_pts_ from table_23293785_3 where race_1_pts_ = 12" + }, + { + "question": "Which languages are offered in the coverage area of klang petaling jaya shah alam?", + "context": "create table table_1837570_1 (language varchar, coverage_area varchar, PRIMARY KEY (language))", + "answer": "select language from table_1837570_1 where coverage_area = \"klang petaling jaya shah alam\"" + }, + { + "question": "What town is Volleyball Sportiv Complex (3 500) located in?", + "context": "create table table_14015965_1 (town varchar, arena__capacity_ varchar, PRIMARY KEY (town))", + "answer": "select town from table_14015965_1 where arena__capacity_ = \"volleyball sportiv complex (3 500)\"" + }, + { + "question": "If second leg is Newell's Old Boys, what name is first leg?", + "context": "create table table_17968229_1 (home__2nd_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select 1 as st_leg from table_17968229_1 where home__2nd_leg_ = \"newell's old boys\"" + }, + { + "question": "When the face value is 42\u00a2, what was the issue's date?", + "context": "create table table_15635768_1 (date_of_issue varchar, face_value varchar, PRIMARY KEY (date_of_issue))", + "answer": "select date_of_issue from table_15635768_1 where face_value = \"42\u00a2\"" + }, + { + "question": "What was the lowest home attendance for the southern derby?", + "context": "create table table_14302582_1 (home_attendance integer, competition varchar, PRIMARY KEY (home_attendance))", + "answer": "select min(home_attendance) from table_14302582_1 where competition = \"southern derby\"" + }, + { + "question": "What stadium does FK Jedinstvo play in?", + "context": "create table table_28668784_1 (stadium varchar, home_team varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_28668784_1 where home_team = \"fk jedinstvo\"" + }, + { + "question": "If the district ID is 74907, what is the name of the district?", + "context": "create table table_22665117_1 (district_name varchar, dist_id varchar, PRIMARY KEY (district_name))", + "answer": "select district_name from table_22665117_1 where dist_id = 74907" + }, + { + "question": "How many members were added at the nchc (men only) conference?", + "context": "create table table_27671835_3 (members_added varchar, conference varchar, PRIMARY KEY (members_added))", + "answer": "select members_added from table_27671835_3 where conference = \"nchc (men only)\"" + }, + { + "question": "What group had 29 studio albums?", + "context": "create table table_19439814_1 (girl_group varchar, studio_albums varchar, PRIMARY KEY (girl_group))", + "answer": "select girl_group from table_19439814_1 where studio_albums = 29" + }, + { + "question": "Name the southern lakota for morning", + "context": "create table table_1499791_2 (southern_lakota varchar, english_gloss varchar, PRIMARY KEY (southern_lakota))", + "answer": "select southern_lakota from table_1499791_2 where english_gloss = \"morning\"" + }, + { + "question": "Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda?", + "context": "create table table_1137694_3 (grand_prix varchar, winning_constructor varchar, PRIMARY KEY (grand_prix))", + "answer": "select grand_prix from table_1137694_3 where winning_constructor = \"jordan - mugen-honda\"" + }, + { + "question": "Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?", + "context": "create table table_1341577_43 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1341577_43 where candidates = \"marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%\"" + }, + { + "question": "Name the decease spouse for carol deluise", + "context": "create table table_24143253_1 (deceased_spouse varchar, name varchar, PRIMARY KEY (deceased_spouse))", + "answer": "select deceased_spouse from table_24143253_1 where name = \"carol deluise\"" + }, + { + "question": "What is the sub-parish of the church located in Fortun?", + "context": "create table table_178398_1 (sub_parish__sogn_ varchar, location_of_the_church varchar, PRIMARY KEY (sub_parish__sogn_))", + "answer": "select sub_parish__sogn_ from table_178398_1 where location_of_the_church = \"fortun\"" + }, + { + "question": "what was the name of the team opponent to elfsborg", + "context": "create table table_29261823_10 (team varchar, opponent varchar, PRIMARY KEY (team))", + "answer": "select team from table_29261823_10 where opponent = \"elfsborg\"" + }, + { + "question": "Name the bed 2010 for 6.5%", + "context": "create table table_25256368_1 (february_2010 varchar, june_2010 varchar, PRIMARY KEY (february_2010))", + "answer": "select february_2010 from table_25256368_1 where june_2010 = \"6.5%\"" + }, + { + "question": "How many miles were driven with the average speed at 116.81?", + "context": "create table table_2175858_1 (miles__km_ varchar, average_speed__mph_ varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_2175858_1 where average_speed__mph_ = \"116.81\"" + }, + { + "question": "in the detroit team who made the high points", + "context": "create table table_30049462_5 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_30049462_5 where team = \"detroit\"" + }, + { + "question": "When yakup \u015fener is the athlete what is the round of 32?", + "context": "create table table_27294107_11 (round_of_32 varchar, athlete varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_27294107_11 where athlete = \"yakup \u015fener\"" + }, + { + "question": "What was segment C when segment D was fluorescent tubes?", + "context": "create table table_15187735_1 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_1 where segment_d = \"fluorescent tubes\"" + }, + { + "question": "For each trip, return its ending station's installation date.", + "context": "create table station (installation_date varchar, id varchar, PRIMARY KEY (installation_date)); create table trip (id varchar, end_station_id varchar, PRIMARY KEY (id))", + "answer": "select t1.id, t2.installation_date from trip as t1 join station as t2 on t1.end_station_id = t2.id" + }, + { + "question": "Find the name of organizations whose names contain \"Party\".", + "context": "create table organizations (organization_name varchar, PRIMARY KEY (organization_name))", + "answer": "select organization_name from organizations where organization_name like \"%party%\"" + }, + { + "question": "When tus rosenberg is the oberpfalz what is the oberbayern b?", + "context": "create table table_23224961_1 (oberbayern_b varchar, oberpfalz varchar, PRIMARY KEY (oberbayern_b))", + "answer": "select oberbayern_b from table_23224961_1 where oberpfalz = \"tus rosenberg\"" + }, + { + "question": "How many outcome have a score of 7\u20136 (9\u20137) , 6\u20133?", + "context": "create table table_22834834_3 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select count(outcome) from table_22834834_3 where score_in_the_final = \"7\u20136 (9\u20137) , 6\u20133\"" + }, + { + "question": "How many unique labels are there for albums?", + "context": "create table albums (label varchar, PRIMARY KEY (label))", + "answer": "select count(distinct label) from albums" + }, + { + "question": "Which conference is Belmont in?", + "context": "create table table_16295365_1 (conference varchar, school varchar, PRIMARY KEY (conference))", + "answer": "select conference from table_16295365_1 where school = \"belmont\"" + }, + { + "question": "What episode did John Rogers direct?", + "context": "create table table_20704243_6 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_20704243_6 where directed_by = \"john rogers\"" + }, + { + "question": "what's the\u00a0thursday\u00a0time with\u00a0location\u00a0being hawthorne", + "context": "create table table_11019212_1 (thursday varchar, location varchar, PRIMARY KEY (thursday))", + "answer": "select thursday from table_11019212_1 where location = \"hawthorne\"" + }, + { + "question": "Who was the outgoing manager for Aberdeen?", + "context": "create table table_16075179_6 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_16075179_6 where team = \"aberdeen\"" + }, + { + "question": "Which candidates were in the election where Frank W. Boykin was an incumbent?", + "context": "create table table_1341973_3 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341973_3 where incumbent = \"frank w. boykin\"" + }, + { + "question": "Who got second place when the winners were rafa\u0142 mroczek & aneta piotrowska?", + "context": "create table table_15988037_4 (second_place varchar, winner varchar, PRIMARY KEY (second_place))", + "answer": "select second_place from table_15988037_4 where winner = \"rafa\u0142 mroczek & aneta piotrowska\"" + }, + { + "question": "Which Market/Rank is associated with WCRN calls?", + "context": "create table table_10333757_1 (market_rank varchar, calls varchar, PRIMARY KEY (market_rank))", + "answer": "select market_rank from table_10333757_1 where calls = \"wcrn\"" + }, + { + "question": "How many pressure figures are given for the .380 acp cartridge?", + "context": "create table table_173103_1 (max_pressure varchar, cartridge varchar, PRIMARY KEY (max_pressure))", + "answer": "select count(max_pressure) from table_173103_1 where cartridge = \".380 acp\"" + }, + { + "question": "Name the team that has a song writer named larry spokes.", + "context": "create table table_28243323_1 (club_name varchar, writer_composer varchar, PRIMARY KEY (club_name))", + "answer": "select club_name from table_28243323_1 where writer_composer = \"larry spokes\"" + }, + { + "question": "What is the genre for the hot fm station?", + "context": "create table table_1601792_3 (genre varchar, station varchar, PRIMARY KEY (genre))", + "answer": "select genre from table_1601792_3 where station = \"hot fm\"" + }, + { + "question": "What is the average amount due for all the payments?", + "context": "create table payments (amount_due integer, PRIMARY KEY (amount_due))", + "answer": "select avg(amount_due) from payments" + }, + { + "question": "Show all official native languages that contain the word \"English\".", + "context": "create table country (official_native_language varchar, PRIMARY KEY (official_native_language))", + "answer": "select official_native_language from country where official_native_language like \"%english%\"" + }, + { + "question": "Who was the winning driver at Okayama International Circuit?", + "context": "create table table_16670746_2 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_16670746_2 where circuit = \"okayama international circuit\"" + }, + { + "question": "Find the number of professors in accounting department.", + "context": "create table professor (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_code varchar, PRIMARY KEY (dept_code))", + "answer": "select count(*) from professor as t1 join department as t2 on t1.dept_code = t2.dept_code where dept_name = \"accounting\"" + }, + { + "question": "Who directed the show that had a TV broadcast of S07E04?", + "context": "create table table_16090262_1 (directed_by varchar, tv_broadcast varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_16090262_1 where tv_broadcast = \"s07e04\"" + }, + { + "question": "What is the title of the episode directed by Charles Beeson?", + "context": "create table table_24649082_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_24649082_1 where directed_by = \"charles beeson\"" + }, + { + "question": "Name the change 2009 to 2010 where international tourist arrivals is 9.4 million", + "context": "create table table_14752049_3 (change__2009_to_2010_ varchar, international_tourist_arrivals__2011_ varchar, PRIMARY KEY (change__2009_to_2010_))", + "answer": "select change__2009_to_2010_ from table_14752049_3 where international_tourist_arrivals__2011_ = \"9.4 million\"" + }, + { + "question": "What's the type of the school whose students' name is spirits?", + "context": "create table table_1973842_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_1973842_1 where nickname = \"spirits\"" + }, + { + "question": "What is the winning span of the name martin kaymer?", + "context": "create table table_1953516_1 (winning_span varchar, name varchar, PRIMARY KEY (winning_span))", + "answer": "select winning_span from table_1953516_1 where name = \"martin kaymer\"" + }, + { + "question": "How many seats are contested for independents?", + "context": "create table table_20728138_1 (seats_contested varchar, party varchar, PRIMARY KEY (seats_contested))", + "answer": "select seats_contested from table_20728138_1 where party = \"independents\"" + }, + { + "question": "What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name?", + "context": "create table table_17964087_2 (chinese_name varchar, romanised_name varchar, PRIMARY KEY (chinese_name))", + "answer": "select chinese_name from table_17964087_2 where romanised_name = \"chan chi-yuen, paul\"" + }, + { + "question": "What is the institution with the nickname seahawks?", + "context": "create table table_261927_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261927_1 where nickname = \"seahawks\"" + }, + { + "question": "How may assists per game have 7.7 points per game?", + "context": "create table table_2387461_1 (assists_per_game varchar, points_per_game varchar, PRIMARY KEY (assists_per_game))", + "answer": "select assists_per_game from table_2387461_1 where points_per_game = \"7.7\"" + }, + { + "question": "what is the lowest qualifying rank?", + "context": "create table table_13114949_3 (qualifying_rank integer, PRIMARY KEY (qualifying_rank))", + "answer": "select min(qualifying_rank) from table_13114949_3" + }, + { + "question": "What is the name origin of Nike Fossae?", + "context": "create table table_16799784_11 (name varchar, PRIMARY KEY (name))", + "answer": "select name as origin from table_16799784_11 where name = \"nike fossae\"" + }, + { + "question": "How many parties are there in races involving Dawson Mathis?", + "context": "create table table_1341663_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341663_11 where incumbent = \"dawson mathis\"" + }, + { + "question": "What are all values for male population in 2001 when sex ratio in 1991 is 896?", + "context": "create table table_19589113_5 (male_population_2001 varchar, sex_ratio_\u2021_1991 varchar, PRIMARY KEY (male_population_2001))", + "answer": "select male_population_2001 from table_19589113_5 where sex_ratio_\u2021_1991 = 896" + }, + { + "question": "Who had the high point total when dee brown (5) had the high assist total?", + "context": "create table table_13619105_4 (high_points varchar, high_assists varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_13619105_4 where high_assists = \"dee brown (5)\"" + }, + { + "question": "Name the coronie for marowijne being 6.8%", + "context": "create table table_16886076_1 (coronie varchar, marowijne varchar, PRIMARY KEY (coronie))", + "answer": "select coronie from table_16886076_1 where marowijne = \"6.8%\"" + }, + { + "question": "Show names for all employees who have certificates on both Boeing 737-800 and Airbus A340-300.", + "context": "create table employee (name varchar, eid varchar, PRIMARY KEY (name)); create table certificate (eid varchar, aid varchar, PRIMARY KEY (eid)); create table aircraft (aid varchar, name varchar, PRIMARY KEY (aid))", + "answer": "select t1.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t3.name = \"boeing 737-800\" intersect select t1.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t3.name = \"airbus a340-300\"" + }, + { + "question": "What is the lowest overall amount of shutouts?", + "context": "create table table_29743928_4 (shutouts integer, PRIMARY KEY (shutouts))", + "answer": "select min(shutouts) from table_29743928_4" + }, + { + "question": "Name the santee sisseton for morning", + "context": "create table table_1499791_2 (santee_sisseton varchar, english_gloss varchar, PRIMARY KEY (santee_sisseton))", + "answer": "select santee_sisseton from table_1499791_2 where english_gloss = \"morning\"" + }, + { + "question": "What are all the distinct asset models?", + "context": "create table assets (asset_model varchar, PRIMARY KEY (asset_model))", + "answer": "select distinct asset_model from assets" + }, + { + "question": "What is the primary conference of the school that has the lowest acc percent score in the competition?", + "context": "create table basketball_match (school_id varchar, acc_percent varchar, PRIMARY KEY (school_id)); create table university (primary_conference varchar, school_id varchar, PRIMARY KEY (primary_conference))", + "answer": "select t1.primary_conference from university as t1 join basketball_match as t2 on t1.school_id = t2.school_id order by t2.acc_percent limit 1" + }, + { + "question": "what's the\u00a0date of birth\u00a0with\u00a0end of term\u00a0being 2april1969", + "context": "create table table_12134383_1 (date_of_birth varchar, end_of_term varchar, PRIMARY KEY (date_of_birth))", + "answer": "select date_of_birth from table_12134383_1 where end_of_term = \"2april1969\"" + }, + { + "question": "How many millions of viewers are listed when the share is 10.8?", + "context": "create table table_29574579_1 (uk_viewers__million_ varchar, share___percentage_ varchar, PRIMARY KEY (uk_viewers__million_))", + "answer": "select uk_viewers__million_ from table_29574579_1 where share___percentage_ = \"10.8\"" + }, + { + "question": "What is main presenters of La Granja?", + "context": "create table table_1053802_1 (main_presenters varchar, local_title varchar, PRIMARY KEY (main_presenters))", + "answer": "select main_presenters from table_1053802_1 where local_title = \"la granja\"" + }, + { + "question": "What is the English name of g\u00f9sh\u01d0 xi\u00e0n?", + "context": "create table table_2847477_2 (english_name varchar, pinyin varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_2847477_2 where pinyin = \"g\u00f9sh\u01d0 xi\u00e0n\"" + }, + { + "question": "A nucleus that is blue/black will specifically stain what?", + "context": "create table table_13570_1 (specifically_stains varchar, nucleus varchar, PRIMARY KEY (specifically_stains))", + "answer": "select specifically_stains from table_13570_1 where nucleus = \"blue/black\"" + }, + { + "question": "Show the ids of the investors who have at least two transactions.", + "context": "create table transactions (investor_id varchar, PRIMARY KEY (investor_id)); create table investors (investor_id varchar, PRIMARY KEY (investor_id))", + "answer": "select t2.investor_id from investors as t1 join transactions as t2 on t1.investor_id = t2.investor_id group by t2.investor_id having count(*) >= 2" + }, + { + "question": "Can you tell me the manufacturer behind Race Hill Farm Team?", + "context": "create table table_2267465_1 (manufacturer varchar, team varchar, PRIMARY KEY (manufacturer))", + "answer": "select manufacturer from table_2267465_1 where team = \"race hill farm team\"" + }, + { + "question": "Who was the champion boxer?", + "context": "create table table_14345690_2 (celebrity varchar, famous_for varchar, PRIMARY KEY (celebrity))", + "answer": "select celebrity from table_14345690_2 where famous_for = \"champion boxer\"" + }, + { + "question": "What was the outcome when the final score was 7\u20136(9), 7\u20136(1)?", + "context": "create table table_2199290_2 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_2199290_2 where score_in_the_final = \"7\u20136(9), 7\u20136(1)\"" + }, + { + "question": "Which part fault requires the most number of skills to fix? List part id and name.", + "context": "create table part_faults (part_id varchar, part_fault_id varchar, PRIMARY KEY (part_id)); create table skills_required_to_fix (part_fault_id varchar, PRIMARY KEY (part_fault_id)); create table parts (part_id varchar, part_name varchar, PRIMARY KEY (part_id))", + "answer": "select t1.part_id, t1.part_name from parts as t1 join part_faults as t2 on t1.part_id = t2.part_id join skills_required_to_fix as t3 on t2.part_fault_id = t3.part_fault_id group by t1.part_id order by count(*) desc limit 1" + }, + { + "question": "what's the\u00a0election date\u00a0where\u00a0electorate\u00a0is omata", + "context": "create table table_1193568_1 (election_date varchar, electorate varchar, PRIMARY KEY (election_date))", + "answer": "select election_date from table_1193568_1 where electorate = \"omata\"" + }, + { + "question": "What are all the distinct details of the customers?", + "context": "create table customers (customer_details varchar, PRIMARY KEY (customer_details))", + "answer": "select distinct customer_details from customers" + }, + { + "question": "If the specimen weight/size is 1000 g / 8.79 cm, what is the calculated activity?", + "context": "create table table_26211058_1 (calculated_activity___bq__ varchar, specimen_weight_size varchar, PRIMARY KEY (calculated_activity___bq__))", + "answer": "select count(calculated_activity___bq__) from table_26211058_1 where specimen_weight_size = \"1000 g / 8.79 cm\"" + }, + { + "question": "Who was the race 1 winner at the race held at Winton Motor Raceway?", + "context": "create table table_22905641_2 (race_1_winner varchar, circuit varchar, PRIMARY KEY (race_1_winner))", + "answer": "select race_1_winner from table_22905641_2 where circuit = \"winton motor raceway\"" + }, + { + "question": "Who are the outgoing head coaches whose manner of departure is Gardening Leave 1?", + "context": "create table table_29171931_3 (outgoing_head_coach varchar, manner_of_departure varchar, PRIMARY KEY (outgoing_head_coach))", + "answer": "select outgoing_head_coach from table_29171931_3 where manner_of_departure = \"gardening leave 1\"" + }, + { + "question": "List in alphabetic order all different amenities.", + "context": "create table dorm_amenity (amenity_name varchar, PRIMARY KEY (amenity_name))", + "answer": "select amenity_name from dorm_amenity order by amenity_name" + }, + { + "question": "What's the NO of the standard with HC of 1.23 g/kWh?", + "context": "create table table_2780146_6 (no_x__g_kwh_ varchar, hc__g_kwh_ varchar, PRIMARY KEY (no_x__g_kwh_))", + "answer": "select no_x__g_kwh_ from table_2780146_6 where hc__g_kwh_ = \"1.23\"" + }, + { + "question": "What is the percentage of registered voters in which the d-r spread is +14.3%?", + "context": "create table table_27003223_4 (registered_voters varchar, d_r_spread varchar, PRIMARY KEY (registered_voters))", + "answer": "select registered_voters from table_27003223_4 where d_r_spread = \"+14.3%\"" + }, + { + "question": "how many vehicles where top 13 time is 1:18.72", + "context": "create table table_20090682_4 (vehicle varchar, top_13_time varchar, PRIMARY KEY (vehicle))", + "answer": "select count(vehicle) from table_20090682_4 where top_13_time = \"1:18.72\"" + }, + { + "question": "Which junior team is associated with an NHL pick by the Buffalo Sabres?", + "context": "create table table_2850912_4 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2850912_4 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "Retrieve all the last names of authors in alphabetical order.", + "context": "create table authors (lname varchar, PRIMARY KEY (lname))", + "answer": "select lname from authors order by lname" + }, + { + "question": "How many values for Macedonian correspond to Slovianski value of Veliki?", + "context": "create table table_25008327_8 (macedonian varchar, slovianski varchar, PRIMARY KEY (macedonian))", + "answer": "select count(macedonian) from table_25008327_8 where slovianski = \"veliki\"" + }, + { + "question": "What is the team when the high points were by wesley johnson (20)?", + "context": "create table table_27756314_10 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_27756314_10 where high_points = \"wesley johnson (20)\"" + }, + { + "question": "Which parishes have the highworth railroad?", + "context": "create table table_16226584_1 (parish varchar, name varchar, PRIMARY KEY (parish))", + "answer": "select parish from table_16226584_1 where name = \"highworth\"" + }, + { + "question": "How many winners have a runner-up of A. Karthikeyan?", + "context": "create table table_22753439_1 (winner varchar, runner_up_a varchar, PRIMARY KEY (winner))", + "answer": "select count(winner) from table_22753439_1 where runner_up_a = \"a. karthikeyan\"" + }, + { + "question": "What is the implementation when the netflow version is v5, v8, v9, ipfix?", + "context": "create table table_1206114_2 (implementation varchar, netflow_version varchar, PRIMARY KEY (implementation))", + "answer": "select implementation from table_1206114_2 where netflow_version = \"v5, v8, v9, ipfix\"" + }, + { + "question": "Who had the high rebounds when the high assists were from J. Johnson (7)?", + "context": "create table table_11961582_10 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_11961582_10 where high_assists = \"j. johnson (7)\"" + }, + { + "question": "How many students play video games?", + "context": "create table plays_games (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(distinct stuid) from plays_games" + }, + { + "question": "What was the capacity percentage when attendance was 71080?", + "context": "create table table_28884858_2 (capacity_percentage varchar, average_attendance varchar, PRIMARY KEY (capacity_percentage))", + "answer": "select capacity_percentage from table_28884858_2 where average_attendance = 71080" + }, + { + "question": "How many baronies is Maulnagrough a part of?", + "context": "create table table_30120761_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select count(barony) from table_30120761_1 where townland = \"maulnagrough\"" + }, + { + "question": "What is the name of the player who played in 2009 only?", + "context": "create table table_12321870_32 (player_name varchar, period varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_12321870_32 where period = \"2009\"" + }, + { + "question": "Find the names and descriptions of courses that belong to the subject named \"Computer Science\".", + "context": "create table courses (course_name varchar, course_description varchar, subject_id varchar, PRIMARY KEY (course_name)); create table subjects (subject_id varchar, subject_name varchar, PRIMARY KEY (subject_id))", + "answer": "select t1.course_name, t1.course_description from courses as t1 join subjects as t2 on t1.subject_id = t2.subject_id where t2.subject_name = \"computer science\"" + }, + { + "question": "List every album whose title starts with A in alphabetical order.", + "context": "create table albums (title varchar, PRIMARY KEY (title))", + "answer": "select title from albums where title like 'a%' order by title" + }, + { + "question": "How many audition city's are there with an episode air date of June 24, 2010?", + "context": "create table table_27615445_1 (audition_city varchar, episode_air_date varchar, PRIMARY KEY (audition_city))", + "answer": "select count(audition_city) from table_27615445_1 where episode_air_date = \"june 24, 2010\"" + }, + { + "question": "who wrote with\u00a0original air date\u00a0being september23,1995", + "context": "create table table_14637853_3 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_14637853_3 where original_air_date = \"september23,1995\"" + }, + { + "question": "What is the institution with the nickname engineers?", + "context": "create table table_261927_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_261927_1 where nickname = \"engineers\"" + }, + { + "question": "Name the scientific linux release when delay is 28d", + "context": "create table table_1500146_1 (scientific_linux_release varchar, delay varchar, PRIMARY KEY (scientific_linux_release))", + "answer": "select scientific_linux_release from table_1500146_1 where delay = \"28d\"" + }, + { + "question": "Who was the centerfold model when the issue's pictorial was amanda beard, reby sky , girls of montauk ?", + "context": "create table table_1566852_8 (centerfold_model varchar, pictorials varchar, PRIMARY KEY (centerfold_model))", + "answer": "select centerfold_model from table_1566852_8 where pictorials = \"amanda beard, reby sky , girls of montauk\"" + }, + { + "question": "Which authority has a rocket launch called rehbar-5?", + "context": "create table table_11869952_1 (derivatives varchar, rocket_launch varchar, PRIMARY KEY (derivatives))", + "answer": "select count(derivatives) from table_11869952_1 where rocket_launch = \"rehbar-5\"" + }, + { + "question": "What percentage is listed in column r1b1a2 (r-m269) for the 77.8% r1b1c (r-v88)?", + "context": "create table table_21481509_4 (r1b1a2__r_m269_ varchar, r1b1c__r_v88_ varchar, PRIMARY KEY (r1b1a2__r_m269_))", + "answer": "select r1b1a2__r_m269_ from table_21481509_4 where r1b1c__r_v88_ = \"77.8%\"" + }, + { + "question": "Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?", + "context": "create table table_29087004_3 (written_by varchar, directed_by varchar, united_states_original_airdate varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29087004_3 where directed_by = \"greg sullivan\" and united_states_original_airdate = \"july 21, 2012\"" + }, + { + "question": "When wacker burghausen is the oberbayern a what is the schwaben?", + "context": "create table table_23224961_1 (schwaben varchar, oberbayern_a varchar, PRIMARY KEY (schwaben))", + "answer": "select schwaben from table_23224961_1 where oberbayern_a = \"wacker burghausen\"" + }, + { + "question": "How many games are played for all football games by students on scholarship?", + "context": "create table sportsinfo (gamesplayed integer, sportname varchar, onscholarship varchar, PRIMARY KEY (gamesplayed))", + "answer": "select sum(gamesplayed) from sportsinfo where sportname = \"football\" and onscholarship = 'y'" + }, + { + "question": "What activities do we have?", + "context": "create table activity (activity_name varchar, PRIMARY KEY (activity_name))", + "answer": "select activity_name from activity" + }, + { + "question": "How many inputs are there in the 'closure for signature' tab under the field 'sea (revised)'?", + "context": "create table table_2001348_1 (closure_for_signature varchar, field varchar, PRIMARY KEY (closure_for_signature))", + "answer": "select count(closure_for_signature) from table_2001348_1 where field = \"sea (revised)\"" + }, + { + "question": "What agency does Anderson Clayton Anderson work for?", + "context": "create table table_14125006_1 (agency varchar, astronaut varchar, PRIMARY KEY (agency))", + "answer": "select agency from table_14125006_1 where astronaut = \"anderson clayton anderson\"" + }, + { + "question": "Name the institution for statesmen", + "context": "create table table_1974482_1 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1974482_1 where nickname = \"statesmen\"" + }, + { + "question": "Which team has Ali Daei as head coach?", + "context": "create table table_27383390_2 (team varchar, head_coach varchar, PRIMARY KEY (team))", + "answer": "select team from table_27383390_2 where head_coach = \"ali daei\"" + }, + { + "question": "What is the score in the 6 atlas stones event of the player who got 2 (6 in 30.89s) in the 3 dead lift event?", + "context": "create table table_24302700_6 (event_6_atlas_stones varchar, event_3_dead_lift varchar, PRIMARY KEY (event_6_atlas_stones))", + "answer": "select count(event_6_atlas_stones) from table_24302700_6 where event_3_dead_lift = \"2 (6 in 30.89s)\"" + }, + { + "question": "What was the actor's name for best debut?", + "context": "create table table_10236830_1 (actors_name varchar, nomination varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_1 where nomination = \"best debut\"" + }, + { + "question": "How many viewers saw the episode written by kevin biegel & bill lawrence?", + "context": "create table table_27987623_1 (us_viewers__in_million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__in_million_))", + "answer": "select us_viewers__in_million_ from table_27987623_1 where written_by = \"kevin biegel & bill lawrence\"" + }, + { + "question": "What are all the AAAA classes in the schools years 2004-05?", + "context": "create table table_14603212_5 (class_aaaa varchar, school_year varchar, PRIMARY KEY (class_aaaa))", + "answer": "select class_aaaa from table_14603212_5 where school_year = \"2004-05\"" + }, + { + "question": "What is the least top division titles?", + "context": "create table table_11250_4 (top_division_titles integer, PRIMARY KEY (top_division_titles))", + "answer": "select min(top_division_titles) from table_11250_4" + }, + { + "question": "Find the number of rooms that do not have any reservation.", + "context": "create table rooms (roomid varchar, room varchar, PRIMARY KEY (roomid)); create table reservations (roomid varchar, room varchar, PRIMARY KEY (roomid))", + "answer": "select count(*) from rooms where not roomid in (select distinct room from reservations)" + }, + { + "question": "Name the number for service dates for hoosier energy for petersburg", + "context": "create table table_23958917_1 (in_service_dates varchar, owner_s___2009_ varchar, location varchar, PRIMARY KEY (in_service_dates))", + "answer": "select count(in_service_dates) from table_23958917_1 where owner_s___2009_ = \"hoosier energy\" and location = \"petersburg\"" + }, + { + "question": "What is the unemployment rate in those places where the market income per capita is $16,981?", + "context": "create table table_22815568_7 (unemployment_rate varchar, market_income_per_capita varchar, PRIMARY KEY (unemployment_rate))", + "answer": "select count(unemployment_rate) from table_22815568_7 where market_income_per_capita = \"$16,981\"" + }, + { + "question": "Who directed the episode where u.s. viewers (million) is 12.90?", + "context": "create table table_10701133_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_10701133_1 where us_viewers__million_ = \"12.90\"" + }, + { + "question": "Where did the team play the Detroit Lions?", + "context": "create table table_14984078_1 (game_site varchar, opponent varchar, PRIMARY KEY (game_site))", + "answer": "select game_site from table_14984078_1 where opponent = \"detroit lions\"" + }, + { + "question": "What team had a race time of 2:53:57?", + "context": "create table table_2268216_1 (team varchar, race_time varchar, PRIMARY KEY (team))", + "answer": "select team from table_2268216_1 where race_time = \"2:53:57\"" + }, + { + "question": "What was the minimum score for r2?", + "context": "create table table_18812411_3 (r2 integer, PRIMARY KEY (r2))", + "answer": "select min(r2) from table_18812411_3" + }, + { + "question": "When they played at the Bankatlantic Center, what was their record?", + "context": "create table table_17360840_5 (record varchar, location varchar, PRIMARY KEY (record))", + "answer": "select record from table_17360840_5 where location = \"bankatlantic center\"" + }, + { + "question": "When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?", + "context": "create table table_24620684_2 (us_national_average_electric_mix varchar, dirty_electric_grid_rocky_mountains__denver_ varchar, PRIMARY KEY (us_national_average_electric_mix))", + "answer": "select us_national_average_electric_mix from table_24620684_2 where dirty_electric_grid_rocky_mountains__denver_ = \"380 g/mi (236 g/km)\"" + }, + { + "question": "Name the primary conference for st. bonaventure university", + "context": "create table table_16383772_1 (primary_conference varchar, school varchar, PRIMARY KEY (primary_conference))", + "answer": "select primary_conference from table_16383772_1 where school = \"st. bonaventure university\"" + }, + { + "question": "Name the most ending with for peyalvar", + "context": "create table table_1852650_1 (ending_with integer, sung_by varchar, PRIMARY KEY (ending_with))", + "answer": "select max(ending_with) from table_1852650_1 where sung_by = \"peyalvar\"" + }, + { + "question": "List the names of teachers who have not been arranged to teach courses.", + "context": "create table course_arrange (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name))", + "answer": "select name from teacher where not teacher_id in (select teacher_id from course_arrange)" + }, + { + "question": "Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner?", + "context": "create table table_23157997_13 (youth_classification varchar, mountains_classification varchar, winner varchar, PRIMARY KEY (youth_classification))", + "answer": "select youth_classification from table_23157997_13 where mountains_classification = \"kenneth hanson\" and winner = \"lucas sebastian haedo\"" + }, + { + "question": "what's the\u00a0economics score\u00a0with\u00a0justice\u00a0being 90.8", + "context": "create table table_145439_1 (economics varchar, justice varchar, PRIMARY KEY (economics))", + "answer": "select economics from table_145439_1 where justice = \"90.8\"" + }, + { + "question": "When \u00a3337,000 is \u00a3 saved what is the percentage of electricity reduction?", + "context": "create table table_29538735_1 (_percentage_electricity_reduction varchar, \u00a3_saved varchar, PRIMARY KEY (_percentage_electricity_reduction))", + "answer": "select _percentage_electricity_reduction from table_29538735_1 where \u00a3_saved = \"\u00a3337,000\"" + }, + { + "question": "Show the names of the drivers without a school bus.", + "context": "create table school_bus (name varchar, driver_id varchar, PRIMARY KEY (name)); create table driver (name varchar, driver_id varchar, PRIMARY KEY (name))", + "answer": "select name from driver where not driver_id in (select driver_id from school_bus)" + }, + { + "question": "Show different parties of people along with the number of people in each party.", + "context": "create table people (party varchar, PRIMARY KEY (party))", + "answer": "select party, count(*) from people group by party" + }, + { + "question": "What is the hometown of the contestant whose background is as a financial consultant?", + "context": "create table table_19810459_1 (hometown varchar, background varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_19810459_1 where background = \"financial consultant\"" + }, + { + "question": "What is the IDOE Profile in North Manchester?", + "context": "create table table_1984697_85 (idoe_profile varchar, city___town varchar, PRIMARY KEY (idoe_profile))", + "answer": "select idoe_profile from table_1984697_85 where city___town = \"north manchester\"" + }, + { + "question": "What is the traditional form for \u6c38\u57ce\u5e02?", + "context": "create table table_2135222_2 (traditional varchar, simplified varchar, PRIMARY KEY (traditional))", + "answer": "select traditional from table_2135222_2 where simplified = \"\u6c38\u57ce\u5e02\"" + }, + { + "question": "Who were the original artist(s) when jack stamp arranged?", + "context": "create table table_28715942_2 (original_artist varchar, arranger_s_ varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_28715942_2 where arranger_s_ = \"jack stamp\"" + }, + { + "question": "Show the names of high schoolers who have at least 3 friends.", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select t2.name from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 3" + }, + { + "question": "What is the name of the circuit in which the race name is ii danish grand prix?", + "context": "create table table_1140105_6 (circuit varchar, race_name varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_1140105_6 where race_name = \"ii danish grand prix\"" + }, + { + "question": "What is the validation for iin ranges 5610, 560221-560225?", + "context": "create table table_15905399_1 (validation varchar, iin_ranges varchar, PRIMARY KEY (validation))", + "answer": "select validation from table_15905399_1 where iin_ranges = \"5610, 560221-560225\"" + }, + { + "question": "What's the l1 cache of the model with sspec number sl2z3, sl28q (mya0)?", + "context": "create table table_24096813_15 (l1_cache varchar, sspec_number varchar, PRIMARY KEY (l1_cache))", + "answer": "select l1_cache from table_24096813_15 where sspec_number = \"sl2z3, sl28q (mya0)\"" + }, + { + "question": "What is the original air date of the episode written by David Zuckerman?", + "context": "create table table_23242958_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23242958_1 where written_by = \"david zuckerman\"" + }, + { + "question": "how many shire in the land of area in km 2 is 27.17", + "context": "create table table_17251764_1 (shire varchar, area_in_km_2 varchar, PRIMARY KEY (shire))", + "answer": "select count(shire) from table_17251764_1 where area_in_km_2 = \"27.17\"" + }, + { + "question": "What is the detail of the location UK Gallery?", + "context": "create table locations (other_details varchar, location_name varchar, PRIMARY KEY (other_details))", + "answer": "select other_details from locations where location_name = \"uk gallery\"" + }, + { + "question": "What is the last stable version where the h.264 is 3.0 and vp9 (webm) is no.", + "context": "create table table_26099252_1 (latest_stable_release varchar, vp9___webm__ varchar, h264 varchar, PRIMARY KEY (latest_stable_release))", + "answer": "select latest_stable_release from table_26099252_1 where vp9___webm__ = \"no\" and h264 = \"3.0\"" + }, + { + "question": "What is the percentage yield for a DPMO of 3.4?", + "context": "create table table_222448_1 (percentage_yield varchar, dpmo varchar, PRIMARY KEY (percentage_yield))", + "answer": "select percentage_yield from table_222448_1 where dpmo = \"3.4\"" + }, + { + "question": "What is the Cyrillic name for Novi Vladimirovac?", + "context": "create table table_2562572_56 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_56 where settlement = \"novi vladimirovac\"" + }, + { + "question": "What is the exited day where the celebrity is vic reeves?", + "context": "create table table_14345690_5 (exited varchar, celebrity varchar, PRIMARY KEY (exited))", + "answer": "select exited from table_14345690_5 where celebrity = \"vic reeves\"" + }, + { + "question": "Name the category for cab size crew and super tanker", + "context": "create table table_2155350_2 (category varchar, cab_size varchar, sub_category varchar, PRIMARY KEY (category))", + "answer": "select category from table_2155350_2 where cab_size = \"crew\" and sub_category = \"super tanker\"" + }, + { + "question": "When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner?", + "context": "create table table_30062172_3 (gt4_winner varchar, circuit varchar, gt3_winner varchar, PRIMARY KEY (gt4_winner))", + "answer": "select gt4_winner from table_30062172_3 where circuit = \"donington park\" and gt3_winner = \"charles bateman michael lyons\"" + }, + { + "question": "When 13,895 (27.3) is the percentage against what is the toll poll percentage?", + "context": "create table table_20683381_3 (total_poll___percentage_ varchar, against___percentage_ varchar, PRIMARY KEY (total_poll___percentage_))", + "answer": "select total_poll___percentage_ from table_20683381_3 where against___percentage_ = \"13,895 (27.3)\"" + }, + { + "question": "How many places featured the DXCL Callsign?", + "context": "create table table_12547903_3 (location varchar, callsign varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_12547903_3 where callsign = \"dxcl\"" + }, + { + "question": "What film earmed p3.2 million on December 25?", + "context": "create table table_29217650_1 (movies varchar, december_25 varchar, PRIMARY KEY (movies))", + "answer": "select movies from table_29217650_1 where december_25 = \"p3.2 million\"" + }, + { + "question": "What is the maturity date of the ISIN labeled DE000A0BVBN3?", + "context": "create table table_21692771_1 (maturity varchar, isin varchar, PRIMARY KEY (maturity))", + "answer": "select maturity from table_21692771_1 where isin = \"de000a0bvbn3\"" + }, + { + "question": "Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U21 womens?", + "context": "create table table_28211674_3 (mixed_restricted varchar, mixed_veteran varchar, u21_womens varchar, PRIMARY KEY (mixed_restricted))", + "answer": "select mixed_restricted from table_28211674_3 where mixed_veteran = \"tomasz rzeszotko\" and u21_womens = \"karina le fevre\"" + }, + { + "question": "Which city has the team nickname bearcats?", + "context": "create table table_16384648_2 (location varchar, team_nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_16384648_2 where team_nickname = \"bearcats\"" + }, + { + "question": "Who had the high assists against detroit?", + "context": "create table table_27712702_11 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27712702_11 where team = \"detroit\"" + }, + { + "question": "What was the date of vacancy when Viorel Moldovan replaced a manager?", + "context": "create table table_17115950_2 (date_of_vacancy varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_17115950_2 where replaced_by = \"viorel moldovan\"" + }, + { + "question": "Find the name of the company that has the least number of phone models. List the company name and the number of phone model produced by that company.", + "context": "create table phone (company_name varchar, PRIMARY KEY (company_name))", + "answer": "select company_name, count(*) from phone group by company_name order by count(*) limit 1" + }, + { + "question": "How many times does the call sign XEZV appear?", + "context": "create table table_14670060_1 (transmitting_from varchar, call_sign varchar, PRIMARY KEY (transmitting_from))", + "answer": "select count(transmitting_from) from table_14670060_1 where call_sign = \"xezv\"" + }, + { + "question": "Please show the most common status of roller coasters.", + "context": "create table roller_coaster (status varchar, PRIMARY KEY (status))", + "answer": "select status from roller_coaster group by status order by count(*) desc limit 1" + }, + { + "question": "who is the\u00a0captain\u00a0where\u00a0coach\u00a0is geoff miles", + "context": "create table table_1165048_1 (captain varchar, coach varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_1165048_1 where coach = \"geoff miles\"" + }, + { + "question": "What was the record in the game whose first star was J. Oduya?", + "context": "create table table_27537518_6 (record varchar, first_star varchar, PRIMARY KEY (record))", + "answer": "select record from table_27537518_6 where first_star = \"j. oduya\"" + }, + { + "question": "Show all template ids and number of documents using each template.", + "context": "create table documents (template_id varchar, PRIMARY KEY (template_id))", + "answer": "select template_id, count(*) from documents group by template_id" + }, + { + "question": "Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name.", + "context": "create table maintenance_contracts (maintenance_contract_company_id varchar, PRIMARY KEY (maintenance_contract_company_id)); create table maintenance_engineers (company_id varchar, PRIMARY KEY (company_id)); create table third_party_companies (company_id varchar, company_name varchar, PRIMARY KEY (company_id))", + "answer": "select t1.company_id, t1.company_name from third_party_companies as t1 join maintenance_engineers as t2 on t1.company_id = t2.company_id group by t1.company_id having count(*) >= 2 union select t3.company_id, t3.company_name from third_party_companies as t3 join maintenance_contracts as t4 on t3.company_id = t4.maintenance_contract_company_id group by t3.company_id having count(*) >= 2" + }, + { + "question": "What is the name of the captain when teh shirt sponsor is n/a?", + "context": "create table table_27631756_2 (captain varchar, shirt_sponsor varchar, PRIMARY KEY (captain))", + "answer": "select captain from table_27631756_2 where shirt_sponsor = \"n/a\"" + }, + { + "question": "What is every value for Russian when value for Bulgarian is \u043f\u0435\u0441, \u043a\u0443\u0447\u0435?", + "context": "create table table_25008327_8 (russian varchar, bulgarian varchar, PRIMARY KEY (russian))", + "answer": "select russian from table_25008327_8 where bulgarian = \"\u043f\u0435\u0441, \u043a\u0443\u0447\u0435\"" + }, + { + "question": "What date did the Milton Keynes Dons appoint?", + "context": "create table table_18788823_5 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_18788823_5 where team = \"milton keynes dons\"" + }, + { + "question": "Who are all of the candidates in elections where Dennis Kucinich was a candidate?", + "context": "create table table_1805191_36 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1805191_36 where incumbent = \"dennis kucinich\"" + }, + { + "question": "Name the population density when barangay is tiptip", + "context": "create table table_1686313_1 (pop_density__per_km\u00b2_ varchar, barangay varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_1686313_1 where barangay = \"tiptip\"" + }, + { + "question": "What is the other abbreviation of the constellation that has hydrae /\u02c8ha\u026adri\u02d0/ as genitive?", + "context": "create table table_287159_1 (other_abbreviation varchar, genitive varchar, PRIMARY KEY (other_abbreviation))", + "answer": "select other_abbreviation from table_287159_1 where genitive = \"hydrae /\u02c8ha\u026adri\u02d0/\"" + }, + { + "question": "List the names of all distinct medications, ordered in an alphabetical order.", + "context": "create table medication (name varchar, PRIMARY KEY (name))", + "answer": "select distinct name from medication order by name" + }, + { + "question": "what is the date of appointment for the team osasuna?", + "context": "create table table_24231638_3 (date_of_appointment varchar, team varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_24231638_3 where team = \"osasuna\"" + }, + { + "question": "What was the largest ethnic group in so\u010dica?", + "context": "create table table_2562572_46 (largest_ethnic_group__2002_ varchar, settlement varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_46 where settlement = \"so\u010dica\"" + }, + { + "question": "How many languages have elles as the film title used in nomination?", + "context": "create table table_22073745_1 (languages varchar, film_title_used_in_nomination varchar, PRIMARY KEY (languages))", + "answer": "select count(languages) from table_22073745_1 where film_title_used_in_nomination = \"elles\"" + }, + { + "question": "Which nationality is the player from the Philadelphia Flyers?", + "context": "create table table_1473672_3 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1473672_3 where nhl_team = \"philadelphia flyers\"" + }, + { + "question": "What is the complete description of the researcher role.", + "context": "create table staff_roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description))", + "answer": "select role_description from staff_roles where role_code = 'researcher'" + }, + { + "question": "How many entries are shown for date of successors formal installation where successor is john w. walker (dr)?", + "context": "create table table_225099_3 (date_of_successors_formal_installation varchar, successor varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select count(date_of_successors_formal_installation) from table_225099_3 where successor = \"john w. walker (dr)\"" + }, + { + "question": "Show names of parties that does not have any members.", + "context": "create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (party_name varchar, party_id varchar, PRIMARY KEY (party_name))", + "answer": "select party_name from party where not party_id in (select party_id from member)" + }, + { + "question": "Name the del pueblo for centennial 1988", + "context": "create table table_15977768_1 (del_pueblo varchar, centennial varchar, PRIMARY KEY (del_pueblo))", + "answer": "select del_pueblo from table_15977768_1 where centennial = \"1988\"" + }, + { + "question": "Would built the winning car in the IV J.C.C. Jersey Road Race?", + "context": "create table table_1140119_5 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_1140119_5 where race_name = \"iv j.c.c. jersey road race\"" + }, + { + "question": "What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?", + "context": "create table table_22083044_2 (winning_team varchar, circuit varchar, fastest_lap varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_22083044_2 where circuit = \"queensland raceway\" and fastest_lap = \"tim macrow\"" + }, + { + "question": "What was the order number where the original artist is The Doors?", + "context": "create table table_15796072_1 (order__number varchar, original_artist varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_15796072_1 where original_artist = \"the doors\"" + }, + { + "question": "Show all investor details.", + "context": "create table investors (investor_details varchar, PRIMARY KEY (investor_details))", + "answer": "select investor_details from investors" + }, + { + "question": "Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph?", + "context": "create table table_23465864_6 (rider varchar, fri_28_aug varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_23465864_6 where fri_28_aug = \"24' 23.36 92.820mph\"" + }, + { + "question": "How many TFR were there in 2006 when the GFR was 53.8?", + "context": "create table table_12251936_1 (tfr_2006 varchar, gfr_2006 varchar, PRIMARY KEY (tfr_2006))", + "answer": "select tfr_2006 from table_12251936_1 where gfr_2006 = \"53.8\"" + }, + { + "question": "What is Joan Leaven's occupation?", + "context": "create table table_2933761_1 (occupation varchar, name varchar, PRIMARY KEY (occupation))", + "answer": "select occupation from table_2933761_1 where name = \"joan leaven\"" + }, + { + "question": "What party did hilda solis represent?", + "context": "create table table_1805191_6 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1805191_6 where incumbent = \"hilda solis\"" + }, + { + "question": "Name the 132.1% for where north carolina is colorado", + "context": "create table table_15051_4 (north_carolina varchar, PRIMARY KEY (north_carolina))", + "answer": "select 1321 as _percentage from table_15051_4 where north_carolina = \"colorado\"" + }, + { + "question": "How many distinct complaint type codes are there in the database?", + "context": "create table complaints (complaint_type_code varchar, PRIMARY KEY (complaint_type_code))", + "answer": "select count(distinct complaint_type_code) from complaints" + }, + { + "question": "Show the names of editors and the theme of journals for which they serve on committees.", + "context": "create table journal_committee (editor_id varchar, journal_id varchar, PRIMARY KEY (editor_id)); create table editor (name varchar, editor_id varchar, PRIMARY KEY (name)); create table journal (theme varchar, journal_id varchar, PRIMARY KEY (theme))", + "answer": "select t2.name, t3.theme from journal_committee as t1 join editor as t2 on t1.editor_id = t2.editor_id join journal as t3 on t1.journal_id = t3.journal_id" + }, + { + "question": "What was the founding university of \u03b1\u03b5\u03c6?", + "context": "create table table_2538117_5 (founding_university varchar, letters varchar, PRIMARY KEY (founding_university))", + "answer": "select founding_university from table_2538117_5 where letters = \"\u03b1\u03b5\u03c6\"" + }, + { + "question": "Which opening film has the opening date of august 23?", + "context": "create table table_18220102_1 (opening_film varchar, date__opening_ varchar, PRIMARY KEY (opening_film))", + "answer": "select opening_film from table_18220102_1 where date__opening_ = \"august 23\"" + }, + { + "question": "What current conference is Post University a member of?", + "context": "create table table_12936521_2 (current_conference varchar, institution varchar, PRIMARY KEY (current_conference))", + "answer": "select current_conference from table_12936521_2 where institution = \"post university\"" + }, + { + "question": "What was the location for when the opponent was @ roughriders?", + "context": "create table table_21761882_4 (location varchar, opponent varchar, PRIMARY KEY (location))", + "answer": "select location from table_21761882_4 where opponent = \"@ roughriders\"" + }, + { + "question": "How many different variants are there for Northern Counties bodybuilder?", + "context": "create table table_28035004_1 (variant varchar, bodybuilder varchar, PRIMARY KEY (variant))", + "answer": "select count(variant) from table_28035004_1 where bodybuilder = \"northern counties\"" + }, + { + "question": "When was the film H\u00e4r har du ditt liv used in nomination?", + "context": "create table table_20061872_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_20061872_1 where original_title = \"h\u00e4r har du ditt liv\"" + }, + { + "question": "What is the percentage of the Labour Party on the Harris Poll", + "context": "create table table_159614_2 (harris varchar, party varchar, PRIMARY KEY (harris))", + "answer": "select harris from table_159614_2 where party = \"labour\"" + }, + { + "question": "What status doe the area with a census ranking of 2,290 of 5,008 have?", + "context": "create table table_171356_2 (status varchar, census_ranking varchar, PRIMARY KEY (status))", + "answer": "select status from table_171356_2 where census_ranking = \"2,290 of 5,008\"" + }, + { + "question": "What is overall rank when viewers are at 6.59 million?", + "context": "create table table_20522228_2 (rank__overall_ varchar, viewers__millions_ varchar, PRIMARY KEY (rank__overall_))", + "answer": "select rank__overall_ from table_20522228_2 where viewers__millions_ = \"6.59\"" + }, + { + "question": "Name the license for e-on vue", + "context": "create table table_19495707_1 (license varchar, application varchar, PRIMARY KEY (license))", + "answer": "select license from table_19495707_1 where application = \"e-on vue\"" + }, + { + "question": "What is the song choice when the theme is not aired?", + "context": "create table table_12175755_1 (theme varchar, song_choice varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_12175755_1 where song_choice = \"not aired\"" + }, + { + "question": "The episode written by Rebecca Dameron aired on what date?", + "context": "create table table_11111116_6 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11111116_6 where written_by = \"rebecca dameron\"" + }, + { + "question": "What is the zip code in which the average mean sea level pressure is the lowest?", + "context": "create table weather (zip_code varchar, mean_sea_level_pressure_inches integer, PRIMARY KEY (zip_code))", + "answer": "select zip_code from weather group by zip_code order by avg(mean_sea_level_pressure_inches) limit 1" + }, + { + "question": "Find the number of tweets in record.", + "context": "create table tweets (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from tweets" + }, + { + "question": "When did the term end that began January 3, 2007?", + "context": "create table table_224672_2 (term_ended varchar, term_began varchar, PRIMARY KEY (term_ended))", + "answer": "select term_ended from table_224672_2 where term_began = \"january 3, 2007\"" + }, + { + "question": "Which category does the product named \"flax\" belong to?", + "context": "create table products (product_category_code varchar, product_name varchar, PRIMARY KEY (product_category_code))", + "answer": "select product_category_code from products where product_name = \"flax\"" + }, + { + "question": "How many times did Public Policy Polling under Republican: Jack Hoogendyk?", + "context": "create table table_16751596_6 (republican varchar, poll_source varchar, PRIMARY KEY (republican))", + "answer": "select count(republican) as :_jack_hoogendyk from table_16751596_6 where poll_source = \"public policy polling\"" + }, + { + "question": "Find the last name and hire date of the professor who is in office DRE 102.", + "context": "create table professor (emp_num varchar, prof_office varchar, PRIMARY KEY (emp_num)); create table employee (emp_lname varchar, emp_hiredate varchar, emp_num varchar, PRIMARY KEY (emp_lname))", + "answer": "select t1.emp_lname, t1.emp_hiredate from employee as t1 join professor as t2 on t1.emp_num = t2.emp_num where t2.prof_office = 'dre 102'" + }, + { + "question": "What is the name of the institution with the mascot of blue devils?", + "context": "create table table_12434380_1 (institution varchar, mascot varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_12434380_1 where mascot = \"blue devils\"" + }, + { + "question": "In episode 115 what is seen being made before British police helmets?", + "context": "create table table_15187735_9 (segment_b varchar, segment_c varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_9 where segment_c = \"british police helmets\"" + }, + { + "question": "How many 'number of seasons in top division' were played if the 'first season in top division' games is in 1990-91?", + "context": "create table table_18143210_2 (number_of_seasons_in_top_division integer, first_season_in_top_division varchar, PRIMARY KEY (number_of_seasons_in_top_division))", + "answer": "select max(number_of_seasons_in_top_division) from table_18143210_2 where first_season_in_top_division = \"1990-91\"" + }, + { + "question": "What is the nickname of the University of Alabama?", + "context": "create table table_26355116_1 (nickname varchar, school varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_26355116_1 where school = \"university of alabama\"" + }, + { + "question": "What is the country of origin of the artist who is female and produced a song in Bangla?", + "context": "create table artist (country varchar, artist_name varchar, gender varchar, PRIMARY KEY (country)); create table song (artist_name varchar, languages varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.country from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t1.gender = \"female\" and t2.languages = \"bangla\"" + }, + { + "question": "What was the record of the game in which Dydek (10) did the most high rebounds?", + "context": "create table table_18904831_5 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_18904831_5 where high_rebounds = \"dydek (10)\"" + }, + { + "question": "what skipper has the sail number aus60000?", + "context": "create table table_25561560_2 (skipper varchar, sail_number varchar, PRIMARY KEY (skipper))", + "answer": "select skipper from table_25561560_2 where sail_number = \"aus60000\"" + }, + { + "question": "What was the public office of the subject whose sculpture was created in 1954?", + "context": "create table table_20903658_1 (public_office varchar, date_painted_created varchar, PRIMARY KEY (public_office))", + "answer": "select public_office from table_20903658_1 where date_painted_created = \"1954\"" + }, + { + "question": "What's the transcription of the thai name of the month \u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21?", + "context": "create table table_180802_2 (transcription varchar, thai_name varchar, PRIMARY KEY (transcription))", + "answer": "select transcription from table_180802_2 where thai_name = \"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21\"" + }, + { + "question": "Who replaced when team is wigan athletic?", + "context": "create table table_10592536_8 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_10592536_8 where team = \"wigan athletic\"" + }, + { + "question": "What is the original air date of the episode directed by Terrence Nightingall?", + "context": "create table table_17356205_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_17356205_1 where directed_by = \"terrence nightingall\"" + }, + { + "question": "List the name of enzymes in descending lexicographical order.", + "context": "create table enzyme (name varchar, PRIMARY KEY (name))", + "answer": "select name from enzyme order by name desc" + }, + { + "question": "Show all product sizes.", + "context": "create table products (product_size varchar, PRIMARY KEY (product_size))", + "answer": "select distinct product_size from products" + }, + { + "question": "Who was Betty's partner when the surface is hard?", + "context": "create table table_2820584_2 (partner varchar, surface varchar, PRIMARY KEY (partner))", + "answer": "select partner from table_2820584_2 where surface = \"hard\"" + }, + { + "question": "What is the title of the episode written by Frank Military?", + "context": "create table table_28611413_2 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28611413_2 where written_by = \"frank military\"" + }, + { + "question": "How many hectares of land area is Landsbro?", + "context": "create table table_16796625_1 (land_area__hectares_ varchar, urban_area__locality_ varchar, PRIMARY KEY (land_area__hectares_))", + "answer": "select land_area__hectares_ from table_16796625_1 where urban_area__locality_ = \"landsbro\"" + }, + { + "question": "How many millions of viewers are listed where the writer is Matthew Okumura?", + "context": "create table table_2866503_1 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_2866503_1 where written_by = \"matthew okumura\"" + }, + { + "question": "What is the English version of Mariusz Szczygie\u0142 book?", + "context": "create table table_14631909_1 (english_title varchar, author varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_14631909_1 where author = \"mariusz szczygie\u0142\"" + }, + { + "question": "In how many locations was the episode with the Bailey family filmed?", + "context": "create table table_19897294_10 (location_s_ varchar, family_families varchar, PRIMARY KEY (location_s_))", + "answer": "select count(location_s_) from table_19897294_10 where family_families = \"the bailey family\"" + }, + { + "question": "Show the names of students who have at least 2 likes.", + "context": "create table likes (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t2.name from likes as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id having count(*) >= 2" + }, + { + "question": "Who was featured in the election of charles edward bennett redistricted from 2nd?", + "context": "create table table_1341843_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341843_10 where incumbent = \"charles edward bennett redistricted from 2nd\"" + }, + { + "question": "What is the main legion base that disbanded 70 xx?", + "context": "create table table_242785_3 (main_legion_base varchar, date_disband varchar, PRIMARY KEY (main_legion_base))", + "answer": "select main_legion_base from table_242785_3 where date_disband = \"70 xx\"" + }, + { + "question": "Which episode had 2.75 million viewers in the U.S.?", + "context": "create table table_25740548_4 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_25740548_4 where us_viewers__million_ = \"2.75\"" + }, + { + "question": "Who are the mens doubles and womens singles is wang shixian?", + "context": "create table table_13553701_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_13553701_1 where womens_singles = \"wang shixian\"" + }, + { + "question": "Who are the champions that have won at Aguas Buenas, Puerto Rico?", + "context": "create table table_1272033_1 (champion_s_ varchar, location varchar, PRIMARY KEY (champion_s_))", + "answer": "select champion_s_ from table_1272033_1 where location = \"aguas buenas, puerto rico\"" + }, + { + "question": "What is the cardinal direction associated with Venus?", + "context": "create table table_14850099_18 (cardinal_direction varchar, planet varchar, PRIMARY KEY (cardinal_direction))", + "answer": "select cardinal_direction from table_14850099_18 where planet = \"venus\"" + }, + { + "question": "Show the lieutenant governor and comptroller from the democratic party.", + "context": "create table party (lieutenant_governor varchar, comptroller varchar, party varchar, PRIMARY KEY (lieutenant_governor))", + "answer": "select lieutenant_governor, comptroller from party where party = \"democratic\"" + }, + { + "question": "Which flag is most widely used among all ships?", + "context": "create table ship (flag varchar, PRIMARY KEY (flag))", + "answer": "select flag from ship group by flag order by count(*) desc limit 1" + }, + { + "question": "When is the rhel release date when scientific linux release is 3.0.4", + "context": "create table table_1500146_1 (rhel_release_date varchar, scientific_linux_release varchar, PRIMARY KEY (rhel_release_date))", + "answer": "select rhel_release_date from table_1500146_1 where scientific_linux_release = \"3.0.4\"" + }, + { + "question": "Who is the rider where the horse is galan de sauvagere?", + "context": "create table table_18666752_3 (rider varchar, horse varchar, PRIMARY KEY (rider))", + "answer": "select rider from table_18666752_3 where horse = \"galan de sauvagere\"" + }, + { + "question": "Who is in the high points in the @ l.a. clippers team?", + "context": "create table table_27734286_1 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27734286_1 where team = \"@ l.a. clippers\"" + }, + { + "question": "What is the height in ft for the rockets from 1973-78?", + "context": "create table table_11734041_16 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))", + "answer": "select height_in_ft from table_11734041_16 where years_for_rockets = \"1973-78\"" + }, + { + "question": "how many teams won at golf when wooster won soccer", + "context": "create table table_16423070_4 (golf varchar, soccer varchar, PRIMARY KEY (golf))", + "answer": "select count(golf) from table_16423070_4 where soccer = \"wooster\"" + }, + { + "question": "What are the names of the directors who made exactly one movie excluding director NULL?", + "context": "create table movie (director varchar, PRIMARY KEY (director))", + "answer": "select director from movie where director <> \"null\" group by director having count(*) = 1" + }, + { + "question": "What is the short stem for garbitzen?", + "context": "create table table_12784134_24 (short_stem varchar, imperfect_stem varchar, PRIMARY KEY (short_stem))", + "answer": "select short_stem from table_12784134_24 where imperfect_stem = \"garbitzen\"" + }, + { + "question": "How many conflicts started in Afghanistan?", + "context": "create table table_1921_1 (start_of_conflict varchar, location varchar, PRIMARY KEY (start_of_conflict))", + "answer": "select count(start_of_conflict) from table_1921_1 where location = \"afghanistan\"" + }, + { + "question": "Name the name of award for zubeen garg", + "context": "create table table_24446718_7 (name_of_award varchar, awardee_s_ varchar, PRIMARY KEY (name_of_award))", + "answer": "select name_of_award from table_24446718_7 where awardee_s_ = \"zubeen garg\"" + }, + { + "question": "What candidates ran in the election with don fuqua?", + "context": "create table table_1341690_9 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341690_9 where incumbent = \"don fuqua\"" + }, + { + "question": "What is the model number for the order part numbered tmrm75dam22gg?", + "context": "create table table_27277284_28 (model_number varchar, order_part_number varchar, PRIMARY KEY (model_number))", + "answer": "select model_number from table_27277284_28 where order_part_number = \"tmrm75dam22gg\"" + }, + { + "question": "How many departments does the college has?", + "context": "create table department (dept_name varchar, PRIMARY KEY (dept_name))", + "answer": "select count(distinct dept_name) from department" + }, + { + "question": "What was the maximum number in written when the standard was 2?", + "context": "create table table_19534874_2 (written integer, standard varchar, PRIMARY KEY (written))", + "answer": "select max(written) from table_19534874_2 where standard = 2" + }, + { + "question": "Who had the high assists while Erick Dampier (8) had the high rebounds?", + "context": "create table table_17288869_7 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17288869_7 where high_rebounds = \"erick dampier (8)\"" + }, + { + "question": "What date did the episode that had 8.84 million u.s. viewers originally air?", + "context": "create table table_28768925_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28768925_1 where us_viewers__million_ = \"8.84\"" + }, + { + "question": "what is the affiliation of the colors maroon and white?", + "context": "create table table_20887670_1 (affiliation varchar, colors varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_20887670_1 where colors = \"maroon and white\"" + }, + { + "question": "Name the pinyin for ci\u00e1-\u00ecng-g\u00e2ing", + "context": "create table table_2013618_1 (pinyin varchar, foochow varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2013618_1 where foochow = \"ci\u00e1-\u00ecng-g\u00e2ing\"" + }, + { + "question": "On November 14, 2007, what are the Democrat: Vivian Davis Figures percentages?", + "context": "create table table_16751596_12 (democrat varchar, dates_administered varchar, PRIMARY KEY (democrat))", + "answer": "select democrat as :_vivian_davis_figures from table_16751596_12 where dates_administered = \"november 14, 2007\"" + }, + { + "question": "What's team #2 in the round where team $1 is Ilisiakos?", + "context": "create table table_19130829_4 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_19130829_4 where team__number1 = \"ilisiakos\"" + }, + { + "question": "When Margaret Ann Bayot won binibining pilipinas-international, how many winners of Miss Universe Philippines were there?", + "context": "create table table_1825751_4 (miss_universe_philippines varchar, binibining_pilipinas_international varchar, PRIMARY KEY (miss_universe_philippines))", + "answer": "select count(miss_universe_philippines) from table_1825751_4 where binibining_pilipinas_international = \"margaret ann bayot\"" + }, + { + "question": "What school is located in Chestnut Hill, Massachusetts?", + "context": "create table table_1973842_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1973842_1 where location = \"chestnut hill, massachusetts\"" + }, + { + "question": "Name the standard yarn weight system for 9 wpi", + "context": "create table table_20297668_1 (standard_yarn_weight_system varchar, wraps_per_inch__wpi_ varchar, PRIMARY KEY (standard_yarn_weight_system))", + "answer": "select standard_yarn_weight_system from table_20297668_1 where wraps_per_inch__wpi_ = \"9 wpi\"" + }, + { + "question": "What was the club that won 10 top division titles?", + "context": "create table table_18143210_2 (club varchar, top_division_titles varchar, PRIMARY KEY (club))", + "answer": "select club from table_18143210_2 where top_division_titles = 10" + }, + { + "question": "Show the account id with most number of transactions.", + "context": "create table financial_transactions (account_id varchar, PRIMARY KEY (account_id))", + "answer": "select account_id from financial_transactions group by account_id order by count(*) desc limit 1" + }, + { + "question": "What's the Ikavian translation of the Ijekavian word lijep?", + "context": "create table table_27730_9 (ikavian varchar, ijekavian varchar, PRIMARY KEY (ikavian))", + "answer": "select ikavian from table_27730_9 where ijekavian = \"lijep\"" + }, + { + "question": "Who is the team when the category is blocks per game?", + "context": "create table table_28628309_8 (team varchar, category varchar, PRIMARY KEY (team))", + "answer": "select team from table_28628309_8 where category = \"blocks per game\"" + }, + { + "question": "When bloggers was the poll winner, who was the root of all evil?", + "context": "create table table_15781170_3 (root_of_all_evil varchar, poll_winner varchar, PRIMARY KEY (root_of_all_evil))", + "answer": "select root_of_all_evil from table_15781170_3 where poll_winner = \"bloggers\"" + }, + { + "question": "Who won Womens Singles in the year that Ma Lin won Mens Singles?", + "context": "create table table_28138035_15 (womens_singles varchar, mens_singles varchar, PRIMARY KEY (womens_singles))", + "answer": "select womens_singles from table_28138035_15 where mens_singles = \"ma lin\"" + }, + { + "question": "Why did the change happened in Massachusetts (2)?", + "context": "create table table_18563954_3 (reason_for_change varchar, state__class_ varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_18563954_3 where state__class_ = \"massachusetts (2)\"" + }, + { + "question": "What college did the player for the Hamilton Tiger-Cats go to?", + "context": "create table table_21321804_3 (college varchar, cfl_team varchar, PRIMARY KEY (college))", + "answer": "select college from table_21321804_3 where cfl_team = \"hamilton tiger-cats\"" + }, + { + "question": "Which of the mill names contains the french word 'Moulin'?", + "context": "create table mill (name varchar, PRIMARY KEY (name))", + "answer": "select name from mill where name like '%moulin%'" + }, + { + "question": "How many incumbents come from alvin bush's district?", + "context": "create table table_1341930_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341930_38 where incumbent = \"alvin bush\"" + }, + { + "question": "Name the cpu type for june 2005 - april 2009", + "context": "create table table_27765443_2 (cpu_type varchar, period_of_operation varchar, PRIMARY KEY (cpu_type))", + "answer": "select cpu_type from table_27765443_2 where period_of_operation = \"june 2005 - april 2009\"" + }, + { + "question": "List the name of actors in ascending alphabetical order.", + "context": "create table actor (name varchar, PRIMARY KEY (name))", + "answer": "select name from actor order by name" + }, + { + "question": "Who drove for Phil Parsons Racing team?", + "context": "create table table_1266602_2 (driver_s_ varchar, team varchar, PRIMARY KEY (driver_s_))", + "answer": "select driver_s_ from table_1266602_2 where team = \"phil parsons racing\"" + }, + { + "question": "Who is the academic & University affairs when the Human resources & operations is N. Charles Hamilton?", + "context": "create table table_12113818_1 (academic_ varchar, _university_affairs varchar, human_resources_ varchar, _operations varchar, PRIMARY KEY (academic_))", + "answer": "select academic_ & _university_affairs from table_12113818_1 where human_resources_ & _operations = \"n. charles hamilton\"" + }, + { + "question": "What was the calling for the 18.42 arrival time?", + "context": "create table table_18332845_2 (calling_at varchar, arrival varchar, PRIMARY KEY (calling_at))", + "answer": "select calling_at from table_18332845_2 where arrival = \"18.42\"" + }, + { + "question": "Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath?", + "context": "create table table_19930660_2 (marcus_guest varchar, rufus_guest varchar, PRIMARY KEY (marcus_guest))", + "answer": "select marcus_guest from table_19930660_2 where rufus_guest = \"rory mcgrath\"" + }, + { + "question": "who held the fastes lap in Phoenix, Arizona?", + "context": "create table table_2454550_1 (fastest_lap varchar, location varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_2454550_1 where location = \"phoenix, arizona\"" + }, + { + "question": "what is b - bishop where bc - beast cadet is gr - great dove?", + "context": "create table table_2603017_2 (b___bishop varchar, bc___beast_cadet varchar, PRIMARY KEY (b___bishop))", + "answer": "select b___bishop from table_2603017_2 where bc___beast_cadet = \"gr - great dove\"" + }, + { + "question": "When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?", + "context": "create table table_23465864_3 (sat_29_aug varchar, rider varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_23465864_3 where rider = \"roy richardson 476cc aermacchi\"" + }, + { + "question": "What date did the episode air when guy grossi won?", + "context": "create table table_29281529_2 (airdate varchar, winner varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_29281529_2 where winner = \"guy grossi\"" + }, + { + "question": "When the value of \"other\" is 0.7%, what is the percentage for Windows?", + "context": "create table table_11381701_3 (windows varchar, other varchar, PRIMARY KEY (windows))", + "answer": "select windows from table_11381701_3 where other = \"0.7%\"" + }, + { + "question": "What was Barreto's song choice where the original artist was Patricia Marx?", + "context": "create table table_27614571_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_27614571_1 where original_artist = \"patricia marx\"" + }, + { + "question": "Show different colleges along with the number of authors of submission from each college.", + "context": "create table submission (college varchar, PRIMARY KEY (college))", + "answer": "select college, count(*) from submission group by college" + }, + { + "question": "What are all the report for the Belgian Grand Prix?", + "context": "create table table_26258348_4 (report varchar, grand_prix varchar, PRIMARY KEY (report))", + "answer": "select report from table_26258348_4 where grand_prix = \"belgian grand_prix\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being percy e. quin (d) unopposed", + "context": "create table table_1342379_23 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342379_23 where candidates = \"percy e. quin (d) unopposed\"" + }, + { + "question": "What is the report for races where Will Power had both pole position and fastest lap?", + "context": "create table table_16099880_5 (report varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (report))", + "answer": "select report from table_16099880_5 where pole_position = \"will power\" and fastest_lap = \"will power\"" + }, + { + "question": "How many points did the opponents score on the game where Sooners' record was 16-5?", + "context": "create table table_22903773_2 (opp_points integer, record varchar, PRIMARY KEY (opp_points))", + "answer": "select max(opp_points) from table_22903773_2 where record = \"16-5\"" + }, + { + "question": "What is every affiliation for the Tottenham constituency?", + "context": "create table table_25818630_1 (affiliation varchar, constituency varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_25818630_1 where constituency = \"tottenham\"" + }, + { + "question": "Who played San Lorenzo?", + "context": "create table table_17282875_3 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_17282875_3 where team__number1 = \"san lorenzo\"" + }, + { + "question": "Who had the most rebounds when the team record was 15-27?", + "context": "create table table_23285805_6 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23285805_6 where record = \"15-27\"" + }, + { + "question": "Who was the winning driver for Hendrick Motorsports in a Chevrolet Impala SS?", + "context": "create table table_1769428_2 (winning_driver varchar, team varchar, make varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1769428_2 where team = \"hendrick motorsports\" and make = \"chevrolet impala ss\"" + }, + { + "question": "List the names of studios that have at least two films.", + "context": "create table film (studio varchar, PRIMARY KEY (studio))", + "answer": "select studio from film group by studio having count(*) >= 2" + }, + { + "question": "What is the title of the episode that aired on May 10, 1958?", + "context": "create table table_25800134_2 (title varchar, airdate varchar, PRIMARY KEY (title))", + "answer": "select title from table_25800134_2 where airdate = \"may 10, 1958\"" + }, + { + "question": "When 9/07/1999 is the date of withdrawn what is the original number?", + "context": "create table table_21795986_1 (original_number varchar, withdrawn varchar, PRIMARY KEY (original_number))", + "answer": "select original_number from table_21795986_1 where withdrawn = \"9/07/1999\"" + }, + { + "question": "Name the mens singles when mens doubles is george georgoudis gerostergiou", + "context": "create table table_14903881_1 (mens_singles varchar, mens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_14903881_1 where mens_doubles = \"george georgoudis gerostergiou\"" + }, + { + "question": "Name the karen when nicky is 2.5", + "context": "create table table_19744915_4 (karen varchar, nicky varchar, PRIMARY KEY (karen))", + "answer": "select karen from table_19744915_4 where nicky = \"2.5\"" + }, + { + "question": "How many total interview subjects wererthere when the centerfold model was Tamara Witmer?", + "context": "create table table_1566852_6 (interview_subject varchar, centerfold_model varchar, PRIMARY KEY (interview_subject))", + "answer": "select count(interview_subject) from table_1566852_6 where centerfold_model = \"tamara witmer\"" + }, + { + "question": "Where was the Undercard of Stevenson/Bellew?", + "context": "create table table_25840200_1 (location varchar, notes varchar, PRIMARY KEY (location))", + "answer": "select location from table_25840200_1 where notes = \"undercard of stevenson/bellew\"" + }, + { + "question": "Find all the vocal types.", + "context": "create table vocals (type varchar, PRIMARY KEY (type))", + "answer": "select distinct type from vocals" + }, + { + "question": "How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?", + "context": "create table table_1881642_1 (socialist varchar, social_democratic varchar, PRIMARY KEY (socialist))", + "answer": "select count(socialist) from table_1881642_1 where social_democratic = \"42.2%\"" + }, + { + "question": "How many different numbers of cantons does the province with the Armenian name \u057e\u0561\u057d\u057a\u0578\u0582\u0580\u0561\u056f\u0561\u0576 have?", + "context": "create table table_23887174_1 (number_of_cantons__gavars_ varchar, armenian_name varchar, PRIMARY KEY (number_of_cantons__gavars_))", + "answer": "select count(number_of_cantons__gavars_) from table_23887174_1 where armenian_name = \"\u057e\u0561\u057d\u057a\u0578\u0582\u0580\u0561\u056f\u0561\u0576\"" + }, + { + "question": "What is every value for % 20-39 if % 0-19 is 21,11%?", + "context": "create table table_23606500_4 (_percentage_20_39 varchar, _percentage_0_19 varchar, PRIMARY KEY (_percentage_20_39))", + "answer": "select _percentage_20_39 from table_23606500_4 where _percentage_0_19 = \"21,11%\"" + }, + { + "question": "Find the name of the swimmer who has at least 2 records.", + "context": "create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id group by t2.swimmer_id having count(*) >= 2" + }, + { + "question": "Please list all songs in volumes in ascending alphabetical order.", + "context": "create table volume (song varchar, PRIMARY KEY (song))", + "answer": "select song from volume order by song" + }, + { + "question": "what is the integrated in which the holding allied-unrelated is many?", + "context": "create table table_11944282_1 (holding varchar, allied_unrelated varchar, PRIMARY KEY (holding))", + "answer": "select holding from table_11944282_1 where allied_unrelated = \"many\"" + }, + { + "question": "Which College did the Buffalo Sabres' pick play for?", + "context": "create table table_1965650_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1965650_7 where nhl_team = \"buffalo sabres\"" + }, + { + "question": "What is the last year total for the team with a lowest of 23578?", + "context": "create table table_2472711_31 (last_year integer, lowest varchar, PRIMARY KEY (last_year))", + "answer": "select max(last_year) from table_2472711_31 where lowest = 23578" + }, + { + "question": "Who was the original artist for First Solo?", + "context": "create table table_26250176_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_26250176_1 where theme = \"first solo\"" + }, + { + "question": "What is the Bello when Ben-Tahir is 296?", + "context": "create table table_11447995_2 (bello varchar, ben_tahir varchar, PRIMARY KEY (bello))", + "answer": "select bello from table_11447995_2 where ben_tahir = \"296\"" + }, + { + "question": "List Aerosmith's albums.", + "context": "create table artists (id varchar, name varchar, PRIMARY KEY (id)); create table albums (title varchar, artist_id varchar, PRIMARY KEY (title))", + "answer": "select t1.title from albums as t1 join artists as t2 on t1.artist_id = t2.id where t2.name = \"aerosmith\"" + }, + { + "question": "What are the start date and end date of the booking that has booked the product named 'Book collection A'?", + "context": "create table bookings (booking_start_date varchar, booking_end_date varchar, booking_id varchar, PRIMARY KEY (booking_start_date)); create table products_booked (product_id varchar, booking_id varchar, PRIMARY KEY (product_id)); create table products_for_hire (product_id varchar, product_name varchar, PRIMARY KEY (product_id))", + "answer": "select t3.booking_start_date, t3.booking_end_date from products_for_hire as t1 join products_booked as t2 on t1.product_id = t2.product_id join bookings as t3 on t2.booking_id = t3.booking_id where t1.product_name = 'book collection a'" + }, + { + "question": "What's the title of the episode with a broadcast order s04 e01?", + "context": "create table table_1231892_4 (title varchar, broadcast_order varchar, PRIMARY KEY (title))", + "answer": "select title from table_1231892_4 where broadcast_order = \"s04 e01\"" + }, + { + "question": "Name the number of outgoing manager for rijeka", + "context": "create table table_27225944_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_27225944_3 where team = \"rijeka\"" + }, + { + "question": "How much is the purse ( $ ) when the margin of victory is 1 stroke?", + "context": "create table table_13388681_1 (purse___$__ varchar, margin_of_victory varchar, PRIMARY KEY (purse___$__))", + "answer": "select purse___$__ from table_13388681_1 where margin_of_victory = \"1 stroke\"" + }, + { + "question": "How many english titles were directed by carlos moreno?", + "context": "create table table_22102732_1 (english_title varchar, director varchar, PRIMARY KEY (english_title))", + "answer": "select count(english_title) from table_22102732_1 where director = \"carlos moreno\"" + }, + { + "question": "What is the id of the problem log that is created most recently?", + "context": "create table problem_log (problem_log_id varchar, log_entry_date varchar, PRIMARY KEY (problem_log_id))", + "answer": "select problem_log_id from problem_log order by log_entry_date desc limit 1" + }, + { + "question": "What is the intro date for the interface that equals pci?", + "context": "create table table_29778616_1 (intro_date varchar, interface varchar, PRIMARY KEY (intro_date))", + "answer": "select intro_date from table_29778616_1 where interface = \"pci\"" + }, + { + "question": "What is the channel that is on digital terrestrial channel 10?", + "context": "create table table_182410_10 (channel varchar, digital_terrestrial_channel varchar, PRIMARY KEY (channel))", + "answer": "select channel from table_182410_10 where digital_terrestrial_channel = \"10\"" + }, + { + "question": "What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar?", + "context": "create table table_20042805_2 (african_spoonbill varchar, hadeda_ibis varchar, PRIMARY KEY (african_spoonbill))", + "answer": "select african_spoonbill from table_20042805_2 where hadeda_ibis = \"flernecked nightjar\"" + }, + { + "question": "which was k. annamalai\u00b4s party a?", + "context": "create table table_22757733_4 (party varchar, runner_up_a varchar, PRIMARY KEY (party))", + "answer": "select party as a from table_22757733_4 where runner_up_a = \"k. annamalai\"" + }, + { + "question": "What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is the winning team?", + "context": "create table table_20079931_4 (highest_scoring_team varchar, circuit_location varchar, winning_team varchar, PRIMARY KEY (highest_scoring_team))", + "answer": "select highest_scoring_team from table_20079931_4 where circuit_location = \"ring knutstorp\" and winning_team = \"polestar racing\"" + }, + { + "question": "what's the\u00a0wine style\u00a0with\u00a0grand cru\u00a0being roman\u00e9e-conti", + "context": "create table table_13981938_1 (wine_style varchar, grand_cru varchar, PRIMARY KEY (wine_style))", + "answer": "select wine_style from table_13981938_1 where grand_cru = \"roman\u00e9e-conti\"" + }, + { + "question": "What is the total urban population of the city with the pinyin translation ch\u00e1ngch\u016bn?", + "context": "create table table_16489766_2 (urban_population__2010_ varchar, pinyin varchar, PRIMARY KEY (urban_population__2010_))", + "answer": "select count(urban_population__2010_) from table_16489766_2 where pinyin = \"ch\u00e1ngch\u016bn\"" + }, + { + "question": "Who owns the station on channel 33.3?", + "context": "create table table_1404984_1 (station_ownership varchar, virtual_channel varchar, PRIMARY KEY (station_ownership))", + "answer": "select station_ownership from table_1404984_1 where virtual_channel = \"33.3\"" + }, + { + "question": "Name the total number of outgoing manager for villarreal b", + "context": "create table table_27666856_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select count(outgoing_manager) from table_27666856_3 where team = \"villarreal b\"" + }, + { + "question": "What are the scores for games where the home team is Adelaide?", + "context": "create table table_16387953_1 (home_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16387953_1 where home_team = \"adelaide\"" + }, + { + "question": "When the team classification was quick step, what was the total number of general classifications?", + "context": "create table table_15294880_2 (general_classification varchar, team_classification varchar, PRIMARY KEY (general_classification))", + "answer": "select count(general_classification) from table_15294880_2 where team_classification = \"quick step\"" + }, + { + "question": "What driver achieved a 3:50:12 race time?", + "context": "create table table_2267465_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))", + "answer": "select driver from table_2267465_1 where race_time = \"3:50:12\"" + }, + { + "question": "Which owners originate in Mexico City?", + "context": "create table table_2899987_2 (owner varchar, origin varchar, PRIMARY KEY (owner))", + "answer": "select owner from table_2899987_2 where origin = \"mexico city\"" + }, + { + "question": "How many premier episodes were there with the title survivor's law ii?", + "context": "create table table_11926114_1 (premiere varchar, english_title varchar, PRIMARY KEY (premiere))", + "answer": "select count(premiere) from table_11926114_1 where english_title = \"survivor's law ii\"" + }, + { + "question": "The theme year they were born belongs to what artist?", + "context": "create table table_15383430_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_15383430_1 where theme = \"year they were born\"" + }, + { + "question": "What are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.", + "context": "create table table_191323_2 (alt_name varchar, notes varchar, PRIMARY KEY (alt_name))", + "answer": "select alt_name from table_191323_2 where notes = \"mission failed. guidance system failed. no orbit.\"" + }, + { + "question": "Show all headquarters without a company in banking industry.", + "context": "create table company (headquarters varchar, main_industry varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company except select headquarters from company where main_industry = 'banking'" + }, + { + "question": "What's the original title of the film Zozo?", + "context": "create table table_20061872_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_20061872_1 where film_title_used_in_nomination = \"zozo\"" + }, + { + "question": "How many titles are listed with 8.44 million viewers?", + "context": "create table table_24910733_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_24910733_1 where us_viewers__millions_ = \"8.44\"" + }, + { + "question": "Name the replacced by with ascoli", + "context": "create table table_17275810_7 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17275810_7 where team = \"ascoli\"" + }, + { + "question": "What was the outcome of the game when the partner is Rafael Osuna?", + "context": "create table table_2215159_2 (outcome varchar, partner varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_2215159_2 where partner = \"rafael osuna\"" + }, + { + "question": "what is the location for the date (to) 8 october 1922?", + "context": "create table table_12562214_1 (location varchar, date__to_ varchar, PRIMARY KEY (location))", + "answer": "select location from table_12562214_1 where date__to_ = \"8 october 1922\"" + }, + { + "question": "what's the\u00a0party\u00a0with\u00a0incumbent\u00a0being john sparkman", + "context": "create table table_1342292_2 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342292_2 where incumbent = \"john sparkman\"" + }, + { + "question": "How many times did Saxby Chambliss have a lead margin of 21?", + "context": "create table table_16751596_16 (republican varchar, lead_margin varchar, PRIMARY KEY (republican))", + "answer": "select count(republican) as :_saxby_chambliss from table_16751596_16 where lead_margin = 21" + }, + { + "question": "Which school is located in the hometown of Centerville, Ohio?", + "context": "create table table_11677691_9 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677691_9 where hometown = \"centerville, ohio\"" + }, + { + "question": "which course has most number of registered students?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_registrations (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name from courses as t1 join student_course_registrations as t2 on t1.course_id = t2.course_id group by t1.course_id order by count(*) desc limit 1" + }, + { + "question": "Find the states where have some college students in tryout.", + "context": "create table college (cname varchar, PRIMARY KEY (cname)); create table tryout (cname varchar, PRIMARY KEY (cname))", + "answer": "select distinct state from college as t1 join tryout as t2 on t1.cname = t2.cname" + }, + { + "question": "what's the\u00a0cover date\u00a0where\u00a0character(s)\u00a0is sandman (wesley dodds)", + "context": "create table table_1217448_1 (cover_date varchar, character_s_ varchar, PRIMARY KEY (cover_date))", + "answer": "select cover_date from table_1217448_1 where character_s_ = \"sandman (wesley dodds)\"" + }, + { + "question": "What is the name origin of Morrigan Linea?", + "context": "create table table_16799784_9 (name varchar, PRIMARY KEY (name))", + "answer": "select name as origin from table_16799784_9 where name = \"morrigan linea\"" + }, + { + "question": "List the camera lens names containing substring \"Digital\".", + "context": "create table camera_lens (name varchar, PRIMARY KEY (name))", + "answer": "select name from camera_lens where name like \"%digital%\"" + }, + { + "question": "what is the display size for the calculator ti-82?", + "context": "create table table_11703336_1 (display_size varchar, calculator varchar, PRIMARY KEY (display_size))", + "answer": "select display_size from table_11703336_1 where calculator = \"ti-82\"" + }, + { + "question": "What is every reference for the example of AF117?", + "context": "create table table_30011_2 (reference varchar, example varchar, PRIMARY KEY (reference))", + "answer": "select reference from table_30011_2 where example = \"af117\"" + }, + { + "question": "If the working force of HK is 32.8%, what are the Pakistanis' %?", + "context": "create table table_27257896_2 (pakistanis varchar, working_force_of_hk varchar, PRIMARY KEY (pakistanis))", + "answer": "select pakistanis from table_27257896_2 where working_force_of_hk = \"32.8%\"" + }, + { + "question": "When nel rapiz is the name what is the status?", + "context": "create table table_19061741_1 (status varchar, name varchar, PRIMARY KEY (status))", + "answer": "select status from table_19061741_1 where name = \"nel rapiz\"" + }, + { + "question": "What is the version when the codename is ada?", + "context": "create table table_27329061_2 (version varchar, codename varchar, PRIMARY KEY (version))", + "answer": "select version from table_27329061_2 where codename = \"ada\"" + }, + { + "question": "The date first lit is 1853 total number of current status.", + "context": "create table table_25597136_1 (current_status varchar, date_first_lit varchar, PRIMARY KEY (current_status))", + "answer": "select count(current_status) from table_25597136_1 where date_first_lit = \"1853\"" + }, + { + "question": "Name the number of v core for model number mobile athlon 64 3000+", + "context": "create table table_27277284_8 (v_core varchar, model_number varchar, PRIMARY KEY (v_core))", + "answer": "select count(v_core) from table_27277284_8 where model_number = \"mobile athlon 64 3000+\"" + }, + { + "question": "How many people live in the area of Sorell according to the Census of 2011?", + "context": "create table table_140297_1 (population_2011_census varchar, local_government_area varchar, PRIMARY KEY (population_2011_census))", + "answer": "select population_2011_census from table_140297_1 where local_government_area = \"sorell\"" + }, + { + "question": "Who was the bodybuilder when Coventry was operating?", + "context": "create table table_28035004_1 (bodybuilder varchar, operator varchar, PRIMARY KEY (bodybuilder))", + "answer": "select bodybuilder from table_28035004_1 where operator = \"coventry\"" + }, + { + "question": "Which allergy has most number of students affected?", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy))", + "answer": "select allergy from has_allergy group by allergy order by count(*) desc limit 1" + }, + { + "question": "Name the pinyin for mazar", + "context": "create table table_2008069_2 (pinyin varchar, conventional varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2008069_2 where conventional = \"mazar\"" + }, + { + "question": "Name the race caller for jim mckay and howard cosell and eddie arcaro", + "context": "create table table_22514845_5 (race_caller varchar, s_analyst varchar, trophy_presentation varchar, reporters varchar, PRIMARY KEY (race_caller))", + "answer": "select race_caller from table_22514845_5 where trophy_presentation = \"jim mckay and howard cosell\" and reporters = \"howard cosell\" and s_analyst = \"eddie arcaro\"" + }, + { + "question": "List the first name and birth date of all players from the country with code USA.", + "context": "create table players (first_name varchar, birth_date varchar, country_code varchar, PRIMARY KEY (first_name))", + "answer": "select first_name, birth_date from players where country_code = 'usa'" + }, + { + "question": "What is the coinage metal for a location of Fribourg and denomination of 00005 5 Francs?", + "context": "create table table_26336060_19 (coinage_metal varchar, location varchar, denomination varchar, PRIMARY KEY (coinage_metal))", + "answer": "select coinage_metal from table_26336060_19 where location = \"fribourg\" and denomination = \"00005 5 francs\"" + }, + { + "question": "What is the undisclosed when Wycombe Wanderers is unattached?", + "context": "create table table_23835213_2 (undisclosed varchar, wycombe_wanderers varchar, PRIMARY KEY (undisclosed))", + "answer": "select undisclosed from table_23835213_2 where wycombe_wanderers = \"unattached\"" + }, + { + "question": "On what position number is the club with a w-l-d of 5-7-4?", + "context": "create table table_13713206_1 (club__city_town_ varchar, w_l_d varchar, PRIMARY KEY (club__city_town_))", + "answer": "select count(club__city_town_) from table_13713206_1 where w_l_d = \"5-7-4\"" + }, + { + "question": "How many technicians are there?", + "context": "create table technician (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from technician" + }, + { + "question": "state the skating song of graeme & kristina", + "context": "create table table_19744915_3 (skating_song varchar, couple varchar, PRIMARY KEY (skating_song))", + "answer": "select skating_song from table_19744915_3 where couple = \"graeme & kristina\"" + }, + { + "question": "Farr Yacht Design designed boats for how many country/flags?", + "context": "create table table_19872699_1 (flag varchar, design_firm varchar, PRIMARY KEY (flag))", + "answer": "select count(flag) from table_19872699_1 where design_firm = \"farr yacht design\"" + }, + { + "question": "What is segment C in s07e05", + "context": "create table table_15187735_14 (segment_c varchar, netflix varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_14 where netflix = \"s07e05\"" + }, + { + "question": "find the name of driver who is driving the school bus with the longest working history.", + "context": "create table school_bus (driver_id varchar, PRIMARY KEY (driver_id)); create table driver (name varchar, driver_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from driver as t1 join school_bus as t2 on t1.driver_id = t2.driver_id order by years_working desc limit 1" + }, + { + "question": "What is the song choice where the original artist is Gino Paoli?", + "context": "create table table_25374338_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select count(song_choice) from table_25374338_1 where original_artist = \"gino paoli\"" + }, + { + "question": "Name the category for 50 totals", + "context": "create table table_26611679_3 (category varchar, totals varchar, PRIMARY KEY (category))", + "answer": "select category from table_26611679_3 where totals = \"50\"" + }, + { + "question": "Show different teams in eliminations and the number of eliminations from each team.", + "context": "create table elimination (team varchar, PRIMARY KEY (team))", + "answer": "select team, count(*) from elimination group by team" + }, + { + "question": "Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.", + "context": "create table medicine (name varchar, trade_name varchar, PRIMARY KEY (name)); create table medicine_enzyme_interaction (medicine_id varchar, enzyme_id varchar, PRIMARY KEY (medicine_id)); create table medicine (name varchar, trade_name varchar, id varchar, PRIMARY KEY (name)); create table enzyme (id varchar, product varchar, PRIMARY KEY (id))", + "answer": "select name, trade_name from medicine except select t1.name, t1.trade_name from medicine as t1 join medicine_enzyme_interaction as t2 on t2.medicine_id = t1.id join enzyme as t3 on t3.id = t2.enzyme_id where t3.product = 'protoporphyrinogen ix'" + }, + { + "question": "Find all the female members of club \"Bootup Baltimore\". Show the first name and last name.", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (fname varchar, lname varchar, stuid varchar, sex varchar, PRIMARY KEY (fname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))", + "answer": "select t3.fname, t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"bootup baltimore\" and t3.sex = \"f\"" + }, + { + "question": "What is the debut album for the artist with the winning song kemenangan hati?", + "context": "create table table_1646960_3 (debut_album varchar, winning_song varchar, PRIMARY KEY (debut_album))", + "answer": "select debut_album from table_1646960_3 where winning_song = \"kemenangan hati\"" + }, + { + "question": "How many high points occur with the team Umass?", + "context": "create table table_29556461_9 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_29556461_9 where team = \"umass\"" + }, + { + "question": "What is the characteristic name used by most number of the products?", + "context": "create table products (product_id varchar, PRIMARY KEY (product_id)); create table characteristics (characteristic_name varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "select t3.characteristic_name 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 group by t3.characteristic_name order by count(*) desc limit 1" + }, + { + "question": "The common of Chieri has what population density?", + "context": "create table table_1449176_1 (density__inhabitants_km_2__ varchar, common_of varchar, PRIMARY KEY (density__inhabitants_km_2__))", + "answer": "select density__inhabitants_km_2__ from table_1449176_1 where common_of = \"chieri\"" + }, + { + "question": "What is the poor law union of the Ardacrow townland?", + "context": "create table table_30121046_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30121046_1 where townland = \"ardacrow\"" + }, + { + "question": "How many customers have an active value of 1?", + "context": "create table customer (active varchar, PRIMARY KEY (active))", + "answer": "select count(*) from customer where active = '1'" + }, + { + "question": "What area was damaged when King Khalid Military City was targeted?", + "context": "create table table_23014685_1 (area_damaged varchar, target varchar, PRIMARY KEY (area_damaged))", + "answer": "select area_damaged from table_23014685_1 where target = \"king khalid military city\"" + }, + { + "question": "On November 14, 2007, how many different Republican: Jeff Sessions are there?", + "context": "create table table_16751596_12 (republican varchar, dates_administered varchar, PRIMARY KEY (republican))", + "answer": "select count(republican) as :_jeff_sessions from table_16751596_12 where dates_administered = \"november 14, 2007\"" + }, + { + "question": "How did Stella Farentino die?", + "context": "create table table_24143253_2 (cause_of_death varchar, name varchar, PRIMARY KEY (cause_of_death))", + "answer": "select cause_of_death from table_24143253_2 where name = \"stella farentino\"" + }, + { + "question": "Which room has the highest rate? List the room's full name, rate, check in and check out date.", + "context": "create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname)); create table reservations (rate varchar, checkin varchar, checkout varchar, room varchar, PRIMARY KEY (rate))", + "answer": "select t2.roomname, t1.rate, t1.checkin, t1.checkout from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t1.room order by t1.rate desc limit 1" + }, + { + "question": "What is the muzzle device on the colt model le1020?", + "context": "create table table_12834315_5 (muzzle_device varchar, colt_model_no varchar, PRIMARY KEY (muzzle_device))", + "answer": "select muzzle_device from table_12834315_5 where colt_model_no = \"le1020\"" + }, + { + "question": "Which film had Charles Bickford as supporting actor?", + "context": "create table table_24225238_1 (film varchar, supporting_actor varchar, PRIMARY KEY (film))", + "answer": "select film from table_24225238_1 where supporting_actor = \"charles bickford\"" + }, + { + "question": "What are the start and end dates for incidents with incident type code \"NOISE\"?", + "context": "create table behavior_incident (date_incident_start varchar, date_incident_end varchar, incident_type_code varchar, PRIMARY KEY (date_incident_start))", + "answer": "select date_incident_start, date_incident_end from behavior_incident where incident_type_code = \"noise\"" + }, + { + "question": "What is the winning pct for jersey 15?", + "context": "create table table_14389782_2 (winning_pct varchar, jersey_no varchar, PRIMARY KEY (winning_pct))", + "answer": "select winning_pct from table_14389782_2 where jersey_no = \"15\"" + }, + { + "question": "How many institutions do not have an associated protein in our record?", + "context": "create table protein (institution_id varchar, PRIMARY KEY (institution_id)); create table institution (institution_id varchar, PRIMARY KEY (institution_id))", + "answer": "select count(*) from institution where not institution_id in (select institution_id from protein)" + }, + { + "question": "What is the name of the episode that had 2.02 million u.s. viewers?", + "context": "create table table_27892955_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_27892955_1 where us_viewers__million_ = \"2.02\"" + }, + { + "question": "Who did the high assists in the game against Portland?", + "context": "create table table_23248869_6 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_23248869_6 where team = \"portland\"" + }, + { + "question": "List the first name of all the professionals along with the description of the treatment they have done.", + "context": "create table treatments (professional_id varchar, treatment_type_code varchar, PRIMARY KEY (professional_id)); create table treatment_types (treatment_type_description varchar, treatment_type_code varchar, PRIMARY KEY (treatment_type_description)); create table professionals (first_name varchar, professional_id varchar, PRIMARY KEY (first_name))", + "answer": "select distinct t1.first_name, t3.treatment_type_description from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id join treatment_types as t3 on t2.treatment_type_code = t3.treatment_type_code" + }, + { + "question": "In what laguage was Contotv 5?", + "context": "create table table_15887683_19 (language varchar, television_service varchar, PRIMARY KEY (language))", + "answer": "select language from table_15887683_19 where television_service = \"contotv 5\"" + }, + { + "question": "who is the the\u00a0winning driver\u00a0with\u00a0pole position\u00a0being paul tracy and\u00a0race name\u00a0being miller genuine draft 200", + "context": "create table table_14638077_2 (winning_driver varchar, pole_position varchar, race_name varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_14638077_2 where pole_position = \"paul tracy\" and race_name = \"miller genuine draft 200\"" + }, + { + "question": "How many semifinalists has Romania had?", + "context": "create table table_30008638_1 (semifinalists varchar, country_territory varchar, PRIMARY KEY (semifinalists))", + "answer": "select semifinalists from table_30008638_1 where country_territory = \"romania\"" + }, + { + "question": "Who were the away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska?", + "context": "create table table_29728596_2 (away_team varchar, competition varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_29728596_2 where competition = \"1st ``republic of srpska football day``\" and home_team = \"u 14 republic of srpska\"" + }, + { + "question": "For outgoing manager is alberto malesani mention all the applicable replaced by person", + "context": "create table table_27114708_2 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27114708_2 where outgoing_manager = \"alberto malesani\"" + }, + { + "question": "what is the number of different channel owners?", + "context": "create table channel (owner varchar, PRIMARY KEY (owner))", + "answer": "select count(distinct owner) from channel" + }, + { + "question": "The episode with the original airdate October 8, 2010, is directed by who?", + "context": "create table table_26982362_2 (directed_by varchar, original_airdate varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_26982362_2 where original_airdate = \"october 8, 2010\"" + }, + { + "question": "What is the percentage of total area in the ecozone that the percentage protected is 8.06?", + "context": "create table table_15555661_2 (percentage_of_total_area varchar, percentage_protected varchar, PRIMARY KEY (percentage_of_total_area))", + "answer": "select percentage_of_total_area from table_15555661_2 where percentage_protected = \"8.06\"" + }, + { + "question": "How many members are there?", + "context": "create table member (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from member" + }, + { + "question": "What is the hometown of Jarrid Famous?", + "context": "create table table_29418619_1 (hometown varchar, name varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_29418619_1 where name = \"jarrid famous\"" + }, + { + "question": "Who was the winner of the race at barbagallo raceway?", + "context": "create table table_20884160_1 (winner varchar, circuit varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_20884160_1 where circuit = \"barbagallo raceway\"" + }, + { + "question": "what's the\u00a0founder\u00a0where\u00a0moderate\u00a0is ether", + "context": "create table table_11256021_1 (founder varchar, moderate varchar, PRIMARY KEY (founder))", + "answer": "select founder from table_11256021_1 where moderate = \"ether\"" + }, + { + "question": "Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele borovnica.", + "context": "create table table_10798421_1 (village__german_ varchar, village__slovenian_ varchar, PRIMARY KEY (village__german_))", + "answer": "select village__german_ from table_10798421_1 where village__slovenian_ = \"sele borovnica\"" + }, + { + "question": "Show the first names and last names of all the guests that have apartment bookings with status code \"Confirmed\".", + "context": "create table apartment_bookings (guest_id varchar, booking_status_code varchar, PRIMARY KEY (guest_id)); create table guests (guest_first_name varchar, guest_last_name varchar, guest_id varchar, PRIMARY KEY (guest_first_name))", + "answer": "select t2.guest_first_name, t2.guest_last_name from apartment_bookings as t1 join guests as t2 on t1.guest_id = t2.guest_id where t1.booking_status_code = \"confirmed\"" + }, + { + "question": "Where the total trade is 14,954.86, what are the exports?", + "context": "create table table_26160007_1 (exports varchar, total_trade varchar, PRIMARY KEY (exports))", + "answer": "select exports from table_26160007_1 where total_trade = \"14,954.86\"" + }, + { + "question": "What was the team's position when the new manager was Lucas Alcaraz?", + "context": "create table table_17201869_3 (position_in_table varchar, replaced_by varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_17201869_3 where replaced_by = \"lucas alcaraz\"" + }, + { + "question": "Where the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?", + "context": "create table table_16439764_1 (time_to_ft__m__at_25\u00b0__seconds_ varchar, shell__lb_ varchar, max_height__ft_ varchar, PRIMARY KEY (time_to_ft__m__at_25\u00b0__seconds_))", + "answer": "select time_to_ft__m__at_25\u00b0__seconds_ from table_16439764_1 where shell__lb_ = \"12.5\" and max_height__ft_ > 20000.0" + }, + { + "question": "Which location names contain the word \"film\"?", + "context": "create table locations (location_name varchar, PRIMARY KEY (location_name))", + "answer": "select location_name from locations where location_name like \"%film%\"" + }, + { + "question": "List all club names in descending alphabetical order.", + "context": "create table club (name varchar, PRIMARY KEY (name))", + "answer": "select name from club order by name desc" + }, + { + "question": "What is the title of the episode written by daniel sackheim?", + "context": "create table table_2618061_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2618061_1 where directed_by = \"daniel sackheim\"" + }, + { + "question": "How many members have the black membership card?", + "context": "create table member (membership_card varchar, PRIMARY KEY (membership_card))", + "answer": "select count(*) from member where membership_card = 'black'" + }, + { + "question": "What was the game record if Marcus Camby (13) got the high rebounds?", + "context": "create table table_27734769_9 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_27734769_9 where high_rebounds = \"marcus camby (13)\"" + }, + { + "question": "Find the number of routes operated by American Airlines.", + "context": "create table routes (alid varchar, PRIMARY KEY (alid)); create table airlines (alid varchar, name varchar, PRIMARY KEY (alid))", + "answer": "select count(*) from airlines as t1 join routes as t2 on t1.alid = t2.alid where t1.name = 'american airlines'" + }, + { + "question": "List population when their car plates are 30-34.", + "context": "create table table_11654169_1 (population_in_1000__1931_ varchar, car_plates__since_1937_ varchar, PRIMARY KEY (population_in_1000__1931_))", + "answer": "select population_in_1000__1931_ from table_11654169_1 where car_plates__since_1937_ = \"30-34\"" + }, + { + "question": "What is the song released by Travis?", + "context": "create table table_25760427_2 (single varchar, artist varchar, PRIMARY KEY (single))", + "answer": "select single from table_25760427_2 where artist = \"travis\"" + }, + { + "question": "How many tourist arrivals occurred in 2011 in the country of Italy?", + "context": "create table table_14752049_1 (international_tourist_arrivals__2011_ varchar, country varchar, PRIMARY KEY (international_tourist_arrivals__2011_))", + "answer": "select international_tourist_arrivals__2011_ from table_14752049_1 where country = \"italy\"" + }, + { + "question": "What are the title(s) of episodes directed by david solomon and written by marti noxon?", + "context": "create table table_28195971_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28195971_1 where directed_by = \"david solomon\" and written_by = \"marti noxon\"" + }, + { + "question": "Name the most no votes", + "context": "create table table_256286_14 (no_votes integer, PRIMARY KEY (no_votes))", + "answer": "select max(no_votes) from table_256286_14" + }, + { + "question": "Who was the successor when the vacator was chester e. holifield (d)?", + "context": "create table table_1134091_4 (successor varchar, vacator varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_1134091_4 where vacator = \"chester e. holifield (d)\"" + }, + { + "question": "What is every value for Under-17 if Under-15 is Maria Elena Ubina?", + "context": "create table table_26368963_2 (under_17 varchar, under_15 varchar, PRIMARY KEY (under_17))", + "answer": "select under_17 from table_26368963_2 where under_15 = \"maria elena ubina\"" + }, + { + "question": "What are the distinct payment method codes in all the invoices?", + "context": "create table invoices (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select distinct payment_method_code from invoices" + }, + { + "question": "How many opponents was a game with a record 17-6 played against?", + "context": "create table table_18894744_6 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_18894744_6 where record = \"17-6\"" + }, + { + "question": "Name the employee real name for raw and superstar", + "context": "create table table_26397277_3 (employee__real_name_ varchar, brand__from_ varchar, role_s_ varchar, PRIMARY KEY (employee__real_name_))", + "answer": "select employee__real_name_ from table_26397277_3 where brand__from_ = \"raw\" and role_s_ = \"superstar\"" + }, + { + "question": "What is the title of the course that was offered at building Chandler during the fall semester in the year of 2010?", + "context": "create table course (title varchar, course_id varchar, PRIMARY KEY (title)); create table section (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.title from course as t1 join section as t2 on t1.course_id = t2.course_id where building = 'chandler' and semester = 'fall' and year = 2010" + }, + { + "question": "How many standards are there, when the launch date was 17.04.2006?", + "context": "create table table_19246_1 (standard varchar, launch_date__ddmmyyyy_ varchar, PRIMARY KEY (standard))", + "answer": "select count(standard) from table_19246_1 where launch_date__ddmmyyyy_ = \"17.04.2006\"" + }, + { + "question": "What was the outcome for Newcombe in the matches he played against Jan Kode\u0161?", + "context": "create table table_23259077_1 (outcome varchar, opponent_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_23259077_1 where opponent_in_the_final = \"jan kode\u0161\"" + }, + { + "question": "What are the headquarters and industries of all companies?", + "context": "create table company (headquarters varchar, industry varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters, industry from company" + }, + { + "question": "How many type classifications are given to the measure with the description, calling convention to revise state constitution?", + "context": "create table table_256286_5 (type varchar, description varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_256286_5 where description = \"calling convention to revise state constitution\"" + }, + { + "question": "How do you say the ukrainian word \u0434\u044f\u043a\u0443\u044e (diakuju) in English?", + "context": "create table table_28136_15 (english_word varchar, ukrainian varchar, PRIMARY KEY (english_word))", + "answer": "select english_word from table_28136_15 where ukrainian = \"\u0434\u044f\u043a\u0443\u044e (diakuju)\"" + }, + { + "question": "Name the most released for the in crowd", + "context": "create table table_24600706_1 (released integer, song varchar, PRIMARY KEY (released))", + "answer": "select max(released) from table_24600706_1 where song = \"the in crowd\"" + }, + { + "question": "Which branding has the format of southern country?", + "context": "create table table_19131921_1 (branding varchar, format varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_19131921_1 where format = \"southern country\"" + }, + { + "question": "What was the order # of the theme Male Singers?", + "context": "create table table_27616663_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_27616663_1 where theme = \"male singers\"" + }, + { + "question": "Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49?", + "context": "create table table_1601027_1 (headphone_model varchar, driver_matched_db varchar, us_msrp varchar, PRIMARY KEY (headphone_model))", + "answer": "select headphone_model from table_1601027_1 where driver_matched_db = \"0.1\" and us_msrp = \"$49\"" + }, + { + "question": "Show names for artists without any exhibition.", + "context": "create table artist (name varchar, artist_id varchar, PRIMARY KEY (name)); create table exhibition (name varchar, artist_id varchar, PRIMARY KEY (name))", + "answer": "select name from artist where not artist_id in (select artist_id from exhibition)" + }, + { + "question": "what is the registration located on 31 january 1975 where first flew?", + "context": "create table table_1997759_1 (registration varchar, first_flew varchar, PRIMARY KEY (registration))", + "answer": "select registration from table_1997759_1 where first_flew = \"31 january 1975\"" + }, + { + "question": "What are the template ids with template type description \"Presentation\".", + "context": "create table templates (template_id varchar, template_type_code varchar, PRIMARY KEY (template_id)); create table ref_template_types (template_type_code varchar, template_type_description varchar, PRIMARY KEY (template_type_code))", + "answer": "select t2.template_id from ref_template_types as t1 join templates as t2 on t1.template_type_code = t2.template_type_code where t1.template_type_description = \"presentation\"" + }, + { + "question": "How many customers in state of CA?", + "context": "create table customers (state varchar, PRIMARY KEY (state))", + "answer": "select count(*) from customers where state = \"ca\"" + }, + { + "question": "What were the results for round of 32 for Nicole Vaidi\u0161ov\u00e1?", + "context": "create table table_17289604_38 (round_of_32 varchar, athlete varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_17289604_38 where athlete = \"nicole vaidi\u0161ov\u00e1\"" + }, + { + "question": "What model type has model designation 97500?", + "context": "create table table_20866024_2 (model_type varchar, model_designation varchar, PRIMARY KEY (model_type))", + "answer": "select model_type from table_20866024_2 where model_designation = \"97500\"" + }, + { + "question": "List all document ids and receipt dates of documents.", + "context": "create table documents (document_id varchar, receipt_date varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, receipt_date from documents" + }, + { + "question": "Who is the head coach for the team that plays at Altrincham Ice Dome?", + "context": "create table table_2384331_1 (head_coach varchar, arena varchar, PRIMARY KEY (head_coach))", + "answer": "select head_coach from table_2384331_1 where arena = \"altrincham ice dome\"" + }, + { + "question": "What is the title of every song, and how many weeks was each song at #1 for One Direction?", + "context": "create table table_19542477_9 (song_s__\u2014_weeks varchar, artist_s_ varchar, PRIMARY KEY (song_s__\u2014_weeks))", + "answer": "select song_s__\u2014_weeks from table_19542477_9 where artist_s_ = \"one direction\"" + }, + { + "question": "what's the\u00a0shuttle\u00a0with\u00a0primary payload(s)\u00a0being united states microgravity laboratory-1", + "context": "create table table_14118521_1 (shuttle varchar, primary_payload_s_ varchar, PRIMARY KEY (shuttle))", + "answer": "select shuttle from table_14118521_1 where primary_payload_s_ = \"united states microgravity laboratory-1\"" + }, + { + "question": "What is shown for november 3 when june 10-11 is june 10, 1964?", + "context": "create table table_25252080_3 (november_3 varchar, june_10_11 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25252080_3 where june_10_11 = \"june 10, 1964\"" + }, + { + "question": "What is the name of the episode that was written by Scott M. Gimple?", + "context": "create table table_27450976_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_27450976_1 where written_by = \"scott m. gimple\"" + }, + { + "question": "Who were the candidates when Henry Garland Dupr\u00e9 was incumbent?", + "context": "create table table_1342451_16 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342451_16 where incumbent = \"henry garland dupr\u00e9\"" + }, + { + "question": "Show all flight numbers with aircraft Airbus A340-300.", + "context": "create table flight (flno varchar, aid varchar, PRIMARY KEY (flno)); create table aircraft (aid varchar, name varchar, PRIMARY KEY (aid))", + "answer": "select t1.flno from flight as t1 join aircraft as t2 on t1.aid = t2.aid where t2.name = \"airbus a340-300\"" + }, + { + "question": "What is the name of the integrated where allied-related is shared?", + "context": "create table table_11944282_1 (component varchar, allied_related varchar, PRIMARY KEY (component))", + "answer": "select component from table_11944282_1 where allied_related = \"shared\"" + }, + { + "question": "where title is beginning callanetics , what is the total of format ?", + "context": "create table table_11222744_2 (format varchar, title varchar, PRIMARY KEY (format))", + "answer": "select count(format) from table_11222744_2 where title = \"beginning callanetics\"" + }, + { + "question": "Show the first year and last year of parties with theme \"Spring\" or \"Teqnology\".", + "context": "create table party (first_year varchar, last_year varchar, party_theme varchar, PRIMARY KEY (first_year))", + "answer": "select first_year, last_year from party where party_theme = \"spring\" or party_theme = \"teqnology\"" + }, + { + "question": "How many different kinds of information sources are there for injury accidents?", + "context": "create table injury_accident (source varchar, PRIMARY KEY (source))", + "answer": "select count(distinct source) from injury_accident" + }, + { + "question": "What was head count in 2010 where the farm production is 6.9?", + "context": "create table table_13618358_1 (agri_culture_b varchar, PRIMARY KEY (agri_culture_b))", + "answer": "select max(2010 as _population__000_) from table_13618358_1 where agri_culture_b = \"6.9\"" + }, + { + "question": "What is the number of generators where the power capicity is 78.7?", + "context": "create table table_11456251_5 (number_of_generators varchar, power_capacity__gw_ varchar, PRIMARY KEY (number_of_generators))", + "answer": "select count(number_of_generators) from table_11456251_5 where power_capacity__gw_ = \"78.7\"" + }, + { + "question": "What was the manner in which Petrik Sander departed?", + "context": "create table table_17085981_2 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_17085981_2 where outgoing_manager = \"petrik sander\"" + }, + { + "question": "In which civil parish is ballymacandrick?", + "context": "create table table_30120605_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish))", + "answer": "select civil_parish from table_30120605_1 where townland = \"ballymacandrick\"" + }, + { + "question": "When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles?", + "context": "create table table_14319023_2 (boys_singles varchar, mixed_doubles varchar, PRIMARY KEY (boys_singles))", + "answer": "select boys_singles from table_14319023_2 where mixed_doubles = \"danny bawa chrisnanta debby susanto\"" + }, + { + "question": "How many years of introduction does the Neal Submachine Gun have?", + "context": "create table table_29474407_11 (year_of_intro varchar, name__designation varchar, PRIMARY KEY (year_of_intro))", + "answer": "select count(year_of_intro) from table_29474407_11 where name__designation = \"neal submachine gun\"" + }, + { + "question": "what's the total number of\u00a0south australia\u00a0with\u00a0victoria\u00a0value of 2173", + "context": "create table table_1057262_2 (south_australia varchar, victoria varchar, PRIMARY KEY (south_australia))", + "answer": "select count(south_australia) from table_1057262_2 where victoria = 2173" + }, + { + "question": "What party is Sanford Bishop a member of?", + "context": "create table table_1341522_13 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341522_13 where incumbent = \"sanford bishop\"" + }, + { + "question": "@ Chicago had a high points of what?", + "context": "create table table_17355408_7 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_17355408_7 where team = \"@ chicago\"" + }, + { + "question": "What schools are accredited by COE?", + "context": "create table table_2064747_1 (location_s_ varchar, accreditation varchar, PRIMARY KEY (location_s_))", + "answer": "select location_s_ from table_2064747_1 where accreditation = \"coe\"" + }, + { + "question": "Find the name of physicians who are in charge of more than one patient.", + "context": "create table patient (pcp varchar, PRIMARY KEY (pcp)); create table physician (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select t1.name from physician as t1 join patient as t2 on t1.employeeid = t2.pcp group by t1.employeeid having count(*) > 1" + }, + { + "question": "What is the bandwidth for downstream of 20 mbit/s for 69 tl?", + "context": "create table table_17304621_14 (bandwidth varchar, downstream varchar, price_tl varchar, PRIMARY KEY (bandwidth))", + "answer": "select bandwidth from table_17304621_14 where downstream = \"20 mbit/s\" and price_tl = \"69 tl\"" + }, + { + "question": "Show the number of transactions for different investors.", + "context": "create table transactions (investor_id varchar, PRIMARY KEY (investor_id))", + "answer": "select investor_id, count(*) from transactions group by investor_id" + }, + { + "question": "Who had the high assist total when the team was 0-1?", + "context": "create table table_27902171_4 (high_assists varchar, record varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27902171_4 where record = \"0-1\"" + }, + { + "question": "Which hometown has the college Louisiana State?", + "context": "create table table_11677691_9 (hometown varchar, college varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_9 where college = \"louisiana state\"" + }, + { + "question": "How many followers does each user have?", + "context": "create table follows (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from follows" + }, + { + "question": "What is the name of the artist who joined latest?", + "context": "create table artist (name varchar, year_join varchar, PRIMARY KEY (name))", + "answer": "select name from artist order by year_join desc limit 1" + }, + { + "question": "Show the names of authors from college \"Florida\" or \"Temple\"", + "context": "create table submission (author varchar, college varchar, PRIMARY KEY (author))", + "answer": "select author from submission where college = \"florida\" or college = \"temple\"" + }, + { + "question": "Find the name of dorms that do not have amenity TV Lounge.", + "context": "create table dorm (dorm_name varchar, dormid varchar, PRIMARY KEY (dorm_name)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm (dorm_name varchar, PRIMARY KEY (dorm_name)); create table dorm_amenity (amenid varchar, amenity_name varchar, PRIMARY KEY (amenid))", + "answer": "select dorm_name from dorm except select t1.dorm_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid where t3.amenity_name = 'tv lounge'" + }, + { + "question": "Who was second runner up when Janina San Miguel won Binibining Pilipinas-World?", + "context": "create table table_1825751_4 (second_runner_up varchar, binibining_pilipinas_world varchar, PRIMARY KEY (second_runner_up))", + "answer": "select second_runner_up from table_1825751_4 where binibining_pilipinas_world = \"janina san miguel\"" + }, + { + "question": "How many body builders are there?", + "context": "create table body_builder (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from body_builder" + }, + { + "question": "What is the 4wi when the economy is 7.82?", + "context": "create table table_27268238_5 (economy varchar, PRIMARY KEY (economy))", + "answer": "select 4 as wi from table_27268238_5 where economy = \"7.82\"" + }, + { + "question": "What is maximum, minimum and average amount of outstanding of customer?", + "context": "create table customers (amount_outstanding integer, PRIMARY KEY (amount_outstanding))", + "answer": "select max(amount_outstanding), min(amount_outstanding), avg(amount_outstanding) from customers" + }, + { + "question": "What other cadidate ran against Dave Treen?", + "context": "create table table_1341663_19 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341663_19 where incumbent = \"dave treen\"" + }, + { + "question": "At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.", + "context": "create table visits_restaurant (id varchar, PRIMARY KEY (id)); create table restaurant (id varchar, PRIMARY KEY (id))", + "answer": "select restaurant.resname, sum(visits_restaurant.spent) from visits_restaurant join restaurant on visits_restaurant.resid = restaurant.resid group by restaurant.resid order by sum(visits_restaurant.spent) limit 1" + }, + { + "question": "what's the\u00a0grand prix\u00a0with\u00a0winning driver\u00a0being jenson button", + "context": "create table table_12161822_5 (grand_prix varchar, winning_driver varchar, PRIMARY KEY (grand_prix))", + "answer": "select grand_prix from table_12161822_5 where winning_driver = \"jenson button\"" + }, + { + "question": "How many faculty members have 20 years of experience?", + "context": "create table table_17384764_1 (designation varchar, experience varchar, PRIMARY KEY (designation))", + "answer": "select count(designation) from table_17384764_1 where experience = \"20 years\"" + }, + { + "question": "What is the mail date of the document with id 7?", + "context": "create table documents_mailed (mailing_date varchar, document_id varchar, PRIMARY KEY (mailing_date))", + "answer": "select mailing_date from documents_mailed where document_id = 7" + }, + { + "question": "Name the least projected opening", + "context": "create table table_22771048_3 (projected_opening integer, PRIMARY KEY (projected_opening))", + "answer": "select min(projected_opening) from table_22771048_3" + }, + { + "question": "How many time is the theme rotary international : 100 years in canada?", + "context": "create table table_25468520_1 (printing_process varchar, theme varchar, PRIMARY KEY (printing_process))", + "answer": "select count(printing_process) from table_25468520_1 where theme = \"rotary international : 100 years in canada\"" + }, + { + "question": "Which population areas have \"replaced by us 83\" listed in their remarks section?", + "context": "create table table_11336756_6 (population_area varchar, remarks varchar, PRIMARY KEY (population_area))", + "answer": "select population_area from table_11336756_6 where remarks = \"replaced by us 83\"" + }, + { + "question": "Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?", + "context": "create table table_28715942_5 (arranger_s_ varchar, vocal_percussionist varchar, PRIMARY KEY (arranger_s_))", + "answer": "select arranger_s_ from table_28715942_5 where vocal_percussionist = \"alexei kalveks and dave brennan\"" + }, + { + "question": "Who the GM winning team when the EP winning team was #37 Porsche?", + "context": "create table table_29225103_2 (gm_winning_team varchar, ep_winning_team varchar, PRIMARY KEY (gm_winning_team))", + "answer": "select gm_winning_team from table_29225103_2 where ep_winning_team = \"#37 porsche\"" + }, + { + "question": "Who is the writer when the director is bob berlinger?", + "context": "create table table_29747178_2 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_29747178_2 where directed_by = \"bob berlinger\"" + }, + { + "question": "What is the id for the employee called Ebba?", + "context": "create table employees (employee_id varchar, employee_name varchar, PRIMARY KEY (employee_id))", + "answer": "select employee_id from employees where employee_name = \"ebba\"" + }, + { + "question": "What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?", + "context": "create table table_23465864_5 (tues_25_aug varchar, fri_28_aug varchar, PRIMARY KEY (tues_25_aug))", + "answer": "select tues_25_aug from table_23465864_5 where fri_28_aug = \"23' 54.54 94.684mph\"" + }, + { + "question": "In what circuit was Bruno Spengler the winning driver?", + "context": "create table table_25213146_2 (circuit varchar, winning_driver varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_25213146_2 where winning_driver = \"bruno spengler\"" + }, + { + "question": "What are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?", + "context": "create table table_15887683_5 (n\u00b0 varchar, television_service varchar, package_option varchar, content varchar, PRIMARY KEY (n\u00b0))", + "answer": "select n\u00b0 from table_15887683_5 where package_option = \"sky cinema\" and content = \"cinema\" and television_service = \"sky cinema\" + 24" + }, + { + "question": "Name the power for dymd-fm", + "context": "create table table_27914076_1 (power_kw varchar, callsign varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_27914076_1 where callsign = \"dymd-fm\"" + }, + { + "question": "Name the audition city for hyatt regency chicago", + "context": "create table table_22897967_1 (audition_city varchar, callback_venue varchar, PRIMARY KEY (audition_city))", + "answer": "select audition_city from table_22897967_1 where callback_venue = \"hyatt regency chicago\"" + }, + { + "question": "What is every state and District of Columbia with 60.0% overweight or obese adults?", + "context": "create table table_18958648_1 (state_and_district_of_columbia varchar, overweight__incl_obese__adults varchar, PRIMARY KEY (state_and_district_of_columbia))", + "answer": "select state_and_district_of_columbia from table_18958648_1 where overweight__incl_obese__adults = \"60.0%\"" + }, + { + "question": "What was the status of tropartic?", + "context": "create table table_12001616_4 (status varchar, car_name varchar, PRIMARY KEY (status))", + "answer": "select status from table_12001616_4 where car_name = \"tropartic\"" + }, + { + "question": "What are all the name(namesakes) for the entire chart?", + "context": "create table table_29860752_11 (name__namesake_ varchar, PRIMARY KEY (name__namesake_))", + "answer": "select name__namesake_ from table_29860752_11" + }, + { + "question": "Which network has Marty Reid as host and lap-by-lap broadcaster?", + "context": "create table table_10716893_3 (network varchar, lap_by_lap varchar, host varchar, PRIMARY KEY (network))", + "answer": "select network from table_10716893_3 where lap_by_lap = \"marty reid\" and host = \"marty reid\"" + }, + { + "question": "What years did the player who's school is Clemson spend in Orlando?", + "context": "create table table_15621965_16 (years_in_orlando varchar, school_club_team varchar, PRIMARY KEY (years_in_orlando))", + "answer": "select years_in_orlando from table_15621965_16 where school_club_team = \"clemson\"" + }, + { + "question": "What are the different location codes for documents?", + "context": "create table document_locations (location_code varchar, PRIMARY KEY (location_code))", + "answer": "select distinct location_code from document_locations" + }, + { + "question": "What percentage of votes does the shareholder with 78.19% of capital have?", + "context": "create table table_206359_1 (_percentage_of_votes varchar, _percentage_of_capital varchar, PRIMARY KEY (_percentage_of_votes))", + "answer": "select _percentage_of_votes from table_206359_1 where _percentage_of_capital = \"78.19\"" + }, + { + "question": "Name the performance order of the velasco brothers", + "context": "create table table_26267849_11 (performance_order varchar, artist varchar, PRIMARY KEY (performance_order))", + "answer": "select performance_order from table_26267849_11 where artist = \"velasco brothers\"" + }, + { + "question": "League apps (sub) maximum?", + "context": "create table table_1112176_1 (league_apps__sub_ integer, PRIMARY KEY (league_apps__sub_))", + "answer": "select max(league_apps__sub_) from table_1112176_1" + }, + { + "question": "What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?", + "context": "create table table_23465864_5 (mon_24_aug varchar, fri_28_aug varchar, PRIMARY KEY (mon_24_aug))", + "answer": "select mon_24_aug from table_23465864_5 where fri_28_aug = \"26' 04.60 86.814mph\"" + }, + { + "question": "Name the candidates for l. mendel rivers", + "context": "create table table_1341930_40 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341930_40 where incumbent = \"l. mendel rivers\"" + }, + { + "question": "What was the manner of leaving the team for the manager of Gostaresh Foolad?", + "context": "create table table_22297140_3 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_22297140_3 where team = \"gostaresh foolad\"" + }, + { + "question": "Name the institution for purple aces", + "context": "create table table_24216139_2 (institution varchar, nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_24216139_2 where nickname = \"purple aces\"" + }, + { + "question": "Which country did Johanna Klum presented the show?", + "context": "create table table_24598274_20 (country varchar, presenter_s_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_24598274_20 where presenter_s_ = \"johanna klum\"" + }, + { + "question": "Which titles have 18.73 u.s. viewers.", + "context": "create table table_1130632_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_1130632_1 where us_viewers__million_ = \"18.73\"" + }, + { + "question": "What was the least amount of camp mates?", + "context": "create table table_14345690_1 (camp_mates integer, PRIMARY KEY (camp_mates))", + "answer": "select min(camp_mates) from table_14345690_1" + }, + { + "question": "What was the actors name that vadim ilyenko directed?", + "context": "create table table_10236830_1 (actors_name varchar, director varchar, PRIMARY KEY (actors_name))", + "answer": "select actors_name from table_10236830_1 where director = \"vadim ilyenko\"" + }, + { + "question": "List the project details of the projects with the research outcome described with the substring 'Published'.", + "context": "create table research_outcomes (outcome_code varchar, outcome_description varchar, PRIMARY KEY (outcome_code)); create table project_outcomes (project_id varchar, outcome_code varchar, PRIMARY KEY (project_id)); create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details))", + "answer": "select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id join research_outcomes as t3 on t2.outcome_code = t3.outcome_code where t3.outcome_description like '%published%'" + }, + { + "question": "How many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?", + "context": "create table table_15162479_8 (eviction_result varchar, eviction_no varchar, vote_to_save varchar, PRIMARY KEY (eviction_result))", + "answer": "select count(eviction_result) from table_15162479_8 where eviction_no = 12 and vote_to_save = \"2.76%\"" + }, + { + "question": "Find all airlines that have at least 10 flights.", + "context": "create table flights (airline varchar, PRIMARY KEY (airline)); create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline group by t1.airline having count(*) > 10" + }, + { + "question": "What is the resulting score for the episodes where Rufus's guest is Sean Lock?", + "context": "create table table_19930660_3 (winner varchar, rufus_guest varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_19930660_3 where rufus_guest = \"sean lock\"" + }, + { + "question": "When 9 games (28,002 avg.) is the results of the games what is the date/year?", + "context": "create table table_21436373_7 (date_year varchar, result_games varchar, PRIMARY KEY (date_year))", + "answer": "select date_year from table_21436373_7 where result_games = \"9 games (28,002 avg.)\"" + }, + { + "question": "What actor played the \"female, older\" role in the original production?", + "context": "create table table_17827271_1 (actor_in_original_production varchar, actor_required varchar, PRIMARY KEY (actor_in_original_production))", + "answer": "select actor_in_original_production from table_17827271_1 where actor_required = \"female, older\"" + }, + { + "question": "What date was an episode with a run time of 24:30 broadcasted?", + "context": "create table table_1579922_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_1579922_1 where run_time = \"24:30\"" + }, + { + "question": "What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55?", + "context": "create table table_25042332_22 (preschool__0_5_years_ varchar, tertiary__18_24_years_ varchar, PRIMARY KEY (preschool__0_5_years_))", + "answer": "select preschool__0_5_years_ from table_25042332_22 where tertiary__18_24_years_ = \"29.55\"" + }, + { + "question": "What are all the fault descriptions and the fault status of all the faults recoreded in the logs?", + "context": "create table fault_log (fault_description varchar, fault_log_entry_id varchar, PRIMARY KEY (fault_description)); create table fault_log_parts (fault_status varchar, fault_log_entry_id varchar, PRIMARY KEY (fault_status))", + "answer": "select t1.fault_description, t2.fault_status from fault_log as t1 join fault_log_parts as t2 on t1.fault_log_entry_id = t2.fault_log_entry_id" + }, + { + "question": "What is the date the episode directed by rob bailey aired?", + "context": "create table table_26914076_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26914076_3 where directed_by = \"rob bailey\"" + }, + { + "question": "Name the team number 1 for san lorenzo", + "context": "create table table_23812628_1 (team__number1 varchar, team__number2 varchar, PRIMARY KEY (team__number1))", + "answer": "select team__number1 from table_23812628_1 where team__number2 = \"san lorenzo\"" + }, + { + "question": "Show all student IDs who have at least two allergies.", + "context": "create table has_allergy (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from has_allergy group by stuid having count(*) >= 2" + }, + { + "question": "How many data were given on 2010/2011 in Brazil?", + "context": "create table table_27712_2 (country varchar, PRIMARY KEY (country))", + "answer": "select count(2010 as _11) from table_27712_2 where country = \"brazil\"" + }, + { + "question": "What was the average speed for a racetime of 3:08:08?", + "context": "create table table_2196127_1 (average_speed__mph_ varchar, race_time varchar, PRIMARY KEY (average_speed__mph_))", + "answer": "select average_speed__mph_ from table_2196127_1 where race_time = \"3:08:08\"" + }, + { + "question": "what's the\u00a0tuesday\u00a0time with\u00a0location\u00a0being millhopper", + "context": "create table table_11019212_1 (tuesday varchar, location varchar, PRIMARY KEY (tuesday))", + "answer": "select tuesday from table_11019212_1 where location = \"millhopper\"" + }, + { + "question": "What is the result/margin when fox sports 1 broadcast the game played at mcg?", + "context": "create table table_24919137_2 (result_margin varchar, broadcaster varchar, venue varchar, PRIMARY KEY (result_margin))", + "answer": "select result_margin from table_24919137_2 where broadcaster = \"fox sports 1\" and venue = \"mcg\"" + }, + { + "question": "Name the simplified charaacters being hsin-y\u00fcan \u2026 i-ma", + "context": "create table table_16162581_1 (simplified_characters varchar, wade_giles varchar, PRIMARY KEY (simplified_characters))", + "answer": "select simplified_characters from table_16162581_1 where wade_giles = \"hsin-y\u00fcan \u2026 i-ma\"" + }, + { + "question": "How many templates do we have?", + "context": "create table templates (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from templates" + }, + { + "question": "Which ralliers won the stages that were at 18:54 GMT?", + "context": "create table table_21326205_2 (winner varchar, time__gmt_ varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_21326205_2 where time__gmt_ = \"18:54\"" + }, + { + "question": "Where does the customer with the first name Linda live? And what is her email?", + "context": "create table customer (email varchar, address_id varchar, first_name varchar, PRIMARY KEY (email)); create table address (address varchar, address_id varchar, PRIMARY KEY (address))", + "answer": "select t2.address, t1.email from customer as t1 join address as t2 on t2.address_id = t1.address_id where t1.first_name = 'linda'" + }, + { + "question": "What was the constructor in the Belgian Grand Prix round?", + "context": "create table table_2911781_3 (constructor varchar, grand_prix varchar, PRIMARY KEY (constructor))", + "answer": "select constructor from table_2911781_3 where grand_prix = \"belgian grand_prix\"" + }, + { + "question": "Name the round 16 for did not advance and light flyweight", + "context": "create table table_17417383_6 (round_of_16 varchar, quarterfinals varchar, event varchar, PRIMARY KEY (round_of_16))", + "answer": "select round_of_16 from table_17417383_6 where quarterfinals = \"did not advance\" and event = \"light flyweight\"" + }, + { + "question": "Name the results for #23 lotus", + "context": "create table table_27561503_2 (results varchar, sports_20_winning_team varchar, PRIMARY KEY (results))", + "answer": "select count(results) from table_27561503_2 where sports_20_winning_team = \"#23 lotus\"" + }, + { + "question": "When was the game developed by Microvision released?", + "context": "create table table_12744399_1 (initial_release_date varchar, developer varchar, PRIMARY KEY (initial_release_date))", + "answer": "select initial_release_date from table_12744399_1 where developer = \"microvision\"" + }, + { + "question": "if the geez is libb, what is the akkadian?", + "context": "create table table_26919_7 (akkadian varchar, geez varchar, PRIMARY KEY (akkadian))", + "answer": "select akkadian from table_26919_7 where geez = \"libb\"" + }, + { + "question": "What are the security forces when the civilians are 202?", + "context": "create table table_21636599_2 (security_forces varchar, civilians varchar, PRIMARY KEY (security_forces))", + "answer": "select security_forces from table_21636599_2 where civilians = \"202\"" + }, + { + "question": "What is the Italian word for the English word \"otter\"?", + "context": "create table table_2077192_2 (italian varchar, english varchar, PRIMARY KEY (italian))", + "answer": "select italian from table_2077192_2 where english = \"otter\"" + }, + { + "question": "Who was the high rebound for the high assists of d. j. augustin (8)?", + "context": "create table table_17001658_10 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17001658_10 where high_assists = \"d. j. augustin (8)\"" + }, + { + "question": "Who was the outgoing manager of Charleroi?", + "context": "create table table_27374004_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_27374004_3 where team = \"charleroi\"" + }, + { + "question": "Which cmi cross reference id is not related to any parking taxes?", + "context": "create table parking_fines (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id)); create table cmi_cross_references (cmi_cross_ref_id varchar, PRIMARY KEY (cmi_cross_ref_id))", + "answer": "select cmi_cross_ref_id from cmi_cross_references except select cmi_cross_ref_id from parking_fines" + }, + { + "question": "How many week 2 scores have a week 7 score of 40 + 40 = 80?", + "context": "create table table_28946565_2 (week_2 varchar, week_7 varchar, PRIMARY KEY (week_2))", + "answer": "select count(week_2) from table_28946565_2 where week_7 = 40 + 40 = 80" + }, + { + "question": "What is the name of the host nations if the winner was Hong Kong 207/6 (47.1 overs)?", + "context": "create table table_22577693_1 (host_nation_s_ varchar, winner varchar, PRIMARY KEY (host_nation_s_))", + "answer": "select host_nation_s_ from table_22577693_1 where winner = \"hong kong 207/6 (47.1 overs)\"" + }, + { + "question": "What was the capacity at construction of the stadium in Gold Coast, Queensland?", + "context": "create table table_28885977_1 (capacity_at_construction varchar, location varchar, PRIMARY KEY (capacity_at_construction))", + "answer": "select capacity_at_construction from table_28885977_1 where location = \"gold coast, queensland\"" + }, + { + "question": "If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c?", + "context": "create table table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c varchar, condition_parameter varchar, PRIMARY KEY (coordinate_velocity_v_dx_dt_in_units_of_c))", + "answer": "select coordinate_velocity_v_dx_dt_in_units_of_c from table_15314901_1 where condition_parameter = \"rapidity of 2 hyperbolic radians\"" + }, + { + "question": "The Ring of Steel possesses what ISBN?", + "context": "create table table_2950964_5 (isbn varchar, title varchar, PRIMARY KEY (isbn))", + "answer": "select isbn from table_2950964_5 where title = \"the ring of steel\"" + }, + { + "question": "In the film Mrs. Miniver, what is the actresses name?", + "context": "create table table_18638067_1 (actor_actress varchar, film_title_used_in_nomination varchar, PRIMARY KEY (actor_actress))", + "answer": "select actor_actress from table_18638067_1 where film_title_used_in_nomination = \"mrs. miniver\"" + }, + { + "question": "How many residents does each property have? List property id and resident count.", + "context": "create table properties (property_id varchar, PRIMARY KEY (property_id)); create table residents (property_id varchar, PRIMARY KEY (property_id))", + "answer": "select t1.property_id, count(*) from properties as t1 join residents as t2 on t1.property_id = t2.property_id group by t1.property_id" + }, + { + "question": "When 15 is the number overall what is the original air date?", + "context": "create table table_18335117_3 (original_air_date varchar, no_overall varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_18335117_3 where no_overall = 15" + }, + { + "question": "What is the smallest 1st runner up value?", + "context": "create table table_30007801_1 (id varchar, PRIMARY KEY (id))", + "answer": "select min(1 as st_runner_up) from table_30007801_1" + }, + { + "question": "Who is the director of the film Gie?", + "context": "create table table_13719788_1 (director varchar, film_title_used_in_nomination varchar, PRIMARY KEY (director))", + "answer": "select director from table_13719788_1 where film_title_used_in_nomination = \"gie\"" + }, + { + "question": "What is the result of proteus mirabilis tested with indole?", + "context": "create table table_16083989_1 (indole varchar, species varchar, PRIMARY KEY (indole))", + "answer": "select indole from table_16083989_1 where species = \"proteus mirabilis\"" + }, + { + "question": "Who was the writer of the episode that originally aired on October 14, 1968?", + "context": "create table table_25800134_13 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_25800134_13 where airdate = \"october 14, 1968\"" + }, + { + "question": "What's the sales breakdown for Nintendo's Mario Kart DS?", + "context": "create table table_21458142_1 (sales_breakdown varchar, publisher varchar, title varchar, PRIMARY KEY (sales_breakdown))", + "answer": "select sales_breakdown from table_21458142_1 where publisher = \"nintendo\" and title = \"mario kart ds\"" + }, + { + "question": "What is the date of vacancy for 10 december 2007 when quit?", + "context": "create table table_11713303_2 (date_of_vacancy varchar, date_of_appointment varchar, manner_of_departure varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_11713303_2 where date_of_appointment = \"10 december 2007\" and manner_of_departure = \"quit\"" + }, + { + "question": "For each advisor, report the total number of students advised by him or her.", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor, count(*) from student group by advisor" + }, + { + "question": "what is the malayalam name \u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 of tamil name \u0ba4\u0bae\u0bbf\u0bb4\u0bcd punarpoosam \u0baa\u0bc1\u0ba9\u0bb0\u0bcd\u0baa\u0bc2\u0b9a\u0bae\u0bcd", + "context": "create table table_201400_2 (malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 varchar, tamil_name_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd varchar, PRIMARY KEY (malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02))", + "answer": "select malayalam_name_\u0d2e\u0d32\u0d2f\u0d3e\u0d33\u0d02 from table_201400_2 where tamil_name_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd = \"punarpoosam \u0baa\u0bc1\u0ba9\u0bb0\u0bcd\u0baa\u0bc2\u0b9a\u0bae\u0bcd\"" + }, + { + "question": "Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer?", + "context": "create table table_14330096_4 (title varchar, director varchar, writer varchar, PRIMARY KEY (title))", + "answer": "select title from table_14330096_4 where director = \"patrick lau\" and writer = \"lisa holdsworth\"" + }, + { + "question": "The episode titled \"Epiphany\" received what scripted show ranking?", + "context": "create table table_22170495_7 (scripted_show_ranking integer, title varchar, PRIMARY KEY (scripted_show_ranking))", + "answer": "select min(scripted_show_ranking) from table_22170495_7 where title = \"epiphany\"" + }, + { + "question": "Name the stops for stations 36", + "context": "create table table_2385460_1 (stops varchar, stations varchar, PRIMARY KEY (stops))", + "answer": "select stops from table_2385460_1 where stations = 36" + }, + { + "question": "who is the incumbent where the candidates is william v. chappell, jr. (d) unopposed?", + "context": "create table table_1341672_10 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1341672_10 where candidates = \"william v. chappell, jr. (d) unopposed\"" + }, + { + "question": "Name the 2013 profit for assets being 11.2", + "context": "create table table_24307126_3 (assets_2013__bil$_ varchar, PRIMARY KEY (assets_2013__bil$_))", + "answer": "select 2013 as _profit__mil_usd__ from table_24307126_3 where assets_2013__bil$_ = \"11.2\"" + }, + { + "question": "How many invoices do we have?", + "context": "create table invoices (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from invoices" + }, + { + "question": "How many reports are there in the race that Forsythe Racing won and Teo Fabi had the pole position in?", + "context": "create table table_10706961_2 (report varchar, winning_team varchar, pole_position varchar, PRIMARY KEY (report))", + "answer": "select count(report) from table_10706961_2 where winning_team = \"forsythe racing\" and pole_position = \"teo fabi\"" + }, + { + "question": "How long is the rollar coaster on Kemah Boardwalk", + "context": "create table table_2665085_1 (length__ft_ varchar, park varchar, PRIMARY KEY (length__ft_))", + "answer": "select length__ft_ from table_2665085_1 where park = \"kemah boardwalk\"" + }, + { + "question": "What is the radio station branding when the power km is 5kw?", + "context": "create table table_23915973_1 (branding varchar, power_kw varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_23915973_1 where power_kw = \"5kw\"" + }, + { + "question": "Who is the artist where the vocal percussionist is Benjamin Holder?", + "context": "create table table_28715942_6 (original_artist varchar, vocal_percussionist varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_28715942_6 where vocal_percussionist = \"benjamin holder\"" + }, + { + "question": "What is the best finish where the scoring rank is 97?", + "context": "create table table_15431122_2 (best_finish varchar, scoring_rank varchar, PRIMARY KEY (best_finish))", + "answer": "select best_finish from table_15431122_2 where scoring_rank = \"97\"" + }, + { + "question": "What is the catalog number of the title called \"super callanetics\"?", + "context": "create table table_11222744_3 (catalog_number varchar, title varchar, PRIMARY KEY (catalog_number))", + "answer": "select catalog_number from table_11222744_3 where title = \"super callanetics\"" + }, + { + "question": "What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos.", + "context": "create table photos (camera_lens_id varchar, PRIMARY KEY (camera_lens_id)); create table camera_lens (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, count(*) from camera_lens as t1 join photos as t2 on t1.id = t2.camera_lens_id group by t1.id order by count(*)" + }, + { + "question": "When \u0440\u0438\u0431\u0430 (r\u00edba) is the macedonian what is the proto-slavic?", + "context": "create table table_26757_4 (proto_slavic varchar, macedonian varchar, PRIMARY KEY (proto_slavic))", + "answer": "select proto_slavic from table_26757_4 where macedonian = \"\u0440\u0438\u0431\u0430 (r\u00edba)\"" + }, + { + "question": "What are the email addresses of the drama workshop groups with address in Alaska state?", + "context": "create table drama_workshop_groups (store_email_address varchar, address_id varchar, PRIMARY KEY (store_email_address)); create table addresses (address_id varchar, state_county varchar, PRIMARY KEY (address_id))", + "answer": "select t2.store_email_address from addresses as t1 join drama_workshop_groups as t2 on t1.address_id = t2.address_id where t1.state_county = \"alaska\"" + }, + { + "question": "What is the povery rate of the county with market income per capita of $20,518?", + "context": "create table table_22815568_1 (poverty_rate varchar, market_income_per_capita varchar, PRIMARY KEY (poverty_rate))", + "answer": "select poverty_rate from table_22815568_1 where market_income_per_capita = \"$20,518\"" + }, + { + "question": "Show the names of roller coasters and names of country they are in.", + "context": "create table country (name varchar, country_id varchar, PRIMARY KEY (name)); create table roller_coaster (name varchar, country_id varchar, PRIMARY KEY (name))", + "answer": "select t2.name, t1.name from country as t1 join roller_coaster as t2 on t1.country_id = t2.country_id" + }, + { + "question": "Which team was the away team when home team was essendon?", + "context": "create table table_29090919_1 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_29090919_1 where home_team = \"essendon\"" + }, + { + "question": "What are the network(s) for tv1?", + "context": "create table table_1601792_4 (network varchar, television_station varchar, PRIMARY KEY (network))", + "answer": "select network from table_1601792_4 where television_station = \"tv1\"" + }, + { + "question": "If the spacecraft is the Shenzhou 7 Eva 1, what is the start (utc) date and time?", + "context": "create table table_22385461_9 (start___utc__ varchar, spacecraft varchar, PRIMARY KEY (start___utc__))", + "answer": "select start___utc__ from table_22385461_9 where spacecraft = \"shenzhou 7 eva 1\"" + }, + { + "question": "what is Peter Little's party?", + "context": "create table table_2668329_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668329_11 where incumbent = \"peter little\"" + }, + { + "question": "What states have a regional page # of 1, 5-7, 9-11, 13-15?", + "context": "create table table_287659_2 (state_name varchar, regional_page__number varchar, PRIMARY KEY (state_name))", + "answer": "select state_name from table_287659_2 where regional_page__number = \"1, 5-7, 9-11, 13-15\"" + }, + { + "question": "What was the episode number for the episode viewed by 5.68 million viewers?", + "context": "create table table_27987623_1 (season_episode varchar, us_viewers__in_million_ varchar, PRIMARY KEY (season_episode))", + "answer": "select season_episode from table_27987623_1 where us_viewers__in_million_ = \"5.68\"" + }, + { + "question": "How many different drivers were there for the team when the manufacturer was Toyota?", + "context": "create table table_2241101_1 (driver varchar, manufacturer varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_2241101_1 where manufacturer = \"toyota\"" + }, + { + "question": "Name the revenue for eps being 1.19", + "context": "create table table_20614109_1 (revenue__ integer, earnings_per_share__\u20ac_ varchar, PRIMARY KEY (revenue__))", + "answer": "select max(revenue__) as \u20acmillion_ from table_20614109_1 where earnings_per_share__\u20ac_ = \"1.19\"" + }, + { + "question": "If round of 32 is sawatvilay phimmasone ( lao ) w pts 9-7, what was the event?", + "context": "create table table_26335424_86 (event varchar, round_of_32 varchar, PRIMARY KEY (event))", + "answer": "select event from table_26335424_86 where round_of_32 = \"sawatvilay phimmasone ( lao ) w pts 9-7\"" + }, + { + "question": "What is the hebrew word listed for strongs # 5418?", + "context": "create table table_1242447_2 (hebrew_word varchar, strongs__number varchar, PRIMARY KEY (hebrew_word))", + "answer": "select hebrew_word from table_1242447_2 where strongs__number = \"5418\"" + }, + { + "question": "If the episode was written by Tim Balme, what was the original air date?", + "context": "create table table_23114705_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23114705_3 where written_by = \"tim balme\"" + }, + { + "question": "What team(s) enjoyed an average spped (mph) of 138.14?", + "context": "create table table_17802778_1 (team varchar, average_speed__mph_ varchar, PRIMARY KEY (team))", + "answer": "select team from table_17802778_1 where average_speed__mph_ = \"138.14\"" + }, + { + "question": "Who is the incumbent candidate in the election of percy priest (d) 90.8% robert m. donihi (r) 9.2%?", + "context": "create table table_1342013_41 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342013_41 where candidates = \"percy priest (d) 90.8% robert m. donihi (r) 9.2%\"" + }, + { + "question": "Find the name of branches where have some members whose hometown is in Louisville, Kentucky and some in Hiram, Georgia.", + "context": "create table member (member_id varchar, hometown varchar, PRIMARY KEY (member_id)); create table branch (name varchar, branch_id varchar, PRIMARY KEY (name)); create table membership_register_branch (branch_id varchar, member_id varchar, PRIMARY KEY (branch_id))", + "answer": "select t2.name from membership_register_branch as t1 join branch as t2 on t1.branch_id = t2.branch_id join member as t3 on t1.member_id = t3.member_id where t3.hometown = 'louisville , kentucky' intersect select t2.name from membership_register_branch as t1 join branch as t2 on t1.branch_id = t2.branch_id join member as t3 on t1.member_id = t3.member_id where t3.hometown = 'hiram , georgia'" + }, + { + "question": "Show names of companies and that of employees in descending order of number of years working for that employee.", + "context": "create table people (name varchar, people_id varchar, PRIMARY KEY (name)); create table company (name varchar, company_id varchar, PRIMARY KEY (name)); create table employment (people_id varchar, company_id varchar, year_working varchar, PRIMARY KEY (people_id))", + "answer": "select t3.name, t2.name from employment as t1 join people as t2 on t1.people_id = t2.people_id join company as t3 on t1.company_id = t3.company_id order by t1.year_working" + }, + { + "question": "Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin", + "context": "create table table_19598014_2 (gt2_winning_team varchar, lmp2_winning_team varchar, PRIMARY KEY (gt2_winning_team))", + "answer": "select gt2_winning_team from table_19598014_2 where lmp2_winning_team = \"butch leitzinger marino franchitti ben devlin\"" + }, + { + "question": "What was the largest ethnic group in in the settlement with the cyrillic name \u0431\u0430\u043d\u0430\u0442\u0441\u043a\u0438 \u043a\u0430\u0440\u043b\u043e\u0432\u0430\u0446?", + "context": "create table table_2562572_44 (largest_ethnic_group__2002_ varchar, cyrillic_name_other_names varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_44 where cyrillic_name_other_names = \"\u0431\u0430\u043d\u0430\u0442\u0441\u043a\u0438 \u043a\u0430\u0440\u043b\u043e\u0432\u0430\u0446\"" + }, + { + "question": "what is the name of the borough where station uses is 28702?", + "context": "create table table_14748457_1 (borough varchar, station_users_2008_9 varchar, PRIMARY KEY (borough))", + "answer": "select borough from table_14748457_1 where station_users_2008_9 = \"28702\"" + }, + { + "question": "What is the 2007 population of Gigmoto?", + "context": "create table table_255829_1 (population__2007_ varchar, municipality varchar, PRIMARY KEY (population__2007_))", + "answer": "select count(population__2007_) from table_255829_1 where municipality = \"gigmoto\"" + }, + { + "question": "What is the status for Saint George?", + "context": "create table table_170969_2 (status varchar, official_name varchar, PRIMARY KEY (status))", + "answer": "select status from table_170969_2 where official_name = \"saint george\"" + }, + { + "question": "who else along with scott dixon and graham rahal drove with the most speed", + "context": "create table table_13512105_3 (fastest_lap varchar, most_laps_led varchar, pole_position varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_13512105_3 where most_laps_led = \"scott dixon\" and pole_position = \"graham rahal\"" + }, + { + "question": "What is the area (square km) where the arrondissement is millau?", + "context": "create table table_1175233_1 (area__square_km_ integer, arrondissement varchar, PRIMARY KEY (area__square_km_))", + "answer": "select min(area__square_km_) from table_1175233_1 where arrondissement = \"millau\"" + }, + { + "question": "how many drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are", + "context": "create table table_2889300_6 (drumset_name varchar, drumstand__oftenoptional_ varchar, tom_tom_pads varchar, PRIMARY KEY (drumset_name))", + "answer": "select count(drumset_name) from table_2889300_6 where drumstand__oftenoptional_ = \"hd-1/3stand\" and tom_tom_pads = \"3xcloth-head\"" + }, + { + "question": "What warship has horse-power of 1500?", + "context": "create table table_23614702_1 (warship varchar, horse__power varchar, PRIMARY KEY (warship))", + "answer": "select warship from table_23614702_1 where horse__power = 1500" + }, + { + "question": "What type of quattroporte iv only produced 340 units?", + "context": "create table table_1245350_1 (quattroporte_iv varchar, units_produced varchar, PRIMARY KEY (quattroporte_iv))", + "answer": "select quattroporte_iv from table_1245350_1 where units_produced = 340" + }, + { + "question": "Where is ropery lane located?", + "context": "create table table_1176371_1 (location varchar, name_of_ground varchar, PRIMARY KEY (location))", + "answer": "select location from table_1176371_1 where name_of_ground = \"ropery lane\"" + }, + { + "question": "When 3 is the bbc three weekly ranking what is the airdate?", + "context": "create table table_24399615_8 (airdate varchar, bbc_three_weekly_ranking varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_24399615_8 where bbc_three_weekly_ranking = \"3\"" + }, + { + "question": "What is the name of the partner that has a winner outcome and a hard surface?", + "context": "create table table_28948937_3 (partner varchar, outcome varchar, surface varchar, PRIMARY KEY (partner))", + "answer": "select partner from table_28948937_3 where outcome = \"winner\" and surface = \"hard\"" + }, + { + "question": "what rank has viewers at 6.45?", + "context": "create table table_15681686_4 (rank__week_ varchar, viewers__millions_ varchar, PRIMARY KEY (rank__week_))", + "answer": "select rank__week_ from table_15681686_4 where viewers__millions_ = \"6.45\"" + }, + { + "question": "What is every prefix class for the equivalent of NTE160?", + "context": "create table table_30011_2 (prefix_class varchar, equivalent varchar, PRIMARY KEY (prefix_class))", + "answer": "select prefix_class from table_30011_2 where equivalent = \"nte160\"" + }, + { + "question": "What tournament venue is listed during the Missouri Valley Conference?", + "context": "create table table_28365816_2 (tournament_venue__city_ varchar, conference varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_28365816_2 where conference = \"missouri valley conference\"" + }, + { + "question": "What date did the show air when Rhod Gilbert was the headliner?", + "context": "create table table_23122988_1 (airdate varchar, headliner varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_23122988_1 where headliner = \"rhod gilbert\"" + }, + { + "question": "How many entries are there for team coxy for the air date of 24 january 2010 and team guest captain of gail porter?", + "context": "create table table_25816476_2 (team_coxy varchar, air_date varchar, team_guest_captain varchar, PRIMARY KEY (team_coxy))", + "answer": "select count(team_coxy) from table_25816476_2 where air_date = \"24 january 2010\" and team_guest_captain = \"gail porter\"" + }, + { + "question": "what's the\u00a0grsecurity\u00a0with\u00a0dbeingtribution\u00a0being debian / ubuntu", + "context": "create table table_1357052_6 (grsecurity varchar, distribution varchar, PRIMARY KEY (grsecurity))", + "answer": "select grsecurity from table_1357052_6 where distribution = \"debian / ubuntu\"" + }, + { + "question": "How many courses are located in carmel, indiana?", + "context": "create table table_275162_1 (course varchar, location varchar, PRIMARY KEY (course))", + "answer": "select count(course) from table_275162_1 where location = \"carmel, indiana\"" + }, + { + "question": "If the quarterfinals was nabil talal ( jor ) l pts 3-3, who was the athlete?", + "context": "create table table_26335424_86 (athlete varchar, quarterfinals varchar, PRIMARY KEY (athlete))", + "answer": "select athlete from table_26335424_86 where quarterfinals = \"nabil talal ( jor ) l pts 3-3\"" + }, + { + "question": "Name the try bonus for kenfig hill rfc", + "context": "create table table_13564702_3 (try_bonus varchar, club varchar, PRIMARY KEY (try_bonus))", + "answer": "select try_bonus from table_13564702_3 where club = \"kenfig hill rfc\"" + }, + { + "question": "Who is the Motogp winnder for the Catalunya Circuit?", + "context": "create table table_12186237_1 (motogp_winner varchar, circuit varchar, PRIMARY KEY (motogp_winner))", + "answer": "select motogp_winner from table_12186237_1 where circuit = \"catalunya\"" + }, + { + "question": "When slblw(b1) is the sspec number what is the mult.?", + "context": "create table table_18823880_10 (mult varchar, sspec_number varchar, PRIMARY KEY (mult))", + "answer": "select mult from table_18823880_10 where sspec_number = \"slblw(b1)\"" + }, + { + "question": "if there are 30 lifts, what is the name of the ski resort?", + "context": "create table table_25762852_1 (name varchar, lifts varchar, PRIMARY KEY (name))", + "answer": "select name from table_25762852_1 where lifts = 30" + }, + { + "question": "Name the youth classification for michael barry", + "context": "create table table_23944514_15 (youth_classification varchar, aggressive_rider varchar, PRIMARY KEY (youth_classification))", + "answer": "select youth_classification from table_23944514_15 where aggressive_rider = \"michael barry\"" + }, + { + "question": "Name the awardee for best editing", + "context": "create table table_24446718_7 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select awardee_s_ from table_24446718_7 where name_of_award = \"best editing\"" + }, + { + "question": "What is the the Chinese population for the state that has a Filipino population of 1474707?", + "context": "create table table_10118412_6 (chinese integer, filipino varchar, PRIMARY KEY (chinese))", + "answer": "select min(chinese) from table_10118412_6 where filipino = 1474707" + }, + { + "question": "How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?", + "context": "create table table_28190363_1 (network varchar, judges varchar, presenter_s_ varchar, PRIMARY KEY (network))", + "answer": "select count(network) from table_28190363_1 where judges = \"tba\" and presenter_s_ = \"arbana osmani\"" + }, + { + "question": "What is the winning team at Oulton Park when Max Chilton held the pole position?", + "context": "create table table_21373283_3 (winning_team varchar, pole_position varchar, circuit varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_21373283_3 where pole_position = \"max chilton\" and circuit = \"oulton park\"" + }, + { + "question": "How many candidates are there?", + "context": "create table candidate (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from candidate" + }, + { + "question": "Name the vertical for \u8fb9 bian", + "context": "create table table_25519358_1 (vertical_0_b varchar, name varchar, PRIMARY KEY (vertical_0_b))", + "answer": "select vertical_0_b from table_25519358_1 where name = \"\u8fb9 bian\"" + }, + { + "question": "Name the romaji by your side ~hikari's theme~ (popup.version)", + "context": "create table table_2144389_8 (r\u014dmaji varchar, japanese_translation varchar, PRIMARY KEY (r\u014dmaji))", + "answer": "select r\u014dmaji from table_2144389_8 where japanese_translation = \"by your side ~hikari's theme~ (popup.version)\"" + }, + { + "question": "Find the number of dorms that have some amenity.", + "context": "create table has_amenity (dormid varchar, PRIMARY KEY (dormid))", + "answer": "select count(distinct dormid) from has_amenity" + }, + { + "question": "Who is the winner of event # 1h and dateca is Apr 2?", + "context": "create table table_22050544_1 (winner varchar, dateca varchar, event__number varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22050544_1 where dateca = \"apr 2\" and event__number = \"1h\"" + }, + { + "question": "What was the team from Austria when the Netherlands sent Brunssum/Schinnen LL Brunssum and Belgium sent Shape and Waterloo LL Brussels?", + "context": "create table table_28562675_3 (austria varchar, netherlands varchar, belgium varchar, PRIMARY KEY (austria))", + "answer": "select austria from table_28562675_3 where netherlands = \"brunssum/schinnen ll brunssum\" and belgium = \"shape and waterloo ll brussels\"" + }, + { + "question": "Which telescopes were sponsored by or originated in Belgium?", + "context": "create table table_23851574_2 (name varchar, nationality_sponsors varchar, PRIMARY KEY (name))", + "answer": "select name from table_23851574_2 where nationality_sponsors = \"belgium\"" + }, + { + "question": "What is the version aired on SBS 6 called?", + "context": "create table table_27487310_5 (name varchar, network varchar, PRIMARY KEY (name))", + "answer": "select name from table_27487310_5 where network = \"sbs 6\"" + }, + { + "question": "How many episode titles aired on September 25, 1967?", + "context": "create table table_25800134_12 (title varchar, airdate varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_25800134_12 where airdate = \"september 25, 1967\"" + }, + { + "question": "What is the maximum folded value of the team whose stadium is Fraser Field?", + "context": "create table table_24334261_1 (folded integer, stadium varchar, PRIMARY KEY (folded))", + "answer": "select max(folded) from table_24334261_1 where stadium = \"fraser field\"" + }, + { + "question": "What school is in Richmond?", + "context": "create table table_2076608_3 (school varchar, location_s_ varchar, PRIMARY KEY (school))", + "answer": "select school from table_2076608_3 where location_s_ = \"richmond\"" + }, + { + "question": "What is the pinyin for explaining beasts?", + "context": "create table table_1216675_1 (pinyin varchar, translation varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_1216675_1 where translation = \"explaining beasts\"" + }, + { + "question": "How many students play sports?", + "context": "create table sportsinfo (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(distinct stuid) from sportsinfo" + }, + { + "question": "What is the nationality of the player picked to go to Washington Capitals?", + "context": "create table table_2897457_2 (nationality varchar, nhl_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_2897457_2 where nhl_team = \"washington capitals\"" + }, + { + "question": "Name the landesliga mitte sv t\u00fcrk g\u00fcc\u00fc m\u00fcnchen", + "context": "create table table_20181270_3 (landesliga_mitte varchar, bayernliga varchar, PRIMARY KEY (landesliga_mitte))", + "answer": "select landesliga_mitte from table_20181270_3 where bayernliga = \"sv t\u00fcrk g\u00fcc\u00fc m\u00fcnchen\"" + }, + { + "question": "What are the names of the tourist attractions Vincent and Marcelle visit?", + "context": "create table visits (tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (tourist_attraction_id)); create table visitors (tourist_details varchar, tourist_id varchar, PRIMARY KEY (tourist_details)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = \"vincent\" intersect select t1.name from tourist_attractions as t1 join visitors as t2 join visits as t3 on t1.tourist_attraction_id = t3.tourist_attraction_id and t2.tourist_id = t3.tourist_id where t2.tourist_details = \"marcelle\"" + }, + { + "question": "Who had the most laps led in monterey, california when scott rarick won the race?", + "context": "create table table_25668203_2 (most_laps_led varchar, location varchar, winning_driver varchar, PRIMARY KEY (most_laps_led))", + "answer": "select most_laps_led from table_25668203_2 where location = \"monterey, california\" and winning_driver = \"scott rarick\"" + }, + { + "question": "Name the number of party with the incubent james william trimble", + "context": "create table table_1341930_5 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341930_5 where incumbent = \"james william trimble\"" + }, + { + "question": "Name the winner for 26 january 2009", + "context": "create table table_19930660_1 (winner varchar, first_broadcast varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_19930660_1 where first_broadcast = \"26 january 2009\"" + }, + { + "question": "Find the name of services that have been used for more than 2 times in first notification of loss.", + "context": "create table services (service_name varchar, service_id varchar, PRIMARY KEY (service_name)); create table first_notification_of_loss (service_id varchar, PRIMARY KEY (service_id))", + "answer": "select t2.service_name from first_notification_of_loss as t1 join services as t2 on t1.service_id = t2.service_id group by t1.service_id having count(*) > 2" + }, + { + "question": "Show the document type code with fewer than 3 documents.", + "context": "create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents group by document_type_code having count(*) < 3" + }, + { + "question": "Find the name of dorms only for female (F gender).", + "context": "create table dorm (dorm_name varchar, gender varchar, PRIMARY KEY (dorm_name))", + "answer": "select dorm_name from dorm where gender = 'f'" + }, + { + "question": "Find the busiest destination airport that runs most number of routes in China.", + "context": "create table routes (dst_apid varchar, PRIMARY KEY (dst_apid)); create table airports (name varchar, apid varchar, country varchar, PRIMARY KEY (name))", + "answer": "select t1.name from airports as t1 join routes as t2 on t1.apid = t2.dst_apid where t1.country = 'china' group by t1.name order by count(*) desc limit 1" + }, + { + "question": "What number is shown for november 3 where january 15-16 is 151?", + "context": "create table table_25252080_3 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25252080_3 where january_15_16 = \"151\"" + }, + { + "question": "In 2004, where the womens singles is daniela kressig who is the mens singles", + "context": "create table table_15001681_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_15001681_1 where womens_singles = \"daniela kressig\"" + }, + { + "question": "Who was the finalist when the MVP was Romain Sato?", + "context": "create table table_19651669_1 (finalist varchar, mvp varchar, PRIMARY KEY (finalist))", + "answer": "select finalist from table_19651669_1 where mvp = \"romain sato\"" + }, + { + "question": "When gaoliang \u9ad8\u6dbc is the commandery what is the commandery capital?", + "context": "create table table_278229_1 (commandery varchar, PRIMARY KEY (commandery))", + "answer": "select commandery as capital from table_278229_1 where commandery = \"gaoliang \u9ad8\u6dbc\"" + }, + { + "question": "what is the minimum\u00a0population canada 2011 census\u00a0with\u00a0seat of rcm\u00a0being cowansville", + "context": "create table table_1011906_1 (population_canada_2011_census integer, seat_of_rcm varchar, PRIMARY KEY (population_canada_2011_census))", + "answer": "select min(population_canada_2011_census) from table_1011906_1 where seat_of_rcm = \"cowansville\"" + }, + { + "question": "What's the directx of the model with code name RV770 PRO and a core bigger than 650.0 MHz?", + "context": "create table table_19161046_1 (directx varchar, code_name varchar, core___mhz__ varchar, PRIMARY KEY (directx))", + "answer": "select directx from table_19161046_1 where code_name = \"rv770 pro\" and core___mhz__ > 650.0" + }, + { + "question": "How many institutions are there?", + "context": "create table inst (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from inst" + }, + { + "question": "When 20 is the rr4 points what is the lowest rr3 points?", + "context": "create table table_21489362_2 (rr3_pts integer, rr4_pts varchar, PRIMARY KEY (rr3_pts))", + "answer": "select min(rr3_pts) from table_21489362_2 where rr4_pts = \"20\"" + }, + { + "question": "What date did Micky Adams vacate his position?", + "context": "create table table_18788823_5 (date_of_vacancy varchar, outgoing_manager varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_18788823_5 where outgoing_manager = \"micky adams\"" + }, + { + "question": "Where is Bloomington High School North?", + "context": "create table table_1984697_53 (city___town varchar, school varchar, PRIMARY KEY (city___town))", + "answer": "select city___town from table_1984697_53 where school = \"bloomington high school north\"" + }, + { + "question": "How many timeslots had viewers of 0.238 million?", + "context": "create table table_27987623_3 (timeslot varchar, viewers__millions_ varchar, PRIMARY KEY (timeslot))", + "answer": "select count(timeslot) from table_27987623_3 where viewers__millions_ = \"0.238\"" + }, + { + "question": "what's the\u00a0economics\u00a0score with\u00a0education\u00a0being 92.0", + "context": "create table table_145439_1 (economics varchar, education varchar, PRIMARY KEY (economics))", + "answer": "select economics from table_145439_1 where education = \"92.0\"" + }, + { + "question": "Name the team of darren manning", + "context": "create table table_17271495_1 (team varchar, driver varchar, PRIMARY KEY (team))", + "answer": "select team from table_17271495_1 where driver = \"darren manning\"" + }, + { + "question": "how many millions of north american viewers had the episode whose director was Michael Lembeck?", + "context": "create table table_27714573_1 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_27714573_1 where directed_by = \"michael lembeck\"" + }, + { + "question": "Where was the tournament located when Misun Cho won the championship?", + "context": "create table table_15315276_1 (tournament_location varchar, champion varchar, PRIMARY KEY (tournament_location))", + "answer": "select tournament_location from table_15315276_1 where champion = \"misun cho\"" + }, + { + "question": "Name the label for grown up overnight", + "context": "create table table_1893815_1 (label varchar, english_title varchar, PRIMARY KEY (label))", + "answer": "select label from table_1893815_1 where english_title = \"grown up overnight\"" + }, + { + "question": "How many international tourist arrivals were in Senegal in 2011?", + "context": "create table table_14752049_2 (international_tourist_arrivals__2011_ varchar, country varchar, PRIMARY KEY (international_tourist_arrivals__2011_))", + "answer": "select international_tourist_arrivals__2011_ from table_14752049_2 where country = \"senegal\"" + }, + { + "question": "Name the ticket/office for orville preston", + "context": "create table table_22607062_1 (ticket___office varchar, secretary_of_state varchar, PRIMARY KEY (ticket___office))", + "answer": "select ticket___office from table_22607062_1 where secretary_of_state = \"orville preston\"" + }, + { + "question": "Which co-singers appear in the movie Pyaasa?", + "context": "create table table_2528382_2 (co varchar, singers varchar, movie_album varchar, PRIMARY KEY (co))", + "answer": "select co - singers from table_2528382_2 where movie_album = \"pyaasa\"" + }, + { + "question": "Who made the report when the home team is north Melbourne?", + "context": "create table table_14312471_7 (report varchar, home_team varchar, PRIMARY KEY (report))", + "answer": "select report from table_14312471_7 where home_team = \"north melbourne\"" + }, + { + "question": "What was the SlNo no of contact person SDE (P), Thiruppattur?", + "context": "create table table_25383715_1 (slno varchar, contact_person varchar, PRIMARY KEY (slno))", + "answer": "select slno from table_25383715_1 where contact_person = \"sde (p), thiruppattur\"" + }, + { + "question": "What date was the person ordained as a priest in December 1838 ordained as a bishop?", + "context": "create table table_1656555_1 (ordained_bishop varchar, ordained_priest varchar, PRIMARY KEY (ordained_bishop))", + "answer": "select ordained_bishop from table_1656555_1 where ordained_priest = \"december 1838\"" + }, + { + "question": "Name the wind m/s and fastest time of 10.25 and jeff demps", + "context": "create table table_1231316_6 (wind__m_s_ varchar, fastest_time__s_ varchar, athlete varchar, PRIMARY KEY (wind__m_s_))", + "answer": "select wind__m_s_ from table_1231316_6 where fastest_time__s_ = \"10.25\" and athlete = \"jeff demps\"" + }, + { + "question": "Name the past habitual for \u0917\u0930\u094d\u091b\u0938\u094d garchas 'you (will) do'", + "context": "create table table_16337329_5 (past_habitual varchar, probable_future varchar, PRIMARY KEY (past_habitual))", + "answer": "select past_habitual from table_16337329_5 where probable_future = \"\u0917\u0930\u094d\u091b\u0938\u094d garchas 'you (will) do'\"" + }, + { + "question": "Show all allergies with number of students affected.", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy))", + "answer": "select allergy, count(*) from has_allergy group by allergy" + }, + { + "question": "List all headquarters and the number of companies in each headquarter.", + "context": "create table company (headquarters varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters, count(*) from company group by headquarters" + }, + { + "question": "Name the green for otaki", + "context": "create table table_20217811_1 (green varchar, electorate varchar, PRIMARY KEY (green))", + "answer": "select green from table_20217811_1 where electorate = \"otaki\"" + }, + { + "question": "On which circuit was the lites race two winning team #13 Inspire Motorsports?", + "context": "create table table_26638600_3 (circuit varchar, lites_1_race_two_winning_team varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_26638600_3 where lites_1_race_two_winning_team = \"#13 inspire motorsports\"" + }, + { + "question": "Who ran in the election where Claude Fuller was the incumbent?", + "context": "create table table_1342338_5 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342338_5 where incumbent = \"claude fuller\"" + }, + { + "question": "Show the game name that has most number of hours played.", + "context": "create table plays_games (gameid varchar, PRIMARY KEY (gameid)); create table video_games (gameid varchar, PRIMARY KEY (gameid))", + "answer": "select gname from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid group by t1.gameid order by sum(hours_played) desc limit 1" + }, + { + "question": "What is the the name of the NHL team that is in the same market as the NBA team, Nuggets?", + "context": "create table table_1205598_1 (nhl_team_s_ varchar, nba_team_s_ varchar, PRIMARY KEY (nhl_team_s_))", + "answer": "select nhl_team_s_ from table_1205598_1 where nba_team_s_ = \"nuggets\"" + }, + { + "question": "What branch of government was the term that ended on January 3, 2001?", + "context": "create table table_224672_2 (type varchar, term_ended varchar, PRIMARY KEY (type))", + "answer": "select type from table_224672_2 where term_ended = \"january 3, 2001\"" + }, + { + "question": "What is the wattage/TDP associated with model name 4x0?", + "context": "create table table_24099628_1 (tdp varchar, model__list_ varchar, PRIMARY KEY (tdp))", + "answer": "select tdp from table_24099628_1 where model__list_ = \"4x0\"" + }, + { + "question": "Who left office on November 26, 1800?", + "context": "create table table_224840_4 (vacator varchar, date_successor_seated varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_224840_4 where date_successor_seated = \"november 26, 1800\"" + }, + { + "question": "Who had the best regular season in the contest won by Arkansas-Pine Bluff?", + "context": "create table table_22645714_5 (regular_season_winner varchar, tournament_winner varchar, PRIMARY KEY (regular_season_winner))", + "answer": "select regular_season_winner from table_22645714_5 where tournament_winner = \"arkansas-pine bluff\"" + }, + { + "question": "What clu was in toronto 1995-96", + "context": "create table table_10015132_16 (school_club_team varchar, years_in_toronto varchar, PRIMARY KEY (school_club_team))", + "answer": "select school_club_team from table_10015132_16 where years_in_toronto = \"1995-96\"" + }, + { + "question": "On what date did congressman joseph tydings enter take his seat?", + "context": "create table table_24415627_2 (entered_senate varchar, senator varchar, PRIMARY KEY (entered_senate))", + "answer": "select entered_senate from table_24415627_2 where senator = \"joseph tydings\"" + }, + { + "question": "What is Doucet when Lawrance is 36?", + "context": "create table table_11447995_2 (doucet varchar, lawrance varchar, PRIMARY KEY (doucet))", + "answer": "select doucet from table_11447995_2 where lawrance = \"36\"" + }, + { + "question": "Name the most gdp per capita latvian", + "context": "create table table_21133193_1 (gdp_per_capita__us integer, languages varchar, PRIMARY KEY (gdp_per_capita__us))", + "answer": "select max(gdp_per_capita__us) as $_ from table_21133193_1 where languages = \"latvian\"" + }, + { + "question": "How many constructors won the III Redex Trophy?", + "context": "create table table_1140113_5 (constructor varchar, race_name varchar, PRIMARY KEY (constructor))", + "answer": "select count(constructor) from table_1140113_5 where race_name = \"iii redex trophy\"" + }, + { + "question": "What are the names, details and data types of the characteristics which are never used by any product?", + "context": "create table characteristics (characteristic_name varchar, other_characteristic_details varchar, characteristic_data_type varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); create table product_characteristics (characteristic_id varchar, PRIMARY KEY (characteristic_id)); create table characteristics (characteristic_name varchar, other_characteristic_details varchar, characteristic_data_type varchar, PRIMARY KEY (characteristic_name))", + "answer": "select characteristic_name, other_characteristic_details, characteristic_data_type from characteristics except select t1.characteristic_name, t1.other_characteristic_details, t1.characteristic_data_type from characteristics as t1 join product_characteristics as t2 on t1.characteristic_id = t2.characteristic_id" + }, + { + "question": "To which party does Riley Joseph Wilson belong?", + "context": "create table table_1342370_17 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342370_17 where incumbent = \"riley joseph wilson\"" + }, + { + "question": "who is the the\u00a0mixed doubles\u00a0with\u00a0mens singles\u00a0being peter moritz", + "context": "create table table_15002265_1 (mixed_doubles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_15002265_1 where mens_singles = \"peter moritz\"" + }, + { + "question": "How many rooms does the Lamberton building have?", + "context": "create table classroom (building varchar, PRIMARY KEY (building))", + "answer": "select count(*) from classroom where building = 'lamberton'" + }, + { + "question": "What movie did Bela Bose co-star in?", + "context": "create table table_2528382_5 (movie_album varchar, co_stars varchar, PRIMARY KEY (movie_album))", + "answer": "select movie_album from table_2528382_5 where co_stars = \"bela bose\"" + }, + { + "question": "How many n are listed for 0.6% r1b1a2 (r-m269)?", + "context": "create table table_21481509_4 (count varchar, r1b1a2__r_m269_ varchar, PRIMARY KEY (count))", + "answer": "select count as n from table_21481509_4 where r1b1a2__r_m269_ = \"0.6%\"" + }, + { + "question": "Name the number of locations for uk32", + "context": "create table table_19897294_8 (location_s_ varchar, no_overall varchar, PRIMARY KEY (location_s_))", + "answer": "select count(location_s_) from table_19897294_8 where no_overall = \"uk32\"" + }, + { + "question": "Find all types of store and number of them.", + "context": "create table store (type varchar, PRIMARY KEY (type))", + "answer": "select type, count(*) from store group by type" + }, + { + "question": "List all employees in the circulation history of the document with id 1. List the employee's name.", + "context": "create table circulation_history (id varchar, PRIMARY KEY (id)); create table employees (id varchar, PRIMARY KEY (id))", + "answer": "select employees.employee_name from employees join circulation_history on circulation_history.employee_id = employees.employee_id where circulation_history.document_id = 1" + }, + { + "question": "What if the description of a ch-47d chinook?", + "context": "create table table_10006830_1 (description varchar, aircraft varchar, PRIMARY KEY (description))", + "answer": "select description from table_10006830_1 where aircraft = \"ch-47d chinook\"" + }, + { + "question": "What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?", + "context": "create table table_17360840_9 (record varchar, location varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_17360840_9 where location = \"st. pete times forum\" and opponent = \"columbus blue jackets\"" + }, + { + "question": "who is the the\u00a0office\u00a0with\u00a0incumbent\u00a0being ramon r. jimenez, jr.", + "context": "create table table_1331313_1 (office varchar, incumbent varchar, PRIMARY KEY (office))", + "answer": "select office from table_1331313_1 where incumbent = \"ramon r. jimenez, jr.\"" + }, + { + "question": "How many locations does the team Newcastle Jets come from?", + "context": "create table table_1301373_1 (location varchar, team varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_1301373_1 where team = \"newcastle jets\"" + }, + { + "question": "What is the Latin for \"you sang\"?", + "context": "create table table_26614365_1 (latin varchar, english varchar, PRIMARY KEY (latin))", + "answer": "select latin from table_26614365_1 where english = \"you sang\"" + }, + { + "question": "Find all the songs whose name contains the word \"the\".", + "context": "create table songs (title varchar, PRIMARY KEY (title))", + "answer": "select title from songs where title like '% the %'" + }, + { + "question": "How many prisons is Joan Leaven connected with?", + "context": "create table table_2933761_1 (prison_connection varchar, name varchar, PRIMARY KEY (prison_connection))", + "answer": "select count(prison_connection) from table_2933761_1 where name = \"joan leaven\"" + }, + { + "question": "Name the points classification for levi leipheimer", + "context": "create table table_29077342_19 (points_classification varchar, general_classification varchar, PRIMARY KEY (points_classification))", + "answer": "select points_classification from table_29077342_19 where general_classification = \"levi leipheimer\"" + }, + { + "question": "Find the name of customers who have both saving and checking account types.", + "context": "create table customer (cust_name varchar, acc_type varchar, PRIMARY KEY (cust_name))", + "answer": "select cust_name from customer where acc_type = 'saving' intersect select cust_name from customer where acc_type = 'checking'" + }, + { + "question": "Who are all the stage winners where the team classification is Caisse D'epargne?", + "context": "create table table_17672500_19 (stage__winner_ varchar, team_classification varchar, PRIMARY KEY (stage__winner_))", + "answer": "select stage__winner_ from table_17672500_19 where team_classification = \"caisse d'epargne\"" + }, + { + "question": "what couple had a vote percentage of 5.8%?", + "context": "create table table_26375386_20 (couple varchar, vote_percentage varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_26375386_20 where vote_percentage = \"5.8%\"" + }, + { + "question": "how many\u00a0end of term\u00a0with\u00a0age at inauguration\u00a0being 64-066 64years, 66days", + "context": "create table table_12134383_1 (end_of_term varchar, age_at_inauguration varchar, PRIMARY KEY (end_of_term))", + "answer": "select count(end_of_term) from table_12134383_1 where age_at_inauguration = \"64-066 64years, 66days\"" + }, + { + "question": "What is the barony of the Gurraghy townland?", + "context": "create table table_30120547_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select barony from table_30120547_1 where townland = \"gurraghy\"" + }, + { + "question": "What are the country codes of countries where people use languages other than English?", + "context": "create table countrylanguage (countrycode varchar, language varchar, PRIMARY KEY (countrycode))", + "answer": "select distinct countrycode from countrylanguage where language <> \"english\"" + }, + { + "question": "What is the HDI for 2011 in Tunisia?", + "context": "create table table_2155836_1 (hdi__2011_ varchar, country varchar, PRIMARY KEY (hdi__2011_))", + "answer": "select hdi__2011_ from table_2155836_1 where country = \"tunisia\"" + }, + { + "question": "what ist he country where the loan club is fulham?", + "context": "create table table_17596418_5 (country varchar, loan_club varchar, PRIMARY KEY (country))", + "answer": "select country from table_17596418_5 where loan_club = \"fulham\"" + }, + { + "question": "Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner?", + "context": "create table table_14603057_2 (class_aa varchar, class_a varchar, class_aaaaa varchar, lubbock varchar, PRIMARY KEY (class_aa))", + "answer": "select class_aa from table_14603057_2 where class_a = \"plains\" and class_aaaaa = lubbock" + }, + { + "question": "What was the original air date of the episode directed by frederick e. o. toye?", + "context": "create table table_25923164_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25923164_1 where directed_by = \"frederick e. o. toye\"" + }, + { + "question": "Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock", + "context": "create table table_27561503_2 (gt_20_winning_team varchar, sports_20_winning_team varchar, circuit varchar, PRIMARY KEY (gt_20_winning_team))", + "answer": "select count(gt_20_winning_team) from table_27561503_2 where sports_20_winning_team = \"#16 trans ocean motors\" and circuit = \"castle rock\"" + }, + { + "question": "What was the group d winner for modena?", + "context": "create table table_1137142_1 (group_d_winner varchar, group_b_winner varchar, PRIMARY KEY (group_d_winner))", + "answer": "select group_d_winner from table_1137142_1 where group_b_winner = \"modena\"" + }, + { + "question": "What was the manner of departure for notts county with an incoming manager of martin allen", + "context": "create table table_26914759_3 (manner_of_departure varchar, team varchar, incoming_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_26914759_3 where team = \"notts county\" and incoming_manager = \"martin allen\"" + }, + { + "question": "Name the foochow for pingnan county", + "context": "create table table_2013618_1 (foochow varchar, english_name varchar, PRIMARY KEY (foochow))", + "answer": "select foochow from table_2013618_1 where english_name = \"pingnan county\"" + }, + { + "question": "How many millions of U.S. viewers whatched episodes written by Krystal Houghton?", + "context": "create table table_11411026_2 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_11411026_2 where written_by = \"krystal houghton\"" + }, + { + "question": "How many event dates occurred when event details were women's sabre?", + "context": "create table table_28003469_1 (event_date varchar, event_details varchar, PRIMARY KEY (event_date))", + "answer": "select count(event_date) from table_28003469_1 where event_details = \"women's sabre\"" + }, + { + "question": "what are all the hometown where the average age is 16", + "context": "create table table_26267849_2 (hometown varchar, age_s_ varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_26267849_2 where age_s_ = \"16\"" + }, + { + "question": "who was the performer that did last performance on 04/08/1963", + "context": "create table table_19189856_1 (performer varchar, last_performance varchar, PRIMARY KEY (performer))", + "answer": "select performer from table_19189856_1 where last_performance = \"04/08/1963\"" + }, + { + "question": "In which country was the xiamen international marathon?", + "context": "create table table_26166836_1 (country varchar, road_race varchar, PRIMARY KEY (country))", + "answer": "select country from table_26166836_1 where road_race = \"xiamen international marathon\"" + }, + { + "question": "what is the maximum\u00a0norwegian americans (2000)\u00a0where\u00a0norwegian americans (1990)\u00a0is 9170", + "context": "create table table_1182314_5 (norwegian_americans__2000_ integer, norwegian_americans__1990_ varchar, PRIMARY KEY (norwegian_americans__2000_))", + "answer": "select max(norwegian_americans__2000_) from table_1182314_5 where norwegian_americans__1990_ = 9170" + }, + { + "question": "What are the terminals for line 2?", + "context": "create table table_1603807_2 (terminals varchar, line varchar, PRIMARY KEY (terminals))", + "answer": "select terminals from table_1603807_2 where line = \"line 2\"" + }, + { + "question": "Name the avg start for avg finish being 24.2", + "context": "create table table_2308381_1 (avg_start varchar, avg_finish varchar, PRIMARY KEY (avg_start))", + "answer": "select avg_start from table_2308381_1 where avg_finish = \"24.2\"" + }, + { + "question": "What is the traditional form for \u5b81\u9675\u53bf?", + "context": "create table table_2135222_2 (traditional varchar, simplified varchar, PRIMARY KEY (traditional))", + "answer": "select traditional from table_2135222_2 where simplified = \"\u5b81\u9675\u53bf\"" + }, + { + "question": "what is the number of registered female voters where the percentage is 108.6%", + "context": "create table table_25042332_30 (enrolled_women varchar, e_vap_ratio_women varchar, PRIMARY KEY (enrolled_women))", + "answer": "select enrolled_women from table_25042332_30 where e_vap_ratio_women = \"108.6%\"" + }, + { + "question": "When Kubb is in 9th, who is in 10th?", + "context": "create table table_17111812_1 (tenth varchar, ninth varchar, PRIMARY KEY (tenth))", + "answer": "select tenth from table_17111812_1 where ninth = \"kubb\"" + }, + { + "question": "Mention all the applicable team who are replaced by gianluca atzori", + "context": "create table table_27114708_2 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_27114708_2 where replaced_by = \"gianluca atzori\"" + }, + { + "question": "What is every candidate for the Cardiff Central constituency?", + "context": "create table table_25818630_1 (candidate varchar, constituency varchar, PRIMARY KEY (candidate))", + "answer": "select candidate from table_25818630_1 where constituency = \"cardiff central\"" + }, + { + "question": "How many songs have a lead vocal?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = \"lead\"" + }, + { + "question": "What are the school years where class \"AAA\" is argyle?", + "context": "create table table_14603212_5 (school_year varchar, class_aaa varchar, argyle varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_14603212_5 where class_aaa = argyle" + }, + { + "question": "Which party is associated with the candidate Albert Sidney Camp (D) unopposed?", + "context": "create table table_1342233_11 (party varchar, candidates varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342233_11 where candidates = \"albert sidney camp (d) unopposed\"" + }, + { + "question": "What are the titles of the books whose writer is not \"Elaine Lee\"?", + "context": "create table book (title varchar, writer varchar, PRIMARY KEY (title))", + "answer": "select title from book where writer <> \"elaine lee\"" + }, + { + "question": "Name the state and federal when property taxes is 17,199,210", + "context": "create table table_11608735_3 (state_ varchar, _federal varchar, property_taxes varchar, PRIMARY KEY (state_))", + "answer": "select state_ & _federal from table_11608735_3 where property_taxes = \"17,199,210\"" + }, + { + "question": "What is the party where the constituency is 10. Tindivanam?", + "context": "create table table_22753245_1 (party varchar, constituency varchar, PRIMARY KEY (party))", + "answer": "select party from table_22753245_1 where constituency = \"10. tindivanam\"" + }, + { + "question": "What was the title of the episode that had 13.82 million U.S. viewers?", + "context": "create table table_18102421_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_18102421_2 where us_viewers__millions_ = \"13.82\"" + }, + { + "question": "What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?", + "context": "create table table_23014923_1 (minor__south__winners varchar, primary__south__winners varchar, PRIMARY KEY (minor__south__winners))", + "answer": "select count(minor__south__winners) from table_23014923_1 where primary__south__winners = \"mendip gate\"" + }, + { + "question": "What is the score for match 1 for the team Eastern Tigers?", + "context": "create table table_24538140_2 (match1 varchar, team varchar, PRIMARY KEY (match1))", + "answer": "select match1 from table_24538140_2 where team = \"eastern tigers\"" + }, + { + "question": "When brive is the proceed to quarter final how many were eliminated from competition?", + "context": "create table table_27987767_3 (eliminated_from_competition varchar, proceed_to_quarter_final varchar, PRIMARY KEY (eliminated_from_competition))", + "answer": "select count(eliminated_from_competition) from table_27987767_3 where proceed_to_quarter_final = \"brive\"" + }, + { + "question": "What's the original title of The New Land?", + "context": "create table table_20061872_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_20061872_1 where film_title_used_in_nomination = \"the new land\"" + }, + { + "question": "What was the distance (in miles) of the championship were the winning horse was Koona?", + "context": "create table table_27833186_1 (distance__miles_ varchar, horse_name varchar, PRIMARY KEY (distance__miles_))", + "answer": "select distance__miles_ from table_27833186_1 where horse_name = \"koona\"" + }, + { + "question": "Name the segment d for combination locks", + "context": "create table table_15187735_3 (segment_d varchar, segment_a varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_3 where segment_a = \"combination locks\"" + }, + { + "question": "What year featured the film tsotsi?", + "context": "create table table_13700749_1 (year__ceremony_ varchar, film_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_13700749_1 where film_title = \"tsotsi\"" + }, + { + "question": "Which channel had the game against the Minnesota Vikings?", + "context": "create table table_11465521_2 (tv varchar, opponent varchar, PRIMARY KEY (tv))", + "answer": "select tv from table_11465521_2 where opponent = \"minnesota vikings\"" + }, + { + "question": "What are the years of TeBe career for the players whose league matches are exactly 163?", + "context": "create table table_28730459_3 (tebe_career varchar, league_matches varchar, PRIMARY KEY (tebe_career))", + "answer": "select tebe_career from table_28730459_3 where league_matches = 163" + }, + { + "question": "Which archbishop was ordained as bishop November 30, 1925?", + "context": "create table table_1656555_1 (archbishop varchar, ordained_bishop varchar, PRIMARY KEY (archbishop))", + "answer": "select archbishop from table_1656555_1 where ordained_bishop = \"november 30, 1925\"" + }, + { + "question": "What is every example for the equivalent of NTE160?", + "context": "create table table_30011_2 (example varchar, equivalent varchar, PRIMARY KEY (example))", + "answer": "select example from table_30011_2 where equivalent = \"nte160\"" + }, + { + "question": "Which city is the address of the store named \"FJA Filming\" located in?", + "context": "create table addresses (city_town varchar, address_id varchar, PRIMARY KEY (city_town)); create table stores (address_id varchar, store_name varchar, PRIMARY KEY (address_id))", + "answer": "select t1.city_town from addresses as t1 join stores as t2 on t1.address_id = t2.address_id where t2.store_name = \"fja filming\"" + }, + { + "question": "WHat is the highest difference?", + "context": "create table table_26677836_1 (difference integer, PRIMARY KEY (difference))", + "answer": "select max(difference) from table_26677836_1" + }, + { + "question": "What is the description of the license for GNU GPL v2 or Ruby license?", + "context": "create table table_25474825_1 (description varchar, license varchar, PRIMARY KEY (description))", + "answer": "select description from table_25474825_1 where license = \"gnu gpl v2 or ruby license\"" + }, + { + "question": "What is the chromosomal location of il-1\u03b2?", + "context": "create table table_29871617_1 (chromosomal_location varchar, name varchar, PRIMARY KEY (chromosomal_location))", + "answer": "select chromosomal_location from table_29871617_1 where name = \"il-1\u03b2\"" + }, + { + "question": "How many tasks does each project have? List the task count and the project detail.", + "context": "create table projects (project_details varchar, project_id varchar, PRIMARY KEY (project_details)); create table tasks (project_id varchar, PRIMARY KEY (project_id))", + "answer": "select count(*), t1.project_details from projects as t1 join tasks as t2 on t1.project_id = t2.project_id group by t1.project_id" + }, + { + "question": "Name the language for fox business network", + "context": "create table table_15887683_8 (language varchar, television_service varchar, PRIMARY KEY (language))", + "answer": "select language from table_15887683_8 where television_service = \"fox business network\"" + }, + { + "question": "who is the the\u00a0candidates\u00a0with\u00a0incumbent\u00a0being james o'connor", + "context": "create table table_1342393_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342393_17 where incumbent = \"james o'connor\"" + }, + { + "question": "What were the requirements for the role played by Robert Austin in the original production?", + "context": "create table table_17827271_1 (actor_required varchar, actor_in_original_production varchar, PRIMARY KEY (actor_required))", + "answer": "select actor_required from table_17827271_1 where actor_in_original_production = \"robert austin\"" + }, + { + "question": "Where the exports is 13,608.65, what is the total trade?", + "context": "create table table_26160007_1 (total_trade varchar, exports varchar, PRIMARY KEY (total_trade))", + "answer": "select total_trade from table_26160007_1 where exports = \"13,608.65\"" + }, + { + "question": "Name the written by for john trefor", + "context": "create table table_2430014_6 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_2430014_6 where directed_by = \"john trefor\"" + }, + { + "question": "For each user, find their name and the number of reviews written by them.", + "context": "create table useracct (name varchar, u_id varchar, PRIMARY KEY (name)); create table review (u_id varchar, PRIMARY KEY (u_id))", + "answer": "select t1.name, count(*) from useracct as t1 join review as t2 on t1.u_id = t2.u_id group by t2.u_id" + }, + { + "question": "Show the years in which orchestras that have given more than one performance are founded.", + "context": "create table performance (orchestra_id varchar, PRIMARY KEY (orchestra_id)); create table orchestra (orchestra_id varchar, PRIMARY KEY (orchestra_id))", + "answer": "select year_of_founded from orchestra as t1 join performance as t2 on t1.orchestra_id = t2.orchestra_id group by t2.orchestra_id having count(*) > 1" + }, + { + "question": "How many points in 87/88 for racing de c\u00f3rdoba?", + "context": "create table table_14460085_3 (team varchar, PRIMARY KEY (team))", + "answer": "select 1987 as _88 from table_14460085_3 where team = \"racing de c\u00f3rdoba\"" + }, + { + "question": "What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas?", + "context": "create table table_25527255_2 (average_squad_age varchar, shirt_sponsor varchar, kit_manufacturer varchar, PRIMARY KEY (average_squad_age))", + "answer": "select average_squad_age from table_25527255_2 where shirt_sponsor = \"sho'rtan gaz mahsulot\" and kit_manufacturer = \"adidas\"" + }, + { + "question": "How many lessons taught by staff whose first name has letter 'a' in it?", + "context": "create table lessons (staff_id varchar, PRIMARY KEY (staff_id)); create table staff (staff_id varchar, first_name varchar, PRIMARY KEY (staff_id))", + "answer": "select count(*) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name like \"%a%\"" + }, + { + "question": "How many weeks was K.Maro at #1?", + "context": "create table table_27441210_12 (weeks_at__number1 integer, artist varchar, PRIMARY KEY (weeks_at__number1))", + "answer": "select max(weeks_at__number1) from table_27441210_12 where artist = \"k.maro\"" + }, + { + "question": "What is Haydon when Larter is 11 and Libweshya is 4?", + "context": "create table table_11447995_2 (haydon varchar, larter varchar, libweshya varchar, PRIMARY KEY (haydon))", + "answer": "select haydon from table_11447995_2 where larter = \"11\" and libweshya = \"4\"" + }, + { + "question": "List all the login names and family names of course author and tutors.", + "context": "create table course_authors_and_tutors (login_name varchar, family_name varchar, PRIMARY KEY (login_name))", + "answer": "select login_name, family_name from course_authors_and_tutors" + }, + { + "question": "Find the name and nationality of the swimmer who has won (i.e., has a result of \"win\") more than 1 time.", + "context": "create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, nationality varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name, t1.nationality from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id where result = 'win' group by t2.swimmer_id having count(*) > 1" + }, + { + "question": "Find the names of all instructors in the Art department who have taught some course and the course_id.", + "context": "create table instructor (id varchar, dept_name varchar, PRIMARY KEY (id)); create table teaches (id varchar, PRIMARY KEY (id))", + "answer": "select name, course_id from instructor as t1 join teaches as t2 on t1.id = t2.id where t1.dept_name = 'art'" + }, + { + "question": "What's the name of the central bank in the country where Colombian Peso (cop) is the local currency?", + "context": "create table table_1222653_10 (central_bank varchar, currency varchar, PRIMARY KEY (central_bank))", + "answer": "select central_bank from table_1222653_10 where currency = \"colombian peso (cop)\"" + }, + { + "question": "What are the average profits of companies?", + "context": "create table companies (profits_billion integer, PRIMARY KEY (profits_billion))", + "answer": "select avg(profits_billion) from companies" + }, + { + "question": "Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?", + "context": "create table table_23248910_5 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23248910_5 where record = \"5-2\"" + }, + { + "question": "How many validations are listed for the iin range 36?", + "context": "create table table_15905399_1 (validation varchar, iin_ranges varchar, PRIMARY KEY (validation))", + "answer": "select count(validation) from table_15905399_1 where iin_ranges = \"36\"" + }, + { + "question": "What are the ids, names and genders of the architects who built two bridges or one mill?", + "context": "create table mill (architect_id varchar, PRIMARY KEY (architect_id)); create table architect (id varchar, name varchar, gender varchar, PRIMARY KEY (id)); create table bridge (architect_id varchar, PRIMARY KEY (architect_id))", + "answer": "select t1.id, t1.name, t1.gender from architect as t1 join bridge as t2 on t1.id = t2.architect_id group by t1.id having count(*) = 2 union select t1.id, t1.name, t1.gender from architect as t1 join mill as t2 on t1.id = t2.architect_id group by t1.id having count(*) = 1" + }, + { + "question": "What are the conditions for the athens circuit?", + "context": "create table table_24463470_1 (conditions varchar, circuit varchar, PRIMARY KEY (conditions))", + "answer": "select conditions from table_24463470_1 where circuit = \"athens\"" + }, + { + "question": "Name the mens singles for lee eun-sil moon hyun-jung", + "context": "create table table_28138035_4 (mens_singles varchar, womens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_28138035_4 where womens_doubles = \"lee eun-sil moon hyun-jung\"" + }, + { + "question": "What is the title of episode No. 65?", + "context": "create table table_28195898_1 (title varchar, \u2116 varchar, PRIMARY KEY (title))", + "answer": "select title from table_28195898_1 where \u2116 = 65" + }, + { + "question": "Who did Nabil Kassel face in the Round of 32?", + "context": "create table table_17427004_7 (round_of_32 varchar, athlete varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_17427004_7 where athlete = \"nabil kassel\"" + }, + { + "question": "Name the median income for age band being under 20", + "context": "create table table_14946657_3 (median_income varchar, age_band varchar, PRIMARY KEY (median_income))", + "answer": "select median_income from table_14946657_3 where age_band = \"under 20\"" + }, + { + "question": "When did this wind farm started service with a capacity of 135 MW?", + "context": "create table table_24837750_1 (date_in_service varchar, installed_capacity__mw_ varchar, PRIMARY KEY (date_in_service))", + "answer": "select date_in_service from table_24837750_1 where installed_capacity__mw_ = \"135\"" + }, + { + "question": "Who had highest points during game against the Utah Jazz?", + "context": "create table table_27902171_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_27902171_6 where team = \"utah jazz\"" + }, + { + "question": "What is the location of the institution barton college", + "context": "create table table_11658094_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_11658094_1 where institution = \"barton college\"" + }, + { + "question": "Which start station had the most trips starting from August? Give me the name and id of the station.", + "context": "create table trip (start_station_name varchar, start_station_id varchar, start_date varchar, PRIMARY KEY (start_station_name))", + "answer": "select start_station_name, start_station_id from trip where start_date like \"8/%\" group by start_station_name order by count(*) desc limit 1" + }, + { + "question": "Where does the staff member with the first name Elsa live?", + "context": "create table staff (address_id varchar, first_name varchar, PRIMARY KEY (address_id)); create table address (address varchar, address_id varchar, PRIMARY KEY (address))", + "answer": "select t2.address from staff as t1 join address as t2 on t1.address_id = t2.address_id where t1.first_name = 'elsa'" + }, + { + "question": "how many directors for the film \u043c\u0430\u0458\u043a\u0438", + "context": "create table table_14928423_1 (director_s_ varchar, original_title varchar, PRIMARY KEY (director_s_))", + "answer": "select count(director_s_) from table_14928423_1 where original_title = \"\u043c\u0430\u0458\u043a\u0438\"" + }, + { + "question": "What is the NFL team for the player who's college was Norfolk State?", + "context": "create table table_16376436_1 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_16376436_1 where college = \"norfolk state\"" + }, + { + "question": "When the girls singles is lindaweni fanetri what is the mixed doubled?", + "context": "create table table_14319023_2 (mixed_doubles varchar, girls_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14319023_2 where girls_singles = \"lindaweni fanetri\"" + }, + { + "question": "What was Brian Moran's tally in the Survey USA poll where Creigh Deeds had 26%?", + "context": "create table table_21535453_1 (brian_moran varchar, source varchar, creigh_deeds varchar, PRIMARY KEY (brian_moran))", + "answer": "select brian_moran from table_21535453_1 where source = \"survey usa\" and creigh_deeds = \"26%\"" + }, + { + "question": "What days is greenock morton vacant?", + "context": "create table table_11207040_6 (date_of_vacancy varchar, team varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_11207040_6 where team = \"greenock morton\"" + }, + { + "question": "What's the percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006?", + "context": "create table table_23619212_1 (_percentage_of_all_immigrants_2007 varchar, _percentage_of_all_immigrants_2006 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2007))", + "answer": "select _percentage_of_all_immigrants_2007 from table_23619212_1 where _percentage_of_all_immigrants_2006 = \"14.1%\"" + }, + { + "question": "What's the record in the game in which Brad Miller (7) did the high rebounds?", + "context": "create table table_22669044_10 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_22669044_10 where high_rebounds = \"brad miller (7)\"" + }, + { + "question": "What was the manner of departure of Nicolae Manea?", + "context": "create table table_17115950_2 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_17115950_2 where outgoing_manager = \"nicolae manea\"" + }, + { + "question": "Who was asked 20 questions in the issue where the cover model is Linda Brava?", + "context": "create table table_1566850_9 (cover_model varchar, PRIMARY KEY (cover_model))", + "answer": "select 20 as _questions from table_1566850_9 where cover_model = \"linda brava\"" + }, + { + "question": "What is the Atlantic Europe when age is 10,000 years?", + "context": "create table table_22860_1 (atlantic_europe varchar, age__before_ varchar, PRIMARY KEY (atlantic_europe))", + "answer": "select atlantic_europe from table_22860_1 where age__before_ = \"10,000 years\"" + }, + { + "question": "What network garnered 2.74 million viewers for Supernatural?", + "context": "create table table_2170969_2 (network varchar, viewers_in_millions varchar, PRIMARY KEY (network))", + "answer": "select network from table_2170969_2 where viewers_in_millions = \"2.74\"" + }, + { + "question": "What is the no party preference when other is 10.1%?", + "context": "create table table_27003186_3 (no_party_preference varchar, other varchar, PRIMARY KEY (no_party_preference))", + "answer": "select no_party_preference from table_27003186_3 where other = \"10.1%\"" + }, + { + "question": "How many 2nd legs are there where home (1st leg) is Independiente?", + "context": "create table table_14219514_1 (home__1st_leg_ varchar, PRIMARY KEY (home__1st_leg_))", + "answer": "select 2 as nd_leg from table_14219514_1 where home__1st_leg_ = \"independiente\"" + }, + { + "question": "Who was the TO winning team when the TU winning team was Joe Richardson?", + "context": "create table table_13642023_2 (to_winning_team varchar, tu_winning_team varchar, PRIMARY KEY (to_winning_team))", + "answer": "select to_winning_team from table_13642023_2 where tu_winning_team = \"joe richardson\"" + }, + { + "question": "Who did the most assists when Matt Barnes (11) got the most rebounds?", + "context": "create table table_17340355_10 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17340355_10 where high_rebounds = \"matt barnes (11)\"" + }, + { + "question": "What was the 18 to 49 rating when 9.50 million watched?", + "context": "create table table_24689168_5 (rating__18_49_ varchar, viewers__millions_ varchar, PRIMARY KEY (rating__18_49_))", + "answer": "select rating__18_49_ from table_24689168_5 where viewers__millions_ = \"9.50\"" + }, + { + "question": "What are all the songs in albums under label \"Universal Music Group\"?", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table albums (aid varchar, PRIMARY KEY (aid)); create table tracklists (albumid varchar, songid varchar, PRIMARY KEY (albumid))", + "answer": "select t3.title from albums as t1 join tracklists as t2 on t1.aid = t2.albumid join songs as t3 on t2.songid = t3.songid where t1.label = \"universal music group\"" + }, + { + "question": "Show origins of all flights with destination Honolulu.", + "context": "create table flight (origin varchar, destination varchar, PRIMARY KEY (origin))", + "answer": "select origin from flight where destination = \"honolulu\"" + }, + { + "question": "Show all main industry for all companies.", + "context": "create table company (main_industry varchar, PRIMARY KEY (main_industry))", + "answer": "select distinct main_industry from company" + }, + { + "question": "How many villages are there in the Magway region?", + "context": "create table table_19457_1 (villages varchar, state_region varchar, PRIMARY KEY (villages))", + "answer": "select villages from table_19457_1 where state_region = \"magway region\"" + }, + { + "question": "Find the total number of scientists.", + "context": "create table scientists (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from scientists" + }, + { + "question": "Who was the defensive award winner in February when the rookie award was given to Rhys Duch?", + "context": "create table table_14132239_3 (defensive varchar, month varchar, rookie varchar, PRIMARY KEY (defensive))", + "answer": "select defensive from table_14132239_3 where month = \"february\" and rookie = \"rhys duch\"" + }, + { + "question": "How many table points are listed for the deficit is +194?", + "context": "create table table_18505065_1 (table_points varchar, difference varchar, PRIMARY KEY (table_points))", + "answer": "select count(table_points) from table_18505065_1 where difference = \"+194\"" + }, + { + "question": "Who is every name for time(cet) of 09:58?", + "context": "create table table_21536557_2 (name varchar, time__cet_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_21536557_2 where time__cet_ = \"09:58\"" + }, + { + "question": "What was the record against Washington?", + "context": "create table table_17121262_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_17121262_10 where team = \"washington\"" + }, + { + "question": "What is the new classification for the University of Arizona Western in the Collegiate Lacrosse League?", + "context": "create table table_14976504_2 (new_classification varchar, institution varchar, PRIMARY KEY (new_classification))", + "answer": "select new_classification from table_14976504_2 where institution = \"university of arizona\"" + }, + { + "question": "What is the most used instrument?", + "context": "create table instruments (instrument varchar, PRIMARY KEY (instrument))", + "answer": "select instrument from instruments group by instrument order by count(*) desc limit 1" + }, + { + "question": "What province had a turnout of 54.09%?", + "context": "create table table_27274222_2 (province varchar, turnout___percentage_ varchar, PRIMARY KEY (province))", + "answer": "select province from table_27274222_2 where turnout___percentage_ = \"54.09\"" + }, + { + "question": "What is the team that the replaced by is miroslav \u0111uki\u0107?", + "context": "create table table_24231638_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_24231638_3 where replaced_by = \"miroslav \u0111uki\u0107\"" + }, + { + "question": "What are the names of players from the dr congo?", + "context": "create table table_29743928_3 (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name from table_29743928_3 where country = \"dr congo\"" + }, + { + "question": "How many elverum are tehre for et sted i scandinavia?", + "context": "create table table_19439864_2 (elverum varchar, song varchar, PRIMARY KEY (elverum))", + "answer": "select count(elverum) from table_19439864_2 where song = \"et sted i scandinavia\"" + }, + { + "question": "Name the record for new york giants", + "context": "create table table_15607589_2 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_15607589_2 where opponent = \"new york giants\"" + }, + { + "question": "Which street is 12.2 miles long?", + "context": "create table table_10568553_1 (street_names varchar, milepost varchar, PRIMARY KEY (street_names))", + "answer": "select street_names from table_10568553_1 where milepost = \"12.2\"" + }, + { + "question": "How many times was the opponent country India?", + "context": "create table table_21907770_4 (country varchar, versus varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_21907770_4 where versus = \"india\"" + }, + { + "question": "What is the NFL team for the player who's college was North Carolina?", + "context": "create table table_16376436_1 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_16376436_1 where college = \"north carolina\"" + }, + { + "question": "What won the Best Female Artist if People's Male MC won the Best Female Lyricist?", + "context": "create table table_22546460_4 (best_female_artist varchar, best_female_lyricist varchar, PRIMARY KEY (best_female_artist))", + "answer": "select best_female_artist from table_22546460_4 where best_female_lyricist = \"people's male mc\"" + }, + { + "question": "How many characteristics does the product named \"sesame\" have?", + "context": "create table product_characteristics (product_id varchar, PRIMARY KEY (product_id)); create table products (product_id varchar, product_name varchar, PRIMARY KEY (product_id))", + "answer": "select count(*) from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id where t1.product_name = \"sesame\"" + }, + { + "question": "what's the\u00a0team\u00a0with\u00a0stadium\u00a0being glebe park", + "context": "create table table_14003020_5 (team varchar, stadium varchar, PRIMARY KEY (team))", + "answer": "select team from table_14003020_5 where stadium = \"glebe park\"" + }, + { + "question": "How many services are there?", + "context": "create table services (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from services" + }, + { + "question": "Name the upper index kcal/nm3 for 62.47", + "context": "create table table_1868929_1 (upper_index_kcal__nm_3 varchar, lower_index_mj__nm_3 varchar, PRIMARY KEY (upper_index_kcal__nm_3))", + "answer": "select upper_index_kcal__nm_3 from table_1868929_1 where lower_index_mj__nm_3 = \"62.47\"" + }, + { + "question": "How many contestants had a starting bmi of 33.1?", + "context": "create table table_28654454_5 (finale_weight varchar, starting_bmi varchar, PRIMARY KEY (finale_weight))", + "answer": "select count(finale_weight) from table_28654454_5 where starting_bmi = \"33.1\"" + }, + { + "question": "What is the Irish name listed with 62% Irish speakers?", + "context": "create table table_101196_1 (irish_name varchar, irish_speakers varchar, PRIMARY KEY (irish_name))", + "answer": "select irish_name from table_101196_1 where irish_speakers = \"62%\"" + }, + { + "question": "Show different builders of railways, along with the corresponding number of railways using each builder.", + "context": "create table railway (builder varchar, PRIMARY KEY (builder))", + "answer": "select builder, count(*) from railway group by builder" + }, + { + "question": "Name the santee sisseton for wi\u010dh\u00e1\u0161a", + "context": "create table table_1499774_5 (santee_sisseton varchar, yankton_yanktonai varchar, PRIMARY KEY (santee_sisseton))", + "answer": "select santee_sisseton from table_1499774_5 where yankton_yanktonai = \"wi\u010dh\u00e1\u0161a\"" + }, + { + "question": "What is the only city name with a population density of 200?", + "context": "create table table_21284653_1 (name varchar, population_density varchar, PRIMARY KEY (name))", + "answer": "select name from table_21284653_1 where population_density = \"200\"" + }, + { + "question": "How many seats were won, when the seats contested was 48?", + "context": "create table table_20728138_1 (seats_won varchar, seats_contested varchar, PRIMARY KEY (seats_won))", + "answer": "select seats_won from table_20728138_1 where seats_contested = 48" + }, + { + "question": "List all cartoon directed by \"Ben Jones\".", + "context": "create table cartoon (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from cartoon where directed_by = \"ben jones\"" + }, + { + "question": "What was the province if the electorate was Collingwood?", + "context": "create table table_27592654_2 (province varchar, electorate varchar, PRIMARY KEY (province))", + "answer": "select province from table_27592654_2 where electorate = \"collingwood\"" + }, + { + "question": "When 139 is on March 27th to 29th what is August 21st to 22nd?", + "context": "create table table_25286976_2 (august_21_22 varchar, march_27_29 varchar, PRIMARY KEY (august_21_22))", + "answer": "select august_21_22 from table_25286976_2 where march_27_29 = \"139\"" + }, + { + "question": "Name the total number for 18-49 share being 18-49 being 3.1", + "context": "create table table_20971444_3 (share__18_49_ varchar, rating__18_49_ varchar, PRIMARY KEY (share__18_49_))", + "answer": "select count(share__18_49_) from table_20971444_3 where rating__18_49_ = \"3.1\"" + }, + { + "question": "How many papers are published in total?", + "context": "create table papers (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from papers" + }, + { + "question": "Who won when Jamie Green had the best lap?", + "context": "create table table_21321935_2 (winning_driver varchar, fastest_lap varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_21321935_2 where fastest_lap = \"jamie green\"" + }, + { + "question": "Where is lootospark from?", + "context": "create table table_27409644_1 (location varchar, ground varchar, PRIMARY KEY (location))", + "answer": "select location from table_27409644_1 where ground = \"lootospark\"" + }, + { + "question": "What is the part 4 when part 1 is \"lesan\"?", + "context": "create table table_1745843_8 (part_4 varchar, part_1 varchar, PRIMARY KEY (part_4))", + "answer": "select part_4 from table_1745843_8 where part_1 = \"lesan\"" + }, + { + "question": "Who was the episode writer when the viewers reached 3.03 million in the US?", + "context": "create table table_17861265_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_17861265_1 where us_viewers__million_ = \"3.03\"" + }, + { + "question": "Show all different home cities.", + "context": "create table driver (home_city varchar, PRIMARY KEY (home_city))", + "answer": "select distinct home_city from driver" + }, + { + "question": "How many rain figures are provided for sunlight hours in 1966?", + "context": "create table table_12837_1 (rain varchar, sunlight_hours varchar, PRIMARY KEY (rain))", + "answer": "select count(rain) from table_12837_1 where sunlight_hours = 1966" + }, + { + "question": "Who replaced Michel Preud'homme?", + "context": "create table table_27374004_3 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_27374004_3 where outgoing_manager = \"michel preud'homme\"" + }, + { + "question": "How many powiats have mstsislaw as a capital?", + "context": "create table table_1784514_1 (number_of_powiats varchar, capital varchar, PRIMARY KEY (number_of_powiats))", + "answer": "select number_of_powiats from table_1784514_1 where capital = \"mstsislaw\"" + }, + { + "question": "What is the highest amount of uefa champion leagues?", + "context": "create table table_18254488_2 (uefa_champions_league integer, PRIMARY KEY (uefa_champions_league))", + "answer": "select max(uefa_champions_league) from table_18254488_2" + }, + { + "question": "What is the type when the settlement is suboti\u0161te?", + "context": "create table table_2562572_52 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_52 where settlement = \"suboti\u0161te\"" + }, + { + "question": "Which people had the best 10-year period when Capablanca had the best 15-year period?", + "context": "create table table_1710426_2 (best_10_year_period varchar, best_15_year_period varchar, PRIMARY KEY (best_10_year_period))", + "answer": "select best_10_year_period from table_1710426_2 where best_15_year_period = \"capablanca\"" + }, + { + "question": "if the best run was 138, what is the amount of games lost?", + "context": "create table table_27533947_1 (games_lost varchar, best_run varchar, PRIMARY KEY (games_lost))", + "answer": "select games_lost from table_27533947_1 where best_run = 138" + }, + { + "question": "What are the nationalities of the player picked from Thunder Bay Flyers (ushl)", + "context": "create table table_1013129_2 (nationality varchar, college_junior_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_1013129_2 where college_junior_club_team = \"thunder bay flyers (ushl)\"" + }, + { + "question": "List the first name and last name of customers have the amount of outstanding between 1000 and 3000.", + "context": "create table customers (first_name varchar, last_name varchar, amount_outstanding integer, PRIMARY KEY (first_name))", + "answer": "select first_name, last_name from customers where amount_outstanding between 1000 and 3000" + }, + { + "question": "What candidates ran in the election that featured harry lane englebright?", + "context": "create table table_1342370_5 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342370_5 where incumbent = \"harry lane englebright\"" + }, + { + "question": "What theme name has the original artist of Dolly Parton?", + "context": "create table table_15796100_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_15796100_1 where original_artist = \"dolly parton\"" + }, + { + "question": "What is the original air date of the episode that was watched by 0.88 million U.S. viewers?", + "context": "create table table_28680377_2 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28680377_2 where us_viewers__million_ = \"0.88\"" + }, + { + "question": "Name the party for bensalem", + "context": "create table table_1979619_3 (party varchar, residence varchar, PRIMARY KEY (party))", + "answer": "select party from table_1979619_3 where residence = \"bensalem\"" + }, + { + "question": "Name the team for avg start being 20.5", + "context": "create table table_2463383_2 (team_s_ varchar, avg_start varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2463383_2 where avg_start = \"20.5\"" + }, + { + "question": "Which club had 5 bonus points?", + "context": "create table table_27293285_2 (club varchar, bonus_points varchar, PRIMARY KEY (club))", + "answer": "select club from table_27293285_2 where bonus_points = \"5\"" + }, + { + "question": "Name the most 1 credit for three of a kind", + "context": "create table table_148535_2 (hand varchar, PRIMARY KEY (hand))", + "answer": "select max(1 as _credit) from table_148535_2 where hand = \"three of a kind\"" + }, + { + "question": "Which school's team has the nickname of the Wildcats?", + "context": "create table table_16078390_2 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_16078390_2 where team_nickname = \"wildcats\"" + }, + { + "question": "For the location of quezon city , metro manila what is the athletic nickname?", + "context": "create table table_22171978_1 (athletic_nickname varchar, location varchar, PRIMARY KEY (athletic_nickname))", + "answer": "select athletic_nickname from table_22171978_1 where location = \"quezon city , metro manila\"" + }, + { + "question": "Name the third district for christine young", + "context": "create table table_15442974_1 (third_district varchar, fifth_district varchar, PRIMARY KEY (third_district))", + "answer": "select third_district from table_15442974_1 where fifth_district = \"christine young\"" + }, + { + "question": "List all directors when Brad Radnitz was the writer?", + "context": "create table table_2342078_4 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2342078_4 where written_by = \"brad radnitz\"" + }, + { + "question": "What finales took place in the Tuesday 9:30 p.m. timeslot?", + "context": "create table table_175980_2 (finale varchar, timeslot varchar, PRIMARY KEY (finale))", + "answer": "select finale from table_175980_2 where timeslot = \"tuesday 9:30 p.m.\"" + }, + { + "question": "Name the duration for vladimir vasyutin , alexander volkov", + "context": "create table table_245801_1 (duration__days_ varchar, crew varchar, PRIMARY KEY (duration__days_))", + "answer": "select count(duration__days_) from table_245801_1 where crew = \"vladimir vasyutin , alexander volkov\"" + }, + { + "question": "What is friday day six when thursday day five is \u067e\u0686\u06be\u0645\u0628\u06d2 pachhambey?", + "context": "create table table_1277350_7 (friday_day_six varchar, thursday_day_five varchar, PRIMARY KEY (friday_day_six))", + "answer": "select friday_day_six from table_1277350_7 where thursday_day_five = \"\u067e\u0686\u06be\u0645\u0628\u06d2 pachhambey\"" + }, + { + "question": "What is the weight with a cross section area of 25.3?", + "context": "create table table_2071644_2 (weight__kg_m_ varchar, cross_section_area__cm_2__ varchar, PRIMARY KEY (weight__kg_m_))", + "answer": "select weight__kg_m_ from table_2071644_2 where cross_section_area__cm_2__ = \"25.3\"" + }, + { + "question": "What is the highest Jews and others 1?", + "context": "create table table_25947046_1 (jews_and_others_1 integer, PRIMARY KEY (jews_and_others_1))", + "answer": "select max(jews_and_others_1) from table_25947046_1" + }, + { + "question": "How many appointment dates were recorded when J\u00fcrgen Kohler was the replaced by?", + "context": "create table table_17085981_2 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select count(date_of_appointment) from table_17085981_2 where replaced_by = \"j\u00fcrgen kohler\"" + }, + { + "question": "How many customers do we have?", + "context": "create table customers (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from customers" + }, + { + "question": "What is every equivalent for the example of asy28?", + "context": "create table table_30011_2 (equivalent varchar, example varchar, PRIMARY KEY (equivalent))", + "answer": "select equivalent from table_30011_2 where example = \"asy28\"" + }, + { + "question": "What is the final win percentage of the Sault Ste. Marie Greyhounds?", + "context": "create table table_17751942_4 (final_win__percentage varchar, team varchar, PRIMARY KEY (final_win__percentage))", + "answer": "select final_win__percentage from table_17751942_4 where team = \"sault ste. marie greyhounds\"" + }, + { + "question": "What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking?", + "context": "create table table_19948664_1 (index__year_ varchar, author___editor___source varchar, ranking_la__2_ varchar, PRIMARY KEY (index__year_))", + "answer": "select index__year_ from table_19948664_1 where author___editor___source = \"united nations (undp)\" and ranking_la__2_ = \"2nd\"" + }, + { + "question": "What percent of the parliamentary election did the pensioners party receive", + "context": "create table table_203802_2 (english_party_name varchar, PRIMARY KEY (english_party_name))", + "answer": "select 2013 as _parliamentary_election from table_203802_2 where english_party_name = \"pensioners party\"" + }, + { + "question": "Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports?", + "context": "create table table_26638600_3 (lites_2_race_two_winning_team varchar, lites_1_race_one_winning_team varchar, PRIMARY KEY (lites_2_race_two_winning_team))", + "answer": "select lites_2_race_two_winning_team from table_26638600_3 where lites_1_race_one_winning_team = \"#13 inspire motorsports\"" + }, + { + "question": "What is the air date of the episode written by Itamar Moses?", + "context": "create table table_25356350_3 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25356350_3 where written_by = \"itamar moses\"" + }, + { + "question": "what's the\u00a0current country of location\u00a0with\u00a0operational period\u00a0\u00a0of summer of 1941 to 28 june 1944", + "context": "create table table_10335_1 (current_country_of_location varchar, operational varchar, PRIMARY KEY (current_country_of_location))", + "answer": "select current_country_of_location from table_10335_1 where operational = \"summer of 1941 to 28 june 1944\"" + }, + { + "question": "What was the title for the Undercard of Stevenson/Bellew?", + "context": "create table table_25840200_1 (titles varchar, notes varchar, PRIMARY KEY (titles))", + "answer": "select titles from table_25840200_1 where notes = \"undercard of stevenson/bellew\"" + }, + { + "question": "Name the mountains classification for team columbia", + "context": "create table table_19115414_4 (mountains_classification varchar, team_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_19115414_4 where team_classification = \"team columbia\"" + }, + { + "question": "What team had an average fencer rank of 1.33?", + "context": "create table table_28372291_1 (team varchar, average_fencers_rank varchar, PRIMARY KEY (team))", + "answer": "select team from table_28372291_1 where average_fencers_rank = \"1.33\"" + }, + { + "question": "what is the y = 2008 when the expression is easter day (julian calendar)?", + "context": "create table table_214479_8 (y_ varchar, _2008 varchar, expression varchar, PRIMARY KEY (y_))", + "answer": "select y_ = _2008 from table_214479_8 where expression = \"easter day (julian calendar)\"" + }, + { + "question": "What is the largest 1st prize( $ ) at the South Carolina location?", + "context": "create table table_11622896_1 (location varchar, PRIMARY KEY (location))", + "answer": "select max(1 as st_prize__) as $__ from table_11622896_1 where location = \"south carolina\"" + }, + { + "question": "How many CSU campuses are there?", + "context": "create table campuses (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from campuses" + }, + { + "question": "What is the minimum number of total placings?", + "context": "create table table_20823568_3 (total_placings_s_ integer, PRIMARY KEY (total_placings_s_))", + "answer": "select min(total_placings_s_) from table_20823568_3" + }, + { + "question": "How many were the US viewers (in millions) of the episode that was written by Gordon C. Lonsdale?", + "context": "create table table_26826304_1 (us_viewers__millions_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_26826304_1 where directed_by = \"gordon c. lonsdale\"" + }, + { + "question": "What year did Thorleif Haug win the Winter Olympics?", + "context": "create table table_174491_1 (winter_olympics varchar, winner varchar, PRIMARY KEY (winter_olympics))", + "answer": "select winter_olympics from table_174491_1 where winner = \"thorleif haug\"" + }, + { + "question": "What is every entry for Friday August 26 when the entry for Wednesday August 24 is 23' 52.67 94.807mph?", + "context": "create table table_30058355_7 (fri_26_aug varchar, wed_24_aug varchar, PRIMARY KEY (fri_26_aug))", + "answer": "select fri_26_aug from table_30058355_7 where wed_24_aug = \"23' 52.67 94.807mph\"" + }, + { + "question": "If the number of barangays is 19, what is the population density?", + "context": "create table table_232458_1 (pop_density__per_km\u00b2_ varchar, no_of_barangays varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select pop_density__per_km\u00b2_ from table_232458_1 where no_of_barangays = 19" + }, + { + "question": "Who is every young rider classification if combativity award is Yannick Talabardon?", + "context": "create table table_25999087_2 (young_rider_classification varchar, combativity_award varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_25999087_2 where combativity_award = \"yannick talabardon\"" + }, + { + "question": "Please show the name of the conductor that has conducted orchestras founded after 2008.", + "context": "create table orchestra (conductor_id varchar, PRIMARY KEY (conductor_id)); create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id where year_of_founded > 2008" + }, + { + "question": "Show all advisors and corresponding number of students.", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select advisor, count(*) from student group by advisor" + }, + { + "question": "What is the r (\u03c9/km) when the frequency is 10k?", + "context": "create table table_261642_3 (r__\u03c9_km_ varchar, frequency__hz_ varchar, PRIMARY KEY (r__\u03c9_km_))", + "answer": "select r__\u03c9_km_ from table_261642_3 where frequency__hz_ = \"10k\"" + }, + { + "question": "Who was the driver for the winning team Lawson Team Impul?", + "context": "create table table_22379931_2 (winning_driver varchar, winning_team varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_22379931_2 where winning_team = \"lawson team impul\"" + }, + { + "question": "When peter kox roman rusinov is the gt1 of the winning team how many lmp1 winning teams are there?", + "context": "create table table_19722436_2 (lmp1_winning_team varchar, gt1_winning_team varchar, PRIMARY KEY (lmp1_winning_team))", + "answer": "select count(lmp1_winning_team) from table_19722436_2 where gt1_winning_team = \"peter kox roman rusinov\"" + }, + { + "question": "Name the number of location for 22-1", + "context": "create table table_22875369_3 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_22875369_3 where record = \"22-1\"" + }, + { + "question": "How many schools won their last occ championship in 2006?", + "context": "create table table_17429402_7 (school varchar, last_occ_championship varchar, PRIMARY KEY (school))", + "answer": "select count(school) from table_17429402_7 where last_occ_championship = \"2006\"" + }, + { + "question": "Name the most withdrawn for 37 lstr no.", + "context": "create table table_20391799_1 (withdrawn integer, ltsr_no varchar, PRIMARY KEY (withdrawn))", + "answer": "select max(withdrawn) from table_20391799_1 where ltsr_no = 37" + }, + { + "question": "What was the date of the series finale for Peru?", + "context": "create table table_29799700_2 (series_finale varchar, country varchar, PRIMARY KEY (series_finale))", + "answer": "select series_finale from table_29799700_2 where country = \"peru\"" + }, + { + "question": "who is the the\u00a0president\u00a0with\u00a0date of inauguration\u00a0being 4june1979", + "context": "create table table_12134383_1 (president varchar, date_of_inauguration varchar, PRIMARY KEY (president))", + "answer": "select president from table_12134383_1 where date_of_inauguration = \"4june1979\"" + }, + { + "question": "On which circuit was the lites 1 race one winning team #66 Gunnar Racing?", + "context": "create table table_26638600_3 (circuit varchar, lites_1_race_one_winning_team varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_26638600_3 where lites_1_race_one_winning_team = \"#66 gunnar racing\"" + }, + { + "question": "What are the drivers' first, last names and id who had more than 8 pit stops or participated in more than 5 race results?", + "context": "create table drivers (forename varchar, surname varchar, driverid varchar, PRIMARY KEY (forename)); create table results (driverid varchar, PRIMARY KEY (driverid)); create table pitstops (driverid varchar, PRIMARY KEY (driverid))", + "answer": "select t1.forename, t1.surname, t1.driverid from drivers as t1 join pitstops as t2 on t1.driverid = t2.driverid group by t1.driverid having count(*) > 8 union select t1.forename, t1.surname, t1.driverid from drivers as t1 join results as t2 on t1.driverid = t2.driverid group by t1.driverid having count(*) > 5" + }, + { + "question": "Name the index weighting % for 17 januaary 2013 for rno", + "context": "create table table_168274_1 (index_weighting___percentage__at_17_january_2013 varchar, ticker_symbol varchar, PRIMARY KEY (index_weighting___percentage__at_17_january_2013))", + "answer": "select index_weighting___percentage__at_17_january_2013 from table_168274_1 where ticker_symbol = \"rno\"" + }, + { + "question": "Name the number of administrative county for area 1961 and 176694", + "context": "create table table_14925084_1 (administrative_county varchar, area_1961__statute_acres_ varchar, PRIMARY KEY (administrative_county))", + "answer": "select count(administrative_county) from table_14925084_1 where area_1961__statute_acres_ = 176694" + }, + { + "question": "What is the car number driven by Darren Manning?", + "context": "create table table_17256857_1 (car_no varchar, driver varchar, PRIMARY KEY (car_no))", + "answer": "select car_no from table_17256857_1 where driver = \"darren manning\"" + }, + { + "question": "When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?", + "context": "create table table_23575917_6 (first_broadcast varchar, davids_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23575917_6 where davids_team = \"david o'doherty and katherine parkinson\"" + }, + { + "question": "Who was the challenger when winner was kimio nonaga?", + "context": "create table table_23982399_12 (challenger varchar, winner varchar, PRIMARY KEY (challenger))", + "answer": "select challenger from table_23982399_12 where winner = \"kimio nonaga\"" + }, + { + "question": "What type of glazing will stop a .44 magnum?", + "context": "create table table_21538523_1 (type varchar, caliber varchar, PRIMARY KEY (type))", + "answer": "select type from table_21538523_1 where caliber = \".44 magnum\"" + }, + { + "question": "Name the base 10 for shortscale comparison for billion", + "context": "create table table_260938_1 (base_10 varchar, shortscale_comparison varchar, PRIMARY KEY (base_10))", + "answer": "select base_10 from table_260938_1 where shortscale_comparison = \"billion\"" + }, + { + "question": "What year was taxidermia nominated?", + "context": "create table table_14975415_1 (year__ceremony_ varchar, hungarian_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_14975415_1 where hungarian_title = \"taxidermia\"" + }, + { + "question": "How many distinct types of accounts are there?", + "context": "create table customer (acc_type varchar, PRIMARY KEY (acc_type))", + "answer": "select count(distinct acc_type) from customer" + }, + { + "question": "Who was the mens doubles when womens singles is mette s\u00f8rensen?", + "context": "create table table_12171145_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12171145_1 where womens_singles = \"mette s\u00f8rensen\"" + }, + { + "question": "Who's the writer of the episode seen by 3.25 million people in the US?", + "context": "create table table_18268826_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_18268826_1 where us_viewers__million_ = \"3.25\"" + }, + { + "question": "Show the station name and number of trains in each station.", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, PRIMARY KEY (station_id))", + "answer": "select t2.name, count(*) from train_station as t1 join station as t2 on t1.station_id = t2.station_id group by t1.station_id" + }, + { + "question": "What is the name of the country where moving from is listed as bristol city?", + "context": "create table table_17634290_7 (country varchar, moving_from varchar, PRIMARY KEY (country))", + "answer": "select country from table_17634290_7 where moving_from = \"bristol city\"" + }, + { + "question": "What was the home team score against Collingwood?", + "context": "create table table_16387653_1 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team as score from table_16387653_1 where away_team = \"collingwood\"" + }, + { + "question": "What was the original air date of the episode that had 5.42 million viewers?", + "context": "create table table_27790959_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27790959_1 where us_viewers__million_ = \"5.42\"" + }, + { + "question": "What was the regular season standings for the year when the playoffs reached the conference semifinals and the team did not qualify for the US Open Cup?", + "context": "create table table_14225409_1 (reg_season varchar, playoffs varchar, us_open_cup varchar, PRIMARY KEY (reg_season))", + "answer": "select reg_season from table_14225409_1 where playoffs = \"conference semifinals\" and us_open_cup = \"did not qualify\"" + }, + { + "question": "Who was the replacement manager for the vacancy of 12 Dec 2009?", + "context": "create table table_22297198_3 (replaced_by varchar, date_of_vacancy varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_22297198_3 where date_of_vacancy = \"12 dec 2009\"" + }, + { + "question": "Find the distinct majors of students who have treasurer votes.", + "context": "create table voting_record (treasurer_vote varchar, PRIMARY KEY (treasurer_vote)); create table student (major varchar, stuid varchar, PRIMARY KEY (major))", + "answer": "select distinct t1.major from student as t1 join voting_record as t2 on t1.stuid = t2.treasurer_vote" + }, + { + "question": "Who is the director of kon-tiki original title?", + "context": "create table table_21655290_1 (director varchar, original_title varchar, PRIMARY KEY (director))", + "answer": "select director from table_21655290_1 where original_title = \"kon-tiki\"" + }, + { + "question": "What states have at least two representatives?", + "context": "create table representative (state varchar, PRIMARY KEY (state))", + "answer": "select state from representative group by state having count(*) >= 2" + }, + { + "question": "How many races are in College Station, Texas and won by Johnny Rutherford?", + "context": "create table table_22673872_1 (race_name varchar, location varchar, winning_driver varchar, PRIMARY KEY (race_name))", + "answer": "select count(race_name) from table_22673872_1 where location = \"college station, texas\" and winning_driver = \"johnny rutherford\"" + }, + { + "question": "Who's the player with 2:05.63 (1296 pts) swimming score?", + "context": "create table table_12407546_1 (athlete__noc_ varchar, swimming varchar, PRIMARY KEY (athlete__noc_))", + "answer": "select athlete__noc_ from table_12407546_1 where swimming = \"2:05.63 (1296 pts)\"" + }, + { + "question": "List all airline names and their abbreviations in \"USA\".", + "context": "create table airlines (airline varchar, abbreviation varchar, country varchar, PRIMARY KEY (airline))", + "answer": "select airline, abbreviation from airlines where country = \"usa\"" + }, + { + "question": "Find the number of checking accounts for each account name.", + "context": "create table checking (custid varchar, PRIMARY KEY (custid)); create table accounts (name varchar, custid varchar, PRIMARY KEY (name))", + "answer": "select count(*), t1.name from accounts as t1 join checking as t2 on t1.custid = t2.custid group by t1.name" + }, + { + "question": "Show first name and last name for all students.", + "context": "create table student (fname varchar, lname varchar, PRIMARY KEY (fname))", + "answer": "select fname, lname from student" + }, + { + "question": "How many different lead margins were stated in the poll administered on September 11, 2008?", + "context": "create table table_17538810_10 (lead_margin varchar, dates_administered varchar, PRIMARY KEY (lead_margin))", + "answer": "select count(lead_margin) from table_17538810_10 where dates_administered = \"september 11, 2008\"" + }, + { + "question": "How many ministers are there when the cabinet (nickname) is \tSteingr\u00edmur Hermannsson III?", + "context": "create table table_21422977_2 (ministers varchar, cabinet__nickname_ varchar, PRIMARY KEY (ministers))", + "answer": "select ministers from table_21422977_2 where cabinet__nickname_ = \"steingr\u00edmur hermannsson iii\"" + }, + { + "question": "What was the outcome in the championship where the final score was 6\u20137(1), 2\u20136, 6\u20134, 7\u20135, 6\u20137(2)?", + "context": "create table table_2362486_1 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_2362486_1 where score_in_the_final = \"6\u20137(1), 2\u20136, 6\u20134, 7\u20135, 6\u20137(2)\"" + }, + { + "question": "what was the ACC home game record for the team who's ACC winning percentage was .813?", + "context": "create table table_16372911_1 (acc_home varchar, acc__percentage varchar, PRIMARY KEY (acc_home))", + "answer": "select acc_home from table_16372911_1 where acc__percentage = \".813\"" + }, + { + "question": "What was the team's position in table when Danny OST was the outgoing manager?", + "context": "create table table_27374004_4 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_27374004_4 where outgoing_manager = \"danny ost\"" + }, + { + "question": "What was the violent crime rate in the city where the robbery rate was 201.4?", + "context": "create table table_1818254_1 (violent_crime varchar, robbery varchar, PRIMARY KEY (violent_crime))", + "answer": "select violent_crime from table_1818254_1 where robbery = \"201.4\"" + }, + { + "question": "How many regions had a life expectancy at birth in 2001-2002 of 75.9?", + "context": "create table table_25042332_33 (hdi varchar, life_expectancy_at_birth__2001_2002_ varchar, PRIMARY KEY (hdi))", + "answer": "select count(hdi) from table_25042332_33 where life_expectancy_at_birth__2001_2002_ = \"75.9\"" + }, + { + "question": "Name the vacator for took seat being january 29, 1813", + "context": "create table table_15572443_1 (vacator varchar, took_seat varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_15572443_1 where took_seat = \"january 29, 1813\"" + }, + { + "question": "What is the theme when the printing process is litho in 3 cols and intaglio?", + "context": "create table table_25468520_1 (theme varchar, printing_process varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_25468520_1 where printing_process = \"litho in 3 cols and intaglio\"" + }, + { + "question": "Name the cyrillic name for melenci", + "context": "create table table_2562572_35 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_35 where settlement = \"melenci\"" + }, + { + "question": "List all the distinct product names ordered by product id?", + "context": "create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "select distinct product_name from product order by product_id" + }, + { + "question": "what's the\u00a0s mestizo\u00a0with\u00a0asians\u00a0being 0.2% and\u00a0whites\u00a0being 74.8%", + "context": "create table table_1333612_1 (s_mestizo varchar, asians varchar, whites varchar, PRIMARY KEY (s_mestizo))", + "answer": "select s_mestizo from table_1333612_1 where asians = \"0.2%\" and whites = \"74.8%\"" + }, + { + "question": "How many bands are there?", + "context": "create table band (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from band" + }, + { + "question": "What title was watched by 3.8 million US viewers?", + "context": "create table table_26448179_3 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_26448179_3 where us_viewers__millions_ = \"3.8\"" + }, + { + "question": "What is the Cuchumela Municipality minimum?", + "context": "create table table_2509112_3 (cuchumuela_municipality integer, PRIMARY KEY (cuchumuela_municipality))", + "answer": "select min(cuchumuela_municipality) from table_2509112_3" + }, + { + "question": "Who was the CM winning team when the FM winning team was #17 Elva - Ford?", + "context": "create table table_29225103_2 (cm_winning_team varchar, fm_winning_team varchar, PRIMARY KEY (cm_winning_team))", + "answer": "select cm_winning_team from table_29225103_2 where fm_winning_team = \"#17 elva - ford\"" + }, + { + "question": "How many television station listing have a radio station as lao national radio?", + "context": "create table table_2879165_1 (television_station varchar, radio_station varchar, PRIMARY KEY (television_station))", + "answer": "select count(television_station) from table_2879165_1 where radio_station = \"lao national radio\"" + }, + { + "question": "Who is the winning team when max busnelli is the winning driver?", + "context": "create table table_23315271_2 (winning_team varchar, winning_driver varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_23315271_2 where winning_driver = \"max busnelli\"" + }, + { + "question": "How many instruments does the song \"Le Pop\" use?", + "context": "create table instruments (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = \"le pop\"" + }, + { + "question": "Old Mo's Second Spring was the film title used in nomination in what year?", + "context": "create table table_17350255_1 (year__ceremony_ varchar, film_title_used_in_nomination varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17350255_1 where film_title_used_in_nomination = \"old mo's second spring\"" + }, + { + "question": "Find the names of states that have some college students playing in the mid position but not in the goalie position.", + "context": "create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))", + "answer": "select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'mid' except select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'goalie'" + }, + { + "question": "What is the epa highway fuel economy for an electric suv?", + "context": "create table table_20549371_3 (epa_rated_highway_fuel_economy varchar, type_of_powertrain varchar, PRIMARY KEY (epa_rated_highway_fuel_economy))", + "answer": "select epa_rated_highway_fuel_economy from table_20549371_3 where type_of_powertrain = \"electric suv\"" + }, + { + "question": "which chapter was Transmitted on wednesday if the episode of \"363 the hangover part ii\" was transmitted on monday?", + "context": "create table table_18173916_8 (wednesday varchar, monday varchar, PRIMARY KEY (wednesday))", + "answer": "select wednesday from table_18173916_8 where monday = \"363 the hangover part ii\"" + }, + { + "question": "List the name of ships whose nationality is not \"United States\".", + "context": "create table ship (name varchar, nationality varchar, PRIMARY KEY (name))", + "answer": "select name from ship where nationality <> \"united states\"" + }, + { + "question": "What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2?", + "context": "create table table_29218221_3 (wed_1_june varchar, thurs_2_june varchar, PRIMARY KEY (wed_1_june))", + "answer": "select wed_1_june from table_29218221_3 where thurs_2_june = \"21' 05.87 107.300mph\"" + }, + { + "question": "What type of processor does the Intel Centrino Wireless-N 105 wireless LAN have?", + "context": "create table table_199666_1 (processor varchar, wireless_lan varchar, PRIMARY KEY (processor))", + "answer": "select processor from table_199666_1 where wireless_lan = \"intel centrino wireless-n 105\"" + }, + { + "question": "Name the total number of written by for original air date for may 8, 2005", + "context": "create table table_1876825_7 (written_by varchar, original_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_1876825_7 where original_air_date = \"may 8, 2005\"" + }, + { + "question": "Of all the claims, what was the earliest date when any claim was made?", + "context": "create table claims (date_claim_made varchar, PRIMARY KEY (date_claim_made))", + "answer": "select date_claim_made from claims order by date_claim_made limit 1" + }, + { + "question": "Name the team for kirk hinrich , derrick rose , john salmons (6)", + "context": "create table table_22669044_9 (team varchar, high_assists varchar, PRIMARY KEY (team))", + "answer": "select team from table_22669044_9 where high_assists = \"kirk hinrich , derrick rose , john salmons (6)\"" + }, + { + "question": "Who was the outgoing manager for the team of t\u00e2rgu mure\u015f?", + "context": "create table table_26976615_3 (outgoing_manager varchar, team varchar, PRIMARY KEY (outgoing_manager))", + "answer": "select outgoing_manager from table_26976615_3 where team = \"t\u00e2rgu mure\u015f\"" + }, + { + "question": "List the names of people that have not been on the affirmative side of debates.", + "context": "create table debate_people (name varchar, people_id varchar, affirmative varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, affirmative varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select affirmative from debate_people)" + }, + { + "question": "Name the party for spencer bachus", + "context": "create table table_25030512_4 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_25030512_4 where incumbent = \"spencer bachus\"" + }, + { + "question": "what's the\u00a0success\u00a0where\u00a0date of completion\u00a0is september 28, 2007", + "context": "create table table_12078626_1 (success varchar, date_of_completion varchar, PRIMARY KEY (success))", + "answer": "select success from table_12078626_1 where date_of_completion = \"september 28, 2007\"" + }, + { + "question": "Who was the winner when the iron chef is hiroyuki sakai?", + "context": "create table table_23982399_12 (winner varchar, iron_chef varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_23982399_12 where iron_chef = \"hiroyuki sakai\"" + }, + { + "question": "Name the batting team at Durham", + "context": "create table table_11303072_5 (batting_team varchar, fielding_team varchar, PRIMARY KEY (batting_team))", + "answer": "select batting_team from table_11303072_5 where fielding_team = \"durham\"" + }, + { + "question": "What was the GDP for 2002-2005 for the construction center?", + "context": "create table table_25282151_1 (supply_sector___percentage_of_gdp_in_current_prices_ varchar, PRIMARY KEY (supply_sector___percentage_of_gdp_in_current_prices_))", + "answer": "select 2002 as _2005 from table_25282151_1 where supply_sector___percentage_of_gdp_in_current_prices_ = \"construction\"" + }, + { + "question": "What was the Bhofen #1 score and rank for the player whose Bhofen #2 score and rank was 231.2 (8)?", + "context": "create table table_14948647_1 (bhofen_number1__rk_ varchar, bhofen_number2__rk_ varchar, PRIMARY KEY (bhofen_number1__rk_))", + "answer": "select bhofen_number1__rk_ from table_14948647_1 where bhofen_number2__rk_ = \"231.2 (8)\"" + }, + { + "question": "what type of institution is alvernia university", + "context": "create table table_1974632_1 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_1974632_1 where institution = \"alvernia university\"" + }, + { + "question": "Who were the pictorials when the centerfold model was Ava Fabian?", + "context": "create table table_1566848_7 (pictorials varchar, centerfold_model varchar, PRIMARY KEY (pictorials))", + "answer": "select pictorials from table_1566848_7 where centerfold_model = \"ava fabian\"" + }, + { + "question": "Name the species when petal width is 2.0 and petal length is 4.9", + "context": "create table table_10477224_1 (species varchar, petal_width varchar, petal_length varchar, PRIMARY KEY (species))", + "answer": "select species from table_10477224_1 where petal_width = \"2.0\" and petal_length = \"4.9\"" + }, + { + "question": "What is the coverage when power kw is 25kw?", + "context": "create table table_23915973_1 (coverage varchar, power_kw varchar, PRIMARY KEY (coverage))", + "answer": "select coverage from table_23915973_1 where power_kw = \"25kw\"" + }, + { + "question": "Find the names of all the catalog entries.", + "context": "create table catalog_contents (catalog_entry_name varchar, PRIMARY KEY (catalog_entry_name))", + "answer": "select distinct (catalog_entry_name) from catalog_contents" + }, + { + "question": "What CFL team got their draft pick from North Dakota?", + "context": "create table table_25085059_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_25085059_1 where college = \"north dakota\"" + }, + { + "question": "WHAT IS THE NAME OF THE MIXED DOUBLES PLAYER WHEN THE WOMENS SINGLE PLAYER IS KAIRI VIILUP?", + "context": "create table table_14903627_1 (mixed_doubles varchar, womens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_14903627_1 where womens_singles = \"kairi viilup\"" + }, + { + "question": "Find the last names of the members of the club \"Bootup Baltimore\".", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table student (lname varchar, stuid varchar, PRIMARY KEY (lname)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid))", + "answer": "select t3.lname from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"bootup baltimore\"" + }, + { + "question": "How many seasons in Tamil occur when the season in Sanskrit is Grishma?", + "context": "create table table_1740431_3 (season_in_tamil varchar, season_in_sanskrit varchar, PRIMARY KEY (season_in_tamil))", + "answer": "select count(season_in_tamil) from table_1740431_3 where season_in_sanskrit = \"grishma\"" + }, + { + "question": "Who vacated his post when his successor was formally installed on May 11, 1966?", + "context": "create table table_1847180_3 (vacator varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_1847180_3 where date_of_successors_formal_installation = \"may 11, 1966\"" + }, + { + "question": "If the home is Atl\u00e9tico Tucum\u00e1n, what is the name of the first leg?", + "context": "create table table_17968229_1 (home__2nd_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select 1 as st_leg from table_17968229_1 where home__2nd_leg_ = \"atl\u00e9tico tucum\u00e1n\"" + }, + { + "question": "Name the represents for los alcarrizos", + "context": "create table table_26301697_2 (represents varchar, hometown varchar, PRIMARY KEY (represents))", + "answer": "select represents from table_26301697_2 where hometown = \"los alcarrizos\"" + }, + { + "question": "Find the names and number of works of all artists who have at least one English songs.", + "context": "create table song (artist_name varchar, languages varchar, PRIMARY KEY (artist_name)); create table artist (artist_name varchar, PRIMARY KEY (artist_name))", + "answer": "select t1.artist_name, count(*) from artist as t1 join song as t2 on t1.artist_name = t2.artist_name where t2.languages = \"english\" group by t2.artist_name having count(*) >= 1" + }, + { + "question": "What is every weekly schedule in the country of Norway?", + "context": "create table table_18821196_1 (weekly_schedule varchar, country varchar, PRIMARY KEY (weekly_schedule))", + "answer": "select weekly_schedule from table_18821196_1 where country = \"norway\"" + }, + { + "question": "Name the australian marquee for alessandro del piero", + "context": "create table table_1301373_7 (australian_marquee varchar, international_marquee varchar, PRIMARY KEY (australian_marquee))", + "answer": "select australian_marquee from table_1301373_7 where international_marquee = \"alessandro del piero\"" + }, + { + "question": "Who did the high rebounds in the game where Douglas (28) did the high points?", + "context": "create table table_18894744_6 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_18894744_6 where high_points = \"douglas (28)\"" + }, + { + "question": "What are all the distinct last names of all the engineers?", + "context": "create table maintenance_engineers (last_name varchar, PRIMARY KEY (last_name))", + "answer": "select distinct last_name from maintenance_engineers" + }, + { + "question": "What was the rating in Brisbane the week it was 276000 in Melbourne?", + "context": "create table table_24291077_8 (brisbane integer, melbourne varchar, PRIMARY KEY (brisbane))", + "answer": "select max(brisbane) from table_24291077_8 where melbourne = 276000" + }, + { + "question": "What couple had a vote percentage of 5.2%?", + "context": "create table table_26375386_17 (couple varchar, vote_percentage varchar, PRIMARY KEY (couple))", + "answer": "select couple from table_26375386_17 where vote_percentage = \"5.2%\"" + }, + { + "question": "Name the class a for pearland", + "context": "create table table_14601528_2 (class_a varchar, class_aaaaa varchar, pearland varchar, PRIMARY KEY (class_a))", + "answer": "select class_a from table_14601528_2 where class_aaaaa = pearland" + }, + { + "question": "Where was the tourney when Louisville won the regular season?", + "context": "create table table_21269441_4 (tournament_venue__city_ varchar, regular_season_winner varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_21269441_4 where regular_season_winner = \"louisville\"" + }, + { + "question": "When 17.07 is the loa (metres) what is the type of yacht?", + "context": "create table table_1858574_2 (yacht varchar, loa__metres_ varchar, PRIMARY KEY (yacht))", + "answer": "select yacht as type from table_1858574_2 where loa__metres_ = \"17.07\"" + }, + { + "question": "What is the indigenous mining production of the country that uses 3.4% of the world demand?", + "context": "create table table_15624586_2 (indigenous_mining_production_2006 varchar, _percentage_of_world_demand varchar, PRIMARY KEY (indigenous_mining_production_2006))", + "answer": "select indigenous_mining_production_2006 from table_15624586_2 where _percentage_of_world_demand = \"3.4%\"" + }, + { + "question": "Name the label for traditional chinese \u60c5\u6b4c\u6c92\u6709\u544a\u8a34\u4f60", + "context": "create table table_1893815_1 (label varchar, chinese__traditional_ varchar, PRIMARY KEY (label))", + "answer": "select label from table_1893815_1 where chinese__traditional_ = \"\u60c5\u6b4c\u6c92\u6709\u544a\u8a34\u4f60\"" + }, + { + "question": "If -750m is 46.436, what is the name of the cyclist?", + "context": "create table table_1912276_2 (name varchar, __750m varchar, PRIMARY KEY (name))", + "answer": "select name from table_1912276_2 where __750m = \"46.436\"" + }, + { + "question": "Name the fifth district for william womer", + "context": "create table table_15442974_1 (fifth_district varchar, third_district varchar, PRIMARY KEY (fifth_district))", + "answer": "select fifth_district from table_15442974_1 where third_district = \"william womer\"" + }, + { + "question": "What is the death date of the archbishop who was ordained as bishop April 26, 1927?", + "context": "create table table_1656555_1 (died varchar, ordained_bishop varchar, PRIMARY KEY (died))", + "answer": "select died from table_1656555_1 where ordained_bishop = \"april 26, 1927\"" + }, + { + "question": "Name the vessel type for dof subsea", + "context": "create table table_26168687_5 (vessel_type varchar, vessel_operator varchar, PRIMARY KEY (vessel_type))", + "answer": "select vessel_type from table_26168687_5 where vessel_operator = \"dof subsea\"" + }, + { + "question": "If the high points were by Anthony Morrow (24), what was the team?", + "context": "create table table_27700375_6 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_27700375_6 where high_points = \"anthony morrow (24)\"" + }, + { + "question": "Which departments have M.Phil(Maths)?", + "context": "create table table_17384764_1 (department varchar, qualification varchar, PRIMARY KEY (department))", + "answer": "select department from table_17384764_1 where qualification = \"m.phil(maths)\"" + }, + { + "question": "How many episodes were seen by 0.67 million US viewers on their original air dates?", + "context": "create table table_13336122_7 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_13336122_7 where us_viewers__million_ = \"0.67\"" + }, + { + "question": "List the text of all tweets in the order of date.", + "context": "create table tweets (text varchar, createdate varchar, PRIMARY KEY (text))", + "answer": "select text from tweets order by createdate" + }, + { + "question": "What is every Swedish name for residence city is Loviisa?", + "context": "create table table_198175_2 (swedish_name varchar, residence_city varchar, PRIMARY KEY (swedish_name))", + "answer": "select swedish_name from table_198175_2 where residence_city = \"loviisa\"" + }, + { + "question": "Name the state class for iowa admitted to the union december 28, 1846", + "context": "create table table_225205_3 (state__class_ varchar, reason_for_change varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_225205_3 where reason_for_change = \"iowa admitted to the union december 28, 1846\"" + }, + { + "question": "what are name and phone number of patients who had more than one appointment?", + "context": "create table appointment (patient varchar, PRIMARY KEY (patient)); create table patient (ssn varchar, PRIMARY KEY (ssn))", + "answer": "select name, phone from appointment as t1 join patient as t2 on t1.patient = t2.ssn group by t1.patient having count(*) > 1" + }, + { + "question": "What are the average and minimum price (in Euro) of all products?", + "context": "create table catalog_contents (price_in_euros integer, PRIMARY KEY (price_in_euros))", + "answer": "select avg(price_in_euros), min(price_in_euros) from catalog_contents" + }, + { + "question": "What are the census ranking(s) of maugerville?", + "context": "create table table_176521_2 (census_ranking varchar, official_name varchar, PRIMARY KEY (census_ranking))", + "answer": "select census_ranking from table_176521_2 where official_name = \"maugerville\"" + }, + { + "question": "Who did the high rebounds in the game in which five players (3) did the high assists?", + "context": "create table table_19778010_5 (high_rebounds varchar, high_assists varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_19778010_5 where high_assists = \"five players (3)\"" + }, + { + "question": "The pink cytoplasm will have a nucleus of what color?", + "context": "create table table_13570_1 (nucleus varchar, cytoplasm varchar, PRIMARY KEY (nucleus))", + "answer": "select nucleus from table_13570_1 where cytoplasm = \"pink\"" + }, + { + "question": "Which episode was directed by Jeff Woolnough and written by Christopher Ambrose?", + "context": "create table table_26824484_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_26824484_1 where directed_by = \"jeff woolnough\" and written_by = \"christopher ambrose\"" + }, + { + "question": "Which network broadcast the game when the Western Bulldogs played melbourne?", + "context": "create table table_24919137_2 (broadcaster varchar, opposition varchar, PRIMARY KEY (broadcaster))", + "answer": "select broadcaster from table_24919137_2 where opposition = \"melbourne\"" + }, + { + "question": "What is the maximum number that a certain service is provided? List the service id, details and number.", + "context": "create table services (service_id varchar, service_details varchar, PRIMARY KEY (service_id)); create table residents_services (service_id varchar, PRIMARY KEY (service_id))", + "answer": "select t1.service_id, t1.service_details, count(*) from services as t1 join residents_services as t2 on t1.service_id = t2.service_id group by t1.service_id order by count(*) desc limit 1" + }, + { + "question": "Who was the succesor that was formally installed on November 8, 1978?", + "context": "create table table_1013168_2 (successor varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_1013168_2 where date_of_successors_formal_installation = \"november 8, 1978\"" + }, + { + "question": "Who wrote the title that received 1.211 million total viewers?", + "context": "create table table_12419515_4 (written_by varchar, total_viewers__in_millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_12419515_4 where total_viewers__in_millions_ = \"1.211\"" + }, + { + "question": "Name the event 3 deadlift for hennie jordan", + "context": "create table table_28540428_3 (event_3_deadlift varchar, name varchar, PRIMARY KEY (event_3_deadlift))", + "answer": "select event_3_deadlift from table_28540428_3 where name = \"hennie jordan\"" + }, + { + "question": "how many bosnian in cook islands is macedonian", + "context": "create table table_24807774_1 (cook_islands varchar, bosnian varchar, PRIMARY KEY (cook_islands))", + "answer": "select count(cook_islands) from table_24807774_1 where bosnian = \"macedonian\"" + }, + { + "question": "What is the name of the jockey for Pink Gin?", + "context": "create table table_28750142_1 (jockey varchar, name varchar, PRIMARY KEY (jockey))", + "answer": "select jockey from table_28750142_1 where name = \"pink gin\"" + }, + { + "question": "How many teams have a combination classification of Alejandro Valverde and a Points classification of Alessandro Petacchi?", + "context": "create table table_15059783_1 (team_classification varchar, combination_classification varchar, points_classification varchar, PRIMARY KEY (team_classification))", + "answer": "select count(team_classification) from table_15059783_1 where combination_classification = \"alejandro valverde\" and points_classification = \"alessandro petacchi\"" + }, + { + "question": "How many titles are given for the episode directed by Joanna Kerns?", + "context": "create table table_17356205_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_17356205_1 where directed_by = \"joanna kerns\"" + }, + { + "question": "What is the number of jews where the rank is 1?", + "context": "create table table_1131183_2 (number_of_jews__wjc_ varchar, rank__arda_ varchar, PRIMARY KEY (number_of_jews__wjc_))", + "answer": "select count(number_of_jews__wjc_) from table_1131183_2 where rank__arda_ = 1" + }, + { + "question": "How many different percentages of immigrants are there for the year of 2007 in the countries with 1.2% of the immigrants in the year of 2005?", + "context": "create table table_23619212_1 (_percentage_of_all_immigrants_2007 varchar, _percentage_of_all_immigrants_2005 varchar, PRIMARY KEY (_percentage_of_all_immigrants_2007))", + "answer": "select count(_percentage_of_all_immigrants_2007) from table_23619212_1 where _percentage_of_all_immigrants_2005 = \"1.2%\"" + }, + { + "question": "Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov", + "context": "create table table_245801_1 (launch_date varchar, crew varchar, PRIMARY KEY (launch_date))", + "answer": "select launch_date from table_245801_1 where crew = \"vladimir lyakhov , aleksandr pavlovich aleksandrov\"" + }, + { + "question": "What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'?", + "context": "create table rent_arrears (council_tax_id varchar, cmi_cross_ref_id varchar, PRIMARY KEY (council_tax_id)); create table customer_master_index (master_customer_id varchar, cmi_details varchar, PRIMARY KEY (master_customer_id)); create table cmi_cross_references (cmi_cross_ref_id varchar, master_customer_id varchar, PRIMARY KEY (cmi_cross_ref_id))", + "answer": "select t1.council_tax_id from rent_arrears as t1 join cmi_cross_references as t2 on t1.cmi_cross_ref_id = t2.cmi_cross_ref_id join customer_master_index as t3 on t3.master_customer_id = t2.master_customer_id where t3.cmi_details <> 'schmidt , kertzmann and lubowitz'" + }, + { + "question": "When did the episode that had 3.69 million total viewers (Live and SD types combined) first air?", + "context": "create table table_24222929_3 (original_airdate varchar, live varchar, sd_total_viewers varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_24222929_3 where live + sd_total_viewers = \"3.69 million\"" + }, + { + "question": "What are the distinct secretary votes in the fall election cycle?", + "context": "create table voting_record (secretary_vote varchar, election_cycle varchar, PRIMARY KEY (secretary_vote))", + "answer": "select distinct secretary_vote from voting_record where election_cycle = \"fall\"" + }, + { + "question": "How many different types of settlements does Nova Pazova fall into?", + "context": "create table table_2562572_53 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_2562572_53 where settlement = \"nova pazova\"" + }, + { + "question": "What institution is represented by the lady saints?", + "context": "create table table_2589963_1 (institution varchar, women varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_2589963_1 where women = \"lady saints\"" + }, + { + "question": "How many primers annulus colors were there when the color of the bullet tip was white?", + "context": "create table table_1036189_1 (primer_annulus_color varchar, bullet_tip_color varchar, PRIMARY KEY (primer_annulus_color))", + "answer": "select count(primer_annulus_color) from table_1036189_1 where bullet_tip_color = \"white\"" + }, + { + "question": "What is the name of the performance zhu xiaoming performed?", + "context": "create table table_28180840_15 (act varchar, name_name_of_act varchar, PRIMARY KEY (act))", + "answer": "select act from table_28180840_15 where name_name_of_act = \"zhu xiaoming\"" + }, + { + "question": "How many years of nasl years did the accolades read \"captained england to victory at the 1966 world cup\"?", + "context": "create table table_237757_9 (nasl_years varchar, accolades__pre_nasl_ varchar, PRIMARY KEY (nasl_years))", + "answer": "select count(nasl_years) from table_237757_9 where accolades__pre_nasl_ = \"captained england to victory at the 1966 world cup\"" + }, + { + "question": "Name the title for us viewers being 18.29", + "context": "create table table_19501664_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_19501664_1 where us_viewers__millions_ = \"18.29\"" + }, + { + "question": "How many years did he have an average finish of 11.7?", + "context": "create table table_2387790_2 (avg_start varchar, avg_finish varchar, PRIMARY KEY (avg_start))", + "answer": "select count(avg_start) from table_2387790_2 where avg_finish = \"11.7\"" + }, + { + "question": "What were all Yachts with a sail number of 6952?", + "context": "create table table_14882588_3 (yacht varchar, sail_number varchar, PRIMARY KEY (yacht))", + "answer": "select yacht from table_14882588_3 where sail_number = \"6952\"" + }, + { + "question": "What kind of type is \u0431\u043e\u043a\u0430?", + "context": "create table table_2562572_39 (type varchar, cyrillic_name_other_names varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_39 where cyrillic_name_other_names = \"\u0431\u043e\u043a\u0430\"" + }, + { + "question": "Which department has the largest number of employees?", + "context": "create table department (name varchar, departmentid varchar, PRIMARY KEY (name))", + "answer": "select name from department group by departmentid order by count(departmentid) desc limit 1" + }, + { + "question": "What is the date of successors formal installation when the reason for change is resigned december 4, 1819?", + "context": "create table table_225099_3 (date_of_successors_formal_installation varchar, reason_for_change varchar, PRIMARY KEY (date_of_successors_formal_installation))", + "answer": "select date_of_successors_formal_installation from table_225099_3 where reason_for_change = \"resigned december 4, 1819\"" + }, + { + "question": "Find the first names of all customers that live in Brazil and have an invoice.", + "context": "create table customer (firstname varchar, customerid varchar, country varchar, PRIMARY KEY (firstname)); create table invoice (customerid varchar, PRIMARY KEY (customerid))", + "answer": "select distinct t1.firstname from customer as t1 join invoice as t2 on t1.customerid = t2.customerid where t1.country = \"brazil\"" + }, + { + "question": "where was mazouz ghaouti executed?", + "context": "create table table_2861364_1 (place_of_execution varchar, executed_person varchar, PRIMARY KEY (place_of_execution))", + "answer": "select place_of_execution from table_2861364_1 where executed_person = \"mazouz ghaouti\"" + }, + { + "question": "What week was themed disco?", + "context": "create table table_21501511_1 (week__number varchar, theme varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501511_1 where theme = \"disco\"" + }, + { + "question": "What was the original air date for the episode with 3.90 u.s. viewers (millions)?", + "context": "create table table_12722302_2 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_12722302_2 where us_viewers__million_ = \"3.90\"" + }, + { + "question": "What is the rank of the company known for retailing?", + "context": "create table table_21926985_2 (state_rank_by_revenue varchar, known_for varchar, PRIMARY KEY (state_rank_by_revenue))", + "answer": "select count(state_rank_by_revenue) from table_21926985_2 where known_for = \"retailing\"" + }, + { + "question": "What are the claim dates and settlement dates of all the settlements?", + "context": "create table settlements (date_claim_made varchar, date_claim_settled varchar, PRIMARY KEY (date_claim_made))", + "answer": "select date_claim_made, date_claim_settled from settlements" + }, + { + "question": "What is every time(cet) for the name of Lillehammer 2?", + "context": "create table table_21536557_2 (time__cet_ varchar, name varchar, PRIMARY KEY (time__cet_))", + "answer": "select time__cet_ from table_21536557_2 where name = \"lillehammer 2\"" + }, + { + "question": "Who had the high assists when the team was @ Minnesota?", + "context": "create table table_17323092_7 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17323092_7 where team = \"@ minnesota\"" + }, + { + "question": "Name the event for redouane bouchtouk", + "context": "create table table_17417383_6 (event varchar, athlete varchar, PRIMARY KEY (event))", + "answer": "select event from table_17417383_6 where athlete = \"redouane bouchtouk\"" + }, + { + "question": "Which qualifying schools were in the Patriot conference?", + "context": "create table table_16295365_1 (school varchar, conference varchar, PRIMARY KEY (school))", + "answer": "select school from table_16295365_1 where conference = \"patriot\"" + }, + { + "question": "List the name, origin and owner of each program.", + "context": "create table program (name varchar, origin varchar, owner varchar, PRIMARY KEY (name))", + "answer": "select name, origin, owner from program" + }, + { + "question": "How many locations had a density (pop/km\u00b2) of 91.8 in the 2011 census?", + "context": "create table table_1425958_1 (density__pop_km\u00b2_ varchar, PRIMARY KEY (density__pop_km\u00b2_))", + "answer": "select count(2011 as _census) from table_1425958_1 where density__pop_km\u00b2_ = \"91.8\"" + }, + { + "question": "what is the episode title on original air date of September 30, 2007?", + "context": "create table table_23799417_2 (title varchar, original_airing varchar, PRIMARY KEY (title))", + "answer": "select title from table_23799417_2 where original_airing = \"september 30, 2007\"" + }, + { + "question": "What was the title of the episode where reg lacey (aka mr. b) played the villain?", + "context": "create table table_23170118_2 (title varchar, villains varchar, PRIMARY KEY (title))", + "answer": "select title from table_23170118_2 where villains = \"reg lacey (aka mr. b)\"" + }, + { + "question": "Find the name of the program that is broadcast most frequently.", + "context": "create table program (name varchar, program_id varchar, PRIMARY KEY (name)); create table broadcast (program_id varchar, PRIMARY KEY (program_id))", + "answer": "select t1.name from program as t1 join broadcast as t2 on t1.program_id = t2.program_id group by t2.program_id order by count(*) desc limit 1" + }, + { + "question": "What are the names listed in the family il-1f2?", + "context": "create table table_29871617_1 (name varchar, family_name varchar, PRIMARY KEY (name))", + "answer": "select name from table_29871617_1 where family_name = \"il-1f2\"" + }, + { + "question": "What are the children per donor in the country where the allowed recipients are married or in cohabitation?", + "context": "create table table_16175217_1 (children_per_donor varchar, allowed_recipients varchar, PRIMARY KEY (children_per_donor))", + "answer": "select children_per_donor from table_16175217_1 where allowed_recipients = \"married or in cohabitation\"" + }, + { + "question": "Name the uk air date for audience share in timeslot in 7.3%", + "context": "create table table_19834691_4 (uk_air_date varchar, audience_share_in_timeslot varchar, PRIMARY KEY (uk_air_date))", + "answer": "select uk_air_date from table_19834691_4 where audience_share_in_timeslot = \"7.3%\"" + }, + { + "question": "Name the oberliga for where tsv 1860 munich and borussia neunkirchen", + "context": "create table table_14242137_4 (oberliga_baden_w\u00fcrttemberg varchar, oberliga_bayern varchar, oberliga_s\u00fcdwest varchar, PRIMARY KEY (oberliga_baden_w\u00fcrttemberg))", + "answer": "select oberliga_baden_w\u00fcrttemberg from table_14242137_4 where oberliga_bayern = \"tsv 1860 munich\" and oberliga_s\u00fcdwest = \"borussia neunkirchen\"" + }, + { + "question": "Name the segment c for paint rollers", + "context": "create table table_15187735_8 (segment_c varchar, segment_b varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_8 where segment_b = \"paint rollers\"" + }, + { + "question": "Who directed the episode that was watched by 2.67 million U.S. viewers?", + "context": "create table table_29747178_3 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29747178_3 where us_viewers__million_ = \"2.67\"" + }, + { + "question": "what's the\u00a0percentage of votes\u00a0with\u00a0election date\u00a0being 1981", + "context": "create table table_13746866_2 (percentage_of_votes varchar, election_date varchar, PRIMARY KEY (percentage_of_votes))", + "answer": "select percentage_of_votes from table_13746866_2 where election_date = 1981" + }, + { + "question": "What is the name of department where has the largest number of professors with a Ph.D. degree?", + "context": "create table professor (dept_code varchar, prof_high_degree varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name, t1.dept_code from professor as t1 join department as t2 on t1.dept_code = t2.dept_code where t1.prof_high_degree = 'ph.d.' group by t1.dept_code order by count(*) desc limit 1" + }, + { + "question": "what are all the\u00a0percent (1990)\u00a0where\u00a0state\u00a0is united states", + "context": "create table table_1182314_5 (percent__1990_ varchar, state varchar, PRIMARY KEY (percent__1990_))", + "answer": "select percent__1990_ from table_1182314_5 where state = \"united states\"" + }, + { + "question": "Name the vacator for reason for change died january 12, 1826", + "context": "create table table_225102_4 (vacator varchar, reason_for_change varchar, PRIMARY KEY (vacator))", + "answer": "select vacator from table_225102_4 where reason_for_change = \"died january 12, 1826\"" + }, + { + "question": "Who is in group a when indiana is in group d?", + "context": "create table table_15290638_1 (group_a varchar, group_d varchar, PRIMARY KEY (group_a))", + "answer": "select group_a from table_15290638_1 where group_d = \"indiana\"" + }, + { + "question": "Which driver won the i race of champions?", + "context": "create table table_1140099_6 (winning_driver varchar, race_name varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140099_6 where race_name = \"i race of champions\"" + }, + { + "question": "Name the 2011 gdp for 65 rank world", + "context": "create table table_2248784_3 (rank_world varchar, PRIMARY KEY (rank_world))", + "answer": "select 2011 as _gdp__ppp__billions_of_usd from table_2248784_3 where rank_world = 65" + }, + { + "question": "timothy truman worked on what books", + "context": "create table table_1420954_1 (book_title varchar, artist_s_ varchar, PRIMARY KEY (book_title))", + "answer": "select book_title from table_1420954_1 where artist_s_ = \"timothy truman\"" + }, + { + "question": "How many airlines do we have?", + "context": "create table airlines (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from airlines" + }, + { + "question": "What kind of animal corresponds to the accession number xp_852505.1?", + "context": "create table table_15417439_1 (common_name varchar, accession_number varchar, PRIMARY KEY (common_name))", + "answer": "select common_name from table_15417439_1 where accession_number = \"xp_852505.1\"" + }, + { + "question": "Count the number of likes for each student id.", + "context": "create table likes (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select student_id, count(*) from likes group by student_id" + }, + { + "question": "Which premiere had languages in danish?", + "context": "create table table_11323532_2 (premiere varchar, languages varchar, PRIMARY KEY (premiere))", + "answer": "select premiere from table_11323532_2 where languages = \"danish\"" + }, + { + "question": "Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?", + "context": "create table table_25773116_2 (location varchar, pole_position varchar, fastest_lap varchar, PRIMARY KEY (location))", + "answer": "select location from table_25773116_2 where pole_position = \"daniel erickson\" and fastest_lap = \"cole morgan\"" + }, + { + "question": "Which of the airport names contains the word 'international'?", + "context": "create table airport (name varchar, PRIMARY KEY (name))", + "answer": "select name from airport where name like '%international%'" + }, + { + "question": "How many companies named cenovus energy?", + "context": "create table table_23950611_2 (rank__all__2013 varchar, name varchar, PRIMARY KEY (rank__all__2013))", + "answer": "select count(rank__all__2013) from table_23950611_2 where name = \"cenovus energy\"" + }, + { + "question": "What was the name of the episode that bill lawrence directed?", + "context": "create table table_25548213_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25548213_1 where directed_by = \"bill lawrence\"" + }, + { + "question": "Name the reason for change for jonathan jennings", + "context": "create table table_225094_4 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_225094_4 where successor = \"jonathan jennings\"" + }, + { + "question": "how many acc football titles have been won by the institution nicknamed tar heels?", + "context": "create table table_28744929_1 (acc_football_titles varchar, nickname varchar, PRIMARY KEY (acc_football_titles))", + "answer": "select acc_football_titles from table_28744929_1 where nickname = \"tar heels\"" + }, + { + "question": "Who was the vocal percussionist when stevie wonder was the original artist?", + "context": "create table table_28715942_3 (vocal_percussionist varchar, original_artist varchar, PRIMARY KEY (vocal_percussionist))", + "answer": "select vocal_percussionist from table_28715942_3 where original_artist = \"stevie wonder\"" + }, + { + "question": "What is the 2007 population for Corazon de Jesus?", + "context": "create table table_2144436_1 (population__2007_ varchar, barangay varchar, PRIMARY KEY (population__2007_))", + "answer": "select population__2007_ from table_2144436_1 where barangay = \"corazon de jesus\"" + }, + { + "question": "Name the languages for estonia", + "context": "create table table_21133193_1 (languages varchar, member_countries varchar, PRIMARY KEY (languages))", + "answer": "select languages from table_21133193_1 where member_countries = \"estonia\"" + }, + { + "question": "What is the original air date for episode graeme clifford directed and lindsay sturman wrote?", + "context": "create table table_28859177_3 (original_air_date varchar, directed_by varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28859177_3 where directed_by = \"graeme clifford\" and written_by = \"lindsay sturman\"" + }, + { + "question": "how many times was 27 missing kisses used in nomination", + "context": "create table table_18069789_1 (e_ varchar, film_title_used_in_nomination varchar, year_ varchar, PRIMARY KEY (e_))", + "answer": "select count(year_)[e_] as __ceremony_ from table_18069789_1 where film_title_used_in_nomination = \"27 missing kisses\"" + }, + { + "question": "What school is located in Worcester, Massachusetts?", + "context": "create table table_1974782_1 (institution varchar, location varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_1974782_1 where location = \"worcester, massachusetts\"" + }, + { + "question": "How many region 4 dates are associated with a region 2 date of July 9, 2007?", + "context": "create table table_240936_2 (region_4__australia_ varchar, region_2__uk_ varchar, PRIMARY KEY (region_4__australia_))", + "answer": "select count(region_4__australia_) from table_240936_2 where region_2__uk_ = \"july 9, 2007\"" + }, + { + "question": "When was the show originally aired that had a TV broadcast of S07E04?", + "context": "create table table_16090262_1 (originalairdate varchar, tv_broadcast varchar, PRIMARY KEY (originalairdate))", + "answer": "select originalairdate from table_16090262_1 where tv_broadcast = \"s07e04\"" + }, + { + "question": "What are the staff roles of the staff who", + "context": "create table project_staff (role_code varchar, date_from varchar, date_to varchar, PRIMARY KEY (role_code))", + "answer": "select role_code from project_staff where date_from > '2003-04-19 15:06:20' and date_to < '2016-03-15 00:33:18'" + }, + { + "question": "What is the name of the young rider classification when Paolo Tiralongo won?", + "context": "create table table_28538368_2 (young_rider_classification varchar, winner varchar, PRIMARY KEY (young_rider_classification))", + "answer": "select young_rider_classification from table_28538368_2 where winner = \"paolo tiralongo\"" + }, + { + "question": "What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?", + "context": "create table table_23292220_3 (first_broadcast varchar, daves_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23292220_3 where daves_team = \"dave johns and sally lindsay\"" + }, + { + "question": "Find all airlines that have flights from both airports 'APG' and 'CVO'.", + "context": "create table airlines (airline varchar, uid varchar, PRIMARY KEY (airline)); create table flights (airline varchar, sourceairport varchar, PRIMARY KEY (airline))", + "answer": "select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"apg\" intersect select t1.airline from airlines as t1 join flights as t2 on t1.uid = t2.airline where t2.sourceairport = \"cvo\"" + }, + { + "question": "what's the\u00a0thursday\u00a0time with\u00a0sunday\u00a0being 1:00-5:00 and\u00a0tuesday\u00a0being 1:00-7:00", + "context": "create table table_11019212_1 (thursday varchar, sunday varchar, tuesday varchar, PRIMARY KEY (thursday))", + "answer": "select thursday from table_11019212_1 where sunday = \"1:00-5:00\" and tuesday = \"1:00-7:00\"" + }, + { + "question": "Name the tfl-yds for no-yds 1-0", + "context": "create table table_15128839_22 (tfl_yds varchar, no_yds varchar, PRIMARY KEY (tfl_yds))", + "answer": "select tfl_yds from table_15128839_22 where no_yds = \"1-0\"" + }, + { + "question": "What is the premium associated with tariff code g9?", + "context": "create table table_10408617_5 (approx_premium varchar, tariff_code varchar, PRIMARY KEY (approx_premium))", + "answer": "select approx_premium from table_10408617_5 where tariff_code = \"g9\"" + }, + { + "question": "How many assists per game did he have when he had 6.8 points per game?", + "context": "create table table_2761641_1 (assists_per_game varchar, points_per_game varchar, PRIMARY KEY (assists_per_game))", + "answer": "select assists_per_game from table_2761641_1 where points_per_game = \"6.8\"" + }, + { + "question": "How many teams have hight points listed as David Lee (31)?", + "context": "create table table_27755784_8 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select count(team) from table_27755784_8 where high_points = \"david lee (31)\"" + }, + { + "question": "If the floor number is 14.200, what is the number for the parallel bars?", + "context": "create table table_18662026_10 (parallel_bars varchar, floor varchar, PRIMARY KEY (parallel_bars))", + "answer": "select parallel_bars from table_18662026_10 where floor = \"14.200\"" + }, + { + "question": "What is the name of the activity with the most students?", + "context": "create table participates_in (actid varchar, PRIMARY KEY (actid)); create table activity (activity_name varchar, actid varchar, PRIMARY KEY (activity_name))", + "answer": "select t1.activity_name from activity as t1 join participates_in as t2 on t1.actid = t2.actid group by t1.actid order by count(*) desc limit 1" + }, + { + "question": "what's the\u00a0estimated deaths\u00a0with\u00a0operational period\u00a0of 17 march 1942 \u2013 end of june 1943", + "context": "create table table_10335_1 (estimated_deaths varchar, operational varchar, PRIMARY KEY (estimated_deaths))", + "answer": "select estimated_deaths from table_10335_1 where operational = \"17 march 1942 \u2013 end of june 1943\"" + }, + { + "question": "How many of the writers had 5.35 viewers?", + "context": "create table table_22053239_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_22053239_1 where us_viewers__millions_ = \"5.35\"" + }, + { + "question": "Show the transaction type code that occurs the most frequently.", + "context": "create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code))", + "answer": "select transaction_type_code from transactions group by transaction_type_code order by count(*) desc limit 1" + }, + { + "question": "Who is the partner when the opponents in the final is stephanie dubois olga savchuk?", + "context": "create table table_26458137_2 (partner varchar, opponents_in_the_final varchar, PRIMARY KEY (partner))", + "answer": "select partner from table_26458137_2 where opponents_in_the_final = \"stephanie dubois olga savchuk\"" + }, + { + "question": "Who wrote the episode that had 1.08 million U.S. viewers?", + "context": "create table table_26136228_3 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_26136228_3 where us_viewers__millions_ = \"1.08\"" + }, + { + "question": "who is the artist performing at heineken music hall?", + "context": "create table table_1359212_2 (artist varchar, venue varchar, PRIMARY KEY (artist))", + "answer": "select artist from table_1359212_2 where venue = \"heineken music hall\"" + }, + { + "question": "What is the original air date of the episode written by Liz Feldman?", + "context": "create table table_29920800_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_29920800_1 where written_by = \"liz feldman\"" + }, + { + "question": "What CFL team got the player from york?", + "context": "create table table_28059992_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_28059992_5 where college = \"york\"" + }, + { + "question": "What is the most common company type, and how many are there?", + "context": "create table operate_company (type varchar, PRIMARY KEY (type))", + "answer": "select type, count(*) from operate_company group by type order by count(*) desc limit 1" + }, + { + "question": "What is we two when the case/suffix is loc.?", + "context": "create table table_1015914_24 (we_two varchar, case_suffix varchar, PRIMARY KEY (we_two))", + "answer": "select we_two from table_1015914_24 where case_suffix = \"loc.\"" + }, + { + "question": "what is romanian when nuorese sardinian is [\u02c8kantata]?", + "context": "create table table_25401_2 (romanian varchar, nuorese_sardinian varchar, PRIMARY KEY (romanian))", + "answer": "select romanian from table_25401_2 where nuorese_sardinian = \"[\u02c8kantata]\"" + }, + { + "question": "If the cross-section area is 21.2, what is the weight?", + "context": "create table table_2071644_2 (weight__kg_m_ varchar, cross_section_area__cm_2__ varchar, PRIMARY KEY (weight__kg_m_))", + "answer": "select weight__kg_m_ from table_2071644_2 where cross_section_area__cm_2__ = \"21.2\"" + }, + { + "question": "Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.", + "context": "create table staff (staff_id varchar, staff_first_name varchar, PRIMARY KEY (staff_id)); create table problems (problem_description varchar, reported_by_staff_id varchar, PRIMARY KEY (problem_description))", + "answer": "select t1.problem_description from problems as t1 join staff as t2 on t1.reported_by_staff_id = t2.staff_id where t2.staff_first_name = \"christop\"" + }, + { + "question": "In how many events was Puma 20 and abu dhabi 30?", + "context": "create table table_26894949_2 (event varchar, puma varchar, abu_dhabi varchar, PRIMARY KEY (event))", + "answer": "select count(event) from table_26894949_2 where puma = \"20\" and abu_dhabi = \"30\"" + }, + { + "question": "what is the division southwest when division south was ko\u017euf and division east was osogovo", + "context": "create table table_17881033_1 (division_southwest varchar, division_south varchar, division_east varchar, PRIMARY KEY (division_southwest))", + "answer": "select division_southwest from table_17881033_1 where division_south = \"ko\u017euf\" and division_east = \"osogovo\"" + }, + { + "question": "Find the number of different product types.", + "context": "create table products (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select count(distinct product_type_code) from products" + }, + { + "question": "Show the name, role code, and date of birth for the employee with name 'Armani'.", + "context": "create table employees (employee_name varchar, role_code varchar, date_of_birth varchar, employee_name varchar, PRIMARY KEY (employee_name))", + "answer": "select employee_name, role_code, date_of_birth from employees where employee_name = 'armani'" + }, + { + "question": "Find the country of the airlines whose name starts with 'Orbit'.", + "context": "create table airlines (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select country from airlines where name like 'orbit%'" + }, + { + "question": "Who were the running candidates when Joshua Sands was the incumbent?", + "context": "create table table_2668254_17 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668254_17 where incumbent = \"joshua sands\"" + }, + { + "question": "Who were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une?", + "context": "create table table_28853064_15 (winner varchar, mountains_classification varchar, team_classification varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_28853064_15 where mountains_classification = \"oscar solis\" and team_classification = \"epm-une\"" + }, + { + "question": "what is the media debut for the asian black bear?", + "context": "create table table_26615633_3 (media_debut varchar, species varchar, PRIMARY KEY (media_debut))", + "answer": "select media_debut from table_26615633_3 where species = \"asian black bear\"" + }, + { + "question": "who is the the\u00a0mens doubles\u00a0with\u00a0mens singles\u00a0being j\u00fcrgen koch and\u00a0womens singles\u00a0being sabine ploner", + "context": "create table table_15002265_1 (mens_doubles varchar, mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_15002265_1 where mens_singles = \"j\u00fcrgen koch\" and womens_singles = \"sabine ploner\"" + }, + { + "question": "What is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?", + "context": "create table table_1817879_2 (length__miles_ varchar, endpoints varchar, PRIMARY KEY (length__miles_))", + "answer": "select length__miles_ from table_1817879_2 where endpoints = \"westlake/macarthur park to wilshire/western\"" + }, + { + "question": "Which cfl team is manitoba college?", + "context": "create table table_21321804_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_21321804_1 where college = \"manitoba\"" + }, + { + "question": "How many times did Robin Hayes run?", + "context": "create table table_1805191_34 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1805191_34 where incumbent = \"robin hayes\"" + }, + { + "question": "Name the vote for gigit", + "context": "create table table_16976547_2 (vote varchar, eliminated varchar, PRIMARY KEY (vote))", + "answer": "select vote from table_16976547_2 where eliminated = \"gigit\"" + }, + { + "question": "Name the semifinalists for singapore", + "context": "create table table_30007505_1 (semifinalists varchar, country_territory varchar, PRIMARY KEY (semifinalists))", + "answer": "select semifinalists from table_30007505_1 where country_territory = \"singapore\"" + }, + { + "question": "What were the \"other details\" (number released) for \"is my love will follow me\"?", + "context": "create table table_18710512_3 (other_details varchar, single varchar, PRIMARY KEY (other_details))", + "answer": "select other_details from table_18710512_3 where single = \"my love will follow me\"" + }, + { + "question": "What is the numberof running wiht pamela zapata?", + "context": "create table table_12407546_2 (running varchar, athlete varchar, PRIMARY KEY (running))", + "answer": "select count(running) from table_12407546_2 where athlete = \"pamela zapata\"" + }, + { + "question": "Who directed the episode that had 6.04 million viewers?", + "context": "create table table_12976038_1 (director varchar, viewers__in_millions_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_12976038_1 where viewers__in_millions_ = \"6.04\"" + }, + { + "question": "Name the number of awardees for best cinematography", + "context": "create table table_24446718_7 (awardee_s_ varchar, name_of_award varchar, PRIMARY KEY (awardee_s_))", + "answer": "select count(awardee_s_) from table_24446718_7 where name_of_award = \"best cinematography\"" + }, + { + "question": "What are all the stations with a license in Cincinnati?", + "context": "create table table_1847523_2 (station varchar, city_of_license__market varchar, PRIMARY KEY (station))", + "answer": "select station from table_1847523_2 where city_of_license__market = \"cincinnati\"" + }, + { + "question": "how many titles have the name \"quick callanetics\"?", + "context": "create table table_11222744_3 (catalog_number varchar, title varchar, PRIMARY KEY (catalog_number))", + "answer": "select count(catalog_number) from table_11222744_3 where title = \"quick callanetics\"" + }, + { + "question": "What's percentage voted for Busg in the county where Kerry got 37.6%?", + "context": "create table table_2401326_1 (bush_percentage varchar, kerry_percentage varchar, PRIMARY KEY (bush_percentage))", + "answer": "select bush_percentage from table_2401326_1 where kerry_percentage = \"37.6%\"" + }, + { + "question": "What shareholder has 3.63 percent of capital?", + "context": "create table table_206419_3 (shareholder varchar, percent_of_capital varchar, PRIMARY KEY (shareholder))", + "answer": "select shareholder from table_206419_3 where percent_of_capital = \"3.63\"" + }, + { + "question": "Show all paragraph texts for the document \"Customer reviews\".", + "context": "create table paragraphs (paragraph_text varchar, document_id varchar, PRIMARY KEY (paragraph_text)); create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id))", + "answer": "select t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = \"customer reviews\"" + }, + { + "question": "When did the season start that ended with the top record of Lindenwood (20\u20130\u20130)?", + "context": "create table table_22383603_1 (start__reg_season_ varchar, top_record varchar, PRIMARY KEY (start__reg_season_))", + "answer": "select start__reg_season_ from table_22383603_1 where top_record = \"lindenwood (20\u20130\u20130)\"" + }, + { + "question": "what is the total number of\u00a0singles w\u2013l\u00a0where\u00a0doubles w\u2013l\u00a0is 11\u201314", + "context": "create table table_10294071_1 (singles_w_l varchar, doubles_w_l varchar, PRIMARY KEY (singles_w_l))", + "answer": "select count(singles_w_l) from table_10294071_1 where doubles_w_l = \"11\u201314\"" + }, + { + "question": "What was the Bhofen #2 score and rank for the player whose GA-PA score and rank was 233.4 (16)?", + "context": "create table table_14948647_1 (bhofen_number2__rk_ varchar, ga_pa__rk_ varchar, PRIMARY KEY (bhofen_number2__rk_))", + "answer": "select bhofen_number2__rk_ from table_14948647_1 where ga_pa__rk_ = \"233.4 (16)\"" + }, + { + "question": "How many accounts do we have?", + "context": "create table accounts (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from accounts" + }, + { + "question": "What capital's county had a population of 730129 as of 2009?", + "context": "create table table_16278894_1 (capital varchar, population_census_2009 varchar, PRIMARY KEY (capital))", + "answer": "select capital from table_16278894_1 where population_census_2009 = 730129" + }, + { + "question": "What was the total number of seats won where the % of votes is equal to 20.29?", + "context": "create table table_149330_1 (seats_won varchar, _percentage_of_votes varchar, PRIMARY KEY (seats_won))", + "answer": "select count(seats_won) from table_149330_1 where _percentage_of_votes = \"20.29\"" + }, + { + "question": "When rangitikei is the electorate who is the winner?", + "context": "create table table_28898948_3 (winner varchar, electorate varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_28898948_3 where electorate = \"rangitikei\"" + }, + { + "question": "What's the English translation of the Japanese title of the game Ranma \u00bd: Chougi Rambuhen?", + "context": "create table table_12744399_1 (english_title_translation varchar, japanese_title varchar, PRIMARY KEY (english_title_translation))", + "answer": "select english_title_translation from table_12744399_1 where japanese_title = \"ranma \u00bd: chougi rambuhen\"" + }, + { + "question": "When cindy miranda is the name what is the home or representative town or province?", + "context": "create table table_19061741_1 (home_or_representative_town_or_province varchar, name varchar, PRIMARY KEY (home_or_representative_town_or_province))", + "answer": "select home_or_representative_town_or_province from table_19061741_1 where name = \"cindy miranda\"" + }, + { + "question": "Where are the broadcasting companys with the callsign DWRH located?", + "context": "create table table_28794440_1 (location varchar, callsign varchar, PRIMARY KEY (location))", + "answer": "select location from table_28794440_1 where callsign = \"dwrh\"" + }, + { + "question": "How many program data on Asia was written if the organization launched 14 programs iin the Americas?", + "context": "create table table_27184837_1 (asia varchar, americas varchar, PRIMARY KEY (asia))", + "answer": "select count(asia) from table_27184837_1 where americas = 14" + }, + { + "question": "What is the highest 2011 population when the ethnic group is asian or asian british: asian other?", + "context": "create table table_282413_3 (ethnic_group varchar, PRIMARY KEY (ethnic_group))", + "answer": "select max(2011 as _population) from table_282413_3 where ethnic_group = \"asian or asian british: asian other\"" + }, + { + "question": "Find the last names of all the teachers that teach GELL TAMI.", + "context": "create table teachers (lastname varchar, classroom varchar, PRIMARY KEY (lastname)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select t2.lastname from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = \"gell\" and t1.lastname = \"tami\"" + }, + { + "question": "How many KEI catagories are listed when the economic incentive regime is 2.56?", + "context": "create table table_23050383_1 (kei varchar, economic_incentive_regime varchar, PRIMARY KEY (kei))", + "answer": "select count(kei) from table_23050383_1 where economic_incentive_regime = \"2.56\"" + }, + { + "question": "Who were the candidates in the election that featured incumbent don edwards?", + "context": "create table table_1341738_6 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341738_6 where incumbent = \"don edwards\"" + }, + { + "question": "What is the last name of the student who got a grade A in the class with code 10018.", + "context": "create table enroll (stu_num varchar, enroll_grade varchar, class_code varchar, PRIMARY KEY (stu_num)); create table student (stu_lname varchar, stu_num varchar, PRIMARY KEY (stu_lname))", + "answer": "select t1.stu_lname from student as t1 join enroll as t2 on t1.stu_num = t2.stu_num where t2.enroll_grade = 'a' and t2.class_code = 10018" + }, + { + "question": "What is the booking status code of the apartment with apartment number \"Suite 634\"?", + "context": "create table apartments (apt_id varchar, apt_number varchar, PRIMARY KEY (apt_id)); create table apartment_bookings (booking_status_code varchar, apt_id varchar, PRIMARY KEY (booking_status_code))", + "answer": "select t1.booking_status_code from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id where t2.apt_number = \"suite 634\"" + }, + { + "question": "Name the stock for colt model mt6601", + "context": "create table table_12834315_4 (stock varchar, colt_model_no varchar, PRIMARY KEY (stock))", + "answer": "select stock from table_12834315_4 where colt_model_no = \"mt6601\"" + }, + { + "question": "Which general election had a vote swing of 1.84?", + "context": "create table table_149330_1 (general_election varchar, votes_swing varchar, PRIMARY KEY (general_election))", + "answer": "select general_election from table_149330_1 where votes_swing = \"1.84\"" + }, + { + "question": "How many artists do not have any album?", + "context": "create table artist (artistid varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid))", + "answer": "select count(*) from artist where not artistid in (select artistid from album)" + }, + { + "question": "Who are all directors when Sherwood Schwartz is the writer?", + "context": "create table table_2342078_2 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2342078_2 where written_by = \"sherwood schwartz\"" + }, + { + "question": "november 3 where march 27-29 is 149?", + "context": "create table table_25252080_3 (november_3 varchar, march_27_29 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25252080_3 where march_27_29 = \"149\"" + }, + { + "question": "What are the NFL Teams in College North Texas State?", + "context": "create table table_2508633_11 (nfl_team varchar, college varchar, PRIMARY KEY (nfl_team))", + "answer": "select nfl_team from table_2508633_11 where college = \"north texas state\"" + }, + { + "question": "List the names of shops that have no devices in stock.", + "context": "create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name))", + "answer": "select shop_name from shop where not shop_id in (select shop_id from stock)" + }, + { + "question": "Which game type has most number of games?", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select gtype from video_games group by gtype order by count(*) desc limit 1" + }, + { + "question": "When Mark Stimson started his job in 2007-08 what posiiton was the team on the table", + "context": "create table table_28181347_6 (position_in_table varchar, replaced_by varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_28181347_6 where replaced_by = \"mark stimson\"" + }, + { + "question": "What DVD season/name for region 2 was released August 22, 2010?", + "context": "create table table_1067134_1 (dvd_name varchar, region_2 varchar, PRIMARY KEY (dvd_name))", + "answer": "select dvd_name from table_1067134_1 where region_2 = \"august 22, 2010\"" + }, + { + "question": "which categories fit under the institution calvin college?", + "context": "create table table_261895_1 (type varchar, institution varchar, PRIMARY KEY (type))", + "answer": "select type from table_261895_1 where institution = \"calvin college\"" + }, + { + "question": "What's Fitchburg State University's LEC sport?", + "context": "create table table_1974545_2 (lec_sport varchar, institution varchar, PRIMARY KEY (lec_sport))", + "answer": "select lec_sport from table_1974545_2 where institution = \"fitchburg state university\"" + }, + { + "question": "What are all values of CMD.EXE / COMMAND.COM for the unix shell echo?", + "context": "create table table_14465871_1 (cmdexe___commandcom varchar, unix_shell varchar, PRIMARY KEY (cmdexe___commandcom))", + "answer": "select cmdexe___commandcom from table_14465871_1 where unix_shell = \"echo\"" + }, + { + "question": "What is the Closure date of Hunterston B", + "context": "create table table_143352_1 (accounting_closure_date integer, agr_power_station varchar, PRIMARY KEY (accounting_closure_date))", + "answer": "select min(accounting_closure_date) from table_143352_1 where agr_power_station = \"hunterston b\"" + }, + { + "question": "Are there registration notes on usek.edu.lb?", + "context": "create table table_1160660_1 (official_registration_notes varchar, website varchar, PRIMARY KEY (official_registration_notes))", + "answer": "select official_registration_notes from table_1160660_1 where website = \"usek.edu.lb\"" + }, + { + "question": "When 272966 is the tower division what is the highest holborn division?", + "context": "create table table_16677738_1 (holborn_division integer, tower_division varchar, PRIMARY KEY (holborn_division))", + "answer": "select max(holborn_division) from table_16677738_1 where tower_division = 272966" + }, + { + "question": "How many outcomes were there when the opponent was Aleksandra Wozniak?", + "context": "create table table_18183850_12 (outcome varchar, opponent varchar, PRIMARY KEY (outcome))", + "answer": "select count(outcome) from table_18183850_12 where opponent = \"aleksandra wozniak\"" + }, + { + "question": "What state had william bigler (d) as a successor)", + "context": "create table table_2417308_3 (state__class_ varchar, successor varchar, PRIMARY KEY (state__class_))", + "answer": "select state__class_ from table_2417308_3 where successor = \"william bigler (d)\"" + }, + { + "question": "What is the current status of the KDAF ** Station?", + "context": "create table table_1353096_2 (current_status varchar, station varchar, PRIMARY KEY (current_status))", + "answer": "select current_status from table_1353096_2 where station = \"kdaf **\"" + }, + { + "question": "elaine lee worked on how many issues", + "context": "create table table_1420954_1 (issues varchar, writer varchar, PRIMARY KEY (issues))", + "answer": "select count(issues) from table_1420954_1 where writer = \"elaine lee\"" + }, + { + "question": "Who was the writer who wrote the episode that was aired on September 11, 1972?", + "context": "create table table_25800134_17 (writer_s_ varchar, airdate varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_25800134_17 where airdate = \"september 11, 1972\"" + }, + { + "question": "When 720 is the t c (\u00b0c) what is the h ci (ka/m)?", + "context": "create table table_2282444_1 (h_ci__ka_m_ varchar, t_c__\u00b0c_ varchar, PRIMARY KEY (h_ci__ka_m_))", + "answer": "select h_ci__ka_m_ from table_2282444_1 where t_c__\u00b0c_ = \"720\"" + }, + { + "question": "If the title is Paradox Lost and the reader is Briggs, Nicholas Nicholas Briggs, what are all of the notes?", + "context": "create table table_20174050_7 (notes varchar, reader varchar, title varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_20174050_7 where reader = \"briggs, nicholas nicholas briggs\" and title = \"paradox lost\"" + }, + { + "question": "How many regions had rainfall infiltration (km 3/year) of 9.3?", + "context": "create table table_25983027_1 (rainfall_by_depth__mm_year_ varchar, infiltration__km_3__year_ varchar, PRIMARY KEY (rainfall_by_depth__mm_year_))", + "answer": "select count(rainfall_by_depth__mm_year_) from table_25983027_1 where infiltration__km_3__year_ = \"9.3\"" + }, + { + "question": "Show the description of the transaction type that occurs most frequently.", + "context": "create table transactions (transaction_type_code varchar, PRIMARY KEY (transaction_type_code)); create table ref_transaction_types (transaction_type_description varchar, transaction_type_code varchar, PRIMARY KEY (transaction_type_description))", + "answer": "select t1.transaction_type_code, t1.transaction_type_description from ref_transaction_types as t1 join transactions as t2 on t1.transaction_type_code = t2.transaction_type_code group by t1.transaction_type_code, t1.transaction_type_description order by count(*) desc limit 1;" + }, + { + "question": "What was the manner of departure for the manager of Cercle Brugge?", + "context": "create table table_27374004_3 (manner_of_departure varchar, team varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_27374004_3 where team = \"cercle brugge\"" + }, + { + "question": "Name the tour when mens singles is chen jin and womens doubles is zhang yawen zhao tingting", + "context": "create table table_14496232_2 (tour varchar, mens_singles varchar, womens_doubles varchar, PRIMARY KEY (tour))", + "answer": "select tour from table_14496232_2 where mens_singles = \"chen jin\" and womens_doubles = \"zhang yawen zhao tingting\"" + }, + { + "question": "What is Segment A where Segment C is Sushi (part 1)?", + "context": "create table table_15187735_15 (segment_a varchar, segment_c varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_15 where segment_c = \"sushi (part 1)\"" + }, + { + "question": "Find all the ids and dates of the logs for the problem whose id is 10.", + "context": "create table problem_log (problem_log_id varchar, log_entry_date varchar, problem_id varchar, PRIMARY KEY (problem_log_id))", + "answer": "select problem_log_id, log_entry_date from problem_log where problem_id = 10" + }, + { + "question": "List the names of members who did not attend any performance.", + "context": "create table member (name varchar, member_id varchar, PRIMARY KEY (name)); create table member_attendance (name varchar, member_id varchar, PRIMARY KEY (name))", + "answer": "select name from member where not member_id in (select member_id from member_attendance)" + }, + { + "question": "Name the number of road record for team ole miss", + "context": "create table table_22825679_1 (road_record varchar, team varchar, PRIMARY KEY (road_record))", + "answer": "select count(road_record) from table_22825679_1 where team = \"ole miss\"" + }, + { + "question": "How many episodes were shown on Friday if 190 Boardwalk Empire was shown on Wednesday?", + "context": "create table table_18173916_6 (friday varchar, wednesday varchar, PRIMARY KEY (friday))", + "answer": "select count(friday) from table_18173916_6 where wednesday = \"190 boardwalk empire\"" + }, + { + "question": "Show names of technicians who are assigned to repair machines with value point more than 70.", + "context": "create table machine (machine_id varchar, value_points integer, PRIMARY KEY (machine_id)); create table repair_assignment (machine_id varchar, technician_id varchar, PRIMARY KEY (machine_id)); create table technician (name varchar, technician_id varchar, PRIMARY KEY (name))", + "answer": "select t3.name from repair_assignment as t1 join machine as t2 on t1.machine_id = t2.machine_id join technician as t3 on t1.technician_id = t3.technician_id where t2.value_points > 70" + }, + { + "question": "What was the record against Boston?", + "context": "create table table_15780718_8 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_15780718_8 where team = \"boston\"" + }, + { + "question": "What was Lambert's song choice in the top 13?", + "context": "create table table_21501511_1 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_21501511_1 where week__number = \"top 13\"" + }, + { + "question": "Show the names of conductors and the orchestras they have conducted.", + "context": "create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name)); create table orchestra (orchestra varchar, conductor_id varchar, PRIMARY KEY (orchestra))", + "answer": "select t1.name, t2.orchestra from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id" + }, + { + "question": "How many barony's appear when Ballyvadona is the townland.", + "context": "create table table_30120556_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select count(barony) from table_30120556_1 where townland = \"ballyvadona\"" + }, + { + "question": "What is the custody level of the facility in Shelton?", + "context": "create table table_25346763_1 (custody_level_s_ varchar, location varchar, PRIMARY KEY (custody_level_s_))", + "answer": "select custody_level_s_ from table_25346763_1 where location = \"shelton\"" + }, + { + "question": "What day did episode number 4 air originally?", + "context": "create table table_24648983_1 (original_air_date varchar, \u2116 varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_24648983_1 where \u2116 = 4" + }, + { + "question": "List the distinct hometowns that are not associated with any gymnast.", + "context": "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))", + "answer": "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" + }, + { + "question": "How many dates of polls occur in the Madhya Pradesh state?", + "context": "create table table_15329030_1 (date_of_polls varchar, state varchar, PRIMARY KEY (date_of_polls))", + "answer": "select count(date_of_polls) from table_15329030_1 where state = \"madhya pradesh\"" + }, + { + "question": "what's the\u00a0college/junior/club team\u00a0with\u00a0nhl team\u00a0being california golden seals", + "context": "create table table_1473672_9 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_1473672_9 where nhl_team = \"california golden seals\"" + }, + { + "question": "How many students enrolled in 2005 at New Hampshire Institute of Art?", + "context": "create table table_2076490_1 (enrollment__2005_ varchar, school varchar, PRIMARY KEY (enrollment__2005_))", + "answer": "select enrollment__2005_ from table_2076490_1 where school = \"new hampshire institute of art\"" + }, + { + "question": "Who was in home (2nd leg) when Talleres was in home (1st leg)", + "context": "create table table_14219514_1 (home__2nd_leg_ varchar, home__1st_leg_ varchar, PRIMARY KEY (home__2nd_leg_))", + "answer": "select home__2nd_leg_ from table_14219514_1 where home__1st_leg_ = \"talleres\"" + }, + { + "question": "Name the region 1 for episode number 13", + "context": "create table table_171320_3 (region_1 varchar, ep__number varchar, PRIMARY KEY (region_1))", + "answer": "select region_1 from table_171320_3 where ep__number = 13" + }, + { + "question": "How much was spent in 1949 (in $ millions) in the country where the cumulative expenditure is $376 millions?", + "context": "create table table_19766_1 (cumulative__$_millions_ varchar, PRIMARY KEY (cumulative__$_millions_))", + "answer": "select min(1949) as $_millions_ from table_19766_1 where cumulative__$_millions_ = 376" + }, + { + "question": "Show the names of all the employees with role \"HR\".", + "context": "create table employees (employee_name varchar, role_code varchar, PRIMARY KEY (employee_name))", + "answer": "select employee_name from employees where role_code = \"hr\"" + }, + { + "question": "Which province had population of 210295 South Asians in 2001?", + "context": "create table table_1717824_1 (province varchar, south_asians_2001 varchar, PRIMARY KEY (province))", + "answer": "select province from table_1717824_1 where south_asians_2001 = 210295" + }, + { + "question": "What is the pluperfect for the perfect si bio/la; bio/la si?", + "context": "create table table_27298240_26 (pluperfect varchar, perfect varchar, PRIMARY KEY (pluperfect))", + "answer": "select pluperfect from table_27298240_26 where perfect = \"si bio/la; bio/la si\"" + }, + { + "question": "how many\u00a0capital\u00a0with\u00a0population census 2009\u00a0being 284657", + "context": "create table table_1404456_1 (capital varchar, population_census_2009 varchar, PRIMARY KEY (capital))", + "answer": "select count(capital) from table_1404456_1 where population_census_2009 = 284657" + }, + { + "question": "Name the first broadcast for trisha goddard and glenn wool", + "context": "create table table_23292220_5 (first_broadcast varchar, jasons_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23292220_5 where jasons_team = \"trisha goddard and glenn wool\"" + }, + { + "question": "Name the drivetrain for 2ur-fse", + "context": "create table table_21530474_1 (drivetrain varchar, engine_code varchar, PRIMARY KEY (drivetrain))", + "answer": "select drivetrain from table_21530474_1 where engine_code = \"2ur-fse\"" + }, + { + "question": "What place is there a change of -19.3?", + "context": "create table table_2500440_1 (name varchar, change___percentage_ varchar, PRIMARY KEY (name))", + "answer": "select count(name) from table_2500440_1 where change___percentage_ = \"-19.3\"" + }, + { + "question": "What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative?", + "context": "create table table_21690339_1 (_percentage_cut varchar, alternative_fuel varchar, PRIMARY KEY (_percentage_cut))", + "answer": "select _percentage_cut from table_21690339_1 where alternative_fuel = \"fuel oil stocks need only for industry\"" + }, + { + "question": "Who is the producer of \u91d1\u5fc5\u6c0f\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89 ?", + "context": "create table table_18943444_1 (producer varchar, product varchar, PRIMARY KEY (producer))", + "answer": "select producer from table_18943444_1 where product = \"\u91d1\u5fc5\u6c0f\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89\"" + }, + { + "question": "What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban?", + "context": "create table table_17487395_1 (callsign varchar, branding varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_17487395_1 where branding = \"mom's radio 101.5 tacloban\"" + }, + { + "question": "Show the station name with at least two trains.", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train_station (station_id varchar, PRIMARY KEY (station_id))", + "answer": "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" + }, + { + "question": "Find the number of companies whose industry is \"Banking\" or \"Conglomerate\",", + "context": "create table companies (industry varchar, PRIMARY KEY (industry))", + "answer": "select count(*) from companies where industry = \"banking\" or industry = \"conglomerate\"" + }, + { + "question": "Which address do not have any member with the black membership card?", + "context": "create table member (address varchar, membership_card varchar, PRIMARY KEY (address))", + "answer": "select address from member except select address from member where membership_card = 'black'" + }, + { + "question": "How many different items appear in the television column when the results where Iowa State 14, Minnesota 13?", + "context": "create table table_23718905_6 (television varchar, matchup_results varchar, PRIMARY KEY (television))", + "answer": "select count(television) from table_23718905_6 where matchup_results = \"iowa state 14, minnesota 13\"" + }, + { + "question": "What were the results for incumbent Jim McCrery?", + "context": "create table table_1341453_20 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341453_20 where incumbent = \"jim mccrery\"" + }, + { + "question": "What school is nicknamed the panthers?", + "context": "create table table_24935743_2 (school varchar, nickname varchar, PRIMARY KEY (school))", + "answer": "select school from table_24935743_2 where nickname = \"panthers\"" + }, + { + "question": "Name the family for uk31", + "context": "create table table_19897294_8 (family_families varchar, no_overall varchar, PRIMARY KEY (family_families))", + "answer": "select family_families from table_19897294_8 where no_overall = \"uk31\"" + }, + { + "question": "On what year was the local government area with a surface of 4563 square kilometers established?", + "context": "create table table_23685890_2 (est varchar, land_area__km\u00b2_ varchar, PRIMARY KEY (est))", + "answer": "select est from table_23685890_2 where land_area__km\u00b2_ = \"4563\"" + }, + { + "question": "Does the sounddock series I v2 have dual voltage?", + "context": "create table table_24384861_1 (dual_voltage varchar, version varchar, PRIMARY KEY (dual_voltage))", + "answer": "select dual_voltage from table_24384861_1 where version = \"sounddock series i v2\"" + }, + { + "question": "How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?", + "context": "create table table_27116696_1 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_27116696_1 where directed_by = \"allison liddi-brown\"" + }, + { + "question": "what's the\u00a0naturalisation by marriage\u00a0with\u00a0regbeingtration of a minor child\u00a0being 114", + "context": "create table table_11214212_1 (naturalisation_by_marriage varchar, registration_of_a_minor_child varchar, PRIMARY KEY (naturalisation_by_marriage))", + "answer": "select naturalisation_by_marriage from table_11214212_1 where registration_of_a_minor_child = 114" + }, + { + "question": "The person who had 0 WSOP earnings had how man WSOP cashes?", + "context": "create table table_23696862_6 (wsop_cashes varchar, wsop_earnings varchar, PRIMARY KEY (wsop_cashes))", + "answer": "select wsop_cashes from table_23696862_6 where wsop_earnings = \"0\"" + }, + { + "question": "What game allow the 1980s to be exportable?", + "context": "create table table_14160327_4 (exportable varchar, decade varchar, PRIMARY KEY (exportable))", + "answer": "select exportable from table_14160327_4 where decade = \"1980s\"" + }, + { + "question": "What is the description of document status code 'working'?", + "context": "create table ref_document_status (document_status_description varchar, document_status_code varchar, PRIMARY KEY (document_status_description))", + "answer": "select document_status_description from ref_document_status where document_status_code = \"working\"" + }, + { + "question": "Which dates of polls occur in the Mizoram state?", + "context": "create table table_15329030_1 (date_of_polls varchar, state varchar, PRIMARY KEY (date_of_polls))", + "answer": "select date_of_polls from table_15329030_1 where state = \"mizoram\"" + }, + { + "question": "What is every school with stunts of 48?", + "context": "create table table_21995420_6 (school varchar, stunts varchar, PRIMARY KEY (school))", + "answer": "select school from table_21995420_6 where stunts = \"48\"" + }, + { + "question": "Which visitors have a leading scorer of roy : 25", + "context": "create table table_11964047_7 (visitor varchar, leading_scorer varchar, PRIMARY KEY (visitor))", + "answer": "select visitor from table_11964047_7 where leading_scorer = \"roy : 25\"" + }, + { + "question": "When Denizli was the province, what was the total number of valid votes?", + "context": "create table table_27274222_2 (valid_votes varchar, province varchar, PRIMARY KEY (valid_votes))", + "answer": "select count(valid_votes) from table_27274222_2 where province = \"denizli\"" + }, + { + "question": "Which team had a manager who was replaced by Faraz Kamalvand?", + "context": "create table table_22297140_3 (team varchar, replaced_by varchar, PRIMARY KEY (team))", + "answer": "select team from table_22297140_3 where replaced_by = \"faraz kamalvand\"" + }, + { + "question": "Who played as the away team when coventry city was the home team?", + "context": "create table table_24887326_8 (away_team varchar, home_team varchar, PRIMARY KEY (away_team))", + "answer": "select away_team from table_24887326_8 where home_team = \"coventry city\"" + }, + { + "question": "What is the ab ripper x when exercise is x stretch?", + "context": "create table table_27512025_1 (ab_ripper_x varchar, exercise varchar, PRIMARY KEY (ab_ripper_x))", + "answer": "select ab_ripper_x from table_27512025_1 where exercise = \"x stretch\"" + }, + { + "question": "How many athletes completed a trans 1 within 0:26?", + "context": "create table table_17085947_32 (athlete varchar, trans_1 varchar, PRIMARY KEY (athlete))", + "answer": "select count(athlete) from table_17085947_32 where trans_1 = \"0:26\"" + }, + { + "question": "How many problems does the product with the most problems have? List the number of the problems and product name.", + "context": "create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "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" + }, + { + "question": "Who picked a player from Weber State?", + "context": "create table table_16575609_1 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_16575609_1 where college = \"weber state\"" + }, + { + "question": "When 14.85 kilometers squared is the land area what is the name?", + "context": "create table table_189598_7 (name varchar, land_area__km\u00b2_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_189598_7 where land_area__km\u00b2_ = \"14.85\"" + }, + { + "question": "Name the settlement for \u0430\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u043e\u0432\u043e", + "context": "create table table_2562572_37 (settlement varchar, cyrillic_name_other_names varchar, PRIMARY KEY (settlement))", + "answer": "select settlement from table_2562572_37 where cyrillic_name_other_names = \"\u0430\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u043e\u0432\u043e\"" + }, + { + "question": "Name the region 1 where region 4 for april 2, 2009", + "context": "create table table_171320_3 (region_1 varchar, region_4 varchar, PRIMARY KEY (region_1))", + "answer": "select region_1 from table_171320_3 where region_4 = \"april 2, 2009\"" + }, + { + "question": "List document IDs, document names, and document descriptions for all documents.", + "context": "create table documents (document_id varchar, document_name varchar, document_description varchar, PRIMARY KEY (document_id))", + "answer": "select document_id, document_name, document_description from documents" + }, + { + "question": "what's the\u00a0occupied territory\u00a0with\u00a0operational\u00a0period of may 1940 \u2013 january 1945", + "context": "create table table_10335_1 (occupied_territory varchar, operational varchar, PRIMARY KEY (occupied_territory))", + "answer": "select occupied_territory from table_10335_1 where operational = \"may 1940 \u2013 january 1945\"" + }, + { + "question": "What is the species when jewel is coal?", + "context": "create table table_26615633_1 (species varchar, jewel varchar, PRIMARY KEY (species))", + "answer": "select species from table_26615633_1 where jewel = \"coal\"" + }, + { + "question": "Name the number of regular judge when host is bernie chan", + "context": "create table table_1597866_3 (regular_judge varchar, host varchar, PRIMARY KEY (regular_judge))", + "answer": "select count(regular_judge) from table_1597866_3 where host = \"bernie chan\"" + }, + { + "question": "Which planet has the transcription of wan suk?", + "context": "create table table_180802_3 (planet varchar, transcription varchar, PRIMARY KEY (planet))", + "answer": "select planet from table_180802_3 where transcription = \"wan suk\"" + }, + { + "question": "Who was the GTU winning team when the TO winning team was Steve Ross?", + "context": "create table table_13642023_2 (gtu_winning_team varchar, to_winning_team varchar, PRIMARY KEY (gtu_winning_team))", + "answer": "select gtu_winning_team from table_13642023_2 where to_winning_team = \"steve ross\"" + }, + { + "question": "What is the number for t c (k) when the notation is tl-2212?", + "context": "create table table_101336_1 (t_c__k_ varchar, notation varchar, PRIMARY KEY (t_c__k_))", + "answer": "select count(t_c__k_) from table_101336_1 where notation = \"tl-2212\"" + }, + { + "question": "List all information about the assessment notes sorted by date in ascending order.", + "context": "create table assessment_notes (date_of_notes varchar, PRIMARY KEY (date_of_notes))", + "answer": "select * from assessment_notes order by date_of_notes" + }, + { + "question": "how many first performances where performer is wilfred engelman category:articles with hcards", + "context": "create table table_19189856_1 (first_performance varchar, performer varchar, PRIMARY KEY (first_performance))", + "answer": "select count(first_performance) from table_19189856_1 where performer = \"wilfred engelman category:articles with hcards\"" + }, + { + "question": "Name the high rebounds for charlotte", + "context": "create table table_27700375_11 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27700375_11 where team = \"charlotte\"" + }, + { + "question": "when was the ending time where the enemy met in the iron bowl", + "context": "create table table_2846320_4 (last_meeting varchar, name_of_rivalry varchar, PRIMARY KEY (last_meeting))", + "answer": "select last_meeting from table_2846320_4 where name_of_rivalry = \"iron bowl\"" + }, + { + "question": "Find the id of routes whose source and destination airports are in the United States.", + "context": "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))", + "answer": "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')" + }, + { + "question": "Name the period for uruguay", + "context": "create table table_24565004_19 (period varchar, nationality\u00b2 varchar, PRIMARY KEY (period))", + "answer": "select period from table_24565004_19 where nationality\u00b2 = \"uruguay\"" + }, + { + "question": "Who played in group 11 when Persipal Palu played in group 12?", + "context": "create table table_19523142_5 (group_11 varchar, group_12 varchar, PRIMARY KEY (group_11))", + "answer": "select group_11 from table_19523142_5 where group_12 = \"persipal palu\"" + }, + { + "question": "List all pilot names in ascending alphabetical order.", + "context": "create table pilot (name varchar, PRIMARY KEY (name))", + "answer": "select name from pilot order by name" + }, + { + "question": "How many pageants were in san fernando, pampanga?", + "context": "create table table_1825751_14 (pageant varchar, hometown varchar, PRIMARY KEY (pageant))", + "answer": "select count(pageant) from table_1825751_14 where hometown = \"san fernando, pampanga\"" + }, + { + "question": "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)?", + "context": "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_))", + "answer": "select dirty_electric_grid_rocky_mountains__denver_ from table_23840623_4 where clean_electric_grid_california__san_francisco_ = \"160 g/mi (99 g/km)\"" + }, + { + "question": "List the document ids for any documents with the status code done and the type code paper.", + "context": "create table documents (document_id varchar, document_status_code varchar, document_type_code varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from documents where document_status_code = \"done\" and document_type_code = \"paper\"" + }, + { + "question": "With the official name Quispamsis, what is the census ranking?", + "context": "create table table_171236_1 (census_ranking varchar, official_name varchar, PRIMARY KEY (census_ranking))", + "answer": "select census_ranking from table_171236_1 where official_name = \"quispamsis\"" + }, + { + "question": "What was the air date when the team guest captain was john bishop?", + "context": "create table table_25816476_2 (air_date varchar, team_guest_captain varchar, PRIMARY KEY (air_date))", + "answer": "select air_date from table_25816476_2 where team_guest_captain = \"john bishop\"" + }, + { + "question": "What is the call sign for channel 6?", + "context": "create table table_2638104_1 (callsign varchar, channel varchar, PRIMARY KEY (callsign))", + "answer": "select callsign from table_2638104_1 where channel = 6" + }, + { + "question": "What was the year when Ch\u016bnqi\u016b Ch\u00e1sh\u00ec (\u6625\u79cb\u8336\u5ba4) was submitted?", + "context": "create table table_17350255_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_17350255_1 where original_title = \"ch\u016bnqi\u016b ch\u00e1sh\u00ec (\u6625\u79cb\u8336\u5ba4)\"" + }, + { + "question": "what the team where the record is 1-1 and the player is 1-1", + "context": "create table table_26173058_2 (\u00d7 varchar, jeel varchar, ramtha varchar, PRIMARY KEY (\u00d7))", + "answer": "select \u00d7 from table_26173058_2 where jeel = \"1-1\" and ramtha = \"1-1\"" + }, + { + "question": "Who played Richmond at home?", + "context": "create table table_14312471_7 (home_team varchar, away_team varchar, PRIMARY KEY (home_team))", + "answer": "select home_team from table_14312471_7 where away_team = \"richmond\"" + }, + { + "question": "Who was the aggressive rider when the winner was luis le\u00f3n s\u00e1nchez?", + "context": "create table table_25580292_13 (aggressive_rider varchar, winner varchar, PRIMARY KEY (aggressive_rider))", + "answer": "select aggressive_rider from table_25580292_13 where winner = \"luis le\u00f3n s\u00e1nchez\"" + }, + { + "question": "Show the document id with paragraph text 'Brazil' and 'Ireland'.", + "context": "create table paragraphs (document_id varchar, paragraph_text varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from paragraphs where paragraph_text = 'brazil' intersect select document_id from paragraphs where paragraph_text = 'ireland'" + }, + { + "question": "Who was the horse when the jockey was Peter Wells?", + "context": "create table table_24915874_1 (horse varchar, jockey varchar, PRIMARY KEY (horse))", + "answer": "select horse from table_24915874_1 where jockey = \"peter wells\"" + }, + { + "question": "Show the different nationalities and the number of journalists of each nationality.", + "context": "create table journalist (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality, count(*) from journalist group by nationality" + }, + { + "question": "Name the nat for total apps for 27", + "context": "create table table_19018191_5 (nat varchar, total_apps varchar, PRIMARY KEY (nat))", + "answer": "select nat from table_19018191_5 where total_apps = 27" + }, + { + "question": "How many figures are given for pubs 2011 in Chennai?", + "context": "create table table_167354_2 (pubs_2011 varchar, location varchar, PRIMARY KEY (pubs_2011))", + "answer": "select count(pubs_2011) from table_167354_2 where location = \"chennai\"" + }, + { + "question": "Where 19 seats were won, what was the minimum number of forfeited seats?", + "context": "create table table_22582663_1 (forfeited_in_seats integer, seats_won varchar, PRIMARY KEY (forfeited_in_seats))", + "answer": "select min(forfeited_in_seats) from table_22582663_1 where seats_won = 19" + }, + { + "question": "Who made highest assists when high rebounds was Al Horford (17)", + "context": "create table table_17311759_4 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17311759_4 where high_rebounds = \"al horford (17)\"" + }, + { + "question": "Who was the original artist for week number Top 16 (8 women)?", + "context": "create table table_15796072_1 (original_artist varchar, week__number varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_15796072_1 where week__number = \"top 16 (8 women)\"" + }, + { + "question": "what is the material of the surface in the dehradun , uttarakhand, india location", + "context": "create table table_29127804_3 (surface varchar, location varchar, PRIMARY KEY (surface))", + "answer": "select surface from table_29127804_3 where location = \"dehradun , uttarakhand, india\"" + }, + { + "question": "Name the original title of the Suzana Amaral film", + "context": "create table table_15277629_1 (original_title varchar, director varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_15277629_1 where director = \"suzana amaral\"" + }, + { + "question": "How many datas were recorded on January 15-16 if August 21-22 is 155?", + "context": "create table table_25216791_3 (january_15_16 varchar, august_21_22 varchar, PRIMARY KEY (january_15_16))", + "answer": "select count(january_15_16) from table_25216791_3 where august_21_22 = \"155\"" + }, + { + "question": "What is year of construction of spitallamm?", + "context": "create table table_10020178_1 (year_of_construction integer, name varchar, PRIMARY KEY (year_of_construction))", + "answer": "select min(year_of_construction) from table_10020178_1 where name = \"spitallamm\"" + }, + { + "question": "How many millions of US viewers watched the episode written by Jack Sanderson?", + "context": "create table table_27462177_1 (us_viewers__millions_ varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_27462177_1 where written_by = \"jack sanderson\"" + }, + { + "question": "How many locations are there for the athletic nickname is blue crusaders?", + "context": "create table table_22171978_1 (location varchar, athletic_nickname varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_22171978_1 where athletic_nickname = \"blue crusaders\"" + }, + { + "question": "What candidate was featured in the election for incumbent samuel j. nicholls' seat?", + "context": "create table table_1342451_38 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342451_38 where incumbent = \"samuel j. nicholls\"" + }, + { + "question": "What is the attribute data type of the attribute with name \"Green\"?", + "context": "create table attribute_definitions (attribute_data_type varchar, attribute_name varchar, PRIMARY KEY (attribute_data_type))", + "answer": "select attribute_data_type from attribute_definitions where attribute_name = \"green\"" + }, + { + "question": "What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?", + "context": "create table table_1682026_3 (assets__billion_$_ varchar, headquarters varchar, profits__billion_$_ varchar, PRIMARY KEY (assets__billion_$_))", + "answer": "select assets__billion_$_ from table_1682026_3 where headquarters = \"china\" and profits__billion_$_ = \"21.2\"" + }, + { + "question": "When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age?", + "context": "create table table_23537091_1 (copper_age varchar, ubaid_period_in_mesopotamia varchar, PRIMARY KEY (copper_age))", + "answer": "select copper_age from table_23537091_1 where ubaid_period_in_mesopotamia = \"hittite old kingdom , minoan eruption\"" + }, + { + "question": "Who did the high rebounds for the team Minnesota?", + "context": "create table table_27734769_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27734769_9 where team = \"minnesota\"" + }, + { + "question": "Name the hdtv for sky primafila 17", + "context": "create table table_15887683_6 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select hdtv from table_15887683_6 where television_service = \"sky primafila 17\"" + }, + { + "question": "What is the title of the episode directed by Rich Correll and written by Dennis Rinsler?", + "context": "create table table_29102100_1 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_29102100_1 where directed_by = \"rich correll\" and written_by = \"dennis rinsler\"" + }, + { + "question": "When are the birthdays of customer who are classified as 'Good Customer' status?", + "context": "create table customers (date_of_birth varchar, customer_status_code varchar, PRIMARY KEY (date_of_birth))", + "answer": "select date_of_birth from customers where customer_status_code = 'good customer'" + }, + { + "question": "What year and the corresponding ceremony was the english titled movie \"time out\" submitted?", + "context": "create table table_22102732_1 (year__ceremony_ varchar, english_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_22102732_1 where english_title = \"time out\"" + }, + { + "question": "Name the number of rank for april 2013 for 2012 ran kbeing 225", + "context": "create table table_24307126_3 (april_2013_cum_rank varchar, rank_2012 varchar, PRIMARY KEY (april_2013_cum_rank))", + "answer": "select count(april_2013_cum_rank) from table_24307126_3 where rank_2012 = 225" + }, + { + "question": "Tell me what the notes are for South Australia", + "context": "create table table_1000181_1 (notes varchar, current_slogan varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_1000181_1 where current_slogan = \"south australia\"" + }, + { + "question": "name the team for 36-29 record", + "context": "create table table_27902171_8 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_27902171_8 where record = \"36-29\"" + }, + { + "question": "What is the November 3 result when the result for January 15-16 is 141?", + "context": "create table table_25284864_3 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25284864_3 where january_15_16 = \"141\"" + }, + { + "question": "Who is the advisor of student with ID 1004?", + "context": "create table student (advisor varchar, stuid varchar, PRIMARY KEY (advisor))", + "answer": "select advisor from student where stuid = 1004" + }, + { + "question": "What is the name of the song that was released in the most recent year?", + "context": "create table song (song_name varchar, releasedate varchar, PRIMARY KEY (song_name))", + "answer": "select song_name, releasedate from song order by releasedate desc limit 1" + }, + { + "question": "What is the English title of the episode with 1.92 million Hong Kong viewers?", + "context": "create table table_24856090_1 (english_title varchar, hk_viewers varchar, PRIMARY KEY (english_title))", + "answer": "select english_title from table_24856090_1 where hk_viewers = \"1.92 million\"" + }, + { + "question": "Name the game coast for chicago and north western", + "context": "create table table_243664_1 (game_cost varchar, railroad varchar, PRIMARY KEY (game_cost))", + "answer": "select game_cost from table_243664_1 where railroad = \"chicago and north western\"" + }, + { + "question": "What provinces were formed from New Munster?", + "context": "create table table_275023_1 (province varchar, formed_from varchar, PRIMARY KEY (province))", + "answer": "select province from table_275023_1 where formed_from = \"new munster\"" + }, + { + "question": "What is the location for the club with the nickname the bears?", + "context": "create table table_18752986_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_18752986_1 where nickname = \"bears\"" + }, + { + "question": "what is the affiliation of charles h. brand", + "context": "create table table_1342379_10 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342379_10 where incumbent = \"charles h. brand\"" + }, + { + "question": "Find the names of the swimmers who have no record.", + "context": "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))", + "answer": "select name from swimmer where not id in (select swimmer_id from record)" + }, + { + "question": "What is every value for Italian when the part is English?", + "context": "create table table_25401_15 (italian varchar, english varchar, PRIMARY KEY (italian))", + "answer": "select italian from table_25401_15 where english = \"part\"" + }, + { + "question": "How many episodes did Cliff Bole directed in season 3?", + "context": "create table table_17861265_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_17861265_1 where directed_by = \"cliff bole\"" + }, + { + "question": "How many total miles recorded for the racer who finished in 1:05:33?", + "context": "create table table_17802778_1 (miles__km_ varchar, race_time varchar, PRIMARY KEY (miles__km_))", + "answer": "select miles__km_ from table_17802778_1 where race_time = \"1:05:33\"" + }, + { + "question": "What is the maximum t20 on green lane?", + "context": "create table table_1176371_1 (t20_matches integer, name_of_ground varchar, PRIMARY KEY (t20_matches))", + "answer": "select max(t20_matches) from table_1176371_1 where name_of_ground = \"green lane\"" + }, + { + "question": "What's the team #2 in the round where team #1 is Iraklis?", + "context": "create table table_19130829_4 (team__number2 varchar, team__number1 varchar, PRIMARY KEY (team__number2))", + "answer": "select team__number2 from table_19130829_4 where team__number1 = \"iraklis\"" + }, + { + "question": "What is the party when the constituency is 1. Chennai North?", + "context": "create table table_22753245_1 (party varchar, constituency varchar, PRIMARY KEY (party))", + "answer": "select party from table_22753245_1 where constituency = \"1. chennai north\"" + }, + { + "question": "Find the number of characteristics that the product \"flax\" has.", + "context": "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))", + "answer": "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\"" + }, + { + "question": "What's the compression ratio of the model with L35 RPO and 5 applications?", + "context": "create table table_20007413_6 (compression_ratio varchar, rpo varchar, applications varchar, PRIMARY KEY (compression_ratio))", + "answer": "select compression_ratio from table_20007413_6 where rpo = \"l35\" and applications = 5" + }, + { + "question": "What is the title of the episode with the original air date of february 6, 1997?", + "context": "create table table_11951237_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_11951237_3 where original_air_date = \"february 6, 1997\"" + }, + { + "question": "Who was the Class A winner in 2006-07?", + "context": "create table table_14603057_2 (class_a varchar, school_year varchar, PRIMARY KEY (class_a))", + "answer": "select class_a from table_14603057_2 where school_year = \"2006-07\"" + }, + { + "question": "What is listed under try bonus when listed under Tries for is tries for?", + "context": "create table table_13399573_3 (try_bonus varchar, PRIMARY KEY (try_bonus))", + "answer": "select try_bonus from table_13399573_3 where \"tries_for\" = \"tries_for\"" + }, + { + "question": "For how many contestants was the background internet dreamer?", + "context": "create table table_19810459_1 (contestant varchar, background varchar, PRIMARY KEY (contestant))", + "answer": "select count(contestant) from table_19810459_1 where background = \"internet dreamer\"" + }, + { + "question": "how many times is the location is homestead, florida?", + "context": "create table table_2696531_2 (pole_position varchar, location varchar, PRIMARY KEY (pole_position))", + "answer": "select count(pole_position) from table_2696531_2 where location = \"homestead, florida\"" + }, + { + "question": "How many states or District of Columbia have 65.4% overweight or obese adults?", + "context": "create table table_18958648_1 (state_and_district_of_columbia varchar, overweight__incl_obese__adults varchar, PRIMARY KEY (state_and_district_of_columbia))", + "answer": "select count(state_and_district_of_columbia) from table_18958648_1 where overweight__incl_obese__adults = \"65.4%\"" + }, + { + "question": "Name the location for golden tornadoes", + "context": "create table table_262476_1 (location varchar, nickname varchar, PRIMARY KEY (location))", + "answer": "select location from table_262476_1 where nickname = \"golden tornadoes\"" + }, + { + "question": "What was the record for the Orangemen when they played against Army?", + "context": "create table table_23346983_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select record from table_23346983_1 where opponent = \"army\"" + }, + { + "question": "How many teams lost at the sydney football stadium, sydney (11)?", + "context": "create table table_11236195_5 (losingteam varchar, location varchar, PRIMARY KEY (losingteam))", + "answer": "select count(losingteam) from table_11236195_5 where location = \"sydney football stadium, sydney (11)\"" + }, + { + "question": "what is the address of history department?", + "context": "create table department (dept_address varchar, dept_name varchar, PRIMARY KEY (dept_address))", + "answer": "select dept_address from department where dept_name = 'history'" + }, + { + "question": "Whatis the original title for lion's den?", + "context": "create table table_13834298_1 (original_title varchar, film_title_used_in_nomination varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_13834298_1 where film_title_used_in_nomination = \"lion's den\"" + }, + { + "question": "What was date of appointment for Erg\u00fcn Penbe?", + "context": "create table table_27091128_2 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27091128_2 where replaced_by = \"erg\u00fcn penbe\"" + }, + { + "question": "Name the final place for july 25, 2009", + "context": "create table table_23819979_3 (final_place varchar, last_match varchar, PRIMARY KEY (final_place))", + "answer": "select final_place from table_23819979_3 where last_match = \"july 25, 2009\"" + }, + { + "question": "what's the\u00a0wii points\u00a0with\u00a0title and source\u00a0being ts\u016bshin taikyoku: igo d\u014dj\u014d 2700-mon", + "context": "create table table_13663434_1 (wii_points varchar, title_and_source varchar, PRIMARY KEY (wii_points))", + "answer": "select wii_points from table_13663434_1 where title_and_source = \"ts\u016bshin taikyoku: igo d\u014dj\u014d 2700-mon\"" + }, + { + "question": "What is the party for the incumbent Wyche Fowler?", + "context": "create table table_1341598_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341598_11 where incumbent = \"wyche fowler\"" + }, + { + "question": "How many different set of candidates were there when the incumbent was david e. finley?", + "context": "create table table_1346137_4 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1346137_4 where incumbent = \"david e. finley\"" + }, + { + "question": "If Villa Rivero Municipality if 7, what is the language?", + "context": "create table table_2509112_3 (language varchar, villa_rivero_municipality varchar, PRIMARY KEY (language))", + "answer": "select language from table_2509112_3 where villa_rivero_municipality = 7" + }, + { + "question": "When \u4e03\u8272\u30a2\u30fc\u30c1 is the japanese title what is the japanese translation?", + "context": "create table table_2144389_9 (japanese_translation varchar, japanese_title varchar, PRIMARY KEY (japanese_translation))", + "answer": "select japanese_translation from table_2144389_9 where japanese_title = \"\u4e03\u8272\u30a2\u30fc\u30c1\"" + }, + { + "question": "What are the transit connections from Pioneer Square U?", + "context": "create table table_22771048_2 (transit_connections varchar, station varchar, PRIMARY KEY (transit_connections))", + "answer": "select transit_connections from table_22771048_2 where station = \"pioneer square u\"" + }, + { + "question": "Name the total number of year to april for ebit being 24.5", + "context": "create table table_18304259_1 (year_to_april varchar, ebit__\u00a3m_ varchar, PRIMARY KEY (year_to_april))", + "answer": "select count(year_to_april) from table_18304259_1 where ebit__\u00a3m_ = \"24.5\"" + }, + { + "question": "what is the total rank on airdate march 30, 2011?", + "context": "create table table_27987623_4 (rank_timeslot_ varchar, airdate varchar, PRIMARY KEY (rank_timeslot_))", + "answer": "select count(rank_timeslot_) from table_27987623_4 where airdate = \"march 30, 2011\"" + }, + { + "question": "What was the year for the film \"Vitus\"?", + "context": "create table table_22034853_1 (year__ceremony_ varchar, original_title varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_22034853_1 where original_title = \"vitus\"" + }, + { + "question": "How many current account balances are associated with GDP at constant prices growth rates of 4.6?", + "context": "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_))", + "answer": "select count(current_account_balance__percent_of_gdp_) from table_30133_1 where gdp_at_constant_prices_growth_rate__percent_change_ = \"4.6\"" + }, + { + "question": "How many devices are there?", + "context": "create table device (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from device" + }, + { + "question": "What is the product ID of the most frequently ordered item on invoices?", + "context": "create table invoices (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select product_id from invoices group by product_id order by count(*) desc limit 1" + }, + { + "question": "What is the series episode where Segment B is popcorn ?", + "context": "create table table_15187735_12 (series_ep varchar, segment_b varchar, PRIMARY KEY (series_ep))", + "answer": "select series_ep from table_15187735_12 where segment_b = \"popcorn\"" + }, + { + "question": "Who was Andrew and Georgies guest when Jamie and Johns guest was Jessica Ennis?", + "context": "create table table_29141354_2 (andrew_and_georgies_guest varchar, jamie_and_johns_guest varchar, PRIMARY KEY (andrew_and_georgies_guest))", + "answer": "select andrew_and_georgies_guest from table_29141354_2 where jamie_and_johns_guest = \"jessica ennis\"" + }, + { + "question": "How many different status codes of things are there?", + "context": "create table timed_status_of_things (status_of_thing_code varchar, PRIMARY KEY (status_of_thing_code))", + "answer": "select count(distinct status_of_thing_code) from timed_status_of_things" + }, + { + "question": "Who directed the episode that was watched by 6.62 million U.S. viewers?", + "context": "create table table_22181917_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_22181917_2 where us_viewers__millions_ = \"6.62\"" + }, + { + "question": "Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12", + "context": "create table table_16423070_4 (volleyball varchar, school_year varchar, basketball varchar, swimming varchar, PRIMARY KEY (volleyball))", + "answer": "select volleyball from table_16423070_4 where basketball = \"west holmes\" and swimming = \"wooster\" and school_year = \"2011-12\"" + }, + { + "question": "Name the high assists for yi jianlian , brook lopez (7)", + "context": "create table table_17322817_6 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_17322817_6 where high_rebounds = \"yi jianlian , brook lopez (7)\"" + }, + { + "question": "How many types of settlement if Neradin?", + "context": "create table table_2562572_50 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select count(type) from table_2562572_50 where settlement = \"neradin\"" + }, + { + "question": "list the spokespersons where voting order is 9", + "context": "create table table_184803_4 (spokespersons varchar, voting_order varchar, PRIMARY KEY (spokespersons))", + "answer": "select spokespersons from table_184803_4 where voting_order = 9" + }, + { + "question": "what is the dadar xi b where the good shepherd is sea liner fc?", + "context": "create table table_28759261_5 (dadar_xi_\u2018b\u2019 varchar, good_shepherd varchar, PRIMARY KEY (dadar_xi_\u2018b\u2019))", + "answer": "select dadar_xi_\u2018b\u2019 from table_28759261_5 where good_shepherd = \"sea liner fc\"" + }, + { + "question": "How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?", + "context": "create table table_22050544_3 (elapsed_time varchar, event varchar, PRIMARY KEY (elapsed_time))", + "answer": "select count(elapsed_time) from table_22050544_3 where event = \"$16.50 fixed-limit badugi\"" + }, + { + "question": "Name the number of top 10s for scoring rank of 9", + "context": "create table table_18198579_6 (top_10s varchar, scoring_rank varchar, PRIMARY KEY (top_10s))", + "answer": "select count(top_10s) from table_18198579_6 where scoring_rank = \"9\"" + }, + { + "question": "What episode was directed by David Duchovny?", + "context": "create table table_13336122_7 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_13336122_7 where directed_by = \"david duchovny\"" + }, + { + "question": "what is the minimum\u00a0rockhampton", + "context": "create table table_12570207_1 (rockhampton integer, PRIMARY KEY (rockhampton))", + "answer": "select min(rockhampton) from table_12570207_1" + }, + { + "question": "What is the figure for December 27 for ang tanging ina mo (last na 'to!)?", + "context": "create table table_29217650_1 (december_27 varchar, movies varchar, PRIMARY KEY (december_27))", + "answer": "select december_27 from table_29217650_1 where movies = \"ang tanging ina mo (last na 'to!)\"" + }, + { + "question": "Name the metrical equivalence for linha", + "context": "create table table_26538461_2 (metrical_equivalence varchar, portuguese_name varchar, PRIMARY KEY (metrical_equivalence))", + "answer": "select metrical_equivalence from table_26538461_2 where portuguese_name = \"linha\"" + }, + { + "question": "what are the film names with the co-singer vinod rathod?", + "context": "create table table_11827596_2 (film_name varchar, co_singer varchar, PRIMARY KEY (film_name))", + "answer": "select film_name from table_11827596_2 where co_singer = \"vinod rathod\"" + }, + { + "question": "What are the different cities listed?", + "context": "create table manufacturers (headquarter varchar, PRIMARY KEY (headquarter))", + "answer": "select distinct headquarter from manufacturers" + }, + { + "question": "How many flights do we have?", + "context": "create table flights (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from flights" + }, + { + "question": "Name the team for record 3-2", + "context": "create table table_22654073_6 (team varchar, record varchar, PRIMARY KEY (team))", + "answer": "select team from table_22654073_6 where record = \"3-2\"" + }, + { + "question": "Name the fastest lap for piquet sports and silverstone", + "context": "create table table_25322130_3 (fastest_lap varchar, winning_team varchar, circuit varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_25322130_3 where winning_team = \"piquet sports\" and circuit = \"silverstone\"" + }, + { + "question": "Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2?", + "context": "create table table_19398910_4 (bout_1 varchar, bout_5 varchar, PRIMARY KEY (bout_1))", + "answer": "select bout_1 from table_19398910_4 where bout_5 = \"andreev ( rus ) w 5-2\"" + }, + { + "question": "What is the gender of the student Linda Smith?", + "context": "create table student (sex varchar, fname varchar, lname varchar, PRIMARY KEY (sex))", + "answer": "select sex from student where fname = \"linda\" and lname = \"smith\"" + }, + { + "question": "What were the former schools of the player from East Brunswick, NJ?", + "context": "create table table_25177625_1 (former_school varchar, hometown varchar, PRIMARY KEY (former_school))", + "answer": "select former_school from table_25177625_1 where hometown = \"east brunswick, nj\"" + }, + { + "question": "How many people had the high assists @ minnesota?", + "context": "create table table_13619135_7 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select count(high_assists) from table_13619135_7 where team = \"@ minnesota\"" + }, + { + "question": "How many hometowns are there when Charis Prep was the previous school?", + "context": "create table table_29970488_2 (hometown varchar, previous_school varchar, PRIMARY KEY (hometown))", + "answer": "select count(hometown) from table_29970488_2 where previous_school = \"charis prep\"" + }, + { + "question": "How many film are there?", + "context": "create table film (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from film" + }, + { + "question": "What is the result for salmonella spp. if you use citrate?", + "context": "create table table_16083989_1 (citrate varchar, species varchar, PRIMARY KEY (citrate))", + "answer": "select count(citrate) from table_16083989_1 where species = \"salmonella spp.\"" + }, + { + "question": "What party was Kevin Brady?", + "context": "create table table_1341395_44 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341395_44 where incumbent = \"kevin brady\"" + }, + { + "question": "What episode number in the season had 1.05 million U.S. viewers?", + "context": "create table table_26136228_3 (episode_no integer, us_viewers__millions_ varchar, PRIMARY KEY (episode_no))", + "answer": "select max(episode_no) from table_26136228_3 where us_viewers__millions_ = \"1.05\"" + }, + { + "question": "What is the nickname of the newberry college?", + "context": "create table table_11658094_3 (nickname varchar, institution varchar, PRIMARY KEY (nickname))", + "answer": "select nickname from table_11658094_3 where institution = \"newberry college\"" + }, + { + "question": "What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki", + "context": "create table table_29039942_1 (original_airdate varchar, writer varchar, director varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_29039942_1 where writer = \"daisuke habara\" and director = \"akimitsu sasaki\"" + }, + { + "question": "what's the\u00a0byu-uu score\u00a0with\u00a0uu-usu score\u00a0being 44\u201316", + "context": "create table table_13665809_2 (byu_uu_score varchar, uu_usu_score varchar, PRIMARY KEY (byu_uu_score))", + "answer": "select byu_uu_score from table_13665809_2 where uu_usu_score = \"44\u201316\"" + }, + { + "question": "What is the green house made of?", + "context": "create table table_11464746_1 (composition varchar, colours varchar, PRIMARY KEY (composition))", + "answer": "select composition from table_11464746_1 where colours = \"green\"" + }, + { + "question": "how many callings of trains arriving at 09.06", + "context": "create table table_18333678_2 (calling_at varchar, arrival varchar, PRIMARY KEY (calling_at))", + "answer": "select count(calling_at) from table_18333678_2 where arrival = \"09.06\"" + }, + { + "question": "When 60,254 (58.0) is the toll poll percentage what is the for percentage?", + "context": "create table table_20683381_3 (for___percentage_ varchar, total_poll___percentage_ varchar, PRIMARY KEY (for___percentage_))", + "answer": "select for___percentage_ from table_20683381_3 where total_poll___percentage_ = \"60,254 (58.0)\"" + }, + { + "question": "What is the date in which a politician who left office on 1840-10-11 for a politician whose election number was 11?", + "context": "create table table_26362472_1 (left_office varchar, election_number varchar, PRIMARY KEY (left_office))", + "answer": "select left_office from table_26362472_1 where election_number = 11" + }, + { + "question": "What was the maximum fab (nm)?", + "context": "create table table_26860595_2 (fab___nm__ integer, PRIMARY KEY (fab___nm__))", + "answer": "select max(fab___nm__) from table_26860595_2" + }, + { + "question": "How many economy stats for the player with 2/19 BBI?", + "context": "create table table_28846752_13 (economy varchar, bbi varchar, PRIMARY KEY (economy))", + "answer": "select count(economy) from table_28846752_13 where bbi = \"2/19\"" + }, + { + "question": "what is the Chinese name for Forensic heroes ii?", + "context": "create table table_11926114_1 (chinese_title varchar, english_title varchar, PRIMARY KEY (chinese_title))", + "answer": "select chinese_title from table_11926114_1 where english_title = \"forensic heroes ii\"" + }, + { + "question": "How many 180s have legs won of 45?", + "context": "create table table_20948329_1 (legs_won varchar, PRIMARY KEY (legs_won))", + "answer": "select count(*) from table_20948329_1 where legs_won = 45" + }, + { + "question": "What is the order number for the theme of Mariah Carey?", + "context": "create table table_15796100_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_15796100_1 where theme = \"mariah carey\"" + }, + { + "question": "how much sesamin is in sesame seed?", + "context": "create table table_1831262_2 (sesamin varchar, foodstuff varchar, PRIMARY KEY (sesamin))", + "answer": "select sesamin from table_1831262_2 where foodstuff = \"sesame seed\"" + }, + { + "question": "List the nations that have more than two ships.", + "context": "create table ship (nationality varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from ship group by nationality having count(*) > 2" + }, + { + "question": "List the description of all aircrafts.", + "context": "create table aircraft (description varchar, PRIMARY KEY (description))", + "answer": "select description from aircraft" + }, + { + "question": "How many second place showings does snooker have?", + "context": "create table table_20823568_2 (second_place_s_ varchar, sporting_profession varchar, PRIMARY KEY (second_place_s_))", + "answer": "select second_place_s_ from table_20823568_2 where sporting_profession = \"snooker\"" + }, + { + "question": "Name the least internal transfers", + "context": "create table table_17650725_1 (internal_transfers integer, PRIMARY KEY (internal_transfers))", + "answer": "select min(internal_transfers) from table_17650725_1" + }, + { + "question": "Show the names and ids of tourist attractions that are visited at most once.", + "context": "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))", + "answer": "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" + }, + { + "question": "What RolePlay actor played the same role Alison Pargeter played in the original production?", + "context": "create table table_17827271_1 (roleplay varchar, actor_in_original_production varchar, PRIMARY KEY (roleplay))", + "answer": "select roleplay from table_17827271_1 where actor_in_original_production = \"alison pargeter\"" + }, + { + "question": "Name the artist for 7 points", + "context": "create table table_21378339_5 (artist varchar, televote_points varchar, PRIMARY KEY (artist))", + "answer": "select count(artist) from table_21378339_5 where televote_points = 7" + }, + { + "question": "Name the probably futures for \u0917\u0930\u0947\u0938\u094d gares 'may you do'", + "context": "create table table_16337329_5 (probable_future varchar, imperative varchar, PRIMARY KEY (probable_future))", + "answer": "select probable_future from table_16337329_5 where imperative = \"\u0917\u0930\u0947\u0938\u094d gares 'may you do'\"" + }, + { + "question": "Louisville International Airport had how many tonnes of cargo in 2011?", + "context": "create table table_18047346_5 (tonnes varchar, airport_name varchar, PRIMARY KEY (tonnes))", + "answer": "select tonnes from table_18047346_5 where airport_name = \"louisville international airport\"" + }, + { + "question": "Who sponsors owner Bobby Dotter's team?", + "context": "create table table_19908313_2 (primary_sponsor_s_ varchar, listed_owner_s_ varchar, PRIMARY KEY (primary_sponsor_s_))", + "answer": "select primary_sponsor_s_ from table_19908313_2 where listed_owner_s_ = \"bobby dotter\"" + }, + { + "question": "Find the name of all the cities and states.", + "context": "create table addresses (town_city varchar, state_province_county varchar, PRIMARY KEY (town_city))", + "answer": "select town_city from addresses union select state_province_county from addresses" + }, + { + "question": "Show all payment method codes and the number of orders for each code.", + "context": "create table invoices (payment_method_code varchar, PRIMARY KEY (payment_method_code))", + "answer": "select payment_method_code, count(*) from invoices group by payment_method_code" + }, + { + "question": "how many number of english when kunrei-shiki is otya", + "context": "create table table_26263954_1 (english varchar, kunrei_shiki varchar, PRIMARY KEY (english))", + "answer": "select count(english) from table_26263954_1 where kunrei_shiki = \"otya\"" + }, + { + "question": "Name the dominant religion of srpska crnja", + "context": "create table table_2562572_37 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_37 where settlement = \"srpska crnja\"" + }, + { + "question": "How many languages are in these films?", + "context": "create table film (language_id varchar, PRIMARY KEY (language_id))", + "answer": "select count(distinct language_id) from film" + }, + { + "question": "What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there.", + "context": "create table perpetrator (country varchar, PRIMARY KEY (country))", + "answer": "select country, count(*) from perpetrator group by country" + }, + { + "question": "Show all product names and the total quantity ordered for each product name.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table order_items (product_quantity integer, product_id varchar, PRIMARY KEY (product_quantity))", + "answer": "select t2.product_name, sum(t1.product_quantity) from order_items as t1 join products as t2 on t1.product_id = t2.product_id group by t2.product_name" + }, + { + "question": "How many values of HDTV apply when television service is elite shopping tv?", + "context": "create table table_15887683_16 (hdtv varchar, television_service varchar, PRIMARY KEY (hdtv))", + "answer": "select count(hdtv) from table_15887683_16 where television_service = \"elite shopping tv\"" + }, + { + "question": "What party did incumbent Wright Patman belong to?", + "context": "create table table_1342149_43 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1342149_43 where incumbent = \"wright patman\"" + }, + { + "question": "Who were the champions in years where michigan technological university was in third place?", + "context": "create table table_2331549_1 (champion varchar, third_place varchar, PRIMARY KEY (champion))", + "answer": "select champion from table_2331549_1 where third_place = \"michigan technological university\"" + }, + { + "question": "What is 454 gs flx when pacbio is 100-500 mb?", + "context": "create table table_127511_1 (pacbio varchar, PRIMARY KEY (pacbio))", + "answer": "select 454 as _gs_flx from table_127511_1 where pacbio = \"100-500 mb\"" + }, + { + "question": "Name the feb 2010 for january 2010 for 6.2%", + "context": "create table table_25256368_1 (february_2010 varchar, january_2010 varchar, PRIMARY KEY (february_2010))", + "answer": "select february_2010 from table_25256368_1 where january_2010 = \"6.2%\"" + }, + { + "question": "When \u0432\u0443\u0445\u0430 (v\u00fakha) is the belarusian how many slovaks are there?", + "context": "create table table_26757_4 (slovak varchar, belarusian varchar, PRIMARY KEY (slovak))", + "answer": "select count(slovak) from table_26757_4 where belarusian = \"\u0432\u0443\u0445\u0430 (v\u00fakha)\"" + }, + { + "question": "Find the number of distinct type of pets.", + "context": "create table pets (pettype varchar, PRIMARY KEY (pettype))", + "answer": "select count(distinct pettype) from pets" + }, + { + "question": "How many aircrafts do we have?", + "context": "create table aircraft (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from aircraft" + }, + { + "question": "What's Blanco Encalada's main artillery?", + "context": "create table table_23614702_1 (main_artillery varchar, warship varchar, PRIMARY KEY (main_artillery))", + "answer": "select main_artillery from table_23614702_1 where warship = \"blanco encalada\"" + }, + { + "question": "Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).", + "context": "create table table_25597136_1 (focal_plane_in_ft__m_ varchar, tower_height_in_ft__m_ varchar, PRIMARY KEY (focal_plane_in_ft__m_))", + "answer": "select focal_plane_in_ft__m_ from table_25597136_1 where tower_height_in_ft__m_ = \"46ft (14.0m)\"" + }, + { + "question": "What is the airport with the IATA MEL?", + "context": "create table table_17419587_1 (airport varchar, iata varchar, PRIMARY KEY (airport))", + "answer": "select count(airport) from table_17419587_1 where iata = \"mel\"" + }, + { + "question": "If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?", + "context": "create table table_27133147_3 (date_of_vacancy varchar, manner_of_departure varchar, position_in_table varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_27133147_3 where manner_of_departure = \"resigned\" and position_in_table = \"10th\"" + }, + { + "question": "Who directed the episode that was written by Bill Lawrence?", + "context": "create table table_25547943_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25547943_1 where written_by = \"bill lawrence\"" + }, + { + "question": "find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.", + "context": "create table gas_station (location varchar, representative_name varchar, station_id varchar, PRIMARY KEY (location)); create table station_company (company_id varchar, station_id varchar, PRIMARY KEY (company_id)); create table company (company_id varchar, assets_billion varchar, PRIMARY KEY (company_id))", + "answer": "select t3.location, t3.representative_name from station_company as t1 join company as t2 on t1.company_id = t2.company_id join gas_station as t3 on t1.station_id = t3.station_id order by t2.assets_billion desc limit 3" + }, + { + "question": "When western michigan is the tournament winner how many conferences are there?", + "context": "create table table_24160890_3 (conference varchar, tournament_winner varchar, PRIMARY KEY (conference))", + "answer": "select count(conference) from table_24160890_3 where tournament_winner = \"western michigan\"" + }, + { + "question": "What are the code and description of the least frequent detention type ?", + "context": "create table ref_detention_type (detention_type_description varchar, detention_type_code varchar, PRIMARY KEY (detention_type_description)); create table detention (detention_type_code varchar, PRIMARY KEY (detention_type_code))", + "answer": "select t1.detention_type_code, t2.detention_type_description from detention as t1 join ref_detention_type as t2 on t1.detention_type_code = t2.detention_type_code group by t1.detention_type_code order by count(*) limit 1" + }, + { + "question": "Whats the song of name with an original artist Garth Brooks", + "context": "create table table_21501518_1 (song_choice varchar, original_artist varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_21501518_1 where original_artist = \"garth brooks\"" + }, + { + "question": "how many original air date where family/families is the ryder family and the schwartz family", + "context": "create table table_19897294_9 (original_air_date varchar, family_families varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_19897294_9 where family_families = \"the ryder family and the schwartz family\"" + }, + { + "question": "Name the real life for eventual outcome is amtrak", + "context": "create table table_243664_1 (real_life_eventual_outcome varchar, currently\u00b9_part_of varchar, PRIMARY KEY (real_life_eventual_outcome))", + "answer": "select real_life_eventual_outcome from table_243664_1 where currently\u00b9_part_of = \"amtrak\"" + }, + { + "question": "What's the singer part number of the buttonholer whose storage case is a green plastic box?", + "context": "create table table_28652521_1 (singer_part_number varchar, storage_case varchar, PRIMARY KEY (singer_part_number))", + "answer": "select singer_part_number from table_28652521_1 where storage_case = \"green plastic box\"" + }, + { + "question": "How many millions of U.S viewers are there when the director is andy wolk?", + "context": "create table table_29747178_2 (us_viewers__million_ varchar, directed_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_29747178_2 where directed_by = \"andy wolk\"" + }, + { + "question": "How many times does an occurance happen in June when it happens on NOvember 3, 1975?", + "context": "create table table_25235489_2 (june_10_11 varchar, november_3 varchar, PRIMARY KEY (june_10_11))", + "answer": "select count(june_10_11) from table_25235489_2 where november_3 = \"november_3, 1975\"" + }, + { + "question": "WHAT WAS HER SONG CHOICE WHEN THE WEEK WAS TOP 10?", + "context": "create table table_15778392_1 (song_choice varchar, week__number varchar, PRIMARY KEY (song_choice))", + "answer": "select song_choice from table_15778392_1 where week__number = \"top 10\"" + }, + { + "question": "If the parallel bars is 14.025, what is the total number of gymnasts?", + "context": "create table table_18662026_10 (gymnast varchar, parallel_bars varchar, PRIMARY KEY (gymnast))", + "answer": "select count(gymnast) from table_18662026_10 where parallel_bars = \"14.025\"" + }, + { + "question": "Show the name of the conductor that has conducted the most number of orchestras.", + "context": "create table orchestra (conductor_id varchar, PRIMARY KEY (conductor_id)); create table conductor (name varchar, conductor_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from conductor as t1 join orchestra as t2 on t1.conductor_id = t2.conductor_id group by t2.conductor_id order by count(*) desc limit 1" + }, + { + "question": "what was the name of the episode that got 3.3 (millions) of u.s viewers?", + "context": "create table table_21313327_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_21313327_1 where us_viewers__millions_ = \"3.3\"" + }, + { + "question": "What is the greatest number of Pakistanis admitted to Canada during those times when the number of Nepalis admitted was 627?", + "context": "create table table_1717824_3 (pakistanis_admitted integer, nepalis_admitted varchar, PRIMARY KEY (pakistanis_admitted))", + "answer": "select max(pakistanis_admitted) from table_1717824_3 where nepalis_admitted = 627" + }, + { + "question": "Find the name of the students and their department names sorted by their total credits in ascending order.", + "context": "create table student (name varchar, dept_name varchar, tot_cred varchar, PRIMARY KEY (name))", + "answer": "select name, dept_name from student order by tot_cred" + }, + { + "question": "How many distinct parties are there for representatives?", + "context": "create table representative (party varchar, PRIMARY KEY (party))", + "answer": "select count(distinct party) from representative" + }, + { + "question": "Who won the Modena circuit?", + "context": "create table table_1140116_5 (winning_driver varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1140116_5 where circuit = \"modena\"" + }, + { + "question": "What is the poor law union on Marshalstown?", + "context": "create table table_28802165_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_28802165_1 where townland = \"marshalstown\"" + }, + { + "question": "Who was supporting in the round when the gt winning car was dino crescentini?", + "context": "create table table_28490105_1 (supporting varchar, gt_winning_car varchar, PRIMARY KEY (supporting))", + "answer": "select supporting from table_28490105_1 where gt_winning_car = \"dino crescentini\"" + }, + { + "question": "What are the ids of the two department store chains with the largest number of department stores?", + "context": "create table department_stores (dept_store_chain_id varchar, PRIMARY KEY (dept_store_chain_id))", + "answer": "select dept_store_chain_id from department_stores group by dept_store_chain_id order by count(*) desc limit 2" + }, + { + "question": "How many different SEC Win counts does the team with an overall record of 30-4 have?", + "context": "create table table_22993636_2 (sec_wins varchar, overall_record varchar, PRIMARY KEY (sec_wins))", + "answer": "select count(sec_wins) from table_22993636_2 where overall_record = \"30-4\"" + }, + { + "question": "When momoiro clover z is the vocalist what is the japanese translation?", + "context": "create table table_2144389_9 (japanese_translation varchar, vocalist varchar, PRIMARY KEY (japanese_translation))", + "answer": "select japanese_translation from table_2144389_9 where vocalist = \"momoiro clover z\"" + }, + { + "question": "How many race 3 winners were there when Mitch Evans won race 2?", + "context": "create table table_22905641_2 (race_3_winner varchar, race_2_winner varchar, PRIMARY KEY (race_3_winner))", + "answer": "select count(race_3_winner) from table_22905641_2 where race_2_winner = \"mitch evans\"" + }, + { + "question": "Location for focal plane in ft (m) is naidi hills, basco.", + "context": "create table table_25597136_1 (focal_plane_in_ft__m_ varchar, location varchar, PRIMARY KEY (focal_plane_in_ft__m_))", + "answer": "select focal_plane_in_ft__m_ from table_25597136_1 where location = \"naidi hills, basco\"" + }, + { + "question": "Find the list of page size which have more than 3 product listed", + "context": "create table product (max_page_size varchar, PRIMARY KEY (max_page_size))", + "answer": "select max_page_size from product group by max_page_size having count(*) > 3" + }, + { + "question": "What is the pole position for the race with the fastest lap by Nelson Piquet and the constructor is Ferrari?", + "context": "create table table_1140076_2 (pole_position varchar, fastest_lap varchar, constructor varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1140076_2 where fastest_lap = \"nelson piquet\" and constructor = \"ferrari\"" + }, + { + "question": "what is the arabic capital name wher the english capital name is manama?", + "context": "create table table_15694696_1 (arabic_capital_name varchar, english_capital_name varchar, PRIMARY KEY (arabic_capital_name))", + "answer": "select arabic_capital_name from table_15694696_1 where english_capital_name = \"manama\"" + }, + { + "question": "What is every conflict in Iraq?", + "context": "create table table_1921_1 (conflict varchar, location varchar, PRIMARY KEY (conflict))", + "answer": "select conflict from table_1921_1 where location = \"iraq\"" + }, + { + "question": "Name the votes given for michael russo, genevy dimitrion , manny ortega", + "context": "create table table_1855841_1 (votes_given varchar, running_with__in_team_ varchar, PRIMARY KEY (votes_given))", + "answer": "select votes_given from table_1855841_1 where running_with__in_team_ = \"michael russo, genevy dimitrion , manny ortega\"" + }, + { + "question": "How many times has Sun Jin won the women's doubles?", + "context": "create table table_28138035_33 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select count(mens_doubles) from table_28138035_33 where womens_singles = \"sun jin\"" + }, + { + "question": "How many times was there a class A winner when Gregory-Portland was the class AAAA?", + "context": "create table table_14603057_2 (class_a varchar, class_aaaa varchar, gregory varchar, portland varchar, PRIMARY KEY (class_a))", + "answer": "select count(class_a) from table_14603057_2 where class_aaaa = gregory - portland" + }, + { + "question": "What's the name of the team who had a Honda motorcycle?", + "context": "create table table_20016339_1 (team varchar, motorcycle varchar, PRIMARY KEY (team))", + "answer": "select team from table_20016339_1 where motorcycle = \"honda\"" + }, + { + "question": "Which store owns most items?", + "context": "create table inventory (store_id varchar, PRIMARY KEY (store_id))", + "answer": "select store_id from inventory group by store_id order by count(*) desc limit 1" + }, + { + "question": "Who is the percussionist for The Coral?", + "context": "create table table_28715942_6 (vocal_percussionist varchar, original_artist varchar, PRIMARY KEY (vocal_percussionist))", + "answer": "select vocal_percussionist from table_28715942_6 where original_artist = \"the coral\"" + }, + { + "question": "How many houses are green?", + "context": "create table table_11464746_1 (house_name varchar, colours varchar, PRIMARY KEY (house_name))", + "answer": "select count(house_name) from table_11464746_1 where colours = \"green\"" + }, + { + "question": "What are all the locations with a cinema?", + "context": "create table cinema (location varchar, PRIMARY KEY (location))", + "answer": "select distinct location from cinema" + }, + { + "question": "What are the changes (2010 to 2011) where the International Tourist Arrivals is 1.7 million?", + "context": "create table table_14752049_2 (change__2010_to_2011_ varchar, international_tourist_arrivals__2011_ varchar, PRIMARY KEY (change__2010_to_2011_))", + "answer": "select change__2010_to_2011_ from table_14752049_2 where international_tourist_arrivals__2011_ = \"1.7 million\"" + }, + { + "question": "Name the race caller for jim mckay and howard cosell", + "context": "create table table_22514845_5 (race_caller varchar, s_host varchar, reporters varchar, PRIMARY KEY (race_caller))", + "answer": "select race_caller from table_22514845_5 where s_host = \"jim mckay\" and reporters = \"howard cosell\"" + }, + { + "question": "What are all the title directed by reginald hudlin", + "context": "create table table_21994729_3 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_21994729_3 where directed_by = \"reginald hudlin\"" + }, + { + "question": "Name the naming for fluent and poor comprehension", + "context": "create table table_2088_1 (naming varchar, fluency varchar, auditory_comprehension varchar, PRIMARY KEY (naming))", + "answer": "select naming from table_2088_1 where fluency = \"fluent\" and auditory_comprehension = \"poor\"" + }, + { + "question": "What place did the Sake Tuyas come in when the Denim Demons were 4th?", + "context": "create table table_29619494_2 (sake_tuyas varchar, denim_demons varchar, PRIMARY KEY (sake_tuyas))", + "answer": "select sake_tuyas from table_29619494_2 where denim_demons = \"4th\"" + }, + { + "question": "List the names of all distinct nurses ordered by alphabetical order?", + "context": "create table nurse (name varchar, PRIMARY KEY (name))", + "answer": "select distinct name from nurse order by name" + }, + { + "question": "Where is the service pattern sydenham then fast to norwood junction?", + "context": "create table table_1569516_1 (destination varchar, service_pattern varchar, PRIMARY KEY (destination))", + "answer": "select destination from table_1569516_1 where service_pattern = \"sydenham then fast to norwood junction\"" + }, + { + "question": "What is the name of the speaker if the chief minister is M.G. Ramachandran?", + "context": "create table table_23512864_4 (speaker varchar, chief_minister varchar, PRIMARY KEY (speaker))", + "answer": "select speaker from table_23512864_4 where chief_minister = \"m.g. ramachandran\"" + }, + { + "question": "What is listed in p when the type is listed as free agent 1?", + "context": "create table table_17634290_7 (p varchar, type varchar, PRIMARY KEY (p))", + "answer": "select p from table_17634290_7 where type = \"free agent 1\"" + }, + { + "question": "Which country has at most 3 stadiums listed?", + "context": "create table stadium (country varchar, PRIMARY KEY (country))", + "answer": "select country from stadium group by country having count(*) <= 3" + }, + { + "question": "Find the name of amenities of the dorm where the student with last name Smith is living in.", + "context": "create table student (stuid varchar, lname varchar, PRIMARY KEY (stuid)); create table dorm (dormid varchar, PRIMARY KEY (dormid)); create table lives_in (dormid varchar, stuid varchar, PRIMARY KEY (dormid)); create table has_amenity (dormid varchar, amenid varchar, PRIMARY KEY (dormid)); create table dorm_amenity (amenity_name varchar, amenid varchar, PRIMARY KEY (amenity_name))", + "answer": "select t3.amenity_name from dorm as t1 join has_amenity as t2 on t1.dormid = t2.dormid join dorm_amenity as t3 on t2.amenid = t3.amenid join lives_in as t4 on t4.dormid = t1.dormid join student as t5 on t5.stuid = t4.stuid where t5.lname = 'smith'" + }, + { + "question": "What is the population for the place with an area of 2.33 km2?", + "context": "create table table_2588674_1 (population__2000_census__ integer, area_km\u00b2 varchar, PRIMARY KEY (population__2000_census__))", + "answer": "select max(population__2000_census__) from table_2588674_1 where area_km\u00b2 = \"2.33\"" + }, + { + "question": "What was the passing result for the measure with 61307 no votes?", + "context": "create table table_256286_19 (passed varchar, no_votes varchar, PRIMARY KEY (passed))", + "answer": "select passed from table_256286_19 where no_votes = 61307" + }, + { + "question": "What is the propulsion when the vessel is marianarray?", + "context": "create table table_28132970_5 (propulsion varchar, vessel varchar, PRIMARY KEY (propulsion))", + "answer": "select propulsion from table_28132970_5 where vessel = \"marianarray\"" + }, + { + "question": "how many callsigns are for the branding telemundo 47", + "context": "create table table_1979203_1 (callsign varchar, branding varchar, PRIMARY KEY (callsign))", + "answer": "select count(callsign) from table_1979203_1 where branding = \"telemundo 47\"" + }, + { + "question": "What was the original air date of the episode written by Michelle Offen?", + "context": "create table table_19517621_4 (original_airdate varchar, written_by varchar, PRIMARY KEY (original_airdate))", + "answer": "select original_airdate from table_19517621_4 where written_by = \"michelle offen\"" + }, + { + "question": "Who directed the episode written by Jason Yoshimura?", + "context": "create table table_2345558_1 (director varchar, writer_s_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_2345558_1 where writer_s_ = \"jason yoshimura\"" + }, + { + "question": "Who was the successor for the new seat?", + "context": "create table table_2147588_3 (successor varchar, vacator varchar, PRIMARY KEY (successor))", + "answer": "select successor from table_2147588_3 where vacator = \"new seat\"" + }, + { + "question": "What is the prize money for Virginia?", + "context": "create table table_11622496_1 (location varchar, PRIMARY KEY (location))", + "answer": "select 1 as st_prize__$__ from table_11622496_1 where location = \"virginia\"" + }, + { + "question": "How many sports do we have?", + "context": "create table sportsinfo (sportname varchar, PRIMARY KEY (sportname))", + "answer": "select count(distinct sportname) from sportsinfo" + }, + { + "question": "Name the number of class aa for bridgeport and 1999-2000", + "context": "create table table_14601528_2 (class_aa varchar, class_aaa varchar, bridgeport varchar, school_year varchar, PRIMARY KEY (class_aa))", + "answer": "select count(class_aa) from table_14601528_2 where class_aaa = bridgeport and school_year = \"1999-2000\"" + }, + { + "question": "What brakes for the 4-speed automatic gearbox?", + "context": "create table table_250230_2 (brakes varchar, gearbox varchar, PRIMARY KEY (brakes))", + "answer": "select brakes from table_250230_2 where gearbox = \"4-speed automatic\"" + }, + { + "question": "Give me a list of all spanish officer titles that could receive recognition as group captain in english", + "context": "create table table_1015521_2 (rank_in_english varchar, commonwealth_equivalent varchar, PRIMARY KEY (rank_in_english))", + "answer": "select rank_in_english from table_1015521_2 where commonwealth_equivalent = \"group captain\"" + }, + { + "question": "How many parties does william b. cravens represent?", + "context": "create table table_1342292_4 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1342292_4 where incumbent = \"william b. cravens\"" + }, + { + "question": "What was the urban settlement when the city / municipality was kovin?", + "context": "create table table_2562572_7 (urban_settlement varchar, city___municipality varchar, PRIMARY KEY (urban_settlement))", + "answer": "select urban_settlement from table_2562572_7 where city___municipality = \"kovin\"" + }, + { + "question": "What was the department that got $626,798 in local investments?", + "context": "create table table_17118006_2 (department varchar, local_investment__us$_ varchar, PRIMARY KEY (department))", + "answer": "select department from table_17118006_2 where local_investment__us$_ = \"626,798\"" + }, + { + "question": "What is the prize pool if the entries is 1,132?", + "context": "create table table_2534387_11 (prize varchar, entries varchar, PRIMARY KEY (prize))", + "answer": "select prize as pool from table_2534387_11 where entries = \"1,132\"" + }, + { + "question": "List document type codes and the number of documents in each code.", + "context": "create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code, count(*) from documents group by document_type_code" + }, + { + "question": "What day was kibawe created?", + "context": "create table table_261222_1 (date_of_creation varchar, city___municipality varchar, PRIMARY KEY (date_of_creation))", + "answer": "select date_of_creation from table_261222_1 where city___municipality = \"kibawe\"" + }, + { + "question": "What is every media type for the Psychedelic Trance genre?", + "context": "create table table_23829490_1 (media_type varchar, genre varchar, PRIMARY KEY (media_type))", + "answer": "select media_type from table_23829490_1 where genre = \"psychedelic trance\"" + }, + { + "question": "How many women from Uruguay has become third runner-up in this pageant?", + "context": "create table table_29942205_1 (country_territory varchar, PRIMARY KEY (country_territory))", + "answer": "select count(*) from table_29942205_1 where country_territory = \"uruguay\"" + }, + { + "question": "What is the name of the claim processing stage that most of the claims are on?", + "context": "create table claims_processing (claim_stage_id varchar, PRIMARY KEY (claim_stage_id)); create table claims_processing_stages (claim_status_name varchar, claim_stage_id varchar, PRIMARY KEY (claim_status_name))", + "answer": "select t2.claim_status_name from claims_processing as t1 join claims_processing_stages as t2 on t1.claim_stage_id = t2.claim_stage_id group by t1.claim_stage_id order by count(*) desc limit 1" + }, + { + "question": "What is the rev of the 2003-2004 Mustang Cobra?", + "context": "create table table_1310499_1 (rev varchar, application varchar, PRIMARY KEY (rev))", + "answer": "select rev from table_1310499_1 where application = \"2003-2004 mustang cobra\"" + }, + { + "question": "Name the 26 august 2005 asian record", + "context": "create table table_24011830_2 (world_record varchar, PRIMARY KEY (world_record))", + "answer": "select 26 as _august_2005 from table_24011830_2 where world_record = \"asian record\"" + }, + { + "question": "What are all the run times with 8.2 million viewers?", + "context": "create table table_1429629_1 (run_time varchar, viewers__in_millions_ varchar, PRIMARY KEY (run_time))", + "answer": "select run_time from table_1429629_1 where viewers__in_millions_ = \"8.2\"" + }, + { + "question": "Name the total number of opponent of record 9-2", + "context": "create table table_17186229_4 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select count(opponent) from table_17186229_4 where record = \"9-2\"" + }, + { + "question": "How many vacancies happened on 25 May?", + "context": "create table table_17327458_1 (manner_of_departure varchar, date_of_vacancy varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select count(manner_of_departure) from table_17327458_1 where date_of_vacancy = \"25 may\"" + }, + { + "question": "Name the parishes for beira baixa province", + "context": "create table table_221375_1 (parishes varchar, province_of_1936 varchar, PRIMARY KEY (parishes))", + "answer": "select count(parishes) from table_221375_1 where province_of_1936 = \"beira baixa province\"" + }, + { + "question": "What was the team's record when they played at Rheinenergiestadion?", + "context": "create table table_24989925_2 (team_record varchar, game_site varchar, PRIMARY KEY (team_record))", + "answer": "select team_record from table_24989925_2 where game_site = \"rheinenergiestadion\"" + }, + { + "question": "How many players has the highest points in the game against the Heat?", + "context": "create table table_23285849_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select count(high_points) from table_23285849_6 where team = \"heat\"" + }, + { + "question": "How many records show Utah as the opponent?", + "context": "create table table_22815265_1 (record varchar, opponent varchar, PRIMARY KEY (record))", + "answer": "select count(record) from table_22815265_1 where opponent = \"utah\"" + }, + { + "question": "Name the lunar landing site for 19 november 1969", + "context": "create table table_1558077_8 (lunar_landing_site varchar, lunar_landing_date varchar, PRIMARY KEY (lunar_landing_site))", + "answer": "select lunar_landing_site from table_1558077_8 where lunar_landing_date = \"19 november 1969\"" + }, + { + "question": "Name the republican steve sauerberg where dates administered september 15-september 18, 2008", + "context": "create table table_16751596_2 (republican varchar, dates_administered varchar, PRIMARY KEY (republican))", + "answer": "select republican from table_16751596_2 where dates_administered = \"september 15-september 18, 2008\"" + }, + { + "question": "When chris barnes is on team usa how many europe teams are there?", + "context": "create table table_19072602_3 (team_europe varchar, team_usa varchar, PRIMARY KEY (team_europe))", + "answer": "select count(team_europe) from table_19072602_3 where team_usa = \"chris barnes\"" + }, + { + "question": "What are the racing teams for which the average finish is 23.3?", + "context": "create table table_2190919_1 (team_s_ varchar, avg_finish varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2190919_1 where avg_finish = \"23.3\"" + }, + { + "question": "What are the names of the stations which serve both \"Ananthapuri Express\" and \"Guruvayur Express\" trains?", + "context": "create table station (name varchar, station_id varchar, PRIMARY KEY (name)); create table train (train_id varchar, name varchar, PRIMARY KEY (train_id)); create table train_station (station_id varchar, train_id varchar, PRIMARY KEY (station_id))", + "answer": "select t2.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id join train as t3 on t3.train_id = t1.train_id where t3.name = \"ananthapuri express\" intersect select t2.name from train_station as t1 join station as t2 on t1.station_id = t2.station_id join train as t3 on t3.train_id = t1.train_id where t3.name = \"guruvayur express\"" + }, + { + "question": "Who played in the semi finals matches at the Buick WCT finals?", + "context": "create table table_2413292_1 (semifinal_matches varchar, commercial_name varchar, PRIMARY KEY (semifinal_matches))", + "answer": "select semifinal_matches from table_2413292_1 where commercial_name = \"buick wct finals\"" + }, + { + "question": "What race number had sail number AUS 98888?", + "context": "create table table_20854943_2 (race_number varchar, sail_number varchar, PRIMARY KEY (race_number))", + "answer": "select race_number from table_20854943_2 where sail_number = \"aus 98888\"" + }, + { + "question": "How many states had a population density of 10188.8?", + "context": "create table table_22916979_1 (state varchar, population_density__people_per_mi_2__ varchar, PRIMARY KEY (state))", + "answer": "select count(state) from table_22916979_1 where population_density__people_per_mi_2__ = \"10188.8\"" + }, + { + "question": "What is the colors for the nickname engineers?", + "context": "create table table_261927_1 (colors varchar, nickname varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_261927_1 where nickname = \"engineers\"" + }, + { + "question": "Name the population density people where population % eu for 1.7%", + "context": "create table table_1606824_1 (pop_density_people_km_2 varchar, population__percentage_of_eu varchar, PRIMARY KEY (pop_density_people_km_2))", + "answer": "select count(pop_density_people_km_2) from table_1606824_1 where population__percentage_of_eu = \"1.7%\"" + }, + { + "question": "When bbc two is the new channel what is the date of return?", + "context": "create table table_19114172_11 (date_of_return varchar, new_channel_s_ varchar, PRIMARY KEY (date_of_return))", + "answer": "select date_of_return from table_19114172_11 where new_channel_s_ = \"bbc two\"" + }, + { + "question": "When did the episode directed by David Duchovny originally air?", + "context": "create table table_13336122_3 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_13336122_3 where directed_by = \"david duchovny\"" + }, + { + "question": "Who is the player for south carolina college?", + "context": "create table table_20871703_1 (player_name varchar, college varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_20871703_1 where college = \"south carolina\"" + }, + { + "question": "What is the arrangement for bets3ab 3alia nafsy?", + "context": "create table table_28005100_1 (arrangement varchar, title varchar, PRIMARY KEY (arrangement))", + "answer": "select arrangement from table_28005100_1 where title = \"bets3ab 3alia nafsy\"" + }, + { + "question": "Find the the name of the customers who have a loan with amount more than 3000.", + "context": "create table customer (cust_name varchar, cust_id varchar, PRIMARY KEY (cust_name)); create table loan (cust_id varchar, PRIMARY KEY (cust_id))", + "answer": "select t1.cust_name from customer as t1 join loan as t2 on t1.cust_id = t2.cust_id where amount > 3000" + }, + { + "question": "what is the last performance of leon varkas category:articles with hcards", + "context": "create table table_19189856_1 (last_performance varchar, performer varchar, PRIMARY KEY (last_performance))", + "answer": "select last_performance from table_19189856_1 where performer = \"leon varkas category:articles with hcards\"" + }, + { + "question": "What is the fewest number of 2005 subscribers for Vodafone?", + "context": "create table table_29395291_2 (subscribers__2005___thousands_ integer, provider varchar, PRIMARY KEY (subscribers__2005___thousands_))", + "answer": "select min(subscribers__2005___thousands_) from table_29395291_2 where provider = \"vodafone\"" + }, + { + "question": "Kaluvanchikudy is the main town in what DS division?", + "context": "create table table_12485020_1 (ds_division varchar, main_town varchar, PRIMARY KEY (ds_division))", + "answer": "select ds_division from table_12485020_1 where main_town = \"kaluvanchikudy\"" + }, + { + "question": "What edition of congress for member-elect richard p. giles?", + "context": "create table table_14158567_1 (congress varchar, member_elect varchar, PRIMARY KEY (congress))", + "answer": "select congress from table_14158567_1 where member_elect = \"richard p. giles\"" + }, + { + "question": "Name the total number for material collected for 978-1401221935", + "context": "create table table_19534677_1 (material_collected varchar, isbn varchar, PRIMARY KEY (material_collected))", + "answer": "select count(material_collected) from table_19534677_1 where isbn = \"978-1401221935\"" + }, + { + "question": "which countries were commentated on by gordana bonetti", + "context": "create table table_184803_4 (country varchar, commentator varchar, PRIMARY KEY (country))", + "answer": "select country from table_184803_4 where commentator = \"gordana bonetti\"" + }, + { + "question": "Name the location for chattahoochee technical college", + "context": "create table table_16734640_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_16734640_1 where institution = \"chattahoochee technical college\"" + }, + { + "question": "Show the people that have been governor the most times.", + "context": "create table party (governor varchar, PRIMARY KEY (governor))", + "answer": "select governor from party group by governor order by count(*) desc limit 1" + }, + { + "question": "In what number k\u014dhaku was the red team host Peggy Hayama?", + "context": "create table table_1315616_1 (k\u014dhaku__number varchar, red_team_host varchar, PRIMARY KEY (k\u014dhaku__number))", + "answer": "select k\u014dhaku__number from table_1315616_1 where red_team_host = \"peggy hayama\"" + }, + { + "question": "Name the number of teams for college/junior club for philadelphia flyers", + "context": "create table table_1473672_4 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select count(college_junior_club_team) from table_1473672_4 where nhl_team = \"philadelphia flyers\"" + }, + { + "question": "Find the emails of the user named \"Mary\".", + "context": "create table user_profiles (email varchar, name varchar, PRIMARY KEY (email))", + "answer": "select email from user_profiles where name = 'mary'" + }, + { + "question": "Who won the womens doubles when wu jianqui won the womens singles?", + "context": "create table table_12027364_1 (womens_doubles varchar, womens_singles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_12027364_1 where womens_singles = \"wu jianqui\"" + }, + { + "question": "Name the number of barangay for 205.4 density", + "context": "create table table_269888_1 (no_of_s_barangay varchar, pop_density__per_km\u00b2_ varchar, PRIMARY KEY (no_of_s_barangay))", + "answer": "select no_of_s_barangay from table_269888_1 where pop_density__per_km\u00b2_ = \"205.4\"" + }, + { + "question": "Which professionals have done at least two types of treatments? List the professional id and cell phone.", + "context": "create table professionals (professional_id varchar, cell_number varchar, PRIMARY KEY (professional_id)); create table treatments (professional_id varchar, PRIMARY KEY (professional_id))", + "answer": "select t1.professional_id, t1.cell_number from professionals as t1 join treatments as t2 on t1.professional_id = t2.professional_id group by t1.professional_id having count(*) >= 2" + }, + { + "question": "When was Jenny Gleason the champion of the Northeast Delta Dental International?", + "context": "create table table_15315276_1 (dates varchar, champion varchar, PRIMARY KEY (dates))", + "answer": "select dates from table_15315276_1 where champion = \"jenny gleason\"" + }, + { + "question": "When +20.3 is the \u00b1 yes side 2008 (%) what is the for percentage?", + "context": "create table table_20683381_3 (for___percentage_ varchar, \u00b1_yes_side_2008___percentage_ varchar, PRIMARY KEY (for___percentage_))", + "answer": "select for___percentage_ from table_20683381_3 where \u00b1_yes_side_2008___percentage_ = \"+20.3\"" + }, + { + "question": "What is the name of the episode that William M. Finkelstein wrote?", + "context": "create table table_25604014_8 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_25604014_8 where written_by = \"william m. finkelstein\"" + }, + { + "question": "Show the names of high school students and their corresponding number of friends.", + "context": "create table highschooler (name varchar, id varchar, PRIMARY KEY (name)); create table friend (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select t2.name, count(*) from friend as t1 join highschooler as t2 on t1.student_id = t2.id group by t1.student_id" + }, + { + "question": "What country uses the title Marele C\u00e2\u0219tig\u0103tor The Big Winner?", + "context": "create table table_20780285_1 (country_region varchar, title varchar, PRIMARY KEY (country_region))", + "answer": "select country_region from table_20780285_1 where title = \"marele c\u00e2\u0219tig\u0103tor the big winner\"" + }, + { + "question": "Name the least 4 car sets", + "context": "create table table_19255192_2 (id varchar, total_vehicles varchar, PRIMARY KEY (id))", + "answer": "select id from table_19255192_2 order by id 4 limit 4" + }, + { + "question": "List name of all tracks in Balls to the Wall.", + "context": "create table tracks (name varchar, genre_id varchar, PRIMARY KEY (name)); create table albums (id varchar, title varchar, PRIMARY KEY (id))", + "answer": "select t2.name from albums as t1 join tracks as t2 on t1.id = t2.genre_id where t1.title = \"balls to the wall\"" + }, + { + "question": "In what race did Buddy Rice hav fastest lap?", + "context": "create table table_2454550_1 (race_name varchar, fastest_lap varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_2454550_1 where fastest_lap = \"buddy rice\"" + }, + { + "question": "who were the candidates when the incumbent was ed derwinski?", + "context": "create table table_1341718_14 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341718_14 where incumbent = \"ed derwinski\"" + }, + { + "question": "Which episode was watched by 11.75 million U.S. viewers?", + "context": "create table table_13301516_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_13301516_1 where us_viewers__millions_ = \"11.75\"" + }, + { + "question": "During which years did number 13 play for the Rockets?", + "context": "create table table_11734041_3 (years_for_rockets varchar, no_s_ varchar, PRIMARY KEY (years_for_rockets))", + "answer": "select years_for_rockets from table_11734041_3 where no_s_ = \"13\"" + }, + { + "question": "If the original air date January 19, 1992, who was the episode directed by?", + "context": "create table table_2226817_7 (directed_by varchar, original_air_date varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2226817_7 where original_air_date = \"january 19, 1992\"" + }, + { + "question": "Name the round of 32 in conference usa", + "context": "create table table_10722506_6 (round_of_32 varchar, conference varchar, PRIMARY KEY (round_of_32))", + "answer": "select round_of_32 from table_10722506_6 where conference = \"conference usa\"" + }, + { + "question": "Who is the builder of the locomotives with wheel arrangement of 2-4-2 T?", + "context": "create table table_1157867_2 (builder varchar, wheel_arrangement varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_1157867_2 where wheel_arrangement = \"2-4-2 t\"" + }, + { + "question": "Find the name, address, number of students in the departments that have the top 3 highest number of students.", + "context": "create table student (dept_code varchar, PRIMARY KEY (dept_code)); create table department (dept_name varchar, dept_address varchar, dept_code varchar, PRIMARY KEY (dept_name))", + "answer": "select t2.dept_name, t2.dept_address, count(*) from student as t1 join department as t2 on t1.dept_code = t2.dept_code group by t1.dept_code order by count(*) desc limit 3" + }, + { + "question": "Name the children together for 9 years of marriage", + "context": "create table table_24143253_1 (children_together varchar, length_of_marriage varchar, PRIMARY KEY (children_together))", + "answer": "select children_together from table_24143253_1 where length_of_marriage = \"9 years\"" + }, + { + "question": "What is the rural population percentage in 1979?", + "context": "create table table_16645_1 (__percentage varchar, rural integer, year__january_ varchar, PRIMARY KEY (__percentage))", + "answer": "select min(rural), __percentage from table_16645_1 where year__january_ = 1979" + }, + { + "question": "Who is everyone on the men's doubles when men's singles is Ma Wenge?", + "context": "create table table_28211988_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28211988_1 where mens_singles = \"ma wenge\"" + }, + { + "question": "What is the branding for the station located in san jose del monte?", + "context": "create table table_27588823_2 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_27588823_2 where location = \"san jose del monte\"" + }, + { + "question": "What is the rate change % when the rate limit is 82.86?", + "context": "create table table_25316812_1 (rate_change___percentage_ varchar, rate_limit__p_ varchar, PRIMARY KEY (rate_change___percentage_))", + "answer": "select rate_change___percentage_ from table_25316812_1 where rate_limit__p_ = \"82.86\"" + }, + { + "question": "Which original air date had 0.871 U.S. viewers (millions)?", + "context": "create table table_26808178_3 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_26808178_3 where us_viewers__millions_ = \"0.871\"" + }, + { + "question": "What are the air dates of the show in ABS-CBN?", + "context": "create table table_27487310_5 (air_dates varchar, network varchar, PRIMARY KEY (air_dates))", + "answer": "select air_dates from table_27487310_5 where network = \"abs-cbn\"" + }, + { + "question": "Find the number of distinct projects.", + "context": "create table projects (name varchar, PRIMARY KEY (name))", + "answer": "select count(distinct name) from projects" + }, + { + "question": "How many distinct students are enrolled in courses?", + "context": "create table student_course_enrolment (student_id varchar, PRIMARY KEY (student_id))", + "answer": "select count(distinct student_id) from student_course_enrolment" + }, + { + "question": "Show names of teachers and the courses they are arranged to teach.", + "context": "create table course_arrange (course_id varchar, teacher_id varchar, PRIMARY KEY (course_id)); create table teacher (name varchar, teacher_id varchar, PRIMARY KEY (name)); create table course (course varchar, course_id varchar, PRIMARY KEY (course))", + "answer": "select t3.name, t2.course from course_arrange as t1 join course as t2 on t1.course_id = t2.course_id join teacher as t3 on t1.teacher_id = t3.teacher_id" + }, + { + "question": "What is the record at the neutral site for when the overall record is ui, 27-16?", + "context": "create table table_16201038_4 (at_neutral_site varchar, overall_record varchar, PRIMARY KEY (at_neutral_site))", + "answer": "select at_neutral_site from table_16201038_4 where overall_record = \"ui, 27-16\"" + }, + { + "question": "What is the g (\u03bcs/km)when the frequency (hz) is 100k?", + "context": "create table table_261642_3 (g__\u03bcs_km_ varchar, frequency__hz_ varchar, PRIMARY KEY (g__\u03bcs_km_))", + "answer": "select g__\u03bcs_km_ from table_261642_3 where frequency__hz_ = \"100k\"" + }, + { + "question": "In Tangier Zone, what is the PCT route availibility?", + "context": "create table table_2279413_1 (pct_route_available varchar, country varchar, PRIMARY KEY (pct_route_available))", + "answer": "select pct_route_available from table_2279413_1 where country = \"tangier zone\"" + }, + { + "question": "How many bullet tips colors had other features of a blue band on case base?", + "context": "create table table_1036189_1 (bullet_tip_color varchar, other_features varchar, PRIMARY KEY (bullet_tip_color))", + "answer": "select count(bullet_tip_color) from table_1036189_1 where other_features = \"blue band on case base\"" + }, + { + "question": "Who is the director when there is 11.21 million viewers?", + "context": "create table table_24910733_1 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_24910733_1 where us_viewers__millions_ = \"11.21\"" + }, + { + "question": "how many new managers replaced manager(s) who resigned?", + "context": "create table table_28164986_4 (incoming_manager varchar, manner_of_departure varchar, PRIMARY KEY (incoming_manager))", + "answer": "select count(incoming_manager) from table_28164986_4 where manner_of_departure = \"resigned\"" + }, + { + "question": "What is ramtha when jeel is 1-0 and hussein is 1-0?", + "context": "create table table_26173063_2 (ramtha varchar, jeel varchar, hussein varchar, PRIMARY KEY (ramtha))", + "answer": "select ramtha from table_26173063_2 where jeel = \"1-0\" and hussein = \"1-0\"" + }, + { + "question": "When we played Houston who had the most points?", + "context": "create table table_22879323_6 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_22879323_6 where team = \"houston\"" + }, + { + "question": "How many products are there?", + "context": "create table products (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from products" + }, + { + "question": "june 10-11 when january 15-16 is january 15, 1991?", + "context": "create table table_25355501_2 (june_10_11 varchar, january_15_16 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25355501_2 where january_15_16 = \"january 15, 1991\"" + }, + { + "question": "Nam ethe enlisted for troop carrier group", + "context": "create table table_23508196_5 (enlisted varchar, type_of_unit varchar, PRIMARY KEY (enlisted))", + "answer": "select enlisted from table_23508196_5 where type_of_unit = \"troop carrier group\"" + }, + { + "question": "Name the team for 5 september 2008 for date of vacancy for 30 august 2008", + "context": "create table table_18522916_5 (team varchar, date_of_appointment varchar, date_of_vacancy varchar, PRIMARY KEY (team))", + "answer": "select team from table_18522916_5 where date_of_appointment = \"5 september 2008\" and date_of_vacancy = \"30 august 2008\"" + }, + { + "question": "Name the gdp per capita for haiti", + "context": "create table table_26313243_1 (gdp__ppp__per_capita___intl_$___2011 varchar, country varchar, PRIMARY KEY (gdp__ppp__per_capita___intl_$___2011))", + "answer": "select gdp__ppp__per_capita___intl_$___2011 from table_26313243_1 where country = \"haiti\"" + }, + { + "question": "Show all headquarters with both a company in banking industry and a company in Oil and gas.", + "context": "create table company (headquarters varchar, main_industry varchar, PRIMARY KEY (headquarters))", + "answer": "select headquarters from company where main_industry = 'banking' intersect select headquarters from company where main_industry = 'oil and gas'" + }, + { + "question": "Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations.", + "context": "create table reservations (room varchar, PRIMARY KEY (room)); create table rooms (roomname varchar, roomid varchar, PRIMARY KEY (roomname))", + "answer": "select t2.roomname from reservations as t1 join rooms as t2 on t1.room = t2.roomid group by t1.room order by count(*) desc limit 1" + }, + { + "question": "Name the power provided for transfer speed mb/s is 1250", + "context": "create table table_174151_5 (power_provided varchar, transfer_speed__mb_s_ varchar, PRIMARY KEY (power_provided))", + "answer": "select power_provided from table_174151_5 where transfer_speed__mb_s_ = \"1250\"" + }, + { + "question": "when was the premiere of the episode where the amount of North American spectators was 1.76 millions?", + "context": "create table table_21979779_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_21979779_1 where us_viewers__million_ = \"1.76\"" + }, + { + "question": "When 129 is on March 27th to 29th what is June 10th to 11th?", + "context": "create table table_25286976_2 (june_10_11 varchar, march_27_29 varchar, PRIMARY KEY (june_10_11))", + "answer": "select june_10_11 from table_25286976_2 where march_27_29 = \"129\"" + }, + { + "question": "What team was Bodine in when he had an average finish of 8.3?", + "context": "create table table_2387790_2 (team_s_ varchar, avg_finish varchar, PRIMARY KEY (team_s_))", + "answer": "select team_s_ from table_2387790_2 where avg_finish = \"8.3\"" + }, + { + "question": "What number parliament held it's election in 1997?", + "context": "create table table_1889233_2 (parliament varchar, general_election_contested varchar, PRIMARY KEY (parliament))", + "answer": "select parliament from table_1889233_2 where general_election_contested = 1997" + }, + { + "question": "Name the dar for cinese", + "context": "create table table_15887683_8 (dar varchar, language varchar, PRIMARY KEY (dar))", + "answer": "select dar from table_15887683_8 where language = \"cinese\"" + }, + { + "question": "Find the names of the artists who are from UK and have produced English songs.", + "context": "create table artist (artist_name varchar, country varchar, languages varchar, PRIMARY KEY (artist_name)); create table song (artist_name varchar, country varchar, languages varchar, PRIMARY KEY (artist_name))", + "answer": "select artist_name from artist where country = \"uk\" intersect select artist_name from song where languages = \"english\"" + }, + { + "question": "Who won the mens doubles the year Alison Humby won the womens singles?", + "context": "create table table_12163387_1 (mens_doubles varchar, womens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12163387_1 where womens_singles = \"alison humby\"" + }, + { + "question": "What is the report for the race i sunday mirror trophy?", + "context": "create table table_1140099_6 (report varchar, race_name varchar, PRIMARY KEY (report))", + "answer": "select report from table_1140099_6 where race_name = \"i sunday mirror trophy\"" + }, + { + "question": "Find the ids of orders which are shipped after 2000-01-01.", + "context": "create table shipments (order_id varchar, shipment_date integer, PRIMARY KEY (order_id))", + "answer": "select order_id from shipments where shipment_date > \"2000-01-01\"" + }, + { + "question": "what amount of stations have station code is awy?", + "context": "create table table_14688744_2 (station varchar, station_code varchar, PRIMARY KEY (station))", + "answer": "select count(station) from table_14688744_2 where station_code = \"awy\"" + }, + { + "question": "What was the category of the project name Mighty No. 9?", + "context": "create table table_27155990_1 (category varchar, project_name varchar, PRIMARY KEY (category))", + "answer": "select category from table_27155990_1 where project_name = \"mighty no. 9\"" + }, + { + "question": "What is the HT value of threw Athlon x2 5200b model?", + "context": "create table table_13869651_3 (ht varchar, model_number varchar, PRIMARY KEY (ht))", + "answer": "select ht from table_13869651_3 where model_number = \"athlon x2 5200b\"" + }, + { + "question": "display the country ID and number of cities for each country.", + "context": "create table locations (country_id varchar, PRIMARY KEY (country_id))", + "answer": "select country_id, count(*) from locations group by country_id" + }, + { + "question": "Find the list of attribute data types possessed by more than 3 attribute definitions.", + "context": "create table attribute_definitions (attribute_data_type varchar, PRIMARY KEY (attribute_data_type))", + "answer": "select attribute_data_type from attribute_definitions group by attribute_data_type having count(*) > 3" + }, + { + "question": "In the country United Arab Emirates, what is the number of imports?", + "context": "create table table_26160007_1 (imports varchar, country varchar, PRIMARY KEY (imports))", + "answer": "select imports from table_26160007_1 where country = \"united arab emirates\"" + }, + { + "question": "How many times was Sanger 3730xl $2400 usd?", + "context": "create table table_127511_1 (ion_torrent_pgm varchar, sanger_3730xl varchar, PRIMARY KEY (ion_torrent_pgm))", + "answer": "select count(ion_torrent_pgm) from table_127511_1 where sanger_3730xl = \"$2400 usd\"" + }, + { + "question": "What was the rating for Brisbane the week that Adelaide had 94000?", + "context": "create table table_24291077_8 (brisbane integer, adelaide varchar, PRIMARY KEY (brisbane))", + "answer": "select min(brisbane) from table_24291077_8 where adelaide = 94000" + }, + { + "question": "Please show different types of artworks with the corresponding number of artworks of each type.", + "context": "create table artwork (type varchar, PRIMARY KEY (type))", + "answer": "select type, count(*) from artwork group by type" + }, + { + "question": "what is the united fc where pifa colaba is sporting options?", + "context": "create table table_28759261_5 (united_fc varchar, pifa_colaba_fc_u_17 varchar, PRIMARY KEY (united_fc))", + "answer": "select united_fc from table_28759261_5 where pifa_colaba_fc_u_17 = \"sporting options\"" + }, + { + "question": "What was the depravitiy of earnings where international sales was 2470?", + "context": "create table table_13618358_1 (income_poverty_f varchar, exports__usd_mn__2011 varchar, PRIMARY KEY (income_poverty_f))", + "answer": "select income_poverty_f from table_13618358_1 where exports__usd_mn__2011 = 2470" + }, + { + "question": "Who directed the episodes that aired December 15, 1956?", + "context": "create table table_25800134_1 (director varchar, airdate varchar, PRIMARY KEY (director))", + "answer": "select director from table_25800134_1 where airdate = \"december 15, 1956\"" + }, + { + "question": "How many districts are respresented by Alex McMillan?", + "context": "create table table_1341522_36 (status varchar, incumbent varchar, PRIMARY KEY (status))", + "answer": "select count(status) from table_1341522_36 where incumbent = \"alex mcmillan\"" + }, + { + "question": "Show ids for all documents with budget types described as 'Government'.", + "context": "create table documents_with_expenses (document_id varchar, budget_type_code varchar, PRIMARY KEY (document_id)); create table ref_budget_codes (budget_type_code varchar, budget_type_description varchar, PRIMARY KEY (budget_type_code))", + "answer": "select t1.document_id from documents_with_expenses as t1 join ref_budget_codes as t2 on t1.budget_type_code = t2.budget_type_code where t2.budget_type_description = \"government\"" + }, + { + "question": "What party did Don Fuqua belong to?", + "context": "create table table_1341865_11 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341865_11 where incumbent = \"don fuqua\"" + }, + { + "question": "Name the most ceiling temperature for very extra high", + "context": "create table table_1538516_1 (maximum_ceiling_temperature varchar, temperature_classification varchar, PRIMARY KEY (maximum_ceiling_temperature))", + "answer": "select maximum_ceiling_temperature from table_1538516_1 where temperature_classification = \"very extra high\"" + }, + { + "question": "how many revised hepburn when english is roman characters", + "context": "create table table_26263954_1 (revised_hepburn varchar, english varchar, PRIMARY KEY (revised_hepburn))", + "answer": "select revised_hepburn from table_26263954_1 where english = \"roman characters\"" + }, + { + "question": "What is the highest number of fai space flights when max mach is 5.65?", + "context": "create table table_221315_3 (fai_space_flights integer, max_mach varchar, PRIMARY KEY (fai_space_flights))", + "answer": "select max(fai_space_flights) from table_221315_3 where max_mach = \"5.65\"" + }, + { + "question": "For delegate is gaines, tawanna p. tawanna gaines, please specify all the party.", + "context": "create table table_27050336_7 (party varchar, delegate varchar, PRIMARY KEY (party))", + "answer": "select party from table_27050336_7 where delegate = \"gaines, tawanna p. tawanna gaines\"" + }, + { + "question": "What days are vacant that were replaced by john brown?", + "context": "create table table_11207040_6 (date_of_vacancy varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_11207040_6 where replaced_by = \"john brown\"" + }, + { + "question": "What award did team 679 win?", + "context": "create table table_15584199_2 (award_name varchar, team_number varchar, PRIMARY KEY (award_name))", + "answer": "select award_name from table_15584199_2 where team_number = 679" + }, + { + "question": "Name the total number of last 5 meetings for texas tech", + "context": "create table table_16201038_3 (last_5_meetings varchar, missouri_vs varchar, PRIMARY KEY (last_5_meetings))", + "answer": "select count(last_5_meetings) from table_16201038_3 where missouri_vs = \"texas tech\"" + }, + { + "question": "Find the name of the products that have the color description \"red\" and have the characteristic name \"fast\".", + "context": "create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "select product_name 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 join ref_colors as t4 on t1.color_code = t4.color_code where t4.color_description = \"red\" and t3.characteristic_name = \"fast\"" + }, + { + "question": "What was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?", + "context": "create table table_16724844_1 (mens_45 varchar, mens_40 varchar, PRIMARY KEY (mens_45))", + "answer": "select mens_45 from table_16724844_1 where mens_40 = \"sunwest razorbacks def sydney mets\"" + }, + { + "question": "Name the author for 6y/ae", + "context": "create table table_1620397_2 (author varchar, series_sorted varchar, PRIMARY KEY (author))", + "answer": "select author from table_1620397_2 where series_sorted = \"6y/ae\"" + }, + { + "question": "What party did robert p. letcher represent?", + "context": "create table table_2668264_8 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668264_8 where incumbent = \"robert p. letcher\"" + }, + { + "question": "What is the WIAA classification of Oakland Alternative High School?", + "context": "create table table_1414702_3 (wiaa_classification varchar, high_school varchar, PRIMARY KEY (wiaa_classification))", + "answer": "select wiaa_classification from table_1414702_3 where high_school = \"oakland alternative\"" + }, + { + "question": "How many players were from high point, nc?", + "context": "create table table_11677100_15 (mlb_draft varchar, hometown varchar, PRIMARY KEY (mlb_draft))", + "answer": "select count(mlb_draft) from table_11677100_15 where hometown = \"high point, nc\"" + }, + { + "question": "Who directed the episode that had 5.92 million viewers?", + "context": "create table table_25341765_1 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_25341765_1 where us_viewers__million_ = \"5.92\"" + }, + { + "question": "Who is the original artist with a theme of N/A?", + "context": "create table table_21501565_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_21501565_1 where theme = \"n/a\"" + }, + { + "question": "How many candidates ran against barratt o'hara?", + "context": "create table table_1342198_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342198_13 where incumbent = \"barratt o'hara\"" + }, + { + "question": "what is the number of original airdate written by allan hawco?", + "context": "create table table_27547668_4 (original_airdate varchar, written_by varchar, PRIMARY KEY (original_airdate))", + "answer": "select count(original_airdate) from table_27547668_4 where written_by = \"allan hawco\"" + }, + { + "question": "What January 15-16 is is that corresponds to November 3, 2013?", + "context": "create table table_25284864_3 (january_15_16 varchar, november_3 varchar, PRIMARY KEY (january_15_16))", + "answer": "select january_15_16 from table_25284864_3 where november_3 = \"november_3, 2013\"" + }, + { + "question": "What is the sellout % when the gross sales is $1,727,400?", + "context": "create table table_16331025_2 (sellout___percentage_ varchar, gross_sales varchar, PRIMARY KEY (sellout___percentage_))", + "answer": "select sellout___percentage_ from table_16331025_2 where gross_sales = \"$1,727,400\"" + }, + { + "question": "When 0,4, or 8 mb is the nupowr 117 what is the nupowr 183?", + "context": "create table table_3002894_4 (nupowr_183 varchar, nupowr_117 varchar, PRIMARY KEY (nupowr_183))", + "answer": "select nupowr_183 from table_3002894_4 where nupowr_117 = \"0,4, or 8 mb\"" + }, + { + "question": "List the pictorals from issues when lindsey roeper was the cover model.", + "context": "create table table_1566852_8 (pictorials varchar, cover_model varchar, PRIMARY KEY (pictorials))", + "answer": "select pictorials from table_1566852_8 where cover_model = \"lindsey roeper\"" + }, + { + "question": "Which vocal type did the musician with first name \"Solveig\" played in the song with title \"A Bar in Amsterdam\"?", + "context": "create table vocals (songid varchar, bandmate varchar, PRIMARY KEY (songid)); create table band (id varchar, firstname varchar, PRIMARY KEY (id)); create table songs (songid varchar, title varchar, PRIMARY KEY (songid))", + "answer": "select type from vocals as t1 join songs as t2 on t1.songid = t2.songid join band as t3 on t1.bandmate = t3.id where t3.firstname = \"solveig\" and t2.title = \"a bar in amsterdam\"" + }, + { + "question": "List the branding for krca-tv.", + "context": "create table table_2523809_1 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2523809_1 where callsign = \"krca-tv\"" + }, + { + "question": "Find the first name of students not enrolled in any course.", + "context": "create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table enrolled_in (fname varchar, stuid varchar, PRIMARY KEY (fname))", + "answer": "select fname from student where not stuid in (select stuid from enrolled_in)" + }, + { + "question": "What was the record when the team played Boston?", + "context": "create table table_17325580_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_17325580_10 where team = \"boston\"" + }, + { + "question": "Who was the head coach in season 2?", + "context": "create table table_14015965_1 (head_coach varchar, previous_season varchar, PRIMARY KEY (head_coach))", + "answer": "select head_coach from table_14015965_1 where previous_season = \"2\"" + }, + { + "question": "What are the vocal types used in song \"Badlands\"?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select type from vocals as t1 join songs as t2 on t1.songid = t2.songid where title = \"badlands\"" + }, + { + "question": "Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure?", + "context": "create table table_11869952_3 (launch_site varchar, mission varchar, results varchar, PRIMARY KEY (launch_site))", + "answer": "select launch_site from table_11869952_3 where mission = \"test mission: war heads and missile payload\" and results = \"partial failure\"" + }, + { + "question": "Name the period for michel prost", + "context": "create table table_24565004_17 (period varchar, name varchar, PRIMARY KEY (period))", + "answer": "select period from table_24565004_17 where name = \"michel prost\"" + }, + { + "question": "Which TV network had its series finale on May 7, 2012?", + "context": "create table table_29799700_2 (tv_network_s_ varchar, series_finale varchar, PRIMARY KEY (tv_network_s_))", + "answer": "select tv_network_s_ from table_29799700_2 where series_finale = \"may 7, 2012\"" + }, + { + "question": "Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director?", + "context": "create table table_10470082_7 (villains varchar, storyteller varchar, director varchar, PRIMARY KEY (villains))", + "answer": "select villains from table_10470082_7 where storyteller = \"megan\" and director = \"lorette leblanc\"" + }, + { + "question": "What was the little league team from Kentucky when the little league team from Indiana and Wisconsin were Brownsburg LL Brownsburg and Merrill LL Merrill?", + "context": "create table table_18461045_1 (kentucky varchar, indiana varchar, wisconsin varchar, PRIMARY KEY (kentucky))", + "answer": "select kentucky from table_18461045_1 where indiana = \"brownsburg ll brownsburg\" and wisconsin = \"merrill ll merrill\"" + }, + { + "question": "What was the gas storage status for the nation that had \"yes\" for alternative fuel?", + "context": "create table table_21690339_1 (gas_storage varchar, alternative_fuel varchar, PRIMARY KEY (gas_storage))", + "answer": "select gas_storage from table_21690339_1 where alternative_fuel = \"yes\"" + }, + { + "question": "What horses does r. a. Scott own?", + "context": "create table table_19624708_1 (horse varchar, owner varchar, PRIMARY KEY (horse))", + "answer": "select horse from table_19624708_1 where owner = \"r. a. scott\"" + }, + { + "question": "Show all majors and corresponding number of students.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select major, count(*) from student group by major" + }, + { + "question": "Show all locations and the number of gas stations in each location ordered by the count.", + "context": "create table gas_station (location varchar, PRIMARY KEY (location))", + "answer": "select location, count(*) from gas_station group by location order by count(*)" + }, + { + "question": "what's the\u00a0transmission\u00a0where\u00a0turbo\u00a0is yes (mitsubishi td04-16t )", + "context": "create table table_11167610_1 (transmission varchar, turbo varchar, PRIMARY KEY (transmission))", + "answer": "select transmission from table_11167610_1 where turbo = \"yes (mitsubishi td04-16t )\"" + }, + { + "question": "what is the political affiliation of ray roberts", + "context": "create table table_1341884_45 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341884_45 where incumbent = \"ray roberts\"" + }, + { + "question": "Find the forename and surname of drivers whose nationality is German?", + "context": "create table drivers (forename varchar, surname varchar, nationality varchar, PRIMARY KEY (forename))", + "answer": "select forename, surname from drivers where nationality = \"german\"" + }, + { + "question": "If the WS points is 947, what is the 08-09 gp/jgp 2nd ?", + "context": "create table table_24990183_7 (ws_points varchar, PRIMARY KEY (ws_points))", + "answer": "select 08 as _09_gp_jgp_2nd from table_24990183_7 where ws_points = 947" + }, + { + "question": "Name the total number of troops per one million being 2.76", + "context": "create table table_30108346_1 (troops_per_one_million_population varchar, troops_per_$1_billion___usd___gdp varchar, PRIMARY KEY (troops_per_one_million_population))", + "answer": "select count(troops_per_one_million_population) from table_30108346_1 where troops_per_$1_billion___usd___gdp = \"2.76\"" + }, + { + "question": "Who pubilshed isbn 1-937007-44-8?", + "context": "create table table_16907214_1 (publisher varchar, hardcover varchar, PRIMARY KEY (publisher))", + "answer": "select publisher from table_16907214_1 where hardcover = \"isbn 1-937007-44-8\"" + }, + { + "question": "What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher?", + "context": "create table table_20042805_2 (african_spoonbill varchar, ostrich varchar, PRIMARY KEY (african_spoonbill))", + "answer": "select african_spoonbill from table_20042805_2 where ostrich = \"brown-hooded kingfisher\"" + }, + { + "question": "What is the name of the race in the Modena circuit?", + "context": "create table table_1140116_5 (race_name varchar, circuit varchar, PRIMARY KEY (race_name))", + "answer": "select race_name from table_1140116_5 where circuit = \"modena\"" + }, + { + "question": "Where was the game played that had a record of 19-6?", + "context": "create table table_18904831_7 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_18904831_7 where record = \"19-6\"" + }, + { + "question": "What is the organisation type and id of the organisation which has the most number of research staff?", + "context": "create table research_staff (employer_organisation_id varchar, PRIMARY KEY (employer_organisation_id)); create table organisations (organisation_type varchar, organisation_id varchar, PRIMARY KEY (organisation_type))", + "answer": "select t1.organisation_type, t1.organisation_id from organisations as t1 join research_staff as t2 on t1.organisation_id = t2.employer_organisation_id group by t1.organisation_id order by count(*) desc limit 1" + }, + { + "question": "Who won the men's double when Chou Tien-Chen won the men's single?", + "context": "create table table_12275654_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_12275654_1 where mens_singles = \"chou tien-chen\"" + }, + { + "question": "What is the total number of semi-final losses for the Kitchener Rangers?", + "context": "create table table_17751942_4 (final_losses varchar, semi integer, team varchar, PRIMARY KEY (final_losses))", + "answer": "select max(semi) - final_losses from table_17751942_4 where team = \"kitchener rangers\"" + }, + { + "question": "What is the paper type for the date of issue July 8?", + "context": "create table table_25468520_1 (paper_type varchar, date_of_issue varchar, PRIMARY KEY (paper_type))", + "answer": "select paper_type from table_25468520_1 where date_of_issue = \"july 8\"" + }, + { + "question": "What air date had 1.01 million U.S. viewers?", + "context": "create table table_28334498_3 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_28334498_3 where us_viewers__millions_ = \"1.01\"" + }, + { + "question": "What is the lowest ru?", + "context": "create table table_10818465_1 (ru integer, PRIMARY KEY (ru))", + "answer": "select min(ru) from table_10818465_1" + }, + { + "question": "What was the airdate of the episode with 106000 dave ja vu viewers?", + "context": "create table table_25721_3 (airdate varchar, dave_ja_vu_viewers varchar, PRIMARY KEY (airdate))", + "answer": "select airdate from table_25721_3 where dave_ja_vu_viewers = 106000" + }, + { + "question": "How many drivers had a time of 3:09:45?", + "context": "create table table_2175858_1 (driver varchar, race_time varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_2175858_1 where race_time = \"3:09:45\"" + }, + { + "question": "Who was in the three darts challenge that aired on 10 may 2010?", + "context": "create table table_26733129_1 (three_darts_challenge varchar, air_date varchar, PRIMARY KEY (three_darts_challenge))", + "answer": "select three_darts_challenge from table_26733129_1 where air_date = \"10 may 2010\"" + }, + { + "question": "What the name of the school where the last win in 2007-08?", + "context": "create table table_14286908_1 (school varchar, year_of_last_win varchar, PRIMARY KEY (school))", + "answer": "select school from table_14286908_1 where year_of_last_win = \"2007-08\"" + }, + { + "question": "How many entries are there for vote when the air date was 15 november 1997?", + "context": "create table table_25016824_2 (vote varchar, air_date varchar, PRIMARY KEY (vote))", + "answer": "select count(vote) from table_25016824_2 where air_date = \"15 november 1997\"" + }, + { + "question": "What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100?", + "context": "create table table_15261_1 (voltage_range__v_ varchar, clock_multiplier varchar, part_number varchar, PRIMARY KEY (voltage_range__v_))", + "answer": "select count(voltage_range__v_) from table_15261_1 where clock_multiplier = \"3x or 2x mode\" and part_number = \"a80486dx4wb-100\"" + }, + { + "question": "who was in the 2005 role when the original broadway cast was played by jesse l. martin?", + "context": "create table table_26436_2 (original_broadway_cast varchar, PRIMARY KEY (original_broadway_cast))", + "answer": "select 2005 as _film from table_26436_2 where original_broadway_cast = \"jesse l. martin\"" + }, + { + "question": "How many tariff codes have a bts retail price of 2.553p/min?", + "context": "create table table_10408617_5 (tariff_code varchar, bts_retail_price__regulated_ varchar, PRIMARY KEY (tariff_code))", + "answer": "select count(tariff_code) from table_10408617_5 where bts_retail_price__regulated_ = \"2.553p/min\"" + }, + { + "question": "On what date did Kim Fogh replace the previous manager?", + "context": "create table table_27782699_3 (date_of_appointment varchar, replaced_by varchar, PRIMARY KEY (date_of_appointment))", + "answer": "select date_of_appointment from table_27782699_3 where replaced_by = \"kim fogh\"" + }, + { + "question": "Who was the lyricist for gopal krishna and co singer of solo?", + "context": "create table table_11827596_4 (lyricist varchar, film_name varchar, co_singer varchar, PRIMARY KEY (lyricist))", + "answer": "select lyricist from table_11827596_4 where film_name = \"gopal krishna\" and co_singer = \"solo\"" + }, + { + "question": "Who was on the pole position at the monaco grand prix?", + "context": "create table table_1137695_3 (pole_position varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1137695_3 where grand_prix = \"monaco grand_prix\"" + }, + { + "question": "which brand have drivers who won with the names of ryan briscoe and tomas scheckter", + "context": "create table table_13512105_3 (winning_team varchar, winning_driver varchar, fastest_lap varchar, PRIMARY KEY (winning_team))", + "answer": "select winning_team from table_13512105_3 where winning_driver = \"ryan briscoe\" and fastest_lap = \"tomas scheckter\"" + }, + { + "question": "Please show the categories of the music festivals and the count.", + "context": "create table music_festival (category varchar, PRIMARY KEY (category))", + "answer": "select category, count(*) from music_festival group by category" + }, + { + "question": "How many violent catagories are listed for the year forcible rapes were 1156?", + "context": "create table table_25271777_1 (violent varchar, forcible_rape varchar, PRIMARY KEY (violent))", + "answer": "select count(violent) from table_25271777_1 where forcible_rape = 1156" + }, + { + "question": "What was the callback venue for the audition city in the episode aired on January 20, 2011?", + "context": "create table table_27455867_1 (callback_venue varchar, episode_air_date varchar, PRIMARY KEY (callback_venue))", + "answer": "select callback_venue from table_27455867_1 where episode_air_date = \"january 20, 2011\"" + }, + { + "question": "What's the version of AutoCAD Architectural Desktop 3?", + "context": "create table table_19329117_1 (version varchar, official_name varchar, PRIMARY KEY (version))", + "answer": "select version from table_19329117_1 where official_name = \"autocad architectural desktop 3\"" + }, + { + "question": "The candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent?", + "context": "create table table_2668336_17 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668336_17 where candidates = \"charles fisher (dr) 65.1% w. jones (f) 34.9%\"" + }, + { + "question": "What is the location with the most cinemas opened in year 2010 or later?", + "context": "create table cinema (location varchar, openning_year varchar, PRIMARY KEY (location))", + "answer": "select location from cinema where openning_year >= 2010 group by location order by count(*) desc limit 1" + }, + { + "question": "Show different type codes of products and the number of products with each type code.", + "context": "create table products (product_type_code varchar, PRIMARY KEY (product_type_code))", + "answer": "select product_type_code, count(*) from products group by product_type_code" + }, + { + "question": "When 48-30 is the record who has the highest amount of points?", + "context": "create table table_23286158_10 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23286158_10 where record = \"48-30\"" + }, + { + "question": "Name the total number of nicknames for st. bonaventure university", + "context": "create table table_16383772_1 (nickname varchar, school varchar, PRIMARY KEY (nickname))", + "answer": "select count(nickname) from table_16383772_1 where school = \"st. bonaventure university\"" + }, + { + "question": "Find all the papers published by \"Aaron Turon\".", + "context": "create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table papers (title varchar, paperid varchar, PRIMARY KEY (title)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid))", + "answer": "select t3.title from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = \"aaron\" and t1.lname = \"turon\"" + }, + { + "question": "Which providers use version 2008?", + "context": "create table table_14465871_2 (provider varchar, version varchar, PRIMARY KEY (provider))", + "answer": "select provider from table_14465871_2 where version = \"2008\"" + }, + { + "question": "What is the name of the DS division where the divisional secretary is S. H. Muzammil?", + "context": "create table table_12485020_1 (ds_division varchar, divisional_secretary varchar, PRIMARY KEY (ds_division))", + "answer": "select ds_division from table_12485020_1 where divisional_secretary = \"s. h. muzammil\"" + }, + { + "question": "What department irrigated 2170 Ha?", + "context": "create table table_17118006_2 (department varchar, irrigated_ha varchar, PRIMARY KEY (department))", + "answer": "select department from table_17118006_2 where irrigated_ha = 2170" + }, + { + "question": "What type of settlement is rabe?", + "context": "create table table_2562572_30 (type varchar, settlement varchar, PRIMARY KEY (type))", + "answer": "select type from table_2562572_30 where settlement = \"rabe\"" + }, + { + "question": "What candidate is a member of the Republican party?", + "context": "create table table_1341640_39 (candidates varchar, party varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341640_39 where party = \"republican\"" + }, + { + "question": "What is every value for passing yards per game if rushing yards per game is 113.6?", + "context": "create table table_27487336_1 (passing_yards_per_game varchar, rushing_yards_per_game varchar, PRIMARY KEY (passing_yards_per_game))", + "answer": "select passing_yards_per_game from table_27487336_1 where rushing_yards_per_game = \"113.6\"" + }, + { + "question": "How many titles are there for the original air date April 3, 2012?", + "context": "create table table_26150013_1 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_26150013_1 where original_air_date = \"april 3, 2012\"" + }, + { + "question": "What is the TV Channel that shows the cartoon \"The Rise of the Blue Beetle!\"? List the TV Channel's series name.", + "context": "create table cartoon (channel varchar, title varchar, PRIMARY KEY (channel)); create table tv_channel (series_name varchar, id varchar, PRIMARY KEY (series_name))", + "answer": "select t1.series_name from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.title = \"the rise of the blue beetle!\"" + }, + { + "question": "How many dams are there in the Nome (CA) area?", + "context": "create table table_17978052_2 (_number_s_dam_and_gnis_query_link integer, borough_or_census_area varchar, PRIMARY KEY (_number_s_dam_and_gnis_query_link))", + "answer": "select min(_number_s_dam_and_gnis_query_link) from table_17978052_2 where borough_or_census_area = \"nome (ca)\"" + }, + { + "question": "What is the route for the destination of guruvayur?", + "context": "create table table_29770377_1 (route_via varchar, destination varchar, PRIMARY KEY (route_via))", + "answer": "select route_via from table_29770377_1 where destination = \"guruvayur\"" + }, + { + "question": "What time in eastern standard time was game held at denver broncos?", + "context": "create table table_14433719_1 (time___et__ varchar, opponent varchar, PRIMARY KEY (time___et__))", + "answer": "select time___et__ from table_14433719_1 where opponent = \"at denver broncos\"" + }, + { + "question": "Name the dominant religion 2002 for village banatski despotovac", + "context": "create table table_2562572_35 (dominant_religion__2002_ varchar, type varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))", + "answer": "select dominant_religion__2002_ from table_2562572_35 where type = \"village\" and settlement = \"banatski despotovac\"" + }, + { + "question": "How many members are not living in Hartford?", + "context": "create table member (address varchar, PRIMARY KEY (address))", + "answer": "select count(*) from member where address <> 'hartford'" + }, + { + "question": "The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?", + "context": "create table table_17964087_2 (foreign_nationality varchar, romanised_name varchar, PRIMARY KEY (foreign_nationality))", + "answer": "select foreign_nationality from table_17964087_2 where romanised_name = \"cheung, raymond man-to\"" + }, + { + "question": "Who was the candidate when the result - % was 0.4%?", + "context": "create table table_25818630_2 (candidate varchar, result____percentage varchar, PRIMARY KEY (candidate))", + "answer": "select candidate from table_25818630_2 where result____percentage = \"0.4%\"" + }, + { + "question": "what's the\u00a0cover date\u00a0where\u00a0character(s)\u00a0is x-men ; magneto", + "context": "create table table_1217448_1 (cover_date varchar, character_s_ varchar, PRIMARY KEY (cover_date))", + "answer": "select cover_date from table_1217448_1 where character_s_ = \"x-men ; magneto\"" + }, + { + "question": "Show order ids and the total quantity in each order.", + "context": "create table order_items (order_id varchar, product_quantity integer, PRIMARY KEY (order_id))", + "answer": "select order_id, sum(product_quantity) from order_items group by order_id" + }, + { + "question": "What is listed in segment b when segment c is artificial flowers?", + "context": "create table table_15187735_21 (segment_b varchar, segment_c varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_21 where segment_c = \"artificial flowers\"" + }, + { + "question": "what are the names of people who did not participate in the candidate election.", + "context": "create table candidate (name varchar, people_id varchar, PRIMARY KEY (name)); create table people (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select people_id from candidate)" + }, + { + "question": "what's the\u00a0title\u00a0with\u00a0original air date\u00a0being september23,1995", + "context": "create table table_14637853_3 (title varchar, original_air_date varchar, PRIMARY KEY (title))", + "answer": "select title from table_14637853_3 where original_air_date = \"september23,1995\"" + }, + { + "question": "Incumbent Deborah Pryce was a member of what party?", + "context": "create table table_1341395_36 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341395_36 where incumbent = \"deborah pryce\"" + }, + { + "question": "What was the report for the Sunday race where the winner had an average speed of 128.27 mph?", + "context": "create table table_22298383_1 (report varchar, day varchar, average_speed__mph_ varchar, PRIMARY KEY (report))", + "answer": "select report from table_22298383_1 where day = \"sunday\" and average_speed__mph_ = \"128.27\"" + }, + { + "question": "what is the title where the airdate is december 5, 1964?", + "context": "create table table_25800134_9 (title varchar, airdate varchar, PRIMARY KEY (title))", + "answer": "select title from table_25800134_9 where airdate = \"december 5, 1964\"" + }, + { + "question": "Find the different first names and cities of the students who have allergy to milk or cat.", + "context": "create table has_allergy (stuid varchar, allergy varchar, PRIMARY KEY (stuid)); create table student (fname varchar, city_code varchar, stuid varchar, PRIMARY KEY (fname))", + "answer": "select distinct t1.fname, t1.city_code from student as t1 join has_allergy as t2 on t1.stuid = t2.stuid where t2.allergy = \"milk\" or t2.allergy = \"cat\"" + }, + { + "question": "Find the total and average amount of settlements.", + "context": "create table settlements (settlement_amount integer, PRIMARY KEY (settlement_amount))", + "answer": "select sum(settlement_amount), avg(settlement_amount) from settlements" + }, + { + "question": "How many brandings are there where the Power kW (ERP) is 1kW (29.94kW ERP)?", + "context": "create table table_2610582_2 (branding varchar, power_kw__erp_ varchar, PRIMARY KEY (branding))", + "answer": "select count(branding) from table_2610582_2 where power_kw__erp_ = \"1kw (29.94kw erp)\"" + }, + { + "question": "how many\u00a0canton\u00a0with\u00a0commune\u00a0being waldbillig", + "context": "create table table_1417184_1 (canton varchar, commune varchar, PRIMARY KEY (canton))", + "answer": "select count(canton) from table_1417184_1 where commune = \"waldbillig\"" + }, + { + "question": "what's the\u00a0numer of jamaicans granted british citizenship\u00a0with\u00a0naturalisation by residence\u00a0being 927", + "context": "create table table_11214212_1 (numer_of_jamaicans_granted_british_citizenship varchar, naturalisation_by_residence varchar, PRIMARY KEY (numer_of_jamaicans_granted_british_citizenship))", + "answer": "select numer_of_jamaicans_granted_british_citizenship from table_11214212_1 where naturalisation_by_residence = 927" + }, + { + "question": "What's the lower house majority in the state whose Senior senator is J. Shaheen?", + "context": "create table table_21531764_2 (lower_house_majority varchar, senior_us_senator varchar, PRIMARY KEY (lower_house_majority))", + "answer": "select lower_house_majority from table_21531764_2 where senior_us_senator = \"j. shaheen\"" + }, + { + "question": "Name the aircraft type for jagdgeschwader 26", + "context": "create table table_28342423_1 (aircraft_type varchar, parent_unit varchar, PRIMARY KEY (aircraft_type))", + "answer": "select aircraft_type from table_28342423_1 where parent_unit = \"jagdgeschwader 26\"" + }, + { + "question": "Who are all the candidates vying for Henry B. Gonzalez' seat?", + "context": "create table table_1341586_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341586_44 where incumbent = \"henry b. gonzalez\"" + }, + { + "question": "What was the mls cup playoffs when concacaf champions cup / concacaf champions league was quarter-finals (09-10)?", + "context": "create table table_245695_2 (mls_cup_playoffs varchar, concacaf_champions_cup___concacaf_champions_league varchar, PRIMARY KEY (mls_cup_playoffs))", + "answer": "select mls_cup_playoffs from table_245695_2 where concacaf_champions_cup___concacaf_champions_league = \"quarter-finals (09-10)\"" + }, + { + "question": "If the UK air date is February 18, 2013, who was the episode written by?", + "context": "create table table_25640730_7 (written_by varchar, uk_air_date varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_25640730_7 where uk_air_date = \"february 18, 2013\"" + }, + { + "question": "What is the affiliation of Davenport University?", + "context": "create table table_28211213_1 (affiliation varchar, institution varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_28211213_1 where institution = \"davenport university\"" + }, + { + "question": "How many lap two's did marco andretti do?", + "context": "create table table_23018775_3 (lap_two varchar, name varchar, PRIMARY KEY (lap_two))", + "answer": "select count(lap_two) from table_23018775_3 where name = \"marco andretti\"" + }, + { + "question": "When do all the researcher role staff start to work, and when do they stop working?", + "context": "create table project_staff (date_from varchar, date_to varchar, role_code varchar, PRIMARY KEY (date_from))", + "answer": "select date_from, date_to from project_staff where role_code = 'researcher'" + }, + { + "question": "What is the epa rated combined fuel economy for the Nissan Leaf?", + "context": "create table table_23840623_4 (epa_rated_combined_fuel_economy varchar, vehicle varchar, PRIMARY KEY (epa_rated_combined_fuel_economy))", + "answer": "select epa_rated_combined_fuel_economy from table_23840623_4 where vehicle = \"nissan leaf\"" + }, + { + "question": "How many different scientists are assigned to any project?", + "context": "create table assignedto (scientist varchar, PRIMARY KEY (scientist))", + "answer": "select count(distinct scientist) from assignedto" + }, + { + "question": "How many editions did Club Q-base concept have ?", + "context": "create table table_29788320_2 (number_of_editions varchar, concept varchar, PRIMARY KEY (number_of_editions))", + "answer": "select count(number_of_editions) from table_29788320_2 where concept = \"club q-base\"" + }, + { + "question": "what is the name of award when the awardee(s) is elangbam natasha?", + "context": "create table table_25926120_7 (name_of_award varchar, awardee_s_ varchar, PRIMARY KEY (name_of_award))", + "answer": "select name_of_award from table_25926120_7 where awardee_s_ = \"elangbam natasha\"" + }, + { + "question": "Name the incumbent for jacob spangler (dr) 67.1% jacob hay (f) 32.9%", + "context": "create table table_2668347_17 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_2668347_17 where candidates = \"jacob spangler (dr) 67.1% jacob hay (f) 32.9%\"" + }, + { + "question": "Who are all providers with destination of Liverpool?", + "context": "create table table_3005999_1 (provider varchar, destination varchar, PRIMARY KEY (provider))", + "answer": "select provider from table_3005999_1 where destination = \"liverpool\"" + }, + { + "question": "What value can you find under the column \"august 21-22\" and the row of June 11, 1983?", + "context": "create table table_22651355_3 (august_21_22 varchar, june_10_11 varchar, PRIMARY KEY (august_21_22))", + "answer": "select august_21_22 from table_22651355_3 where june_10_11 = \"june 11, 1983\"" + }, + { + "question": "list the first and last names, and the addresses of all employees in the ascending order of their birth date.", + "context": "create table employee (fname varchar, lname varchar, address varchar, bdate varchar, PRIMARY KEY (fname))", + "answer": "select fname, lname, address from employee order by bdate" + }, + { + "question": "On how many different dates was the episode written by Charlie Day aired for the first time?", + "context": "create table table_29273115_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_29273115_1 where written_by = \"charlie day\"" + }, + { + "question": "List every album ordered by album title in ascending order.", + "context": "create table albums (title varchar, PRIMARY KEY (title))", + "answer": "select title from albums order by title" + }, + { + "question": "What year did jaroslav vojtek category:articles with hcards Direct?", + "context": "create table table_22032599_1 (year__ceremony_ varchar, director varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_22032599_1 where director = \"jaroslav vojtek category:articles with hcards\"" + }, + { + "question": "What was the outcome in the 2010 Europe/Africa Group IIB edition?", + "context": "create table table_27877656_8 (outcome varchar, edition varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_27877656_8 where edition = \"2010 europe/africa group iib\"" + }, + { + "question": "Show the property type descriptions of properties belonging to that code.", + "context": "create table properties (property_type_code varchar, PRIMARY KEY (property_type_code)); create table ref_property_types (property_type_description varchar, property_type_code varchar, PRIMARY KEY (property_type_description))", + "answer": "select t2.property_type_description from properties as t1 join ref_property_types as t2 on t1.property_type_code = t2.property_type_code group by t1.property_type_code" + }, + { + "question": "Show publishers that have more than one publication.", + "context": "create table publication (publisher varchar, PRIMARY KEY (publisher))", + "answer": "select publisher from publication group by publisher having count(*) > 1" + }, + { + "question": "Find the name of route that has the highest number of deliveries.", + "context": "create table delivery_routes (route_name varchar, route_id varchar, PRIMARY KEY (route_name)); create table delivery_route_locations (route_id varchar, PRIMARY KEY (route_id))", + "answer": "select t1.route_name from delivery_routes as t1 join delivery_route_locations as t2 on t1.route_id = t2.route_id group by t1.route_id order by count(*) desc limit 1" + }, + { + "question": "What is the 2012 election results for locations whose representative is Barbara Lee?", + "context": "create table table_19283806_4 (representative varchar, PRIMARY KEY (representative))", + "answer": "select 2012 as _election_results from table_19283806_4 where representative = \"barbara lee\"" + }, + { + "question": "Find the titles of the papers that contain the word \"ML\".", + "context": "create table papers (title varchar, PRIMARY KEY (title))", + "answer": "select title from papers where title like \"%ml%\"" + }, + { + "question": "When t3 is the best finish what is the lowest amount of tournaments played?", + "context": "create table table_24330912_1 (tournaments_played integer, best_finish varchar, PRIMARY KEY (tournaments_played))", + "answer": "select min(tournaments_played) from table_24330912_1 where best_finish = \"t3\"" + }, + { + "question": "Name the number of troops for troops per $1 billion being 2.45", + "context": "create table table_30108346_1 (number_of_troops varchar, troops_per_$1_billion___usd___gdp varchar, PRIMARY KEY (number_of_troops))", + "answer": "select count(number_of_troops) from table_30108346_1 where troops_per_$1_billion___usd___gdp = \"2.45\"" + }, + { + "question": "Which song has Drunkard Groom listed as additional information?", + "context": "create table table_2528382_1 (song varchar, additional_info varchar, PRIMARY KEY (song))", + "answer": "select song from table_2528382_1 where additional_info = \"drunkard groom\"" + }, + { + "question": "How many elections have resulted in retired democratic hold?", + "context": "create table table_1341453_34 (party varchar, results varchar, PRIMARY KEY (party))", + "answer": "select count(party) from table_1341453_34 where results = \"retired democratic hold\"" + }, + { + "question": "How many continents are there?", + "context": "create table continents (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from continents" + }, + { + "question": "Which team played them when andray blatche , javale mcgee (20) had the high points?", + "context": "create table table_27721131_6 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_27721131_6 where high_points = \"andray blatche , javale mcgee (20)\"" + }, + { + "question": "Which episodes originally aired on April 19, 2010?", + "context": "create table table_22170495_7 (title varchar, original_airing varchar, PRIMARY KEY (title))", + "answer": "select title from table_22170495_7 where original_airing = \"april 19, 2010\"" + }, + { + "question": "How many editions have a most wins value of Franco Marvulli (4)?", + "context": "create table table_1840433_2 (number_of_editions varchar, most_wins_by varchar, PRIMARY KEY (number_of_editions))", + "answer": "select count(number_of_editions) from table_1840433_2 where most_wins_by = \"franco marvulli (4)\"" + }, + { + "question": "For the race called by Marshall Cassidy, who was the host?", + "context": "create table table_22583466_5 (s_host varchar, race_caller varchar, PRIMARY KEY (s_host))", + "answer": "select s_host from table_22583466_5 where race_caller = \"marshall cassidy\"" + }, + { + "question": "What was the vote swing for the general election of the 12th lok sabha?", + "context": "create table table_149330_1 (votes_swing varchar, general_election varchar, PRIMARY KEY (votes_swing))", + "answer": "select votes_swing from table_149330_1 where general_election = \"12th lok sabha\"" + }, + { + "question": "Find the last names of students studying in room 111.", + "context": "create table list (lastname varchar, classroom varchar, PRIMARY KEY (lastname))", + "answer": "select lastname from list where classroom = 111" + }, + { + "question": "Find the department name of the instructor whose name contains 'Soisalon'.", + "context": "create table instructor (dept_name varchar, name varchar, PRIMARY KEY (dept_name))", + "answer": "select dept_name from instructor where name like '%soisalon%'" + }, + { + "question": "What is the p1 diameter (mm) when .300 lapua magnum is the chambering?", + "context": "create table table_26967904_2 (p1_diameter__mm_ varchar, chambering varchar, PRIMARY KEY (p1_diameter__mm_))", + "answer": "select p1_diameter__mm_ from table_26967904_2 where chambering = \".300 lapua magnum\"" + }, + { + "question": "how many times is the co-singer suresh wadkar and the film name is tera dukh mera dukh?", + "context": "create table table_11827596_2 (lyricist varchar, co_singer varchar, film_name varchar, PRIMARY KEY (lyricist))", + "answer": "select count(lyricist) from table_11827596_2 where co_singer = \"suresh wadkar\" and film_name = \"tera dukh mera dukh\"" + }, + { + "question": "What regions of the USSR have a percentage of deportees of 10.6?", + "context": "create table table_16048129_5 (region_of_ussr varchar, _percentage_of_total_deportees varchar, PRIMARY KEY (region_of_ussr))", + "answer": "select region_of_ussr from table_16048129_5 where _percentage_of_total_deportees = \"10.6\"" + }, + { + "question": "How many game sites are there where the team record is 1\u20137?", + "context": "create table table_25380472_2 (game_site varchar, team_record varchar, PRIMARY KEY (game_site))", + "answer": "select count(game_site) from table_25380472_2 where team_record = \"1\u20137\"" + }, + { + "question": "How many times does November 3rd occur when January 15, 1991 does?", + "context": "create table table_25235489_2 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3))", + "answer": "select count(november_3) from table_25235489_2 where january_15_16 = \"january 15, 1991\"" + }, + { + "question": "What is the ethnic majority in the only town?", + "context": "create table table_2562572_11 (largest_ethnic_group__2002_ varchar, type varchar, PRIMARY KEY (largest_ethnic_group__2002_))", + "answer": "select largest_ethnic_group__2002_ from table_2562572_11 where type = \"town\"" + }, + { + "question": "Who is the player name when eastern michigan is the college?", + "context": "create table table_20871703_1 (player_name varchar, college varchar, PRIMARY KEY (player_name))", + "answer": "select player_name from table_20871703_1 where college = \"eastern michigan\"" + }, + { + "question": "Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games.", + "context": "create table plays_games (stuid varchar, gameid varchar, PRIMARY KEY (stuid)); create table student (lname varchar, sex varchar, stuid varchar, PRIMARY KEY (lname)); create table video_games (gameid varchar, gname varchar, PRIMARY KEY (gameid))", + "answer": "select lname, sex from student where stuid in (select t1.stuid from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid where t2.gname = \"call of destiny\" intersect select t1.stuid from plays_games as t1 join video_games as t2 on t1.gameid = t2.gameid where t2.gname = \"works of widenius\")" + }, + { + "question": "What is the most recent final result for the years (won in bold) 1979?", + "context": "create table table_1463332_2 (most_recent_final varchar, years__won_in_bold_ varchar, PRIMARY KEY (most_recent_final))", + "answer": "select most_recent_final from table_1463332_2 where years__won_in_bold_ = \"1979\"" + }, + { + "question": "What is the nickname of the team whose 2013/2014 enrollment is 436?", + "context": "create table table_18304058_2 (nickname_s_ varchar, enrollment__2013_14_ varchar, PRIMARY KEY (nickname_s_))", + "answer": "select nickname_s_ from table_18304058_2 where enrollment__2013_14_ = 436" + }, + { + "question": "what is the maximum\u00a0bush#\u00a0with\u00a0others%\u00a0being 1.57%", + "context": "create table table_13608101_1 (bush_number integer, others_percentage varchar, PRIMARY KEY (bush_number))", + "answer": "select max(bush_number) from table_13608101_1 where others_percentage = \"1.57%\"" + }, + { + "question": "Who was the new Santos manager?", + "context": "create table table_29414946_3 (replaced_by varchar, team varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_29414946_3 where team = \"santos\"" + }, + { + "question": "How many people had high rebounds during the game with a record of 34-32?", + "context": "create table table_23248940_10 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select count(high_rebounds) from table_23248940_10 where record = \"34-32\"" + }, + { + "question": "Find the number of members of club \"Pen and Paper Gaming\".", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"pen and paper gaming\"" + }, + { + "question": "Name what succeeded by for foam", + "context": "create table table_1601027_2 (succeeded_by varchar, earpads varchar, PRIMARY KEY (succeeded_by))", + "answer": "select succeeded_by from table_1601027_2 where earpads = \"foam\"" + }, + { + "question": "How many endowments does Mosaic Stadium have?", + "context": "create table table_12896884_1 (endowment varchar, football_stadium varchar, PRIMARY KEY (endowment))", + "answer": "select count(endowment) from table_12896884_1 where football_stadium = \"mosaic stadium\"" + }, + { + "question": "Who are all of the candidates in the election featuring james r. domengeaux?", + "context": "create table table_1342256_18 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342256_18 where incumbent = \"james r. domengeaux\"" + }, + { + "question": "How many millions of U.S viewers watched the episode written by Liz Feldman?", + "context": "create table table_29920800_1 (us_viewers__million_ varchar, written_by varchar, PRIMARY KEY (us_viewers__million_))", + "answer": "select us_viewers__million_ from table_29920800_1 where written_by = \"liz feldman\"" + }, + { + "question": "What is the broadcast date of the episode on 16mm t/r that ran 23:25?", + "context": "create table table_2101431_1 (broadcast_date varchar, archive varchar, run_time varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2101431_1 where archive = \"16mm t/r\" and run_time = \"23:25\"" + }, + { + "question": "What was the total in Brooklyn when Manhattan was 3,139?", + "context": "create table table_1108394_6 (brooklyn varchar, manhattan varchar, PRIMARY KEY (brooklyn))", + "answer": "select brooklyn from table_1108394_6 where manhattan = \"3,139\"" + }, + { + "question": "When oslo is 48, what is stavanger?", + "context": "create table table_19439864_2 (stavanger integer, oslo varchar, PRIMARY KEY (stavanger))", + "answer": "select min(stavanger) from table_19439864_2 where oslo = 48" + }, + { + "question": "How many parties do we have?", + "context": "create table party (party_name varchar, PRIMARY KEY (party_name))", + "answer": "select count(distinct party_name) from party" + }, + { + "question": "What is the title of every song, and how many weeks was each song at #1 for Rihanna in 2012?", + "context": "create table table_19542477_9 (song_s__\u2014_weeks varchar, issue_years varchar, artist_s_ varchar, PRIMARY KEY (song_s__\u2014_weeks))", + "answer": "select song_s__\u2014_weeks from table_19542477_9 where issue_years = 2012 and artist_s_ = \"rihanna\"" + }, + { + "question": "What is shown for november 3 when august 21-22 is august 22, 1998?", + "context": "create table table_25355501_2 (november_3 varchar, august_21_22 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25355501_2 where august_21_22 = \"august 22, 1998\"" + }, + { + "question": "What is the minimum population of the region in which Roskilde is the largest city?", + "context": "create table table_16278602_1 (_2008_ varchar, population__january_1 integer, largest_city varchar, PRIMARY KEY (_2008_))", + "answer": "select min(population__january_1), _2008_ from table_16278602_1 where largest_city = \"roskilde\"" + }, + { + "question": "List the emails of the professionals who live in the state of Hawaii or the state of Wisconsin.", + "context": "create table professionals (email_address varchar, state varchar, PRIMARY KEY (email_address))", + "answer": "select email_address from professionals where state = 'hawaii' or state = 'wisconsin'" + }, + { + "question": "Show all the Store_Name of drama workshop groups.", + "context": "create table drama_workshop_groups (store_name varchar, PRIMARY KEY (store_name))", + "answer": "select store_name from drama_workshop_groups" + }, + { + "question": "Who was the bowler when the batsmen was dwaraka ravi teja rp singh pragyan ojha?", + "context": "create table table_22962745_35 (bowler varchar, batsmen varchar, PRIMARY KEY (bowler))", + "answer": "select bowler from table_22962745_35 where batsmen = \"dwaraka ravi teja rp singh pragyan ojha\"" + }, + { + "question": "What is the name of the city/municipality if the population is 1,388.88?", + "context": "create table table_232458_1 (city___municipality varchar, pop_density__per_km\u00b2_ varchar, PRIMARY KEY (city___municipality))", + "answer": "select city___municipality from table_232458_1 where pop_density__per_km\u00b2_ = \"1,388.88\"" + }, + { + "question": "What is the Segment B when the Segment D is s Hammock?", + "context": "create table table_15187735_6 (segment_b varchar, segment_d varchar, PRIMARY KEY (segment_b))", + "answer": "select segment_b from table_15187735_6 where segment_d = \"s hammock\"" + }, + { + "question": "How many locations were there when sydney was the home team?", + "context": "create table table_16388478_2 (ground varchar, home_team varchar, PRIMARY KEY (ground))", + "answer": "select count(ground) from table_16388478_2 where home_team = \"sydney\"" + }, + { + "question": "How many original air dates for the episode written by David H. Goodman & Andrew Kreisberg?", + "context": "create table table_24649082_1 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_24649082_1 where written_by = \"david h. goodman & andrew kreisberg\"" + }, + { + "question": "How many head coaches did Kent state golden flashes have?", + "context": "create table table_28418916_3 (opponents_head_coach varchar, fbs_opponent varchar, PRIMARY KEY (opponents_head_coach))", + "answer": "select count(opponents_head_coach) from table_28418916_3 where fbs_opponent = \"kent state golden flashes\"" + }, + { + "question": "What is the venue of the game with Man of the Match Vaclav Zavoral?", + "context": "create table table_17120964_8 (venue varchar, man_of_the_match varchar, PRIMARY KEY (venue))", + "answer": "select venue from table_17120964_8 where man_of_the_match = \"vaclav zavoral\"" + }, + { + "question": "What episode number had a cable ranking of 8?", + "context": "create table table_24399615_4 (episode_no integer, cable_rank varchar, PRIMARY KEY (episode_no))", + "answer": "select min(episode_no) from table_24399615_4 where cable_rank = \"8\"" + }, + { + "question": "Who had the highest points during the game with a record of 2-7?", + "context": "create table table_23274514_4 (high_points varchar, record varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_23274514_4 where record = \"2-7\"" + }, + { + "question": "How many available hotels are there in total?", + "context": "create table hotels (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from hotels" + }, + { + "question": "Name the population when the capital is tarnopol", + "context": "create table table_14245_3 (population__1931__in_1 varchar, capital varchar, PRIMARY KEY (population__1931__in_1))", + "answer": "select population__1931__in_1, 000 as s from table_14245_3 where capital = \"tarnopol\"" + }, + { + "question": "who is the the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%", + "context": "create table table_1342013_34 (incumbent varchar, candidates varchar, PRIMARY KEY (incumbent))", + "answer": "select incumbent from table_1342013_34 where candidates = \"john m. vorys (r) 61.5% jacob f. myers (d) 38.5%\"" + }, + { + "question": "How many distinct countries are the climbers from?", + "context": "create table climber (country varchar, PRIMARY KEY (country))", + "answer": "select count(distinct country) from climber" + }, + { + "question": "What's the English name for the month with \u0e1e.\u0e22. abbreviation?", + "context": "create table table_180802_2 (english_name varchar, abbr varchar, PRIMARY KEY (english_name))", + "answer": "select english_name from table_180802_2 where abbr = \"\u0e1e.\u0e22.\"" + }, + { + "question": "What are the shot percentages for teams that played in switzerland?", + "context": "create table table_1644876_2 (shot__percentage varchar, locale varchar, switzerland varchar, PRIMARY KEY (shot__percentage))", + "answer": "select shot__percentage from table_1644876_2 where locale = \"switzerland\"" + }, + { + "question": "How was times was the dance the jive and the week # was 10?", + "context": "create table table_1276219_1 (phillips varchar, dance varchar, week__number varchar, PRIMARY KEY (phillips))", + "answer": "select count(phillips) from table_1276219_1 where dance = \"jive\" and week__number = \"10\"" + }, + { + "question": "Which team drafted a player from HC Slavia Praha (Czechoslovakia)?", + "context": "create table table_2850912_10 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_2850912_10 where college_junior_club_team = \"hc slavia praha (czechoslovakia)\"" + }, + { + "question": "Who wrote all the shows with 18.73 u.s. viewers?", + "context": "create table table_1130632_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_1130632_1 where us_viewers__million_ = \"18.73\"" + }, + { + "question": "Name the number one singles for week 1 being 5", + "context": "create table table_27441210_20 (number_one_single_s_ varchar, weeks_at__number1 varchar, PRIMARY KEY (number_one_single_s_))", + "answer": "select number_one_single_s_ from table_27441210_20 where weeks_at__number1 = 5" + }, + { + "question": "Find the names of females who are friends with Zach", + "context": "create table personfriend (name varchar, friend varchar, PRIMARY KEY (name)); create table person (name varchar, gender varchar, PRIMARY KEY (name))", + "answer": "select t1.name from person as t1 join personfriend as t2 on t1.name = t2.name where t2.friend = 'zach' and t1.gender = 'female'" + }, + { + "question": "What was Staten Island when Brooklyn was 940?", + "context": "create table table_1108394_6 (staten_island varchar, brooklyn varchar, PRIMARY KEY (staten_island))", + "answer": "select staten_island from table_1108394_6 where brooklyn = \"940\"" + }, + { + "question": "What is the description of the service type which offers both the photo product and the film product?", + "context": "create table ref_service_types (service_type_description varchar, service_type_code varchar, PRIMARY KEY (service_type_description)); create table services (service_type_code varchar, product_name varchar, PRIMARY KEY (service_type_code))", + "answer": "select t1.service_type_description from ref_service_types as t1 join services as t2 on t1.service_type_code = t2.service_type_code where t2.product_name = 'photo' intersect select t1.service_type_description from ref_service_types as t1 join services as t2 on t1.service_type_code = t2.service_type_code where t2.product_name = 'film'" + }, + { + "question": "What is the name and id of the department with the most number of degrees ?", + "context": "create table degree_programs (department_id varchar, PRIMARY KEY (department_id)); create table departments (department_name varchar, department_id varchar, PRIMARY KEY (department_name))", + "answer": "select t2.department_name, t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1" + }, + { + "question": "WHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?", + "context": "create table table_14903627_1 (mens_doubles varchar, womens_doubles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_14903627_1 where womens_doubles = \"piret hamer helen reino\"" + }, + { + "question": "If the winner is Michael Albasini, what is the mountains classification name?", + "context": "create table table_22941863_19 (mountains_classification varchar, winner varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_22941863_19 where winner = \"michael albasini\"" + }, + { + "question": "What is the Fri 3 June time for the rider with a Weds 1 June time of 18' 22.66 123.182mph?", + "context": "create table table_29218221_2 (fri_3_june varchar, wed_1_june varchar, PRIMARY KEY (fri_3_june))", + "answer": "select fri_3_june from table_29218221_2 where wed_1_june = \"18' 22.66 123.182mph\"" + }, + { + "question": "What is the e/vap value for a turnout of exactly 85.7%?", + "context": "create table table_2683116_1 (e varchar, vap varchar, turnout varchar, PRIMARY KEY (e))", + "answer": "select e / vap from table_2683116_1 where turnout = \"85.7%\"" + }, + { + "question": "How many original air dates totaled 26.06 million viewers?", + "context": "create table table_18217753_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_18217753_1 where us_viewers__millions_ = \"26.06\"" + }, + { + "question": "How many have been replaced where the appointment date is 10 December 2007 and the manner of departure is quit?", + "context": "create table table_11713303_2 (replaced_by varchar, date_of_appointment varchar, manner_of_departure varchar, PRIMARY KEY (replaced_by))", + "answer": "select count(replaced_by) from table_11713303_2 where date_of_appointment = \"10 december 2007\" and manner_of_departure = \"quit\"" + }, + { + "question": "Who was the arranger for the track written by Nizar Francis ?", + "context": "create table table_14778650_1 (arranger varchar, writer varchar, PRIMARY KEY (arranger))", + "answer": "select arranger from table_14778650_1 where writer = \"nizar francis\"" + }, + { + "question": "Who is the top scorer where gf is 41?", + "context": "create table table_1218784_1 (top_scorer varchar, gf varchar, PRIMARY KEY (top_scorer))", + "answer": "select top_scorer from table_1218784_1 where gf = 41" + }, + { + "question": "What is the rnag for lyric fm 98.7?", + "context": "create table table_18475946_2 (rnag__mhz_ varchar, lyric_fm__mhz_ varchar, PRIMARY KEY (rnag__mhz_))", + "answer": "select rnag__mhz_ from table_18475946_2 where lyric_fm__mhz_ = \"98.7\"" + }, + { + "question": "What wiaa classifications does vancouver itech prepratory have?", + "context": "create table table_22058547_1 (wiaa_classification varchar, high_school varchar, PRIMARY KEY (wiaa_classification))", + "answer": "select wiaa_classification from table_22058547_1 where high_school = \"vancouver itech prepratory\"" + }, + { + "question": "What is every original game for the artist Lynyrd Skynyrd?", + "context": "create table table_21500850_1 (original_game varchar, artist varchar, PRIMARY KEY (original_game))", + "answer": "select original_game from table_21500850_1 where artist = \"lynyrd skynyrd\"" + }, + { + "question": "what's the\u00a0turing complete\u00a0with\u00a0numeral system\u00a0being decimal", + "context": "create table table_13636_1 (turing_complete varchar, numeral_system varchar, PRIMARY KEY (turing_complete))", + "answer": "select turing_complete from table_13636_1 where numeral_system = \"decimal\"" + }, + { + "question": "What is \"the w\u00f8rd\" when guests were daniel ellsberg , william wegman , julie taymor?", + "context": "create table table_25691838_12 (the_w\u00f8rd varchar, guest varchar, PRIMARY KEY (the_w\u00f8rd))", + "answer": "select the_w\u00f8rd from table_25691838_12 where guest = \"daniel ellsberg , william wegman , julie taymor\"" + }, + { + "question": "How many people vacated to successor Dave E. Satterfield, Jr. (d)?", + "context": "create table table_2159547_3 (vacator varchar, successor varchar, PRIMARY KEY (vacator))", + "answer": "select count(vacator) from table_2159547_3 where successor = \"dave e. satterfield, jr. (d)\"" + }, + { + "question": "Name where bethany college is", + "context": "create table table_262476_1 (location varchar, institution varchar, PRIMARY KEY (location))", + "answer": "select location from table_262476_1 where institution = \"bethany college\"" + }, + { + "question": "When 3.29% was the average per candidate, what was the number of average votes per candidate?", + "context": "create table table_28819393_1 (average_votes_per_candidate integer, average__percentage_of_vote_per_candidate varchar, PRIMARY KEY (average_votes_per_candidate))", + "answer": "select min(average_votes_per_candidate) from table_28819393_1 where average__percentage_of_vote_per_candidate = \"3.29\"" + }, + { + "question": "How many appointments are there?", + "context": "create table appointment (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from appointment" + }, + { + "question": "What are the network protocols for the model that has been discontinued in favor of the EN1700?", + "context": "create table table_1300080_1 (network_protocols varchar, notes varchar, PRIMARY KEY (network_protocols))", + "answer": "select network_protocols from table_1300080_1 where notes = \"discontinued in favor of the en1700\"" + }, + { + "question": "when did new zealand last compete?", + "context": "create table table_14308895_2 (last_competed integer, country_territory varchar, PRIMARY KEY (last_competed))", + "answer": "select max(last_competed) from table_14308895_2 where country_territory = \"new zealand\"" + }, + { + "question": "To which organziation does the winnipeg jets belong to?", + "context": "create table table_2850912_12 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team))", + "answer": "select college_junior_club_team from table_2850912_12 where nhl_team = \"winnipeg jets\"" + }, + { + "question": "What is the date of vacancy when the team is manchester city and replaced by is mark hughes?", + "context": "create table table_10592536_8 (date_of_vacancy varchar, team varchar, replaced_by varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_10592536_8 where team = \"manchester city\" and replaced_by = \"mark hughes\"" + }, + { + "question": "Who played in group 12 when Group 9 played psid jombang?", + "context": "create table table_19523142_5 (group_12 varchar, group_9 varchar, PRIMARY KEY (group_12))", + "answer": "select group_12 from table_19523142_5 where group_9 = \"psid jombang\"" + }, + { + "question": "What was the team's record when they played minnesota?", + "context": "create table table_27700530_9 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_27700530_9 where team = \"minnesota\"" + }, + { + "question": "Show the apartment numbers of apartments with unit status availability of both 0 and 1.", + "context": "create table view_unit_status (apt_id varchar, available_yn varchar, PRIMARY KEY (apt_id)); create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number))", + "answer": "select t1.apt_number from apartments as t1 join view_unit_status as t2 on t1.apt_id = t2.apt_id where t2.available_yn = 0 intersect select t1.apt_number from apartments as t1 join view_unit_status as t2 on t1.apt_id = t2.apt_id where t2.available_yn = 1" + }, + { + "question": "Which team had goal averages of 1.34?", + "context": "create table table_17366952_1 (team varchar, goal_average_1 varchar, PRIMARY KEY (team))", + "answer": "select team from table_17366952_1 where goal_average_1 = \"1.34\"" + }, + { + "question": "What is the cyrillic name for Budisava?", + "context": "create table table_2562572_9 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names))", + "answer": "select cyrillic_name_other_names from table_2562572_9 where settlement = \"budisava\"" + }, + { + "question": "Who was responsible for the design of the Jasper National Park theme?", + "context": "create table table_11900773_5 (design varchar, theme varchar, PRIMARY KEY (design))", + "answer": "select design from table_11900773_5 where theme = \"jasper national park\"" + }, + { + "question": "How many colors are never used by any product?", + "context": "create table products (color_code varchar, PRIMARY KEY (color_code)); create table ref_colors (color_code varchar, PRIMARY KEY (color_code))", + "answer": "select count(*) from ref_colors where not color_code in (select color_code from products)" + }, + { + "question": "What are the phones and emails of workshop groups in which services are performed?", + "context": "create table services (workshop_group_id varchar, PRIMARY KEY (workshop_group_id)); create table drama_workshop_groups (store_phone varchar, store_email_address varchar, workshop_group_id varchar, PRIMARY KEY (store_phone))", + "answer": "select t1.store_phone, t1.store_email_address from drama_workshop_groups as t1 join services as t2 on t1.workshop_group_id = t2.workshop_group_id" + }, + { + "question": "What is Kent State University's team nickname?", + "context": "create table table_26351260_1 (team_nickname varchar, institution varchar, PRIMARY KEY (team_nickname))", + "answer": "select team_nickname from table_26351260_1 where institution = \"kent state university\"" + }, + { + "question": "what are all the playoffs for u.s. open cup in 1st round", + "context": "create table table_1046170_5 (playoffs varchar, us_open_cup varchar, PRIMARY KEY (playoffs))", + "answer": "select playoffs from table_1046170_5 where us_open_cup = \"1st round\"" + }, + { + "question": "When did 6.09 million people in the US see the original airing of an episode of the show?", + "context": "create table table_23242933_2 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_23242933_2 where us_viewers__millions_ = \"6.09\"" + }, + { + "question": "Name the notes for samangan", + "context": "create table table_16278349_1 (notes varchar, province varchar, PRIMARY KEY (notes))", + "answer": "select notes from table_16278349_1 where province = \"samangan\"" + }, + { + "question": "what is the mexico stat where ma\u00f1ana es para siempre is love never dies", + "context": "create table table_18498743_1 (mexico varchar, ma\u00f1ana_es_para_siempre varchar, PRIMARY KEY (mexico))", + "answer": "select mexico from table_18498743_1 where ma\u00f1ana_es_para_siempre = \"love never dies\"" + }, + { + "question": "What is listed under chister tornell when karianne gulliksen is 7?", + "context": "create table table_28677723_10 (christer_tornell integer, karianne_gulliksen varchar, PRIMARY KEY (christer_tornell))", + "answer": "select min(christer_tornell) from table_28677723_10 where karianne_gulliksen = 7" + }, + { + "question": "What is the name of the 375 crest length?", + "context": "create table table_10020178_1 (name varchar, crest_length__meters_ varchar, PRIMARY KEY (name))", + "answer": "select name from table_10020178_1 where crest_length__meters_ = 375" + }, + { + "question": "What are the school colors of the University of New Hampshire?", + "context": "create table table_1221089_1 (colors varchar, institution varchar, PRIMARY KEY (colors))", + "answer": "select colors from table_1221089_1 where institution = \"university of new hampshire\"" + }, + { + "question": "Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit?", + "context": "create table table_16670746_2 (fastest_lap varchar, winning_team varchar, circuit varchar, PRIMARY KEY (fastest_lap))", + "answer": "select fastest_lap from table_16670746_2 where winning_team = \"team impul\" and circuit = \"twin ring motegi\"" + }, + { + "question": "When ale is the main sponsor who is the secondary sponsor?", + "context": "create table table_187239_1 (secondary_sponsor varchar, main_sponsor varchar, PRIMARY KEY (secondary_sponsor))", + "answer": "select secondary_sponsor from table_187239_1 where main_sponsor = \"ale\"" + }, + { + "question": "How many songs received a 10 from Goodman and were rated by Tonioli?", + "context": "create table table_1014319_1 (tonioli varchar, goodman varchar, PRIMARY KEY (tonioli))", + "answer": "select count(tonioli) from table_1014319_1 where goodman = \"10\"" + }, + { + "question": "What is solidv4 when sequencer is data output per run?", + "context": "create table table_127511_1 (solidv4 varchar, sequencer varchar, PRIMARY KEY (solidv4))", + "answer": "select solidv4 from table_127511_1 where sequencer = \"data output per run\"" + }, + { + "question": "Name the remarks for sawhouse", + "context": "create table table_211791_1 (remarks varchar, nato_reporting_name varchar, PRIMARY KEY (remarks))", + "answer": "select remarks from table_211791_1 where nato_reporting_name = \"sawhouse\"" + }, + { + "question": "What was the date of the series premiere whose TV network was TV3?", + "context": "create table table_29799700_2 (series_premiere varchar, tv_network_s_ varchar, PRIMARY KEY (series_premiere))", + "answer": "select series_premiere from table_29799700_2 where tv_network_s_ = \"tv3\"" + }, + { + "question": "Show the country name and capital of all countries.", + "context": "create table country (country_name varchar, capital varchar, PRIMARY KEY (country_name))", + "answer": "select country_name, capital from country" + }, + { + "question": "What type of school is Stratford University?", + "context": "create table table_2076608_1 (type varchar, school varchar, PRIMARY KEY (type))", + "answer": "select type from table_2076608_1 where school = \"stratford university\"" + }, + { + "question": "What's the smallest number of players?", + "context": "create table table_10682862_68 (players integer, PRIMARY KEY (players))", + "answer": "select min(players) from table_10682862_68" + }, + { + "question": "Against whom did the Spartans score 73 points?", + "context": "create table table_22860990_3 (opponent varchar, spartans_points varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_22860990_3 where spartans_points = 73" + }, + { + "question": "When 24:31 is the run time how many measurements of viewers (in millions) are there?", + "context": "create table table_2102945_1 (viewers__in_millions_ varchar, run_time varchar, PRIMARY KEY (viewers__in_millions_))", + "answer": "select count(viewers__in_millions_) from table_2102945_1 where run_time = \"24:31\"" + }, + { + "question": "Who directed the epsiode with production number 109?", + "context": "create table table_2400842_1 (directed_by varchar, prod__number varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_2400842_1 where prod__number = 109" + }, + { + "question": "What country does the player named Mark Cox play for?", + "context": "create table table_29302711_13 (country varchar, name varchar, PRIMARY KEY (country))", + "answer": "select country from table_29302711_13 where name = \"mark cox\"" + }, + { + "question": "How many candidates ran in the election where Mike Doyle was the incumbent?", + "context": "create table table_1341453_40 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341453_40 where incumbent = \"mike doyle\"" + }, + { + "question": "What are the names and countries of members?", + "context": "create table member (name varchar, country varchar, PRIMARY KEY (name))", + "answer": "select name, country from member" + }, + { + "question": "During November 3 where august 21-22 is august 21, 2017?", + "context": "create table table_25287007_2 (november_3 varchar, august_21_22 varchar, PRIMARY KEY (november_3))", + "answer": "select november_3 from table_25287007_2 where august_21_22 = \"august 21, 2017\"" + }, + { + "question": "What are the candidates for noah m. mason?", + "context": "create table table_1342149_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1342149_13 where incumbent = \"noah m. mason\"" + }, + { + "question": "Please show the nominee who has been nominated the greatest number of times.", + "context": "create table musical (nominee varchar, PRIMARY KEY (nominee))", + "answer": "select nominee from musical group by nominee order by count(*) desc limit 1" + }, + { + "question": "If the Close ranged weapons are the knife (stone), knife (iron), what are the Long ranged weapons?", + "context": "create table table_27704991_1 (long_ranged_weapons varchar, close_ranged_weapons varchar, PRIMARY KEY (long_ranged_weapons))", + "answer": "select long_ranged_weapons from table_27704991_1 where close_ranged_weapons = \"knife (stone), knife (iron)\"" + }, + { + "question": "Find the name of tracks which are in Movies playlist but not in music playlist.", + "context": "create table playlists (id varchar, name varchar, PRIMARY KEY (id)); create table playlist_tracks (track_id varchar, playlist_id varchar, PRIMARY KEY (track_id)); create table tracks (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'movies' except select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'music'" + }, + { + "question": "What is the no party preference when republican is 45.3%?", + "context": "create table table_27003186_3 (no_party_preference varchar, republican varchar, PRIMARY KEY (no_party_preference))", + "answer": "select no_party_preference from table_27003186_3 where republican = \"45.3%\"" + }, + { + "question": "Who were the candidates when Lamar S. Smith was incumbent?", + "context": "create table table_1341577_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1341577_44 where incumbent = \"lamar s. smith\"" + }, + { + "question": "What team did Alireza mansourian leave?", + "context": "create table table_22297198_3 (team varchar, outgoing_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_22297198_3 where outgoing_manager = \"alireza mansourian\"" + }, + { + "question": "Name the episode number for tasers and mind erasers", + "context": "create table table_24222929_4 (episode_number_production_number varchar, title varchar, PRIMARY KEY (episode_number_production_number))", + "answer": "select episode_number_production_number from table_24222929_4 where title = \"tasers and mind erasers\"" + }, + { + "question": "Name the rdiers for jir team scot motogp", + "context": "create table table_15327489_1 (riders varchar, team_name varchar, PRIMARY KEY (riders))", + "answer": "select riders from table_15327489_1 where team_name = \"jir team scot motogp\"" + }, + { + "question": "How many solar eclipse during august 21-22 and January 15-16 is 141?", + "context": "create table table_25287007_2 (august_21_22 varchar, january_15_16 varchar, PRIMARY KEY (august_21_22))", + "answer": "select august_21_22 from table_25287007_2 where january_15_16 = \"141\"" + }, + { + "question": "What is the velocity of the pilot named 'Thompson'?", + "context": "create table flight (velocity integer, pilot varchar, PRIMARY KEY (velocity))", + "answer": "select avg(velocity) from flight where pilot = 'thompson'" + }, + { + "question": "What is the location of thierry boutsen?", + "context": "create table table_1137707_2 (location varchar, fastest_lap varchar, PRIMARY KEY (location))", + "answer": "select location from table_1137707_2 where fastest_lap = \"thierry boutsen\"" + }, + { + "question": "What country offered a prize of 66400 US dollars?", + "context": "create table table_29302711_13 (country varchar, prize_money__usd_ varchar, PRIMARY KEY (country))", + "answer": "select country from table_29302711_13 where prize_money__usd_ = 66400" + }, + { + "question": "Find the first name of students who have both cat and dog pets .", + "context": "create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table has_pet (stuid varchar, petid varchar, PRIMARY KEY (stuid)); create table pets (petid varchar, pettype varchar, PRIMARY KEY (petid))", + "answer": "select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'cat' intersect select t1.fname from student as t1 join has_pet as t2 on t1.stuid = t2.stuid join pets as t3 on t3.petid = t2.petid where t3.pettype = 'dog'" + }, + { + "question": "15.03 million u.s viewers seen what episode?", + "context": "create table table_14847258_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_14847258_1 where us_viewers__millions_ = \"15.03\"" + }, + { + "question": "Name the broadcast date for 6.0 viewers", + "context": "create table table_2102782_1 (broadcast_date varchar, viewers__in_millions_ varchar, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_2102782_1 where viewers__in_millions_ = \"6.0\"" + }, + { + "question": "What was the final score for the game that was contested on February 1, 2009?", + "context": "create table table_10548224_1 (final_score varchar, date_contested varchar, PRIMARY KEY (final_score))", + "answer": "select final_score from table_10548224_1 where date_contested = \"february 1, 2009\"" + }, + { + "question": "Who had the high assists when the high rebounds were from Nick Collison (15)?", + "context": "create table table_11964154_11 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_11964154_11 where high_rebounds = \"nick collison (15)\"" + }, + { + "question": "How many titles were directed by Alex Chapple?", + "context": "create table table_21002034_4 (title varchar, director varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_21002034_4 where director = \"alex chapple\"" + }, + { + "question": "When is the finish of the season that started on September 25?", + "context": "create table table_22383603_1 (finish__incl_championship_ varchar, start__reg_season_ varchar, PRIMARY KEY (finish__incl_championship_))", + "answer": "select finish__incl_championship_ from table_22383603_1 where start__reg_season_ = \"september 25\"" + }, + { + "question": "What is the total amount o teams where winnings is $1,752,299?", + "context": "create table table_1458412_1 (team_s_ varchar, winnings varchar, PRIMARY KEY (team_s_))", + "answer": "select count(team_s_) from table_1458412_1 where winnings = \"$1,752,299\"" + }, + { + "question": "Who was the artist with a start date of 1966-10-23?", + "context": "create table table_2560677_1 (artist_s_ varchar, start_date varchar, PRIMARY KEY (artist_s_))", + "answer": "select artist_s_ from table_2560677_1 where start_date = \"1966-10-23\"" + }, + { + "question": "How many students have cat allergies?", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy))", + "answer": "select count(*) from has_allergy where allergy = \"cat\"" + }, + { + "question": "When 8.3 is the q-band what is the property?", + "context": "create table table_186468_1 (property varchar, q_band varchar, PRIMARY KEY (property))", + "answer": "select property from table_186468_1 where q_band = \"8.3\"" + }, + { + "question": "What is the lowest GDP (ppp) per capita?", + "context": "create table table_25869317_1 (gdp__ppp__per_capita integer, PRIMARY KEY (gdp__ppp__per_capita))", + "answer": "select min(gdp__ppp__per_capita) from table_25869317_1" + }, + { + "question": "Name the segment c for couscous", + "context": "create table table_15187735_3 (segment_c varchar, segment_b varchar, PRIMARY KEY (segment_c))", + "answer": "select segment_c from table_15187735_3 where segment_b = \"couscous\"" + }, + { + "question": "What is the number of artists for each gender?", + "context": "create table artist (gender varchar, PRIMARY KEY (gender))", + "answer": "select count(*), gender from artist group by gender" + }, + { + "question": "Is art school public or private?", + "context": "create table table_2076595_1 (control varchar, type varchar, PRIMARY KEY (control))", + "answer": "select control from table_2076595_1 where type = \"art school\"" + }, + { + "question": "How many cash prizes were given for the hindi language film jodhaa akbar?", + "context": "create table table_25926120_3 (cash_prize varchar, language varchar, name_of_film varchar, PRIMARY KEY (cash_prize))", + "answer": "select count(cash_prize) from table_25926120_3 where language = \"hindi\" and name_of_film = \"jodhaa akbar\"" + }, + { + "question": "Show the names of journalists that have reported more than one event.", + "context": "create table journalist (name varchar, journalist_id varchar, PRIMARY KEY (name)); create table news_report (event_id varchar, journalist_id varchar, PRIMARY KEY (event_id)); create table event (event_id varchar, PRIMARY KEY (event_id))", + "answer": "select t3.name from news_report as t1 join event as t2 on t1.event_id = t2.event_id join journalist as t3 on t1.journalist_id = t3.journalist_id group by t3.name having count(*) > 1" + }, + { + "question": "What were Cruzeiro results in the Copa Mercosur in 1998", + "context": "create table table_14962316_9 (copa_mercosur_1998 varchar, team varchar, PRIMARY KEY (copa_mercosur_1998))", + "answer": "select copa_mercosur_1998 from table_14962316_9 where team = \"cruzeiro\"" + }, + { + "question": "In how many different audition cities were the Bridgestone arena auditions held?", + "context": "create table table_27455867_1 (audition_city varchar, audition_venue varchar, PRIMARY KEY (audition_city))", + "answer": "select count(audition_city) from table_27455867_1 where audition_venue = \"bridgestone arena\"" + }, + { + "question": "What is every record for the team Boston?", + "context": "create table table_23248869_10 (record varchar, team varchar, PRIMARY KEY (record))", + "answer": "select record from table_23248869_10 where team = \"boston\"" + }, + { + "question": "Who were the opponents in the final where the score in the final is 6\u20134, 7\u20136 2?", + "context": "create table table_22597626_17 (opponents_in_the_final varchar, score_in_the_final varchar, PRIMARY KEY (opponents_in_the_final))", + "answer": "select opponents_in_the_final from table_22597626_17 where score_in_the_final = \"6\u20134, 7\u20136 2\"" + }, + { + "question": "What circuit features the placemakers v8 supercars race?", + "context": "create table table_20884163_2 (circuit varchar, race_title varchar, PRIMARY KEY (circuit))", + "answer": "select circuit from table_20884163_2 where race_title = \"placemakers v8 supercars\"" + }, + { + "question": "what is the model where the processor is yorkfield and the brand name is xeon?", + "context": "create table table_24101118_1 (model__list_ varchar, processor varchar, brand_name varchar, PRIMARY KEY (model__list_))", + "answer": "select model__list_ from table_24101118_1 where processor = \"yorkfield\" and brand_name = \"xeon\"" + }, + { + "question": "List each test result and its count in descending order of count.", + "context": "create table student_tests_taken (test_result varchar, PRIMARY KEY (test_result))", + "answer": "select test_result, count(*) from student_tests_taken group by test_result order by count(*) desc" + }, + { + "question": "What is the template type descriptions for template type code \"AD\".", + "context": "create table ref_template_types (template_type_description varchar, template_type_code varchar, PRIMARY KEY (template_type_description))", + "answer": "select template_type_description from ref_template_types where template_type_code = \"ad\"" + }, + { + "question": "When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran?", + "context": "create table table_28211674_3 (mixed_veteran varchar, womens_singles varchar, mens_singles varchar, PRIMARY KEY (mixed_veteran))", + "answer": "select mixed_veteran from table_28211674_3 where womens_singles = \"naomi owen\" and mens_singles = \"ricardo walther\"" + }, + { + "question": "what is the name for br no. 60501", + "context": "create table table_20595642_2 (name varchar, br_no varchar, PRIMARY KEY (name))", + "answer": "select name from table_20595642_2 where br_no = 60501" + }, + { + "question": "What is the address of the restaurant Subway?", + "context": "create table restaurant (address varchar, resname varchar, PRIMARY KEY (address))", + "answer": "select address from restaurant where resname = \"subway\"" + }, + { + "question": "What is the home location for team flora tallinn?", + "context": "create table table_27409644_1 (ground varchar, club varchar, PRIMARY KEY (ground))", + "answer": "select ground from table_27409644_1 where club = \"flora tallinn\"" + }, + { + "question": "What are the Juntas de Regantes (WUB) within the Azua Valley?", + "context": "create table table_20018310_1 (juntas_de_regantes__wub_ varchar, irrigation_district varchar, PRIMARY KEY (juntas_de_regantes__wub_))", + "answer": "select juntas_de_regantes__wub_ from table_20018310_1 where irrigation_district = \"azua valley\"" + }, + { + "question": "which representative is from willowick", + "context": "create table table_29486189_4 (representative varchar, residence varchar, PRIMARY KEY (representative))", + "answer": "select representative from table_29486189_4 where residence = \"willowick\"" + }, + { + "question": "find the event names that have more than 2 records.", + "context": "create table party_events (event_name varchar, PRIMARY KEY (event_name))", + "answer": "select event_name from party_events group by event_name having count(*) > 2" + }, + { + "question": "What is the title when the writer is Emily Halpern?", + "context": "create table table_24910733_1 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_24910733_1 where written_by = \"emily halpern\"" + }, + { + "question": "The callsign DWEC-TV has what branding?", + "context": "create table table_2610582_2 (branding varchar, callsign varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_2610582_2 where callsign = \"dwec-tv\"" + }, + { + "question": "what is the total number of\u00a0total w\u2013l\u00a0where\u00a0doubles w\u2013l\u00a0is 11\u201311", + "context": "create table table_10294071_1 (total_w_l varchar, doubles_w_l varchar, PRIMARY KEY (total_w_l))", + "answer": "select count(total_w_l) from table_10294071_1 where doubles_w_l = \"11\u201311\"" + }, + { + "question": "What is every entry for America when Atlantic Europe is Hoxniense?", + "context": "create table table_22860_1 (america varchar, atlantic_europe varchar, PRIMARY KEY (america))", + "answer": "select america from table_22860_1 where atlantic_europe = \"hoxniense\"" + }, + { + "question": "What is the party that has the largest number of representatives?", + "context": "create table representative (party varchar, PRIMARY KEY (party))", + "answer": "select party, count(*) from representative group by party order by count(*) desc limit 1" + }, + { + "question": "What is the pole position for the ferrari at the austrian grand prix?", + "context": "create table table_1132588_3 (pole_position varchar, constructor varchar, grand_prix varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_1132588_3 where constructor = \"ferrari\" and grand_prix = \"austrian grand_prix\"" + }, + { + "question": "What is every value for Under-11 when value of under-17 is Salma Nassar?", + "context": "create table table_26368963_2 (under_11 varchar, under_17 varchar, PRIMARY KEY (under_11))", + "answer": "select under_11 from table_26368963_2 where under_17 = \"salma nassar\"" + }, + { + "question": "What is the aircraft name for the flight with number 99", + "context": "create table flight (aid varchar, flno varchar, PRIMARY KEY (aid)); create table aircraft (name varchar, aid varchar, PRIMARY KEY (name))", + "answer": "select t2.name from flight as t1 join aircraft as t2 on t1.aid = t2.aid where t1.flno = 99" + }, + { + "question": "What's the record in the game where Greg Monroe (8) did the high rebounds?", + "context": "create table table_27755603_2 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_27755603_2 where high_rebounds = \"greg monroe (8)\"" + }, + { + "question": "What is the barrell profile that goes with the gas piston carbine?", + "context": "create table table_12834315_5 (barrel_profile varchar, name varchar, PRIMARY KEY (barrel_profile))", + "answer": "select barrel_profile from table_12834315_5 where name = \"gas piston carbine\"" + }, + { + "question": "What is the number of S Barangay for Paracale?", + "context": "create table table_255885_1 (no_of_s_barangay varchar, municipality varchar, PRIMARY KEY (no_of_s_barangay))", + "answer": "select no_of_s_barangay from table_255885_1 where municipality = \"paracale\"" + }, + { + "question": "What was the title of the episode with 5.04 million viewers?", + "context": "create table table_17641206_4 (original_title varchar, viewership varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_17641206_4 where viewership = \"5.04 million\"" + }, + { + "question": "Which country and state does staff with first name as Janessa and last name as Sawayn lived?", + "context": "create table addresses (country varchar, state_province_county varchar, address_id varchar, PRIMARY KEY (country)); create table staff (staff_address_id varchar, first_name varchar, last_name varchar, PRIMARY KEY (staff_address_id))", + "answer": "select t1.country, t1.state_province_county from addresses as t1 join staff as t2 on t1.address_id = t2.staff_address_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\"" + }, + { + "question": "Find the name of the swimmer who has the most records.", + "context": "create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id group by t2.swimmer_id order by count(*) desc limit 1" + }, + { + "question": "Chassis model Scania K360ua has what minimum number in fleet?", + "context": "create table table_1425948_1 (number_in_fleet integer, chassis_model varchar, PRIMARY KEY (number_in_fleet))", + "answer": "select min(number_in_fleet) from table_1425948_1 where chassis_model = \"scania k360ua\"" + }, + { + "question": "What is the most common singer citizenship ?", + "context": "create table singer (citizenship varchar, PRIMARY KEY (citizenship))", + "answer": "select citizenship from singer group by citizenship order by count(*) desc limit 1" + }, + { + "question": "the date complted is 02/91, what framed size was used", + "context": "create table table_15070195_1 (framed_size varchar, date_completed varchar, PRIMARY KEY (framed_size))", + "answer": "select framed_size from table_15070195_1 where date_completed = \"02/91\"" + }, + { + "question": "Name the location for trenton 300", + "context": "create table table_22669375_1 (location varchar, race_name varchar, PRIMARY KEY (location))", + "answer": "select location from table_22669375_1 where race_name = \"trenton 300\"" + }, + { + "question": "What was gabriella ferrone's result on the 5th evening?", + "context": "create table table_29857115_4 (singer varchar, PRIMARY KEY (singer))", + "answer": "select 5 as th_evening from table_29857115_4 where singer = \"gabriella ferrone\"" + }, + { + "question": "Who were the candidates when Noah M. Mason was incumbent?", + "context": "create table table_1342249_13 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_1342249_13 where incumbent = \"noah m. mason\"" + }, + { + "question": "what was the reason Richard K. Meade ( d ) became a successor?", + "context": "create table table_228439_4 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_228439_4 where successor = \"richard k. meade ( d )\"" + }, + { + "question": "How many tree species are listed when the total plant species is 258?", + "context": "create table table_16577990_1 (tree_species varchar, total_plant_species varchar, PRIMARY KEY (tree_species))", + "answer": "select tree_species from table_16577990_1 where total_plant_species = 258" + }, + { + "question": "how many programs are there?", + "context": "create table program (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from program" + }, + { + "question": "How many millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey?", + "context": "create table table_12570759_2 (us_viewers__millions_ varchar, directed_by varchar, written_by varchar, PRIMARY KEY (us_viewers__millions_))", + "answer": "select us_viewers__millions_ from table_12570759_2 where directed_by = \"rob bailey\" and written_by = \"pam veasey\"" + }, + { + "question": "Which CFL team did the player from British Columbia get drafted to", + "context": "create table table_16441561_5 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_16441561_5 where college = \"british columbia\"" + }, + { + "question": "Find the names of nurses who are on call.", + "context": "create table on_call (nurse varchar, PRIMARY KEY (nurse)); create table nurse (name varchar, employeeid varchar, PRIMARY KEY (name))", + "answer": "select distinct t1.name from nurse as t1 join on_call as t2 on t1.employeeid = t2.nurse" + }, + { + "question": "All high points were record by corey maggette (25).", + "context": "create table table_17080868_8 (record varchar, high_points varchar, PRIMARY KEY (record))", + "answer": "select record from table_17080868_8 where high_points = \"corey maggette (25)\"" + }, + { + "question": "How many new pageants does Aruba have?", + "context": "create table table_14308895_2 (new_pageant varchar, country_territory varchar, PRIMARY KEY (new_pageant))", + "answer": "select count(new_pageant) from table_14308895_2 where country_territory = \"aruba\"" + }, + { + "question": "Name the replaced by when outgoing manager is kent nielsen", + "context": "create table table_17039232_3 (replaced_by varchar, outgoing_manager varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_17039232_3 where outgoing_manager = \"kent nielsen\"" + }, + { + "question": "What CFL teams are part of Simon Fraser college?", + "context": "create table table_10975034_4 (cfl_team varchar, college varchar, PRIMARY KEY (cfl_team))", + "answer": "select cfl_team from table_10975034_4 where college = \"simon fraser\"" + }, + { + "question": "Find the number of distinct gender for dorms.", + "context": "create table dorm (gender varchar, PRIMARY KEY (gender))", + "answer": "select count(distinct gender) from dorm" + }, + { + "question": "Why did Geninho leave as manager?", + "context": "create table table_29414946_3 (manner_of_departure varchar, outgoing_manager varchar, PRIMARY KEY (manner_of_departure))", + "answer": "select manner_of_departure from table_29414946_3 where outgoing_manager = \"geninho\"" + }, + { + "question": "List all media types.", + "context": "create table media_types (name varchar, PRIMARY KEY (name))", + "answer": "select name from media_types" + }, + { + "question": "What was the original air date of the episode directed by gloria muzio?", + "context": "create table table_25923164_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_25923164_1 where directed_by = \"gloria muzio\"" + }, + { + "question": "How many times was leather introduced before pedal steel guitars in episode 111?", + "context": "create table table_15187735_9 (segment_c varchar, segment_d varchar, PRIMARY KEY (segment_c))", + "answer": "select count(segment_c) from table_15187735_9 where segment_d = \"pedal steel guitars\"" + }, + { + "question": "How many Barangays lived in the municipality with area coordinator of 110.95?", + "context": "create table table_2402209_1 (no_of_barangays varchar, area_coordinator varchar, PRIMARY KEY (no_of_barangays))", + "answer": "select no_of_barangays from table_2402209_1 where area_coordinator = \"110.95\"" + }, + { + "question": "If the name is Timo Higgins, what is the total date of birth amount?", + "context": "create table table_22344463_2 (date_of_birth varchar, name varchar, PRIMARY KEY (date_of_birth))", + "answer": "select count(date_of_birth) from table_22344463_2 where name = \"timo higgins\"" + }, + { + "question": "Who played 20 questions during the issue in which Pamela Horton is on the cover?", + "context": "create table table_24425491_3 (cover_model varchar, PRIMARY KEY (cover_model))", + "answer": "select 20 as _questions from table_24425491_3 where cover_model = \"pamela horton\"" + }, + { + "question": "What market rank and city had the station KABC-TV?", + "context": "create table table_22329326_1 (market_rank_ varchar, _city_of_license__market varchar, station varchar, PRIMARY KEY (market_rank_))", + "answer": "select market_rank_ & _city_of_license__market from table_22329326_1 where station = \"kabc-tv\"" + }, + { + "question": "Find all the songs performed by artist with last name \"Heilo\"", + "context": "create table songs (title varchar, songid varchar, PRIMARY KEY (title)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate)); create table band (id varchar, lastname varchar, PRIMARY KEY (id))", + "answer": "select t3.title from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid where t2.lastname = \"heilo\"" + }, + { + "question": "Who directed the episode written by Lamont Ferrell?", + "context": "create table table_11630008_5 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_11630008_5 where written_by = \"lamont ferrell\"" + }, + { + "question": "Which stadium has the date/year of Fri 06/25/82?", + "context": "create table table_21436373_6 (stadium varchar, date_year varchar, PRIMARY KEY (stadium))", + "answer": "select stadium from table_21436373_6 where date_year = \"fri 06/25/82\"" + }, + { + "question": "List the name of singers whose citizenship is not \"France\".", + "context": "create table singer (name varchar, citizenship varchar, PRIMARY KEY (name))", + "answer": "select name from singer where citizenship <> \"france\"" + }, + { + "question": "What model type has 97100 model designation?", + "context": "create table table_20866024_2 (model_type varchar, model_designation varchar, PRIMARY KEY (model_type))", + "answer": "select model_type from table_20866024_2 where model_designation = \"97100\"" + }, + { + "question": "If you're a major general in the US air force then what ranking will you receive in the commonwealth's air force?", + "context": "create table table_1015521_2 (commonwealth_equivalent varchar, us_air_force_equivalent varchar, PRIMARY KEY (commonwealth_equivalent))", + "answer": "select commonwealth_equivalent from table_1015521_2 where us_air_force_equivalent = \"major general\"" + }, + { + "question": "What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard?", + "context": "create table table_27369069_4 (university varchar, soccer_stadium varchar, PRIMARY KEY (university))", + "answer": "select university from table_27369069_4 where soccer_stadium = \"terrain #2 of complexe sportif claude-robillard\"" + }, + { + "question": "what's the\u00a0chroma format\u00a0with\u00a0name\u00a0being high profile", + "context": "create table table_1376890_2 (chroma_format varchar, name varchar, PRIMARY KEY (chroma_format))", + "answer": "select chroma_format from table_1376890_2 where name = \"high profile\"" + }, + { + "question": "How many instruments does the song \"Badlands\" use?", + "context": "create table instruments (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(distinct instrument) from instruments as t1 join songs as t2 on t1.songid = t2.songid where title = \"badlands\"" + }, + { + "question": "How many episodes had an original air date with 5.1 million viewers", + "context": "create table table_15938543_1 (original_air_date varchar, us_viewers__million_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select count(original_air_date) from table_15938543_1 where us_viewers__million_ = \"5.1\"" + }, + { + "question": "What are flight numbers of flights departing from Airport \"APG\"?", + "context": "create table flights (flightno varchar, sourceairport varchar, PRIMARY KEY (flightno))", + "answer": "select flightno from flights where sourceairport = \"apg\"" + }, + { + "question": "What is the name when born is december 30, 1957 detroit, mi?", + "context": "create table table_1198175_1 (name varchar, born varchar, PRIMARY KEY (name))", + "answer": "select name from table_1198175_1 where born = \"december 30, 1957 detroit, mi\"" + }, + { + "question": "What is Astrid Gruber's email and phone number?", + "context": "create table customers (email varchar, phone varchar, first_name varchar, last_name varchar, PRIMARY KEY (email))", + "answer": "select email, phone from customers where first_name = \"astrid\" and last_name = \"gruber\"" + }, + { + "question": "List all episode air dates that auditioned at Nego Quirido Sambadrome?", + "context": "create table table_27615445_1 (episode_air_date varchar, audition_venue varchar, PRIMARY KEY (episode_air_date))", + "answer": "select episode_air_date from table_27615445_1 where audition_venue = \"nego quirido sambadrome\"" + }, + { + "question": "What station is affiliated with kmgh-tv?", + "context": "create table table_1847523_2 (affiliation varchar, station varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_1847523_2 where station = \"kmgh-tv\"" + }, + { + "question": "Name the 20 questions when centerfold model is cherie witter", + "context": "create table table_1566848_6 (centerfold_model varchar, PRIMARY KEY (centerfold_model))", + "answer": "select 20 as _questions from table_1566848_6 where centerfold_model = \"cherie witter\"" + }, + { + "question": "Show the id, the date of account opened, the account name, and other account detail for all accounts.", + "context": "create table accounts (account_id varchar, date_account_opened varchar, account_name varchar, other_account_details varchar, PRIMARY KEY (account_id))", + "answer": "select account_id, date_account_opened, account_name, other_account_details from accounts" + }, + { + "question": "What's the whole range of united states where road race is ottawa marathon", + "context": "create table table_26166836_2 (country varchar, road_race varchar, PRIMARY KEY (country))", + "answer": "select count(country) from table_26166836_2 where road_race = \"ottawa marathon\"" + }, + { + "question": "What is the Pinyin name for Dingyuan County?", + "context": "create table table_1982739_2 (pinyin varchar, english_name varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_1982739_2 where english_name = \"dingyuan county\"" + }, + { + "question": "How many episode air dates are there for auditioning city Rio De Janeiro?", + "context": "create table table_27615445_1 (episode_air_date varchar, audition_city varchar, PRIMARY KEY (episode_air_date))", + "answer": "select count(episode_air_date) from table_27615445_1 where audition_city = \"rio de janeiro\"" + }, + { + "question": "What are all the school years where class AAAA is in Gregory-Portland?", + "context": "create table table_14603212_5 (school_year varchar, class_aaaa varchar, gregory varchar, portland varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_14603212_5 where class_aaaa = gregory - portland" + }, + { + "question": "Find the top 3 products which have the largest number of problems?", + "context": "create table problems (product_id varchar, PRIMARY KEY (product_id)); create table product (product_name varchar, product_id varchar, PRIMARY KEY (product_name))", + "answer": "select t2.product_name from problems as t1 join product as t2 on t1.product_id = t2.product_id group by t2.product_name order by count(*) desc limit 3" + }, + { + "question": "Name the net profit for eps beign 1.19", + "context": "create table table_20614109_1 (net_profit__\u20acm_ varchar, earnings_per_share__\u20ac_ varchar, PRIMARY KEY (net_profit__\u20acm_))", + "answer": "select net_profit__\u20acm_ from table_20614109_1 where earnings_per_share__\u20ac_ = \"1.19\"" + }, + { + "question": "Find the number of records of each policy type and its type code.", + "context": "create table policies (policy_type_code varchar, PRIMARY KEY (policy_type_code))", + "answer": "select policy_type_code, count(*) from policies group by policy_type_code" + }, + { + "question": "What are all the schools that use the colors maroon and white", + "context": "create table table_15475116_1 (school varchar, colors varchar, PRIMARY KEY (school))", + "answer": "select school from table_15475116_1 where colors = \"maroon and white\"" + }, + { + "question": "which company uses pinborough, sarah sarah pinborough?", + "context": "create table table_20174050_23 (company varchar, author varchar, PRIMARY KEY (company))", + "answer": "select company from table_20174050_23 where author = \"pinborough, sarah sarah pinborough\"" + }, + { + "question": "Name the arabic for \u0127amu\u0283te", + "context": "create table table_26919_6 (arabic varchar, tigrinya varchar, PRIMARY KEY (arabic))", + "answer": "select arabic from table_26919_6 where tigrinya = \"\u0127amu\u0283te\"" + }, + { + "question": "Find the number of users who posted some tweets.", + "context": "create table tweets (uid varchar, PRIMARY KEY (uid))", + "answer": "select count(distinct uid) from tweets" + }, + { + "question": "What are the prizes when 1 is the number of winning tickets?", + "context": "create table table_20195922_3 (prize__eur_ varchar, number_of_winning_tickets varchar, PRIMARY KEY (prize__eur_))", + "answer": "select prize__eur_ from table_20195922_3 where number_of_winning_tickets = 1" + }, + { + "question": "Show the apartment numbers, start dates, and end dates of all the apartment bookings.", + "context": "create table apartment_bookings (booking_start_date varchar, apt_id varchar, PRIMARY KEY (booking_start_date)); create table apartments (apt_number varchar, apt_id varchar, PRIMARY KEY (apt_number))", + "answer": "select t2.apt_number, t1.booking_start_date, t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id = t2.apt_id" + }, + { + "question": "Show ids for all students who live in CHI.", + "context": "create table student (stuid varchar, city_code varchar, PRIMARY KEY (stuid))", + "answer": "select stuid from student where city_code = \"chi\"" + }, + { + "question": "What is Ben-Tahir when Bello is 51?", + "context": "create table table_11447995_2 (ben_tahir varchar, bello varchar, PRIMARY KEY (ben_tahir))", + "answer": "select ben_tahir from table_11447995_2 where bello = \"51\"" + }, + { + "question": "Who was the subject of the bronze sculpture who was a colonist and soldier in Ville Marie, New France?", + "context": "create table table_20903658_1 (title_subject varchar, medium varchar, public_office varchar, PRIMARY KEY (title_subject))", + "answer": "select title_subject from table_20903658_1 where medium = \"bronze\" and public_office = \"colonist and soldier in ville marie, new france\"" + }, + { + "question": "What was the released date of Polarium?", + "context": "create table table_1616608_2 (released_date varchar, western_title varchar, PRIMARY KEY (released_date))", + "answer": "select released_date from table_1616608_2 where western_title = \"polarium\"" + }, + { + "question": "Name the replaced by for august 9", + "context": "create table table_25361570_2 (replaced_by varchar, date_of_vacancy varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_25361570_2 where date_of_vacancy = \"august 9\" and date_of_appointment = \"august 9\"" + }, + { + "question": "How many mileposts are there on Anne Street?", + "context": "create table table_10568553_1 (milepost varchar, street_names varchar, PRIMARY KEY (milepost))", + "answer": "select count(milepost) from table_10568553_1 where street_names = \"anne street\"" + }, + { + "question": "Show the ids of all employees who don't destroy any document.", + "context": "create table employees (employee_id varchar, destroyed_by_employee_id varchar, PRIMARY KEY (employee_id)); create table documents_to_be_destroyed (employee_id varchar, destroyed_by_employee_id varchar, PRIMARY KEY (employee_id))", + "answer": "select employee_id from employees except select destroyed_by_employee_id from documents_to_be_destroyed" + }, + { + "question": "Which location belongs to the website, http://www.mudgeerabasoccer.com/?", + "context": "create table table_11365528_2 (location varchar, website varchar, PRIMARY KEY (location))", + "answer": "select location from table_11365528_2 where website = \"http://www.mudgeerabasoccer.com/\"" + }, + { + "question": "Which months have more than 2 happy hours?", + "context": "create table happy_hour (month varchar, PRIMARY KEY (month))", + "answer": "select month from happy_hour group by month having count(*) > 2" + }, + { + "question": "Who is the winner where the losing hand is Ah 7s?", + "context": "create table table_12454156_1 (winner varchar, losing_hand varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_12454156_1 where losing_hand = \"ah 7s\"" + }, + { + "question": "Find the distinct first names of all the students who have vice president votes and whose city code is not PIT.", + "context": "create table student (fname varchar, city_code varchar, PRIMARY KEY (fname)); create table student (fname varchar, stuid varchar, PRIMARY KEY (fname)); create table voting_record (vice_president_vote varchar, PRIMARY KEY (vice_president_vote))", + "answer": "select distinct t1.fname from student as t1 join voting_record as t2 on t1.stuid = t2.vice_president_vote except select distinct fname from student where city_code = \"pit\"" + }, + { + "question": "Name the listed owner for mike garvey", + "context": "create table table_24535095_2 (listed_owner_s_ varchar, crew_chief varchar, PRIMARY KEY (listed_owner_s_))", + "answer": "select listed_owner_s_ from table_24535095_2 where crew_chief = \"mike garvey\"" + }, + { + "question": "List the names, color descriptions and product descriptions of products with category \"Herbs\".", + "context": "create table ref_colors (color_description varchar, color_code varchar, PRIMARY KEY (color_description)); create table products (product_name varchar, product_description varchar, color_code varchar, PRIMARY KEY (product_name))", + "answer": "select t1.product_name, t2.color_description, t1.product_description from products as t1 join ref_colors as t2 on t1.color_code = t2.color_code where product_category_code = \"herbs\"" + }, + { + "question": "Name the sprint classification for michael barry", + "context": "create table table_23944514_15 (sprint_classification varchar, aggressive_rider varchar, PRIMARY KEY (sprint_classification))", + "answer": "select sprint_classification from table_23944514_15 where aggressive_rider = \"michael barry\"" + }, + { + "question": "What is the title of series episode 11-05's segment d?", + "context": "create table table_15187735_11 (segment_d varchar, series_ep varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_11 where series_ep = \"11-05\"" + }, + { + "question": "The away team of Richmond played on what grounds?", + "context": "create table table_16388230_1 (ground varchar, away_team varchar, PRIMARY KEY (ground))", + "answer": "select ground from table_16388230_1 where away_team = \"richmond\"" + }, + { + "question": "What is the position in table when the date of vacancy was 4 january 2011?", + "context": "create table table_26914854_3 (position_in_table varchar, date_of_vacancy varchar, PRIMARY KEY (position_in_table))", + "answer": "select position_in_table from table_26914854_3 where date_of_vacancy = \"4 january 2011\"" + }, + { + "question": "List the name of teachers whose hometown is not `` Little Lever Urban District '' .", + "context": "create table teacher (name varchar, hometown varchar, PRIMARY KEY (name))", + "answer": "select name from teacher where hometown <> \"little lever urban district\"" + }, + { + "question": "What type of school is in swarthmore, pennsylvania?", + "context": "create table table_254776_1 (type varchar, location varchar, PRIMARY KEY (type))", + "answer": "select type from table_254776_1 where location = \"swarthmore, pennsylvania\"" + }, + { + "question": "Find Alice's friends of friends.", + "context": "create table personfriend (name varchar, PRIMARY KEY (name)); create table personfriend (name varchar, friend varchar, PRIMARY KEY (name)); create table person (name varchar, PRIMARY KEY (name))", + "answer": "select distinct t4.name from personfriend as t1 join person as t2 on t1.name = t2.name join personfriend as t3 on t1.friend = t3.name join personfriend as t4 on t3.friend = t4.name where t2.name = 'alice' and t4.name <> 'alice'" + }, + { + "question": "What is the branding for stations located in Cebu?", + "context": "create table table_17487395_1 (branding varchar, location varchar, PRIMARY KEY (branding))", + "answer": "select branding from table_17487395_1 where location = \"cebu\"" + }, + { + "question": "Who is the shirt sponsor for FC Bunyodkor?", + "context": "create table table_25527255_2 (shirt_sponsor varchar, team varchar, PRIMARY KEY (shirt_sponsor))", + "answer": "select shirt_sponsor from table_25527255_2 where team = \"fc bunyodkor\"" + }, + { + "question": "how many drivers driving toyota corolla", + "context": "create table table_20090682_4 (driver varchar, vehicle varchar, PRIMARY KEY (driver))", + "answer": "select count(driver) from table_20090682_4 where vehicle = \"toyota corolla\"" + }, + { + "question": "What is the capital of the district who's simplified name is \u4fe1\u5dde\u533a?", + "context": "create table table_1300525_1 (pinyin varchar, simplified varchar, PRIMARY KEY (pinyin))", + "answer": "select count(pinyin) from table_1300525_1 where simplified = \"\u4fe1\u5dde\u533a\"" + }, + { + "question": "How many dollars is the purse when the margin of victory is 8 strokes?", + "context": "create table table_1529260_2 (purse___us varchar, margin_of_victory varchar, PRIMARY KEY (purse___us))", + "answer": "select count(purse___us) as $__ from table_1529260_2 where margin_of_victory = \"8 strokes\"" + }, + { + "question": "Name the total number of series sorted for when released is april 2010", + "context": "create table table_1620397_2 (series_sorted varchar, released varchar, PRIMARY KEY (series_sorted))", + "answer": "select count(series_sorted) from table_1620397_2 where released = \"april 2010\"" + }, + { + "question": "Name the most legs for steinlager 2", + "context": "create table table_256862_1 (legs integer, winning_yacht varchar, PRIMARY KEY (legs))", + "answer": "select max(legs) from table_256862_1 where winning_yacht = \"steinlager 2\"" + }, + { + "question": "Name the least capacity for persons hour for 1983", + "context": "create table table_17814458_1 (capacity_in_persons_hour integer, construction_year_s_ varchar, PRIMARY KEY (capacity_in_persons_hour))", + "answer": "select min(capacity_in_persons_hour) from table_17814458_1 where construction_year_s_ = \"1983\"" + }, + { + "question": "What is the winner in event number 15h?", + "context": "create table table_22050544_1 (winner varchar, event__number varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_22050544_1 where event__number = \"15h\"" + }, + { + "question": "What languages are spoken when call sign XEJAM is used?", + "context": "create table table_14670060_1 (languages varchar, call_sign varchar, PRIMARY KEY (languages))", + "answer": "select languages from table_14670060_1 where call_sign = \"xejam\"" + }, + { + "question": "What's the language of classes in the school founded in 1874?", + "context": "create table table_1930857_1 (language varchar, year_founded varchar, PRIMARY KEY (language))", + "answer": "select language from table_1930857_1 where year_founded = \"1874\"" + }, + { + "question": "What is the Android version is the code name is Lotus?", + "context": "create table table_ (android_version varchar, code_name varchar, PRIMARY KEY (android_version))", + "answer": "select android_version from table_ where code_name = \"lotus\"" + }, + { + "question": "Find the id of the order which is shipped most recently.", + "context": "create table shipments (order_id varchar, shipment_date integer, PRIMARY KEY (order_id))", + "answer": "select order_id from shipments where shipment_date = (select max(shipment_date) from shipments)" + }, + { + "question": "Name the other for chironius multiventris septentrionalis", + "context": "create table table_1850282_7 (other varchar, species varchar, PRIMARY KEY (other))", + "answer": "select other from table_1850282_7 where species = \"chironius multiventris septentrionalis\"" + }, + { + "question": "What is the number of brand where the power is 5kw?", + "context": "create table table_17822401_1 (branding varchar, power__kw_ varchar, PRIMARY KEY (branding))", + "answer": "select count(branding) from table_17822401_1 where power__kw_ = \"5kw\"" + }, + { + "question": "Who had the challenge of night driving?", + "context": "create table table_10749367_3 (test_taker varchar, challenge varchar, PRIMARY KEY (test_taker))", + "answer": "select test_taker from table_10749367_3 where challenge = \"night driving\"" + }, + { + "question": "Name the leader battle for 4-3 vote", + "context": "create table table_25920798_2 (leader_battle varchar, vote varchar, PRIMARY KEY (leader_battle))", + "answer": "select leader_battle from table_25920798_2 where vote = \"4-3\"" + }, + { + "question": "Where is the PPP 23164 million \u20ac?", + "context": "create table table_2293510_1 (region___nuts_2006_ varchar, ppp__million_\u20ac_ varchar, PRIMARY KEY (region___nuts_2006_))", + "answer": "select region___nuts_2006_ from table_2293510_1 where ppp__million_\u20ac_ = 23164" + }, + { + "question": "display all the information of those employees who did not have any job in the past.", + "context": "create table job_history (employee_id varchar, PRIMARY KEY (employee_id)); create table employees (employee_id varchar, PRIMARY KEY (employee_id))", + "answer": "select * from employees where not employee_id in (select employee_id from job_history)" + }, + { + "question": "What is the Pinyin for the simplified \u865e\u57ce\u53bf?", + "context": "create table table_2135222_2 (pinyin varchar, simplified varchar, PRIMARY KEY (pinyin))", + "answer": "select pinyin from table_2135222_2 where simplified = \"\u865e\u57ce\u53bf\"" + }, + { + "question": "what is the name and nation of the singer who have a song having 'Hey' in its name?", + "context": "create table singer (name varchar, country varchar, song_name varchar, PRIMARY KEY (name))", + "answer": "select name, country from singer where song_name like '%hey%'" + }, + { + "question": "What is the democratic coalation when together we can do more is sergio castro ( pc )?", + "context": "create table table_2651755_1 (democratic_coalition varchar, together_we_can_do_more varchar, PRIMARY KEY (democratic_coalition))", + "answer": "select democratic_coalition from table_2651755_1 where together_we_can_do_more = \"sergio castro ( pc )\"" + }, + { + "question": "WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME?", + "context": "create table table_15778392_1 (theme varchar, week__number varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_15778392_1 where week__number = \"top 8\"" + }, + { + "question": "Name the capacity for single cab size 2 medium tanker", + "context": "create table table_2155350_2 (capacity__litres_ varchar, cab_size varchar, category varchar, PRIMARY KEY (capacity__litres_))", + "answer": "select capacity__litres_ from table_2155350_2 where cab_size = \"single\" and category = \"2 medium tanker\"" + }, + { + "question": "What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?", + "context": "create table table_22020724_1 (year__ceremony_ varchar, title_in_the_original_language varchar, PRIMARY KEY (year__ceremony_))", + "answer": "select year__ceremony_ from table_22020724_1 where title_in_the_original_language = \"tummien perhosten koti\"" + }, + { + "question": "What was the minimum % funded of the project that was closed on 2012-05-18?", + "context": "create table table_27155990_1 (_percentage_funded integer, closing_date varchar, PRIMARY KEY (_percentage_funded))", + "answer": "select min(_percentage_funded) from table_27155990_1 where closing_date = \"2012-05-18\"" + }, + { + "question": "How many games were played by the V\u00e9lez S\u00e1rsfield team from 1989-90?", + "context": "create table table_17968274_2 (team varchar, PRIMARY KEY (team))", + "answer": "select 1989 as _90 from table_17968274_2 where team = \"v\u00e9lez s\u00e1rsfield\"" + }, + { + "question": "When dydek (8) has the highest rebounds who has the highest amount of points?", + "context": "create table table_18904831_6 (high_points varchar, high_rebounds varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_18904831_6 where high_rebounds = \"dydek (8)\"" + }, + { + "question": "What is the coinage metal for KM numbers of S45?", + "context": "create table table_26336060_19 (coinage_metal varchar, km_number varchar, PRIMARY KEY (coinage_metal))", + "answer": "select coinage_metal from table_26336060_19 where km_number = \"s45\"" + }, + { + "question": "How many solar eclipse during August 21-22 where June 10-11 on June 11, 1983?", + "context": "create table table_25287007_2 (august_21_22 varchar, june_10_11 varchar, PRIMARY KEY (august_21_22))", + "answer": "select count(august_21_22) from table_25287007_2 where june_10_11 = \"june 11, 1983\"" + }, + { + "question": "Show the names of products that are in at least two events in ascending alphabetical order of product name.", + "context": "create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table products_in_events (product_id varchar, PRIMARY KEY (product_id))", + "answer": "select t1.product_name from products as t1 join products_in_events as t2 on t1.product_id = t2.product_id group by t1.product_name having count(*) >= 2 order by t1.product_name" + }, + { + "question": "What was the record in the game in which Jeff Green (14) did the most high rebounds?", + "context": "create table table_23286112_6 (record varchar, high_rebounds varchar, PRIMARY KEY (record))", + "answer": "select record from table_23286112_6 where high_rebounds = \"jeff green (14)\"" + }, + { + "question": "Name the si prefix for thousand chuquet", + "context": "create table table_260938_1 (si_prefix varchar, chuquet varchar, PRIMARY KEY (si_prefix))", + "answer": "select si_prefix from table_260938_1 where chuquet = \"thousand\"" + }, + { + "question": "Name the mens doubles for dimitrij ovtcharov", + "context": "create table table_28138035_4 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles))", + "answer": "select mens_doubles from table_28138035_4 where mens_singles = \"dimitrij ovtcharov\"" + }, + { + "question": "If Socialist is at 46.1%, what are all percentages for social democratic?", + "context": "create table table_1463383_1 (social_democratic varchar, socialist varchar, PRIMARY KEY (social_democratic))", + "answer": "select social_democratic from table_1463383_1 where socialist = \"46.1%\"" + }, + { + "question": "How many authors are there?", + "context": "create table authors (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from authors" + }, + { + "question": "When interjection is the subject who are the lyrics by?", + "context": "create table table_191105_2 (lyrics_by varchar, subject varchar, PRIMARY KEY (lyrics_by))", + "answer": "select lyrics_by from table_191105_2 where subject = \"interjection\"" + }, + { + "question": "Name the further cities for east romania", + "context": "create table table_197286_4 (further_cities varchar, direction varchar, country varchar, PRIMARY KEY (further_cities))", + "answer": "select further_cities from table_197286_4 where direction = \"east\" and country = \"romania\"" + }, + { + "question": "What were the revising conventions commentary with a denunciation of 21?", + "context": "create table table_2001348_1 (revising_convention_s_ varchar, denunciations__september_2011_ varchar, PRIMARY KEY (revising_convention_s_))", + "answer": "select revising_convention_s_ from table_2001348_1 where denunciations__september_2011_ = 21" + }, + { + "question": "When did the season with 1 team format premiere?", + "context": "create table table_1949994_7 (premiere_air_dates varchar, format varchar, PRIMARY KEY (premiere_air_dates))", + "answer": "select premiere_air_dates from table_1949994_7 where format = \"1 team\"" + }, + { + "question": "What is the BBI whent the economy is 5.68?", + "context": "create table table_28846752_9 (bbi varchar, economy varchar, PRIMARY KEY (bbi))", + "answer": "select bbi from table_28846752_9 where economy = \"5.68\"" + }, + { + "question": "How many different locations does the school with code BUS has?", + "context": "create table department (dept_address varchar, school_code varchar, PRIMARY KEY (dept_address))", + "answer": "select count(distinct dept_address) from department where school_code = 'bus'" + }, + { + "question": "When Symbian/Series 40 is 0.40%, what is the percentage of \"other\"?", + "context": "create table table_11381701_3 (other varchar, symbian___series_40 varchar, PRIMARY KEY (other))", + "answer": "select other from table_11381701_3 where symbian___series_40 = \"0.40%\"" + }, + { + "question": "Show all video game types and the number of video games in each type.", + "context": "create table video_games (gtype varchar, PRIMARY KEY (gtype))", + "answer": "select gtype, count(*) from video_games group by gtype" + }, + { + "question": "How many womens singles entries are there when womens doubles is li xiaodan wen jia?", + "context": "create table table_28138035_27 (womens_singles varchar, womens_doubles varchar, PRIMARY KEY (womens_singles))", + "answer": "select count(womens_singles) from table_28138035_27 where womens_doubles = \"li xiaodan wen jia\"" + }, + { + "question": "Who directed the episode that had 1.48 million viewers in the U.S.?", + "context": "create table table_29569969_2 (directed_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_29569969_2 where us_viewers__millions_ = \"1.48\"" + }, + { + "question": "Who performed with Tina Parekh?", + "context": "create table table_18278508_2 (main_contestant varchar, co_contestant__yaar_vs_pyaar_ varchar, PRIMARY KEY (main_contestant))", + "answer": "select main_contestant from table_18278508_2 where co_contestant__yaar_vs_pyaar_ = \"tina parekh\"" + }, + { + "question": "What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4?", + "context": "create table table_2155836_1 (population__millions varchar, _2011_ varchar, gdp__nominal___billions_usd_ varchar, PRIMARY KEY (population__millions))", + "answer": "select population__millions, _2011_ from table_2155836_1 where gdp__nominal___billions_usd_ = \"4\"" + }, + { + "question": "Name the most 3 credits", + "context": "create table table_148535_2 (id varchar, hand varchar PRIMARY KEY (id))", + "answer": "select hand, count(*) as credit_count from table_148535_2 group by hand order by credit_count desc limit 3;" + }, + { + "question": "what is the format of \"callanetics: 10 years younger in 10 hours\"?", + "context": "create table table_11222744_3 (format varchar, title varchar, PRIMARY KEY (format))", + "answer": "select format from table_11222744_3 where title = \"callanetics: 10 years younger in 10 hours\"" + }, + { + "question": "What is the transaction type that has processed the greatest total amount in transactions?", + "context": "create table financial_transactions (transaction_type varchar, transaction_amount integer, PRIMARY KEY (transaction_type))", + "answer": "select transaction_type from financial_transactions group by transaction_type order by sum(transaction_amount) desc limit 1" + }, + { + "question": "How much power covers dumaguete central visayas region?", + "context": "create table table_24418525_1 (power_kw varchar, coverage varchar, PRIMARY KEY (power_kw))", + "answer": "select count(power_kw) from table_24418525_1 where coverage = \"dumaguete central visayas region\"" + }, + { + "question": "Name the number of rank world for bhutan", + "context": "create table table_2248784_3 (rank_world varchar, country varchar, PRIMARY KEY (rank_world))", + "answer": "select count(rank_world) from table_2248784_3 where country = \"bhutan\"" + }, + { + "question": "In what barony are both the townland Dawstown and the civil parish Matehy located?", + "context": "create table table_30120566_1 (barony varchar, townland varchar, civil_parish varchar, PRIMARY KEY (barony))", + "answer": "select barony from table_30120566_1 where townland = \"dawstown\" and civil_parish = \"matehy\"" + }, + { + "question": "Name the least number for mydeejay", + "context": "create table table_15887683_10 (n integer, television_service varchar, PRIMARY KEY (n))", + "answer": "select min(n) as \u00b0 from table_15887683_10 where television_service = \"mydeejay\"" + }, + { + "question": "What nationality is the player who went to school at South Florida?", + "context": "create table table_16494599_1 (nationality varchar, school_club_team varchar, PRIMARY KEY (nationality))", + "answer": "select nationality from table_16494599_1 where school_club_team = \"south florida\"" + }, + { + "question": "Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si", + "context": "create table table_27965906_2 (ss_winning_car varchar, circuit varchar, b_winning_car varchar, PRIMARY KEY (ss_winning_car))", + "answer": "select ss_winning_car from table_27965906_2 where circuit = \"road atlanta\" and b_winning_car = \"#35 quantum engineering #35 honda crx-si\"" + }, + { + "question": "What are all the the participant ids, type code and details?", + "context": "create table participants (participant_id varchar, participant_type_code varchar, participant_details varchar, PRIMARY KEY (participant_id))", + "answer": "select participant_id, participant_type_code, participant_details from participants" + }, + { + "question": "Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?", + "context": "create table table_1566852_8 (centerfold_model varchar, pictorials varchar, PRIMARY KEY (centerfold_model))", + "answer": "select centerfold_model from table_1566852_8 where pictorials = \"kimberly bell , bunnies of the new playboy club\"" + }, + { + "question": "What is the original air date of the episode that was written by Rama Stagner?", + "context": "create table table_27389024_2 (original_air_date varchar, written_by varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_27389024_2 where written_by = \"rama stagner\"" + }, + { + "question": "Is usb re-enumeration required part of the emulated class?", + "context": "create table table_1153898_1 (emulated_class varchar, comparisons varchar, PRIMARY KEY (emulated_class))", + "answer": "select emulated_class from table_1153898_1 where comparisons = \"usb re-enumeration required\"" + }, + { + "question": "When stuttgart is the town what is the type?", + "context": "create table table_2803662_3 (type varchar, town varchar, PRIMARY KEY (type))", + "answer": "select type from table_2803662_3 where town = \"stuttgart\"" + }, + { + "question": "For the city whose land area was 135.09, what was the total population density?", + "context": "create table table_22916979_1 (population_density__people_per_mi_2__ varchar, land_area__mi_2__ varchar, PRIMARY KEY (population_density__people_per_mi_2__))", + "answer": "select population_density__people_per_mi_2__ from table_22916979_1 where land_area__mi_2__ = \"135.09\"" + }, + { + "question": "What is the record for Big Ten Team #4 Purdue?", + "context": "create table table_23058971_8 (winner varchar, big_ten_team varchar, PRIMARY KEY (winner))", + "answer": "select winner from table_23058971_8 where big_ten_team = \"#4 purdue\"" + }, + { + "question": "How many paragraphs in total?", + "context": "create table paragraphs (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from paragraphs" + }, + { + "question": "What is the id of the instructor who advises of all students from History department?", + "context": "create table advisor (s_id varchar, PRIMARY KEY (s_id)); create table student (id varchar, dept_name varchar, PRIMARY KEY (id))", + "answer": "select s_id from advisor as t1 join student as t2 on t1.s_id = t2.id where t2.dept_name = 'history'" + }, + { + "question": "Name the most peak performance for october 2006 - january 2010", + "context": "create table table_27765443_2 (maximum_peak_performance___teraflops__ varchar, period_of_operation varchar, PRIMARY KEY (maximum_peak_performance___teraflops__))", + "answer": "select maximum_peak_performance___teraflops__ from table_27765443_2 where period_of_operation = \"october 2006 - january 2010\"" + }, + { + "question": "Name the perfect stem for jo", + "context": "create table table_12784134_24 (perfect_stem varchar, short_stem varchar, PRIMARY KEY (perfect_stem))", + "answer": "select count(perfect_stem) from table_12784134_24 where short_stem = \"jo\"" + }, + { + "question": "If the working force of HK is 10.4%, what is the salary range?", + "context": "create table table_27257896_2 (salary_range varchar, working_force_of_hk varchar, PRIMARY KEY (salary_range))", + "answer": "select salary_range from table_27257896_2 where working_force_of_hk = \"10.4%\"" + }, + { + "question": "How many meters tall is Ulrike Wolful?", + "context": "create table table_23495048_2 (height__mtr_ varchar, contestant varchar, PRIMARY KEY (height__mtr_))", + "answer": "select height__mtr_ from table_23495048_2 where contestant = \"ulrike wolful\"" + }, + { + "question": "For a release price of $72, what is the TDP of the microprocessor?", + "context": "create table table_16729930_18 (tdp varchar, release_price___usd__ varchar, PRIMARY KEY (tdp))", + "answer": "select tdp from table_16729930_18 where release_price___usd__ = \"$72\"" + }, + { + "question": "What was the outcome of the match with score 4\u20136, 3\u20136, 2\u20136?", + "context": "create table table_22839669_1 (outcome varchar, score_in_the_final varchar, PRIMARY KEY (outcome))", + "answer": "select outcome from table_22839669_1 where score_in_the_final = \"4\u20136, 3\u20136, 2\u20136\"" + }, + { + "question": "What is the maximum length in meters for the bridges and what are the architects' names?", + "context": "create table architect (name varchar, id varchar, PRIMARY KEY (name)); create table bridge (length_meters integer, architect_id varchar, PRIMARY KEY (length_meters))", + "answer": "select max(t1.length_meters), t2.name from bridge as t1 join architect as t2 on t1.architect_id = t2.id" + }, + { + "question": "What was the air date in the U.S. for the episode that had 1.452 million Canadian viewers?", + "context": "create table table_18424435_4 (us_air_date varchar, canadian_viewers__million_ varchar, PRIMARY KEY (us_air_date))", + "answer": "select us_air_date from table_18424435_4 where canadian_viewers__million_ = \"1.452\"" + }, + { + "question": "Name the song title for europe", + "context": "create table table_22457674_1 (song_title varchar, artist varchar, PRIMARY KEY (song_title))", + "answer": "select song_title from table_22457674_1 where artist = \"europe\"" + }, + { + "question": "What is every value of period when eccentricity is 0.583085?", + "context": "create table table_206217_2 (period__h_ varchar, eccentricity varchar, PRIMARY KEY (period__h_))", + "answer": "select period__h_ from table_206217_2 where eccentricity = \"0.583085\"" + }, + { + "question": "What was the final place came for the performance of Erlend Bratland?", + "context": "create table table_23429629_4 (place_came varchar, artist varchar, PRIMARY KEY (place_came))", + "answer": "select place_came from table_23429629_4 where artist = \"erlend bratland\"" + }, + { + "question": "What is the type of the player whose transfer fee was \u20ac20m?", + "context": "create table table_13770460_3 (type varchar, transfer_fee varchar, PRIMARY KEY (type))", + "answer": "select type from table_13770460_3 where transfer_fee = \"\u20ac20m\"" + }, + { + "question": "What percentage of the votes were for others in the county where 462 people voted that way?", + "context": "create table table_2401326_1 (others_percentage varchar, others_number varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_2401326_1 where others_number = \"462\"" + }, + { + "question": "What is the extortion and theft rates where the United Nations Observer Mission Uganda-Rwanda is active?", + "context": "create table table_15652027_1 (extortion_theft_3 varchar, united_nations_mission varchar, PRIMARY KEY (extortion_theft_3))", + "answer": "select extortion_theft_3 from table_15652027_1 where united_nations_mission = \"united nations observer mission uganda-rwanda\"" + }, + { + "question": "Who wrote the episode with 9.81 million US viewers?", + "context": "create table table_28688313_1 (written_by varchar, us_viewers__in_millions_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_28688313_1 where us_viewers__in_millions_ = \"9.81\"" + }, + { + "question": "When was the callback audition date for the audition city from the episode aired on February 2, 2011?", + "context": "create table table_27455867_1 (callback_audition_date varchar, episode_air_date varchar, PRIMARY KEY (callback_audition_date))", + "answer": "select callback_audition_date from table_27455867_1 where episode_air_date = \"february 2, 2011\"" + }, + { + "question": "How many ships are there?", + "context": "create table ship (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ship" + }, + { + "question": "What is the reward for the elimination of Peterson?", + "context": "create table table_24122653_2 (reward varchar, eliminated varchar, PRIMARY KEY (reward))", + "answer": "select reward from table_24122653_2 where eliminated = \"peterson\"" + }, + { + "question": "Find the number of voting records in total.", + "context": "create table voting_record (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from voting_record" + }, + { + "question": "What is the percentage of females where the state code is a 4?", + "context": "create table table_14598_9 (females___percentage_ varchar, state_ut_code varchar, PRIMARY KEY (females___percentage_))", + "answer": "select females___percentage_ from table_14598_9 where state_ut_code = 4" + }, + { + "question": "Which college has the men's nickname of the blazers?", + "context": "create table table_10577579_3 (institution varchar, mens_nickname varchar, PRIMARY KEY (institution))", + "answer": "select institution from table_10577579_3 where mens_nickname = \"blazers\"" + }, + { + "question": "Name the party for hutchins g. burton", + "context": "create table table_2668329_18 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_2668329_18 where incumbent = \"hutchins g. burton\"" + }, + { + "question": "WHich team had dave penney as an incoming manager", + "context": "create table table_26914759_3 (team varchar, incoming_manager varchar, PRIMARY KEY (team))", + "answer": "select team from table_26914759_3 where incoming_manager = \"dave penney\"" + }, + { + "question": "List all opponents from the 4-4 scoring game.", + "context": "create table table_24561550_1 (opponent varchar, record varchar, PRIMARY KEY (opponent))", + "answer": "select opponent from table_24561550_1 where record = \"4-4\"" + }, + { + "question": "What is the mix pack when the artist 2 is Eminem?", + "context": "create table table_23649244_2 (mix_pack varchar, artist_2 varchar, PRIMARY KEY (mix_pack))", + "answer": "select mix_pack from table_23649244_2 where artist_2 = \"eminem\"" + }, + { + "question": "What is the affiliation of the University called Explorers?", + "context": "create table table_19210115_1 (affiliation varchar, nickname varchar, PRIMARY KEY (affiliation))", + "answer": "select affiliation from table_19210115_1 where nickname = \"explorers\"" + }, + { + "question": "How many likes does Kyle have?", + "context": "create table likes (student_id varchar, PRIMARY KEY (student_id)); create table highschooler (id varchar, name varchar, PRIMARY KEY (id))", + "answer": "select count(*) from likes as t1 join highschooler as t2 on t1.student_id = t2.id where t2.name = \"kyle\"" + }, + { + "question": "Find the semester when both Master students and Bachelor students got enrolled in.", + "context": "create table degree_programs (degree_program_id varchar, PRIMARY KEY (degree_program_id)); create table student_enrolment (semester_id varchar, degree_program_id varchar, PRIMARY KEY (semester_id))", + "answer": "select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'master' intersect select distinct t2.semester_id from degree_programs as t1 join student_enrolment as t2 on t1.degree_program_id = t2.degree_program_id where degree_summary_name = 'bachelor'" + }, + { + "question": "Which new conference is the Toreros Western Collegiate Lacrosse team playing in?", + "context": "create table table_14976504_2 (new_conference varchar, team_nickname varchar, PRIMARY KEY (new_conference))", + "answer": "select new_conference from table_14976504_2 where team_nickname = \"toreros\"" + }, + { + "question": "Who directed the episode with 6.37 million viewers?", + "context": "create table table_27927185_1 (directed_by varchar, viewers__millions_ varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_27927185_1 where viewers__millions_ = \"6.37\"" + }, + { + "question": "Show the description for role name \"Proof Reader\".", + "context": "create table roles (role_description varchar, role_name varchar, PRIMARY KEY (role_description))", + "answer": "select role_description from roles where role_name = \"proof reader\"" + }, + { + "question": "Who finished in third place when the winner was Karina Bacchi?", + "context": "create table table_25214321_1 (third_place varchar, winner varchar, PRIMARY KEY (third_place))", + "answer": "select third_place from table_25214321_1 where winner = \"karina bacchi\"" + }, + { + "question": "How many pinyin transaltions are available for the chinese phrase \u91cb\u87f2?", + "context": "create table table_1216675_1 (pinyin varchar, chinese varchar, PRIMARY KEY (pinyin))", + "answer": "select count(pinyin) from table_1216675_1 where chinese = \"\u91cb\u87f2\"" + }, + { + "question": "Who won the mens singles when lau sui fei won the womens singles?", + "context": "create table table_28138035_26 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_28138035_26 where womens_singles = \"lau sui fei\"" + }, + { + "question": "Name the builder for date built is january 1910", + "context": "create table table_1748444_1 (builder varchar, date_built varchar, PRIMARY KEY (builder))", + "answer": "select builder from table_1748444_1 where date_built = \"january 1910\"" + }, + { + "question": "Find the name of airline which runs the most number of routes.", + "context": "create table airlines (name varchar, alid varchar, PRIMARY KEY (name)); create table routes (alid varchar, PRIMARY KEY (alid))", + "answer": "select t1.name from airlines as t1 join routes as t2 on t1.alid = t2.alid group by t1.name order by count(*) desc limit 1" + }, + { + "question": "How many employees does each role have? List role description, id and number of employees.", + "context": "create table roles (role_description varchar, role_code varchar, PRIMARY KEY (role_description)); create table employees (role_code varchar, PRIMARY KEY (role_code))", + "answer": "select t1.role_description, t2.role_code, count(*) from roles as t1 join employees as t2 on t1.role_code = t2.role_code group by t2.role_code" + }, + { + "question": "For the 1999 w210 e-class , 2000 w203 c-class, what is the stroke?", + "context": "create table table_21021796_1 (stroke varchar, applications varchar, PRIMARY KEY (stroke))", + "answer": "select stroke from table_21021796_1 where applications = \"1999 w210 e-class , 2000 w203 c-class\"" + }, + { + "question": "Which films participated when the category was Best Newcomer?", + "context": "create table table_29644931_1 (participants_recipients varchar, category varchar, PRIMARY KEY (participants_recipients))", + "answer": "select participants_recipients from table_29644931_1 where category = \"best newcomer\"" + }, + { + "question": "What is the highest number of Counties carries?", + "context": "create table table_16186152_1 (counties_carries integer, PRIMARY KEY (counties_carries))", + "answer": "select max(counties_carries) from table_16186152_1" + }, + { + "question": "In what location was the fastest time 1:37.071s?", + "context": "create table table_14884844_2 (location varchar, record varchar, PRIMARY KEY (location))", + "answer": "select location from table_14884844_2 where record = \"1:37.071s\"" + }, + { + "question": "IN THE ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT?", + "context": "create table table_1566852_7 (interview_subject varchar, cover_model varchar, PRIMARY KEY (interview_subject))", + "answer": "select interview_subject from table_1566852_7 where cover_model = \"kara monaco\"" + }, + { + "question": "The candidate who received 133 votes in the Bronx won what percentage overall?", + "context": "create table table_1108394_47 (_percentage varchar, the_bronx varchar, PRIMARY KEY (_percentage))", + "answer": "select _percentage from table_1108394_47 where the_bronx = \"133\"" + }, + { + "question": "Who won the rookie award the week the transition award was given to Brodie Merrill and the offensive award was given to Pat Maddalena?", + "context": "create table table_14132239_3 (rookie varchar, transition varchar, offensive varchar, PRIMARY KEY (rookie))", + "answer": "select rookie from table_14132239_3 where transition = \"brodie merrill\" and offensive = \"pat maddalena\"" + }, + { + "question": "Who won the mountains classification when Maarten Tjallingii won most corageous?", + "context": "create table table_25055040_22 (mountains_classification varchar, most_courageous varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_25055040_22 where most_courageous = \"maarten tjallingii\"" + }, + { + "question": "Do the Sky Calcio 5 channels have PPV?", + "context": "create table table_15887683_4 (ppv varchar, television_service varchar, PRIMARY KEY (ppv))", + "answer": "select ppv from table_15887683_4 where television_service = \"sky calcio 5\"" + }, + { + "question": "What is the average attendance of stadiums with capacity percentage higher than 100%?", + "context": "create table stadium (average_attendance varchar, capacity_percentage integer, PRIMARY KEY (average_attendance))", + "answer": "select average_attendance from stadium where capacity_percentage > 100" + }, + { + "question": "Show the name of the shop that has the most kind of devices in stock.", + "context": "create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (shop_id varchar, PRIMARY KEY (shop_id))", + "answer": "select t2.shop_name from stock as t1 join shop as t2 on t1.shop_id = t2.shop_id group by t1.shop_id order by count(*) desc limit 1" + }, + { + "question": "How many QB ratings for the player with 1069 completions?", + "context": "create table table_19418696_3 (qb_rating varchar, completions varchar, PRIMARY KEY (qb_rating))", + "answer": "select count(qb_rating) from table_19418696_3 where completions = 1069" + }, + { + "question": "what's the\u00a0country/region\u00a0with\u00a0presenters\u00a0being heikki paasonen jukka rossi (xtra factor)", + "context": "create table table_13779832_1 (country_region varchar, presenters varchar, PRIMARY KEY (country_region))", + "answer": "select country_region from table_13779832_1 where presenters = \"heikki paasonen jukka rossi (xtra factor)\"" + }, + { + "question": "What is the 2010 population of the municipality with 31 barangays?", + "context": "create table table_255829_1 (population__2010_ varchar, no_of_barangays varchar, PRIMARY KEY (population__2010_))", + "answer": "select population__2010_ from table_255829_1 where no_of_barangays = 31" + }, + { + "question": "What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle?", + "context": "create table table_20042805_2 (african_spoonbill varchar, hadeda_ibis varchar, PRIMARY KEY (african_spoonbill))", + "answer": "select african_spoonbill from table_20042805_2 where hadeda_ibis = \"brown snake eagle\"" + }, + { + "question": "Report all majors that have less than 3 students.", + "context": "create table student (major varchar, PRIMARY KEY (major))", + "answer": "select major from student group by major having count(*) < 3" + }, + { + "question": "What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / mol\u00e1s?", + "context": "create table table_1977630_2 (\u00e9l___ella___usted varchar, vos__ varchar, _ varchar, PRIMARY KEY (\u00e9l___ella___usted))", + "answer": "select \u00e9l___ella___usted from table_1977630_2 where vos__ * _ = \"muelas / mol\u00e1s\"" + }, + { + "question": "How many staff have the first name Ludie?", + "context": "create table staff (first_name varchar, PRIMARY KEY (first_name))", + "answer": "select count(*) from staff where first_name = \"ludie\"" + }, + { + "question": "Show the names of employees with role name Editor.", + "context": "create table roles (role_code varchar, role_name varchar, PRIMARY KEY (role_code)); create table employees (employee_name varchar, role_code varchar, PRIMARY KEY (employee_name))", + "answer": "select t1.employee_name from employees as t1 join roles as t2 on t1.role_code = t2.role_code where t2.role_name = \"editor\"" + }, + { + "question": "How many shows had 12.46 total viewers?", + "context": "create table table_23793770_2 (title varchar, total_viewers__in_millions_ varchar, PRIMARY KEY (title))", + "answer": "select count(title) from table_23793770_2 where total_viewers__in_millions_ = \"12.46\"" + }, + { + "question": "Which school years have a class a being lindsay and a class aaa being cuero?", + "context": "create table table_14603212_1 (school_year varchar, class_a varchar, class_aaa varchar, cuero varchar, PRIMARY KEY (school_year))", + "answer": "select school_year from table_14603212_1 where class_a = \"lindsay\" and class_aaa = \"cuero\"" + }, + { + "question": "What is the episode title that had a US viewership of 8.16?", + "context": "create table table_24910737_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_24910737_1 where us_viewers__millions_ = \"8.16\"" + }, + { + "question": "Who is safe if John and Nicole are eliminated?", + "context": "create table table_12305325_4 (safe varchar, eliminated varchar, PRIMARY KEY (safe))", + "answer": "select safe from table_12305325_4 where eliminated = \"john and nicole\"" + }, + { + "question": "Who wrote the episode when the director was dean white?", + "context": "create table table_12451376_1 (writer_s_ varchar, director varchar, PRIMARY KEY (writer_s_))", + "answer": "select writer_s_ from table_12451376_1 where director = \"dean white\"" + }, + { + "question": "What is the census division for the name Stratford?", + "context": "create table table_21284653_1 (census_division varchar, name varchar, PRIMARY KEY (census_division))", + "answer": "select census_division from table_21284653_1 where name = \"stratford\"" + }, + { + "question": "What were the quarterfinals in the round of 32 was S williams / V williams ( usa ) l 6\u20134, 5\u20137, 1\u20136?", + "context": "create table table_17289604_38 (quarterfinals varchar, round_of_32 varchar, PRIMARY KEY (quarterfinals))", + "answer": "select quarterfinals from table_17289604_38 where round_of_32 = \"s williams / v williams ( usa ) l 6\u20134, 5\u20137, 1\u20136\"" + }, + { + "question": "What geographical region is contestant laura jim\u00e9nez ynoa from?", + "context": "create table table_24192031_2 (geographical_regions varchar, contestant varchar, PRIMARY KEY (geographical_regions))", + "answer": "select geographical_regions from table_24192031_2 where contestant = \"laura jim\u00e9nez ynoa\"" + }, + { + "question": "What is the name of the course that has the most student enrollment?", + "context": "create table courses (course_name varchar, course_id varchar, PRIMARY KEY (course_name)); create table student_course_enrolment (course_id varchar, PRIMARY KEY (course_id))", + "answer": "select t1.course_name from courses as t1 join student_course_enrolment as t2 on t1.course_id = t2.course_id group by t1.course_name order by count(*) desc limit 1" + }, + { + "question": "what is the language when the awardee is re-recordist : mateen ahmad?", + "context": "create table table_25926120_7 (language varchar, awardee_s_ varchar, PRIMARY KEY (language))", + "answer": "select language from table_25926120_7 where awardee_s_ = \"re-recordist : mateen ahmad\"" + }, + { + "question": "How many different kickoffs happened when the opponent was the Scottish Claymores", + "context": "create table table_26275503_2 (kickoff varchar, opponent varchar, PRIMARY KEY (kickoff))", + "answer": "select count(kickoff) from table_26275503_2 where opponent = \"scottish claymores\"" + }, + { + "question": "List all mbit/s with profiles of 8b.", + "context": "create table table_2394927_1 (max_downstream_throughput___mbit_s__ varchar, profile varchar, PRIMARY KEY (max_downstream_throughput___mbit_s__))", + "answer": "select max_downstream_throughput___mbit_s__ from table_2394927_1 where profile = \"8b\"" + }, + { + "question": "what is the reason for change where the date the successor was seated was july 28, 1876?", + "context": "create table table_2192067_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2192067_4 where date_successor_seated = \"july 28, 1876\"" + }, + { + "question": "What station has the call number K213cl", + "context": "create table table_134729_3 (format varchar, call_sign varchar, PRIMARY KEY (format))", + "answer": "select format from table_134729_3 where call_sign = \"k213cl\"" + }, + { + "question": "Find the name of the first 5 customers.", + "context": "create table customers (customer_name varchar, date_became_customer varchar, PRIMARY KEY (customer_name))", + "answer": "select customer_name from customers order by date_became_customer limit 5" + }, + { + "question": "How many performers are 29 that made it to the semi finals?", + "context": "create table table_28180840_15 (semifinal__week_ varchar, age_s_ varchar, PRIMARY KEY (semifinal__week_))", + "answer": "select semifinal__week_ from table_28180840_15 where age_s_ = \"29\"" + }, + { + "question": "Who is listed under mens singles when womens has wang nan zhang yining?", + "context": "create table table_28138035_27 (mens_singles varchar, womens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select mens_singles from table_28138035_27 where womens_doubles = \"wang nan zhang yining\"" + }, + { + "question": "What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?", + "context": "create table table_2468961_3 (title varchar, written_by varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_2468961_3 where written_by = \"bob rosenfarb\" and directed_by = \"richard correll\"" + }, + { + "question": "What is the percentage of others when the number of others is 2286?", + "context": "create table table_1733513_1 (others_percentage varchar, others_number varchar, PRIMARY KEY (others_percentage))", + "answer": "select others_percentage from table_1733513_1 where others_number = 2286" + }, + { + "question": "When pointers are the nickname what is the type?", + "context": "create table table_262495_1 (type varchar, nickname varchar, PRIMARY KEY (type))", + "answer": "select type from table_262495_1 where nickname = \"pointers\"" + }, + { + "question": "What is their withdrawal rate for the school district with headquarters located in Truro?", + "context": "create table table_21514460_1 (withdrawal_rate__2010_11_ varchar, headquarters varchar, PRIMARY KEY (withdrawal_rate__2010_11_))", + "answer": "select withdrawal_rate__2010_11_ from table_21514460_1 where headquarters = \"truro\"" + }, + { + "question": "If the end (UTC) is January 31, 2007 23:09, what is the name of the spacewalkers?", + "context": "create table table_22385461_8 (spacewalkers varchar, end__utc_ varchar, PRIMARY KEY (spacewalkers))", + "answer": "select spacewalkers from table_22385461_8 where end__utc_ = \"january 31, 2007 23:09\"" + }, + { + "question": "What is the Input/output operations per second for the emlc flash?", + "context": "create table table_27615520_1 (speed___iops__ varchar, storage_medium varchar, PRIMARY KEY (speed___iops__))", + "answer": "select speed___iops__ from table_27615520_1 where storage_medium = \"emlc flash\"" + }, + { + "question": "Who is the host on the series aired on 18 January 2012?", + "context": "create table table_27487310_5 (host_s_ varchar, air_dates varchar, PRIMARY KEY (host_s_))", + "answer": "select host_s_ from table_27487310_5 where air_dates = \"18 january 2012\"" + }, + { + "question": "Show all publishers and the number of books for each publisher.", + "context": "create table book_club (publisher varchar, PRIMARY KEY (publisher))", + "answer": "select publisher, count(*) from book_club group by publisher" + }, + { + "question": "What is the theme of the song by Soul Brothers Six", + "context": "create table table_21501518_1 (theme varchar, original_artist varchar, PRIMARY KEY (theme))", + "answer": "select theme from table_21501518_1 where original_artist = \"soul brothers six\"" + }, + { + "question": "When segment b is dining room tables what is segment d?", + "context": "create table table_15187735_5 (segment_d varchar, segment_b varchar, PRIMARY KEY (segment_d))", + "answer": "select segment_d from table_15187735_5 where segment_b = \"dining room tables\"" + }, + { + "question": "what is the total 07-08 gp/jgp 2nd with the name mao asada", + "context": "create table table_23938357_5 (name varchar, PRIMARY KEY (name))", + "answer": "select 07 as _08_gp_jgp_2nd from table_23938357_5 where name = \"mao asada\"" + }, + { + "question": "How many missions countries have notability with president of burundi?", + "context": "create table table_18299148_1 (missions varchar, notability varchar, PRIMARY KEY (missions))", + "answer": "select count(missions) as country from table_18299148_1 where notability = \"president of burundi\"" + }, + { + "question": "Find the details for all chip models.", + "context": "create table chip_model (id varchar, PRIMARY KEY (id))", + "answer": "select * from chip_model" + }, + { + "question": "How many descriptions are there when the attribute is \"ondragstart\"?", + "context": "create table table_1507852_1 (description varchar, attribute varchar, PRIMARY KEY (description))", + "answer": "select count(description) from table_1507852_1 where attribute = \"ondragstart\"" + }, + { + "question": "Name the segment a for 8-08", + "context": "create table table_15187735_8 (segment_a varchar, series_ep varchar, PRIMARY KEY (segment_a))", + "answer": "select segment_a from table_15187735_8 where series_ep = \"8-08\"" + }, + { + "question": "What is the first and last name of the oldest employee?", + "context": "create table employee (emp_fname varchar, emp_lname varchar, emp_dob varchar, PRIMARY KEY (emp_fname))", + "answer": "select emp_fname, emp_lname from employee order by emp_dob limit 1" + }, + { + "question": "Name the total number of domestic mail for 7853 for total frieght and mail", + "context": "create table table_1754531_4 (domestic_mail varchar, total_freight_and_mail varchar, PRIMARY KEY (domestic_mail))", + "answer": "select count(domestic_mail) from table_1754531_4 where total_freight_and_mail = 7853" + }, + { + "question": "What is the f bolt for 11.35 p1 diameter (mm)?", + "context": "create table table_26967904_2 (f_bolt varchar, p1_diameter__mm_ varchar, PRIMARY KEY (f_bolt))", + "answer": "select f_bolt from table_26967904_2 where p1_diameter__mm_ = \"11.35\"" + }, + { + "question": "What is the last name of the musician that have produced the most number of songs?", + "context": "create table songs (songid varchar, PRIMARY KEY (songid)); create table band (lastname varchar, id varchar, PRIMARY KEY (lastname)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate))", + "answer": "select t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid group by lastname order by count(*) desc limit 1" + }, + { + "question": "What document type codes do we have?", + "context": "create table ref_document_types (document_type_code varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from ref_document_types" + }, + { + "question": "List the document type code for the document with the id 2.", + "context": "create table documents (document_type_code varchar, document_id varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code from documents where document_id = 2" + }, + { + "question": "With original artist of Tina Turner, what is the week number?", + "context": "create table table_21501565_1 (week__number varchar, original_artist varchar, PRIMARY KEY (week__number))", + "answer": "select week__number from table_21501565_1 where original_artist = \"tina turner\"" + }, + { + "question": "List the first name of all employees with job code PROF ordered by their date of birth.", + "context": "create table employee (emp_fname varchar, emp_jobcode varchar, emp_dob varchar, PRIMARY KEY (emp_fname))", + "answer": "select emp_fname from employee where emp_jobcode = 'prof' order by emp_dob" + }, + { + "question": "What are the names and parties of representatives?", + "context": "create table representative (name varchar, party varchar, PRIMARY KEY (name))", + "answer": "select name, party from representative" + }, + { + "question": "Name the mosst finals apps", + "context": "create table table_21220720_1 (finals_apps integer, PRIMARY KEY (finals_apps))", + "answer": "select max(finals_apps) from table_21220720_1" + }, + { + "question": "Name the number of constr with the first win at the 1978 brazilian grand prix", + "context": "create table table_12707313_2 (constr varchar, first_win varchar, PRIMARY KEY (constr))", + "answer": "select count(constr) from table_12707313_2 where first_win = \"1978 brazilian grand prix\"" + }, + { + "question": "what is the total number of\u00a0percent (2000)\u00a0where\u00a0percent (1980)\u00a0is 3.4%", + "context": "create table table_1182314_5 (percent__2000_ varchar, percent__1980_ varchar, PRIMARY KEY (percent__2000_))", + "answer": "select count(percent__2000_) from table_1182314_5 where percent__1980_ = \"3.4%\"" + }, + { + "question": "What is the archive of the show that aired on 18april1970?", + "context": "create table table_2102898_1 (archive varchar, broadcast_date varchar, PRIMARY KEY (archive))", + "answer": "select archive from table_2102898_1 where broadcast_date = \"18april1970\"" + }, + { + "question": "What is the production number of 3-04?", + "context": "create table table_25046766_3 (prod_no integer, episode_no varchar, PRIMARY KEY (prod_no))", + "answer": "select max(prod_no) from table_25046766_3 where episode_no = \"3-04\"" + }, + { + "question": "Find the last name of the latest contact individual of the organization \"Labour Party\".", + "context": "create table organizations (organization_id varchar, organization_name varchar, PRIMARY KEY (organization_id)); create table individuals (individual_last_name varchar, individual_id varchar, PRIMARY KEY (individual_last_name)); create table organization_contact_individuals (organization_id varchar, individual_id varchar, date_contact_to varchar, PRIMARY KEY (organization_id))", + "answer": "select t3.individual_last_name from organizations as t1 join organization_contact_individuals as t2 on t1.organization_id = t2.organization_id join individuals as t3 on t2.individual_id = t3.individual_id where t1.organization_name = \"labour party\" order by t2.date_contact_to desc limit 1" + }, + { + "question": "Which song has picturization by only vijay?", + "context": "create table table_10848177_1 (song varchar, picturization varchar, PRIMARY KEY (song))", + "answer": "select song from table_10848177_1 where picturization = \"vijay\"" + }, + { + "question": "when chiji is revised hepburn what are all the english", + "context": "create table table_26263954_1 (english varchar, revised_hepburn varchar, PRIMARY KEY (english))", + "answer": "select english from table_26263954_1 where revised_hepburn = \"chiji\"" + }, + { + "question": "Where where the bbc three weekly ranking for episode no. 5?", + "context": "create table table_24399615_3 (bbc_three_weekly_ranking varchar, episode_no varchar, PRIMARY KEY (bbc_three_weekly_ranking))", + "answer": "select bbc_three_weekly_ranking from table_24399615_3 where episode_no = 5" + }, + { + "question": "Where was the Ivy League conference tournament?", + "context": "create table table_21091982_3 (tournament_venue__city_ varchar, conference varchar, PRIMARY KEY (tournament_venue__city_))", + "answer": "select tournament_venue__city_ from table_21091982_3 where conference = \"ivy league\"" + }, + { + "question": "What is the pennant for 4 may 1943?", + "context": "create table table_1220125_4 (pennant varchar, laid_down varchar, PRIMARY KEY (pennant))", + "answer": "select pennant from table_1220125_4 where laid_down = \"4 may 1943\"" + }, + { + "question": "Name the fourth district for beverly bodem", + "context": "create table table_15442974_1 (fourth_district varchar, first_district varchar, PRIMARY KEY (fourth_district))", + "answer": "select fourth_district from table_15442974_1 where first_district = \"beverly bodem\"" + }, + { + "question": "In what country is mont sokbaro a highest point", + "context": "create table table_24285393_1 (country_or_region varchar, highest_point varchar, PRIMARY KEY (country_or_region))", + "answer": "select country_or_region from table_24285393_1 where highest_point = \"mont sokbaro\"" + }, + { + "question": "When was Kamba active?", + "context": "create table table_10602294_1 (dates_active varchar, name varchar, PRIMARY KEY (dates_active))", + "answer": "select dates_active from table_10602294_1 where name = \"kamba\"" + }, + { + "question": "What was the original title of the Bruno Barreto film in 1989", + "context": "create table table_15277629_1 (original_title varchar, director varchar, year__ceremony_ varchar, PRIMARY KEY (original_title))", + "answer": "select original_title from table_15277629_1 where director = \"bruno barreto\" and year__ceremony_ = 1989" + }, + { + "question": "What are the coupon amount of the coupons owned by both good and bad customers?", + "context": "create table discount_coupons (coupon_amount varchar, coupon_id varchar, PRIMARY KEY (coupon_amount)); create table customers (coupon_id varchar, good_or_bad_customer varchar, PRIMARY KEY (coupon_id))", + "answer": "select t1.coupon_amount from discount_coupons as t1 join customers as t2 on t1.coupon_id = t2.coupon_id where t2.good_or_bad_customer = 'good' intersect select t1.coupon_amount from discount_coupons as t1 join customers as t2 on t1.coupon_id = t2.coupon_id where t2.good_or_bad_customer = 'bad'" + }, + { + "question": "Show titles of songs and names of singers.", + "context": "create table singer (name varchar, singer_id varchar, PRIMARY KEY (name)); create table song (title varchar, singer_id varchar, PRIMARY KEY (title))", + "answer": "select t2.title, t1.name from singer as t1 join song as t2 on t1.singer_id = t2.singer_id" + }, + { + "question": "What is the original air date when there were 12.81 million u.s viewers?", + "context": "create table table_11404452_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))", + "answer": "select original_air_date from table_11404452_1 where us_viewers__millions_ = \"12.81\"" + }, + { + "question": "If in english it is heart, what is it in hebrew?", + "context": "create table table_26919_7 (hebrew varchar, english varchar, PRIMARY KEY (hebrew))", + "answer": "select hebrew from table_26919_7 where english = \"heart\"" + }, + { + "question": "Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian?", + "context": "create table table_14345690_15 (uk_co_presenter varchar, co_presenter varchar, comedian varchar, PRIMARY KEY (uk_co_presenter))", + "answer": "select count(uk_co_presenter) from table_14345690_15 where co_presenter = \"joe swash\" and comedian = \"russell kane\"" + }, + { + "question": "Find the id and local authority of the station whose maximum precipitation is higher than 50.", + "context": "create table weekly_weather (station_id varchar, precipitation integer, PRIMARY KEY (station_id)); create table station (id varchar, local_authority varchar, PRIMARY KEY (id))", + "answer": "select t2.id, t2.local_authority from weekly_weather as t1 join station as t2 on t1.station_id = t2.id group by t1.station_id having max(t1.precipitation) > 50" + }, + { + "question": "What network airs on virtual channel 23.1?", + "context": "create table table_2857352_3 (network varchar, virtual_channel varchar, PRIMARY KEY (network))", + "answer": "select network from table_2857352_3 where virtual_channel = \"23.1\"" + }, + { + "question": "How many total dismissals did the player for Guyana have?", + "context": "create table table_27771406_1 (total_dismissals integer, club varchar, PRIMARY KEY (total_dismissals))", + "answer": "select max(total_dismissals) from table_27771406_1 where club = \"guyana\"" + }, + { + "question": "What were the scores by the individual judges for Karanvir Bohra on August 13?", + "context": "create table table_18278508_6 (scores_by_each_individual_judge varchar, main_contestant varchar, date_performed varchar, PRIMARY KEY (scores_by_each_individual_judge))", + "answer": "select scores_by_each_individual_judge from table_18278508_6 where main_contestant = \"karanvir bohra\" and date_performed = \"august 13\"" + }, + { + "question": "Name the total number of barony for kilmore", + "context": "create table table_30120559_1 (barony varchar, townland varchar, PRIMARY KEY (barony))", + "answer": "select count(barony) from table_30120559_1 where townland = \"kilmore\"" + }, + { + "question": "What is the school of the player from Lake Charles, LA?", + "context": "create table table_11677100_18 (school varchar, hometown varchar, PRIMARY KEY (school))", + "answer": "select school from table_11677100_18 where hometown = \"lake charles, la\"" + }, + { + "question": "What are the results in the county with Peter Deutsch as a candidate?", + "context": "create table table_1341453_11 (results varchar, incumbent varchar, PRIMARY KEY (results))", + "answer": "select results from table_1341453_11 where incumbent = \"peter deutsch\"" + }, + { + "question": "On July 17, 2008, what was the total number of lead maragin?", + "context": "create table table_16751596_13 (lead_maragin varchar, dates_administered varchar, PRIMARY KEY (lead_maragin))", + "answer": "select count(lead_maragin) from table_16751596_13 where dates_administered = \"july 17, 2008\"" + }, + { + "question": "Where delegate is feldman, brian j. brian j. feldman, please specify all the party", + "context": "create table table_27050336_7 (party varchar, delegate varchar, PRIMARY KEY (party))", + "answer": "select party from table_27050336_7 where delegate = \"feldman, brian j. brian j. feldman\"" + }, + { + "question": "Find the number of male (sex is 'M') students who have some food type allery.", + "context": "create table has_allergy (allergy varchar, PRIMARY KEY (allergy)); create table allergy_type (allergy varchar, allergytype varchar, PRIMARY KEY (allergy)); create table student (sex varchar, stuid varchar, PRIMARY KEY (sex))", + "answer": "select count(*) from student where sex = \"m\" and stuid in (select stuid from has_allergy as t1 join allergy_type as t2 on t1.allergy = t2.allergy where t2.allergytype = \"food\")" + }, + { + "question": "Name the type for 1245 enrollment", + "context": "create table table_2076533_1 (type varchar, enrollment__2005_ varchar, PRIMARY KEY (type))", + "answer": "select type from table_2076533_1 where enrollment__2005_ = 1245" + }, + { + "question": "how many times is the date (to) 1919?", + "context": "create table table_12562214_1 (notes varchar, date__to_ varchar, PRIMARY KEY (notes))", + "answer": "select count(notes) from table_12562214_1 where date__to_ = \"1919\"" + }, + { + "question": "Who had the high assists when the opponent was Indiana?", + "context": "create table table_27882867_9 (high_assists varchar, team varchar, PRIMARY KEY (high_assists))", + "answer": "select high_assists from table_27882867_9 where team = \"indiana\"" + }, + { + "question": "Find the number of projects which each scientist is working on and scientist's name.", + "context": "create table scientists (name varchar, ssn varchar, PRIMARY KEY (name)); create table assignedto (scientist varchar, PRIMARY KEY (scientist))", + "answer": "select count(*), t1.name from scientists as t1 join assignedto as t2 on t1.ssn = t2.scientist group by t1.name" + }, + { + "question": "How many number of lakes are there in the Valdez-Cordova (CA) area?", + "context": "create table table_17978052_2 (_number_s_lake_and_gnis_query_link integer, borough_or_census_area varchar, PRIMARY KEY (_number_s_lake_and_gnis_query_link))", + "answer": "select min(_number_s_lake_and_gnis_query_link) from table_17978052_2 where borough_or_census_area = \"valdez-cordova (ca)\"" + }, + { + "question": "List the names of people that are not perpetrators.", + "context": "create table people (name varchar, people_id varchar, PRIMARY KEY (name)); create table perpetrator (name varchar, people_id varchar, PRIMARY KEY (name))", + "answer": "select name from people where not people_id in (select people_id from perpetrator)" + }, + { + "question": "What is the vote percentage for the couple gary and maria?", + "context": "create table table_26375386_20 (vote_percentage varchar, couple varchar, PRIMARY KEY (vote_percentage))", + "answer": "select vote_percentage from table_26375386_20 where couple = \"gary and maria\"" + }, + { + "question": "Which party does Tom Luken belong to?", + "context": "create table table_1341577_36 (party varchar, incumbent varchar, PRIMARY KEY (party))", + "answer": "select party from table_1341577_36 where incumbent = \"tom luken\"" + }, + { + "question": "Name the part one for to give", + "context": "create table table_1745843_9 (part_1 varchar, verb_meaning varchar, PRIMARY KEY (part_1))", + "answer": "select part_1 from table_1745843_9 where verb_meaning = \"to give\"" + }, + { + "question": "How many distinct locations of perpetrators are there?", + "context": "create table perpetrator (location varchar, PRIMARY KEY (location))", + "answer": "select count(distinct location) from perpetrator" + }, + { + "question": "How much was the in-county tuition per credit hour at the Mercer College by the fall of 2009?", + "context": "create table table_22308881_2 (in_county_tuition_per_credit_hour__fall_2009_ varchar, college varchar, PRIMARY KEY (in_county_tuition_per_credit_hour__fall_2009_))", + "answer": "select in_county_tuition_per_credit_hour__fall_2009_ from table_22308881_2 where college = \"mercer\"" + }, + { + "question": "Show aircraft names and number of flights for each aircraft.", + "context": "create table aircraft (name varchar, aid varchar, PRIMARY KEY (name)); create table flight (aid varchar, PRIMARY KEY (aid))", + "answer": "select t2.name, count(*) from flight as t1 join aircraft as t2 on t1.aid = t2.aid group by t1.aid" + }, + { + "question": "What are the mixed doubles where the mens singles is kim brodersen?", + "context": "create table table_12186309_1 (mixed_doubles varchar, mens_singles varchar, PRIMARY KEY (mixed_doubles))", + "answer": "select mixed_doubles from table_12186309_1 where mens_singles = \"kim brodersen\"" + }, + { + "question": "Name the school where conference record is 12-6", + "context": "create table table_16295365_2 (school varchar, conf_record varchar, PRIMARY KEY (school))", + "answer": "select school from table_16295365_2 where conf_record = \"12-6\"" + }, + { + "question": "What is the title of the episode/s written by Michael Gans & Richard Register?", + "context": "create table table_23399481_4 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23399481_4 where written_by = \"michael gans & richard register\"" + }, + { + "question": "What was the title of the episode written by Keith Temple?", + "context": "create table table_21025437_5 (title varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_21025437_5 where written_by = \"keith temple\"" + }, + { + "question": "What is the time/retired if the driver is Marco Andretti?", + "context": "create table table_17693171_1 (time_retired varchar, driver varchar, PRIMARY KEY (time_retired))", + "answer": "select time_retired from table_17693171_1 where driver = \"marco andretti\"" + }, + { + "question": "When was Season Three premiered in region 2?", + "context": "create table table_2113721_7 (region_2 varchar, dvd_name varchar, PRIMARY KEY (region_2))", + "answer": "select region_2 from table_2113721_7 where dvd_name = \"season three\"" + }, + { + "question": "List the names of all the distinct product names in alphabetical order?", + "context": "create table product (product_name varchar, PRIMARY KEY (product_name))", + "answer": "select distinct product_name from product order by product_name" + }, + { + "question": "What is the smallest third place finish?", + "context": "create table table_2146364_2 (third_place integer, PRIMARY KEY (third_place))", + "answer": "select min(third_place) from table_2146364_2" + }, + { + "question": "What was the comment on the Denali area?", + "context": "create table table_17978052_2 (comment varchar, borough_or_census_area varchar, PRIMARY KEY (comment))", + "answer": "select comment from table_17978052_2 where borough_or_census_area = \"denali\"" + }, + { + "question": "Name the order number for 1960s", + "context": "create table table_19508635_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number))", + "answer": "select order__number from table_19508635_1 where theme = \"1960s\"" + }, + { + "question": "Name the number of reason for change on may 11, 1939", + "context": "create table table_2160008_4 (reason_for_change varchar, date_successor_seated varchar, PRIMARY KEY (reason_for_change))", + "answer": "select count(reason_for_change) from table_2160008_4 where date_successor_seated = \"may 11, 1939\"" + }, + { + "question": "How many entries for conference tournament are listed when Texas Western is the regular season winner?", + "context": "create table table_28365816_2 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference))", + "answer": "select count(conference) as tournament from table_28365816_2 where regular_season_winner = \"texas western\"" + }, + { + "question": "Name the subdivides in equivalence for varas 1/5", + "context": "create table table_26538461_2 (subdivides_in varchar, equivalence_in_varas varchar, PRIMARY KEY (subdivides_in))", + "answer": "select subdivides_in from table_26538461_2 where equivalence_in_varas = \"1/5\"" + }, + { + "question": "What were Gentleman's odds of winner?", + "context": "create table table_21676617_1 (odds_of_winner varchar, horse varchar, PRIMARY KEY (odds_of_winner))", + "answer": "select odds_of_winner from table_21676617_1 where horse = \"gentleman\"" + }, + { + "question": "Show the name and theme for all concerts and the number of singers in each concert.", + "context": "create table singer_in_concert (concert_id varchar, PRIMARY KEY (concert_id)); create table concert (concert_name varchar, theme varchar, concert_id varchar, PRIMARY KEY (concert_name))", + "answer": "select t2.concert_name, t2.theme, count(*) from singer_in_concert as t1 join concert as t2 on t1.concert_id = t2.concert_id group by t2.concert_id" + }, + { + "question": "What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor", + "context": "create table table_255812_1 (income_class__2007_ varchar, mayor varchar, PRIMARY KEY (income_class__2007_))", + "answer": "select income_class__2007_ from table_255812_1 where mayor = \"ma. ester a. hamor\"" + }, + { + "question": "What is the title of the episode Alex Reid directed?", + "context": "create table table_28760804_1 (title varchar, directed_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_28760804_1 where directed_by = \"alex reid\"" + }, + { + "question": "How many teachers does the student named MADLOCK RAY have?", + "context": "create table teachers (classroom varchar, PRIMARY KEY (classroom)); create table list (classroom varchar, firstname varchar, lastname varchar, PRIMARY KEY (classroom))", + "answer": "select count(*) from list as t1 join teachers as t2 on t1.classroom = t2.classroom where t1.firstname = \"madlock\" and t1.lastname = \"ray\"" + }, + { + "question": "Who is team 1 when team 2 is koper?", + "context": "create table table_19294812_2 (team_1 varchar, team_2 varchar, PRIMARY KEY (team_1))", + "answer": "select team_1 from table_19294812_2 where team_2 = \"koper\"" + }, + { + "question": "Which owner owns the most dogs? List the owner id, first name and last name.", + "context": "create table owners (first_name varchar, last_name varchar, owner_id varchar, PRIMARY KEY (first_name)); create table dogs (owner_id varchar, PRIMARY KEY (owner_id))", + "answer": "select t1.owner_id, t2.first_name, t2.last_name from dogs as t1 join owners as t2 on t1.owner_id = t2.owner_id group by t1.owner_id order by count(*) desc limit 1" + }, + { + "question": "Who were all the writers whose episodes had 0.97 million viewers?", + "context": "create table table_23918997_1 (written_by varchar, us_viewers__million_ varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_23918997_1 where us_viewers__million_ = \"0.97\"" + }, + { + "question": "how many\u00a0na -350-\u00a0with\u00a0title and source\u00a0being bokumo sekai wo sukuitai: battle tournament", + "context": "create table table_13663434_1 (na__350_ varchar, title_and_source varchar, PRIMARY KEY (na__350_))", + "answer": "select count(na__350_) from table_13663434_1 where title_and_source = \"bokumo sekai wo sukuitai: battle tournament\"" + }, + { + "question": "What was the highest vote for others?", + "context": "create table table_1756284_1 (others_number integer, PRIMARY KEY (others_number))", + "answer": "select max(others_number) from table_1756284_1" + }, + { + "question": "Who is the replaced by when the date of vacancy is 27 december 2010?", + "context": "create table table_26998135_2 (replaced_by varchar, date_of_vacancy varchar, PRIMARY KEY (replaced_by))", + "answer": "select replaced_by from table_26998135_2 where date_of_vacancy = \"27 december 2010\"" + }, + { + "question": "What was the reason for change when the successor was William Milnes, Jr. (C)?", + "context": "create table table_2417345_4 (reason_for_change varchar, successor varchar, PRIMARY KEY (reason_for_change))", + "answer": "select reason_for_change from table_2417345_4 where successor = \"william milnes, jr. (c)\"" + }, + { + "question": "List the names of buildings that have no company office.", + "context": "create table buildings (name varchar, id varchar, building_id varchar, PRIMARY KEY (name)); create table office_locations (name varchar, id varchar, building_id varchar, PRIMARY KEY (name))", + "answer": "select name from buildings where not id in (select building_id from office_locations)" + }, + { + "question": "Show all document type codes, document type names, document type descriptions.", + "context": "create table ref_document_types (document_type_code varchar, document_type_name varchar, document_type_description varchar, PRIMARY KEY (document_type_code))", + "answer": "select document_type_code, document_type_name, document_type_description from ref_document_types" + }, + { + "question": "What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers", + "context": "create table table_27319183_7 (official_itv_rating__millions_ varchar, total_itv_viewers__millions_ varchar, PRIMARY KEY (official_itv_rating__millions_))", + "answer": "select official_itv_rating__millions_ from table_27319183_7 where total_itv_viewers__millions_ = \"8.53\"" + }, + { + "question": "What is the name of member in charge of greatest number of events?", + "context": "create table party_events (member_in_charge_id varchar, PRIMARY KEY (member_in_charge_id)); create table member (member_name varchar, member_id varchar, PRIMARY KEY (member_name))", + "answer": "select t1.member_name from member as t1 join party_events as t2 on t1.member_id = t2.member_in_charge_id group by t2.member_in_charge_id order by count(*) desc limit 1" + }, + { + "question": "How many drivers does India have/", + "context": "create table table_19487922_2 (total_drivers varchar, country varchar, PRIMARY KEY (total_drivers))", + "answer": "select count(total_drivers) from table_19487922_2 where country = \"india\"" + }, + { + "question": "How many ballot measures had a percentage yes of 52.11%?", + "context": "create table table_256286_39 (passed varchar, _percentage_yes varchar, PRIMARY KEY (passed))", + "answer": "select count(passed) from table_256286_39 where _percentage_yes = \"52.11%\"" + }, + { + "question": "What municipality had 754 votes for coakley?", + "context": "create table table_24115349_6 (municipality varchar, coakley_votes varchar, PRIMARY KEY (municipality))", + "answer": "select municipality from table_24115349_6 where coakley_votes = 754" + }, + { + "question": "List all the characteristic names and data types of product \"cumin\".", + "context": "create table characteristics (characteristic_name varchar, characteristic_data_type varchar, characteristic_id varchar, PRIMARY KEY (characteristic_name)); 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))", + "answer": "select t3.characteristic_name, t3.characteristic_data_type 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 = \"cumin\"" + }, + { + "question": "What is the French word for the Italian word nazione?", + "context": "create table table_15040_8 (french varchar, italian varchar, PRIMARY KEY (french))", + "answer": "select french from table_15040_8 where italian = \"nazione\"" + }, + { + "question": "When did the old manager vacate his position in Plymouth Argyle?", + "context": "create table table_19359427_6 (date_of_vacancy varchar, team varchar, PRIMARY KEY (date_of_vacancy))", + "answer": "select date_of_vacancy from table_19359427_6 where team = \"plymouth argyle\"" + }, + { + "question": "Which team uses lola t92/00/ buick for their chassis/engine?", + "context": "create table table_23391714_1 (team varchar, chassis_engine varchar, PRIMARY KEY (team))", + "answer": "select team from table_23391714_1 where chassis_engine = \"lola t92/00/ buick\"" + }, + { + "question": "How many songs have a shared vocal?", + "context": "create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))", + "answer": "select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = \"shared\"" + }, + { + "question": "what is the stroke where the vehicle code is t211?", + "context": "create table table_23722304_2 (stroke__mm_ varchar, vehicle_code varchar, PRIMARY KEY (stroke__mm_))", + "answer": "select stroke__mm_ from table_23722304_2 where vehicle_code = \"t211\"" + }, + { + "question": "Count the number of rooms that are not in the Lamberton building.", + "context": "create table classroom (building varchar, PRIMARY KEY (building))", + "answer": "select count(*) from classroom where building <> 'lamberton'" + }, + { + "question": "What are all the AAA classes in the school years of 2004-05?", + "context": "create table table_14603212_5 (class_aaa varchar, school_year varchar, PRIMARY KEY (class_aaa))", + "answer": "select class_aaa from table_14603212_5 where school_year = \"2004-05\"" + }, + { + "question": "Find the package choice and series name of the TV channel that has high definition TV.", + "context": "create table tv_channel (package_option varchar, series_name varchar, hight_definition_tv varchar, PRIMARY KEY (package_option))", + "answer": "select package_option, series_name from tv_channel where hight_definition_tv = \"yes\"" + }, + { + "question": "What is the power in KW of the transmitter situated in Borongan?", + "context": "create table table_24673888_1 (power_kw varchar, location__transmitter_site_ varchar, PRIMARY KEY (power_kw))", + "answer": "select power_kw from table_24673888_1 where location__transmitter_site_ = \"borongan\"" + }, + { + "question": "How many different advisors are listed?", + "context": "create table student (advisor varchar, PRIMARY KEY (advisor))", + "answer": "select count(distinct advisor) from student" + }, + { + "question": "Name the mountains classification for rabobank and damiano cunego", + "context": "create table table_29077342_19 (mountains_classification varchar, team_classification varchar, general_classification varchar, PRIMARY KEY (mountains_classification))", + "answer": "select mountains_classification from table_29077342_19 where team_classification = \"rabobank\" and general_classification = \"damiano cunego\"" + }, + { + "question": "How many episodes did David Jackson write and direct?", + "context": "create table table_11695215_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select count(written_by) from table_11695215_1 where directed_by = \"david jackson\"" + }, + { + "question": "If the velocity angle is ln[(1 + \u221a5)/2] \u2245 0.481, what is the condition/parameter?", + "context": "create table table_15314901_1 (condition_parameter varchar, velocity_angle_\u03b7_in_i_radians varchar, PRIMARY KEY (condition_parameter))", + "answer": "select condition_parameter from table_15314901_1 where velocity_angle_\u03b7_in_i_radians = \"ln[(1 + \u221a5)/2] \u2245 0.481\"" + }, + { + "question": "When la salle is the team who has the highest amount of points?", + "context": "create table table_29556461_8 (high_points varchar, team varchar, PRIMARY KEY (high_points))", + "answer": "select high_points from table_29556461_8 where team = \"la salle\"" + }, + { + "question": "What is the order id and order details for the order more than two invoices.", + "context": "create table orders (order_id varchar, order_details varchar, PRIMARY KEY (order_id)); create table invoices (order_id varchar, PRIMARY KEY (order_id))", + "answer": "select t2.order_id, t2.order_details from invoices as t1 join orders as t2 on t1.order_id = t2.order_id group by t2.order_id having count(*) > 2" + }, + { + "question": "What digital channel corresponds to virtual channel 5.2?", + "context": "create table table_2857352_3 (digital_channel varchar, virtual_channel varchar, PRIMARY KEY (digital_channel))", + "answer": "select digital_channel from table_2857352_3 where virtual_channel = \"5.2\"" + }, + { + "question": "How many time was the political party the social democratic party of germany?", + "context": "create table table_21132404_1 (_percentage_2006 varchar, political_parties varchar, PRIMARY KEY (_percentage_2006))", + "answer": "select count(_percentage_2006) from table_21132404_1 where political_parties = \"social democratic party of germany\"" + }, + { + "question": "Who is the s color commentator when the pregame host is jon sciambi?", + "context": "create table table_2941848_10 (s_color_commentator varchar, pregame_hosts varchar, PRIMARY KEY (s_color_commentator))", + "answer": "select s_color_commentator from table_2941848_10 where pregame_hosts = \"jon sciambi\"" + }, + { + "question": "List all customer status codes and the number of customers having each status code.", + "context": "create table customers (customer_status_code varchar, PRIMARY KEY (customer_status_code))", + "answer": "select customer_status_code, count(*) from customers group by customer_status_code" + }, + { + "question": "Find the product category description of the product category with code \"Spices\".", + "context": "create table ref_product_categories (product_category_description varchar, product_category_code varchar, PRIMARY KEY (product_category_description))", + "answer": "select product_category_description from ref_product_categories where product_category_code = \"spices\"" + }, + { + "question": "What's the bus width (in bit) of the model whose core is 650 MHz?", + "context": "create table table_19161046_1 (bus_width___bit__ varchar, core___mhz__ varchar, PRIMARY KEY (bus_width___bit__))", + "answer": "select count(bus_width___bit__) from table_19161046_1 where core___mhz__ = 650" + }, + { + "question": "Which school, club team, or country played for the rockets in the years 2000-01?", + "context": "create table table_11734041_3 (school_club_team_country varchar, years_for_rockets varchar, PRIMARY KEY (school_club_team_country))", + "answer": "select school_club_team_country from table_11734041_3 where years_for_rockets = \"2000-01\"" + }, + { + "question": "What tv season year had 14.54 million viewers?", + "context": "create table table_27553627_2 (tv_season varchar, viewers__in_millions_ varchar, PRIMARY KEY (tv_season))", + "answer": "select tv_season from table_27553627_2 where viewers__in_millions_ = \"14.54\"" + }, + { + "question": "Which team is 9th in wickets?", + "context": "create table table_1670921_1 (fielding_team varchar, wicket varchar, PRIMARY KEY (fielding_team))", + "answer": "select fielding_team from table_1670921_1 where wicket = \"9th\"" + }, + { + "question": "Who tied for the highest rebounds during the game against Orlando?", + "context": "create table table_23248940_8 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_23248940_8 where team = \"orlando\"" + }, + { + "question": "Who got the pole position if the supporting is USAC National Midget Series?", + "context": "create table table_25459168_2 (pole_position varchar, supporting varchar, PRIMARY KEY (pole_position))", + "answer": "select pole_position from table_25459168_2 where supporting = \"usac national midget series\"" + }, + { + "question": "Name the broadcast network for chiba prefecture", + "context": "create table table_21076286_2 (broadcast_network varchar, broadcast_scope varchar, PRIMARY KEY (broadcast_network))", + "answer": "select broadcast_network from table_21076286_2 where broadcast_scope = \"chiba prefecture\"" + }, + { + "question": "Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number.", + "context": "create table claims (claim_id varchar, date_claim_made varchar, PRIMARY KEY (claim_id)); create table settlements (claim_id varchar, PRIMARY KEY (claim_id))", + "answer": "select t1.claim_id, t1.date_claim_made, count(*) from claims as t1 join settlements as t2 on t1.claim_id = t2.claim_id group by t1.claim_id order by count(*) desc limit 1" + }, + { + "question": "How many times was the womens doubles in china?", + "context": "create table table_28138035_6 (mens_singles varchar, womens_doubles varchar, PRIMARY KEY (mens_singles))", + "answer": "select count(mens_singles) from table_28138035_6 where womens_doubles = \"china\"" + }, + { + "question": "What is the name of the zhou jinsong's hometown?", + "context": "create table table_28180840_15 (hometown varchar, name_name_of_act varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_28180840_15 where name_name_of_act = \"zhou jinsong\"" + }, + { + "question": "When rashard lewis (24) has the highest amount of points who is the team?", + "context": "create table table_23249053_11 (team varchar, high_points varchar, PRIMARY KEY (team))", + "answer": "select team from table_23249053_11 where high_points = \"rashard lewis (24)\"" + }, + { + "question": "What is the distance (in meters) when the shuttle time is 6.86 seconds?", + "context": "create table table_1751142_2 (distance__m_ integer, shuttle_time__seconds_ varchar, PRIMARY KEY (distance__m_))", + "answer": "select min(distance__m_) from table_1751142_2 where shuttle_time__seconds_ = \"6.86\"" + }, + { + "question": "When river ness is the hr name what is the hr number?", + "context": "create table table_1886270_1 (hr_no varchar, hr_name varchar, PRIMARY KEY (hr_no))", + "answer": "select hr_no from table_1886270_1 where hr_name = \"river ness\"" + }, + { + "question": "Who was the original artist of the Top 12 Men theme?", + "context": "create table table_27614707_1 (original_artist varchar, theme varchar, PRIMARY KEY (original_artist))", + "answer": "select original_artist from table_27614707_1 where theme = \"top 12 men\"" + }, + { + "question": "Name the owners 2009 for south side indianapolis", + "context": "create table table_23958917_1 (owner_s___2009_ varchar, location varchar, PRIMARY KEY (owner_s___2009_))", + "answer": "select owner_s___2009_ from table_23958917_1 where location = \"south side indianapolis\"" + }, + { + "question": "What episode is directed by Bryan Spicer and written by Terence Paul Winter?", + "context": "create table table_23958944_5 (title varchar, directed_by varchar, written_by varchar, PRIMARY KEY (title))", + "answer": "select title from table_23958944_5 where directed_by = \"bryan spicer\" and written_by = \"terence paul winter\"" + }, + { + "question": "What town holds Stadion Zlatica?", + "context": "create table table_28668784_1 (city___town varchar, stadium varchar, PRIMARY KEY (city___town))", + "answer": "select city___town from table_28668784_1 where stadium = \"stadion zlatica\"" + }, + { + "question": "What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August?", + "context": "create table table_23465864_4 (sat_29_aug varchar, fri_28_aug varchar, PRIMARY KEY (sat_29_aug))", + "answer": "select sat_29_aug from table_23465864_4 where fri_28_aug = \"25' 01.89 90.438mph\"" + }, + { + "question": "List the all the distinct names of the products with the characteristic name 'warm'.", + "context": "create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table products (product_name varchar, product_id varchar, PRIMARY KEY (product_name)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))", + "answer": "select distinct t1.product_name 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 t3.characteristic_name = \"warm\"" + }, + { + "question": "What was the 2006 population count of the local government area where Coober Pedy is located?", + "context": "create table table_23685890_2 (pop_2006 varchar, major_town varchar, PRIMARY KEY (pop_2006))", + "answer": "select pop_2006 from table_23685890_2 where major_town = \"coober pedy\"" + }, + { + "question": "What's the zodiac sign for the month with Thai name \u0e21\u0e01\u0e23\u0e32\u0e04\u0e21?", + "context": "create table table_20354_5 (zodiac_sign varchar, thai_name varchar, PRIMARY KEY (zodiac_sign))", + "answer": "select zodiac_sign from table_20354_5 where thai_name = \"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21\"" + }, + { + "question": "Who is the director when the writter is Andrea Newman?", + "context": "create table table_24910733_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))", + "answer": "select directed_by from table_24910733_1 where written_by = \"andrea newman\"" + }, + { + "question": "What is the lowest gp?", + "context": "create table table_26176081_29 (gp integer, PRIMARY KEY (gp))", + "answer": "select min(gp) from table_26176081_29" + }, + { + "question": "Find the number of students for the cities where have more than one student.", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select count(*), city_code from student group by city_code having count(*) > 1" + }, + { + "question": "What is the permitted length of stay in the Jersey territory?", + "context": "create table table_25965003_3 (length_of_stay_permitted varchar, countries_and_territories varchar, PRIMARY KEY (length_of_stay_permitted))", + "answer": "select length_of_stay_permitted from table_25965003_3 where countries_and_territories = \"jersey\"" + }, + { + "question": "How many previous years did Maebashi Ikuei high school have a total number of 1 participation?", + "context": "create table table_2518850_4 (year_of_previous_participation varchar, total_number_of_participation varchar, high_school_name varchar, PRIMARY KEY (year_of_previous_participation))", + "answer": "select count(year_of_previous_participation) from table_2518850_4 where total_number_of_participation = 1 and high_school_name = \"maebashi ikuei\"" + }, + { + "question": "Find the country that has the most stadiums.", + "context": "create table stadium (country varchar, PRIMARY KEY (country))", + "answer": "select country from stadium group by country order by count(*) desc limit 1" + }, + { + "question": "List the record company shared by the most number of orchestras.", + "context": "create table orchestra (record_company varchar, PRIMARY KEY (record_company))", + "answer": "select record_company from orchestra group by record_company order by count(*) desc limit 1" + }, + { + "question": "Name the entrant for bruno sterzi", + "context": "create table table_28578594_1 (entrant varchar, driver varchar, PRIMARY KEY (entrant))", + "answer": "select entrant from table_28578594_1 where driver = \"bruno sterzi\"" + }, + { + "question": "Who is the television commentator when the spokesperson is Kateryna Osadcha?", + "context": "create table table_1998037_9 (television_commentator varchar, spokesperson varchar, PRIMARY KEY (television_commentator))", + "answer": "select television_commentator from table_1998037_9 where spokesperson = \"kateryna osadcha\"" + }, + { + "question": "How many sprints classifications were associated with an overall winner of Joaquin Rodriguez?", + "context": "create table table_26257223_13 (sprints_classification varchar, winner varchar, PRIMARY KEY (sprints_classification))", + "answer": "select count(sprints_classification) from table_26257223_13 where winner = \"joaquin rodriguez\"" + }, + { + "question": "what are all the\u00a0percent (1990)\u00a0where\u00a0state\u00a0is mississippi", + "context": "create table table_1182314_5 (percent__1990_ varchar, state varchar, PRIMARY KEY (percent__1990_))", + "answer": "select percent__1990_ from table_1182314_5 where state = \"mississippi\"" + }, + { + "question": "If the national trophy/rookie is Gerrard Barrabeig, what is the name of the second?", + "context": "create table table_25563779_4 (second varchar, national_trophy_rookie varchar, PRIMARY KEY (second))", + "answer": "select second from table_25563779_4 where national_trophy_rookie = \"gerrard barrabeig\"" + }, + { + "question": "What teams do the players from TPS (Finland) play for?", + "context": "create table table_1013129_11 (nhl_team varchar, college_junior_club_team varchar, PRIMARY KEY (nhl_team))", + "answer": "select nhl_team from table_1013129_11 where college_junior_club_team = \"tps (finland)\"" + }, + { + "question": "What town is Muscle Shoals High School located in?", + "context": "create table table_11677691_10 (hometown varchar, school varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_11677691_10 where school = \"muscle shoals high school\"" + }, + { + "question": "Show the title and publication dates of books.", + "context": "create table book (title varchar, book_id varchar, PRIMARY KEY (title)); create table publication (publication_date varchar, book_id varchar, PRIMARY KEY (publication_date))", + "answer": "select t1.title, t2.publication_date from book as t1 join publication as t2 on t1.book_id = t2.book_id" + }, + { + "question": "What is the population density for the city of lubang?", + "context": "create table table_261951_1 (pop_density__per_km\u00b2_ varchar, municipality varchar, PRIMARY KEY (pop_density__per_km\u00b2_))", + "answer": "select count(pop_density__per_km\u00b2_) from table_261951_1 where municipality = \"lubang\"" + }, + { + "question": "What is the bayonet lug status for a m4 hbar and m4le carbine equipped?", + "context": "create table table_12834315_5 (bayonet_lug varchar, barrel_profile varchar, name varchar, PRIMARY KEY (bayonet_lug))", + "answer": "select bayonet_lug from table_12834315_5 where barrel_profile = \"m4 hbar\" and name = \"m4le carbine\"" + }, + { + "question": "What is under drafted when pro team is arizona cardinals?", + "context": "create table table_1198175_1 (drafted varchar, pro_team varchar, PRIMARY KEY (drafted))", + "answer": "select drafted from table_1198175_1 where pro_team = \"arizona cardinals\"" + }, + { + "question": "When was it where 65 Australians were involved in the UN?", + "context": "create table table_10121127_1 (dates_of_australian_involvement varchar, number_of_australians_involved varchar, PRIMARY KEY (dates_of_australian_involvement))", + "answer": "select dates_of_australian_involvement from table_10121127_1 where number_of_australians_involved = \"65\"" + }, + { + "question": "Name the seans team being 13 november 2008", + "context": "create table table_23292220_7 (seans_team varchar, first_broadcast varchar, PRIMARY KEY (seans_team))", + "answer": "select seans_team from table_23292220_7 where first_broadcast = \"13 november 2008\"" + }, + { + "question": "How many deaths did the eyar with exactly 6 hurricanes have?", + "context": "create table table_2930244_4 (deaths varchar, number_of_hurricanes varchar, PRIMARY KEY (deaths))", + "answer": "select count(deaths) from table_2930244_4 where number_of_hurricanes = 6" + }, + { + "question": "List all document ids with at least two paragraphs.", + "context": "create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from paragraphs group by document_id having count(*) >= 2" + }, + { + "question": "Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft?", + "context": "create table table_26137666_3 (winning_driver varchar, winning_team varchar, circuit varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_26137666_3 where winning_team = \"carlin motorsport\" and circuit = \"croft\"" + }, + { + "question": "What film festival had the Best Male Actor?", + "context": "create table table_26282750_1 (film_festival varchar, category varchar, PRIMARY KEY (film_festival))", + "answer": "select film_festival from table_26282750_1 where category = \"best male actor\"" + }, + { + "question": "What is listed in Network station when the country is Brunei?", + "context": "create table table_2879165_1 (network_station varchar, country varchar, PRIMARY KEY (network_station))", + "answer": "select count(network_station) from table_2879165_1 where country = \"brunei\"" + }, + { + "question": "How many districts have Mac Sweeney as incumbent?", + "context": "create table table_1341586_44 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select count(candidates) from table_1341586_44 where incumbent = \"mac sweeney\"" + }, + { + "question": "What is the toll for light vehicles at the plaza between bela bela and modimolle?", + "context": "create table table_1211545_2 (light_vehicle varchar, location varchar, PRIMARY KEY (light_vehicle))", + "answer": "select light_vehicle from table_1211545_2 where location = \"between bela bela and modimolle\"" + }, + { + "question": "How many counties are there?", + "context": "create table county_public_safety (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from county_public_safety" + }, + { + "question": "What is the hometown of contestants who are from the province of Huesca?", + "context": "create table table_23476629_2 (hometown varchar, province varchar, PRIMARY KEY (hometown))", + "answer": "select hometown from table_23476629_2 where province = \"huesca\"" + }, + { + "question": "How many races did Cale Yarborough win at an average speed of 88.924 mph?", + "context": "create table table_22648285_1 (race_time varchar, driver varchar, average_speed__mph_ varchar, PRIMARY KEY (race_time))", + "answer": "select count(race_time) from table_22648285_1 where driver = \"cale yarborough\" and average_speed__mph_ = \"88.924\"" + }, + { + "question": "Whats the status of the trains at location Museum", + "context": "create table table_142159_1 (status varchar, location varchar, PRIMARY KEY (status))", + "answer": "select status from table_142159_1 where location = \"museum\"" + }, + { + "question": "WHat is the Homeland security distinguished service medal when the medal of honor is Coast guard Medal?", + "context": "create table table_2104176_1 (homeland_security_distinguished_service_medal varchar, medal_of_honor varchar, PRIMARY KEY (homeland_security_distinguished_service_medal))", + "answer": "select homeland_security_distinguished_service_medal from table_2104176_1 where medal_of_honor = \"coast guard medal\"" + }, + { + "question": "Who got the high rebounds if Brook Lopez (15) earned the high points?", + "context": "create table table_27700375_8 (high_rebounds varchar, high_points varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_27700375_8 where high_points = \"brook lopez (15)\"" + }, + { + "question": "How many afc titles were there when there were 2 super bowl wins?", + "context": "create table table_1952065_4 (afc_titles integer, super_bowl_wins varchar, PRIMARY KEY (afc_titles))", + "answer": "select max(afc_titles) from table_1952065_4 where super_bowl_wins = 2" + }, + { + "question": "Who was the womens doubles when the mixed doubles is jacco arends selena piek?", + "context": "create table table_12171145_1 (womens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles))", + "answer": "select womens_doubles from table_12171145_1 where mixed_doubles = \"jacco arends selena piek\"" + }, + { + "question": "Show all cities where students live.", + "context": "create table student (city_code varchar, PRIMARY KEY (city_code))", + "answer": "select distinct city_code from student" + }, + { + "question": "Who is the chairman when the current manager is bob peeters?", + "context": "create table table_27374004_2 (chairman varchar, current_manager varchar, PRIMARY KEY (chairman))", + "answer": "select chairman from table_27374004_2 where current_manager = \"bob peeters\"" + }, + { + "question": "What is the document id with least number of paragraphs?", + "context": "create table paragraphs (document_id varchar, PRIMARY KEY (document_id))", + "answer": "select document_id from paragraphs group by document_id order by count(*) limit 1" + }, + { + "question": "Who had a high rebound where the associated record is 11-13?", + "context": "create table table_17104539_10 (high_rebounds varchar, record varchar, PRIMARY KEY (high_rebounds))", + "answer": "select high_rebounds from table_17104539_10 where record = \"11-13\"" + }, + { + "question": "How many verbs mean to bear", + "context": "create table table_1745843_10 (part_4 varchar, verb_meaning varchar, PRIMARY KEY (part_4))", + "answer": "select count(part_4) from table_1745843_10 where verb_meaning = \"to bear\"" + }, + { + "question": "How many departments are led by heads who are not mentioned?", + "context": "create table management (department_id varchar, PRIMARY KEY (department_id)); create table department (department_id varchar, PRIMARY KEY (department_id))", + "answer": "select count(*) from department where not department_id in (select department_id from management)" + }, + { + "question": "What is the barrel length for a cold model le6921sp?", + "context": "create table table_12834315_5 (barrel_length varchar, colt_model_no varchar, PRIMARY KEY (barrel_length))", + "answer": "select barrel_length from table_12834315_5 where colt_model_no = \"le6921sp\"" + }, + { + "question": "When vista radio is the owner how many call signs are there?", + "context": "create table table_18536769_1 (call_sign varchar, owner varchar, PRIMARY KEY (call_sign))", + "answer": "select count(call_sign) from table_18536769_1 where owner = \"vista radio\"" + }, + { + "question": "How many different contents are offered by the Qualsiasi Tranne Sky HD package?", + "context": "create table table_15887683_3 (content varchar, package_option varchar, PRIMARY KEY (content))", + "answer": "select count(content) from table_15887683_3 where package_option = \"qualsiasi tranne sky hd\"" + }, + { + "question": "What is the donor payment in Belgium?", + "context": "create table table_16175217_1 (donor_payment varchar, country varchar, PRIMARY KEY (donor_payment))", + "answer": "select donor_payment from table_16175217_1 where country = \"belgium\"" + }, + { + "question": "Find the number of students in one classroom.", + "context": "create table list (classroom varchar, PRIMARY KEY (classroom))", + "answer": "select count(*), classroom from list group by classroom" + }, + { + "question": "Who wrote the episodes directed by David Straiton?", + "context": "create table table_21312845_1 (written_by varchar, directed_by varchar, PRIMARY KEY (written_by))", + "answer": "select written_by from table_21312845_1 where directed_by = \"david straiton\"" + }, + { + "question": "Who was the director when there were 13.66 million u.s viewers?", + "context": "create table table_11404452_1 (director varchar, us_viewers__millions_ varchar, PRIMARY KEY (director))", + "answer": "select director from table_11404452_1 where us_viewers__millions_ = \"13.66\"" + }, + { + "question": "what is the total number of\u00a0location\u00a0where\u00a0station number\u00a0is c03", + "context": "create table table_11934032_1 (location varchar, station_number varchar, PRIMARY KEY (location))", + "answer": "select count(location) from table_11934032_1 where station_number = \"c03\"" + }, + { + "question": "Who were the running candidates when Samuel Riker was the incumbent?", + "context": "create table table_2668374_10 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates))", + "answer": "select candidates from table_2668374_10 where incumbent = \"samuel riker\"" + }, + { + "question": "Who is the driver of the european grand prix?", + "context": "create table table_1137696_3 (winning_driver varchar, grand_prix varchar, PRIMARY KEY (winning_driver))", + "answer": "select winning_driver from table_1137696_3 where grand_prix = \"european grand_prix\"" + }, + { + "question": "What are the titles of episodes with 5.66 million US viewers?", + "context": "create table table_2866514_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_2866514_1 where us_viewers__million_ = \"5.66\"" + }, + { + "question": "Show the location name and code with the least documents.", + "context": "create table document_locations (location_code varchar, PRIMARY KEY (location_code)); create table ref_locations (location_name varchar, location_code varchar, PRIMARY KEY (location_name))", + "answer": "select t2.location_name, t1.location_code from document_locations as t1 join ref_locations as t2 on t1.location_code = t2.location_code group by t1.location_code order by count(*) limit 1" + }, + { + "question": "List the names of orchestras that have performance.", + "context": "create table orchestra (orchestra varchar, orchestra_id varchar, PRIMARY KEY (orchestra)); create table performance (orchestra varchar, orchestra_id varchar, PRIMARY KEY (orchestra))", + "answer": "select orchestra from orchestra where orchestra_id in (select orchestra_id from performance)" + }, + { + "question": "How many members does the club \"Tennis Club\" has?", + "context": "create table club (clubid varchar, clubname varchar, PRIMARY KEY (clubid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table student (stuid varchar, PRIMARY KEY (stuid))", + "answer": "select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t1.clubname = \"tennis club\"" + }, + { + "question": "What is the gender of the cunningham hill infant school?", + "context": "create table table_28523_2 (gender varchar, school varchar, PRIMARY KEY (gender))", + "answer": "select gender from table_28523_2 where school = \"cunningham hill infant school\"" + }, + { + "question": "What is the high school for the player who's hometown is Blue Island, Il?", + "context": "create table table_20785990_2 (high_school varchar, home_town varchar, PRIMARY KEY (high_school))", + "answer": "select high_school from table_20785990_2 where home_town = \"blue island, il\"" + }, + { + "question": "What is the other abbreviation of the constellation that has \u03b2 trianguli as its brightest star?", + "context": "create table table_287159_1 (other_abbreviation varchar, brightest_star varchar, PRIMARY KEY (other_abbreviation))", + "answer": "select other_abbreviation from table_287159_1 where brightest_star = \"\u03b2 trianguli\"" + }, + { + "question": "What is every reference for type and usage of Germanium small-signal RF transistor?", + "context": "create table table_30011_2 (reference varchar, type_and_usage varchar, PRIMARY KEY (reference))", + "answer": "select reference from table_30011_2 where type_and_usage = \"germanium small-signal rf transistor\"" + }, + { + "question": "Who composed the work conducted by jaroslav Vogel?", + "context": "create table table_24521345_1 (composer varchar, conductor varchar, PRIMARY KEY (composer))", + "answer": "select composer from table_24521345_1 where conductor = \"jaroslav vogel\"" + }, + { + "question": "What area all values for Slovak when value for Ukranian is \u043f\u0435\u0441, \u0441\u043e\u0431\u0430\u043a\u0430?", + "context": "create table table_25008327_8 (slovak varchar, ukrainian varchar, PRIMARY KEY (slovak))", + "answer": "select slovak from table_25008327_8 where ukrainian = \"\u043f\u0435\u0441, \u0441\u043e\u0431\u0430\u043a\u0430\"" + }, + { + "question": "Find the names of programs that are never broadcasted in the morning.", + "context": "create table broadcast (program_id varchar, time_of_day varchar, PRIMARY KEY (program_id)); create table program (name varchar, program_id varchar, PRIMARY KEY (name)); create table program (name varchar, PRIMARY KEY (name))", + "answer": "select name from program except select t1.name from program as t1 join broadcast as t2 on t1.program_id = t2.program_id where t2.time_of_day = \"morning\"" + }, + { + "question": "When the torsion spring diameter is 38.4cm what would be the length or weight of the missile", + "context": "create table table_21012786_2 (length_weight_of_missile varchar, diameter_of_torsion_spring varchar, PRIMARY KEY (length_weight_of_missile))", + "answer": "select length_weight_of_missile from table_21012786_2 where diameter_of_torsion_spring = \"38.4cm\"" + }, + { + "question": "What is the name of the student who has the highest total credits in the History department.", + "context": "create table student (name varchar, dept_name varchar, tot_cred varchar, PRIMARY KEY (name))", + "answer": "select name from student where dept_name = 'history' order by tot_cred desc limit 1" + }, + { + "question": "Find the first and last name of students who are not in the largest major.", + "context": "create table student (fname varchar, lname varchar, major varchar, PRIMARY KEY (fname))", + "answer": "select fname, lname from student where major <> (select major from student group by major order by count(*) limit 1)" + }, + { + "question": "Which country saw a 5.7% increase in spending on international tourism between 2011 and 2012?", + "context": "create table table_29789_3 (country varchar, _percentage_change varchar, PRIMARY KEY (country))", + "answer": "select country from table_29789_3 where _percentage_change = \"5.7\"" + }, + { + "question": "What is the ioc code when the country is listed as Singapore?", + "context": "create table table_2879165_1 (ioc_code varchar, country varchar, PRIMARY KEY (ioc_code))", + "answer": "select ioc_code from table_2879165_1 where country = \"singapore\"" + }, + { + "question": "What team had a capacity of 102.3%?", + "context": "create table table_28884858_2 (team varchar, capacity_percentage varchar, PRIMARY KEY (team))", + "answer": "select team from table_28884858_2 where capacity_percentage = \"102.3%\"" + }, + { + "question": "What is the numeral where the English name is Florin?", + "context": "create table table_1682865_1 (numeral varchar, english_name varchar, PRIMARY KEY (numeral))", + "answer": "select numeral from table_1682865_1 where english_name = \"florin\"" + }, + { + "question": "How many catagories for denominations does Austria have?", + "context": "create table table_2592308_1 (denominations__gold_weight_ varchar, country varchar, PRIMARY KEY (denominations__gold_weight_))", + "answer": "select count(denominations__gold_weight_) from table_2592308_1 where country = \"austria\"" + }, + { + "question": "Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How", + "context": "create table table_16201038_4 (missouri_vs varchar, at_opponents_venue varchar, PRIMARY KEY (missouri_vs))", + "answer": "select missouri_vs from table_16201038_4 where at_opponents_venue = \"ui, 4-1\"" + }, + { + "question": "What is the title of the episode wtih 10.34 million U.S viewers?", + "context": "create table table_10749143_2 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_10749143_2 where us_viewers__millions_ = \"10.34\"" + }, + { + "question": "How many percentages of Left Bloc correspond to a 32.1% Social Democratic?", + "context": "create table table_1463383_1 (left_bloc varchar, social_democratic varchar, PRIMARY KEY (left_bloc))", + "answer": "select count(left_bloc) from table_1463383_1 where social_democratic = \"32.1%\"" + }, + { + "question": "Name the guest for 1.64m ratings", + "context": "create table table_29135051_2 (guest_s_ varchar, ratings varchar, PRIMARY KEY (guest_s_))", + "answer": "select guest_s_ from table_29135051_2 where ratings = \"1.64m\"" + }, + { + "question": "What University has the acrronym of USF", + "context": "create table table_1160660_1 (university_name varchar, acronym varchar, PRIMARY KEY (university_name))", + "answer": "select university_name from table_1160660_1 where acronym = \"usf\"" + }, + { + "question": "Which tourist attractions does the visitor with detail 'Vincent' visit?", + "context": "create table visits (tourist_attraction_id varchar, tourist_id varchar, PRIMARY KEY (tourist_attraction_id)); create table visitors (tourist_id varchar, tourist_details varchar, PRIMARY KEY (tourist_id)); create table tourist_attractions (name varchar, tourist_attraction_id varchar, PRIMARY KEY (name))", + "answer": "select t1.name from tourist_attractions as t1 join visits as t2 on t1.tourist_attraction_id = t2.tourist_attraction_id join visitors as t3 on t2.tourist_id = t3.tourist_id where t3.tourist_details = \"vincent\"" + }, + { + "question": "What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?", + "context": "create table airport (id varchar, country varchar, name varchar, PRIMARY KEY (id)); create table flight (pilot varchar, airport_id varchar, PRIMARY KEY (pilot))", + "answer": "select distinct t2.pilot from airport as t1 join flight as t2 on t1.id = t2.airport_id where t1.country = 'united states' or t1.name = 'billund airport'" + }, + { + "question": "Show names of shops and the carriers of devices they have in stock.", + "context": "create table shop (shop_name varchar, shop_id varchar, PRIMARY KEY (shop_name)); create table stock (device_id varchar, shop_id varchar, PRIMARY KEY (device_id)); create table device (carrier varchar, device_id varchar, PRIMARY KEY (carrier))", + "answer": "select t3.shop_name, t2.carrier from stock as t1 join device as t2 on t1.device_id = t2.device_id join shop as t3 on t1.shop_id = t3.shop_id" + }, + { + "question": "How many different teams had an average start of 12.9?", + "context": "create table table_2182562_2 (team_s_ varchar, avg_start varchar, PRIMARY KEY (team_s_))", + "answer": "select count(team_s_) from table_2182562_2 where avg_start = \"12.9\"" + }, + { + "question": "How many available features are there in total?", + "context": "create table other_available_features (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from other_available_features" + }, + { + "question": "How many calendar items do we have?", + "context": "create table ref_calendar (id varchar, PRIMARY KEY (id))", + "answer": "select count(*) from ref_calendar" + }, + { + "question": "What is every value for rushing yards per game if sacks if 25?", + "context": "create table table_27487336_1 (rushing_yards_per_game varchar, sacks varchar, PRIMARY KEY (rushing_yards_per_game))", + "answer": "select rushing_yards_per_game from table_27487336_1 where sacks = \"25\"" + }, + { + "question": "When Lansing's fare is $433.59, what is the Detroit fare?", + "context": "create table table_1637981_7 (detroit__dtw_ varchar, lansing__lan_ varchar, PRIMARY KEY (detroit__dtw_))", + "answer": "select detroit__dtw_ from table_1637981_7 where lansing__lan_ = \"$433.59\"" + }, + { + "question": "When the % of boundary by water is 63% what is the overall number of zip code prefix(es)?", + "context": "create table table_14253123_1 (zip_code_prefix_es_ varchar, _percentage_of_boundary_by_water varchar, PRIMARY KEY (zip_code_prefix_es_))", + "answer": "select count(zip_code_prefix_es_) from table_14253123_1 where _percentage_of_boundary_by_water = \"63%\"" + }, + { + "question": "Which conflicts took place in Yemen?", + "context": "create table table_1921_1 (conflict varchar, location varchar, PRIMARY KEY (conflict))", + "answer": "select conflict from table_1921_1 where location = \"yemen\"" + }, + { + "question": "Name the number of processors for nec sx-4 vector processor", + "context": "create table table_27765443_2 (no_of_processors varchar, cpu_type varchar, PRIMARY KEY (no_of_processors))", + "answer": "select no_of_processors from table_27765443_2 where cpu_type = \"nec sx-4 vector processor\"" + }, + { + "question": "Find the names of all English songs.", + "context": "create table song (song_name varchar, languages varchar, PRIMARY KEY (song_name))", + "answer": "select song_name from song where languages = \"english\"" + }, + { + "question": "What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas?", + "context": "create table table_23292220_3 (first_broadcast varchar, seans_team varchar, PRIMARY KEY (first_broadcast))", + "answer": "select first_broadcast from table_23292220_3 where seans_team = \"peter serafinowicz and johnny vegas\"" + }, + { + "question": "What was the title of the episode having exactly 9.64 million US viewers?", + "context": "create table table_24910742_1 (title varchar, us_viewers__millions_ varchar, PRIMARY KEY (title))", + "answer": "select title from table_24910742_1 where us_viewers__millions_ = \"9.64\"" + }, + { + "question": "What is the poor law union when the townland is bohonagh?", + "context": "create table table_30121075_1 (poor_law_union varchar, townland varchar, PRIMARY KEY (poor_law_union))", + "answer": "select poor_law_union from table_30121075_1 where townland = \"bohonagh\"" + }, + { + "question": "what's the total number of\u00a0singles w-l\u00a0with\u00a0doubles w-l\u00a0of 0\u20130 and\u00a0total w-l\u00a0of 3\u20131", + "context": "create table table_10023387_1 (singles_w_l varchar, doubles_w_l varchar, total_w_l varchar, PRIMARY KEY (singles_w_l))", + "answer": "select count(singles_w_l) from table_10023387_1 where doubles_w_l = \"0\u20130\" and total_w_l = \"3\u20131\"" + }, + { + "question": "What date was BBC One total viewing greater then 11616996.338225884?", + "context": "create table table_103084_4 (broadcast_date varchar, bbc_one_total_viewing integer, PRIMARY KEY (broadcast_date))", + "answer": "select broadcast_date from table_103084_4 where bbc_one_total_viewing > 11616996.338225884" + } +]