context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR) | Who was the director for the episode in season #50? | SELECT directed_by FROM table_16471432_4 WHERE series__number = 50 |
CREATE TABLE table_16471432_4 (directed_by VARCHAR, series__number VARCHAR) | How many directors were there in total for the episode with series #62? | SELECT COUNT(directed_by) FROM table_16471432_4 WHERE series__number = 62 |
CREATE TABLE table_16494599_10 (nationality VARCHAR, school_club_team VARCHAR) | What are the nationalities of players who attended duke? | SELECT COUNT(nationality) FROM table_16494599_10 WHERE school_club_team = "Duke" |
CREATE TABLE table_16494599_10 (nationality VARCHAR, player VARCHAR) | How many nationalities does athlete Casey Jacobsen have? | SELECT COUNT(nationality) FROM table_16494599_10 WHERE player = "Casey Jacobsen" |
CREATE TABLE table_16494599_10 (player VARCHAR, school_club_team VARCHAR) | Who are the players that have attended Stanford? | SELECT player FROM table_16494599_10 WHERE school_club_team = "Stanford" |
CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR) | How many athletes play the position of guard? | SELECT COUNT(player) FROM table_16494599_10 WHERE position = "Guard" |
CREATE TABLE table_16494599_10 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) | During what years did athletes who attended school in Minnesota play for the Grizzlies? | SELECT years_for_grizzlies FROM table_16494599_10 WHERE school_club_team = "Minnesota" |
CREATE TABLE table_16494599_2 (player VARCHAR, school_club_team VARCHAR) | How many players went to depaul? | SELECT COUNT(player) FROM table_16494599_2 WHERE school_club_team = "DePaul" |
CREATE TABLE table_16494599_3 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) | What school did the player who was with the grizzles in 2011 attend? | SELECT school_club_team FROM table_16494599_3 WHERE years_for_grizzlies = "2011" |
CREATE TABLE table_16494599_3 (player VARCHAR, school_club_team VARCHAR) | What players attended missouri? | SELECT player FROM table_16494599_3 WHERE school_club_team = "Missouri" |
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR) | What position(s) does the player from seton hall play? | SELECT position FROM table_16494599_4 WHERE school_club_team = "Seton Hall" |
CREATE TABLE table_16494599_4 (no INTEGER, years_for_grizzlies VARCHAR) | What number does the player who was with the grizzles in 1999 wear? | SELECT MIN(no) FROM table_16494599_4 WHERE years_for_grizzlies = "1999" |
CREATE TABLE table_16494599_4 (player VARCHAR, position VARCHAR) | What players play guard? | SELECT player FROM table_16494599_4 WHERE position = "Guard" |
CREATE TABLE table_16494599_4 (position VARCHAR, school_club_team VARCHAR) | What position(s) do players from bowling green play? | SELECT position FROM table_16494599_4 WHERE school_club_team = "Bowling Green" |
CREATE TABLE table_16512618_1 (losses INTEGER, manager VARCHAR) | Name the most losses for leslie mann | SELECT MAX(losses) FROM table_16512618_1 WHERE manager = "Leslie Mann" |
CREATE TABLE table_1651764_3 (vacator VARCHAR, district VARCHAR) | who is the vacator whre the district is new jersey 2nd? | SELECT vacator FROM table_1651764_3 WHERE district = "New Jersey 2nd" |
CREATE TABLE table_1652224_5 (date_successor_seated VARCHAR, reason_for_change VARCHAR) | what is the date the successor seated because the person died august 17, 1954? | SELECT date_successor_seated FROM table_1652224_5 WHERE reason_for_change = "Died August 17, 1954" |
CREATE TABLE table_1652224_5 (successor VARCHAR, district VARCHAR) | who was the successor for district ohio 15th? | SELECT successor FROM table_1652224_5 WHERE district = "Ohio 15th" |
CREATE TABLE table_1652224_5 (reason_for_change VARCHAR, district VARCHAR) | what is the total number for reason for change is district michigan 3rd? | SELECT COUNT(reason_for_change) FROM table_1652224_5 WHERE district = "Michigan 3rd" |
CREATE TABLE table_16527640_3 (date_of_death VARCHAR, player VARCHAR) | What day did ARchie Roberts die? | SELECT date_of_death FROM table_16527640_3 WHERE player = "Archie Roberts" |
CREATE TABLE table_16527640_3 (location VARCHAR, vfl_games VARCHAR) | What location had a VFL Game number of 9? | SELECT location FROM table_16527640_3 WHERE vfl_games = 9 |
CREATE TABLE table_16527640_3 (vfl_games VARCHAR, location VARCHAR) | How many VFL games were located off Goodenough Island Milne Bay? | SELECT vfl_games FROM table_16527640_3 WHERE location = "off Goodenough Island Milne Bay" |
CREATE TABLE table_16537783_2 (parameter VARCHAR) | Name the 3rd stage for parameter of thrust | SELECT 3 AS rd_stage FROM table_16537783_2 WHERE parameter = "Thrust" |
CREATE TABLE table_16537783_2 (parameter VARCHAR) | Name the 1st stage for parameter being diameter | SELECT 1 AS st_stage FROM table_16537783_2 WHERE parameter = "Diameter" |
CREATE TABLE table_1656555_1 (archbishop VARCHAR, ordained_bishop VARCHAR) | Which archbishop was ordained as bishop November 30, 1925? | SELECT archbishop FROM table_1656555_1 WHERE ordained_bishop = "November 30, 1925" |
CREATE TABLE table_1656555_1 (died VARCHAR, ordained_bishop VARCHAR) | What is the death date of the archbishop who was ordained as bishop April 26, 1927? | SELECT died FROM table_1656555_1 WHERE ordained_bishop = "April 26, 1927" |
CREATE TABLE table_1656555_1 (Appointed VARCHAR, ordained_priest VARCHAR) | How many appointed archbishops were ordained as priests on December 20, 1959 | SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959" |
CREATE TABLE table_1656555_1 (ordained_bishop VARCHAR, ordained_priest VARCHAR) | What date was the person ordained as a priest in December 1838 ordained as a bishop? | SELECT ordained_bishop FROM table_1656555_1 WHERE ordained_priest = "December 1838" |
CREATE TABLE table_1656555_1 (ordained_priest VARCHAR, vacated_throne VARCHAR) | When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest? | SELECT ordained_priest FROM table_1656555_1 WHERE vacated_throne = "August 18, 1885" |
CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR) | How many players Bowled 4/125? | SELECT COUNT(player) FROM table_16570286_4 WHERE best_bowling = "4/125" |
CREATE TABLE table_16570286_4 (wickets INTEGER, average VARCHAR) | What number of wickets were there when the average was 22.66? | SELECT MAX(wickets) FROM table_16570286_4 WHERE average = "22.66" |
CREATE TABLE table_16570286_4 (wickets VARCHAR, average VARCHAR) | How many wickets were there when average was 22.66? | SELECT wickets FROM table_16570286_4 WHERE average = "22.66" |
CREATE TABLE table_16570286_4 (best_bowling VARCHAR, average VARCHAR) | What was the best bowling score when the average was 23.33? | SELECT best_bowling FROM table_16570286_4 WHERE average = "23.33" |
CREATE TABLE table_16570286_4 (matches INTEGER, wickets VARCHAR) | How many matches had 11 wickets? | SELECT MAX(matches) FROM table_16570286_4 WHERE wickets = 11 |
CREATE TABLE table_16570286_4 (wickets INTEGER, player VARCHAR) | How many wickets did Alec bedser have? | SELECT MAX(wickets) FROM table_16570286_4 WHERE player = "Alec Bedser" |
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, player VARCHAR) | Who picked dimitri tsoumpas? | SELECT cfl_team FROM table_16575609_1 WHERE player = "Dimitri Tsoumpas" |
CREATE TABLE table_16575609_1 (position VARCHAR, cfl_team VARCHAR) | What position did the winnipeg blue bombers draft? | SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers" |
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR) | Where did Brendon Labatte get picked? | SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte" |
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, college VARCHAR) | Who picked a player from Weber State? | SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber State" |
CREATE TABLE table_16575609_1 (position VARCHAR, college VARCHAR) | What position was taken out of Louisiana-Lafayette? | SELECT position FROM table_16575609_1 WHERE college = "Louisiana-Lafayette" |
CREATE TABLE table_16575609_4 (college VARCHAR, cfl_team VARCHAR) | Name the college for calgary stampeders | SELECT college FROM table_16575609_4 WHERE cfl_team = "Calgary Stampeders" |
CREATE TABLE table_16575609_4 (pick__number INTEGER, cfl_team VARCHAR) | Name the most pick number for cfl team being edmonton eskimos | SELECT MAX(pick__number) FROM table_16575609_4 WHERE cfl_team = "Edmonton Eskimos" |
CREATE TABLE table_16581695_3 (original_airdate VARCHAR, production_code VARCHAR) | How many days are associated with production code 210? | SELECT COUNT(original_airdate) FROM table_16581695_3 WHERE production_code = 210 |
CREATE TABLE table_16581695_3 (title VARCHAR, production_code VARCHAR) | How many titles have a production code of 211? | SELECT COUNT(title) FROM table_16581695_3 WHERE production_code = 211 |
CREATE TABLE table_16581695_3 (no_in_season VARCHAR, production_code VARCHAR) | How many seasons have a production code of 204? | SELECT COUNT(no_in_season) FROM table_16581695_3 WHERE production_code = 204 |
CREATE TABLE table_16581695_3 (title VARCHAR, written_by VARCHAR) | What title was written by Matt Wayne? | SELECT title FROM table_16581695_3 WHERE written_by = "Matt Wayne" |
CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR) | What is the series episode number of the episode with production code 303? | SELECT no_in_series FROM table_16581695_4 WHERE production_code = "303" |
CREATE TABLE table_16581695_4 (production_code VARCHAR, no_in_season VARCHAR) | What is the production code for episode 15 in season 3? | SELECT production_code FROM table_16581695_4 WHERE no_in_season = "15" |
CREATE TABLE table_16581695_4 (directed_by VARCHAR, no_in_season VARCHAR) | Who directed episode 12 in season 3? | SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "12" |
CREATE TABLE table_16577990_1 (tree_species VARCHAR, total_plant_species VARCHAR) | How many tree species are listed when the total plant species is 258? | SELECT tree_species FROM table_16577990_1 WHERE total_plant_species = 258 |
CREATE TABLE table_16577990_1 (tree_species VARCHAR, total_plant_species VARCHAR) | How many tree species are there when the total plant species is 113? | SELECT COUNT(tree_species) FROM table_16577990_1 WHERE total_plant_species = 113 |
CREATE TABLE table_16577990_1 (size_in_km² INTEGER, central_forest_reserve VARCHAR) | What is the size of Itwara central forest reserve? | SELECT MIN(size_in_km²) FROM table_16577990_1 WHERE central_forest_reserve = "Itwara" |
CREATE TABLE table_16577990_1 (tree_species VARCHAR, central_forest_reserve VARCHAR) | How many tree species are in the kitechura reserve? | SELECT tree_species FROM table_16577990_1 WHERE central_forest_reserve = "Kitechura" |
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | What episode titles have 17.93 million U.S. viewers? | SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "17.93" |
CREATE TABLE table_16617025_1 (title VARCHAR, us_viewers__millions_ VARCHAR) | What episode titles have 20.94 million U.S. viewers? | SELECT title FROM table_16617025_1 WHERE us_viewers__millions_ = "20.94" |
CREATE TABLE table_16617025_1 (season__number VARCHAR, directed_by VARCHAR) | In what seasons did Kate Woods direct Without A Trace? | SELECT season__number FROM table_16617025_1 WHERE directed_by = "Kate Woods" |
CREATE TABLE table_16617025_1 (written_by VARCHAR, season__number VARCHAR) | Who wrote Season 8? | SELECT written_by FROM table_16617025_1 WHERE season__number = 8 |
CREATE TABLE table_166346_1 (joined_opec VARCHAR, production___bbl__day_ VARCHAR) | When did the country that produced 1,213,000 (21st) bbl/day join Opec? | SELECT joined_opec FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" |
CREATE TABLE table_166346_1 (area__km²_ INTEGER, production___bbl__day_ VARCHAR) | What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day? | SELECT MIN(area__km²_) FROM table_166346_1 WHERE production___bbl__day_ = "3,200,000 (12th)" |
CREATE TABLE table_166346_1 (population__july_2012_ INTEGER, area__km²_ VARCHAR) | What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers? | SELECT MAX(population__july_2012_) FROM table_166346_1 WHERE area__km²_ = 2149690 |
CREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR) | Which regions had a production (bbl/day) of 1,213,000 (21st)? | SELECT region FROM table_166346_1 WHERE production___bbl__day_ = "1,213,000 (21st)" |
CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR) | Which country had a production (bbl/day) of 2,494,000 (10th)? | SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)" |
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR) | What are all the approved treatments for the target CD30? | SELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = "CD30" |
CREATE TABLE table_1661124_1 (brand_name VARCHAR, antibody VARCHAR) | What is the brand name for the antibody Brentuximab Vedotin? | SELECT brand_name FROM table_1661124_1 WHERE antibody = "Brentuximab vedotin" |
CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR) | How many targets are there with an approval date of 1997? | SELECT COUNT(target) FROM table_1661124_1 WHERE approval_date = 1997 |
CREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, antibody VARCHAR) | What are the approved treatments when the antibody is bevacizumab? | SELECT approved_treatment_s_ FROM table_1661124_1 WHERE antibody = "Bevacizumab" |
CREATE TABLE table_1661124_1 (target VARCHAR, approved_treatment_s_ VARCHAR) | What is the target when the approved treatment is non-hodgkin lymphoma? | SELECT target FROM table_1661124_1 WHERE approved_treatment_s_ = "non-Hodgkin lymphoma" |
CREATE TABLE table_1661124_1 (target VARCHAR, approval_date VARCHAR) | What is the target with an approval date of 2006? | SELECT target FROM table_1661124_1 WHERE approval_date = 2006 |
CREATE TABLE table_16645_1 (__percentage VARCHAR, rural INTEGER, year__january_ VARCHAR) | What is the rural population percentage in 1979? | SELECT MIN(rural), __percentage FROM table_16645_1 WHERE year__january_ = 1979 |
CREATE TABLE table_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR) | How many percentage figures are given for the urban population when the total population number is 14685? | SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685 |
CREATE TABLE table_16642_1 (islam VARCHAR, ethnicity VARCHAR) | When tajik is the ethnicity what is islam? | SELECT islam FROM table_16642_1 WHERE ethnicity = "Tajik" |
CREATE TABLE table_16654785_2 (name VARCHAR, length__m_ VARCHAR) | How many had a length of 455? | SELECT COUNT(name) FROM table_16654785_2 WHERE length__m_ = 455 |
CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR) | What is the average climb for Tenbosse? | SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse" |
CREATE TABLE table_16654785_2 (number VARCHAR, kilometer VARCHAR) | How many have a kilometers of 233? | SELECT number FROM table_16654785_2 WHERE kilometer = 233 |
CREATE TABLE table_16654785_2 (average_climb___percentage_ VARCHAR, length__m_ VARCHAR) | How many have a length of 375? | SELECT COUNT(average_climb___percentage_) FROM table_16654785_2 WHERE length__m_ = 375 |
CREATE TABLE table_16636344_1 (playoffs VARCHAR, year VARCHAR) | What was the team's playoff status in 2011? | SELECT playoffs FROM table_16636344_1 WHERE year = "2011" |
CREATE TABLE table_16636344_1 (league VARCHAR, year VARCHAR) | What was the team's league in 2010? | SELECT league FROM table_16636344_1 WHERE year = "2010" |
CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR) | What is the league name for the regular season status of 2nd, mid atlantic? | SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic" |
CREATE TABLE table_16670746_2 (winning_driver VARCHAR, circuit VARCHAR) | Who was the winning driver at Okayama International Circuit? | SELECT winning_driver FROM table_16670746_2 WHERE circuit = "Okayama International circuit" |
CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR) | Who had the fastest lap when the winning team was Tom's Racing? | SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing" |
CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR) | Who had the fastest lap in the race won by Team Impul at the Twin Ring Motegi circuit? | SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "Team Impul" AND circuit = "Twin Ring Motegi" |
CREATE TABLE table_16677874_2 (opponents VARCHAR, game VARCHAR) | How many opponents did the team play in week 13? | SELECT COUNT(opponents) FROM table_16677874_2 WHERE game = 13 |
CREATE TABLE table_16677887_2 (opponents INTEGER, date VARCHAR) | How many points did the opponent score on Sept. 14? | SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14" |
CREATE TABLE table_16677887_2 (opponent VARCHAR, bills_first_downs VARCHAR) | What team were the bills playing where their first down was 23? | SELECT opponent FROM table_16677887_2 WHERE bills_first_downs = 23 |
CREATE TABLE table_16677887_2 (record VARCHAR, date VARCHAR) | What was the record for the game on Sept. 14? | SELECT record FROM table_16677887_2 WHERE date = "Sept. 14" |
CREATE TABLE table_16677738_1 (gore_hundred INTEGER, spelthorne_hundred VARCHAR) | When 12743 is the spelthorne what is the largest gore hundred? | SELECT MAX(gore_hundred) FROM table_16677738_1 WHERE spelthorne_hundred = 12743 |
CREATE TABLE table_16677738_1 (finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR) | When 1546 is inns of court and chancery what is the finsbury division? | SELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546 |
CREATE TABLE table_16677738_1 (year INTEGER) | What is the lowest overall year? | SELECT MIN(year) FROM table_16677738_1 |
CREATE TABLE table_16677738_1 (inns_of_court_and_chancery VARCHAR, without_the_walls VARCHAR) | When 70489 is without walls what is the inns of court and chancery? | SELECT inns_of_court_and_chancery FROM table_16677738_1 WHERE without_the_walls = 70489 |
CREATE TABLE table_16677738_1 (without_the_walls INTEGER, within_the_walls INTEGER) | When within the walls is larger than 56174.0 what is the lowest amount without the walls? | SELECT MIN(without_the_walls) FROM table_16677738_1 WHERE within_the_walls > 56174.0 |
CREATE TABLE table_16677738_1 (holborn_division INTEGER, tower_division VARCHAR) | When 272966 is the tower division what is the highest holborn division? | SELECT MAX(holborn_division) FROM table_16677738_1 WHERE tower_division = 272966 |
CREATE TABLE table_16684420_2 (stolen_ends_against INTEGER, country VARCHAR, Japan VARCHAR) | What is the maximum number of stolen ends against for Japan? | SELECT MAX(stolen_ends_against) FROM table_16684420_2 WHERE country = Japan |
CREATE TABLE table_16684420_2 (skip VARCHAR, stolen_ends_against VARCHAR) | Who was the skip when the stolen ends against was 13? | SELECT skip FROM table_16684420_2 WHERE stolen_ends_against = 13 |
CREATE TABLE table_1670921_1 (batting_partners VARCHAR, season VARCHAR) | Who are the batting partners for the 1997 season? | SELECT batting_partners FROM table_1670921_1 WHERE season = "1997" |
CREATE TABLE table_1670921_1 (season VARCHAR, wicket VARCHAR) | Which season reported wickets of 7th? | SELECT season FROM table_1670921_1 WHERE wicket = "7th" |
CREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR) | Which team is 9th in wickets? | SELECT fielding_team FROM table_1670921_1 WHERE wicket = "9th" |
CREATE TABLE table_1670921_1 (venue VARCHAR, batting_partners VARCHAR) | What is the venue for batting partners Mahela Jayawardene and Prasanna Jayawardene | SELECT venue FROM table_1670921_1 WHERE batting_partners = "Mahela Jayawardene and Prasanna Jayawardene" |
CREATE TABLE table_1670921_1 (batting_team VARCHAR, wicket VARCHAR) | How many teams are listed for 3rd wickets? | SELECT COUNT(batting_team) FROM table_1670921_1 WHERE wicket = "3rd" |
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, season VARCHAR) | How many total batting partners were most successful in the 2006 season? | SELECT COUNT(batting_partners) FROM table_1670921_2 WHERE season = "2006" |
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR) | What batting partners batted for pakistan? | SELECT batting_partners FROM table_1670921_2 WHERE batting_team = "Pakistan" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.