question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
Name the % for total being 57613 | CREATE TABLE "cultural_and_ethnic_composition" (
"self_identification" text,
"moldovan_census" real,
"pct_core_moldova" text,
"transnistrian_census" real,
"pct_transnistria_bender" text,
"total" real,
"pct" text
); | SELECT "pct" FROM "cultural_and_ethnic_composition" WHERE "total"=57613; | 1-19260-1 |
Name the total for % core moldova for 4.36% | CREATE TABLE "cultural_and_ethnic_composition" (
"self_identification" text,
"moldovan_census" real,
"pct_core_moldova" text,
"transnistrian_census" real,
"pct_transnistria_bender" text,
"total" real,
"pct" text
); | SELECT "total" FROM "cultural_and_ethnic_composition" WHERE "pct_core_moldova"='4.36%'; | 1-19260-1 |
What was the waveform of the encoding with a bit rate of 6.203? | CREATE TABLE "teletext_binary_nrz_encodings" (
"standard" text,
"color_system" text,
"informational_cvbs_lines" text,
"bit_rate_mbit_s" text,
"waveform" text,
"bits_per_line_including_run_in" real,
"max_characters_per_page_row" real
); | SELECT "waveform" FROM "teletext_binary_nrz_encodings" WHERE "bit_rate_mbit_s"='6.203'; | 1-1926240-1 |
What was the informational CVBS Lines of the encoding with max character of 32 and has B (global) standard? | CREATE TABLE "teletext_binary_nrz_encodings" (
"standard" text,
"color_system" text,
"informational_cvbs_lines" text,
"bit_rate_mbit_s" text,
"waveform" text,
"bits_per_line_including_run_in" real,
"max_characters_per_page_row" real
); | SELECT "informational_cvbs_lines" FROM "teletext_binary_nrz_encodings" WHERE "max_characters_per_page_row"=32 AND "standard"='B (global)'; | 1-1926240-1 |
How many color systems has a bit rate of 5.734? | CREATE TABLE "teletext_binary_nrz_encodings" (
"standard" text,
"color_system" text,
"informational_cvbs_lines" text,
"bit_rate_mbit_s" text,
"waveform" text,
"bits_per_line_including_run_in" real,
"max_characters_per_page_row" real
); | SELECT COUNT("color_system") FROM "teletext_binary_nrz_encodings" WHERE "bit_rate_mbit_s"='5.734'; | 1-1926240-1 |
What was the max character (per page row) of the encoding with a bit rate of 6.203? | CREATE TABLE "teletext_binary_nrz_encodings" (
"standard" text,
"color_system" text,
"informational_cvbs_lines" text,
"bit_rate_mbit_s" text,
"waveform" text,
"bits_per_line_including_run_in" real,
"max_characters_per_page_row" real
); | SELECT MAX("max_characters_per_page_row") FROM "teletext_binary_nrz_encodings" WHERE "bit_rate_mbit_s"='6.203'; | 1-1926240-1 |
Name the after tax income for percentage of income kept being 40.6% | CREATE TABLE "calculations_are_made_for_the_top_of_eac" (
"currency_bracket" text,
"dollars_taxed_in_bracket" text,
"rate" text,
"taxes_from_bracket" text,
"after_tax_income" text,
"percentage_of_income_kept" text
); | SELECT "after_tax_income" FROM "calculations_are_made_for_the_top_of_eac" WHERE "percentage_of_income_kept"='40.6%'; | 1-19288592-1 |
Name the taxes from brqacket for percentage of income kept being 73% | CREATE TABLE "calculations_are_made_for_the_top_of_eac" (
"currency_bracket" text,
"dollars_taxed_in_bracket" text,
"rate" text,
"taxes_from_bracket" text,
"after_tax_income" text,
"percentage_of_income_kept" text
); | SELECT "taxes_from_bracket" FROM "calculations_are_made_for_the_top_of_eac" WHERE "percentage_of_income_kept"='73%'; | 1-19288592-1 |
How many teams won $2,089,556? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("wins") FROM "nascar_sprint_cup_series" WHERE "winnings"='$2,089,556'; | 1-1929755-1 |
HOw many top 5 starts did the team with an average start of 17.7 have? | CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
); | SELECT COUNT("top_5") FROM "nascar_sprint_cup_series" WHERE "avg_start"='17.7'; | 1-1929755-1 |
Who is team 1 when team 2 is koper? | CREATE TABLE "second_round" (
"tie_no" real,
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "second_round" WHERE "team_2"='Koper'; | 1-19294812-2 |
What is the tie when team 2 is koper? | CREATE TABLE "second_round" (
"tie_no" real,
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT MIN("tie_no") FROM "second_round" WHERE "team_2"='Koper'; | 1-19294812-2 |
How many 1st leg have team 1 ofk belgrade? | CREATE TABLE "second_round" (
"tie_no" real,
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT COUNT("1st_leg") FROM "second_round" WHERE "team_1"='OFK Belgrade'; | 1-19294812-2 |
How many tie no have team 1 as borac banja luka? | CREATE TABLE "second_round" (
"tie_no" real,
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "tie_no" FROM "second_round" WHERE "team_1"='Borac Banja Luka'; | 1-19294812-2 |
What's the language in the school teaching grades 4-12? | CREATE TABLE "schools" (
"school" text,
"year_founded" text,
"denomination" text,
"language" text,
"grades" text,
"gender" text,
"private_public" text
); | SELECT "language" FROM "schools" WHERE "grades"='4-12'; | 1-1930857-1 |
What's the language of the school founded in 1949? | CREATE TABLE "schools" (
"school" text,
"year_founded" text,
"denomination" text,
"language" text,
"grades" text,
"gender" text,
"private_public" text
); | SELECT "language" FROM "schools" WHERE "year_founded"='1949'; | 1-1930857-1 |
What's the language of the school that teaches grades 4-12? | CREATE TABLE "schools" (
"school" text,
"year_founded" text,
"denomination" text,
"language" text,
"grades" text,
"gender" text,
"private_public" text
); | SELECT "language" FROM "schools" WHERE "grades"='4-12'; | 1-1930857-1 |
What's the gender of the students taught in the school founded in 1894? | CREATE TABLE "schools" (
"school" text,
"year_founded" text,
"denomination" text,
"language" text,
"grades" text,
"gender" text,
"private_public" text
); | SELECT "gender" FROM "schools" WHERE "year_founded"='1894'; | 1-1930857-1 |
What's the language of classes in the school founded in 1874? | CREATE TABLE "schools" (
"school" text,
"year_founded" text,
"denomination" text,
"language" text,
"grades" text,
"gender" text,
"private_public" text
); | SELECT "language" FROM "schools" WHERE "year_founded"='1874'; | 1-1930857-1 |
what is the least current | CREATE TABLE "by_nationality" (
"country" text,
"total" real,
"champions" real,
"current" real,
"first_driver_s" text,
"last_current_driver_s" text
); | SELECT MIN("current") FROM "by_nationality"; | 1-19312274-2 |
how many total where last/current driver(s) is narain karthikeyan ( 2010 ) | CREATE TABLE "by_nationality" (
"country" text,
"total" real,
"champions" real,
"current" real,
"first_driver_s" text,
"last_current_driver_s" text
); | SELECT COUNT("total") FROM "by_nationality" WHERE "last_current_driver_s"='Narain Karthikeyan ( 2010 )'; | 1-19312274-2 |
How many numbers were recorded for Qatari female when Qatari male was 97? | CREATE TABLE "registered_live_births_by_nationality_an" (
"year" real,
"qatari_male" real,
"qatari_female" real,
"total_qatari" real,
"non_qatari_male" real,
"non_qatari_female" real,
"total_non_qatar" real,
"total_male" real,
"total_female" real,
"grand_total" real
); | SELECT COUNT("qatari_female") FROM "registered_live_births_by_nationality_an" WHERE "qatari_male"=97; | 1-19309079-2 |
How many years were there 97 qatari male births? | CREATE TABLE "registered_live_births_by_nationality_an" (
"year" real,
"qatari_male" real,
"qatari_female" real,
"total_qatari" real,
"non_qatari_male" real,
"non_qatari_female" real,
"total_non_qatar" real,
"total_male" real,
"total_female" real,
"grand_total" real
); | SELECT COUNT("year") FROM "registered_live_births_by_nationality_an" WHERE "qatari_male"=97; | 1-19309079-2 |
What is the national cup statistics when the Championship is 21 app / 6 goals? | CREATE TABLE "career_statistics" (
"season" text,
"club" text,
"country" text,
"championship" text,
"national_cup" text,
"international_cup" text
); | SELECT "national_cup" FROM "career_statistics" WHERE "championship"='21 app / 6 goals'; | 1-19333752-1 |
How many runner-ups when Jason Crump placed 3rd? | CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
); | SELECT COUNT("runner_up") FROM "calendar" WHERE "3rd_placed"='Jason Crump'; | 1-19317584-2 |
Where did Grzegorz Walasek place 4th? | CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
); | SELECT "city_and_venue" FROM "calendar" WHERE "4th_placed"='Grzegorz Walasek'; | 1-19317584-2 |
Who came in 3rd place in Krško , Slovenia Matije Gubca Stadium | CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
); | SELECT "3rd_placed" FROM "calendar" WHERE "city_and_venue"='Krško , Slovenia Matije Gubca Stadium'; | 1-19317584-2 |
How many placed 4th on April 25? | CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
); | SELECT COUNT("4th_placed") FROM "calendar" WHERE "date"='April 25'; | 1-19317584-2 |
What caused the collapse of the Mausoleum at Halicarnassus? | CREATE TABLE "the_seven_ancient_wonders" (
"name" text,
"date_of_construction" text,
"builder" text,
"date_of_destruction" text,
"cause_of_destruction" text,
"modern_location" text
); | SELECT "cause_of_destruction" FROM "the_seven_ancient_wonders" WHERE "name"='Mausoleum at Halicarnassus'; | 1-19342760-1 |
How was the Temple of Artemis at Ephesus destroyed? | CREATE TABLE "the_seven_ancient_wonders" (
"name" text,
"date_of_construction" text,
"builder" text,
"date_of_destruction" text,
"cause_of_destruction" text,
"modern_location" text
); | SELECT "cause_of_destruction" FROM "the_seven_ancient_wonders" WHERE "name"='Temple of Artemis at Ephesus'; | 1-19342760-1 |
Who came as a replacement in Sheffield United? | 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 "replaced_by" FROM "managerial_changes" WHERE "team"='Sheffield United'; | 1-19359427-6 |
When was the new manager of the team on 21st position appointed? | 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_appointment" FROM "managerial_changes" WHERE "position_in_table"='21st'; | 1-19359427-6 |
What was Gary Megson's manner of departure? | 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 "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='Gary Megson'; | 1-19359427-6 |
When did the old manager vacate his position in Plymouth Argyle? | 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 "team"='Plymouth Argyle'; | 1-19359427-6 |
Name the best uk team for university of birmingham | CREATE TABLE "winners" (
"year" text,
"location" text,
"class_1" text,
"best_uk_team" text,
"class_1_200" text,
"class_3" text,
"class_1a" text
); | SELECT COUNT("best_uk_team") FROM "winners" WHERE "class_1_200"='University of Birmingham'; | 1-1936678-1 |
Name the class 1-200 for university of hertfordshire for university of warwick | CREATE TABLE "winners" (
"year" text,
"location" text,
"class_1" text,
"best_uk_team" text,
"class_1_200" text,
"class_3" text,
"class_1a" text
); | SELECT "class_1_200" FROM "winners" WHERE "best_uk_team"='University of Hertfordshire' AND "class_1a"='University of Warwick'; | 1-1936678-1 |
Name the total location for dynamic events winner | CREATE TABLE "winners" (
"year" text,
"location" text,
"class_1" text,
"best_uk_team" text,
"class_1_200" text,
"class_3" text,
"class_1a" text
); | SELECT COUNT("location") FROM "winners" WHERE "class_1_200"='Dynamic Events Winner'; | 1-1936678-1 |
Name the class 3 for silverstone rmit university | CREATE TABLE "winners" (
"year" text,
"location" text,
"class_1" text,
"best_uk_team" text,
"class_1_200" text,
"class_3" text,
"class_1a" text
); | SELECT "class_3" FROM "winners" WHERE "location"='Silverstone' AND "class_1"='RMIT University'; | 1-1936678-1 |
When 4th, great lakes is the regular season what is the league? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "league" FROM "year_by_year" WHERE "regular_season"='4th, Great Lakes'; | 1-1939235-1 |
When 5th is the regular season what is the highest season? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT MAX("division") FROM "year_by_year" WHERE "regular_season"='5th'; | 1-1939235-1 |
When it's the 2nd round of the open cup what is the playoffs? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
); | SELECT "playoffs" FROM "year_by_year" WHERE "open_cup"='2nd Round'; | 1-1939235-1 |
What league has an average attendance of 1452? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"u_s_open_cup" text,
"avg_attendance" real
); | SELECT "league" FROM "year_by_year" WHERE "avg_attendance"=1452; | 1-1939202-2 |
What year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division? | CREATE TABLE "year_by_year" (
"year" real,
"division" real,
"league" text,
"regular_season" text,
"playoffs" text,
"u_s_open_cup" text,
"avg_attendance" real
); | SELECT "year" FROM "year_by_year" WHERE "league"='USL Second Division' AND "playoffs"='Semifinals' AND "u_s_open_cup"='Quarterfinals'; | 1-1939202-2 |
Name the original air date for production code of 3t7501 | CREATE TABLE "table1_19396259_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_million" text
); | SELECT COUNT("original_air_date") FROM "table1_19396259_1" WHERE "production_code"='3T7501'; | 1-19396259-1 |
Name the title directed by charles beeson by jeremy carver | CREATE TABLE "table1_19396259_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_million" text
); | SELECT "title" FROM "table1_19396259_1" WHERE "directed_by"='Charles Beeson' AND "written_by"='Jeremy Carver'; | 1-19396259-1 |
Name the directed by for production code for 3t7509 | CREATE TABLE "table1_19396259_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_million" text
); | SELECT "directed_by" FROM "table1_19396259_1" WHERE "production_code"='3T7509'; | 1-19396259-1 |
What's the season number of the episode originally aired on October 14, 2008? | CREATE TABLE "table1_19401346_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_19401346_1" WHERE "original_air_date"='October 14, 2008'; | 1-19401346-1 |
What's the title of the episode originally aired on September 23, 2008? | CREATE TABLE "table1_19401346_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 "title" FROM "table1_19401346_1" WHERE "original_air_date"='September 23, 2008'; | 1-19401346-1 |
What's the series number of the episode seen by 9.35 million people in the US? | CREATE TABLE "table1_19401346_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 MIN("no_in_series") FROM "table1_19401346_1" WHERE "u_s_viewers_millions"='9.35'; | 1-19401346-1 |
What's the title of the episode with production code 10018? | CREATE TABLE "table1_19401346_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 "title" FROM "table1_19401346_1" WHERE "production_code"=10018; | 1-19401346-1 |
How many millions of people in the US saw the episode with season number 1? | CREATE TABLE "table1_19401346_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 "u_s_viewers_millions" FROM "table1_19401346_1" WHERE "no_in_season"=1; | 1-19401346-1 |
How many places has the rank changed since 2006, for Clane? | CREATE TABLE "see_also" (
"rank_2011" real,
"change_since_2006" text,
"urban_area" text,
"county" text,
"population_2011" real,
"increase_since_2006" text
); | SELECT "change_since_2006" FROM "see_also" WHERE "urban_area"='Clane'; | 1-1940144-1 |
In what counties is the 2011 population 17908? | CREATE TABLE "see_also" (
"rank_2011" real,
"change_since_2006" text,
"urban_area" text,
"county" text,
"population_2011" real,
"increase_since_2006" text
); | SELECT "county" FROM "see_also" WHERE "population_2011"=17908; | 1-1940144-1 |
In what urban area is the 2011 population 21561? | CREATE TABLE "see_also" (
"rank_2011" real,
"change_since_2006" text,
"urban_area" text,
"county" text,
"population_2011" real,
"increase_since_2006" text
); | SELECT "urban_area" FROM "see_also" WHERE "population_2011"=21561; | 1-1940144-1 |
How many places did the rank change since 22006 for County Leitrim? | CREATE TABLE "see_also" (
"rank_2011" real,
"change_since_2006" text,
"urban_area" text,
"county" text,
"population_2011" real,
"increase_since_2006" text
); | SELECT COUNT("change_since_2006") FROM "see_also" WHERE "county"='County Leitrim'; | 1-1940144-1 |
Which urban area has a 2011 population of 5010? | CREATE TABLE "see_also" (
"rank_2011" real,
"change_since_2006" text,
"urban_area" text,
"county" text,
"population_2011" real,
"increase_since_2006" text
); | SELECT "urban_area" FROM "see_also" WHERE "population_2011"=5010; | 1-1940144-1 |
what were the result in semifinals when saengsawang ( tha ) l 9-15 was in 1/8 finals? | CREATE TABLE "table1_19398910_4" (
"athlete" text,
"class" text,
"event" text,
"bout_1" text,
"bout_2" text,
"bout_3" text,
"bout_4" text,
"bout_5" text,
"bout_6" text,
"rank" text,
"1_8_finals" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "semifinals" FROM "table1_19398910_4" WHERE "1_8_finals"='Saengsawang ( THA ) L 9-15'; | 1-19398910-4 |
wich were the events when bout 2 was zhang ( chn ) l 0-5? | CREATE TABLE "table1_19398910_4" (
"athlete" text,
"class" text,
"event" text,
"bout_1" text,
"bout_2" text,
"bout_3" text,
"bout_4" text,
"bout_5" text,
"bout_6" text,
"rank" text,
"1_8_finals" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "event" FROM "table1_19398910_4" WHERE "bout_2"='Zhang ( CHN ) L 0-5'; | 1-19398910-4 |
Which were the bout 1 when the bout 5 was andreev ( rus ) w 5-2? | CREATE TABLE "table1_19398910_4" (
"athlete" text,
"class" text,
"event" text,
"bout_1" text,
"bout_2" text,
"bout_3" text,
"bout_4" text,
"bout_5" text,
"bout_6" text,
"rank" text,
"1_8_finals" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "bout_1" FROM "table1_19398910_4" WHERE "bout_5"='Andreev ( RUS ) W 5-2'; | 1-19398910-4 |
when Sanchez ( esp ) w 5-0 were the bout 6, which were the class? | CREATE TABLE "table1_19398910_4" (
"athlete" text,
"class" text,
"event" text,
"bout_1" text,
"bout_2" text,
"bout_3" text,
"bout_4" text,
"bout_5" text,
"bout_6" text,
"rank" text,
"1_8_finals" text,
"quarterfinals" text,
"semifinals" text
); | SELECT "class" FROM "table1_19398910_4" WHERE "bout_6"='Sanchez ( ESP ) W 5-0'; | 1-19398910-4 |
How many attempts for Bobby Layne? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT MIN("attempts") FROM "team_career_passing_records" WHERE "name"='Bobby Layne'; | 1-19418696-3 |
What is the highest number of interceptions? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT MAX("interceptions") FROM "team_career_passing_records"; | 1-19418696-3 |
How many total yards for Bobby Layne? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT MAX("yards") FROM "team_career_passing_records" WHERE "name"='Bobby Layne'; | 1-19418696-3 |
Which QB had a rating of 72.3? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT "name" FROM "team_career_passing_records" WHERE "qb_rating"='72.3'; | 1-19418696-3 |
How many QB ratings for the player with 1069 completions? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT COUNT("qb_rating") FROM "team_career_passing_records" WHERE "completions"=1069; | 1-19418696-3 |
How many yardage figures for the player with 72.3 QB rating? | CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
); | SELECT COUNT("yards") FROM "team_career_passing_records" WHERE "qb_rating"='72.3'; | 1-19418696-3 |
In how many locations was the game against Barcelona Dragons played? | CREATE TABLE "table1_1941183_2" (
"week" real,
"date" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT COUNT("game_site") FROM "table1_1941183_2" WHERE "opponent"='Barcelona Dragons'; | 1-1941183-2 |
how many posiitions did saudi arabia land on | CREATE TABLE "table1_19412902_1" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" real,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT COUNT("pos") FROM "table1_19412902_1" WHERE "member_association"='Saudi Arabia'; | 1-19412902-1 |
what is the play-off in group stage 4 and clubs is 12 | CREATE TABLE "table1_19412902_1" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" real,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT "play_off" FROM "table1_19412902_1" WHERE "group_stage"=4 AND "clubs"=12; | 1-19412902-1 |
which group stage was there 0 play-offs and 12 clubs played in it | CREATE TABLE "table1_19412902_1" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" real,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT COUNT("group_stage") FROM "table1_19412902_1" WHERE "play_off"=0 AND "clubs"=12; | 1-19412902-1 |
which club in group stage 4 had member association iran | CREATE TABLE "table1_19412902_1" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" real,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT "clubs" FROM "table1_19412902_1" WHERE "group_stage"=4 AND "member_association"='Iran'; | 1-19412902-1 |
who write the episode that have 14.39 million viewers | CREATE TABLE "table1_19417244_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_19417244_2" WHERE "u_s_viewers_millions"='14.39'; | 1-19417244-2 |
how many people directed the episode that is called "dead inside" | CREATE TABLE "table1_19417244_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT COUNT("directed_by") FROM "table1_19417244_2" WHERE "title"='\"Dead Inside\"'; | 1-19417244-2 |
who directed the episode that have 14.59 million viewers | CREATE TABLE "table1_19417244_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_19417244_2" WHERE "u_s_viewers_millions"='14.59'; | 1-19417244-2 |
who write the episode 5 in no. in season | CREATE TABLE "table1_19417244_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_19417244_2" WHERE "no_in_season"=5; | 1-19417244-2 |
How many clubs are there in the Korea Republic? | CREATE TABLE "table1_19412902_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT "clubs" FROM "table1_19412902_2" WHERE "member_association"='Korea Republic'; | 1-19412902-2 |
At what position is the association with 279 points? | CREATE TABLE "table1_19412902_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT MIN("pos") FROM "table1_19412902_2" WHERE "points_total_500"=279; | 1-19412902-2 |
What is the lowest position? | CREATE TABLE "table1_19412902_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
); | SELECT MAX("pos") FROM "table1_19412902_2"; | 1-19412902-2 |
What is the earliest year a house opened? | CREATE TABLE "whanau_house_system" (
"house_name" text,
"house_mascot" text,
"house_colour" text,
"year_opened" real,
"house_leader" text
); | SELECT MIN("year_opened") FROM "whanau_house_system"; | 1-1942683-1 |
How many house colours are associated with house names of Hillary? | CREATE TABLE "whanau_house_system" (
"house_name" text,
"house_mascot" text,
"house_colour" text,
"year_opened" real,
"house_leader" text
); | SELECT COUNT("house_colour") FROM "whanau_house_system" WHERE "house_name"='Hillary'; | 1-1942683-1 |
What is the house colour associated with the house name of Kupe? | CREATE TABLE "whanau_house_system" (
"house_name" text,
"house_mascot" text,
"house_colour" text,
"year_opened" real,
"house_leader" text
); | SELECT "house_colour" FROM "whanau_house_system" WHERE "house_name"='Kupe'; | 1-1942683-1 |
How many house mascots are associated with yellow house colours? | CREATE TABLE "whanau_house_system" (
"house_name" text,
"house_mascot" text,
"house_colour" text,
"year_opened" real,
"house_leader" text
); | SELECT COUNT("house_mascot") FROM "whanau_house_system" WHERE "house_colour"='Yellow'; | 1-1942683-1 |
what is the title of the episode where b b is 20/16 | CREATE TABLE "table1_19485888_1" (
"o_o_corresponds_to_the_official_order_as_listed_by_institut_national_de_l_audiovisuel_ina_and_animez_vous_com" text,
"b_b_corresponds_to_tf1s_broadcast_schedule" text,
"title_french_english" text,
"original_beechwood_bunny_tale_source_material" text,
"air_date_france" text
); | SELECT "title_french_english" FROM "table1_19485888_1" WHERE "b_b_corresponds_to_tf1s_broadcast_schedule"='20/16'; | 1-19485888-1 |
What is the minimum losses for the Kansas City Chiefs? | CREATE TABLE "notes" (
"team" text,
"games" real,
"wins" real,
"losses" real,
"ties" real,
"win_pct" text,
"playoff_berths" real,
"division_titles" real,
"postseason_record" text,
"super_bowl_record" text
); | SELECT MIN("losses") FROM "notes" WHERE "team"='Kansas City Chiefs'; | 1-19451173-1 |
How many division titles are there when the win pc is .558? | CREATE TABLE "notes" (
"team" text,
"games" real,
"wins" real,
"losses" real,
"ties" real,
"win_pct" text,
"playoff_berths" real,
"division_titles" real,
"postseason_record" text,
"super_bowl_record" text
); | SELECT "division_titles" FROM "notes" WHERE "win_pct"='.558'; | 1-19451173-1 |
How many villages are there in the Magway region? | CREATE TABLE "administrative_divisions_regions_and_sta" (
"no" real,
"state_region" text,
"districts" real,
"town_ships" real,
"cities_towns" real,
"wards" real,
"village_groups" real,
"villages" real
); | SELECT "villages" FROM "administrative_divisions_regions_and_sta" WHERE "state_region"='Magway Region'; | 1-19457-1 |
How many townships are there in region number 2? | CREATE TABLE "administrative_divisions_regions_and_sta" (
"no" real,
"state_region" text,
"districts" real,
"town_ships" real,
"cities_towns" real,
"wards" real,
"village_groups" real,
"villages" real
); | SELECT MAX("town_ships") FROM "administrative_divisions_regions_and_sta" WHERE "no"=2; | 1-19457-1 |
How many townships are there in the region with 376 village groups? | CREATE TABLE "administrative_divisions_regions_and_sta" (
"no" real,
"state_region" text,
"districts" real,
"town_ships" real,
"cities_towns" real,
"wards" real,
"village_groups" real,
"villages" real
); | SELECT MAX("town_ships") FROM "administrative_divisions_regions_and_sta" WHERE "village_groups"=376; | 1-19457-1 |
How many poles for the Netherlands? | CREATE TABLE "by_name" (
"name" text,
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" real
); | SELECT MAX("poles") FROM "by_name" WHERE "country"='Netherlands'; | 1-19487922-1 |
How many seasons for Monaco? | CREATE TABLE "by_name" (
"name" text,
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" real
); | SELECT "seasons" FROM "by_name" WHERE "country"='Monaco'; | 1-19487922-1 |
Who is the competitor from France with 10 starts? | CREATE TABLE "by_name" (
"name" text,
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" real
); | SELECT "name" FROM "by_name" WHERE "country"='France' AND "race_entries_starts"='10'; | 1-19487922-1 |
When 1180 am is the frequency how many call signs are there? | CREATE TABLE "table1_1949746_1" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"licensee" text,
"format" text
); | SELECT COUNT("call_sign") FROM "table1_1949746_1" WHERE "frequency"='1180 AM'; | 1-1949746-1 |
When portsmouth is the city of license who is the licensee? | CREATE TABLE "table1_1949746_1" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"licensee" text,
"format" text
); | SELECT "licensee" FROM "table1_1949746_1" WHERE "city_of_license"='Portsmouth'; | 1-1949746-1 |
When 790 am is the frequency what is the format? | CREATE TABLE "table1_1949746_1" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"licensee" text,
"format" text
); | SELECT "format" FROM "table1_1949746_1" WHERE "frequency"='790 AM'; | 1-1949746-1 |
When 90.7 fm is the frequency who is the licensee? | CREATE TABLE "table1_1949746_1" (
"call_sign" text,
"frequency" text,
"city_of_license" text,
"licensee" text,
"format" text
); | SELECT "licensee" FROM "table1_1949746_1" WHERE "frequency"='90.7 FM'; | 1-1949746-1 |
How many drivers does India have/ | CREATE TABLE "by_nationality" (
"country" text,
"total_drivers" real,
"champions" real,
"championships" real,
"current_march_20_2010" real,
"first_driver_s" text,
"last_current_driver_s_march_20_2010" text
); | SELECT COUNT("total_drivers") FROM "by_nationality" WHERE "country"='India'; | 1-19487922-2 |
How many championships does Pakistan have? | CREATE TABLE "by_nationality" (
"country" text,
"total_drivers" real,
"champions" real,
"championships" real,
"current_march_20_2010" real,
"first_driver_s" text,
"last_current_driver_s_march_20_2010" text
); | SELECT COUNT("championships") FROM "by_nationality" WHERE "country"='Pakistan'; | 1-19487922-2 |
How many countries have 2 current drivers as of March 20, 2010? | CREATE TABLE "by_nationality" (
"country" text,
"total_drivers" real,
"champions" real,
"championships" real,
"current_march_20_2010" real,
"first_driver_s" text,
"last_current_driver_s_march_20_2010" text
); | SELECT COUNT("total_drivers") FROM "by_nationality" WHERE "current_march_20_2010"=2; | 1-19487922-2 |
How many current drivers, as of March 20, 2010 does Denmark have? | CREATE TABLE "by_nationality" (
"country" text,
"total_drivers" real,
"champions" real,
"championships" real,
"current_march_20_2010" real,
"first_driver_s" text,
"last_current_driver_s_march_20_2010" text
); | SELECT "current_march_20_2010" FROM "by_nationality" WHERE "country"='Denmark'; | 1-19487922-2 |
What in the minimum number of championships won by a nation? | CREATE TABLE "by_nationality" (
"country" text,
"total_drivers" real,
"champions" real,
"championships" real,
"current_march_20_2010" real,
"first_driver_s" text,
"last_current_driver_s_march_20_2010" text
); | SELECT MIN("championships") FROM "by_nationality"; | 1-19487922-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.