question
stringlengths
14
216
context
stringlengths
45
458
answer
stringlengths
18
463
How many export volume of goods/services values are associated with GDP at constant prices values of 3.072?
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_))
select count(export_volume_of_goods_and_services__percent_change_) from table_30133_1 where gdp_at_constant_prices__thb_trillions_ = "3.072"
Who was on the pole position in the Texaco/Havoline 200 race?
create table table_19908651_3 (pole_position varchar, race_name varchar, PRIMARY KEY (pole_position))
select pole_position from table_19908651_3 where race_name = "texaco/havoline 200"
What is the biggest number of basses suggested in either one of the references?
create table table_2414_1 (basses integer, PRIMARY KEY (basses))
select max(basses) from table_2414_1
What is the position for outgoing manager alfredo merino
create table table_27495117_3 (position_in_table varchar, outgoing_manager varchar, PRIMARY KEY (position_in_table))
select position_in_table from table_27495117_3 where outgoing_manager = "alfredo merino"
In language where Wednesday is বুধবার budhbar, what is Thursday?
create table table_1277350_3 (thursday_guru__jupiter_ varchar, wednesday_budha__mercury_ varchar, PRIMARY KEY (thursday_guru__jupiter_))
select thursday_guru__jupiter_ from table_1277350_3 where wednesday_budha__mercury_ = "বুধবার budhbar"
What is the value of total costs (2005) in the Coldstream municipality?
create table table_12340907_1 (total_costs__2005_ varchar, municipality varchar, PRIMARY KEY (total_costs__2005_))
select total_costs__2005_ from table_12340907_1 where municipality = "coldstream"
How many channels are there in the Greater Tokyo area?
create table table_2638104_1 (channel varchar, broadcast_area varchar, PRIMARY KEY (channel))
select count(channel) from table_2638104_1 where broadcast_area = "greater tokyo"
what are all the u16 2nd viii with u15 3rd iv being bbc
create table table_11318462_5 (u16_2nd_viii varchar, u15_3rd_iv varchar, PRIMARY KEY (u16_2nd_viii))
select u16_2nd_viii from table_11318462_5 where u15_3rd_iv = "bbc"
What is the invoice number and invoice date for the invoice with most number of transactions?
create table invoices (invoice_number varchar, invoice_date varchar, PRIMARY KEY (invoice_number)); create table financial_transactions (invoice_number varchar, PRIMARY KEY (invoice_number))
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
When did the episode viewed by 10.50 millions of people in the US run for the first time?
create table table_23799653_1 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_23799653_1 where us_viewers__millions_ = "10.50"
When was there 8.9% Green-Communist?
create table table_1463383_1 (date_released varchar, green_communist varchar, PRIMARY KEY (date_released))
select date_released from table_1463383_1 where green_communist = "8.9%"
What is the card type code with most number of cards?
create table customers_cards (card_type_code varchar, PRIMARY KEY (card_type_code))
select card_type_code from customers_cards group by card_type_code order by count(*) desc limit 1
How many courses in total are listed?
create table courses (id varchar, PRIMARY KEY (id))
select count(*) from courses
What is the cable rank for the airdate of 10 december 2009?
create table table_24399615_3 (cable_rank varchar, airdate varchar, PRIMARY KEY (cable_rank))
select cable_rank from table_24399615_3 where airdate = "10 december 2009"
Name the least europa league
create table table (europa_league integer, PRIMARY KEY (europa_league))
select min(europa_league) from table
what is the name ofhte company where the plant is in burnaston?
create table table_250309_1 (company varchar, plant varchar, PRIMARY KEY (company))
select company from table_250309_1 where plant = "burnaston"
Name the stadium for regular season game
create table table_21436373_11 (stadium varchar, type_of_record varchar, PRIMARY KEY (stadium))
select stadium from table_21436373_11 where type_of_record = "regular season game"
What is the title with an average rating of 22.4%?
create table table_18540104_1 (romaji_title varchar, average_ratings varchar, PRIMARY KEY (romaji_title))
select romaji_title from table_18540104_1 where average_ratings = "22.4%"
List the name of ships that are not involved in any mission
create table mission (name varchar, ship_id varchar, PRIMARY KEY (name)); create table ship (name varchar, ship_id varchar, PRIMARY KEY (name))
select name from ship where not ship_id in (select ship_id from mission)
who directed the episode that elaine ko wrote?
create table table_27332038_1 (directed_by varchar, written_by varchar, PRIMARY KEY (directed_by))
select directed_by from table_27332038_1 where written_by = "elaine ko"
What organization had the founding date of 1998-11-08?
create table table_2538117_12 (organization varchar, founding_date varchar, PRIMARY KEY (organization))
select organization from table_2538117_12 where founding_date = "1998-11-08"
Which customer status code has least number of customers?
create table customers (customer_status_code varchar, PRIMARY KEY (customer_status_code))
select customer_status_code from customers group by customer_status_code order by count(*) limit 1
What is thursday day five when friday day six is პარასკევი p'arask'evi?
create table table_1277350_7 (thursday_day_five varchar, friday_day_six varchar, PRIMARY KEY (thursday_day_five))
select thursday_day_five from table_1277350_7 where friday_day_six = "პარასკევი p'arask'evi"
What school did the player attend who's hometown was Montvale, NJ?
create table table_11677100_18 (school varchar, hometown varchar, PRIMARY KEY (school))
select school from table_11677100_18 where hometown = "montvale, nj"
Show all member names who are not in charge of any event.
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))
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
How many camera lenses have a focal length longer than 15 mm?
create table camera_lens (focal_length_mm integer, PRIMARY KEY (focal_length_mm))
select count(*) from camera_lens where focal_length_mm > 15
Who shot an 80 in round 3
create table table_14708760_3 (shooter varchar, round_3 varchar, PRIMARY KEY (shooter))
select shooter from table_14708760_3 where round_3 = 80
When was Quantum Research's poll conducted?
create table table_20683381_2 (date_of_opinion_poll varchar, conductor varchar, PRIMARY KEY (date_of_opinion_poll))
select date_of_opinion_poll from table_20683381_2 where conductor = "quantum research"
Name the bus width bits when bandwidth mb/s is 3200
create table table_142573_1 (bus_width__bits_ varchar, bandwidth__mb_s_ varchar, PRIMARY KEY (bus_width__bits_))
select bus_width__bits_ from table_142573_1 where bandwidth__mb_s_ = 3200
Show the institution type with the largest number of institutions.
create table institution (type varchar, PRIMARY KEY (type))
select type from institution group by type order by count(*) desc limit 1
During what years did nabatingue toko play.
create table table_24565004_21 (period varchar, name varchar, PRIMARY KEY (period))
select period from table_24565004_21 where name = "nabatingue toko"
how many people come to visit when the 1654 exhibitions
create table table_27685921_1 (visitors__total_ varchar, exhibitors__total_ varchar, PRIMARY KEY (visitors__total_))
select count(visitors__total_) from table_27685921_1 where exhibitors__total_ = 1654
What was the hometown of the player who attended Athens Drive High School?
create table table_11677100_5 (hometown varchar, school varchar, PRIMARY KEY (hometown))
select hometown from table_11677100_5 where school = "athens drive high school"
Who is the music by for episode the Elbow Room?
create table table_191105_4 (music_by varchar, episode_title varchar, PRIMARY KEY (music_by))
select music_by from table_191105_4 where episode_title = "elbow room"
Who was in the original broadway cast while jake epstein was in the original 1st us tour cast?
create table table_24353141_1 (original_broadway_cast varchar, original_1st_us_tour_cast varchar, PRIMARY KEY (original_broadway_cast))
select original_broadway_cast from table_24353141_1 where original_1st_us_tour_cast = "jake epstein"
How many entries are shown for school colors for the location of naga , camarines sur?
create table table_22171978_1 (school_colors varchar, location varchar, PRIMARY KEY (school_colors))
select count(school_colors) from table_22171978_1 where location = "naga , camarines sur"
What all turbines have a capacity of 30 and have a Somerset location?
create table table_26387382_1 (turbines varchar, location__county_ varchar, capacity__mw_ varchar, PRIMARY KEY (turbines))
select turbines from table_26387382_1 where location__county_ = "somerset" and capacity__mw_ = "30"
Steve Nash (24) got high points for how many teams?
create table table_17340355_10 (team varchar, high_points varchar, PRIMARY KEY (team))
select count(team) from table_17340355_10 where high_points = "steve nash (24)"
What is the gender with a age range of 3-11 at the st adrian roman catholic primary school?
create table table_28523_2 (gender varchar, age_range varchar, school varchar, PRIMARY KEY (gender))
select gender from table_28523_2 where age_range = "3-11" and school = "st adrian roman catholic primary school"
How many award-winning films have the opening film of encounters at the end of the world?
create table table_18220102_1 (award_winning_film varchar, opening_film varchar, PRIMARY KEY (award_winning_film))
select count(award_winning_film) from table_18220102_1 where opening_film = "encounters at the end of the world"
When wacker marktredwitz is the oberfranken ost how many unterfranken wests are there?
create table table_23224961_2 (unterfranken_west varchar, oberfranken_ost varchar, PRIMARY KEY (unterfranken_west))
select count(unterfranken_west) from table_23224961_2 where oberfranken_ost = "wacker marktredwitz"
What's the name of the train that goes to Bhubaneswar?
create table table_23477312_1 (train_name varchar, destination varchar, PRIMARY KEY (train_name))
select train_name from table_23477312_1 where destination = "bhubaneswar"
When nac breda came in third place and psv eindhoven was the winner who is the top scorer?
create table table_20867295_2 (top_scorer varchar, winner varchar, third_place varchar, PRIMARY KEY (top_scorer))
select top_scorer from table_20867295_2 where winner = "psv eindhoven" and third_place = "nac breda"
Return the lot details and investor ids.
create table lots (lot_details varchar, investor_id varchar, PRIMARY KEY (lot_details))
select lot_details, investor_id from lots
Name the principal of Northfield Junior-Senior High School.
create table table_1984697_85 (principal varchar, school varchar, PRIMARY KEY (principal))
select principal from table_1984697_85 where school = "northfield junior-senior high school"
What was the date of appointment for the manager that replaced Simon Davies?
create table table_18795125_6 (date_of_appointment varchar, outgoing_manager varchar, PRIMARY KEY (date_of_appointment))
select date_of_appointment from table_18795125_6 where outgoing_manager = "simon davies"
What were the names of the episodes that had 3.02 million U.S. viewers?
create table table_11111116_7 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title))
select title from table_11111116_7 where us_viewers__million_ = "3.02"
What are the subdivision names (RU) where the subdivision name (BE) is Hrodzenskaya Voblasts'?
create table table_290017_1 (subdivision_name___ru____gost_ varchar, subdivision_name___be____bgn_pcgn_ varchar, PRIMARY KEY (subdivision_name___ru____gost_))
select subdivision_name___ru____gost_ from table_290017_1 where subdivision_name___be____bgn_pcgn_ = "hrodzenskaya voblasts'"
When 1872-10-10 is the founding date what are the canadian chapters?
create table table_28436909_4 (canadian_chapters varchar, founding_date varchar, PRIMARY KEY (canadian_chapters))
select canadian_chapters from table_28436909_4 where founding_date = "1872-10-10"
what is the maximum lead margin on august 5, 2008?
create table table_16751596_5 (lead_margin integer, dates_administered varchar, PRIMARY KEY (lead_margin))
select max(lead_margin) from table_16751596_5 where dates_administered = "august 5, 2008"
What are the details of the lots which are not used in any transactions?
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))
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
How many elections had 1423 average voters per candidate?
create table table_19698421_1 (change__percentage_points_ varchar, average_voters_per_candidate varchar, PRIMARY KEY (change__percentage_points_))
select count(change__percentage_points_) from table_19698421_1 where average_voters_per_candidate = 1423
Who are the advisors for students that live in a city with city code "BAL"?
create table student (advisor varchar, city_code varchar, PRIMARY KEY (advisor))
select advisor from student where city_code = "bal"
What's the standard of the country who won its first title in 1992?
create table table_10682862_68 (standard integer, first_title varchar, PRIMARY KEY (standard))
select max(standard) from table_10682862_68 where first_title = 1992
How many teams had a #1 draft pick that won the Rookie of the Year Award?
create table table_1004033_1 (team varchar, draft_pick__number varchar, PRIMARY KEY (team))
select count(team) from table_1004033_1 where draft_pick__number = "1"
How many kitmaker correspond to team ittihad kalba?
create table table_27631756_2 (kitmaker varchar, team varchar, PRIMARY KEY (kitmaker))
select count(kitmaker) from table_27631756_2 where team = "ittihad kalba"
Who are the foreign players on team/s that play in Moscow?
create table table_19526911_1 (foreign_players__max_2_ varchar, town varchar, PRIMARY KEY (foreign_players__max_2_))
select foreign_players__max_2_ from table_19526911_1 where town = "moscow"
When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?
create table table_24620684_2 (vehicle varchar, clean_electric_grid_california__san_francisco_ varchar, PRIMARY KEY (vehicle))
select count(vehicle) from table_24620684_2 where clean_electric_grid_california__san_francisco_ = "100 g/mi (62 g/km)"
What is the group a winner for vis pesaro?
create table table_1137142_1 (group_a_winner varchar, group_c_winner varchar, PRIMARY KEY (group_a_winner))
select group_a_winner from table_1137142_1 where group_c_winner = "vis pesaro"
Which operator runs the Mamariga shuttle line?
create table table_1603807_2 (operator varchar, line varchar, PRIMARY KEY (operator))
select operator from table_1603807_2 where line = "mamariga shuttle"
What is the least number of seasons in top division?
create table table_11250_4 (number_of_seasons_in_top_division integer, PRIMARY KEY (number_of_seasons_in_top_division))
select min(number_of_seasons_in_top_division) from table_11250_4
What's the center of the Artsakh province?
create table table_23887174_1 (center varchar, province__ashkharh_ varchar, PRIMARY KEY (center))
select center from table_23887174_1 where province__ashkharh_ = "artsakh"
Which team was in a game with a record of 15-63?
create table table_13619053_9 (team varchar, record varchar, PRIMARY KEY (team))
select team from table_13619053_9 where record = "15-63"
Show the distinct leader names of colleges associated with members from country "Canada".
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))
select distinct t1.leader_name from college as t1 join member as t2 on t1.college_id = t2.college_id where t2.country = "canada"
Name the manner of departure for date of vacancy 25 august 2008
create table table_18522916_5 (manner_of_departure varchar, date_of_vacancy varchar, PRIMARY KEY (manner_of_departure))
select manner_of_departure from table_18522916_5 where date_of_vacancy = "25 august 2008"
What was the 08-09 i/o best of the player with 1386 points?
create table table_24990183_5 (ws_points varchar, PRIMARY KEY (ws_points))
select 08 as _09_i_o_best from table_24990183_5 where ws_points = 1386
Name the total number of televote points for cry on my shoulders
create table table_21378339_5 (televote_points varchar, song varchar, PRIMARY KEY (televote_points))
select count(televote_points) from table_21378339_5 where song = "cry on my shoulders"
Name the julys
create table table_1539201_1 (july varchar, PRIMARY KEY (july))
select july from table_1539201_1
What is employee Nancy Edwards's phone number?
create table employees (phone varchar, first_name varchar, last_name varchar, PRIMARY KEY (phone))
select phone from employees where first_name = "nancy" and last_name = "edwards"
What college did the Toronto Argonauts draft pick come from?
create table table_25085059_1 (college varchar, cfl_team varchar, PRIMARY KEY (college))
select college from table_25085059_1 where cfl_team = "toronto argonauts"
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?
create table table_2267345_2 (team_classification varchar, young_rider_classification varchar, combativity_award varchar, PRIMARY KEY (team_classification))
select count(team_classification) from table_2267345_2 where young_rider_classification = "salvatore commesso" and combativity_award = "jacky durand"
which episode was Transmitted on friday if the episode of "515 the adventures of tintin" was transmitted on monday?
create table table_18173916_8 (friday varchar, monday varchar, PRIMARY KEY (friday))
select friday from table_18173916_8 where monday = "515 the adventures of tintin"
What type of local government area is Yalata?
create table table_23685890_2 (type varchar, local_government_area varchar, PRIMARY KEY (type))
select type from table_23685890_2 where local_government_area = "yalata"
what's the party with opponent being deborah pryce (r) 70.7% bill buckel (d) 29.1%
create table table_1341522_38 (party varchar, opponent varchar, PRIMARY KEY (party))
select party from table_1341522_38 where opponent = "deborah pryce (r) 70.7% bill buckel (d) 29.1%"
How many times is the settlement karlovčić?
create table table_2562572_52 (dominant_religion__2002_ varchar, settlement varchar, PRIMARY KEY (dominant_religion__2002_))
select count(dominant_religion__2002_) from table_2562572_52 where settlement = "karlovčić"
What is the maximum fc matches at the racecourse?
create table table_1176371_1 (fc_matches integer, name_of_ground varchar, PRIMARY KEY (fc_matches))
select max(fc_matches) from table_1176371_1 where name_of_ground = "the racecourse"
What is the departure for Peterborough East whose arrival time is 12.40?
create table table_18332845_2 (departure varchar, going_to varchar, arrival varchar, PRIMARY KEY (departure))
select departure from table_18332845_2 where going_to = "peterborough east" and arrival = "12.40"
Name the k. r. narayanan values for pondicherry
create table table_22897453_1 (kr_narayanan__values_ varchar, states varchar, PRIMARY KEY (kr_narayanan__values_))
select kr_narayanan__values_ from table_22897453_1 where states = "pondicherry"
How many different chromosomal locations are there in the family il-1f8?
create table table_29871617_1 (chromosomal_location varchar, family_name varchar, PRIMARY KEY (chromosomal_location))
select count(chromosomal_location) from table_29871617_1 where family_name = "il-1f8"
How many writers are listed when the U.S viewers are 11.21 million?
create table table_24910733_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))
select count(written_by) from table_24910733_1 where us_viewers__millions_ = "11.21"
what's the date of birth with end of term being 5july1978
create table table_12134383_1 (date_of_birth varchar, end_of_term varchar, PRIMARY KEY (date_of_birth))
select date_of_birth from table_12134383_1 where end_of_term = "5july1978"
what is the numbr for fri may 30 and mon may 26 is 19' 02.890 118.847mph?
create table table_14209455_1 (fri_30_may varchar, mon_26_may varchar, PRIMARY KEY (fri_30_may))
select fri_30_may from table_14209455_1 where mon_26_may = "19' 02.890 118.847mph"
How many new entries started in the round where winners from the previous round is 16?
create table table_18328569_1 (new_entries_this_round varchar, winners_from_previous_round varchar, PRIMARY KEY (new_entries_this_round))
select new_entries_this_round from table_18328569_1 where winners_from_previous_round = "16"
What is the hight of the player who's tenure lasted from 1969-70?
create table table_11734041_17 (height_in_ft varchar, years_for_rockets varchar, PRIMARY KEY (height_in_ft))
select height_in_ft from table_11734041_17 where years_for_rockets = "1969-70"
what is the party when the incumbent is sidney r. yates?
create table table_1341718_14 (party varchar, incumbent varchar, PRIMARY KEY (party))
select party from table_1341718_14 where incumbent = "sidney r. yates"
Name the number of english gloss for wakȟáŋyeža
create table table_1499774_5 (english_gloss varchar, northern_lakota varchar, PRIMARY KEY (english_gloss))
select count(english_gloss) from table_1499774_5 where northern_lakota = "wakȟáŋyeža"
What week was stefan edberg anders järryd was semifinalist and champion is john mcenroe 7–6, 6–3?
create table table_21584646_10 (week_of varchar, semifinalists varchar, champion varchar, PRIMARY KEY (week_of))
select week_of from table_21584646_10 where semifinalists = "stefan edberg anders järryd" and champion = "john mcenroe 7–6, 6–3"
Name the written by for 16.32 million viewers
create table table_14845640_1 (written_by varchar, us_viewers__millions_ varchar, PRIMARY KEY (written_by))
select written_by from table_14845640_1 where us_viewers__millions_ = "16.32"
What's the English name of the month abbreviated as มิ.ย.?
create table table_180802_2 (english_name varchar, abbr varchar, PRIMARY KEY (english_name))
select english_name from table_180802_2 where abbr = "มิ.ย."
When did Jeremy Kagan's episode first air?
create table table_23279434_1 (original_air_date varchar, directed_by varchar, PRIMARY KEY (original_air_date))
select original_air_date from table_23279434_1 where directed_by = "jeremy kagan"
When gray wolves is the team nickname how many institutions are there?
create table table_28211213_2 (institution varchar, team_nickname varchar, PRIMARY KEY (institution))
select count(institution) from table_28211213_2 where team_nickname = "gray wolves"
name the title of the episode that ed sherin directed.
create table table_2618142_1 (title varchar, directed_by varchar, PRIMARY KEY (title))
select title from table_2618142_1 where directed_by = "ed sherin"
which pilot is in charge of the most number of flights?
create table flight (pilot varchar, PRIMARY KEY (pilot))
select pilot from flight group by pilot order by count(*) desc limit 1
Name the number of package options for music box italia
create table table_15887683_10 (package_option varchar, television_service varchar, PRIMARY KEY (package_option))
select count(package_option) from table_15887683_10 where television_service = "music box italia"
Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.
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))
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
What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?
create table table_18958648_1 (overweight__incl_obese__adults varchar, obese_children_and_adolescents varchar, PRIMARY KEY (overweight__incl_obese__adults))
select overweight__incl_obese__adults from table_18958648_1 where obese_children_and_adolescents = "12.4%"
how many countiers had 2009 remittances of 6.02?
create table table_2941963_1 (country varchar, remittances_2009 varchar, PRIMARY KEY (country))
select count(country) from table_2941963_1 where remittances_2009 = "6.02"
How many roles include George Broderick in the casino 1888 theater?
create table table_148386_2 (role varchar, casino_theatre_1888 varchar, PRIMARY KEY (role))
select role from table_148386_2 where casino_theatre_1888 = "george broderick"
What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?
create table table_20032301_3 (tom_horner__i_ varchar, matt_entenza__dfl_ varchar, PRIMARY KEY (tom_horner__i_))
select tom_horner__i_ from table_20032301_3 where matt_entenza__dfl_ = "31%"
under which president was gunther volz executed?
create table table_2861364_1 (under_president varchar, executed_person varchar, PRIMARY KEY (under_president))
select under_president from table_2861364_1 where executed_person = "gunther volz"