question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What episode did Pamela Anderson guest host. | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT COUNT("episode_number") FROM "series_7" WHERE "guest_host"='Pamela Anderson'; | 1-1590967-7 |
What song was performed when Barbara Windsor was the guest host? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "musical_guest_song_performed" FROM "series_7" WHERE "guest_host"='Barbara Windsor'; | 1-1590967-7 |
Who was the coat of cash celeb when Scott Mills and Sally Lindsay appeared? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "coat_of_cash_wearing_celebrity" FROM "series_7" WHERE "who_knows_the_most_about_the_guest_host_panelists"='Scott Mills and Sally Lindsay'; | 1-1590967-7 |
Who was on the Who knows about the host panel on 8 June 2008? | CREATE TABLE "series_7" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "who_knows_the_most_about_the_guest_host_panelists" FROM "series_7" WHERE "air_date"='8 June 2008'; | 1-1590967-7 |
Name the musical guest for panelists jermaine jackson and nora sands | CREATE TABLE "series_4" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "musical_guest_song_performed" FROM "series_4" WHERE "who_knows_the_most_about_the_guest_host_panelists"='Jermaine Jackson and Nora Sands'; | 1-1590967-4 |
Name the total number of panelists for 19 january 2007 | CREATE TABLE "series_4" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT COUNT("who_knows_the_most_about_the_guest_host_panelists") FROM "series_4" WHERE "air_date"='19 January 2007'; | 1-1590967-4 |
Name the panelists for david tennant | CREATE TABLE "series_4" (
"episode_number" real,
"air_date" text,
"guest_host" text,
"musical_guest_song_performed" text,
"who_knows_the_most_about_the_guest_host_panelists" text,
"coat_of_cash_wearing_celebrity" text
); | SELECT "who_knows_the_most_about_the_guest_host_panelists" FROM "series_4" WHERE "guest_host"='David Tennant'; | 1-1590967-4 |
What is the entry for weight in kilograms of jockey D. Nikolic? | CREATE TABLE "2007_08_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
); | SELECT "weight_kg" FROM "2007_08_season_as_a_three_year_old" WHERE "jockey"='D. Nikolic'; | 1-15926991-1 |
Which group had the time 1:11.65? | CREATE TABLE "2007_08_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
); | SELECT "group" FROM "2007_08_season_as_a_three_year_old" WHERE "time"='1:11.65'; | 1-15926991-1 |
Which horse won with a time of 1:35.98 and what was their position? | CREATE TABLE "2007_08_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"time" text,
"jockey" text,
"winner_2nd" text
); | SELECT "winner_2nd" FROM "2007_08_season_as_a_three_year_old" WHERE "time"='1:35.98'; | 1-15926991-1 |
What engine type is used in a Space Shuttle Vacuum scenario? | CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
"engine_type" text,
"scenario" text,
"sfc_in_lb_lbf_h" text,
"sfc_in_g_k_n_s" text,
"specific_impulse_s" real,
"effective_exhaust_velocity_m_s" real
); | SELECT "engine_type" FROM "specific_fuel_consumption_sfc_specific_i" WHERE "scenario"='Space shuttle vacuum'; | 1-15944-5 |
What is the effective exhaust velocity in a Space Shuttle Vacuum? | CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
"engine_type" text,
"scenario" text,
"sfc_in_lb_lbf_h" text,
"sfc_in_g_k_n_s" text,
"specific_impulse_s" real,
"effective_exhaust_velocity_m_s" real
); | SELECT COUNT("effective_exhaust_velocity_m_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "scenario"='Space shuttle vacuum'; | 1-15944-5 |
What is the maximum specific impulse with a 4423 m/s effective exhaust velocity? | CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
"engine_type" text,
"scenario" text,
"sfc_in_lb_lbf_h" text,
"sfc_in_g_k_n_s" text,
"specific_impulse_s" real,
"effective_exhaust_velocity_m_s" real
); | SELECT MAX("specific_impulse_s") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "effective_exhaust_velocity_m_s"=4423; | 1-15944-5 |
What is the SFC when the specific impulse is 453? | CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
"engine_type" text,
"scenario" text,
"sfc_in_lb_lbf_h" text,
"sfc_in_g_k_n_s" text,
"specific_impulse_s" real,
"effective_exhaust_velocity_m_s" real
); | SELECT "sfc_in_g_k_n_s" FROM "specific_fuel_consumption_sfc_specific_i" WHERE "specific_impulse_s"=453; | 1-15944-5 |
When are start dates (1st night) for the season of 1966? | CREATE TABLE "table1_159359_2" (
"no" text,
"season" text,
"start_date_1st_night" text,
"end_date_last_night" text,
"location" text,
"no_of_proms" text
); | SELECT "start_date_1st_night" FROM "table1_159359_2" WHERE "season"='1966'; | 1-159359-2 |
When are end dates (last night) for the season of 1918? | CREATE TABLE "table1_159359_2" (
"no" text,
"season" text,
"start_date_1st_night" text,
"end_date_last_night" text,
"location" text,
"no_of_proms" text
); | SELECT "end_date_last_night" FROM "table1_159359_2" WHERE "season"='1918'; | 1-159359-2 |
What is the percentage of the Labour Party on the Harris Poll | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "harris" FROM "opinion_poll_summary" WHERE "party"='Labour'; | 1-159614-2 |
On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? | CREATE TABLE "opinion_poll_summary" (
"party" text,
"marplan" text,
"gallup" text,
"national_opinion_polls_nop" text,
"opinion_research_centre_opc" text,
"harris" text
); | SELECT "opinion_research_centre_opc" FROM "opinion_poll_summary" WHERE "national_opinion_polls_nop"='1.3%'; | 1-159614-2 |
Name the del pueblo for centennial 1988 | CREATE TABLE "middle_schools_in_kyrene_sd" (
"information" text,
"akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
"altade_a" text,
"aprende" text,
"centennial" text,
"kyrene_ms" text,
"del_pueblo" text
); | SELECT "del_pueblo" FROM "middle_schools_in_kyrene_sd" WHERE "centennial"='1988'; | 1-15977768-1 |
Name the centennial for 1992 akimel | CREATE TABLE "middle_schools_in_kyrene_sd" (
"information" text,
"akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
"altade_a" text,
"aprende" text,
"centennial" text,
"kyrene_ms" text,
"del_pueblo" text
); | SELECT "centennial" FROM "middle_schools_in_kyrene_sd" WHERE "akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river"='1992'; | 1-15977768-1 |
Name the del pueblo for red/black | CREATE TABLE "middle_schools_in_kyrene_sd" (
"information" text,
"akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
"altade_a" text,
"aprende" text,
"centennial" text,
"kyrene_ms" text,
"del_pueblo" text
); | SELECT "del_pueblo" FROM "middle_schools_in_kyrene_sd" WHERE "centennial"='Red/black'; | 1-15977768-1 |
Name the centennial for location | CREATE TABLE "middle_schools_in_kyrene_sd" (
"information" text,
"akimel_a_al_the_name_is_tohono_oodham_for_children_of_the_river" text,
"altade_a" text,
"aprende" text,
"centennial" text,
"kyrene_ms" text,
"del_pueblo" text
); | SELECT "centennial" FROM "middle_schools_in_kyrene_sd" WHERE "information"='Location'; | 1-15977768-1 |
Name the host when first premiere is august 3, 2007 | CREATE TABLE "table1_1597866_3" (
"country" text,
"name" text,
"host" text,
"channel" text,
"first_premiere" text,
"regular_judge" text,
"seasons" real
); | SELECT "host" FROM "table1_1597866_3" WHERE "first_premiere"='August 3, 2007'; | 1-1597866-3 |
Name the regular judge when host is anja rubik | CREATE TABLE "table1_1597866_3" (
"country" text,
"name" text,
"host" text,
"channel" text,
"first_premiere" text,
"regular_judge" text,
"seasons" real
); | SELECT "regular_judge" FROM "table1_1597866_3" WHERE "host"='Anja Rubik'; | 1-1597866-3 |
Name the number of regular judge when host is bernie chan | CREATE TABLE "table1_1597866_3" (
"country" text,
"name" text,
"host" text,
"channel" text,
"first_premiere" text,
"regular_judge" text,
"seasons" real
); | SELECT COUNT("regular_judge") FROM "table1_1597866_3" WHERE "host"='Bernie Chan'; | 1-1597866-3 |
Name the most number for 74 runs margins | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT MAX("s_no") FROM "one_day_international" WHERE "margin"='74 runs'; | 1-1594772-2 |
Name the number of team for 35 runs margin and india winner | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT COUNT("team_b") FROM "one_day_international" WHERE "margin"='35 runs' AND "winner"='India'; | 1-1594772-2 |
Namethe team for feb 27, 1996 | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT "team_a" FROM "one_day_international" WHERE "match_date"='Feb 27, 1996'; | 1-1594772-2 |
Name the numbers for date of feb 27, 1996 | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT "s_no" FROM "one_day_international" WHERE "match_date"='Feb 27, 1996'; | 1-1594772-2 |
Name the team for oct 30, 1989 | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT "team_b" FROM "one_day_international" WHERE "match_date"='Oct 30, 1989'; | 1-1594772-2 |
Name the winner for date of nov 5, 1987 | CREATE TABLE "one_day_international" (
"s_no" real,
"team_a" text,
"team_b" text,
"winner" text,
"margin" text,
"match_date" text
); | SELECT "winner" FROM "one_day_international" WHERE "match_date"='Nov 5, 1987'; | 1-1594772-2 |
On Sept. 17, how many first downs did the oilers have? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"oilers_points" real,
"opponents" real,
"oilers_first_downs" real,
"record" text,
"attendance" real
); | SELECT COUNT("oilers_first_downs") FROM "schedule" WHERE "date"='Sept. 17'; | 1-15984957-2 |
How many games were against the los angeles rams? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"oilers_points" real,
"opponents" real,
"oilers_first_downs" real,
"record" text,
"attendance" real
); | SELECT MIN("game") FROM "schedule" WHERE "opponent"='Los Angeles Rams'; | 1-15984957-2 |
What is the annual change of GDP with a 20.5% GDP of EU in 2012? | CREATE TABLE "economic_growth" (
"member_state_sorted_by_gdp" text,
"gdp_in_s_billion_of_usd_2012" text,
"gdp_pct_of_eu_2012" text,
"annual_change_pct_of_gdp_2012" text,
"gdp_per_capita_in_ppp_us_2012" real,
"public_debt_pct_of_gdp_2013_q1" text,
"deficit_surplus_pct_of_gdp_2012" text,
"inflation_pct_annual_2012" text,
"unemp_pct_2013_m7" text
); | SELECT "annual_change_pct_of_gdp_2012" FROM "economic_growth" WHERE "gdp_pct_of_eu_2012"='20.5%'; | 1-1598533-8 |
What is the public debt % of GDP in 2013 Q1 with a 4.7% GDP of EU in 2012? | CREATE TABLE "economic_growth" (
"member_state_sorted_by_gdp" text,
"gdp_in_s_billion_of_usd_2012" text,
"gdp_pct_of_eu_2012" text,
"annual_change_pct_of_gdp_2012" text,
"gdp_per_capita_in_ppp_us_2012" real,
"public_debt_pct_of_gdp_2013_q1" text,
"deficit_surplus_pct_of_gdp_2012" text,
"inflation_pct_annual_2012" text,
"unemp_pct_2013_m7" text
); | SELECT "public_debt_pct_of_gdp_2013_q1" FROM "economic_growth" WHERE "gdp_pct_of_eu_2012"='4.7%'; | 1-1598533-8 |
What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012? | CREATE TABLE "economic_growth" (
"member_state_sorted_by_gdp" text,
"gdp_in_s_billion_of_usd_2012" text,
"gdp_pct_of_eu_2012" text,
"annual_change_pct_of_gdp_2012" text,
"gdp_per_capita_in_ppp_us_2012" real,
"public_debt_pct_of_gdp_2013_q1" text,
"deficit_surplus_pct_of_gdp_2012" text,
"inflation_pct_annual_2012" text,
"unemp_pct_2013_m7" text
); | SELECT "inflation_pct_annual_2012" FROM "economic_growth" WHERE "gdp_per_capita_in_ppp_us_2012"=24505; | 1-1598533-8 |
What are all the places where the number of perfect 40s is 0 and the average is 27.25? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" real,
"place" text,
"couple" text,
"perfect_40s" real,
"total" real,
"number_of_dances" real,
"season" real,
"average" text
); | SELECT "place" FROM "average_scores_of_all_couples" WHERE "perfect_40s"=0 AND "average"='27.25'; | 1-15988037-24 |
What is the maximum total in which the average is 28.5? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" real,
"place" text,
"couple" text,
"perfect_40s" real,
"total" real,
"number_of_dances" real,
"season" real,
"average" text
); | SELECT MAX("total") FROM "average_scores_of_all_couples" WHERE "average"='28.5'; | 1-15988037-24 |
What is the minimum number of perfect 40s? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" real,
"place" text,
"couple" text,
"perfect_40s" real,
"total" real,
"number_of_dances" real,
"season" real,
"average" text
); | SELECT MIN("perfect_40s") FROM "average_scores_of_all_couples"; | 1-15988037-24 |
When using a .375 Remington Ultra Magnum, what is the muzzle velocity? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "muzzle_velocity" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "cartridge"='.375 Remington Ultra Magnum'; | 1-16010376-1 |
What type of cartridge is used by a Weatherby? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "cartridge" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Weatherby'; | 1-16010376-1 |
What type of cartridge is used by a Winchester? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "cartridge" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Winchester'; | 1-16010376-1 |
What is the weight of the bullet used in a Weatherby? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "bullet_weight" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Weatherby'; | 1-16010376-1 |
What is the weight of the bullet used in a Remington? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "bullet_weight" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "source"='Remington'; | 1-16010376-1 |
When using a .375 Winchester, what is the muzzle energy? | CREATE TABLE "375_dakota_vs_other_375_caliber_9_5_mm_c" (
"cartridge" text,
"bullet_weight" text,
"muzzle_velocity" text,
"muzzle_energy" text,
"source" text
); | SELECT "muzzle_energy" FROM "375_dakota_vs_other_375_caliber_9_5_mm_c" WHERE "cartridge"='.375 Winchester'; | 1-16010376-1 |
Which headphone models correspond to the US MSRP of $150? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT "headphone_model" FROM "current_line_of_headphones" WHERE "us_msrp"='$150'; | 1-1601027-1 |
Which terminations correspond to a US MSRP of $49? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT "termination" FROM "current_line_of_headphones" WHERE "us_msrp"='$49'; | 1-1601027-1 |
How many headphone classes have a US MSRP of $150? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT COUNT("headphone_class") FROM "current_line_of_headphones" WHERE "us_msrp"='$150'; | 1-1601027-1 |
How many values for earpads correspond to the headphone class Prestige and a US MSRP of $79? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT COUNT("earpads") FROM "current_line_of_headphones" WHERE "headphone_class"='Prestige' AND "us_msrp"='$79'; | 1-1601027-1 |
Which headphone models have a driver-matched DB of 0.1 and a US MSRP of $49? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT "headphone_model" FROM "current_line_of_headphones" WHERE "driver_matched_d_b"='0.1' AND "us_msrp"='$49'; | 1-1601027-1 |
Which terminations correspond with headphone model SR80I? | CREATE TABLE "current_line_of_headphones" (
"headphone_model" text,
"headphone_class" text,
"driver_matched_d_b" text,
"construction" text,
"earpads" text,
"termination" text,
"us_msrp" text
); | SELECT "termination" FROM "current_line_of_headphones" WHERE "headphone_model"='SR80i'; | 1-1601027-1 |
What type are State Assemblyman | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "type" FROM "table1_1602620_1" WHERE "office"='State Assemblyman'; | 1-1602620-1 |
What type had a beginning term of December 8, 1980 | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "type" FROM "table1_1602620_1" WHERE "term_began"='December 8, 1980'; | 1-1602620-1 |
What type had an election day in 1980 | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "type" FROM "table1_1602620_1" WHERE "elected"=1980; | 1-1602620-1 |
What year did the term end for those elected in 1990 | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "term_ended" FROM "table1_1602620_1" WHERE "elected"=1990; | 1-1602620-1 |
What is the location for the office whose term ended December 2, 1976 | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "location" FROM "table1_1602620_1" WHERE "term_ended"='December 2, 1976'; | 1-1602620-1 |
What year did the term end for the office elected in 1984 | CREATE TABLE "table1_1602620_1" (
"office" text,
"type" text,
"location" text,
"elected" real,
"term_began" text,
"term_ended" text
); | SELECT "term_ended" FROM "table1_1602620_1" WHERE "elected"=1984; | 1-1602620-1 |
What was the record on October 8, 1989? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "date"='October 8, 1989'; | 1-16028499-2 |
Where was the game site on October 29, 1989? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "schedule" WHERE "date"='October 29, 1989'; | 1-16028499-2 |
What was the minimum attendance against the New Orleans Saints? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "opponent"='New Orleans Saints'; | 1-16028499-2 |
What was the result of week 2? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "result" FROM "schedule" WHERE "week"=2; | 1-16028499-2 |
What date did the team play the New York Jets? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "opponent"='New York Jets'; | 1-16028499-2 |
What was the minimum crowd on January 24, 1987? | CREATE TABLE "game_log" (
"num" real,
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
); | SELECT MIN("attendance") FROM "game_log" WHERE "date"='January 24, 1987'; | 1-16025095-1 |
How many millions of viewers were there for the episode with a run time of 18:00? | CREATE TABLE "table1_1601935_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
); | SELECT "viewers_in_millions" FROM "table1_1601935_1" WHERE "run_time"='18:00'; | 1-1601935-1 |
What was the archive for episode with 6.6 million viewers? | CREATE TABLE "table1_1601935_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
); | SELECT "archive" FROM "table1_1601935_1" WHERE "viewers_in_millions"='6.6'; | 1-1601935-1 |
When is the latest game the bills had 21 first downs | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT MIN("game") FROM "schedule" WHERE "bills_first_downs"=21; | 1-16028459-2 |
How many first downs did the bills have when their opponent had 6 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT MIN("bills_first_downs") FROM "schedule" WHERE "opponents"=6; | 1-16028459-2 |
How many points did the bills score when their opponent had 14 | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT "bills_points" FROM "schedule" WHERE "opponents"=14; | 1-16028459-2 |
What is the minimum number of points given up to the Baltimore Colts | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT MIN("opponents") FROM "schedule" WHERE "opponent"='Baltimore Colts'; | 1-16028459-2 |
Who was the runner-up in the Memorial Tournament? | CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "pga_tour_wins_8" WHERE "tournament"='Memorial Tournament'; | 1-1602858-1 |
What was the winning score for the tournament with runner-up Rory Sabbatini? | CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_8" WHERE "runner_s_up"='Rory Sabbatini'; | 1-1602858-1 |
What was the margin of victory with the winning score "63-68-68-68=267"? | CREATE TABLE "pga_tour_wins_8" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "pga_tour_wins_8" WHERE "winning_score"='63-68-68-68=267'; | 1-1602858-1 |
Name the least position | CREATE TABLE "2_lyga_zone_north" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("position") FROM "2_lyga_zone_north"; | 1-16034882-5 |
Name the most goals scored for position 4 | CREATE TABLE "2_lyga_zone_north" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("goals_scored") FROM "2_lyga_zone_north" WHERE "position"=4; | 1-16034882-5 |
What is the name of the bowl game that was played in Tempe, Arizona? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "bowl_game" FROM "bowl_games" WHERE "city"='Tempe, Arizona'; | 1-16046689-29 |
What city in the Citrus Bowl aired on ABC? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "city" FROM "bowl_games" WHERE "stadium"='Citrus Bowl' AND "television"='ABC'; | 1-16046689-29 |
What teams played in the Capital One bowl game on January 1, 2009? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "conference_matchups" FROM "bowl_games" WHERE "date"='January 1, 2009' AND "bowl_game"='Capital One'; | 1-16046689-29 |
Which stadium has a payout of $3 million? | CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"city" text,
"television" text,
"conference_matchups" text,
"payout_us" text
); | SELECT "stadium" FROM "bowl_games" WHERE "payout_us"='$3 Million'; | 1-16046689-29 |
What is the largest population in regions where the average family size is 2.8 people? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT MAX("number_of_people") FROM "table1_16048129_5" WHERE "average_family_size"='2.8'; | 1-16048129-5 |
What is the total number of regions where the average family size is 2.8? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT COUNT("pct_of_total_deportees") FROM "table1_16048129_5" WHERE "average_family_size"='2.8'; | 1-16048129-5 |
What regions of the USSR have a percentage of deportees of 10.6? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT "region_of_ussr" FROM "table1_16048129_5" WHERE "pct_of_total_deportees"='10.6'; | 1-16048129-5 |
What is the most number of families in regions where average family size is 2.7? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT MAX("number_of_families") FROM "table1_16048129_5" WHERE "average_family_size"='2.7'; | 1-16048129-5 |
How many total families are there in regions with 5.8 percent of the population being made up of deportees? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT COUNT("number_of_families") FROM "table1_16048129_5" WHERE "pct_of_total_deportees"='5.8'; | 1-16048129-5 |
What is the most number of families among regions where the population is made up of 5.8% deportees? | CREATE TABLE "table1_16048129_5" (
"region_of_ussr" text,
"number_of_families" real,
"number_of_people" real,
"average_family_size" text,
"pct_of_total_deportees" text
); | SELECT MAX("number_of_families") FROM "table1_16048129_5" WHERE "pct_of_total_deportees"='5.8'; | 1-16048129-5 |
Which operator runs the Mamariga shuttle line? | CREATE TABLE "table1_1603807_2" (
"line" text,
"terminals" text,
"status" text,
"length" text,
"total_number_of_stations" real,
"operator" text
); | SELECT "operator" FROM "table1_1603807_2" WHERE "line"='Mamariga Shuttle'; | 1-1603807-2 |
How many lengths of line 3 are given? | CREATE TABLE "table1_1603807_2" (
"line" text,
"terminals" text,
"status" text,
"length" text,
"total_number_of_stations" real,
"operator" text
); | SELECT COUNT("length") FROM "table1_1603807_2" WHERE "line"='Line 3'; | 1-1603807-2 |
What are the terminals for line 2? | CREATE TABLE "table1_1603807_2" (
"line" text,
"terminals" text,
"status" text,
"length" text,
"total_number_of_stations" real,
"operator" text
); | SELECT "terminals" FROM "table1_1603807_2" WHERE "line"='Line 2'; | 1-1603807-2 |
What is the status of the airport line? | CREATE TABLE "table1_1603807_2" (
"line" text,
"terminals" text,
"status" text,
"length" text,
"total_number_of_stations" real,
"operator" text
); | SELECT "status" FROM "table1_1603807_2" WHERE "line"='Airport Line'; | 1-1603807-2 |
Name the total number of hangul chosongul for 8,352 | CREATE TABLE "provinces_since_the_division_of_korea" (
"rr_romaja" text,
"m_r_romaja" text,
"hangul_chosongul" text,
"hanja" text,
"iso" text,
"area" text,
"capital" text,
"region" text,
"country" text
); | SELECT COUNT("hangul_chosongul") FROM "provinces_since_the_division_of_korea" WHERE "area"='8,352'; | 1-160510-5 |
Name the iso for chungcheongnam | CREATE TABLE "provinces_since_the_division_of_korea" (
"rr_romaja" text,
"m_r_romaja" text,
"hangul_chosongul" text,
"hanja" text,
"iso" text,
"area" text,
"capital" text,
"region" text,
"country" text
); | SELECT "iso" FROM "provinces_since_the_division_of_korea" WHERE "rr_romaja"='Chungcheongnam'; | 1-160510-5 |
Name the country for 11,891 area | CREATE TABLE "provinces_since_the_division_of_korea" (
"rr_romaja" text,
"m_r_romaja" text,
"hangul_chosongul" text,
"hanja" text,
"iso" text,
"area" text,
"capital" text,
"region" text,
"country" text
); | SELECT "country" FROM "provinces_since_the_division_of_korea" WHERE "area"='11,891'; | 1-160510-5 |
Name the number of region for 경상남도 | CREATE TABLE "provinces_since_the_division_of_korea" (
"rr_romaja" text,
"m_r_romaja" text,
"hangul_chosongul" text,
"hanja" text,
"iso" text,
"area" text,
"capital" text,
"region" text,
"country" text
); | SELECT COUNT("region") FROM "provinces_since_the_division_of_korea" WHERE "hangul_chosongul"='경상남도'; | 1-160510-5 |
Name the m r romaja for kwanbuk | CREATE TABLE "provinces_since_the_division_of_korea" (
"rr_romaja" text,
"m_r_romaja" text,
"hangul_chosongul" text,
"hanja" text,
"iso" text,
"area" text,
"capital" text,
"region" text,
"country" text
); | SELECT "m_r_romaja" FROM "provinces_since_the_division_of_korea" WHERE "region"='Kwanbuk'; | 1-160510-5 |
Name the population density where population % is 1.1% for slovakia | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" text,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" text
); | SELECT "pop_density_people_km_2" FROM "area_and_population" WHERE "population_pct_of_eu"='1.1%' AND "member_state"='Slovakia'; | 1-1606824-1 |
Name the population density people where population % eu for 1.7% | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" text,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" text
); | SELECT COUNT("pop_density_people_km_2") FROM "area_and_population" WHERE "population_pct_of_eu"='1.7%'; | 1-1606824-1 |
Name the number of area km 2 for population density is 87 | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" text,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" text
); | SELECT COUNT("area_km_2") FROM "area_and_population" WHERE "pop_density_people_km_2"='87'; | 1-1606824-1 |
Name the population % of eu for greece | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" text,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" text
); | SELECT "population_pct_of_eu" FROM "area_and_population" WHERE "member_state"='Greece'; | 1-1606824-1 |
How many networks are there that have a channel number 7? | CREATE TABLE "table1_160728_4" (
"channel" real,
"band" text,
"video_frequency" text,
"audio_frequency" text,
"station" text,
"network" text,
"transmission" text,
"format" text,
"status" text
); | SELECT COUNT("network") FROM "table1_160728_4" WHERE "channel"=7; | 1-160728-4 |
What station on the network is tv3? | CREATE TABLE "table1_160728_4" (
"channel" real,
"band" text,
"video_frequency" text,
"audio_frequency" text,
"station" text,
"network" text,
"transmission" text,
"format" text,
"status" text
); | SELECT "network" FROM "table1_160728_4" WHERE "station"='TV3'; | 1-160728-4 |
What year was the team named the Raiders established? | CREATE TABLE "division_ii" (
"institution" text,
"location" text,
"founded" real,
"affiliation" text,
"enrollment" real,
"team_nickname" text,
"primary_conference" text
); | SELECT MAX("founded") FROM "division_ii" WHERE "team_nickname"='Raiders'; | 1-16078390-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.