context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR) | In episode 115 what is seen being made before British police helmets? | SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets" |
CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR) | How many times was leather introduced before pedal steel guitars in episode 111? | SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars" |
CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) | What was the UK broadcast date for the episode which visited USA? | SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA" |
CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) | What countries are visited in the episode presented by Brian B. Thompson? | SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" |
CREATE TABLE table_15211468_1 (episode_title VARCHAR, episode_no VARCHAR) | What is the episode title for the episode numbered #1.4? | SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.4" |
CREATE TABLE table_152358_3 (social_democratic_party VARCHAR, control VARCHAR) | Name the social democratic party for labour | SELECT social_democratic_party FROM table_152358_3 WHERE control = "labour" |
CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) | Who wrote episode 11, of which was directed by Will Waring? | SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 11 |
CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR) | Who wrote the episode directed by Peter Woeste? | SELECT written_by FROM table_15284274_1 WHERE directed_by = "Peter Woeste" |
CREATE TABLE table_15277629_1 (director VARCHAR, original_title VARCHAR) | Who was the director of Pecado Mortal | SELECT director FROM table_15277629_1 WHERE original_title = "Pecado Mortal" |
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR) | What was the original title of the Bruno Barreto film in 1989 | SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989 |
CREATE TABLE table_15277629_1 (result VARCHAR, director VARCHAR) | What was the result for director Fernando Meirelles | SELECT result FROM table_15277629_1 WHERE director = "Fernando Meirelles" |
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR) | Name the original title of the Suzana Amaral film | SELECT original_title FROM table_15277629_1 WHERE director = "Suzana Amaral" |
CREATE TABLE table_152834_2 (province VARCHAR, county VARCHAR) | If the country is fenghuang how many provinces are there? | SELECT COUNT(province) FROM table_152834_2 WHERE county = "Fenghuang" |
CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR) | Who is in group a when indiana is in group d? | SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" |
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR) | Who is in group c when wisconsin is in group d? | SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin" |
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_e VARCHAR) | Who is in group c when iowa is in group e? | SELECT group_c FROM table_15290638_1 WHERE group_e = "Iowa" |
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR) | Name the old bulgarian names for yuni | SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni |
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR) | Name the old bulgarian names for yanuari | SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari |
CREATE TABLE table_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR) | Name the bulgarian name for mart | SELECT bulgarian_name FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Mart |
CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR) | Who owned the team Jeremy Mayfield raced for? | SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield" |
CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | Who is Jason Leffler's primary sponsor? | SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" |
CREATE TABLE table_15294880_2 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR) | How many stages were there where the winner and the points classification were Alberto Contador? | SELECT COUNT(stage) FROM table_15294880_2 WHERE winner = "Alberto Contador" AND points_classification = "Alberto Contador" |
CREATE TABLE table_15294880_2 (team_classification VARCHAR, winner VARCHAR) | When the winner was Alessandro Ballan, how many total team classifications were there? | SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan" |
CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR) | When the team classification was quick step, what was the total number of general classifications? | SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = "Quick Step" |
CREATE TABLE table_15299235_1 (grand_prix VARCHAR) | Who won the spanish grand prix? | SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix" |
CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR) | What is the date for the Indianapolis circuit? | SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis" |
CREATE TABLE table_15299235_1 (round VARCHAR) | in round 9 who was the 250cc winner? | SELECT 250 AS cc_winner FROM table_15299235_1 WHERE round = 9 |
CREATE TABLE table_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR) | If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter? | SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481" |
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, condition_parameter VARCHAR) | If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c? | SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians" |
CREATE TABLE table_15314901_1 (velocity_angle_η_in_i_radians VARCHAR, coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR) | If the coordinate velocity v dx/dt in units of c is (e 2 − 1)/(e 2 + 1) ≅ 0.761, what is the velocity angle η in i-radians? | SELECT velocity_angle_η_in_i_radians FROM table_15314901_1 WHERE coordinate_velocity_v_dx_dt_in_units_of_c = "(e 2 − 1)/(e 2 + 1) ≅ 0.761" |
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR) | What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444? | SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444" |
CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR) | If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c? | SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 1 hyperbolic radian" |
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR) | What year is dayton in class AAAA? | SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton |
CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR) | Who is in class during 1995-96? | SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96" |
CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR) | When are all years that tournament location is Western Turnpike Golf Course? | SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course" |
CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR) | When are all years that the champion is Ji Min Jeong? | SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong" |
CREATE TABLE table_15315816_1 (winners_share__$_ VARCHAR, year VARCHAR) | How much are all winners share ($) in the year 2004? | SELECT winners_share__$_ FROM table_15315816_1 WHERE year = "2004" |
CREATE TABLE table_15315816_1 (dates VARCHAR, year VARCHAR) | When are all dates in the year 2006? | SELECT COUNT(dates) FROM table_15315816_1 WHERE year = "2006" |
CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR) | When are all dates with a score of 205 (–8) in Australia? | SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia" |
CREATE TABLE table_15315816_1 (dates VARCHAR, country VARCHAR) | What are all of the dates in the country of Canada? | SELECT dates FROM table_15315816_1 WHERE country = "Canada" |
CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR) | When was Jenny Gleason the champion of the Northeast Delta Dental International? | SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason" |
CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR) | Where was the tournament located when Misun Cho won the championship? | SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho" |
CREATE TABLE table_15315276_1 (purse__ INTEGER) | What is the maximum purse prize of the Northeast Delta Dental International Championship? | SELECT MAX(purse__) AS $_ FROM table_15315276_1 |
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR) | How many prizes were available when Jenny Shin became the champion? | SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin" |
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR) | Which team had 21 points? | SELECT team FROM table_15318779_1 WHERE points = 21 |
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR) | How many games did Palmeiras win? | SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras" |
CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR) | Name the number of lost for against being 46 | SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 46 |
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR) | Name the number of against for portuguesa santista | SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista" |
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR) | Name the won for difference being 33 | SELECT won FROM table_15319684_1 WHERE difference = "33" |
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR) | Name the most losst for corinthians | SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians" |
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, r_y___arcsecond__ VARCHAR) | How many values of r z (arcsecond) correspond with a r y (arcsecond) value of −0.247? | SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE r_y___arcsecond__ = "−0.247" |
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR) | How many values of r z(arcsecond) are associated with a target datum of Ireland 1965? | SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965" |
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR) | What is the muslim percentage of the 49634 population of england and wales 000? | SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_england_and_wales_000 = 49634 |
CREATE TABLE table_1532779_1 (census_year INTEGER) | What is the most recent census year? | SELECT MAX(census_year) FROM table_1532779_1 |
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR) | What was the percentage of muslims during a time where there were 614 registered mosques? | SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614 |
CREATE TABLE table_15333005_1 (pa INTEGER, locale VARCHAR, Ontario VARCHAR) | Name the most pa for ontario | SELECT MAX(pa) FROM table_15333005_1 WHERE locale = Ontario |
CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR) | Name the ends lost for 67 pa | SELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67 |
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR) | Name the number ends won when L is 4 and stolen ends is 17 | SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17 |
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR) | What day was Jeld-Wen Tradition held? | SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition" |
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR) | What day did Bernhard Langer (2) win? | SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (2)" |
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR) | On what day was the tournament in Alabama? | SELECT date FROM table_15346009_1 WHERE location = "Alabama" |
CREATE TABLE table_15346009_1 (score VARCHAR) | What was the value of 1st prize when the score was 271 (-9)? | SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)" |
CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR) | What day was the score 200 (-16)? | SELECT date FROM table_15346009_1 WHERE score = "200 (-16)" |
CREATE TABLE table_15346009_1 (location VARCHAR, tournament VARCHAR) | Where was Outback Steakhouse Pro-AM held? | SELECT location FROM table_15346009_1 WHERE tournament = "Outback Steakhouse Pro-Am" |
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) | Which dates of polls occur in the Mizoram state? | SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram" |
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) | How many dates of polls occur in the Madhya Pradesh state? | SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh" |
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR) | How many under the category of Against have a Difference of 11 | SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11 |
CREATE TABLE table_15352382_1 (won VARCHAR, against VARCHAR) | if Against is 20 how much is Won? | SELECT won FROM table_15352382_1 WHERE against = 20 |
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR) | How many Drawn does the team Portuguesa Santista have? | SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista" |
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR) | How many drawn does the team Corinthians have? | SELECT drawn FROM table_15352382_1 WHERE team = "Corinthians" |
CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR) | What is the highest number won with a difference of 1? | SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1" |
CREATE TABLE table_15331868_1 (position INTEGER, against VARCHAR) | What the highest position when there is 28 against? | SELECT MAX(position) FROM table_15331868_1 WHERE against = 28 |
CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR) | What is the highest number won when the number of points is 31? | SELECT MAX(won) FROM table_15331868_1 WHERE points = 31 |
CREATE TABLE table_15331868_1 (position INTEGER, difference VARCHAR) | What is the smalledt position when the difference was 6? | SELECT MIN(position) FROM table_15331868_1 WHERE difference = "6" |
CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR) | How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking? | SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = "No. 2" |
CREATE TABLE table_15358729_6 (timeslot VARCHAR, season VARCHAR) | What is the show's time slot during season 3? | SELECT timeslot FROM table_15358729_6 WHERE season = 3 |
CREATE TABLE table_1539201_1 (february VARCHAR) | Name all of the february | SELECT february FROM table_1539201_1 |
CREATE TABLE table_1539201_1 (june VARCHAR) | Name the junes | SELECT june FROM table_1539201_1 |
CREATE TABLE table_1539201_1 (july VARCHAR) | Name the julys | SELECT july FROM table_1539201_1 |
CREATE TABLE table_1539201_1 (february VARCHAR) | Name the number of februaries | SELECT COUNT(february) FROM table_1539201_1 |
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR) | How many points are listed when the position is 2? | SELECT MAX(points) FROM table_15405904_1 WHERE position = 2 |
CREATE TABLE table_15405904_1 (drawn INTEGER, lost VARCHAR) | When there is a lost of 2 what is the mumber drawn? | SELECT MAX(drawn) FROM table_15405904_1 WHERE lost = 2 |
CREATE TABLE table_15405904_1 (played INTEGER) | How many games are played? | SELECT MIN(played) FROM table_15405904_1 |
CREATE TABLE table_15405904_1 (lost INTEGER, position VARCHAR) | When the position is 2 what is the number lost? | SELECT MIN(lost) FROM table_15405904_1 WHERE position = 2 |
CREATE TABLE table_15405904_1 (won INTEGER, team VARCHAR) | When the team is ypiranga-sp what is the number of won games? | SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP" |
CREATE TABLE table_15400878_1 (difference VARCHAR, drawn INTEGER) | Name the difference for when drawn is larger than 2.0 | SELECT difference FROM table_15400878_1 WHERE drawn > 2.0 |
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR) | Name the most against for minas gerais | SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais" |
CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR) | What is the LMS class of trains with numbers 14510-5? | SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5" |
CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR) | What is the date of the 279 wheels? | SELECT date FROM table_15412381_5 WHERE wheels = 279 |
CREATE TABLE table_15412381_5 (lms_nos VARCHAR, builder VARCHAR) | What is the LMS number of the trains built by G&SWR Kilmarnock? | SELECT lms_nos FROM table_15412381_5 WHERE builder = "G&SWR Kilmarnock" |
CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR) | How many figures are there for wheels for LMS numbers 16377-9? | SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = "16377-9" |
CREATE TABLE table_15416002_1 (saffir_simpson_category INTEGER) | What is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index? | SELECT MAX(saffir_simpson_category) FROM table_15416002_1 |
CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR) | What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5 | SELECT MAX(v_mph_) FROM table_15416002_1 WHERE chi = "13.5" |
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR) | What is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b? | SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B" |
CREATE TABLE table_15416002_1 (r_miles_ INTEGER, landfall VARCHAR, saffir_simpson_category VARCHAR) | What is the maximum number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0? | SELECT MAX(r_miles_) FROM table_15416002_1 WHERE landfall = "Texas" AND saffir_simpson_category < 3.0 |
CREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR) | What are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9? | SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.9" |
CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR) | What is the Saffir-Simpson category for the hurricane named Bonnie? | SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie" |
CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR) | What kind of animal corresponds to the accession number xp_852505.1? | SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.1" |
CREATE TABLE table_15417439_1 (similarity VARCHAR, genus_species VARCHAR) | How similar is the genus/species sus scrofa? | SELECT similarity FROM table_15417439_1 WHERE genus_species = "Sus scrofa" |
CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR) | What identities do the genus/species arabidopsis thaliana have? | SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.