question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What's the price of the team whose captain is Sanath Jayasuriya? | CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
); | SELECT "price" FROM "franchises" WHERE "captain"='Sanath Jayasuriya'; | 1-19905183-1 |
What team is from the Eastern province? | CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
); | SELECT "team" FROM "franchises" WHERE "province"='Eastern'; | 1-19905183-1 |
Who's the head coach of the team with a price of $3.22 million? | CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
); | SELECT "head_coach" FROM "franchises" WHERE "price"='$3.22 million'; | 1-19905183-1 |
In how many teams is Waqar Younis the head coach? | CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
); | SELECT COUNT("team") FROM "franchises" WHERE "head_coach"='Waqar Younis'; | 1-19905183-1 |
What province does the Ruhuna Royals team come from? | CREATE TABLE "franchises" (
"team" text,
"province" text,
"owner_s" text,
"price" text,
"captain" text,
"head_coach" text,
"icon_player" text
); | SELECT "province" FROM "franchises" WHERE "team"='Ruhuna Royals'; | 1-19905183-1 |
When was Alexey Kuleshov born? | CREATE TABLE "team_roster_season_2009_2010" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
); | SELECT "birth_date" FROM "team_roster_season_2009_2010" WHERE "player"='Alexey Kuleshov'; | 1-19900792-1 |
What is the trigger pack on the Colt 602 with the a1 rear sight type? | CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_type" text,
"upper_receiver_type" text,
"rear_sight_type" text,
"front_sight_type" text,
"muzzle_device" text,
"forward_assist" text,
"case_deflector" text,
"bayonet_lug" text,
"trigger_pack" text
); | SELECT "trigger_pack" FROM "summary" WHERE "rear_sight_type"='A1' AND "colt_model_no"='602'; | 1-19901-1 |
How many case deflectors are there for the Colt 646? | CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_type" text,
"upper_receiver_type" text,
"rear_sight_type" text,
"front_sight_type" text,
"muzzle_device" text,
"forward_assist" text,
"case_deflector" text,
"bayonet_lug" text,
"trigger_pack" text
); | SELECT COUNT("case_deflector") FROM "summary" WHERE "colt_model_no"='646'; | 1-19901-1 |
What is the rear sight type on the model with the acr muzzle brake device? | CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_type" text,
"upper_receiver_type" text,
"rear_sight_type" text,
"front_sight_type" text,
"muzzle_device" text,
"forward_assist" text,
"case_deflector" text,
"bayonet_lug" text,
"trigger_pack" text
); | SELECT "rear_sight_type" FROM "summary" WHERE "muzzle_device"='ACR muzzle brake'; | 1-19901-1 |
Which muzzle devices are on the Colt 603? | CREATE TABLE "summary" (
"colt_model_no" text,
"military_designation" text,
"barrel_length" text,
"barrel" text,
"handguard_type" text,
"buttstock_type" text,
"pistol_grip_type" text,
"lower_receiver_type" text,
"upper_receiver_type" text,
"rear_sight_type" text,
"front_sight_type" text,
"muzzle_device" text,
"forward_assist" text,
"case_deflector" text,
"bayonet_lug" text,
"trigger_pack" text
); | SELECT "muzzle_device" FROM "summary" WHERE "colt_model_no"='603'; | 1-19901-1 |
How many millions of people in the US watched the episode with season number 8? | CREATE TABLE "table1_19925114_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_19925114_1" WHERE "no_in_season"=8; | 1-19925114-1 |
How many episodes had the series number of 38? | CREATE TABLE "table1_19925114_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("directed_by") FROM "table1_19925114_1" WHERE "no_in_series"=38; | 1-19925114-1 |
How many different numbers of people in the US who'd seen the episode with a season number 8 are there? | CREATE TABLE "table1_19925114_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("u_s_viewers_millions") FROM "table1_19925114_1" WHERE "no_in_season"=8; | 1-19925114-1 |
Name the rufus guest for 15 december 2008 | CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT COUNT("rufus_guest") FROM "series_1" WHERE "first_broadcast"='15 December 2008'; | 1-19930660-1 |
Name the winner for jason byrne | CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "winner" FROM "series_1" WHERE "marcus_guest"='Jason Byrne'; | 1-19930660-1 |
Name the rufus guest for episode 1x07 | CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "rufus_guest" FROM "series_1" WHERE "episode"='1x07'; | 1-19930660-1 |
Name the winner for 26 january 2009 | CREATE TABLE "series_1" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "winner" FROM "series_1" WHERE "first_broadcast"='26 January 2009'; | 1-19930660-1 |
When was episode 2x11 aired for the first time? | CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "first_broadcast" FROM "table1_19930660_2" WHERE "episode"='2x11'; | 1-19930660-2 |
Who won the episode in which Sean Lock was Rufus's guest? | CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "winner" FROM "table1_19930660_2" WHERE "rufus_guest"='Sean Lock'; | 1-19930660-2 |
When was the episode 2x10 aired for the first time? | CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "first_broadcast" FROM "table1_19930660_2" WHERE "episode"='2x10'; | 1-19930660-2 |
Who was Marcus's guest in the episode when Rufus's guest was Rory McGrath? | CREATE TABLE "table1_19930660_2" (
"episode" text,
"first_broadcast" text,
"rufus_guest" text,
"marcus_guest" text,
"winner" text
); | SELECT "marcus_guest" FROM "table1_19930660_2" WHERE "rufus_guest"='Rory McGrath'; | 1-19930660-2 |
Name the total number of timeslot for august 9, 2007 finale | CREATE TABLE "seasonal_ratings" (
"season" real,
"timeslot_edt" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_spanish_language" real,
"viewers_in_millions" text
); | SELECT COUNT("timeslot_edt") FROM "seasonal_ratings" WHERE "season_finale"='August 9, 2007'; | 1-19938261-2 |
Name the timeslot for 9.4 viewers for 2006 | CREATE TABLE "seasonal_ratings" (
"season" real,
"timeslot_edt" text,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank_spanish_language" real,
"viewers_in_millions" text
); | SELECT "timeslot_edt" FROM "seasonal_ratings" WHERE "viewers_in_millions"='9.4' AND "tv_season"='2006'; | 1-19938261-2 |
How many items were under ranking l.a.(2) when the world ranking was 21st? | CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
); | SELECT COUNT("ranking_l_a_2") FROM "other" WHERE "world_ranking_1"='21st'; | 1-19948664-2 |
What was the author/editor/source when the l.a. ranking was 1st? | CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
); | SELECT "author_editor_source" FROM "other" WHERE "ranking_l_a_2"='1st'; | 1-19948664-2 |
How many years were listed under index when there were 157 countries sampled? | CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
); | SELECT COUNT("index_year") FROM "other" WHERE "countries_sampled"=157; | 1-19948664-2 |
What was the publication year ranking l.a. is 1st? | CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
); | SELECT "year_of_publication" FROM "other" WHERE "ranking_l_a_2"='1st'; | 1-19948664-2 |
How many years were recorded when world ranking was 21st? | CREATE TABLE "other" (
"index_year" text,
"author_editor_source" text,
"year_of_publication" text,
"countries_sampled" real,
"world_ranking_1" text,
"ranking_l_a_2" text
); | SELECT COUNT("index_year") FROM "other" WHERE "world_ranking_1"='21st'; | 1-19948664-2 |
What Wireless LAN had a process technology of 90nm and a Carmel centrino? | CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
); | SELECT "wireless_lan" FROM "intel_centrino" WHERE "process_technology"='90nm' AND "centrino"='Carmel'; | 1-199666-1 |
How many series had the chipset of the Intel Centrino Ultimate-N 6300 wireless LAN with the codename Arrandale? | CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
); | SELECT "chipset" FROM "intel_centrino" WHERE "codename"='Arrandale' AND "wireless_lan"='Intel Centrino Ultimate-N 6300'; | 1-199666-1 |
What's the process technology of the Intel WiFi Link 5100 wireless LAN? | CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
); | SELECT "process_technology" FROM "intel_centrino" WHERE "wireless_lan"='Intel WiFi Link 5100'; | 1-199666-1 |
What type of processor does the Intel Centrino Wireless-N 105 wireless LAN have? | CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
); | SELECT "processor" FROM "intel_centrino" WHERE "wireless_lan"='Intel Centrino Wireless-N 105'; | 1-199666-1 |
What's the code name of the wireless LAN with Chief River Centrino? | CREATE TABLE "intel_centrino" (
"wireless_lan" text,
"chipset" text,
"centrino" text,
"processor" text,
"codename" text,
"release_date" real,
"process_technology" text,
"microarchitecture" text
); | SELECT "codename" FROM "intel_centrino" WHERE "centrino"='Chief River'; | 1-199666-1 |
on 19 april 1985 how many of number last flew | CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
); | SELECT COUNT("number") FROM "aircraft" WHERE "last_flew"='19 April 1985'; | 1-1997759-1 |
what is the registration located on 31 january 1975 where first flew? | CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
); | SELECT "registration" FROM "aircraft" WHERE "first_flew"='31 January 1975'; | 1-1997759-1 |
at what location is the last flew on 11 june 2000 | CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
); | SELECT "location" FROM "aircraft" WHERE "last_flew"='11 June 2000'; | 1-1997759-1 |
how many number is located at registration f-bvff? | CREATE TABLE "aircraft" (
"number" real,
"registration" text,
"first_flew" text,
"last_flew" text,
"flying_hours" real,
"location" text
); | SELECT COUNT("number") FROM "aircraft" WHERE "registration"='F-BVFF'; | 1-1997759-1 |
Who is the television commentator when the radio commentator is Galyna Babiy? | CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
); | SELECT "television_commentator" FROM "commentators_and_spokespersons" WHERE "radio_commentator"='Galyna Babiy'; | 1-1998037-9 |
Who is the television commentator when the spokesperson is Kateryna Osadcha? | CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
); | SELECT "television_commentator" FROM "commentators_and_spokespersons" WHERE "spokesperson"='Kateryna Osadcha'; | 1-1998037-9 |
What is the year when the spoksperson is Ruslana? | CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
); | SELECT MIN("year_s") FROM "commentators_and_spokespersons" WHERE "spokesperson"='Ruslana'; | 1-1998037-9 |
Who is the television commentator for the year 2006? | CREATE TABLE "commentators_and_spokespersons" (
"year_s" real,
"television_commentator" text,
"dual_television_commentator" text,
"radio_commentator" text,
"spokesperson" text
); | SELECT "television_commentator" FROM "commentators_and_spokespersons" WHERE "year_s"=2006; | 1-1998037-9 |
What is the season number of the episode seen by 10.11 million people in the US? | CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "no_in_season" FROM "table1_19995378_1" WHERE "u_s_viewers_millions"='10.11'; | 1-19995378-1 |
How many different series number does the episode titled "Skate or Die" have? | CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT COUNT("no_in_series") FROM "table1_19995378_1" WHERE "title"='\"Skate or Die\"'; | 1-19995378-1 |
What's the series number of the episode titled "Rapture"? | CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "no_in_series" FROM "table1_19995378_1" WHERE "title"='\"Rapture\"'; | 1-19995378-1 |
How many episodes with different series numbers were seen by 8.69 people in the US? | CREATE TABLE "table1_19995378_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT COUNT("no_in_season") FROM "table1_19995378_1" WHERE "u_s_viewers_millions"='8.69'; | 1-19995378-1 |
If the language is only native, what is the percentage of the San Antonio de Lomerio municipality? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT "san_antonio_de_lomer_o_municipality_pct" FROM "population" WHERE "language"='Only native'; | 1-19998428-3 |
For language Aymara Simi, what was the maximum San Javier municipality percentage? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT MAX("san_javier_municipality_pct") FROM "population" WHERE "language"='Aymara simi'; | 1-19998428-3 |
If the San Antonio de Lomerio municipality percentage is 5.480, what is the total percentage for the San Julian municipality? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT COUNT("san_juli_n_municipality_pct") FROM "population" WHERE "san_antonio_de_lomer_o_municipality_pct"='5.480'; | 1-19998428-3 |
What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT "san_antonio_de_lomer_o_municipality_pct" FROM "population" WHERE "san_javier_municipality_pct"=31; | 1-19998428-3 |
If the Cuatro Cañadas municipality percentage is 252, what are all the San Antonio de Lomerío municipality percentage? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT "san_antonio_de_lomer_o_municipality_pct" FROM "population" WHERE "cuatro_ca_adas_municipality_pct"='252'; | 1-19998428-3 |
What is the San Javier municipality percentage if the Cuatro Cañadas municipality percentage is 202? | CREATE TABLE "population" (
"language" text,
"concepci_n_municipality_pct" real,
"san_javier_municipality_pct" real,
"san_ram_n_municipality_pct" real,
"san_juli_n_municipality_pct" real,
"san_antonio_de_lomer_o_municipality_pct" text,
"cuatro_ca_adas_municipality_pct" text
); | SELECT "san_javier_municipality_pct" FROM "population" WHERE "cuatro_ca_adas_municipality_pct"='202'; | 1-19998428-3 |
How many total number have robert young as the director? | CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
); | SELECT COUNT("num") FROM "films_in_series" WHERE "director"='Robert Young'; | 1-19982699-1 |
How many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere? | CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
); | SELECT MIN("num") FROM "films_in_series" WHERE "producer"='Charles Salmon' AND "television_premiere"='January 27, 2007'; | 1-19982699-1 |
How many dvd releases where directed by david decoteau? | CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
); | SELECT COUNT("dvd_release") FROM "films_in_series" WHERE "director"='David DeCoteau'; | 1-19982699-1 |
When was the dvd release directed by Billy O'Brien? | CREATE TABLE "films_in_series" (
"num" real,
"title" text,
"maneater" text,
"television_premiere" text,
"dvd_release" text,
"writer" text,
"director" text,
"producer" text
); | SELECT "dvd_release" FROM "films_in_series" WHERE "director"='Billy O''Brien'; | 1-19982699-1 |
What was the record after game 20? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "schedule" WHERE "game"=20; | 1-20010140-9 |
For the game against Iowa, who had the most assists? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "schedule" WHERE "team"='Iowa'; | 1-20010140-9 |
state high assists on february 15 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_assists" FROM "schedule" WHERE "date"='February 15'; | 1-20010140-10 |
how many high points where date is february 19 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("high_points") FROM "schedule" WHERE "date"='February 19'; | 1-20010140-10 |
state the number of location attendance where record is 15–10 (5–7) | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("location_attendance") FROM "schedule" WHERE "record"='15–10 (5–7)'; | 1-20010140-10 |
how many dates where high assists is stu douglass (5) – 4 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("date") FROM "schedule" WHERE "high_assists"='Stu Douglass (5) – 4'; | 1-20010140-10 |
how many records were made on february 22 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT COUNT("record") FROM "schedule" WHERE "date"='February 22'; | 1-20010140-10 |
Name the most applications for 1986 | CREATE TABLE "lb1_and_lb4" (
"year" text,
"horsepower" text,
"torque" text,
"fuel_system" text,
"compression_ratio" text,
"rpo" text,
"applications" real
); | SELECT MAX("applications") FROM "lb1_and_lb4" WHERE "year"='1986'; | 1-20007413-3 |
Name the torque for 1986 | CREATE TABLE "lb1_and_lb4" (
"year" text,
"horsepower" text,
"torque" text,
"fuel_system" text,
"compression_ratio" text,
"rpo" text,
"applications" real
); | SELECT "torque" FROM "lb1_and_lb4" WHERE "year"='1986'; | 1-20007413-3 |
What network showed the season with Australia as the destination? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT "network" FROM "series_details" WHERE "destination"='Australia'; | 1-20026849-1 |
What was the latest season with 20 contestants? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT MAX("season") FROM "series_details" WHERE "contestants"=20; | 1-20026849-1 |
What season was won by Ashutosh Kaushik? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT MIN("season") FROM "series_details" WHERE "winner"='Ashutosh Kaushik'; | 1-20026849-1 |
What was the destination of the season won by Anwar Syed? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT "destination" FROM "series_details" WHERE "winner"='Anwar Syed'; | 1-20026849-1 |
What season was won by Anthony Yeh? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT "season" FROM "series_details" WHERE "winner"='Anthony Yeh'; | 1-20026849-1 |
Who won the season with Africa as its destination? | CREATE TABLE "series_details" (
"season" real,
"network" text,
"host" text,
"contestants" real,
"winner" text,
"destination" text
); | SELECT "winner" FROM "series_details" WHERE "destination"='Africa'; | 1-20026849-1 |
What is the African Spoonbill when the Hadeda Ibis is the Brown Snake Eagle? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "hadeda_ibis"='Brown Snake Eagle'; | 1-20042805-2 |
What is the Hadeda Ibis when the Ostrich is Dark Chanting Goshawk? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "ostrich"='Dark Chanting Goshawk'; | 1-20042805-2 |
What is the African Spoonbill when the Hadeda Ibis is Flernecked Nightjar? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "hadeda_ibis"='Flernecked Nightjar'; | 1-20042805-2 |
What is the Hadeda Ibis when the Knobbilled Duck is Pied Crow? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "knobbilled_duck"='Pied Crow'; | 1-20042805-2 |
What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "african_spoonbill" FROM "table1_20042805_2" WHERE "ostrich"='Brown-hooded Kingfisher'; | 1-20042805-2 |
What is the Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover? | CREATE TABLE "table1_20042805_2" (
"ostrich" text,
"hamerkop" text,
"hadeda_ibis" text,
"african_spoonbill" text,
"whitefaced_duck" text,
"knobbilled_duck" text
); | SELECT "hadeda_ibis" FROM "table1_20042805_2" WHERE "whitefaced_duck"='Blacksmith Plover'; | 1-20042805-2 |
Name the winning pilot for hungary | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT "winning_pilot" FROM "race_calendar_and_results" WHERE "country"='Hungary'; | 1-20036882-2 |
Name the most round for michael goulian | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT MAX("round") FROM "race_calendar_and_results" WHERE "winning_pilot"='Michael Goulian'; | 1-20036882-2 |
Name the country for hannes arch | CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
); | SELECT "country" FROM "race_calendar_and_results" WHERE "winning_pilot"='Hannes Arch'; | 1-20036882-2 |
Who wrote the episode with series number 45? | CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_20046379_3" WHERE "no_in_series"='45'; | 1-20046379-3 |
How many millions of people in the US saw the episode with production code 214? | CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_20046379_3" WHERE "production_code"='214'; | 1-20046379-3 |
What's the title of the episode seen by 3.8 million people in the US? | CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_20046379_3" WHERE "u_s_viewers_millions"='3.8'; | 1-20046379-3 |
Who wrote the episode titled "Mission gone bad" "Trapped in Paris"? | CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_20046379_3" WHERE "title"='\"Mission Gone Bad\" \"Trapped in Paris\"'; | 1-20046379-3 |
On how many different dates did the episode with series number 35 air for the first time? | CREATE TABLE "table1_20046379_3" (
"no_in_series" text,
"no_in_season" text,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT COUNT("original_air_date") FROM "table1_20046379_3" WHERE "no_in_series"='35'; | 1-20046379-3 |
Name the date for value 55c | CREATE TABLE "table1_2006661_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"scott" text,
"yvert" real,
"mitchell" real,
"sta_gib" real,
"order" text,
"family" text
); | SELECT "date" FROM "table1_2006661_1" WHERE "value"='55c'; | 1-2006661-1 |
Name the scott for chloropsis hardwickii | CREATE TABLE "table1_2006661_1" (
"year" real,
"date" text,
"type" text,
"species" text,
"author_species" text,
"value" text,
"scott" text,
"yvert" real,
"mitchell" real,
"sta_gib" real,
"order" text,
"family" text
); | SELECT "scott" FROM "table1_2006661_1" WHERE "species"='Chloropsis hardwickii'; | 1-2006661-1 |
How many people lived in bulac in the year 2000? | CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
); | SELECT MAX("population_2000") FROM "demographics" WHERE "barangay"='Bulac'; | 1-2004733-2 |
In 2010, how many people lived in cities with a population density of 3,965.02? | CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
); | SELECT "population_2010" FROM "demographics" WHERE "population_density_2010"='3,965.02'; | 1-2004733-2 |
What's the name of the barangay whose area is 3.6787 km² ? | CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
); | SELECT "barangay" FROM "demographics" WHERE "area_in_km_2"='3.6787'; | 1-2004733-2 |
How many people lived in the city which has 1.2530 km² in the year 2000? | CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
); | SELECT MAX("population_2000") FROM "demographics" WHERE "area_in_km_2"='1.2530'; | 1-2004733-2 |
How many people lived in san gabriel in the year 2000? | CREATE TABLE "demographics" (
"no" real,
"barangay" text,
"area_in_km_2" text,
"rank" real,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"population_density_2010" text
); | SELECT COUNT("population_2000") FROM "demographics" WHERE "barangay"='San Gabriel'; | 1-2004733-2 |
How many different titles does the representative whose mission was terminated on August 5, 1984 have? | CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
); | SELECT COUNT("title") FROM "see_also" WHERE "termination_of_mission"='August 5, 1984'; | 1-20065425-1 |
What state does the representative whose mission was terminated on November 29, 1973 represent? | CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
); | SELECT "state" FROM "see_also" WHERE "termination_of_mission"='November 29, 1973'; | 1-20065425-1 |
Who trained the representative whose presentation of credentials happened on February 24, 1950? | CREATE TABLE "see_also" (
"representative" text,
"state" text,
"training" text,
"title" text,
"appointment" text,
"presentation_of_credentials" text,
"termination_of_mission" text,
"reason" text
); | SELECT "training" FROM "see_also" WHERE "presentation_of_credentials"='February 24, 1950'; | 1-20065425-1 |
When was the film Här har du ditt liv used in nomination? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='Här har du ditt liv'; | 1-20061872-1 |
What's the original title of the film Zozo? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='Zozo'; | 1-20061872-1 |
What's the original title of The New Land? | CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"original_title" text,
"director" text,
"result" text
); | SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='The New Land'; | 1-20061872-1 |
Name the championship for winner and judy tegart dalton lesley turner bowrey | CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT COUNT("championship") FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "outcome"='Winner' AND "opponents"='Judy Tegart Dalton Lesley Turner Bowrey'; | 1-2009095-2 |
Name the outcome for wimbledon | CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "outcome" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "championship"='Wimbledon'; | 1-2009095-2 |
Name the opponets for 6–4, 3–6, 6–2 | CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
); | SELECT "opponents" FROM "women_s_doubles_15_3_titles_5_runner_ups" WHERE "score"='6–4, 3–6, 6–2'; | 1-2009095-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.