question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
What is the location of the club named "Tennis Club"? | create table club (clublocation varchar, clubname varchar, PRIMARY KEY (clublocation)) | select clublocation from club where clubname = "tennis club" |
What is the type where the country is esp? | create table table_11891841_2 (type varchar, country varchar, PRIMARY KEY (type)) | select type from table_11891841_2 where country = "esp" |
When were episodes first broadcast with jessica ennis as andrew and jacks guest? | create table table_29141354_5 (first_broadcast varchar, andrew_and_jacks_guest varchar, PRIMARY KEY (first_broadcast)) | select first_broadcast from table_29141354_5 where andrew_and_jacks_guest = "jessica ennis" |
During the act, Playing on Glasses, what was the semi-final? | create table table_23429629_4 (semi_final varchar, act varchar, PRIMARY KEY (semi_final)) | select semi_final from table_23429629_4 where act = "playing on glasses" |
Who had the most high assists with a record of 32-19? | create table table_23284271_8 (high_assists varchar, record varchar, PRIMARY KEY (high_assists)) | select high_assists from table_23284271_8 where record = "32-19" |
What are all types where registration is HB-OPU? | create table table_22180353_1 (type varchar, registration varchar, PRIMARY KEY (type)) | select type from table_22180353_1 where registration = "hb-opu" |
What is every school with basic elements of 52? | create table table_21995420_6 (school varchar, basic_elements varchar, PRIMARY KEY (school)) | select school from table_21995420_6 where basic_elements = 52 |
What was the length of the jumper representing FIN, in meters? | create table table_14407512_4 (nationality varchar, PRIMARY KEY (nationality)) | select 1 as st__m_ from table_14407512_4 where nationality = "fin" |
Where is lootos põlva from? | create table table_27409644_1 (location varchar, club varchar, PRIMARY KEY (location)) | select location from table_27409644_1 where club = "lootos põlva" |
What percentage of voters chose McCain in the county where 2.1% of voters voted third party? | create table table_20278716_2 (mccain__percentage varchar, others__percentage varchar, PRIMARY KEY (mccain__percentage)) | select mccain__percentage from table_20278716_2 where others__percentage = "2.1%" |
how many programs are broadcast in each time section of the day? | create table broadcast (time_of_day varchar, PRIMARY KEY (time_of_day)) | select count(*), time_of_day from broadcast group by time_of_day |
When momoiro clover z is the vocalist how many japanese titles are there? | create table table_2144389_9 (japanese_title varchar, vocalist varchar, PRIMARY KEY (japanese_title)) | select count(japanese_title) from table_2144389_9 where vocalist = "momoiro clover z" |
What could a spanish coronel be addressed as in the commonwealth military? | create table table_1015521_2 (commonwealth_equivalent varchar, rank_in_spanish varchar, PRIMARY KEY (commonwealth_equivalent)) | select commonwealth_equivalent from table_1015521_2 where rank_in_spanish = "coronel" |
What is the final score if the partner is Woodforde? | create table table_22597626_2 (score_in_the_final varchar, partner varchar, PRIMARY KEY (score_in_the_final)) | select score_in_the_final from table_22597626_2 where partner = "woodforde" |
How many times was Scott Oelslager a representative? | create table table_26131768_4 (residence varchar, representative varchar, PRIMARY KEY (residence)) | select count(residence) from table_26131768_4 where representative = "scott oelslager" |
What is the title and source for the game developed by Hydravision Entertainment? | create table table_26538035_1 (title_and_source varchar, developer varchar, PRIMARY KEY (title_and_source)) | select title_and_source from table_26538035_1 where developer = "hydravision entertainment" |
What location did the episode that aired originally on August 26, 2009 take place at? | create table table_24798489_2 (location varchar, original_airdate varchar, PRIMARY KEY (location)) | select location from table_24798489_2 where original_airdate = "august 26, 2009" |
Name the womens doubles when tour is malaysia super series | create table table_14496232_2 (womens_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles)) | select womens_doubles from table_14496232_2 where tour = "malaysia super series" |
If the channels is wxyzuv, what is the number of channels? | create table table_233830_1 (number_of_channels varchar, channels varchar, PRIMARY KEY (number_of_channels)) | select number_of_channels from table_233830_1 where channels = "wxyzuv" |
What are the maximum, minimum and average home games each stadium held? | create table stadium (home_games integer, PRIMARY KEY (home_games)) | select max(home_games), min(home_games), avg(home_games) from stadium |
Name the total number of pinyin for hsin-yüan-i-ma | create table table_16162581_1 (pinyin varchar, wade_giles varchar, PRIMARY KEY (pinyin)) | select count(pinyin) from table_16162581_1 where wade_giles = "hsin-yüan-i-ma" |
When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists? | create table table_23286158_10 (high_assists varchar, high_rebounds varchar, PRIMARY KEY (high_assists)) | select high_assists from table_23286158_10 where high_rebounds = "marcus camby (15)" |
What type of government does Kyrgyzstan have? | create table table_1604579_2 (country varchar, PRIMARY KEY (country)) | select 2012 as _democracy_index from table_1604579_2 where country = "kyrgyzstan" |
What is the depth of the aftershock at 18:00:22? | create table table_24518475_1 (depth varchar, time__utc_ varchar, PRIMARY KEY (depth)) | select depth from table_24518475_1 where time__utc_ = "18:00:22" |
what is the hometown for mike ladd? | create table table_29598261_1 (hometown varchar, name varchar, PRIMARY KEY (hometown)) | select hometown from table_29598261_1 where name = "mike ladd" |
What is the callsign for the Cebu station? | create table table_17822401_1 (callsign varchar, location varchar, PRIMARY KEY (callsign)) | select callsign from table_17822401_1 where location = "cebu" |
What is every amount for weight lost if the starting weight is 97.4? | create table table_24370270_10 (weight_lost__kg_ varchar, starting_weight__kg_ varchar, PRIMARY KEY (weight_lost__kg_)) | select weight_lost__kg_ from table_24370270_10 where starting_weight__kg_ = "97.4" |
When was originally aired the episode with an audience of 1.57 million us viewers? | create table table_28081876_6 (original_air_date varchar, us_viewers__millions_ varchar, PRIMARY KEY (original_air_date)) | select original_air_date from table_28081876_6 where us_viewers__millions_ = "1.57" |
What date was an episode broadcasted on that had a run time of 24:40? | create table table_2102714_1 (broadcast_date varchar, run_time varchar, PRIMARY KEY (broadcast_date)) | select broadcast_date from table_2102714_1 where run_time = "24:40" |
List the ids of all distinct orders ordered by placed date. | create table orders (order_id varchar, date_order_placed varchar, PRIMARY KEY (order_id)) | select distinct order_id from orders order by date_order_placed |
Which artist sang the song that ingela hemming wrote? | create table table_23585197_3 (artist varchar, songwriter_s_ varchar, PRIMARY KEY (artist)) | select artist from table_23585197_3 where songwriter_s_ = "ingela hemming" |
What is the cyrillic and other name of rabe? | create table table_2562572_30 (cyrillic_name_other_names varchar, settlement varchar, PRIMARY KEY (cyrillic_name_other_names)) | select cyrillic_name_other_names from table_2562572_30 where settlement = "rabe" |
Name the artist for 1595 televotes | create table table_21378339_5 (artist varchar, televotes varchar, PRIMARY KEY (artist)) | select artist from table_21378339_5 where televotes = 1595 |
Which store has most the customers? | create table customer (store_id varchar, PRIMARY KEY (store_id)) | select store_id from customer group by store_id order by count(*) desc limit 1 |
what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph? | create table table_14209455_1 (mon_26_may varchar, fri_30_may varchar, PRIMARY KEY (mon_26_may)) | select mon_26_may from table_14209455_1 where fri_30_may = "18' 28.27 122.599mph" |
What is the type of the school whose students' nickname is tigers? | create table table_1973842_1 (type varchar, nickname varchar, PRIMARY KEY (type)) | select type from table_1973842_1 where nickname = "tigers" |
What are the maximum and minimum number of cows across all farms. | create table farm (cows integer, PRIMARY KEY (cows)) | select max(cows), min(cows) from farm |
What are the locations with a panthers mascot? | create table table_13456202_1 (location varchar, mascot varchar, PRIMARY KEY (location)) | select location from table_13456202_1 where mascot = "panthers" |
what models are produced where the plant is scarborough? | create table table_250309_1 (models_produced varchar, plant varchar, PRIMARY KEY (models_produced)) | select models_produced from table_250309_1 where plant = "scarborough" |
What is every media type for the World genre? | create table table_23829490_1 (media_type varchar, genre varchar, PRIMARY KEY (media_type)) | select media_type from table_23829490_1 where genre = "world" |
Name the number of bowl for lee corso, gene chizik and chip kelly | create table table_2724704_5 (bowl varchar, studio_analyst_s_ varchar, PRIMARY KEY (bowl)) | select count(bowl) from table_2724704_5 where studio_analyst_s_ = "lee corso, gene chizik and chip kelly" |
What was the English title of Ladrones Y Mentirosos? | create table table_27423508_1 (english_title varchar, spanish_title varchar, PRIMARY KEY (english_title)) | select english_title from table_27423508_1 where spanish_title = "ladrones y mentirosos" |
Find all the zip codes in which the max dew point have never reached 70. | create table weather (zip_code varchar, max_dew_point_f varchar, PRIMARY KEY (zip_code)) | select distinct zip_code from weather except select distinct zip_code from weather where max_dew_point_f >= 70 |
Name the nation for abdon pamich category:articles with hcards | create table table_22355_44 (nation varchar, athlete varchar, PRIMARY KEY (nation)) | select nation from table_22355_44 where athlete = "abdon pamich category:articles with hcards" |
Show the headquarters that have both companies in banking industry and companies in oil and gas industry. | create table company (headquarters varchar, industry varchar, PRIMARY KEY (headquarters)) | select headquarters from company where industry = "banking" intersect select headquarters from company where industry = "oil and gas" |
What are all the AAA classes in the school years of 2005-06? | create table table_14603212_5 (class_aaa varchar, school_year varchar, PRIMARY KEY (class_aaa)) | select class_aaa from table_14603212_5 where school_year = "2005-06" |
Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang? | 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)) | 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' |
Who performed the most rebounds on games against the Minnesota Timberwolves? | create table table_27902171_9 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds)) | select high_rebounds from table_27902171_9 where team = "minnesota timberwolves" |
Find the total number of employees. | create table employee (id varchar, PRIMARY KEY (id)) | select count(*) from employee |
How many parties does the incumbent Donald A. Bailey a member of? | create table table_1341640_39 (party varchar, incumbent varchar, PRIMARY KEY (party)) | select count(party) from table_1341640_39 where incumbent = "donald a. bailey" |
Which stadium is managed by Kari Martonen? | create table table_25129482_1 (stadium varchar, manager varchar, PRIMARY KEY (stadium)) | select stadium from table_25129482_1 where manager = "kari martonen" |
Who won 2nd place when albertina fransisca mailoa was the winner of the putri pariwisata contest? | create table table_24014744_1 (putri_pariwisata_indonesia varchar, PRIMARY KEY (putri_pariwisata_indonesia)) | select 1 as st_runner_up from table_24014744_1 where putri_pariwisata_indonesia = "albertina fransisca mailoa" |
Name the total number of race time for kevin harvick | create table table_2241259_1 (race_time varchar, driver varchar, PRIMARY KEY (race_time)) | select count(race_time) from table_2241259_1 where driver = "kevin harvick" |
How many hectars of land is in Kaxholmen? | create table table_16796625_1 (land_area__hectares_ varchar, urban_area__locality_ varchar, PRIMARY KEY (land_area__hectares_)) | select land_area__hectares_ from table_16796625_1 where urban_area__locality_ = "kaxholmen" |
Show locations and nicknames of schools. | create table school (location varchar, school_id varchar, PRIMARY KEY (location)); create table school_details (nickname varchar, school_id varchar, PRIMARY KEY (nickname)) | select t1.location, t2.nickname from school as t1 join school_details as t2 on t1.school_id = t2.school_id |
Name the davids team for 8 august 2008 | create table table_23575917_2 (davids_team varchar, first_broadcast varchar, PRIMARY KEY (davids_team)) | select davids_team from table_23575917_2 where first_broadcast = "8 august 2008" |
What is the adjusted GDP when the nominal GDP per capita is 2874? | create table table_1610496_3 (gdp_adjusted__$_billions_ varchar, gdp_per_capita_nominal__$_ varchar, PRIMARY KEY (gdp_adjusted__$_billions_)) | select gdp_adjusted__$_billions_ from table_1610496_3 where gdp_per_capita_nominal__$_ = 2874 |
What was the titles of the episodes written by ken lazebnik? | create table table_11111116_7 (title varchar, written_by varchar, PRIMARY KEY (title)) | select title from table_11111116_7 where written_by = "ken lazebnik" |
What is the symbol for Windpower in China? | create table table_11347578_1 (wind_power__wp_ varchar, country varchar, PRIMARY KEY (wind_power__wp_)) | select wind_power__wp_ from table_11347578_1 where country = "china" |
What is the party affiliation for Senator David Goodman? | create table table_26129220_2 (party varchar, senator varchar, PRIMARY KEY (party)) | select party from table_26129220_2 where senator = "david goodman" |
Who is themens doubles when the mens singles is flemming delfs? | create table table_12171145_1 (mens_doubles varchar, mens_singles varchar, PRIMARY KEY (mens_doubles)) | select mens_doubles from table_12171145_1 where mens_singles = "flemming delfs" |
Name the total number of replaced by for 13 june 2009 | create table table_22640051_3 (replaced_by varchar, date_of_appointment varchar, PRIMARY KEY (replaced_by)) | select count(replaced_by) from table_22640051_3 where date_of_appointment = "13 june 2009" |
For the headstamp id of h2, what was the color of the bullet tip? | create table table_1036189_1 (bullet_tip_color varchar, headstamp_id varchar, PRIMARY KEY (bullet_tip_color)) | select bullet_tip_color from table_1036189_1 where headstamp_id = "h2" |
When troy is the regular season winner what is the conference tournament? | create table table_24160890_3 (conference varchar, regular_season_winner varchar, PRIMARY KEY (conference)) | select conference as tournament from table_24160890_3 where regular_season_winner = "troy" |
How many dams are there in the Lake and Peninsula area? | 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)) | select max(_number_s_dam_and_gnis_query_link) from table_17978052_2 where borough_or_census_area = "lake and peninsula" |
What is the television network with the television channel of Astro Pelangi & Astro Bintang? | create table table_27469019_2 (television_network varchar, television_channel varchar, PRIMARY KEY (television_network)) | select television_network from table_27469019_2 where television_channel = "astro pelangi & astro bintang" |
In the Central region, where the land area (km 2) is 8,543.2, what was the rainfall by depth (mm/year)? | create table table_25983027_1 (rainfall_by_depth__mm_year_ varchar, land_area__km_2__ varchar, PRIMARY KEY (rainfall_by_depth__mm_year_)) | select rainfall_by_depth__mm_year_ from table_25983027_1 where land_area__km_2__ = "8,543.2" |
List singer names and number of concerts for each singer. | create table singer_in_concert (singer_id varchar, PRIMARY KEY (singer_id)); create table singer (name varchar, singer_id varchar, PRIMARY KEY (name)) | 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 |
What is the cable rank for bbc three weekly ranking of n/a? | create table table_24399615_3 (cable_rank varchar, bbc_three_weekly_ranking varchar, PRIMARY KEY (cable_rank)) | select cable_rank from table_24399615_3 where bbc_three_weekly_ranking = "n/a" |
Find the names of all the clubs that have at least a member from the city with city code "BAL". | 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)) | 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" |
What's the name of Linroy Bottoson's victim? | create table table_23546266_1 (victim_s_ varchar, executed_person varchar, PRIMARY KEY (victim_s_)) | select victim_s_ from table_23546266_1 where executed_person = "linroy bottoson" |
What's the HC for the Euro I standard? | create table table_2780146_6 (hc__g_kwh_ varchar, standard varchar, PRIMARY KEY (hc__g_kwh_)) | select hc__g_kwh_ from table_2780146_6 where standard = "euro i" |
When 155 is the jersey what is the highest amount of different holders? | create table table_18676973_3 (different_holders integer, jerseys varchar, PRIMARY KEY (different_holders)) | select max(different_holders) from table_18676973_3 where jerseys = 155 |
How many candidates represent the district of kenneth a. roberts? | create table table_1341897_3 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select count(candidates) from table_1341897_3 where incumbent = "kenneth a. roberts" |
How many locomotives have a livery that is highland railway green | create table table_15827397_1 (name varchar, livery varchar, PRIMARY KEY (name)) | select count(name) from table_15827397_1 where livery = "highland railway green" |
Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what? | create table table_22123920_4 (shows___sellout varchar, sellout___percentage_ varchar, PRIMARY KEY (shows___sellout)) | select shows___sellout from table_22123920_4 where sellout___percentage_ = "75%" |
What is the subject when the highest mark is 79? | create table table_29842201_1 (subject varchar, highest_mark varchar, PRIMARY KEY (subject)) | select subject from table_29842201_1 where highest_mark = 79 |
Where was d: 25~70nm, l: 10~20 μm geometry researched? | create table table_30057479_1 (researched_at varchar, geometry varchar, PRIMARY KEY (researched_at)) | select researched_at from table_30057479_1 where geometry = "d: 25~70nm, l: 10~20 μm" |
what's the cancelable with bubbles being yes | create table table_1507852_5 (cancelable varchar, bubbles varchar, PRIMARY KEY (cancelable)) | select cancelable from table_1507852_5 where bubbles = "yes" |
Find the name of department that offers the class whose description has the word "Statistics". | 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)) | 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%' |
What is the title of the episode that was watched by 8.92 million viewers? | create table table_12146637_1 (episode_title varchar, us_viewers__millions_ varchar, PRIMARY KEY (episode_title)) | select episode_title from table_12146637_1 where us_viewers__millions_ = "8.92" |
What is the largest village that had 103279 houses affected? | create table table_20403667_2 (village integer, house_affected varchar, PRIMARY KEY (village)) | select max(village) from table_20403667_2 where house_affected = 103279 |
How many different skippers of the yacht City Index Leopard? | create table table_14882588_2 (skipper varchar, yacht varchar, PRIMARY KEY (skipper)) | select count(skipper) from table_14882588_2 where yacht = "city index leopard" |
How long has the longest song spent in the top 10? | create table table_27813010_2 (weeks_in_top_10 integer, PRIMARY KEY (weeks_in_top_10)) | select max(weeks_in_top_10) from table_27813010_2 |
How many centerfold models were there when the cover model was Torrie Wilson? | create table table_1566852_4 (centerfold_model varchar, cover_model varchar, PRIMARY KEY (centerfold_model)) | select count(centerfold_model) from table_1566852_4 where cover_model = "torrie wilson" |
Name the population of maryborough when population of woocoo is 2700 | create table table_12576536_1 (population__maryborough_ varchar, population__woocoo_ varchar, PRIMARY KEY (population__maryborough_)) | select population__maryborough_ from table_12576536_1 where population__woocoo_ = 2700 |
What is every entry for intermediate stops for the destination of Manchester? | create table table_3005999_1 (intermediate_stops varchar, destination varchar, PRIMARY KEY (intermediate_stops)) | select intermediate_stops from table_3005999_1 where destination = "manchester" |
What was the reported cost of the asset acquired from Standard & Poor's? | create table table_1373542_1 (reported_cost varchar, acquired_from varchar, PRIMARY KEY (reported_cost)) | select reported_cost from table_1373542_1 where acquired_from = "standard & poor's" |
How many entries are shown for november 3 when january 15-16 is 141? | create table table_25355501_2 (november_3 varchar, january_15_16 varchar, PRIMARY KEY (november_3)) | select count(november_3) from table_25355501_2 where january_15_16 = "141" |
How many different civil parishes is Canrooska a part of? | create table table_30120555_1 (civil_parish varchar, townland varchar, PRIMARY KEY (civil_parish)) | select count(civil_parish) from table_30120555_1 where townland = "canrooska" |
Where was the successor formally installed on December 3, 1858? | create table table_1802760_3 (state__class_ varchar, date_of_successors_formal_installation varchar, PRIMARY KEY (state__class_)) | select state__class_ from table_1802760_3 where date_of_successors_formal_installation = "december 3, 1858" |
Did the legislation pass that had 42.87% yes votes? | create table table_256286_63 (passed varchar, _percentage_yes varchar, PRIMARY KEY (passed)) | select passed from table_256286_63 where _percentage_yes = "42.87%" |
What are all percentages of Left Block when there is a 28.7% Social Democratic? | create table table_1463383_1 (left_bloc varchar, social_democratic varchar, PRIMARY KEY (left_bloc)) | select left_bloc from table_1463383_1 where social_democratic = "28.7%" |
What party is incumbent thomas j. lane from? | create table table_1341930_21 (party varchar, incumbent varchar, PRIMARY KEY (party)) | select party from table_1341930_21 where incumbent = "thomas j. lane" |
Which masters fought in hapkido style? | create table table_14937957_1 (masters varchar, martial_art_style varchar, PRIMARY KEY (masters)) | select masters from table_14937957_1 where martial_art_style = "hapkido" |
What date did the show air when Sean Lock was the headliner? | create table table_23122988_1 (airdate varchar, headliner varchar, PRIMARY KEY (airdate)) | select airdate from table_23122988_1 where headliner = "sean lock" |
List the number of shows that had 12.04 million viewers in the united states | create table table_22904780_1 (title varchar, us_viewers__million_ varchar, PRIMARY KEY (title)) | select count(title) from table_22904780_1 where us_viewers__million_ = "12.04" |
What are the distinct cross reference source system codes which are related to the master customer details 'Gottlieb, Becker and Wyman'? | 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)) | 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' |
Who was promoted to the league when Coventry was relegated to the league? | create table table_23927423_4 (promoted_to_league varchar, relegated_to_league varchar, PRIMARY KEY (promoted_to_league)) | select promoted_to_league from table_23927423_4 where relegated_to_league = "coventry" |
What TV order is written by gail simone? | create table table_20360535_3 (television_order varchar, written_by varchar, PRIMARY KEY (television_order)) | select television_order from table_20360535_3 where written_by = "gail simone" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.