question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
|---|---|---|---|
Name the date of vacancy for 29 december 2008 being date of appointment
|
CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
);
|
SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='29 December 2008';
|
1-18522916-5
|
When 1008/1009 is the production code how many directors are there?
|
CREATE TABLE "table1_1854728_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"air_date" text,
"production_code" text
);
|
SELECT COUNT("directed_by") FROM "table1_1854728_2" WHERE "production_code"='1008/1009';
|
1-1854728-2
|
When arthur heinemann is the writer who is the director?
|
CREATE TABLE "table1_1854728_2" (
"no_in_series" text,
"title" text,
"directed_by" text,
"written_by" text,
"air_date" text,
"production_code" text
);
|
SELECT "directed_by" FROM "table1_1854728_2" WHERE "written_by"='Arthur Heinemann';
|
1-1854728-2
|
Name the running with for elizabeth falco
|
CREATE TABLE "table1_1855841_1" (
"candidate" text,
"office_running_for" text,
"running_with_in_team" text,
"won_or_lost" text,
"votes_given" text
);
|
SELECT "running_with_in_team" FROM "table1_1855841_1" WHERE "candidate"='Elizabeth Falco';
|
1-1855841-1
|
Name the officing running for for carol marsh
|
CREATE TABLE "table1_1855841_1" (
"candidate" text,
"office_running_for" text,
"running_with_in_team" text,
"won_or_lost" text,
"votes_given" text
);
|
SELECT "office_running_for" FROM "table1_1855841_1" WHERE "candidate"='Carol Marsh';
|
1-1855841-1
|
Name the office running for for anthony mussara
|
CREATE TABLE "table1_1855841_1" (
"candidate" text,
"office_running_for" text,
"running_with_in_team" text,
"won_or_lost" text,
"votes_given" text
);
|
SELECT "office_running_for" FROM "table1_1855841_1" WHERE "candidate"='Anthony Mussara';
|
1-1855841-1
|
Name the votes given for michael russo, genevy dimitrion , manny ortega
|
CREATE TABLE "table1_1855841_1" (
"candidate" text,
"office_running_for" text,
"running_with_in_team" text,
"won_or_lost" text,
"votes_given" text
);
|
SELECT "votes_given" FROM "table1_1855841_1" WHERE "running_with_in_team"='Michael Russo, Genevy Dimitrion , Manny Ortega';
|
1-1855841-1
|
What was the loa when the corrected time was 2:12:36:23?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "loa_metres" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='2:12:36:23';
|
1-1858574-3
|
Qhat was the position of sail 6606?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "position" FROM "handicap_results_top_10" WHERE "sail_number"='6606';
|
1-1858574-3
|
On what yacht was the sail number aus70?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "yacht" FROM "handicap_results_top_10" WHERE "sail_number"='AUS70';
|
1-1858574-3
|
What was the corrected time of sail number aus70?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "corrected_time_d_hh_mm_ss" FROM "handicap_results_top_10" WHERE "sail_number"='AUS70';
|
1-1858574-3
|
Who was the skipper for the vessel with a corrected time of 2:18:31:49?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "skipper" FROM "handicap_results_top_10" WHERE "corrected_time_d_hh_mm_ss"='2:18:31:49';
|
1-1858574-3
|
Who was the skipper on a Nelson Marek 43?
|
CREATE TABLE "handicap_results_top_10" (
"position" real,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"corrected_time_d_hh_mm_ss" text
);
|
SELECT "skipper" FROM "handicap_results_top_10" WHERE "yacht_type"='Nelson Marek 43';
|
1-1858574-3
|
How many titles were released on 21 October 1992?
|
CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
"rank" real,
"title" text,
"release_date" text,
"franchise" text,
"developer_s" text,
"platform" text,
"units_sold_in_millions" text
);
|
SELECT COUNT("rank") FROM "best_selling_video_games_of_the_1990s_sa" WHERE "release_date"='21 October 1992';
|
1-18590048-1
|
What rank is Super Mario Land 2: 6 Golden Coins?
|
CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
"rank" real,
"title" text,
"release_date" text,
"franchise" text,
"developer_s" text,
"platform" text,
"units_sold_in_millions" text
);
|
SELECT MIN("rank") FROM "best_selling_video_games_of_the_1990s_sa" WHERE "title"='Super Mario Land 2: 6 Golden Coins';
|
1-18590048-1
|
What platform sold 11.18 million units?
|
CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
"rank" real,
"title" text,
"release_date" text,
"franchise" text,
"developer_s" text,
"platform" text,
"units_sold_in_millions" text
);
|
SELECT "platform" FROM "best_selling_video_games_of_the_1990s_sa" WHERE "units_sold_in_millions"='11.18';
|
1-18590048-1
|
What day did the platform sell 9.87 million units?
|
CREATE TABLE "best_selling_video_games_of_the_1990s_sa" (
"rank" real,
"title" text,
"release_date" text,
"franchise" text,
"developer_s" text,
"platform" text,
"units_sold_in_millions" text
);
|
SELECT "release_date" FROM "best_selling_video_games_of_the_1990s_sa" WHERE "units_sold_in_millions"='9.87';
|
1-18590048-1
|
If new entries this round is 65, what is the round?
|
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
|
SELECT COUNT("round") FROM "team_distribution" WHERE "new_entries_this_round"='65';
|
1-1859269-1
|
If leagues entering this round is Süper Lig, what is the maximum amount of clubs remaining?
|
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
|
SELECT MAX("clubs_remaining") FROM "team_distribution" WHERE "leagues_entering_at_this_round"='Süper Lig';
|
1-1859269-1
|
If the winners from the previous round is 8, what is the round?
|
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
|
SELECT "round" FROM "team_distribution" WHERE "winners_from_previous_round"='8';
|
1-1859269-1
|
If the round is the semi-finals, what are the new entries this round?
|
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
|
SELECT "new_entries_this_round" FROM "team_distribution" WHERE "round"='Semi-finals';
|
1-1859269-1
|
How many losses for the team atl. colegiales?
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MAX("losses") FROM "torneo_clausura" WHERE "team"='Atl. Colegiales';
|
1-18594107-2
|
How many points when the score is 14?
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MIN("points") FROM "torneo_clausura" WHERE "scored"=14;
|
1-18594107-2
|
How many draws are there when the score is 13?
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MAX("draws") FROM "torneo_clausura" WHERE "scored"=13;
|
1-18594107-2
|
How many wins have conceded as 18?
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MAX("wins") FROM "torneo_clausura" WHERE "conceded"=18;
|
1-18594107-2
|
How many draws occurred when 25 points were scored?
|
CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT COUNT("draws") FROM "torneo_apertura" WHERE "scored"=25;
|
1-18594107-1
|
What is the least number of poins for San Lorenzo?
|
CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MIN("points") FROM "torneo_apertura" WHERE "team"='San Lorenzo';
|
1-18594107-1
|
How many draws does 12 de Octubre have?
|
CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT "draws" FROM "torneo_apertura" WHERE "team"='12 de Octubre';
|
1-18594107-1
|
What is Inaba's maximum score?
|
CREATE TABLE "table1_18595004_7" (
"week_num" real,
"dance_song" text,
"inaba" real,
"goodman" real,
"tonioli" real,
"result" text
);
|
SELECT MAX("inaba") FROM "table1_18595004_7";
|
1-18595004-7
|
How many sets of marks does Tonioli get in week 3?
|
CREATE TABLE "table1_18595004_7" (
"week_num" real,
"dance_song" text,
"inaba" real,
"goodman" real,
"tonioli" real,
"result" text
);
|
SELECT COUNT("tonioli") FROM "table1_18595004_7" WHERE "week_num"=3;
|
1-18595004-7
|
When columbia, south carolina is the hometown what is the lowest age?
|
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
|
SELECT MIN("age") FROM "candidates" WHERE "hometown"='Columbia, South Carolina';
|
1-1859855-2
|
When austin, texas is the hometown what is the lowest age?
|
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
|
SELECT MIN("age") FROM "candidates" WHERE "hometown"='Austin, Texas';
|
1-1859855-2
|
When stacy schneider is the candidate what are the results?
|
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
|
SELECT "result" FROM "candidates" WHERE "candidate"='Stacy Schneider';
|
1-1859855-2
|
Which township is 35.766 sqmi?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "o" WHERE "land_sqmi"='35.766';
|
1-18600760-15
|
What county is the township of Osborn in?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "county" FROM "o" WHERE "township"='Osborn';
|
1-18600760-15
|
What is the longitude with a latitude of 47.985154?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "longitude" FROM "o" WHERE "latitude"='47.985154';
|
1-18600760-15
|
How many square miles of water is in Ramsey County with a geo id larger than 3807159460.0?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "water_sqmi" FROM "o" WHERE "county"='Ramsey' AND "geo_id">3807159460.0;
|
1-18600760-15
|
how many latitudes have 0.081 (sqmi) of water?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("latitude") FROM "o" WHERE "water_sqmi"='0.081';
|
1-18600760-15
|
what is the lowest geo id?
|
CREATE TABLE "o" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MIN("geo_id") FROM "o";
|
1-18600760-15
|
What is the geo ID for the township with 0.771 square miles of water?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("geo_id") FROM "j" WHERE "water_sqmi"='0.771';
|
1-18600760-10
|
What is the geo id for Logan county?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("geo_id") FROM "j" WHERE "county"='Logan';
|
1-18600760-10
|
How big is the land in square miles of Grand Forks county?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "land_sqmi" FROM "j" WHERE "county"='Grand Forks';
|
1-18600760-10
|
What is the geo id for Joliette?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("geo_id") FROM "j" WHERE "township"='Joliette';
|
1-18600760-10
|
What was the lattitude for the area with 4.243 square miles of water?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "latitude" FROM "j" WHERE "water_sqmi"='4.243';
|
1-18600760-10
|
What township is 28.597 square miles of land?
|
CREATE TABLE "j" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "j" WHERE "land_sqmi"='28.597';
|
1-18600760-10
|
Which township has a longitude of -98.741656?
|
CREATE TABLE "l" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "l" WHERE "longitude"='-98.741656';
|
1-18600760-12
|
What is the land (sqmi) in lansing township?
|
CREATE TABLE "l" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "land_sqmi" FROM "l" WHERE "township"='Lansing';
|
1-18600760-12
|
What is the geo id when water is 0.457?
|
CREATE TABLE "l" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MIN("geo_id") FROM "l" WHERE "water_sqmi"='0.457';
|
1-18600760-12
|
What is the geo id of the land at 35.999?
|
CREATE TABLE "l" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("geo_id") FROM "l" WHERE "land_sqmi"='35.999';
|
1-18600760-12
|
What is the land (sqmi) at geo id 3801947380?
|
CREATE TABLE "l" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "land_sqmi" FROM "l" WHERE "geo_id"=3801947380;
|
1-18600760-12
|
What is the population associated with latitude 48.676125?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("pop_2010") FROM "m" WHERE "latitude"='48.676125';
|
1-18600760-13
|
How many places associated with latitude 48.247662?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("ansi_code") FROM "m" WHERE "latitude"='48.247662';
|
1-18600760-13
|
What longitudes associated with a water (sqmi) area of 0.068?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "longitude" FROM "m" WHERE "water_sqmi"='0.068';
|
1-18600760-13
|
What is the smallest ansi code?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MIN("ansi_code") FROM "m";
|
1-18600760-13
|
What county is associated with ansi code 1759686?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "county" FROM "m" WHERE "ansi_code"=1759686;
|
1-18600760-13
|
What is the geo id for malcolm township?
|
CREATE TABLE "m" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("geo_id") FROM "m" WHERE "township"='Malcolm';
|
1-18600760-13
|
What is the land area of Reed Township?
|
CREATE TABLE "r" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "land_sqmi" FROM "r" WHERE "township"='Reed';
|
1-18600760-18
|
What is the township at longitude -100.680772?
|
CREATE TABLE "r" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "r" WHERE "longitude"='-100.680772';
|
1-18600760-18
|
What is the ANSI code of the township where the area is 35.737 square miles?
|
CREATE TABLE "r" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MIN("ansi_code") FROM "r" WHERE "land_sqmi"='35.737';
|
1-18600760-18
|
What is the GEO ID of the township with area of 32.532 square miles?
|
CREATE TABLE "r" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT MAX("geo_id") FROM "r" WHERE "land_sqmi"='32.532';
|
1-18600760-18
|
What township is 34.781 square miles?
|
CREATE TABLE "r" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "r" WHERE "land_sqmi"='34.781';
|
1-18600760-18
|
What longitude is tatman township?
|
CREATE TABLE "t" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "longitude" FROM "t" WHERE "township"='Tatman';
|
1-18600760-20
|
What is the land area (sqmi) for the township at longtidue 47.548602?
|
CREATE TABLE "t" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "land_sqmi" FROM "t" WHERE "latitude"='47.548602';
|
1-18600760-20
|
How many ansi codes are there for longitude 46.415037?
|
CREATE TABLE "t" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("ansi_code") FROM "t" WHERE "latitude"='46.415037';
|
1-18600760-20
|
What is the water area (sqmi) for the township at latitude 48.423224?
|
CREATE TABLE "t" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "water_sqmi" FROM "t" WHERE "latitude"='48.423224';
|
1-18600760-20
|
How many ansi codes are there for latitude 48.142938?
|
CREATE TABLE "t" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("ansi_code") FROM "t" WHERE "latitude"='48.142938';
|
1-18600760-20
|
Name the township for kidder
|
CREATE TABLE "h" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "township" FROM "h" WHERE "county"='Kidder';
|
1-18600760-8
|
Name the latitude for 3810536900
|
CREATE TABLE "h" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "latitude" FROM "h" WHERE "geo_id"=3810536900;
|
1-18600760-8
|
Name the latitude for 3809935740
|
CREATE TABLE "h" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT "latitude" FROM "h" WHERE "geo_id"=3809935740;
|
1-18600760-8
|
Name the number of county for 90 population
|
CREATE TABLE "h" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" text,
"water_sqmi" text,
"latitude" text,
"longitude" text,
"geo_id" real,
"ansi_code" real
);
|
SELECT COUNT("county") FROM "h" WHERE "pop_2010"=90;
|
1-18600760-8
|
When houdet ( fra ) w 6-2, 6-1 is the quarterfinals what is the final/bronze medal match?
|
CREATE TABLE "table1_18602462_21" (
"athlete" text,
"class" text,
"event" text,
"round_of_64" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "final_bronze_medal_match" FROM "table1_18602462_21" WHERE "quarterfinals"='Houdet ( FRA ) W 6-2, 6-1';
|
1-18602462-21
|
When in round of 16 it was did not advance what was it in round of 32?
|
CREATE TABLE "table1_18602462_21" (
"athlete" text,
"class" text,
"event" text,
"round_of_64" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "round_of_32" FROM "table1_18602462_21" WHERE "round_of_16"='Did not advance';
|
1-18602462-21
|
When scheffers ( ned ) l 3-6, 1-6 is the final/ bronze medal match what was the event?
|
CREATE TABLE "table1_18602462_21" (
"athlete" text,
"class" text,
"event" text,
"round_of_64" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "event" FROM "table1_18602462_21" WHERE "final_bronze_medal_match"='Scheffers ( NED ) L 3-6, 1-6';
|
1-18602462-21
|
When mixed quad singles is the event what is the final/bronze medal match?
|
CREATE TABLE "table1_18602462_21" (
"athlete" text,
"class" text,
"event" text,
"round_of_64" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "final_bronze_medal_match" FROM "table1_18602462_21" WHERE "event"='Mixed Quad Singles';
|
1-18602462-21
|
When bas van erp was the athlete what was the quarterfinals?
|
CREATE TABLE "table1_18602462_21" (
"athlete" text,
"class" text,
"event" text,
"round_of_64" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "quarterfinals" FROM "table1_18602462_21" WHERE "athlete"='Bas van Erp';
|
1-18602462-21
|
What is the semifinal result for Dorrie Timmermans-Van Hall?
|
CREATE TABLE "table1_18602462_22" (
"athlete" text,
"class" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "semifinals" FROM "table1_18602462_22" WHERE "athlete"='Dorrie Timmermans-Van Hall';
|
1-18602462-22
|
What is the round of 16 result for Jiske Griffioen Esther Vergeer?
|
CREATE TABLE "table1_18602462_22" (
"athlete" text,
"class" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "round_of_16" FROM "table1_18602462_22" WHERE "athlete"='Jiske Griffioen Esther Vergeer';
|
1-18602462-22
|
The semifinal score of vergeer ( ned ) l 0-6, 1-6 follows a round of 16 result of what?
|
CREATE TABLE "table1_18602462_22" (
"athlete" text,
"class" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT "round_of_16" FROM "table1_18602462_22" WHERE "semifinals"='Vergeer ( NED ) L 0-6, 1-6';
|
1-18602462-22
|
How many round of 32 results are followed by Polidori ( Ita ) w 6-1, 3-6, 6-3 in the round of 16?
|
CREATE TABLE "table1_18602462_22" (
"athlete" text,
"class" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text,
"final_bronze_medal_match" text
);
|
SELECT COUNT("round_of_32") FROM "table1_18602462_22" WHERE "round_of_16"='Polidori ( ITA ) W 6-1, 3-6, 6-3';
|
1-18602462-22
|
Name the maximum points for libertad
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MAX("points") FROM "torneo_clausura" WHERE "team"='Libertad';
|
1-18607260-6
|
Name the least wins for 5 losses
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MIN("wins") FROM "torneo_clausura" WHERE "losses"=5;
|
1-18607260-6
|
Name the most draws
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MAX("draws") FROM "torneo_clausura";
|
1-18607260-6
|
Name the least played
|
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
|
SELECT MIN("played") FROM "torneo_clausura";
|
1-18607260-6
|
When cristina peña garzon is the contestant what is the geographical region?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT "geographical_regions" FROM "delegates" WHERE "contestant"='Cristina Peña Garzon';
|
1-18618707-1
|
When 1.79 is the height what is the geographical region?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT "geographical_regions" FROM "delegates" WHERE "height"='1.79';
|
1-18618707-1
|
When 1.67 is the height how many contestants are there?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT COUNT("contestant") FROM "delegates" WHERE "height"='1.67';
|
1-18618707-1
|
When baoruco is the province, community what is the lowest age?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT MIN("age") FROM "delegates" WHERE "province_community"='Baoruco';
|
1-18618707-1
|
When el cibao is the geographical region and the height is 1.80 who is the contestant?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT "contestant" FROM "delegates" WHERE "height"='1.80' AND "geographical_regions"='El Cibao';
|
1-18618707-1
|
When toronto is the hometown how many height measurements are there?
|
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
|
SELECT COUNT("height") FROM "delegates" WHERE "hometown"='Toronto';
|
1-18618707-1
|
What is the 3rd place team for the year of 1955?
|
CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
);
|
SELECT "3rd_place_team" FROM "international_softball_league_1951_to_19" WHERE "year"=1955;
|
1-18618672-2
|
How many years was the 2nd place team merchants, tampico, il?
|
CREATE TABLE "international_softball_league_1951_to_19" (
"year" real,
"1st_place_team" text,
"2nd_place_team" text,
"3rd_place_team" text,
"4th_place_team" text,
"host_location" text
);
|
SELECT COUNT("year") FROM "international_softball_league_1951_to_19" WHERE "2nd_place_team"='Merchants, Tampico, IL';
|
1-18618672-2
|
When mithuna is the international alphabet of sanskrit transliteration what is the ruling planet?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT "ruling_planet" FROM "r_i_zodiacal_signs" WHERE "international_alphabet_of_sanskrit_transliteration"='Mithuna';
|
1-186462-1
|
When Sagittarius is the wester name what is the sanskrit gloss?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT "sanskrit_gloss" FROM "r_i_zodiacal_signs" WHERE "western_name"='Sagittarius';
|
1-186462-1
|
When scorpion is the sankrit gloss how many qualities are there?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT COUNT("quality") FROM "r_i_zodiacal_signs" WHERE "sanskrit_gloss"='scorpion';
|
1-186462-1
|
When धनुष is the sankrit how many western names are there?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT COUNT("western_name") FROM "r_i_zodiacal_signs" WHERE "sanskrit"='धनुष';
|
1-186462-1
|
When kumbha is the international alphabet of sanskrit transliteration what is the gloss?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT "gloss" FROM "r_i_zodiacal_signs" WHERE "international_alphabet_of_sanskrit_transliteration"='Kumbha';
|
1-186462-1
|
When twins is the sankrit gloss what is the gloss?
|
CREATE TABLE "r_i_zodiacal_signs" (
"number" real,
"sanskrit" text,
"international_alphabet_of_sanskrit_transliteration" text,
"sanskrit_gloss" text,
"western_name" text,
"greek" text,
"gloss" text,
"tattva_element" text,
"quality" text,
"ruling_planet" text
);
|
SELECT "gloss" FROM "r_i_zodiacal_signs" WHERE "sanskrit_gloss"='twins';
|
1-186462-1
|
In the film Mrs. Miniver, what is the actresses name?
|
CREATE TABLE "nominees" (
"year_ceremony" text,
"actor_actress" text,
"category" text,
"film_title_used_in_nomination" text,
"result" text
);
|
SELECT "actor_actress" FROM "nominees" WHERE "film_title_used_in_nomination"='Mrs. Miniver';
|
1-18638067-1
|
What year was Teresa Wright nominated best supporting actress?
|
CREATE TABLE "nominees" (
"year_ceremony" text,
"actor_actress" text,
"category" text,
"film_title_used_in_nomination" text,
"result" text
);
|
SELECT "year_ceremony" FROM "nominees" WHERE "actor_actress"='Teresa Wright' AND "category"='Best Supporting Actress';
|
1-18638067-1
|
What category was the movie Working Girl nominated?
|
CREATE TABLE "nominees" (
"year_ceremony" text,
"actor_actress" text,
"category" text,
"film_title_used_in_nomination" text,
"result" text
);
|
SELECT "category" FROM "nominees" WHERE "film_title_used_in_nomination"='Working Girl';
|
1-18638067-1
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.