question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What is the barrel length for a cold model le6921sp? | CREATE TABLE "le_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "barrel_length" FROM "le_series_models" WHERE "colt_model_no"='LE6921SP'; | 1-12834315-5 |
Name the barrel length for rear sight a2 for factory compensator | CREATE TABLE "mt_and_cr_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "barrel_length" FROM "mt_and_cr_series_models" WHERE "rear_sight"='A2' AND "muzzle_device"='Factory compensator'; | 1-12834315-4 |
Name the barrel twist for colt model mt6400 | CREATE TABLE "mt_and_cr_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "barrel_twist" FROM "mt_and_cr_series_models" WHERE "colt_model_no"='MT6400'; | 1-12834315-4 |
Name the forward assist for a2 barrel profile | CREATE TABLE "mt_and_cr_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "forward_assist" FROM "mt_and_cr_series_models" WHERE "barrel_profile"='A2'; | 1-12834315-4 |
Name the stock for colt model mt6601 | CREATE TABLE "mt_and_cr_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "stock" FROM "mt_and_cr_series_models" WHERE "colt_model_no"='MT6601'; | 1-12834315-4 |
How many races is different distances does Rosehill Guineas compete in? | CREATE TABLE "1995_96_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
); | SELECT COUNT("distance") FROM "1995_96_season_as_a_three_year_old" WHERE "race"='Rosehill Guineas'; | 1-1284347-2 |
How many games ended up with 16 points? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "played" FROM "2008_2009_table" WHERE "points"='16'; | 1-12886178-4 |
What was the tries against count for the club whose tries for count was 29? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_against" FROM "2008_2009_table" WHERE "tries_for"='29'; | 1-12886178-4 |
How many points does Croesyceiliog RFC have? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points" FROM "2008_2009_table" WHERE "club"='Croesyceiliog RFC'; | 1-12886178-4 |
What's the points for count for the club with 41 points and 8 won games? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_for" FROM "2008_2009_table" WHERE "points"='41' AND "won"='8'; | 1-12886178-4 |
What's the points for count for the club with tries for count of 29? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_for" FROM "2008_2009_table" WHERE "tries_for"='29'; | 1-12886178-4 |
What's the try bonus count for the club whose tries against count is 83? | CREATE TABLE "2008_2009_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "try_bonus" FROM "2008_2009_table" WHERE "tries_against"='83'; | 1-12886178-4 |
Where is the real estate agent from? | CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT "hometown" FROM "candidates" WHERE "background"='Real Estate Agent'; | 1-1289860-2 |
What background does the person from New york, New york, have? | CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT "background" FROM "candidates" WHERE "hometown"='New York, New York'; | 1-1289860-2 |
How many backgrounds are there represented from Memphis, Tennessee? | CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT COUNT("background") FROM "candidates" WHERE "hometown"='Memphis, Tennessee'; | 1-1289860-2 |
How many people had a prosecutor background? | CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT COUNT("result") FROM "candidates" WHERE "background"='Prosecutor'; | 1-1289860-2 |
Where was Kristen Kirchner from? | CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
); | SELECT "hometown" FROM "candidates" WHERE "candidate"='Kristen Kirchner'; | 1-1289860-2 |
How many clubs have a tries against count of 41? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT COUNT("try_bonus") FROM "2007_2008_table" WHERE "tries_against"='41'; | 1-12886178-5 |
How many clubs have won 6 games? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT COUNT("club") FROM "2007_2008_table" WHERE "won"='6'; | 1-12886178-5 |
How many clubs have a tries against count of 45 and a losing bonus of 4? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT COUNT("tries_for") FROM "2007_2008_table" WHERE "tries_against"='45' AND "losing_bonus"='4'; | 1-12886178-5 |
What club has a tries for count of 19? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "club" FROM "2007_2008_table" WHERE "tries_for"='19'; | 1-12886178-5 |
How many clubs have tries for count of 50? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT COUNT("played") FROM "2007_2008_table" WHERE "tries_for"='50'; | 1-12886178-5 |
What's the number of drawn games for the club with a tries for count of 76? | CREATE TABLE "2007_2008_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "drawn" FROM "2007_2008_table" WHERE "tries_for"='76'; | 1-12886178-5 |
What is the against percentage in the Vest-Agder constituency? | CREATE TABLE "by_constituency" (
"constituency" text,
"electorate" real,
"s_spoilt_vote" real,
"total_poll_pct" text,
"for_pct" text,
"against_pct" text
); | SELECT "against_pct" FROM "by_constituency" WHERE "constituency"='Vest-Agder'; | 1-1289762-1 |
How many electorates are there with Hedmark as a constituency? | CREATE TABLE "by_constituency" (
"constituency" text,
"electorate" real,
"s_spoilt_vote" real,
"total_poll_pct" text,
"for_pct" text,
"against_pct" text
); | SELECT COUNT("electorate") FROM "by_constituency" WHERE "constituency"='Hedmark'; | 1-1289762-1 |
How many for percentages are there when the against percentage is 35,782 (69)? | CREATE TABLE "by_constituency" (
"constituency" text,
"electorate" real,
"s_spoilt_vote" real,
"total_poll_pct" text,
"for_pct" text,
"against_pct" text
); | SELECT "for_pct" FROM "by_constituency" WHERE "against_pct"='35,782 (69)'; | 1-1289762-1 |
List the smallest possible spoilt vote with the sør-trøndelag constituency. | CREATE TABLE "by_constituency" (
"constituency" text,
"electorate" real,
"s_spoilt_vote" real,
"total_poll_pct" text,
"for_pct" text,
"against_pct" text
); | SELECT MIN("s_spoilt_vote") FROM "by_constituency" WHERE "constituency"='Sør-Trøndelag'; | 1-1289762-1 |
List all total poll percentages when the for percentage is 59,532 (54). | CREATE TABLE "by_constituency" (
"constituency" text,
"electorate" real,
"s_spoilt_vote" real,
"total_poll_pct" text,
"for_pct" text,
"against_pct" text
); | SELECT "total_poll_pct" FROM "by_constituency" WHERE "for_pct"='59,532 (54)'; | 1-1289762-1 |
What's the writer of Episode 1? | CREATE TABLE "table1_12919003_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT "writer" FROM "table1_12919003_3" WHERE "episode"='Episode 1'; | 1-12919003-3 |
What's the total number of episodes both directed by Tom Hooper and viewed by 8.08 million viewers? | CREATE TABLE "table1_12919003_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT COUNT("num") FROM "table1_12919003_3" WHERE "director"='Tom Hooper' AND "viewers_millions"='8.08'; | 1-12919003-3 |
What's the original airdate of the episode directed by Pete Travis? | CREATE TABLE "table1_12919003_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT "original_airdate" FROM "table1_12919003_3" WHERE "director"='Pete Travis'; | 1-12919003-3 |
How many millions of viewers did watch Episode 5? | CREATE TABLE "table1_12919003_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT "viewers_millions" FROM "table1_12919003_3" WHERE "episode"='Episode 5'; | 1-12919003-3 |
What's the total number of directors whose episodes have been seen by 9.14 million viewers? | CREATE TABLE "table1_12919003_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT COUNT("director") FROM "table1_12919003_3" WHERE "viewers_millions"='9.14'; | 1-12919003-3 |
Who directed Episode 5? | CREATE TABLE "table1_12919003_2" (
"no" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT "director" FROM "table1_12919003_2" WHERE "episode"='Episode 5'; | 1-12919003-2 |
How many viewers did Episode 5 have? | CREATE TABLE "table1_12919003_2" (
"no" real,
"episode" text,
"writer" text,
"director" text,
"viewers_millions" text,
"original_airdate" text
); | SELECT "viewers_millions" FROM "table1_12919003_2" WHERE "episode"='Episode 5'; | 1-12919003-2 |
what's the no with current club being panathinaikos and position being forward | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("no") FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='Panathinaikos' AND "position"='Forward'; | 1-12962773-1 |
what's height with position being center and year born being bigger than 1980.0 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "position"='Center' AND "year_born">1980.0; | 1-12962773-1 |
what's player with position being forward and current club being real madrid | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "position"='Forward' AND "current_club"='Real Madrid'; | 1-12962773-1 |
what's current club with player being nikolaos chatzivrettas | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "player"='Nikolaos Chatzivrettas'; | 1-12962773-1 |
what's current club with height being 2.09 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "height"='2.09'; | 1-12962773-1 |
what's current club with position being center and no being bigger than 12.0 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "position"='Center' AND "no">12.0; | 1-12962773-1 |
What is the opponent of the veterans stadium | CREATE TABLE "schedule" (
"week" real,
"date" text,
"kickoff_et" text,
"tv" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text
); | SELECT "opponent" FROM "schedule" WHERE "game_site"='Veterans Stadium'; | 1-12944805-15 |
What year was the player born who is 2.02m tall? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT MAX("year_born") FROM "fiba_euro_basket_2007_squads" WHERE "height"='2.02'; | 1-12962773-14 |
What number does aleksandar ćapin wear? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT MAX("no") FROM "fiba_euro_basket_2007_squads" WHERE "player"='Aleksandar Ćapin'; | 1-12962773-14 |
Name the total number of grupo capitol valladolid | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("no") FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='Grupo Capitol Valladolid'; | 1-12962773-13 |
Name the height for the player born in 1980 and center? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "year_born"=1980 AND "position"='Center'; | 1-12962773-13 |
What is the total number that has a height of 2.06? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("no") FROM "fiba_euro_basket_2007_squads" WHERE "height"='2.06'; | 1-12962773-13 |
Name the current club for number 6 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "no"=6; | 1-12962773-13 |
Name the current club for player sacha giffa | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "player"='Sacha Giffa'; | 1-12962773-13 |
What is the minimum year born for strasbourg? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT MIN("year_born") FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='Strasbourg'; | 1-12962773-13 |
Which club had a player born in 1983? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "year_born"=1983; | 1-12962773-15 |
How tall is Marco Belinelli? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "player"='Marco Belinelli'; | 1-12962773-15 |
What number is Andrea Bargnani? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT MAX("no") FROM "fiba_euro_basket_2007_squads" WHERE "player"='Andrea Bargnani'; | 1-12962773-15 |
What player is number 6? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "player" FROM "fiba_euro_basket_2007_squads" WHERE "no"=6; | 1-12962773-15 |
How many clubs does number 6 play for? | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("current_club") FROM "fiba_euro_basket_2007_squads" WHERE "no"=6; | 1-12962773-15 |
how many player with no being 12 | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT COUNT("player") FROM "fiba_euro_basket_2007_squads" WHERE "no"=12; | 1-12962773-5 |
what's the height with position being forward and current club being real madrid | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "position"='Forward' AND "current_club"='Real Madrid'; | 1-12962773-5 |
what's the height with current club being dkv joventut | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "height" FROM "fiba_euro_basket_2007_squads" WHERE "current_club"='DKV Joventut'; | 1-12962773-5 |
what's the current club with player being felipe reyes | CREATE TABLE "fiba_euro_basket_2007_squads" (
"no" real,
"player" text,
"height" text,
"position" text,
"year_born" real,
"current_club" text
); | SELECT "current_club" FROM "fiba_euro_basket_2007_squads" WHERE "player"='Felipe Reyes'; | 1-12962773-5 |
Who directed the episode that had 6.04 million viewers? | CREATE TABLE "table1_12976038_1" (
"episode_num" real,
"series_num" real,
"title" text,
"director" text,
"writer" text,
"original_airdate" text,
"viewers_in_millions" text
); | SELECT "director" FROM "table1_12976038_1" WHERE "viewers_in_millions"='6.04'; | 1-12976038-1 |
What number episode had 5.74 million viewers? | CREATE TABLE "table1_12976038_1" (
"episode_num" real,
"series_num" real,
"title" text,
"director" text,
"writer" text,
"original_airdate" text,
"viewers_in_millions" text
); | SELECT "episode_num" FROM "table1_12976038_1" WHERE "viewers_in_millions"='5.74'; | 1-12976038-1 |
When did the construction of the unit Chinon B1 with net power of 905 MW start? | CREATE TABLE "reactors" (
"unit" text,
"type" text,
"net_power" text,
"total_power" text,
"construction_start" text,
"construction_finish" text,
"commercial_operation" text,
"shut_down" text
); | SELECT "construction_start" FROM "reactors" WHERE "net_power"='905 MW' AND "unit"='Chinon B1'; | 1-12983929-1 |
What's the total power of the unit whose construction finished on 14.06.1963? | CREATE TABLE "reactors" (
"unit" text,
"type" text,
"net_power" text,
"total_power" text,
"construction_start" text,
"construction_finish" text,
"commercial_operation" text,
"shut_down" text
); | SELECT "total_power" FROM "reactors" WHERE "construction_finish"='14.06.1963'; | 1-12983929-1 |
How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984? | CREATE TABLE "reactors" (
"unit" text,
"type" text,
"net_power" text,
"total_power" text,
"construction_start" text,
"construction_finish" text,
"commercial_operation" text,
"shut_down" text
); | SELECT COUNT("total_power") FROM "reactors" WHERE "construction_start"='01.03.1977' AND "commercial_operation"='01.02.1984'; | 1-12983929-1 |
What's the shut down state of the unit that's been in commercial operation since 01.02.1984? | CREATE TABLE "reactors" (
"unit" text,
"type" text,
"net_power" text,
"total_power" text,
"construction_start" text,
"construction_finish" text,
"commercial_operation" text,
"shut_down" text
); | SELECT "shut_down" FROM "reactors" WHERE "commercial_operation"='01.02.1984'; | 1-12983929-1 |
When was the start of the construction of the unit that's been in commercial operation since 04.03.1987? | CREATE TABLE "reactors" (
"unit" text,
"type" text,
"net_power" text,
"total_power" text,
"construction_start" text,
"construction_finish" text,
"commercial_operation" text,
"shut_down" text
); | SELECT "construction_start" FROM "reactors" WHERE "commercial_operation"='04.03.1987'; | 1-12983929-1 |
what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1? | CREATE TABLE "table1_12995531_3" (
"series_number" text,
"episode_number" real,
"date_of_first_broadcast" text,
"total_viewers" real,
"series_average" real
); | SELECT MIN("total_viewers") FROM "table1_12995531_3" WHERE "date_of_first_broadcast"='28 January 2010' AND "episode_number"=1; | 1-12995531-3 |
what is the episode number where the total viewers is 614000? | CREATE TABLE "table1_12995531_3" (
"series_number" text,
"episode_number" real,
"date_of_first_broadcast" text,
"total_viewers" real,
"series_average" real
); | SELECT MIN("episode_number") FROM "table1_12995531_3" WHERE "total_viewers"=614000; | 1-12995531-3 |
what is the series number where the date of first broadcast is 16 october 2008? | CREATE TABLE "table1_12995531_3" (
"series_number" text,
"episode_number" real,
"date_of_first_broadcast" text,
"total_viewers" real,
"series_average" real
); | SELECT "series_number" FROM "table1_12995531_3" WHERE "date_of_first_broadcast"='16 October 2008'; | 1-12995531-3 |
In what year did Easton LL Easton play in Maryland? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT COUNT("year") FROM "regional_championship" WHERE "maryland"='Easton LL Easton'; | 1-13012165-1 |
What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT "washington_d_c" FROM "regional_championship" WHERE "new_york"='Ramapo LL Ramapo'; | 1-13012165-1 |
Which year did Maryland hold the title with Railroaders LL Brunswick? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT "year" FROM "regional_championship" WHERE "maryland"='Railroaders LL Brunswick'; | 1-13012165-1 |
Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT "maryland" FROM "regional_championship" WHERE "new_jersey"='Somerset Hills LL Bernardsville'; | 1-13012165-1 |
After the year 2008.0, who played for Maryland the same year M.O.T. LL Middletown played in Delaware? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT "maryland" FROM "regional_championship" WHERE "delaware"='M.O.T. LL Middletown' AND "year">2008.0; | 1-13012165-1 |
Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania? | CREATE TABLE "regional_championship" (
"year" real,
"delaware" text,
"maryland" text,
"new_jersey" text,
"new_york" text,
"pennsylvania" text,
"washington_d_c" text
); | SELECT "maryland" FROM "regional_championship" WHERE "pennsylvania"='Deep Run Valley LL Hilltown'; | 1-13012165-1 |
Where is Bluetongue Stadium located? | CREATE TABLE "table1_1301373_1" (
"team" text,
"location" text,
"stadium" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "location" FROM "table1_1301373_1" WHERE "stadium"='Bluetongue Stadium'; | 1-1301373-1 |
When was the team, whose captain is Matt Smith, founded? | CREATE TABLE "table1_1301373_1" (
"team" text,
"location" text,
"stadium" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "founded" FROM "table1_1301373_1" WHERE "captain"='Matt Smith'; | 1-1301373-1 |
Who's the captain of the team whose head coach is Alistair Edwards? | CREATE TABLE "table1_1301373_1" (
"team" text,
"location" text,
"stadium" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "captain" FROM "table1_1301373_1" WHERE "head_coach"='Alistair Edwards'; | 1-1301373-1 |
How many locations does the team Newcastle Jets come from? | CREATE TABLE "table1_1301373_1" (
"team" text,
"location" text,
"stadium" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT COUNT("location") FROM "table1_1301373_1" WHERE "team"='Newcastle Jets'; | 1-1301373-1 |
Where is Westpac Stadium located? | CREATE TABLE "table1_1301373_1" (
"team" text,
"location" text,
"stadium" text,
"founded" real,
"joined" real,
"head_coach" text,
"captain" text
); | SELECT "location" FROM "table1_1301373_1" WHERE "stadium"='Westpac Stadium'; | 1-1301373-1 |
What is the new hampshire in 2009? | CREATE TABLE "regional_championship" (
"year" real,
"connecticut" text,
"maine" text,
"massachusetts" text,
"new_hampshire" text,
"rhode_island" text,
"vermont" text
); | SELECT "new_hampshire" FROM "regional_championship" WHERE "year"=2009; | 1-13011547-1 |
What is the most points when the won is 9? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT MAX("pts_for") FROM "national_league_one_table" WHERE "won"=9; | 1-13018116-1 |
What is the number of played when points against 645? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT COUNT("played") FROM "national_league_one_table" WHERE "pts_agst"=645; | 1-13018116-1 |
Name the most points for | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT MIN("pts_for") FROM "national_league_one_table"; | 1-13018116-1 |
Name the most points against when points for is 860 | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT MAX("pts_agst") FROM "national_league_one_table" WHERE "pts_for"=860; | 1-13018116-1 |
How many teams scored 616 points? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT COUNT("won") FROM "national_league_one_table" WHERE "pts_for"=616; | 1-13018091-1 |
How many teams drew the widnes vikings? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT COUNT("drawn") FROM "national_league_one_table" WHERE "club"='Widnes Vikings'; | 1-13018091-1 |
How many games did whitehaven win? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT MIN("won") FROM "national_league_one_table" WHERE "club"='Whitehaven'; | 1-13018091-1 |
What position did the sheffield eagles finish in? | CREATE TABLE "national_league_one_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"b_p" real,
"points" real
); | SELECT MAX("position") FROM "national_league_one_table" WHERE "club"='Sheffield Eagles'; | 1-13018091-1 |
What was the date of the game in week 14? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"=14; | 1-13023925-2 |
What is the total points for the tean with 8 losses? | CREATE TABLE "national_league_two_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"bonus_points" real,
"points" real
); | SELECT COUNT("points") FROM "national_league_two_table" WHERE "lost"=8; | 1-13015539-1 |
How many numbers are given for losses by the Keighley Cougars? | CREATE TABLE "national_league_two_table" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"pts_for" real,
"pts_agst" real,
"bonus_points" real,
"points" real
); | SELECT COUNT("lost") FROM "national_league_two_table" WHERE "club"='Keighley Cougars'; | 1-13015539-1 |
Name the captain for ben sigmund | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "captain" FROM "marquee_player" WHERE "vice_captain"='Ben Sigmund'; | 1-1301373-7 |
Name the international marquee for shane stefanutto | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "international_marquee" FROM "marquee_player" WHERE "vice_captain"='Shane Stefanutto'; | 1-1301373-7 |
Name the australian marquee for alessandro del piero | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "australian_marquee" FROM "marquee_player" WHERE "international_marquee"='Alessandro Del Piero'; | 1-1301373-7 |
Name the vice captain for melbourne victory | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "vice_captain" FROM "marquee_player" WHERE "club"='Melbourne Victory'; | 1-1301373-7 |
Name the number of australian marquee for travis dodd | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT COUNT("australian_marquee") FROM "marquee_player" WHERE "vice_captain"='Travis Dodd'; | 1-1301373-7 |
Name the captain for emile heskey | CREATE TABLE "marquee_player" (
"club" text,
"australian_marquee" text,
"international_marquee" text,
"junior_marquee_player" text,
"captain" text,
"vice_captain" text
); | SELECT "captain" FROM "marquee_player" WHERE "international_marquee"='Emile Heskey'; | 1-1301373-7 |
What championship had a margin of playoff 2? | CREATE TABLE "wins_18" (
"year" text,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "championship" FROM "wins_18" WHERE "margin"='Playoff 2'; | 1-13026799-1 |
What was the margin of the Masters Tournament? | CREATE TABLE "wins_18" (
"year" text,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "margin" FROM "wins_18" WHERE "championship"='Masters Tournament'; | 1-13026799-1 |
Subsets and Splits