question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Who was the winner when the score was 281 (-6)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "winner" FROM "tournament_results" WHERE "score"='281 (-6)'; | 1-11621799-1 |
How many scores were at the Northville Long Island Classic? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("score") FROM "tournament_results" WHERE "tournament"='Northville Long Island Classic'; | 1-11621873-1 |
what's the tournament where winner is raymond floyd (1) | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "tournament" FROM "tournament_results" WHERE "winner"='Raymond Floyd (1)'; | 1-11622255-1 |
what is the total number of purse( $ ) where winner is jimmy powell (2) | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("purse") FROM "tournament_results" WHERE "winner"='Jimmy Powell (2)'; | 1-11622255-1 |
what's the date where location is illinois | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "date" FROM "tournament_results" WHERE "location"='Illinois'; | 1-11622255-1 |
what is the minimum purse( $ ) where tournament is ko olina senior invitational | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT MIN("purse") FROM "tournament_results" WHERE "tournament"='Ko Olina Senior Invitational'; | 1-11622255-1 |
what's the location where tournament is raley's senior gold rush | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "location" FROM "tournament_results" WHERE "tournament"='Raley''s Senior Gold Rush'; | 1-11622255-1 |
what is the maximum 1st prize( $ ) where score is 193 (-17) | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT MAX("1st_prize") FROM "tournament_results" WHERE "score"='193 (-17)'; | 1-11622255-1 |
How much was the prize money for the 275000 purse? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" text
); | SELECT "1st_prize" FROM "tournament_results" WHERE "purse"=275000; | 1-11622496-1 |
What is the prize money for Virginia? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" text
); | SELECT "1st_prize" FROM "tournament_results" WHERE "location"='Virginia'; | 1-11622496-1 |
How many tournaments ended with a score of 204 (-12)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("tournament") FROM "tournament_results" WHERE "score"='204 (-12)'; | 1-11622562-1 |
What's the winner of the Painewebber Invitational tournament? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "winner" FROM "tournament_results" WHERE "tournament"='PaineWebber Invitational'; | 1-11622562-1 |
Where was the GTE Suncoast Classic tournament held? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "location" FROM "tournament_results" WHERE "tournament"='GTE Suncoast Classic'; | 1-11622562-1 |
What was the minimal amount ($) of the 1st prize in the tournaments in New Mexico? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT MIN("1st_prize") FROM "tournament_results" WHERE "location"='New Mexico'; | 1-11622562-1 |
What are all the dates with a score of 203 (-13)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "date" FROM "tournament_results" WHERE "score"='203 (-13)'; | 1-11622829-1 |
For which tournaments was the score 135 (-7)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "tournament" FROM "tournament_results" WHERE "score"='135 (-7)'; | 1-11622829-1 |
Which tournaments have a first prize of $40000 | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "tournament" FROM "tournament_results" WHERE "1st_prize"=40000; | 1-11622829-1 |
How many locations logged a score of 206 (-7)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("location") FROM "tournament_results" WHERE "score"='206 (-7)'; | 1-11622840-1 |
How many tournaments recorded a score of 206 (-7)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("tournament") FROM "tournament_results" WHERE "score"='206 (-7)'; | 1-11622840-1 |
Name all the tournaments that took place in Rhode Island. | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "tournament" FROM "tournament_results" WHERE "location"='Rhode Island'; | 1-11622840-1 |
What is the state that hosted a tournament with the score of 208 (-8)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "location" FROM "tournament_results" WHERE "score"='208 (-8)'; | 1-11622840-1 |
Where was the Fairfield Barnett classic tournament held? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "location" FROM "tournament_results" WHERE "tournament"='Fairfield Barnett Classic'; | 1-11622771-1 |
How many purses were there for the mar 16? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT COUNT("purse") FROM "tournament_results" WHERE "date"='Mar 16'; | 1-11622771-1 |
When did the series number 23 air? | CREATE TABLE "season_1_2007" (
"series_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "season_1_2007" WHERE "series_no"=23; | 1-11630008-3 |
What is the production code of "surprise, surprise"? | CREATE TABLE "season_1_2007" (
"series_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MAX("production_code") FROM "season_1_2007" WHERE "title"='\"Surprise, Surprise\"'; | 1-11630008-3 |
What was the airdate of 21 series number? | CREATE TABLE "season_1_2007" (
"series_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "original_air_date" FROM "season_1_2007" WHERE "series_no"=21; | 1-11630008-3 |
Which located featured the first prize of 33500? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "location" FROM "tournament_results" WHERE "1st_prize"=33500; | 1-11622862-1 |
Who won the Suntree Seniors Classic? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "winner" FROM "tournament_results" WHERE "tournament"='Suntree Seniors Classic'; | 1-11622924-1 |
How much was the prize in the tournament where the winning score was 289 (9)? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "purse" FROM "tournament_results" WHERE "score"='289 (9)'; | 1-11622924-1 |
When was the tournament that was won with a score of 204 (-6) played? | CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"purse" real,
"winner" text,
"score" text,
"1st_prize" real
); | SELECT "date" FROM "tournament_results" WHERE "score"='204 (-6)'; | 1-11622924-1 |
Who wrote "Stop Being all Funky"? | CREATE TABLE "table1_11630008_5" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "table1_11630008_5" WHERE "title"='\"Stop Being All Funky\"'; | 1-11630008-5 |
What was the season number for the episode with the series number 61? | CREATE TABLE "table1_11630008_5" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MAX("season_num") FROM "table1_11630008_5" WHERE "series_num"=61; | 1-11630008-5 |
What was the title of the episode with the production code 311? | CREATE TABLE "table1_11630008_5" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "title" FROM "table1_11630008_5" WHERE "production_code"=311; | 1-11630008-5 |
Who directed the episode written by Lamont Ferrell? | CREATE TABLE "table1_11630008_5" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "directed_by" FROM "table1_11630008_5" WHERE "written_by"='Lamont Ferrell'; | 1-11630008-5 |
What date was the result 6–2, 4–6, 6–4? | CREATE TABLE "doubles_7" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"w_l" text,
"result" text
); | SELECT "date" FROM "doubles_7" WHERE "result"='6–2, 4–6, 6–4'; | 1-11636213-7 |
How many matches had the result of 6–3, 6–2? | CREATE TABLE "doubles_7" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"w_l" text,
"result" text
); | SELECT COUNT("partnering") FROM "doubles_7" WHERE "result"='6–3, 6–2'; | 1-11636213-7 |
If the Original Air Date is 10January2008, what directors released on that date? | CREATE TABLE "table1_11642945_1" (
"total_no" real,
"celebrity" text,
"director" text,
"original_air_date" text,
"viewers" text
); | SELECT "director" FROM "table1_11642945_1" WHERE "original_air_date"='10January2008'; | 1-11642945-1 |
The original air date of 29November2007 has what total no.? | CREATE TABLE "table1_11642945_1" (
"total_no" real,
"celebrity" text,
"director" text,
"original_air_date" text,
"viewers" text
); | SELECT "total_no" FROM "table1_11642945_1" WHERE "original_air_date"='29November2007'; | 1-11642945-1 |
Margot Kidder had what director? | CREATE TABLE "table1_11642945_1" (
"total_no" real,
"celebrity" text,
"director" text,
"original_air_date" text,
"viewers" text
); | SELECT "director" FROM "table1_11642945_1" WHERE "celebrity"='Margot Kidder'; | 1-11642945-1 |
How many celebrities had an 18October2007 Original air Date? | CREATE TABLE "table1_11642945_1" (
"total_no" real,
"celebrity" text,
"director" text,
"original_air_date" text,
"viewers" text
); | SELECT COUNT("celebrity") FROM "table1_11642945_1" WHERE "original_air_date"='18October2007'; | 1-11642945-1 |
Which viewers had Matt Gallagher as the director? | CREATE TABLE "table1_11642945_1" (
"total_no" real,
"celebrity" text,
"director" text,
"original_air_date" text,
"viewers" text
); | SELECT "viewers" FROM "table1_11642945_1" WHERE "director"='Matt Gallagher'; | 1-11642945-1 |
What is the number of series of the title of "your wife's a payne"? | CREATE TABLE "season_5_2008_09" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT MAX("series_num") FROM "season_5_2008_09" WHERE "title"='\"Your Wife''s a Payne\"'; | 1-11630008-7 |
Who write "a grand payne"? | CREATE TABLE "season_5_2008_09" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "written_by" FROM "season_5_2008_09" WHERE "title"='\"A Grand Payne\"'; | 1-11630008-7 |
What is the number of series with a title of "with friends like these"? | CREATE TABLE "season_5_2008_09" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT COUNT("series_num") FROM "season_5_2008_09" WHERE "title"='\"With Friends Like These\"'; | 1-11630008-7 |
What is the number of series with production code 503? | CREATE TABLE "season_5_2008_09" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT COUNT("series_num") FROM "season_5_2008_09" WHERE "production_code"=503; | 1-11630008-7 |
What is the title of production code 514? | CREATE TABLE "season_5_2008_09" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
); | SELECT "title" FROM "season_5_2008_09" WHERE "production_code"=514; | 1-11630008-7 |
What is the location of the institution barton college | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text,
"nickname" text
); | SELECT "location" FROM "current_members" WHERE "institution"='Barton College'; | 1-11658094-1 |
Which institutions joined in 1993 | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text,
"nickname" text
); | SELECT "institution" FROM "current_members" WHERE "joined"='1993'; | 1-11658094-1 |
what are the locations that joined in 2008 | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text,
"nickname" text
); | SELECT "location" FROM "current_members" WHERE "joined"='2008'; | 1-11658094-1 |
What is the minimum enrollment at barton college | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text,
"nickname" text
); | SELECT MIN("enrollment") FROM "current_members" WHERE "institution"='Barton College'; | 1-11658094-1 |
When was erskine college founded | CREATE TABLE "current_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" text,
"nickname" text
); | SELECT "founded" FROM "current_members" WHERE "institution"='Erskine College'; | 1-11658094-1 |
What is ithe range for married filing separately where head of household is $117,451–$190,200? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT "married_filing_separately" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "head_of_household"='$117,451–$190,200'; | 1-11647327-2 |
What is the amount of marginal ordinary income tax rate for single in which the range is $8,351– $33,950? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT COUNT("marginal_ordinary_income_tax_rate") FROM "regular_and_capital_gains_tax_rates_for_" WHERE "single"='$8,351– $33,950'; | 1-11647327-2 |
What is the range for married filing separately in which the head of household is $117,451–$190,200? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT "married_filing_separately" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "head_of_household"='$117,451–$190,200'; | 1-11647327-2 |
What is the range of married filing jointly or qualified widower in which married filing separately is $33,951–$68,525? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT "married_filing_jointly_or_qualified_widow_er" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "married_filing_separately"='$33,951–$68,525'; | 1-11647327-2 |
What is the range of the head of household whereas single is $171,551–$372,950? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT "head_of_household" FROM "regular_and_capital_gains_tax_rates_for_" WHERE "single"='$171,551–$372,950'; | 1-11647327-2 |
What is the amoun of marginal ordinary income tax rate where married filing jointly or qualified widow is $208,851–$372,950? | CREATE TABLE "regular_and_capital_gains_tax_rates_for_" (
"marginal_ordinary_income_tax_rate" text,
"single" text,
"married_filing_jointly_or_qualified_widow_er" text,
"married_filing_separately" text,
"head_of_household" text
); | SELECT COUNT("marginal_ordinary_income_tax_rate") FROM "regular_and_capital_gains_tax_rates_for_" WHERE "married_filing_jointly_or_qualified_widow_er"='$208,851–$372,950'; | 1-11647327-2 |
who is the coach where dudley tuckey medal is ben howlett | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT "coach" FROM "honour_board" WHERE "dudley_tuckey_medal"='Ben Howlett'; | 1-1165048-1 |
what is the total number of coach where captain is grant welsh and win/loss is 5-15 | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT COUNT("coach") FROM "honour_board" WHERE "captain"='Grant Welsh' AND "win_loss"='5-15'; | 1-1165048-1 |
who is the dudley tuckey medal where leading goalkicker is scott simister (46) | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT "dudley_tuckey_medal" FROM "honour_board" WHERE "leading_goalkicker"='Scott Simister (46)'; | 1-1165048-1 |
what is the maximum season where leading goalkicker is scott simister (54) | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT MAX("season") FROM "honour_board" WHERE "leading_goalkicker"='Scott Simister (54)'; | 1-1165048-1 |
what are all the win/loss where season is 2009 | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT "win_loss" FROM "honour_board" WHERE "season"=2009; | 1-1165048-1 |
who is the captain where coach is geoff miles | CREATE TABLE "honour_board" (
"season" real,
"position" real,
"win_loss" text,
"coach" text,
"captain" text,
"dudley_tuckey_medal" text,
"leading_goalkicker" text
); | SELECT "captain" FROM "honour_board" WHERE "coach"='Geoff Miles'; | 1-1165048-1 |
In 2005-06 what was the disaster? | CREATE TABLE "disaster_relief" (
"disaster" text,
"year" text,
"countries_affected" text,
"scale_of_disaster" text,
"people_assisted" text,
"nature_of_help" text
); | SELECT "disaster" FROM "disaster_relief" WHERE "year"='2005-06'; | 1-11649123-1 |
What was the scale of disaster in Peru? | CREATE TABLE "disaster_relief" (
"disaster" text,
"year" text,
"countries_affected" text,
"scale_of_disaster" text,
"people_assisted" text,
"nature_of_help" text
); | SELECT "scale_of_disaster" FROM "disaster_relief" WHERE "countries_affected"='Peru'; | 1-11649123-1 |
What's the area of the voivodenship with 51 communes? | CREATE TABLE "polish_voivodeships_and_separate_cities_" (
"abbreviation" text,
"voivodeship" text,
"capital" text,
"area_km_1998" text,
"population_1980" text,
"no_of_cities" real,
"no_of_communes" real
); | SELECT "area_km_1998" FROM "polish_voivodeships_and_separate_cities_" WHERE "no_of_communes"=51; | 1-11656578-2 |
How big (in km2) is the voivodenship also known by the abbreviation KN? | CREATE TABLE "polish_voivodeships_and_separate_cities_" (
"abbreviation" text,
"voivodeship" text,
"capital" text,
"area_km_1998" text,
"population_1980" text,
"no_of_cities" real,
"no_of_communes" real
); | SELECT "area_km_1998" FROM "polish_voivodeships_and_separate_cities_" WHERE "abbreviation"='kn'; | 1-11656578-2 |
How many people lived in the voivodenship whose capital is Siedlce in the year of 1980? | CREATE TABLE "polish_voivodeships_and_separate_cities_" (
"abbreviation" text,
"voivodeship" text,
"capital" text,
"area_km_1998" text,
"population_1980" text,
"no_of_cities" real,
"no_of_communes" real
); | SELECT "population_1980" FROM "polish_voivodeships_and_separate_cities_" WHERE "capital"='Siedlce'; | 1-11656578-2 |
How many different voivodenship have 747 900 citizes? | CREATE TABLE "polish_voivodeships_and_separate_cities_" (
"abbreviation" text,
"voivodeship" text,
"capital" text,
"area_km_1998" text,
"population_1980" text,
"no_of_cities" real,
"no_of_communes" real
); | SELECT COUNT("voivodeship") FROM "polish_voivodeships_and_separate_cities_" WHERE "population_1980"='747 900'; | 1-11656578-2 |
What year did longwood university leave the conference? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT MIN("left") FROM "former_members" WHERE "institution"='Longwood University'; | 1-11658094-3 |
What year did a school leave that was founded in 1880? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT "left" FROM "former_members" WHERE "founded"=1880; | 1-11658094-3 |
What is the nickname of the school with an enrollment of 2386? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT "nickname" FROM "former_members" WHERE "enrollment"=2386; | 1-11658094-3 |
What year did the school from mars hill, north carolina join? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT "joined" FROM "former_members" WHERE "location"='Mars Hill, North Carolina'; | 1-11658094-3 |
How many times did anderson university leave? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT COUNT("left") FROM "former_members" WHERE "institution"='Anderson University'; | 1-11658094-3 |
What is the nickname of the newberry college? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname" text,
"joined" real,
"left" real,
"current_conference" text
); | SELECT "nickname" FROM "former_members" WHERE "institution"='Newberry College'; | 1-11658094-3 |
What was the gross tonnage of the ship that ended service in 1866? | CREATE TABLE "ships_of_the_great_eastern_railway" (
"ships_name" text,
"entered_service" text,
"ended_service" text,
"gross_tonnage" real,
"type_of_vessel" text
); | SELECT "gross_tonnage" FROM "ships_of_the_great_eastern_railway" WHERE "ended_service"='1866'; | 1-11662133-1 |
What is the minimum gross tonnage of the Munich? | CREATE TABLE "ships_of_the_great_eastern_railway" (
"ships_name" text,
"entered_service" text,
"ended_service" text,
"gross_tonnage" real,
"type_of_vessel" text
); | SELECT MIN("gross_tonnage") FROM "ships_of_the_great_eastern_railway" WHERE "ships_name"='Munich'; | 1-11662133-1 |
What is the air date for the episode written by Wendy Battles and directed by Oz Scott | CREATE TABLE "table1_11665016_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_11665016_2" WHERE "written_by"='Wendy Battles' AND "directed_by"='Oz Scott'; | 1-11665016-2 |
How many US viewers (millions) were there for "cold reveal" | CREATE TABLE "table1_11665016_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_11665016_2" WHERE "title"='\"Cold Reveal\"'; | 1-11665016-2 |
Which episode was written by anthony e. zuiker & ken solarz | CREATE TABLE "table1_11665016_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_11665016_2" WHERE "written_by"='Anthony E. Zuiker & Ken Solarz'; | 1-11665016-2 |
Which episode was directed by steven depaul | CREATE TABLE "table1_11665016_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_11665016_2" WHERE "directed_by"='Steven DePaul'; | 1-11665016-2 |
What where the tms numbers built in 1923 | CREATE TABLE "locomotives_and_rolling_stock" (
"number" text,
"tms_number" text,
"builder" text,
"year_built" real,
"carriage_type" text
); | SELECT "tms_number" FROM "locomotives_and_rolling_stock" WHERE "year_built"=1923; | 1-1166023-1 |
What year was the carriage type is 47' 6" 'birdcage' gallery coach built | CREATE TABLE "locomotives_and_rolling_stock" (
"number" text,
"tms_number" text,
"builder" text,
"year_built" real,
"carriage_type" text
); | SELECT "year_built" FROM "locomotives_and_rolling_stock" WHERE "carriage_type"='47'' 6\" ''Birdcage'' gallery coach'; | 1-1166023-1 |
What tms were built nzr addington in the year 1913 | CREATE TABLE "locomotives_and_rolling_stock" (
"number" text,
"tms_number" text,
"builder" text,
"year_built" real,
"carriage_type" text
); | SELECT "tms_number" FROM "locomotives_and_rolling_stock" WHERE "builder"='NZR Addington' AND "year_built"=1913; | 1-1166023-1 |
what's the date entered service with ships name koningin wilhelmina | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT "date_entered_service" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "ships_name"='Koningin Wilhelmina'; | 1-11662133-3 |
what's the date where ships name is zeeland entered service | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT "date_entered_service" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "ships_name"='Zeeland'; | 1-11662133-3 |
what is the maximum tonnage where date entered service is 25 march 1986 | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT MAX("tonnage") FROM "ships_operated_by_zeeland_steamship_comp" WHERE "date_entered_service"='25 March 1986'; | 1-11662133-3 |
what are all the date withdrawn for service entered on 21 november 1945 | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT "date_withdrawn" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "date_entered_service"='21 November 1945'; | 1-11662133-3 |
what are all the date withdrawn for twin screw ro-ro motorship | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT "date_withdrawn" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "type_of_ship"='Twin Screw Ro-Ro Motorship'; | 1-11662133-3 |
what are all the date withdrawn for koningin beatrix | CREATE TABLE "ships_operated_by_zeeland_steamship_comp" (
"ships_name" text,
"date_entered_service" text,
"date_withdrawn" text,
"tonnage" real,
"type_of_ship" text
); | SELECT "date_withdrawn" FROM "ships_operated_by_zeeland_steamship_comp" WHERE "ships_name"='Koningin Beatrix'; | 1-11662133-3 |
Where is the first season that Anthony Hemingway appears? | CREATE TABLE "table1_11664625_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_season") FROM "table1_11664625_2" WHERE "directed_by"='Anthony Hemingway'; | 1-11664625-2 |
What is the original air date of season 18? | CREATE TABLE "table1_11664625_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_11664625_2" WHERE "no_in_season"=18; | 1-11664625-2 |
When is the first season there were 14.57 million U.S viewers? | CREATE TABLE "table1_11664625_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_season") FROM "table1_11664625_2" WHERE "u_s_viewers_millions"='14.57'; | 1-11664625-2 |
How many champions were there in 2009? | CREATE TABLE "table1_1167698_1" (
"season" text,
"champion" text,
"runner_up" text,
"third_place" text,
"top_scorer" text
); | SELECT COUNT("champion") FROM "table1_1167698_1" WHERE "season"='2009'; | 1-1167698-1 |
Who won third place with the runner up being dynamo moscow? | CREATE TABLE "table1_1167698_1" (
"season" text,
"champion" text,
"runner_up" text,
"third_place" text,
"top_scorer" text
); | SELECT "third_place" FROM "table1_1167698_1" WHERE "runner_up"='Dynamo Moscow'; | 1-1167698-1 |
What position does Matt Hobgood play? | CREATE TABLE "table1_11677100_15" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT "position" FROM "table1_11677100_15" WHERE "player"='Matt Hobgood'; | 1-11677100-15 |
How many players were from high point, nc? | CREATE TABLE "table1_11677100_15" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT COUNT("mlb_draft") FROM "table1_11677100_15" WHERE "hometown"='High Point, NC'; | 1-11677100-15 |
What high school did Jeff Malm attend? | CREATE TABLE "table1_11677100_15" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT "school" FROM "table1_11677100_15" WHERE "player"='Jeff Malm'; | 1-11677100-15 |
How many hometowns does the catcher have? | CREATE TABLE "table1_11677100_15" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT COUNT("hometown") FROM "table1_11677100_15" WHERE "position"='Catcher'; | 1-11677100-15 |
Who was drafted from the school Mountain Pointe High School? | CREATE TABLE "table1_11677100_16" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
); | SELECT "mlb_draft" FROM "table1_11677100_16" WHERE "school"='Mountain Pointe High School'; | 1-11677100-16 |
Subsets and Splits