context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_12164707_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) | How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? | SELECT COUNT(mixed_doubles) FROM table_12164707_1 WHERE mens_singles = "Oliver Pongratz" |
CREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR) | Who won the Men's Doubles when Guo Xin won the Women's Singles? | SELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = "Guo Xin" |
CREATE TABLE table_12165999_1 (college VARCHAR, player VARCHAR) | Which college did Dennis Byrd come from? | SELECT college FROM table_12165999_1 WHERE player = "Dennis Byrd" |
CREATE TABLE table_12165999_1 (afl_team VARCHAR, player VARCHAR) | Bob Johnson plays for which AFL team? | SELECT afl_team FROM table_12165999_1 WHERE player = "Bob Johnson" |
CREATE TABLE table_12165999_1 (position VARCHAR, afl_team VARCHAR) | What position does the Cincinnati Bengals' player have? | SELECT position FROM table_12165999_1 WHERE afl_team = "Cincinnati Bengals" |
CREATE TABLE table_12165999_1 (position VARCHAR, college VARCHAR) | What position does Syracuse's player have? | SELECT position FROM table_12165999_1 WHERE college = "Syracuse" |
CREATE TABLE table_12165999_1 (college VARCHAR, afl_team VARCHAR) | What college did the Cincinnati Bengals' player come from? | SELECT college FROM table_12165999_1 WHERE afl_team = "Cincinnati Bengals" |
CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) | What is the pinyin for explaining music? | SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music" |
CREATE TABLE table_1216675_1 (subject VARCHAR, pinyin VARCHAR) | How many subjects have the pinyin shixun? | SELECT COUNT(subject) FROM table_1216675_1 WHERE pinyin = "Shixun" |
CREATE TABLE table_1216675_1 (pinyin VARCHAR, translation VARCHAR) | What is the pinyin for explaining beasts? | SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Beasts" |
CREATE TABLE table_1216675_1 (pinyin VARCHAR, chinese VARCHAR) | How many pinyin transaltions are available for the chinese phrase 釋蟲? | SELECT COUNT(pinyin) FROM table_1216675_1 WHERE chinese = "釋蟲" |
CREATE TABLE table_1216675_1 (chapter INTEGER, pinyin VARCHAR) | What chapter number is Shiqiu? | SELECT MIN(chapter) FROM table_1216675_1 WHERE pinyin = "Shiqiu" |
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) | How many mens doubles when womens doubles is catrine bengtsson margit borg? | SELECT COUNT(mens_doubles) FROM table_12171145_1 WHERE womens_doubles = "Catrine Bengtsson Margit Borg" |
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) | Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? | SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina" |
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, mens_singles VARCHAR) | Who is themens doubles when the mens singles is flemming delfs? | SELECT mens_doubles FROM table_12171145_1 WHERE mens_singles = "Flemming Delfs" |
CREATE TABLE table_12171145_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR) | Who was the womens doubles when the mixed doubles is jacco arends selena piek? | SELECT womens_doubles FROM table_12171145_1 WHERE mixed_doubles = "Jacco Arends Selena Piek" |
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_singles VARCHAR) | Who was the mens doubles when womens singles is mette sørensen? | SELECT mens_doubles FROM table_12171145_1 WHERE womens_singles = "Mette Sørensen" |
CREATE TABLE table_12186237_1 (motogp_winner VARCHAR, circuit VARCHAR) | Who is the Motogp winnder for the Catalunya Circuit? | SELECT motogp_winner FROM table_12186237_1 WHERE circuit = "Catalunya" |
CREATE TABLE table_12186237_1 (circuit VARCHAR) | Who is the 125cc winnder for the Phillip Island circuit? | SELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = "Phillip Island" |
CREATE TABLE table_12186237_1 (date VARCHAR, grand_prix VARCHAR) | What is the date of the German Grand Prix? | SELECT date FROM table_12186237_1 WHERE grand_prix = "German grand_prix" |
CREATE TABLE table_12186237_1 (circuit VARCHAR, date VARCHAR) | What circuit was on the date 4 May? | SELECT circuit FROM table_12186237_1 WHERE date = "4 May" |
CREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR) | Name the number of mens doubles for 2004/2005 | SELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = "2004/2005" |
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR) | Name the total number for mens single for 2002/2003 | SELECT COUNT(mens_singles) FROM table_12193259_1 WHERE season = "2002/2003" |
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR) | Name the mens singles for 1944/1945 | SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945" |
CREATE TABLE table_12206918_2 (date VARCHAR, opponent VARCHAR) | How many times was pernell whitaker an opponent? | SELECT COUNT(date) FROM table_12206918_2 WHERE opponent = "Pernell Whitaker" |
CREATE TABLE table_12206918_2 (number VARCHAR, opponent VARCHAR) | How many times was iran barkley an opponent? | SELECT number FROM table_12206918_2 WHERE opponent = "Iran Barkley" |
CREATE TABLE table_12206918_2 (opponent VARCHAR, result VARCHAR, date VARCHAR) | Who was the opponent when the result was ud 12/12 and date was 1993-05-22? | SELECT opponent FROM table_12206918_2 WHERE result = "UD 12/12" AND date = "1993-05-22" |
CREATE TABLE table_12206918_2 (opponent VARCHAR, date VARCHAR) | How many opponents fought on 1982-12-03? | SELECT COUNT(opponent) FROM table_12206918_2 WHERE date = "1982-12-03" |
CREATE TABLE table_12206918_2 (name VARCHAR, titles VARCHAR) | What is the name of the title winner in the ring light heavyweight (175) division? | SELECT name FROM table_12206918_2 WHERE titles = "The Ring Light heavyweight (175)" |
CREATE TABLE table_12221135_3 (arrival VARCHAR, operator VARCHAR, calling_at VARCHAR) | How many trains call at Castor, Overton, Peterborough East and are operated by LNWR? | SELECT COUNT(arrival) FROM table_12221135_3 WHERE operator = "LNWR" AND calling_at = "Castor, Overton, Peterborough East" |
CREATE TABLE table_12204717_1 (mens_singles VARCHAR, year VARCHAR) | Who won the mens singles in 2009? | SELECT mens_singles FROM table_12204717_1 WHERE year = 2009 |
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR) | What are the the University of Richmond's school colors? | SELECT colors FROM table_1221089_1 WHERE institution = "University of Richmond" |
CREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR) | What are the school colors of the University of New Hampshire? | SELECT colors FROM table_1221089_1 WHERE institution = "University of New Hampshire" |
CREATE TABLE table_1222653_10 (central_bank VARCHAR, currency VARCHAR) | What's the name of the central bank in the country where Colombian Peso (cop) is the local currency? | SELECT central_bank FROM table_1222653_10 WHERE currency = "Colombian peso (COP)" |
CREATE TABLE table_12226390_3 (production_code INTEGER, written_by VARCHAR) | what's the minimum production code written by jay sommers & dick chevillat and al schwartz | SELECT MIN(production_code) FROM table_12226390_3 WHERE written_by = "Jay Sommers & Dick Chevillat and Al Schwartz" |
CREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR) | what's the total number of title for production code 39 | SELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39 |
CREATE TABLE table_12226390_2 (written_by VARCHAR, no_in_series VARCHAR) | Who wrote the episode 14 in series? | SELECT written_by FROM table_12226390_2 WHERE no_in_series = 14 |
CREATE TABLE table_12226390_2 (directed_by VARCHAR, production_code VARCHAR) | Who directed the episode with production code 28? | SELECT directed_by FROM table_12226390_2 WHERE production_code = 28 |
CREATE TABLE table_12226390_6 (title VARCHAR, no_in_season VARCHAR) | What's the title of the episode with a season number 25? | SELECT title FROM table_12226390_6 WHERE no_in_season = 25 |
CREATE TABLE table_12226390_6 (title VARCHAR, production_code VARCHAR) | What's the title of the episode with a production code 136? | SELECT title FROM table_12226390_6 WHERE production_code = 136 |
CREATE TABLE table_12226390_4 (no_in_season INTEGER, written_by VARCHAR) | What episode was written by Bobby Bell and Bill Lee? | SELECT MAX(no_in_season) FROM table_12226390_4 WHERE written_by = "Bobby Bell and Bill Lee" |
CREATE TABLE table_12232843_1 (womens_doubles VARCHAR, mens_singles VARCHAR) | How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles? | SELECT COUNT(womens_doubles) FROM table_12232843_1 WHERE mens_singles = "Jamie van Hooijdonk" |
CREATE TABLE table_12232526_2 (hull_numbers INTEGER) | what is the maximum number of hull numbers? | SELECT MAX(hull_numbers) FROM table_12232526_2 |
CREATE TABLE table_12232526_2 (class VARCHAR, note VARCHAR) | who is the class where note is reportedly still active as of 2012? | SELECT class FROM table_12232526_2 WHERE note = "Reportedly still active as of 2012" |
CREATE TABLE table_12232526_2 (hull_numbers INTEGER, ship_name VARCHAR) | what is the maximum number of hull nunbers where ship name is kri yos sudarso? | SELECT MAX(hull_numbers) FROM table_12232526_2 WHERE ship_name = "KRI Yos Sudarso" |
CREATE TABLE table_12262182_2 (titles VARCHAR, date VARCHAR) | What titles were fought for on 1997-04-12? | SELECT titles FROM table_12262182_2 WHERE date = "1997-04-12" |
CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR) | What is the date of the match for the lineal super lightweight (140)? | SELECT date FROM table_12262182_2 WHERE titles = "Lineal Super lightweight (140)" |
CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR) | What is the date of the match for the wbc flyweight (112) title? | SELECT date FROM table_12262182_2 WHERE titles = "WBC Flyweight (112)" |
CREATE TABLE table_12261714_2 (young_rider_classification VARCHAR, stage VARCHAR) | Who's the leader in the young rider classification in stage 12? | SELECT young_rider_classification FROM table_12261714_2 WHERE stage = "12" |
CREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR) | Who's leading in the general classification in stage 1a? | SELECT general_classification FROM table_12261714_2 WHERE stage = "1a" |
CREATE TABLE table_12261714_2 (intergiro_classification VARCHAR, stage VARCHAR) | How many leaders are there in the intergiro classification in stage 20? | SELECT COUNT(intergiro_classification) FROM table_12261714_2 WHERE stage = "20" |
CREATE TABLE table_12261714_2 (trofeo_fast_team VARCHAR, stage VARCHAR) | What's the leader team in the Trofeo Fast Team in stage 20? | SELECT trofeo_fast_team FROM table_12261714_2 WHERE stage = "20" |
CREATE TABLE table_12261714_2 (winner VARCHAR, young_rider_classification VARCHAR, stage VARCHAR) | Who's the winner in stage 1a, where the leader in the young rider classification is Francesco Casagrande? | SELECT winner FROM table_12261714_2 WHERE young_rider_classification = "Francesco Casagrande" AND stage = "1a" |
CREATE TABLE table_12261806_2 (general_classification VARCHAR, stage VARCHAR) | Name the general classification of stage 15 | SELECT COUNT(general_classification) FROM table_12261806_2 WHERE stage = "15" |
CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) | Name the trofeo fast team of stage 2 | SELECT trofeo_fast_team FROM table_12261806_2 WHERE stage = "2" |
CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) | Name the young rider classification with laudelino cubino | SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino" |
CREATE TABLE table_12261806_2 (trofeo_fast_team VARCHAR, stage VARCHAR) | Name the total number of trofeo fast team of stage 16 | SELECT COUNT(trofeo_fast_team) FROM table_12261806_2 WHERE stage = "16" |
CREATE TABLE table_1226250_1 (bleeding_time VARCHAR, condition VARCHAR) | What kind of bleeding does aspirin cause? | SELECT bleeding_time FROM table_1226250_1 WHERE condition = "Aspirin" |
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR) | How in prothrombin affected by glanzmann's thrombasthenia. | SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Glanzmann's thrombasthenia" |
CREATE TABLE table_1226250_1 (partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR, prothrombin_time VARCHAR) | How long does thromboplastin last when prothrombin is unaffected? | SELECT partial_thromboplastin_time FROM table_1226250_1 WHERE bleeding_time = "Unaffected" AND prothrombin_time = "Unaffected" |
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, condition VARCHAR) | Is uremia affect prothrombin? | SELECT prothrombin_time FROM table_1226250_1 WHERE condition = "Uremia" |
CREATE TABLE table_1226250_1 (prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR) | Is prothrombin time long when thromboplastin is prolonged? | SELECT prothrombin_time FROM table_1226250_1 WHERE bleeding_time = "Prolonged" AND partial_thromboplastin_time = "Prolonged" |
CREATE TABLE table_12251936_1 (live_births_2006 VARCHAR, county VARCHAR) | How many live births were there in 2006 in South Yorkshire (met county)? | SELECT live_births_2006 FROM table_12251936_1 WHERE county = "South Yorkshire (Met county)" |
CREATE TABLE table_12251936_1 (tfr_2006 VARCHAR, gfr_2006 VARCHAR) | How many TFR were there in 2006 when the GFR was 53.8? | SELECT tfr_2006 FROM table_12251936_1 WHERE gfr_2006 = "53.8" |
CREATE TABLE table_12251936_1 (whites_as__percentage_of_pop VARCHAR, gfr_2006 VARCHAR) | How many times was the GFR 2006 equal to 53.2? | SELECT COUNT(whites_as__percentage_of_pop) FROM table_12251936_1 WHERE gfr_2006 = "53.2" |
CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR) | How many mens doubles took place in 1970/1971? | SELECT COUNT(mens_doubles) FROM table_12266757_1 WHERE season = "1970/1971" |
CREATE TABLE table_12266757_1 (womens_doubles VARCHAR, season VARCHAR) | Where were the Womens Doubles in the 1951/1952 season and who won? | SELECT womens_doubles FROM table_12266757_1 WHERE season = "1951/1952" |
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, mens_doubles VARCHAR) | Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk? | SELECT womens_singles FROM table_12266757_1 WHERE mens_doubles = "Stefan Karlsson Claes Nordin , BK Aura GBK" |
CREATE TABLE table_12266757_1 (mens_doubles VARCHAR, season VARCHAR) | Who were the winners of mens doubles in the 1986/1987 season held? | SELECT mens_doubles FROM table_12266757_1 WHERE season = "1986/1987" |
CREATE TABLE table_12266757_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) | Who won the Mens Singles when the Mixed doubles went to Stellan Mohlin Kerstin Ståhl , Aik? | SELECT mens_singles FROM table_12266757_1 WHERE mixed_doubles = "Stellan Mohlin Kerstin Ståhl , AIK" |
CREATE TABLE table_12266757_1 (womens_singles VARCHAR, season VARCHAR) | Who won the womens singles in the 1958/1959 season? | SELECT womens_singles FROM table_12266757_1 WHERE season = "1958/1959" |
CREATE TABLE table_12280396_1 (county VARCHAR, isolation__km_ VARCHAR) | What county is in isolation of 29? | SELECT county FROM table_12280396_1 WHERE isolation__km_ = 29 |
CREATE TABLE table_12280396_1 (county VARCHAR, elevation__m_ VARCHAR) | What is the county with an elevation of 1262? | SELECT county FROM table_12280396_1 WHERE elevation__m_ = 1262 |
CREATE TABLE table_12280396_1 (rank VARCHAR, municipality VARCHAR) | Name the rank where the municipality is sunndal? | SELECT rank FROM table_12280396_1 WHERE municipality = "Sunndal" |
CREATE TABLE table_12280396_1 (county VARCHAR, peak VARCHAR) | Name the county with the peak being indre russetind? | SELECT county FROM table_12280396_1 WHERE peak = "Indre Russetind" |
CREATE TABLE table_12280396_1 (rank VARCHAR, peak VARCHAR) | What is the number of rank of peak fresvikbreen? | SELECT COUNT(rank) FROM table_12280396_1 WHERE peak = "Fresvikbreen" |
CREATE TABLE table_12275551_1 (mens_singles VARCHAR, womens_singles VARCHAR) | Who won the mens singles when sayaka sato won the womens singles? | SELECT mens_singles FROM table_12275551_1 WHERE womens_singles = "Sayaka Sato" |
CREATE TABLE table_12275654_1 (year INTEGER, mens_singles VARCHAR) | When did Chetan Anand win his first men's single? | SELECT MIN(year) FROM table_12275654_1 WHERE mens_singles = "Chetan Anand" |
CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) | How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year? | SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan" |
CREATE TABLE table_12275654_1 (mens_doubles VARCHAR, mens_singles VARCHAR) | Who won the men's double when Chou Tien-Chen won the men's single? | SELECT mens_doubles FROM table_12275654_1 WHERE mens_singles = "Chou Tien-chen" |
CREATE TABLE table_12283621_6 (serbian_league_east VARCHAR, serbian_league_belgrade VARCHAR) | What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade? | SELECT serbian_league_east FROM table_12283621_6 WHERE serbian_league_belgrade = "Kolubara" |
CREATE TABLE table_12284476_8 (series VARCHAR, reverse VARCHAR) | what's the series with reverse being swimming | SELECT series FROM table_12284476_8 WHERE reverse = "Swimming" |
CREATE TABLE table_12284476_8 (alloy VARCHAR, series VARCHAR) | what's the alloy with series being ii series | SELECT alloy FROM table_12284476_8 WHERE series = "II series" |
CREATE TABLE table_12284476_8 (denomination VARCHAR, year VARCHAR, reverse VARCHAR) | what's the denomination with year being 2008 and reverse being football | SELECT denomination FROM table_12284476_8 WHERE year = 2008 AND reverse = "Football" |
CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR) | how many reverse with series being iii series | SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series" |
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR) | How many times did kingfisher east bengal fc win? | SELECT MIN(winners) FROM table_12303563_1 WHERE nation = "Kingfisher East Bengal FC" |
CREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR) | How many times did bec tero sasana win? | SELECT MAX(winners) FROM table_12303563_1 WHERE nation = "BEC Tero Sasana" |
CREATE TABLE table_1231316_5 (date VARCHAR, nation VARCHAR) | Nigeria competed on July2, 1999. | SELECT date FROM table_1231316_5 WHERE nation = "Nigeria" |
CREATE TABLE table_1231316_5 (fastest_time__s_ VARCHAR, nation VARCHAR) | Nigeria had the fastest time once. | SELECT COUNT(fastest_time__s_) FROM table_1231316_5 WHERE nation = "Nigeria" |
CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) | how many runners-up with nation being india | SELECT COUNT(runners_up) FROM table_12303563_2 WHERE nation = "India" |
CREATE TABLE table_12303563_2 (runners_up VARCHAR, nation VARCHAR) | what's the runners-up with nation being malaysia | SELECT runners_up FROM table_12303563_2 WHERE nation = "Malaysia" |
CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR) | how many winners with # being 4 | SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 4 |
CREATE TABLE table_12303563_2 (winners INTEGER) | how many maximum winners | SELECT MAX(winners) FROM table_12303563_2 |
CREATE TABLE table_12303563_2 (winners VARCHAR, nation VARCHAR) | how many winners from vietnam | SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam" |
CREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR) | What was the total of arlenes vote when craig voted for brian and karen? | SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen" |
CREATE TABLE table_12305325_4 (week INTEGER, eliminated VARCHAR) | What is the max week where kate and anton are eliminated? | SELECT MAX(week) FROM table_12305325_4 WHERE eliminated = "Kate and Anton" |
CREATE TABLE table_12305325_4 (eliminated VARCHAR, safe VARCHAR) | What is the number eliminated when kelly and brendan are safe? | SELECT COUNT(eliminated) FROM table_12305325_4 WHERE safe = "Kelly and Brendan" |
CREATE TABLE table_12305325_4 (safe VARCHAR, eliminated VARCHAR) | Who is safe if John and Nicole are eliminated? | SELECT safe FROM table_12305325_4 WHERE eliminated = "John and Nicole" |
CREATE TABLE table_12305325_4 (brunos_vote VARCHAR, eliminated VARCHAR) | What is the total number of brunos vote when willie and erin are eliminated? | SELECT COUNT(brunos_vote) FROM table_12305325_4 WHERE eliminated = "Willie and Erin" |
CREATE TABLE table_12321870_32 (goals VARCHAR, matches VARCHAR) | How many goals were scored by the player who played 17 matches? | SELECT goals FROM table_12321870_32 WHERE matches = "17" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.