question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the source for Zares at 8.6%? | CREATE TABLE "opinion_polls" (
"source" text,
"date" text,
"de_sus" text,
"zares" text,
"nlpd" text
); | SELECT "source" FROM "opinion_polls" WHERE "zares"='8.6%'; | 2-15125225-2 |
What is the source corresponding to a date of May 25–27? | CREATE TABLE "opinion_polls" (
"source" text,
"date" text,
"de_sus" text,
"zares" text,
"nlpd" text
); | SELECT "source" FROM "opinion_polls" WHERE "date"='may 25–27'; | 2-15125225-2 |
What song is done by Terence Trent D'Arby? | CREATE TABLE "see_also" (
"volume_issue" text,
"issue_date_s" text,
"weeks_on_top" real,
"song" text,
"artist" text
); | SELECT "song" FROM "see_also" WHERE "artist"='terence trent d''arby'; | 2-15303169-1 |
What was the Result on October 27, 2002? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='october 27, 2002'; | 2-14609503-1 |
in riyadh, saudi arabia, what is the score? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "venue"='riyadh, saudi arabia'; | 2-1360541-1 |
Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimoré Municipality (%) of 5.1, and an Entre Ríos Municipality (%) smaller than 0.9? | CREATE TABLE "the_people" (
"ethnic_group" text,
"totora_municipality_pct" real,
"pojo_municipality_pct" real,
"pocona_municipality_pct" real,
"chimor_municipality_pct" real,
"puerto_villarroel_municipality_pct" real,
"entre_r_os_municipality_pct" real
); | SELECT MIN("pocona_municipality_pct") FROM "the_people" WHERE "puerto_villarroel_municipality_pct"<14.6 AND "chimor_municipality_pct"=5.1 AND "entre_r_os_municipality_pct"<0.9; | 2-14279071-2 |
Which Puerto Villarroel Municipality (%) is the lowest one that has an Ethnic group of not indigenous, and a Totora Municipality (%) smaller than 4.4? | CREATE TABLE "the_people" (
"ethnic_group" text,
"totora_municipality_pct" real,
"pojo_municipality_pct" real,
"pocona_municipality_pct" real,
"chimor_municipality_pct" real,
"puerto_villarroel_municipality_pct" real,
"entre_r_os_municipality_pct" real
); | SELECT MIN("puerto_villarroel_municipality_pct") FROM "the_people" WHERE "ethnic_group"='not indigenous' AND "totora_municipality_pct"<4.4; | 2-14279071-2 |
Which Pocona Municipality (%) has a Puerto Villarroel Municipality (%) larger than 14.6, and a Pojo Municipality (%) smaller than 88.5? | CREATE TABLE "the_people" (
"ethnic_group" text,
"totora_municipality_pct" real,
"pojo_municipality_pct" real,
"pocona_municipality_pct" real,
"chimor_municipality_pct" real,
"puerto_villarroel_municipality_pct" real,
"entre_r_os_municipality_pct" real
); | SELECT SUM("pocona_municipality_pct") FROM "the_people" WHERE "puerto_villarroel_municipality_pct">14.6 AND "pojo_municipality_pct"<88.5; | 2-14279071-2 |
Which Totora Municipality (%) is the highest one that has a Chimoré Municipality (%) of 5.1, and a Pocona Municipality (%) smaller than 0.2? | CREATE TABLE "the_people" (
"ethnic_group" text,
"totora_municipality_pct" real,
"pojo_municipality_pct" real,
"pocona_municipality_pct" real,
"chimor_municipality_pct" real,
"puerto_villarroel_municipality_pct" real,
"entre_r_os_municipality_pct" real
); | SELECT MAX("totora_municipality_pct") FROM "the_people" WHERE "chimor_municipality_pct"=5.1 AND "pocona_municipality_pct"<0.2; | 2-14279071-2 |
Which Pos has a Car # smaller than 18, and a Driver of mike skinner? | CREATE TABLE "camping_world_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT AVG("pos") FROM "camping_world_200" WHERE "car_num"<18 AND "driver"='mike skinner'; | 2-14292964-20 |
Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner? | CREATE TABLE "camping_world_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT "team" FROM "camping_world_200" WHERE "pos">3 AND "make"='toyota' AND "car_num"<59 AND "driver"='mike skinner'; | 2-14292964-20 |
Which Pos has a Team of roush fenway racing, and a Car # of 99? | CREATE TABLE "camping_world_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT SUM("pos") FROM "camping_world_200" WHERE "team"='roush fenway racing' AND "car_num"=99; | 2-14292964-20 |
Which Car # has a Make of toyota, and a Pos of 7? | CREATE TABLE "camping_world_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT AVG("car_num") FROM "camping_world_200" WHERE "make"='toyota' AND "pos"=7; | 2-14292964-20 |
Which Pos has a Team of germian racing? | CREATE TABLE "camping_world_200" (
"pos" real,
"car_num" real,
"driver" text,
"make" text,
"team" text
); | SELECT "pos" FROM "camping_world_200" WHERE "team"='germian racing'; | 2-14292964-20 |
Which Opponent has a Score of 2–6? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT "opponent" FROM "playoffs" WHERE "score"='2–6'; | 2-14208855-10 |
Which Game has a Series of flyers win 3–0? Question 3 | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT MAX("game") FROM "playoffs" WHERE "series"='flyers win 3–0'; | 2-14208855-10 |
Which Series is on april 18? | CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
); | SELECT "series" FROM "playoffs" WHERE "date"='april 18'; | 2-14208855-10 |
Name the date with score of 9-2 | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='9-2'; | 2-14269540-9 |
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern? | CREATE TABLE "liberec" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT MAX("points") FROM "liberec" WHERE "nationality"='aut' AND "name"='thomas morgenstern'; | 2-14407512-19 |
Which Name has a 2nd (m) larger than 128.5, and Points of 260.8? | CREATE TABLE "liberec" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT "name" FROM "liberec" WHERE "2nd_m">128.5 AND "points"=260.8; | 2-14407512-19 |
What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines? | CREATE TABLE "completed_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"turbines" real,
"turbine_vendor" text,
"size_mw" text,
"county" text
); | SELECT SUM("capacity_mw") FROM "completed_onshore_wind_farms" WHERE "size_mw"='0.85' AND "wind_farm"='carrigh' AND "turbines">3; | 2-14101606-1 |
What is the size of the windfarm in wexford that has more than 19 turbines and a vendor of Enercon? | CREATE TABLE "completed_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"turbines" real,
"turbine_vendor" text,
"size_mw" text,
"county" text
); | SELECT "size_mw" FROM "completed_onshore_wind_farms" WHERE "turbines">19 AND "turbine_vendor"='enercon' AND "county"='wexford'; | 2-14101606-1 |
Who is the turbine vendor for Meenadreen in Donegal county with less than 6 turbines with a size of 0.85 MW? | CREATE TABLE "completed_onshore_wind_farms" (
"wind_farm" text,
"capacity_mw" real,
"turbines" real,
"turbine_vendor" text,
"size_mw" text,
"county" text
); | SELECT "turbine_vendor" FROM "completed_onshore_wind_farms" WHERE "turbines"<6 AND "county"='donegal' AND "size_mw"='0.85' AND "wind_farm"='meenadreen'; | 2-14101606-1 |
What is the population where the rank is higher than 51 and the Median House-hold income is $25,250? | CREATE TABLE "new_mexico_places_ranked_by_per_capita_i" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT SUM("population") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "rank">51 AND "median_house_hold_income"='$25,250'; | 2-1363705-2 |
What is the Population where the Median House-hold Income is $25,016? | CREATE TABLE "new_mexico_places_ranked_by_per_capita_i" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT MIN("population") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "median_house_hold_income"='$25,016'; | 2-1363705-2 |
What is the Number of Households that have a Per Capita Income of $21,345? | CREATE TABLE "new_mexico_places_ranked_by_per_capita_i" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT AVG("number_of_households") FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "per_capita_income"='$21,345'; | 2-1363705-2 |
What County has a Median Family Income of $79,331? | CREATE TABLE "new_mexico_places_ranked_by_per_capita_i" (
"rank" real,
"place" text,
"county" text,
"per_capita_income" text,
"median_house_hold_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real
); | SELECT "county" FROM "new_mexico_places_ranked_by_per_capita_i" WHERE "median_family_income"='$79,331'; | 2-1363705-2 |
The United States, with a total medal count of less than 171, and a bronze medal count less than 9, has how many gold medals? | CREATE TABLE "world_championships_total_medals" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "world_championships_total_medals" WHERE "total"<171 AND "nation"='united states' AND "bronze"<9; | 2-1354148-5 |
How many total gold medals did Australia receive? | CREATE TABLE "world_championships_total_medals" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "world_championships_total_medals" WHERE "nation"='australia'; | 2-1354148-5 |
How many total bronze medals did Canada receive? | CREATE TABLE "world_championships_total_medals" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "world_championships_total_medals" WHERE "nation"='canada'; | 2-1354148-5 |
How many total gold medals did India receive? | CREATE TABLE "world_championships_total_medals" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "gold" FROM "world_championships_total_medals" WHERE "nation"='india'; | 2-1354148-5 |
Which 1997's accompanying 1991 was a when the tournament was the australian open? | CREATE TABLE "mixed_doubles" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"career_w_l" text
); | SELECT "1997" FROM "mixed_doubles" WHERE "1991"='a' AND "tournament"='australian open'; | 2-15096976-10 |
Which 1997's 1992 was 1r when 1994 was a? | CREATE TABLE "mixed_doubles" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"career_w_l" text
); | SELECT "1997" FROM "mixed_doubles" WHERE "1992"='1r' AND "1994"='a'; | 2-15096976-10 |
Which 1995's tournament was the French Open? | CREATE TABLE "mixed_doubles" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"career_w_l" text
); | SELECT "1995" FROM "mixed_doubles" WHERE "tournament"='french open'; | 2-15096976-10 |
Which 1989's 1991 and 1994 stats were 1r? | CREATE TABLE "mixed_doubles" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"career_w_l" text
); | SELECT "1989" FROM "mixed_doubles" WHERE "1991"='1r' AND "1994"='1r'; | 2-15096976-10 |
Which 1990s 1992 was 3r? | CREATE TABLE "mixed_doubles" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"career_w_l" text
); | SELECT "1990" FROM "mixed_doubles" WHERE "1992"='3r'; | 2-15096976-10 |
Which Linda McCartney has a Stuart of electric guitar? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "linda_mc_cartney" FROM "instruments_played_by_band_members" WHERE "stuart"='electric guitar'; | 2-14936656-2 |
Which Whitten has a Stuart of bass, and a Paul McCartney of electric guitar? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "whitten" FROM "instruments_played_by_band_members" WHERE "stuart"='bass' AND "paul_mc_cartney"='electric guitar'; | 2-14936656-2 |
Which McIntosh has a Whitten of drums, and a Stuart of bass, and a Paul McCartney of electric guitar? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "mc_intosh" FROM "instruments_played_by_band_members" WHERE "whitten"='drums' AND "stuart"='bass' AND "paul_mc_cartney"='electric guitar'; | 2-14936656-2 |
Which Paul McCartney has a Linda McCartney of keyboards? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "paul_mc_cartney" FROM "instruments_played_by_band_members" WHERE "linda_mc_cartney"='keyboards'; | 2-14936656-2 |
Which McIntosh has a Stuart of bass, and a Linda McCartney of keyboards or drum? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "mc_intosh" FROM "instruments_played_by_band_members" WHERE "stuart"='bass' AND "linda_mc_cartney"='keyboards or drum'; | 2-14936656-2 |
Which Paul McCartney has a Linda McCartney of keyboards or drum? | CREATE TABLE "instruments_played_by_band_members" (
"paul_mc_cartney" text,
"stuart" text,
"mc_intosh" text,
"whitten" text,
"linda_mc_cartney" text
); | SELECT "paul_mc_cartney" FROM "instruments_played_by_band_members" WHERE "linda_mc_cartney"='keyboards or drum'; | 2-14936656-2 |
What is the largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "superbike_race_2_classification" WHERE "bike"='honda cbr1000rr' AND "time"='+20.848' AND "laps">24; | 2-13628822-2 |
D'Oyly Carte 1920 Tour of hugh enes blackmore is what D'Oyly Carte 1930 Tour? | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1930_tour" FROM "historical_casting" WHERE "d_oyly_carte_1920_tour"='hugh enes blackmore'; | 2-148386-3 |
D'Oyly Carte 1939 Tour of richard walker involves what D'Oyly Carte 1945 Tour? | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1945_tour" FROM "historical_casting" WHERE "d_oyly_carte_1939_tour"='richard walker'; | 2-148386-3 |
D'Oyly Carte 1920 Tour of james turnbull is what D'Oyly Carte 1945 Tour? | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1945_tour" FROM "historical_casting" WHERE "d_oyly_carte_1920_tour"='james turnbull'; | 2-148386-3 |
Role of wilfred is what D'Oyly Carte 1945 Tour? | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1945_tour" FROM "historical_casting" WHERE "role"='wilfred'; | 2-148386-3 |
D'Oyly Carte 1939 Tour of sydney granville had what D'Oyly Carte 1950 Tour | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1950_tour" FROM "historical_casting" WHERE "d_oyly_carte_1939_tour"='sydney granville'; | 2-148386-3 |
D'Oyly Carte 1930 Tour of john dean involved what D'Oyly Carte 1945 Tour? | CREATE TABLE "historical_casting" (
"role" text,
"d_oyly_carte_1920_tour" text,
"d_oyly_carte_1930_tour" text,
"d_oyly_carte_1939_tour" text,
"d_oyly_carte_1945_tour" text,
"d_oyly_carte_1950_tour" text
); | SELECT "d_oyly_carte_1945_tour" FROM "historical_casting" WHERE "d_oyly_carte_1930_tour"='john dean'; | 2-148386-3 |
The nation of denmark has what average total nad more than 0 gold? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medal_table" WHERE "nation"='denmark' AND "gold">0; | 2-15116860-1 |
Switzerland has how many gold and less than 0 silver? | CREATE TABLE "medal_table" (
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("gold") FROM "medal_table" WHERE "nation"='switzerland' AND "silver"<0; | 2-15116860-1 |
How many wins does the player ranked lower than 3 with earnings of $3,315,502 have? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT SUM("wins") FROM "leaders" WHERE "rank">3 AND "earnings">'3,315,502'; | 2-14640069-4 |
What is the highest number of wins of the player with less than $4,976,980 in earnings and a rank lower than 4? | CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
); | SELECT MAX("wins") FROM "leaders" WHERE "earnings"<'4,976,980' AND "rank">4; | 2-14640069-4 |
How many years had a score of 734-5d? | CREATE TABLE "highest_lancashire_totals" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT COUNT("year") FROM "highest_lancashire_totals" WHERE "score"='734-5d'; | 2-14176339-1 |
Which venue had a city of Manchester before 2003? | CREATE TABLE "highest_lancashire_totals" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "venue" FROM "highest_lancashire_totals" WHERE "city"='manchester' AND "year"<2003; | 2-14176339-1 |
Which venue had a city of Manchester in 2003? | CREATE TABLE "highest_lancashire_totals" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "venue" FROM "highest_lancashire_totals" WHERE "city"='manchester' AND "year"=2003; | 2-14176339-1 |
Which venue had a score of 734-5d? | CREATE TABLE "highest_lancashire_totals" (
"score" text,
"opposition" text,
"venue" text,
"city" text,
"year" real
); | SELECT "venue" FROM "highest_lancashire_totals" WHERE "score"='734-5d'; | 2-14176339-1 |
What is the average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_5") FROM "summary" WHERE "top_10"=5 AND "cuts_made"<12; | 2-1516564-12 |
What is the average number of top-10s for the major with 2 top-25s and fewer than 10 cuts made? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_10") FROM "summary" WHERE "top_25"=2 AND "cuts_made"<10; | 2-1516564-12 |
What is the total number of top-25s for the major that has 11 top-10s? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("top_25") FROM "summary" WHERE "top_10"=11; | 2-1516564-12 |
How many total events have cuts made over 12, more than 2 top-5s, and more than 11 top-10s? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("events") FROM "summary" WHERE "cuts_made">12 AND "top_5">2 AND "top_10">11; | 2-1516564-12 |
How many total wins are associated with events with 1 top-10? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("wins") FROM "summary" WHERE "top_10"=1; | 2-1516564-12 |
What is the average number of cuts made in events with fewer than 1 win and exactly 11 top-10s? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("cuts_made") FROM "summary" WHERE "top_10"=11 AND "wins"<1; | 2-1516564-12 |
What week did they have a bye? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "date"='bye'; | 2-13982802-1 |
What tournament in 2006 had a score of 0-0? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2006"='0-0'; | 2-15272343-5 |
What was the highest number of extra points scored by Albert Herrnstein, when he scored more than 15 points total? | CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MAX("extra_points") FROM "michigan_63_oberlin_0" WHERE "player"='albert herrnstein' AND "points">15; | 2-14342367-11 |
How many touchdowns were scored by William Cole? | CREATE TABLE "michigan_63_oberlin_0" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT "touchdowns" FROM "michigan_63_oberlin_0" WHERE "player"='william cole'; | 2-14342367-11 |
For the game with 26,236 attendance, what was the record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance"='26,236'; | 2-14250040-9 |
What's the record for the game with an attendance of 49,222? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "attendance"='49,222'; | 2-14250040-9 |
Who had the most rebounds and how many did he have during the game on June 11? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "high_rebounds" FROM "game_log" WHERE "date"='june 11'; | 2-13619027-14 |
Who was the leading scorer and how many did he score for the game on June 13? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
); | SELECT "high_points" FROM "game_log" WHERE "date"='june 13'; | 2-13619027-14 |
What College/Junior/Club Team has Pick 50 before Round 8? | CREATE TABLE "nhl_amateur_draft" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college_junior_club_team" text
); | SELECT "college_junior_club_team" FROM "nhl_amateur_draft" WHERE "round"<8 AND "pick"=50; | 2-14038705-1 |
What is the highest overall prior to 1996 with a slalom of 39? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" real,
"downhill" text,
"combined" text
); | SELECT MAX("overall") FROM "season_standings" WHERE "slalom"='39' AND "season"<1996; | 2-1489417-1 |
What is the lowest overall score prior to 1992 with a downhill score of 1? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" real,
"downhill" text,
"combined" text
); | SELECT MIN("overall") FROM "season_standings" WHERE "downhill"='1' AND "season"<1992; | 2-1489417-1 |
What was her Giant Slalom score when her Overall was greater than 3 and her Super G score was 12? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" real,
"downhill" text,
"combined" text
); | SELECT "giant_slalom" FROM "season_standings" WHERE "overall">3 AND "super_g"=12; | 2-1489417-1 |
What was her highest Super G score with a Slalom score of 58 and an Overall larger than 2? | CREATE TABLE "season_standings" (
"season" real,
"overall" real,
"slalom" text,
"giant_slalom" real,
"super_g" real,
"downhill" text,
"combined" text
); | SELECT MAX("super_g") FROM "season_standings" WHERE "slalom"='58' AND "overall">2; | 2-1489417-1 |
What location has the name of Sakakita BS? | CREATE TABLE "list_of_interchanges_and_features" (
"name" text,
"dist_from_origin" text,
"dist_from_terminus" text,
"speed_limit" text,
"location_all_in_nagano" text
); | SELECT "location_all_in_nagano" FROM "list_of_interchanges_and_features" WHERE "name"='sakakita bs'; | 2-13662243-1 |
Which location includes Sakakita BS? | CREATE TABLE "list_of_interchanges_and_features" (
"name" text,
"dist_from_origin" text,
"dist_from_terminus" text,
"speed_limit" text,
"location_all_in_nagano" text
); | SELECT "location_all_in_nagano" FROM "list_of_interchanges_and_features" WHERE "name"='sakakita bs'; | 2-13662243-1 |
What is the distance from origin in Azumino including Toyoshina IC? | CREATE TABLE "list_of_interchanges_and_features" (
"name" text,
"dist_from_origin" text,
"dist_from_terminus" text,
"speed_limit" text,
"location_all_in_nagano" text
); | SELECT "dist_from_origin" FROM "list_of_interchanges_and_features" WHERE "location_all_in_nagano"='azumino' AND "name"='toyoshina ic'; | 2-13662243-1 |
Which district had first elected earlier than 2006 for representation of Broken Arrow, Tulsa? | CREATE TABLE "senate" (
"district" text,
"name" text,
"party" text,
"hometown" text,
"first_elected" real,
"towns_represented" text
); | SELECT "district" FROM "senate" WHERE "first_elected"<2006 AND "towns_represented"='broken arrow, tulsa'; | 2-14650502-1 |
How many values of first elected are for district 16? | CREATE TABLE "senate" (
"district" text,
"name" text,
"party" text,
"hometown" text,
"first_elected" real,
"towns_represented" text
); | SELECT COUNT("first_elected") FROM "senate" WHERE "district"='16'; | 2-14650502-1 |
Which towns are represented in district 31? | CREATE TABLE "senate" (
"district" text,
"name" text,
"party" text,
"hometown" text,
"first_elected" real,
"towns_represented" text
); | SELECT "towns_represented" FROM "senate" WHERE "district"='31'; | 2-14650502-1 |
How many deposits had a Non-Interest Income of 0.9500000000000001 and number of branch/offices less than 17? | CREATE TABLE "financial_comparisons_between_top_10_ban" (
"bank" text,
"asset" real,
"loans" real,
"npl_net" text,
"deposits" real,
"net_interest_income" real,
"non_interest_income" real,
"net_profit" real,
"no_of_employees" text,
"no_of_branches_offices" real,
"no_of_at_ms" text
); | SELECT COUNT("deposits") FROM "financial_comparisons_between_top_10_ban" WHERE "non_interest_income"=0.9500000000000001 AND "no_of_branches_offices"<17; | 2-15054445-2 |
Which NPL net's bank was citibank? | CREATE TABLE "financial_comparisons_between_top_10_ban" (
"bank" text,
"asset" real,
"loans" real,
"npl_net" text,
"deposits" real,
"net_interest_income" real,
"non_interest_income" real,
"net_profit" real,
"no_of_employees" text,
"no_of_branches_offices" real,
"no_of_at_ms" text
); | SELECT "npl_net" FROM "financial_comparisons_between_top_10_ban" WHERE "bank"='citibank'; | 2-15054445-2 |
Which championship has a winning score of (77-76-74-73=300)? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "championship" FROM "wins_5" WHERE "winning_score"='(77-76-74-73=300)'; | 2-1516353-1 |
Which championship has a margin of 8 strokes? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "championship" FROM "wins_5" WHERE "margin"='8 strokes'; | 2-1516353-1 |
Which championship has a 5 shot lead for 54 holes? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "championship" FROM "wins_5" WHERE "54_holes"='5 shot lead'; | 2-1516353-1 |
What is the 54 holes for The Open Championship (4)? | CREATE TABLE "wins_5" (
"year" real,
"championship" text,
"54_holes" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "54_holes" FROM "wins_5" WHERE "championship"='the open championship (4)'; | 2-1516353-1 |
Which Tournament has a 2007 of wta premier 5 tournaments? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2007"='wta premier 5 tournaments'; | 2-15272343-6 |
Which Tournament was played in NH in 2011? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2011"='nh'; | 2-15272343-6 |
Which Tournament has a 2010 of 2r, and a 2011 of 1r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2010"='2r' AND "2011"='1r'; | 2-15272343-6 |
When was Color of green first issued? | CREATE TABLE "banknotes" (
"value" text,
"color" text,
"obverse" text,
"reverse" text,
"first_issued" real
); | SELECT MIN("first_issued") FROM "banknotes" WHERE "color"='green'; | 2-1354940-2 |
When was Color of green last issued? | CREATE TABLE "banknotes" (
"value" text,
"color" text,
"obverse" text,
"reverse" text,
"first_issued" real
); | SELECT MAX("first_issued") FROM "banknotes" WHERE "color"='green'; | 2-1354940-2 |
What reverse has a color of green? | CREATE TABLE "banknotes" (
"value" text,
"color" text,
"obverse" text,
"reverse" text,
"first_issued" real
); | SELECT "reverse" FROM "banknotes" WHERE "color"='green'; | 2-1354940-2 |
How much was a Reverse of guitar of agustín pío barrios before 1998? | CREATE TABLE "banknotes" (
"value" text,
"color" text,
"obverse" text,
"reverse" text,
"first_issued" real
); | SELECT "value" FROM "banknotes" WHERE "first_issued"<1998 AND "reverse"='guitar of agustín pío barrios'; | 2-1354940-2 |
What is BYU's lowest pick? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick_num") FROM "atlanta_falcons_draft_history" WHERE "college"='byu'; | 2-15198842-30 |
Which cornerback round has a pick number lower than 26 and an overall higher than 41? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("round") FROM "atlanta_falcons_draft_history" WHERE "pick_num"<26 AND "position"='cornerback' AND "overall">41; | 2-15198842-30 |
What is the overall number for the College of Wyoming? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "atlanta_falcons_draft_history" WHERE "college"='wyoming'; | 2-15198842-30 |
What is the total round for a wide receiver with an overall of more than 145? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "atlanta_falcons_draft_history" WHERE "position"='wide receiver' AND "overall">145; | 2-15198842-30 |
What is College of Ohio State's pick number with an overall lower than 145? | CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "pick_num" FROM "atlanta_falcons_draft_history" WHERE "overall"<145 AND "college"='ohio state'; | 2-15198842-30 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.