question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What party did the incumbent from the Virginia 5 district who was re-elected and was first elected in 1797 belong to? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "result"='Re-elected' AND "first_elected"='1797' AND "district"='Virginia 5'; | 1-2668401-17 |
When was the incumbent first elected in the district where the result was a democratic-republican gain? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "result"='Democratic-Republican gain'; | 1-2668401-17 |
In what district was the incumbent Edwin Gray? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Edwin Gray'; | 1-2668401-17 |
When was the incumbent from the Virginia 10 district first elected? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "first_elected" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 10'; | 1-2668401-17 |
Name the result for walter jones (dr) 99.0% henry lee (f) 1.0% | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Walter Jones (DR) 99.0% Henry Lee (F) 1.0%'; | 1-2668387-18 |
Name the district for matthew clay | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Matthew Clay'; | 1-2668387-18 |
Name the number of first elected for john smith | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John Smith'; | 1-2668387-18 |
Name the incumbent for virginia 18 | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 18'; | 1-2668387-18 |
Name the district for john randolph (dr) | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='John Randolph (DR)'; | 1-2668387-18 |
Name the incumbent for virginia 4 | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" text,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 4'; | 1-2668387-18 |
When was the earliest person elected? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e"; | 1-2668420-17 |
What party was re-elected to Virginia 12? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "party" FROM "united_states_house_of_representatives_e" WHERE "result"='Re-elected' AND "district"='Virginia 12'; | 1-2668420-17 |
What is the latest first elected? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e"; | 1-2668405-17 |
How many times were the candidates leven powell (f) 63.8% roger west (dr) 36.4%? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Leven Powell (F) 63.8% Roger West (DR) 36.4%'; | 1-2668405-17 |
What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Leven Powell (F) 63.8% Roger West (DR) 36.4%'; | 1-2668405-17 |
What is the district with the incumbent john nicholas? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John Nicholas'; | 1-2668405-17 |
How many were in district virginia 6? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("candidates") FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 6'; | 1-2668405-17 |
If the district is Virginia 8, who is the Incumbent? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 8'; | 1-2668416-18 |
If the district is Virginia 17, who are the candidates? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 17'; | 1-2668416-18 |
In how many different parts was the incumbent Abraham B. Venable? | CREATE TABLE "united_states_house_of_representatives_e" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT COUNT("party") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='Abraham B. Venable'; | 1-2668416-18 |
What is the date for the mount panorama circuit? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT "date" FROM "table1_26686908_2" WHERE "circuit"='Mount Panorama Circuit'; | 1-26686908-2 |
What was the location for the date 7–10 october? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT "city_state" FROM "table1_26686908_2" WHERE "date"='7–10 October'; | 1-26686908-2 |
Who handled production for the race when the championship went to david wall and challenge was jordan ormsby? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT "production" FROM "table1_26686908_2" WHERE "championship"='David Wall' AND "challenge"='Jordan Ormsby'; | 1-26686908-2 |
Which city and state hosted the adelaide street circuit? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT "city_state" FROM "table1_26686908_2" WHERE "circuit"='Adelaide Street Circuit'; | 1-26686908-2 |
Which circuit was held on 25–28 march? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT "circuit" FROM "table1_26686908_2" WHERE "date"='25–28 March'; | 1-26686908-2 |
How many productions are shown for rd 2? | CREATE TABLE "table1_26686908_2" (
"rd" text,
"circuit" text,
"city_state" text,
"date" text,
"championship" text,
"challenge" text,
"production" text
); | SELECT COUNT("production") FROM "table1_26686908_2" WHERE "rd"='Rd 2'; | 1-26686908-2 |
Name the writers for 46 in series | CREATE TABLE "table1_26702078_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "writer_s" FROM "table1_26702078_1" WHERE "no_in_series"=46; | 1-26702078-1 |
Name the production code for 60 number in series | CREATE TABLE "table1_26702078_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "production_code" FROM "table1_26702078_1" WHERE "no_in_series"=60; | 1-26702078-1 |
what is the title of the episode with the director pamela fryman and the production code 2alh07? | CREATE TABLE "table1_26701861_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"director" text,
"writer_s" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "title" FROM "table1_26701861_1" WHERE "director"='Pamela Fryman' AND "production_code"='2ALH07'; | 1-26701861-1 |
Which occurence has the matrix sim marked as 0.925? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT "occurrence" FROM "promoter" WHERE "matrix_sim"='0.925'; | 1-26708105-2 |
What is the detailed family information where the sequence is aagtact? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT COUNT("detailed_family_information") FROM "promoter" WHERE "sequence"='aAGTAct'; | 1-26708105-2 |
What occurence has 0.925 listed as the matrix sim? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT MAX("occurrence") FROM "promoter" WHERE "matrix_sim"='0.925'; | 1-26708105-2 |
What is the number listed in from for the Krueppel Like Transcription Factors? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT MIN("from") FROM "promoter" WHERE "detailed_family_information"='Krueppel like transcription factors'; | 1-26708105-2 |
What is the smallest number listed in the from category? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT MIN("from") FROM "promoter"; | 1-26708105-2 |
What is the conserved in mus musculus listing for sequence aagtact? | CREATE TABLE "promoter" (
"detailed_family_information" text,
"from" real,
"to" real,
"anchor" real,
"orientation" text,
"conserved_in_mus_musculus" text,
"matrix_sim" text,
"sequence" text,
"occurrence" real
); | SELECT "conserved_in_mus_musculus" FROM "promoter" WHERE "sequence"='aAGTAct'; | 1-26708105-2 |
What is the nt identity when the species is drosophilia melanogaster? | CREATE TABLE "orthologs" (
"species" text,
"common_name" text,
"protein_name" text,
"accession_number" text,
"nt_length" text,
"nt_identity" text,
"aa_length" text,
"aa_identity" text,
"e_value" text
); | SELECT "nt_identity" FROM "orthologs" WHERE "species"='Drosophilia melanogaster'; | 1-26708105-5 |
What is the protein name when aa length is 202 aa? | CREATE TABLE "orthologs" (
"species" text,
"common_name" text,
"protein_name" text,
"accession_number" text,
"nt_length" text,
"nt_identity" text,
"aa_length" text,
"aa_identity" text,
"e_value" text
); | SELECT "protein_name" FROM "orthologs" WHERE "aa_length"='202 aa'; | 1-26708105-5 |
What is the protein name when the e-value is 2.50e-41? | CREATE TABLE "orthologs" (
"species" text,
"common_name" text,
"protein_name" text,
"accession_number" text,
"nt_length" text,
"nt_identity" text,
"aa_length" text,
"aa_identity" text,
"e_value" text
); | SELECT "protein_name" FROM "orthologs" WHERE "e_value"='2.50E-41'; | 1-26708105-5 |
What is the aa length when the protein name is c11orf73? | CREATE TABLE "orthologs" (
"species" text,
"common_name" text,
"protein_name" text,
"accession_number" text,
"nt_length" text,
"nt_identity" text,
"aa_length" text,
"aa_identity" text,
"e_value" text
); | SELECT "aa_length" FROM "orthologs" WHERE "protein_name"='C11orf73'; | 1-26708105-5 |
How many times is the accession number xp_001843282? | CREATE TABLE "orthologs" (
"species" text,
"common_name" text,
"protein_name" text,
"accession_number" text,
"nt_length" text,
"nt_identity" text,
"aa_length" text,
"aa_identity" text,
"e_value" text
); | SELECT COUNT("common_name") FROM "orthologs" WHERE "accession_number"='XP_001843282'; | 1-26708105-5 |
How many titles have U.S. viewers 1.66 million. | CREATE TABLE "table1_26736040_1" (
"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 COUNT("title") FROM "table1_26736040_1" WHERE "u_s_viewers_millions"='1.66'; | 1-26736040-1 |
What is every title when U.S. viewers is 1.04 million. | CREATE TABLE "table1_26736040_1" (
"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_26736040_1" WHERE "u_s_viewers_millions"='1.04'; | 1-26736040-1 |
What is the highest number in series with director as Phil Abraham? | CREATE TABLE "table1_26736040_1" (
"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 MAX("no_in_series") FROM "table1_26736040_1" WHERE "directed_by"='Phil Abraham'; | 1-26736040-1 |
How many entries for number in series when director is Bryan Cranston? | CREATE TABLE "table1_26736040_1" (
"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 COUNT("no_in_series") FROM "table1_26736040_1" WHERE "directed_by"='Bryan Cranston'; | 1-26736040-1 |
What is the earliest episode that was watched by 1.32 million viewers? | CREATE TABLE "table1_26736342_1" (
"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_series") FROM "table1_26736342_1" WHERE "u_s_viewers_millions"='1.32'; | 1-26736342-1 |
What is the latest episode written by John Shiban & Thomas Schnauz? | CREATE TABLE "table1_26736342_1" (
"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 MAX("no_in_series") FROM "table1_26736342_1" WHERE "written_by"='John Shiban & Thomas Schnauz'; | 1-26736342-1 |
What is the series number of the episode "Fly"? | CREATE TABLE "table1_26736342_1" (
"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 COUNT("no_in_series") FROM "table1_26736342_1" WHERE "title"='\"Fly\"'; | 1-26736342-1 |
Who directed the eposide that was watched by 1.95 million US viewers? | CREATE TABLE "table1_26736342_1" (
"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 "directed_by" FROM "table1_26736342_1" WHERE "u_s_viewers_millions"='1.95'; | 1-26736342-1 |
How many episodes are there for the three darts challenge with Sharon Osbourne? | CREATE TABLE "table1_26733129_1" (
"episode_number" real,
"air_date" text,
"guests" text,
"three_darts_challenge" text,
"musical_performance" text
); | SELECT MAX("episode_number") FROM "table1_26733129_1" WHERE "three_darts_challenge"='Sharon Osbourne'; | 1-26733129-1 |
What musical performances aired on 5 April 2010? | CREATE TABLE "table1_26733129_1" (
"episode_number" real,
"air_date" text,
"guests" text,
"three_darts_challenge" text,
"musical_performance" text
); | SELECT "musical_performance" FROM "table1_26733129_1" WHERE "air_date"='5 April 2010'; | 1-26733129-1 |
What were the guests that aired on 7 June 2010? | CREATE TABLE "table1_26733129_1" (
"episode_number" real,
"air_date" text,
"guests" text,
"three_darts_challenge" text,
"musical_performance" text
); | SELECT "guests" FROM "table1_26733129_1" WHERE "air_date"='7 June 2010'; | 1-26733129-1 |
Who was in the three darts challenge that aired on 10 may 2010? | CREATE TABLE "table1_26733129_1" (
"episode_number" real,
"air_date" text,
"guests" text,
"three_darts_challenge" text,
"musical_performance" text
); | SELECT "three_darts_challenge" FROM "table1_26733129_1" WHERE "air_date"='10 May 2010'; | 1-26733129-1 |
Name the ends lost for canada | CREATE TABLE "round_robin_standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT "ends_lost" FROM "round_robin_standings" WHERE "country"='Canada'; | 1-26745426-2 |
Name the least ends won for anna kubešková | CREATE TABLE "round_robin_standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT MIN("ends_won") FROM "round_robin_standings" WHERE "skip"='Anna Kubešková'; | 1-26745426-2 |
Name the number of ends lost for 6 stolen ends | CREATE TABLE "round_robin_standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
); | SELECT COUNT("ends_lost") FROM "round_robin_standings" WHERE "stolen_ends"=6; | 1-26745426-2 |
When gniazdo is polish what is proto-slavic? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT "proto_slavic" FROM "selected_cognates" WHERE "polish"='gniazdo'; | 1-26757-4 |
When рука / ruka is the serbo-croatian what is the macedonian? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT "macedonian" FROM "selected_cognates" WHERE "serbo_croatian"='рука / ruka'; | 1-26757-4 |
When риба (ríba) is the macedonian what is the proto-slavic? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT "proto_slavic" FROM "selected_cognates" WHERE "macedonian"='риба (ríba)'; | 1-26757-4 |
When гн(иј)ездо / gn(ij)ezdo is the serbo-croatian how many proto-slavics are there? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT COUNT("proto_slavic") FROM "selected_cognates" WHERE "serbo_croatian"='гн(иј)ездо / gn(ij)ezdo'; | 1-26757-4 |
When рыба (rýba) is the belarusian how many slovenes are there? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT COUNT("slovene") FROM "selected_cognates" WHERE "belarusian"='рыба (rýba)'; | 1-26757-4 |
When вуха (vúkha) is the belarusian how many slovaks are there? | CREATE TABLE "selected_cognates" (
"proto_slavic" text,
"russian" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"czech" text,
"slovak" text,
"slovene" text,
"serbo_croatian" text,
"bulgarian" text,
"macedonian" text
); | SELECT COUNT("slovak") FROM "selected_cognates" WHERE "belarusian"='вуха (vúkha)'; | 1-26757-4 |
How long does the 2579km route take? | CREATE TABLE "india" (
"dibrugarh" text,
"kanyakumari" text,
"vivek_express_15905_15906" text,
"indian_railways" text,
"4286km" text,
"55" real,
"weekly" text,
"82_30_hrs_3_5_days" text
); | SELECT "82_30_hrs_3_5_days" FROM "india" WHERE "4286km"='2579km'; | 1-26745820-5 |
What is the name of the only route that runs to bhavnagar? | CREATE TABLE "india" (
"dibrugarh" text,
"kanyakumari" text,
"vivek_express_15905_15906" text,
"indian_railways" text,
"4286km" text,
"55" real,
"weekly" text,
"82_30_hrs_3_5_days" text
); | SELECT "vivek_express_15905_15906" FROM "india" WHERE "kanyakumari"='Bhavnagar'; | 1-26745820-5 |
What is every original air date for the number in season of 7? | CREATE TABLE "table1_26748314_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text
); | SELECT "original_air_date" FROM "table1_26748314_1" WHERE "no_in_season"=7; | 1-26748314-1 |
What is the number of participating parties when registered voters totaled 643629? | CREATE TABLE "congress" (
"electoral_district" text,
"registered_voters" real,
"seats_in_congress" real,
"candidates_per_party" real,
"participating_parties" real,
"total_candidates" real
); | SELECT COUNT("participating_parties") FROM "congress" WHERE "registered_voters"=643629; | 1-2676980-4 |
What is the electoral district when total candidates were 35? | CREATE TABLE "congress" (
"electoral_district" text,
"registered_voters" real,
"seats_in_congress" real,
"candidates_per_party" real,
"participating_parties" real,
"total_candidates" real
); | SELECT "electoral_district" FROM "congress" WHERE "total_candidates"=35; | 1-2676980-4 |
What is the number of seats in congress when the electoral district is Ucayali? | CREATE TABLE "congress" (
"electoral_district" text,
"registered_voters" real,
"seats_in_congress" real,
"candidates_per_party" real,
"participating_parties" real,
"total_candidates" real
); | SELECT COUNT("seats_in_congress") FROM "congress" WHERE "electoral_district"='Ucayali'; | 1-2676980-4 |
What is the number of seats in congress when the candidates per party is 6? | CREATE TABLE "congress" (
"electoral_district" text,
"registered_voters" real,
"seats_in_congress" real,
"candidates_per_party" real,
"participating_parties" real,
"total_candidates" real
); | SELECT COUNT("seats_in_congress") FROM "congress" WHERE "candidates_per_party"=6; | 1-2676980-4 |
What is the number of total candidates when registered voters is 47742? | CREATE TABLE "congress" (
"electoral_district" text,
"registered_voters" real,
"seats_in_congress" real,
"candidates_per_party" real,
"participating_parties" real,
"total_candidates" real
); | SELECT "total_candidates" FROM "congress" WHERE "registered_voters"=47742; | 1-2676980-4 |
Where does the judge who serves Beacon Falls , Naugatuck , Middlebury , Prospect reside? | CREATE TABLE "table1_26758262_1" (
"district" real,
"municipalities_served" text,
"judge_of_probate" text,
"judges_residence" text,
"location_of_court" text
); | SELECT "judges_residence" FROM "table1_26758262_1" WHERE "municipalities_served"='Beacon Falls , Naugatuck , Middlebury , Prospect'; | 1-26758262-1 |
What district is the court located in Tolland? | CREATE TABLE "table1_26758262_1" (
"district" real,
"municipalities_served" text,
"judge_of_probate" text,
"judges_residence" text,
"location_of_court" text
); | SELECT MAX("district") FROM "table1_26758262_1" WHERE "location_of_court"='Tolland'; | 1-26758262-1 |
Where does the judge whose court is in Groton reside? | CREATE TABLE "table1_26758262_1" (
"district" real,
"municipalities_served" text,
"judge_of_probate" text,
"judges_residence" text,
"location_of_court" text
); | SELECT "judges_residence" FROM "table1_26758262_1" WHERE "location_of_court"='Groton'; | 1-26758262-1 |
what is the nhl team for the player john maclean? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_one" WHERE "player"='John MacLean'; | 1-2679061-1 |
who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_one" WHERE "position"='Defence' AND "college_junior_club_team"='Ottawa 67''s (OHL)'; | 1-2679061-1 |
what is the college/junior/club team for the player alfie turcotte? | CREATE TABLE "round_one" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_one" WHERE "player"='Alfie Turcotte'; | 1-2679061-1 |
What is the name of the college/junior/club team of the Buffalo Sabres? | CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_ten" WHERE "nhl_team"='Buffalo Sabres'; | 1-2679061-10 |
What is Reine Karlsson's nationality? | CREATE TABLE "round_ten" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_ten" WHERE "player"='Reine Karlsson'; | 1-2679061-10 |
How many players were drafted by the Philadelphia Flyers? | CREATE TABLE "round_eleven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("nationality") FROM "round_eleven" WHERE "nhl_team"='Philadelphia Flyers'; | 1-2679061-11 |
How many picks did the Chicago Black Hawks get? | CREATE TABLE "round_eleven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT COUNT("pick_num") FROM "round_eleven" WHERE "nhl_team"='Chicago Black Hawks'; | 1-2679061-11 |
What team had pick 203? | CREATE TABLE "round_eleven" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_eleven" WHERE "pick_num"=203; | 1-2679061-11 |
Which school did harold duvall attend? | CREATE TABLE "round_twelve" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "round_twelve" WHERE "player"='Harold Duvall'; | 1-2679061-12 |
List the position for the boston bruins. | CREATE TABLE "round_twelve" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_twelve" WHERE "nhl_team"='Boston Bruins'; | 1-2679061-12 |
Who was drafted to litvinov (czechoslovakia)? | CREATE TABLE "round_twelve" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_twelve" WHERE "college_junior_club_team"='Litvinov (Czechoslovakia)'; | 1-2679061-12 |
What position does peter mcgeough cover? | CREATE TABLE "round_twelve" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_twelve" WHERE "player"='Peter McGeough'; | 1-2679061-12 |
Which player was drafted by the Minnesota North Stars? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_four" WHERE "nhl_team"='Minnesota North Stars'; | 1-2679061-4 |
What is the nationality of Bob Essensa? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_four" WHERE "player"='Bob Essensa'; | 1-2679061-4 |
What position is the player from the Regina Pats (WHL)? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_four" WHERE "college_junior_club_team"='Regina Pats (WHL)'; | 1-2679061-4 |
What number pick was the player from HIFK Helsinki (Finland)? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "pick_num" FROM "round_four" WHERE "college_junior_club_team"='HIFK Helsinki (Finland)'; | 1-2679061-4 |
Which team drafted Esa Tikkanen? | CREATE TABLE "round_four" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_four" WHERE "player"='Esa Tikkanen'; | 1-2679061-4 |
What was the nationality of player picked no. 168? | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_nine" WHERE "pick_num"=168; | 1-2679061-9 |
What was the nationality of player picked no. 179? | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_nine" WHERE "pick_num"=179; | 1-2679061-9 |
Who was the player who played for Hartford Whalers NHL Team? | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "player" FROM "round_nine" WHERE "nhl_team"='Hartford Whalers'; | 1-2679061-9 |
What was the position of the player who played for New York Islanders NHL Team? | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "position" FROM "round_nine" WHERE "nhl_team"='New York Islanders'; | 1-2679061-9 |
What was the nationality of player Cliff Abrecht? | CREATE TABLE "round_nine" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nationality" FROM "round_nine" WHERE "player"='Cliff Abrecht'; | 1-2679061-9 |
What is the highest number of poles? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"podiums" real,
"f_laps" real,
"points" text,
"final_placing" text
); | SELECT MAX("poles") FROM "career_summary"; | 1-26794530-1 |
How many f/laps were there when he scored 170 points? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"podiums" real,
"f_laps" real,
"points" text,
"final_placing" text
); | SELECT COUNT("f_laps") FROM "career_summary" WHERE "points"='170'; | 1-26794530-1 |
When there were 30 races and the final placing was 13th, how many points were scored? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team_name" text,
"races" real,
"poles" real,
"wins" real,
"podiums" real,
"f_laps" real,
"points" text,
"final_placing" text
); | SELECT "points" FROM "career_summary" WHERE "final_placing"='13th' AND "races"=30; | 1-26794530-1 |
What club is associated with draft number 155? | CREATE TABLE "round_eight" (
"pick_num" real,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
); | SELECT "nhl_team" FROM "round_eight" WHERE "pick_num"=155; | 1-2679061-8 |
What is the production code for the number 5 series ? | CREATE TABLE "table1_26801821_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "production_code" FROM "table1_26801821_1" WHERE "no_in_series"=5; | 1-26801821-1 |
What is the number of the series written by Teresa Lin? | CREATE TABLE "table1_26801821_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("no_in_series") FROM "table1_26801821_1" WHERE "written_by"='Teresa Lin'; | 1-26801821-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.