question
stringlengths 14
216
| context
stringlengths 45
458
| answer
stringlengths 18
463
|
---|---|---|
Who was the director for the episode on May 2, 1959? | create table table_25800134_3 (director varchar, airdate varchar, PRIMARY KEY (director)) | select director from table_25800134_3 where airdate = "may 2, 1959" |
When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory? | create table table_1889619_5 (country_territory varchar, story_no varchar, missing_episodes_with_recovered_footage varchar, PRIMARY KEY (country_territory)) | select country_territory from table_1889619_5 where story_no = "032" and missing_episodes_with_recovered_footage = "episode 4" |
What type is the school located in Macon, Georgia? | create table table_1973842_1 (type varchar, location varchar, PRIMARY KEY (type)) | select type from table_1973842_1 where location = "macon, georgia" |
What college team did the pick for Pittsburgh Penguins come from? | create table table_2781227_7 (college_junior_club_team varchar, nhl_team varchar, PRIMARY KEY (college_junior_club_team)) | select college_junior_club_team from table_2781227_7 where nhl_team = "pittsburgh penguins" |
How many different counts of the votes for Bush are there in the county where he got 69.7% of the votes? | create table table_2401326_1 (bush_number varchar, bush_percentage varchar, PRIMARY KEY (bush_number)) | select count(bush_number) from table_2401326_1 where bush_percentage = "69.7%" |
Name the womens doubles when mixed doubles is potten ruth scott | create table table_14903881_1 (womens_doubles varchar, mixed_doubles varchar, PRIMARY KEY (womens_doubles)) | select womens_doubles from table_14903881_1 where mixed_doubles = "potten ruth scott" |
Who was the high rebounder against charlotte? | create table table_13619135_7 (high_rebounds varchar, team varchar, PRIMARY KEY (high_rebounds)) | select high_rebounds from table_13619135_7 where team = "charlotte" |
What is the birthday of the staff member with first name as Janessa and last name as Sawayn? | create table staff (date_of_birth varchar, first_name varchar, last_name varchar, PRIMARY KEY (date_of_birth)) | select date_of_birth from staff where first_name = "janessa" and last_name = "sawayn" |
what is the name of award when the name of film is sana keithel? | create table table_25926120_7 (name_of_award varchar, name_of_film varchar, PRIMARY KEY (name_of_award)) | select name_of_award from table_25926120_7 where name_of_film = "sana keithel" |
What was Katie's order number when the theme was The Rolling Stones? | create table table_26250189_1 (order__number varchar, theme varchar, PRIMARY KEY (order__number)) | select order__number from table_26250189_1 where theme = "the rolling stones" |
How many news stations opened on the date of June 24, 2000? | create table table_1817879_2 (_number_of_new_stations varchar, date_opened varchar, PRIMARY KEY (_number_of_new_stations)) | select _number_of_new_stations from table_1817879_2 where date_opened = "june 24, 2000" |
What was the order # or Erma Franklin? | create table table_26250151_1 (order__number varchar, original_recording_artist varchar, PRIMARY KEY (order__number)) | select order__number from table_26250151_1 where original_recording_artist = "erma franklin" |
What is the party affiliation for senator mark Wagoner? | create table table_26129220_2 (party varchar, senator varchar, PRIMARY KEY (party)) | select party from table_26129220_2 where senator = "mark wagoner" |
What year was Fayette operational at 46? | create table table_26387382_1 (year_operational integer, location__county_ varchar, capacity__mw_ varchar, PRIMARY KEY (year_operational)) | select min(year_operational) from table_26387382_1 where location__county_ = "fayette" and capacity__mw_ = "46" |
How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%? | create table table_1342149_42 (party varchar, candidates varchar, PRIMARY KEY (party)) | select count(party) from table_1342149_42 where candidates = "howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%" |
The Roman value of t is associated with what allophone? | create table t (id varchar, PRIMARY KEY (id)) | select sound__allophone_ from "t" as able_name_50 where roman = "t" |
Show all distinct lot details. | create table lots (lot_details varchar, PRIMARY KEY (lot_details)) | select distinct lot_details from lots |
How many leading scorers were there in the game against Utah? | create table table_13557843_5 (high_points varchar, team varchar, PRIMARY KEY (high_points)) | select count(high_points) from table_13557843_5 where team = "utah" |
Name the away team score for richmond | create table table_14312471_3 (away_team varchar, PRIMARY KEY (away_team)) | select away_team as score from table_14312471_3 where away_team = "richmond" |
What is the enrollment ratio in primary in the region where the enrollment ratio in preschool is 38.14? | create table table_25042332_22 (primary__6_13_years_ varchar, preschool__0_5_years_ varchar, PRIMARY KEY (primary__6_13_years_)) | select primary__6_13_years_ from table_25042332_22 where preschool__0_5_years_ = "38.14" |
What was the status of the series that was run by tv channel Mediacorp tv12 Suria? | create table table_27469019_2 (status varchar, television_channel varchar, PRIMARY KEY (status)) | select status from table_27469019_2 where television_channel = "mediacorp tv12 suria" |
How many of Asian release statuses does Uno HD have? | create table table_28621502_1 (asia varchar, title varchar, PRIMARY KEY (asia)) | select count(asia) from table_28621502_1 where title = "uno hd" |
What are the ids and names of the web accelerators that are compatible with two or more browsers? | create table accelerator_compatible_browser (accelerator_id varchar, PRIMARY KEY (accelerator_id)); create table web_client_accelerator (id varchar, name varchar, PRIMARY KEY (id)) | 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 |
Name the number of conference tournament for james madison | create table table_22849575_6 (conference varchar, tournament_winner varchar, PRIMARY KEY (conference)) | select count(conference) as tournament from table_22849575_6 where tournament_winner = "james madison" |
How many winning drivers are there when the winning team is Bryan herta autosport? | create table table_19850806_3 (winning_driver varchar, winning_team varchar, PRIMARY KEY (winning_driver)) | select count(winning_driver) from table_19850806_3 where winning_team = "bryan herta autosport" |
Who ran unsuccessfully against Bill Hefner? | create table table_1341522_36 (opponent varchar, incumbent varchar, PRIMARY KEY (opponent)) | select opponent from table_1341522_36 where incumbent = "bill hefner" |
What is the total number of brunos vote when willie and erin are eliminated? | create table table_12305325_4 (brunos_vote varchar, eliminated varchar, PRIMARY KEY (brunos_vote)) | select count(brunos_vote) from table_12305325_4 where eliminated = "willie and erin" |
When Cincinnati is the tournament winner how many regular season winners are there? | create table table_24160890_3 (regular_season_winner varchar, tournament_winner varchar, PRIMARY KEY (regular_season_winner)) | select count(regular_season_winner) from table_24160890_3 where tournament_winner = "cincinnati" |
how many times is the week # is audition? | create table table_27075510_1 (original_artist varchar, week__number varchar, PRIMARY KEY (original_artist)) | select count(original_artist) from table_27075510_1 where week__number = "audition" |
What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%? | create table table_1939405_2 (_percentage_2001 varchar, _percentage_2011 varchar, province varchar, PRIMARY KEY (_percentage_2001)) | select _percentage_2001 from table_1939405_2 where _percentage_2011 = "0.8%" and province = "manitoba" |
What is the weight of the bullet used in a Remington? | create table table_16010376_1 (bullet_weight varchar, source varchar, PRIMARY KEY (bullet_weight)) | select bullet_weight from table_16010376_1 where source = "remington" |
What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph? | create table table_30058355_2 (thurs_25_aug varchar, wed_24_aug varchar, PRIMARY KEY (thurs_25_aug)) | select thurs_25_aug from table_30058355_2 where wed_24_aug = "19' 59.73 113.216mph" |
Name the number of population density 2010 for duque de caxias | create table table_14986292_1 (population_density_2010___km²_ varchar, administrative_division varchar, PRIMARY KEY (population_density_2010___km²_)) | select count(population_density_2010___km²_) from table_14986292_1 where administrative_division = "duque de caxias" |
What is the nickname that means god holds my life? | create table table_11908801_1 (nickname varchar, meaning varchar, PRIMARY KEY (nickname)) | select nickname from table_11908801_1 where meaning = "god holds my life" |
What are the id of songs whose format is mp3. | create table files (f_id varchar, formats varchar, PRIMARY KEY (f_id)) | select f_id from files where formats = "mp3" |
Name the name for plymouth albion orrell | create table table_22977424_8 (name varchar, promoted_to_league varchar, PRIMARY KEY (name)) | select name from table_22977424_8 where promoted_to_league = "plymouth albion orrell" |
Who took third-place when there were 4 total wins? | create table table_17632217_2 (third_place varchar, total_wins varchar, PRIMARY KEY (third_place)) | select third_place from table_17632217_2 where total_wins = 4 |
Who were the candidates in the district won by the incumbent Del Latta? | create table table_1341690_35 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select candidates from table_1341690_35 where incumbent = "del latta" |
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. | 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)) | 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 |
Name the imperative for गरिस् garis 'you did' | create table table_16337329_5 (imperative varchar, past_habitual varchar, PRIMARY KEY (imperative)) | select imperative from table_16337329_5 where past_habitual = "गरिस् garis 'you did'" |
what is the nme of the song performed by billy vaughn? | create table table_13804825_2 (song_title varchar, artist varchar, PRIMARY KEY (song_title)) | select song_title from table_13804825_2 where artist = "billy vaughn" |
On what date was it announced that an asset was acquired for US$9 Million? | create table table_1373542_1 (date_announced varchar, reported_cost varchar, PRIMARY KEY (date_announced)) | select date_announced from table_1373542_1 where reported_cost = "us$9 million" |
How many players did the most high points in the game with 39-22 record? | create table table_23286223_8 (high_points varchar, record varchar, PRIMARY KEY (high_points)) | select count(high_points) from table_23286223_8 where record = "39-22" |
Name the total number of represents for clary sermina delgado cid | create table table_26301697_2 (represents varchar, contestant varchar, PRIMARY KEY (represents)) | select count(represents) from table_26301697_2 where contestant = "clary sermina delgado cid" |
List the names of states that have more than 2 parks. | create table park (state varchar, PRIMARY KEY (state)) | select state from park group by state having count(*) > 2 |
what is the mascot of st. paul's school? | create table table_2439728_1 (mascot varchar, school varchar, PRIMARY KEY (mascot)) | select mascot from table_2439728_1 where school = "st. paul's school" |
Who are all hosts when men's singles is Ma Wenge? | create table table_28211988_1 (host varchar, mens_singles varchar, PRIMARY KEY (host)) | select host from table_28211988_1 where mens_singles = "ma wenge" |
Find the female friends of Alice. | create table personfriend (friend varchar, name varchar, PRIMARY KEY (friend)); create table person (name varchar, gender varchar, PRIMARY KEY (name)) | select t2.friend from person as t1 join personfriend as t2 on t1.name = t2.friend where t2.name = 'alice' and t1.gender = 'female' |
WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND? | create table table_11677691_2 (school varchar, college varchar, PRIMARY KEY (school)) | select school from table_11677691_2 where college = "south carolina" |
Name the population 1891 for area being 175836 | create table table_14925084_1 (population_1891 varchar, area_1891__statute_acres_ varchar, PRIMARY KEY (population_1891)) | select count(population_1891) from table_14925084_1 where area_1891__statute_acres_ = 175836 |
Who directed an episode that had 2.81 million U.S. viewers? | create table table_11111116_7 (directed_by varchar, us_viewers__million_ varchar, PRIMARY KEY (directed_by)) | select directed_by from table_11111116_7 where us_viewers__million_ = "2.81" |
Find the number of students in each major. | create table student (major varchar, PRIMARY KEY (major)) | select count(*), major from student group by major |
List all home teams when Western Kentucky was the visiting team. | create table table_26842217_6 (home_team varchar, visiting_team varchar, PRIMARY KEY (home_team)) | select home_team from table_26842217_6 where visiting_team = "western kentucky" |
Name the week number for andrew lloyd webber | create table table_15796054_3 (week__number varchar, theme varchar, PRIMARY KEY (week__number)) | select week__number from table_15796054_3 where theme = "andrew lloyd webber" |
Name the constructor for alberto ascari | create table table_21977704_1 (constructor varchar, driver varchar, PRIMARY KEY (constructor)) | select constructor from table_21977704_1 where driver = "alberto ascari" |
Find all the songs produced by artists with first name "Marianne". | 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)) | 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" |
When did the episode with the Ririe family air for the first time? | create table table_19897294_10 (original_air_date varchar, family_families varchar, PRIMARY KEY (original_air_date)) | select original_air_date from table_19897294_10 where family_families = "the ririe family" |
Which examples ask the existential question "Can I Love?" | create table table_1058787_1 (examples varchar, existential_question_ varchar, _not_in_citation_given_ varchar, PRIMARY KEY (examples)) | select examples from table_1058787_1 where existential_question_[_not_in_citation_given_] = "can i love?" |
How many international tourists visited Russia in 2012? | create table table_29789_1 (international_tourist_arrivals__2012_ varchar, country varchar, PRIMARY KEY (international_tourist_arrivals__2012_)) | select international_tourist_arrivals__2012_ from table_29789_1 where country = "russia" |
What are all the approved treatments for the target CD30? | create table table_1661124_1 (approved_treatment_s_ varchar, target varchar, PRIMARY KEY (approved_treatment_s_)) | select approved_treatment_s_ from table_1661124_1 where target = "cd30" |
When the cmd.exe / command.com is type, what are all associated values for powershell (cmdlet)? | create table table_14465871_1 (powershell__cmdlet_ varchar, cmdexe___commandcom varchar, PRIMARY KEY (powershell__cmdlet_)) | select powershell__cmdlet_ from table_14465871_1 where cmdexe___commandcom = "type" |
Name the least 10,000+ places for louisville | create table table_22916979_5 (_places varchar, principal_city varchar, PRIMARY KEY (_places)) | select min(10), 000 + _places from table_22916979_5 where principal_city = "louisville" |
What is the digital terrestria channel number for itv3? | create table table_182410_10 (digital_terrestrial_channel varchar, channel varchar, PRIMARY KEY (digital_terrestrial_channel)) | select digital_terrestrial_channel from table_182410_10 where channel = "itv3" |
What is the title of the episode that aired on december 12, 1953? | create table table_15824796_3 (title varchar, original_air_date varchar, PRIMARY KEY (title)) | select title from table_15824796_3 where original_air_date = "december 12, 1953" |
Find the products which have problems reported by both Lacey Bosco and Kenton Champlin? | 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)) | 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" |
Who did the Raptors play against when their record was 13-48? | create table table_13619053_8 (team varchar, record varchar, PRIMARY KEY (team)) | select team from table_13619053_8 where record = "13-48" |
Name the team for ricky rudd | create table table_2150776_1 (team varchar, driver varchar, PRIMARY KEY (team)) | select team from table_2150776_1 where driver = "ricky rudd" |
Who was the leading actress in a film with Warren Beatty as the leading actor and also at the 40th Oscars? | create table table_24225238_1 (leading_actress varchar, leading_actor varchar, oscars varchar, PRIMARY KEY (leading_actress)) | select leading_actress from table_24225238_1 where leading_actor = "warren beatty" and oscars = "40th" |
Who are the mens singles and womens singles with sun yu? | create table table_13553701_1 (mens_singles varchar, womens_singles varchar, PRIMARY KEY (mens_singles)) | select mens_singles from table_13553701_1 where womens_singles = "sun yu" |
Who were the candidates in the election where Saxby Chambliss was the incumbent? | create table table_1341453_12 (candidates varchar, incumbent varchar, PRIMARY KEY (candidates)) | select candidates from table_1341453_12 where incumbent = "saxby chambliss" |
Name the 1st stage for parameter being diameter | create table table_16537783_2 (parameter varchar, PRIMARY KEY (parameter)) | select 1 as st_stage from table_16537783_2 where parameter = "diameter" |
What is the fate for 11 april 1944? | create table table_1220125_4 (fate varchar, commissioned varchar, PRIMARY KEY (fate)) | select fate from table_1220125_4 where commissioned = "11 april 1944" |
What is the number of first class team with birthday of 5 december 1970? | create table table_11950720_4 (first_class_team varchar, date_of_birth varchar, PRIMARY KEY (first_class_team)) | select count(first_class_team) from table_11950720_4 where date_of_birth = "5 december 1970" |
Find the number of complaints with Product Failure type for each complaint status. | create table complaints (complaint_status_code varchar, complaint_type_code varchar, PRIMARY KEY (complaint_status_code)) | select complaint_status_code, count(*) from complaints where complaint_type_code = "product failure" group by complaint_status_code |
What are the notes during 57 bc caesar? | create table table_242785_3 (notes varchar, date_founded__founder varchar, PRIMARY KEY (notes)) | select notes from table_242785_3 where date_founded__founder = "57 bc caesar" |
Show the team that have at least two technicians. | create table technician (team varchar, PRIMARY KEY (team)) | select team from technician group by team having count(*) >= 2 |
How many different isolation numbers does the Jack Mountain peak have? | create table table_19716903_1 (isolation varchar, mountain_peak varchar, PRIMARY KEY (isolation)) | select count(isolation) from table_19716903_1 where mountain_peak = "jack mountain" |
What's the language in the school teaching grades 4-12? | create table table_1930857_1 (language varchar, grades varchar, PRIMARY KEY (language)) | select language from table_1930857_1 where grades = "4-12" |
Show different nominees and the number of musicals they have been nominated. | create table musical (nominee varchar, PRIMARY KEY (nominee)) | select nominee, count(*) from musical group by nominee |
Who created the illustration for the stamp that was themed 100 years of scouting? | create table table_11900773_5 (illustration varchar, theme varchar, PRIMARY KEY (illustration)) | select illustration from table_11900773_5 where theme = "100 years of scouting" |
What are the name and description for location code x? | create table ref_locations (location_name varchar, location_description varchar, location_code varchar, PRIMARY KEY (location_name)) | select location_name, location_description from ref_locations where location_code = "x" |
who is the auther when the transliteration is lasha-giorgis droindeli matiane? | create table table_22464685_1 (author varchar, transliteration varchar, PRIMARY KEY (author)) | select author from table_22464685_1 where transliteration = "lasha-giorgis droindeli matiane" |
What is the hangul symbol for the hanja 良州? | create table table_160510_1 (hangul varchar, hanja varchar, PRIMARY KEY (hangul)) | select hangul from table_160510_1 where hanja = "良州" |
Name the scott for chloropsis hardwickii | create table table_2006661_1 (scott varchar, species varchar, PRIMARY KEY (scott)) | select scott from table_2006661_1 where species = "chloropsis hardwickii" |
What is the maximum number of tropical storms in the year that had exactly 34 deaths? | create table table_2930244_4 (number_of_tropical_storms integer, deaths varchar, PRIMARY KEY (number_of_tropical_storms)) | select max(number_of_tropical_storms) from table_2930244_4 where deaths = "34" |
List the name of artworks that are not nominated. | create table nomination (name varchar, artwork_id varchar, PRIMARY KEY (name)); create table artwork (name varchar, artwork_id varchar, PRIMARY KEY (name)) | select name from artwork where not artwork_id in (select artwork_id from nomination) |
what are all the type where station number is c08 | create table table_11934032_1 (type varchar, station_number varchar, PRIMARY KEY (type)) | select type from table_11934032_1 where station_number = "c08" |
what's the country with highest monthly inflation rate being 3.13 × 10 8 % | create table table_13681_2 (country varchar, highest_monthly_inflation_rate varchar, PRIMARY KEY (country)) | select country from table_13681_2 where highest_monthly_inflation_rate = "3.13 × 10 8 %" |
What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm? | create table table_18821196_1 (tv_network_s_ varchar, weekly_schedule varchar, PRIMARY KEY (tv_network_s_)) | select tv_network_s_ from table_18821196_1 where weekly_schedule = "monday to thursday @ 11:00 pm" |
How many directors were there for the film with the original title of The Moises Padilla Story? | create table table_17919342_1 (director varchar, original_title varchar, PRIMARY KEY (director)) | select count(director) from table_17919342_1 where original_title = "the moises padilla story" |
What is the address of the location "UK Gallery"? | create table locations (address varchar, location_name varchar, PRIMARY KEY (address)) | select address from locations where location_name = "uk gallery" |
Who were the womens doubles when the mixed doubles were zhang nan zhao yunlei on the tour all england super series? | create table table_27753492_2 (womens_doubles varchar, mixed_doubles varchar, tour varchar, PRIMARY KEY (womens_doubles)) | select womens_doubles from table_27753492_2 where mixed_doubles = "zhang nan zhao yunlei" and tour = "all england super series" |
The original air date of 29November2007 has what total no.? | create table table_11642945_1 (total_no varchar, original_air_date varchar, PRIMARY KEY (total_no)) | select total_no from table_11642945_1 where original_air_date = "29november2007" |
When was the episode with Amy Williams as Andrew and Jack's guest broadcast? | create table table_29141354_7 (first_broadcast varchar, andrew_and_jacks_guest varchar, PRIMARY KEY (first_broadcast)) | select first_broadcast from table_29141354_7 where andrew_and_jacks_guest = "amy williams" |
Name results for herb wetanson | create table table_27561503_2 (results varchar, gt_20_winning_team varchar, PRIMARY KEY (results)) | select results from table_27561503_2 where gt_20_winning_team = "herb wetanson" |
What is the height of the school club team members in clemson? | create table table_11734041_7 (height_in_ft varchar, school_club_team_country varchar, PRIMARY KEY (height_in_ft)) | select height_in_ft from table_11734041_7 where school_club_team_country = "clemson" |
What is the minimum number of bypass ports listed? | create table table_16731248_1 (bypass_ports integer, PRIMARY KEY (bypass_ports)) | select min(bypass_ports) from table_16731248_1 |
What is the color of the planet venus? | create table table_180802_3 (color varchar, planet varchar, PRIMARY KEY (color)) | select color from table_180802_3 where planet = "venus" |
Show the industries shared by companies whose headquarters are "USA" and companies whose headquarters are "China". | create table companies (industry varchar, headquarters varchar, PRIMARY KEY (industry)) | select industry from companies where headquarters = "usa" intersect select industry from companies where headquarters = "china" |
When marshmallow cookies is segment b what episode is it on netflix? | create table table_15187735_5 (netflix varchar, segment_b varchar, PRIMARY KEY (netflix)) | select netflix from table_15187735_5 where segment_b = "marshmallow cookies" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.