question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is Power, when City of License is Sioux Lookout? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "power" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "city_of_license"='sioux lookout'; | 2-1585090-1 |
What is Identifier, when City of License is Hornepayne? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "identifier" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "city_of_license"='hornepayne'; | 2-1585090-1 |
What is City of License, when Frequency is 101.1? | CREATE TABLE "s_rebroadcaster_of_cbqt_fm" (
"city_of_license" text,
"identifier" text,
"frequency" text,
"power" text,
"class" text,
"rec_net" text
); | SELECT "city_of_license" FROM "s_rebroadcaster_of_cbqt_fm" WHERE "frequency"='101.1'; | 2-1585090-1 |
Which LE-5 Model has an LE-5A of 130? | CREATE TABLE "le_5_model_specifications" (
"le_5_model" text,
"le_5" text,
"le_5_a" text,
"le_5_b" text,
"le_5_b_2" text
); | SELECT "le_5_model" FROM "le_5_model_specifications" WHERE "le_5_a"='130'; | 2-15873175-1 |
What Series had 14 races and 12th position? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"podiums" real,
"points" text,
"position" text
); | SELECT "series" FROM "career_summary" WHERE "races"=14 AND "position"='12th'; | 2-15570607-1 |
What season was the Formula BMW USA in? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"podiums" real,
"points" text,
"position" text
); | SELECT "season" FROM "career_summary" WHERE "series"='formula bmw usa'; | 2-15570607-1 |
What series had more than 10 Podiums? | CREATE TABLE "career_summary" (
"season" text,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"podiums" real,
"points" text,
"position" text
); | SELECT "series" FROM "career_summary" WHERE "podiums">10; | 2-15570607-1 |
What is the Status with an Author that is colbert? | CREATE TABLE "newly_named_dinosaurs" (
"name" text,
"novelty" text,
"status" text,
"authors" text,
"unit" text,
"location" text
); | SELECT "status" FROM "newly_named_dinosaurs" WHERE "authors"='colbert'; | 2-15678221-2 |
What college was the draft pick number larger than 18 that went to the Barangay ginebra kings? | CREATE TABLE "round_3" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT "college" FROM "round_3" WHERE "pick">18 AND "pba_team"='barangay ginebra kings'; | 2-15442451-5 |
What is the sum of the pick numbers for the player that went to San Miguel Beermen who played at San Sebastian? | CREATE TABLE "round_3" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT SUM("pick") FROM "round_3" WHERE "pba_team"='san miguel beermen' AND "college"='san sebastian'; | 2-15442451-5 |
What is the total number of picks for PBA team san miguel beermen who picked rommel daep? | CREATE TABLE "round_3" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT COUNT("pick") FROM "round_3" WHERE "pba_team"='san miguel beermen' AND "player"='rommel daep'; | 2-15442451-5 |
What player came from the United States and went to Ohlone college? | CREATE TABLE "round_3" (
"pick" real,
"player" text,
"country_of_origin" text,
"pba_team" text,
"college" text
); | SELECT "player" FROM "round_3" WHERE "country_of_origin"='united states' AND "college"='ohlone'; | 2-15442451-5 |
Who won after 1999 with changwon lg sakers as runners-up? | CREATE TABLE "results" (
"year" real,
"champions" text,
"result" text,
"runners_up" text,
"playoffs_mvp" text
); | SELECT "champions" FROM "results" WHERE "year">1999 AND "runners_up"='changwon lg sakers'; | 2-15530937-1 |
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007? | CREATE TABLE "results" (
"year" real,
"champions" text,
"result" text,
"runners_up" text,
"playoffs_mvp" text
); | SELECT "result" FROM "results" WHERE "year">2007 AND "runners_up"='seoul samsung thunders' AND "champions"='jeonju kcc egis'; | 2-15530937-1 |
What was the winning team in 2013? | CREATE TABLE "results" (
"year" real,
"venue" text,
"winning_team" text,
"score" text,
"usa_captain" text,
"europe_captain" text
); | SELECT "winning_team" FROM "results" WHERE "year"=2013; | 2-1546813-1 |
What is the highest year that Europe won, when the USA's Captain was Kathy Whitworth? | CREATE TABLE "results" (
"year" real,
"venue" text,
"winning_team" text,
"score" text,
"usa_captain" text,
"europe_captain" text
); | SELECT MAX("year") FROM "results" WHERE "winning_team"='europe' AND "usa_captain"='kathy whitworth'; | 2-1546813-1 |
When the USA's captain was Beth Daniel, who was the winning team? | CREATE TABLE "results" (
"year" real,
"venue" text,
"winning_team" text,
"score" text,
"usa_captain" text,
"europe_captain" text
); | SELECT "winning_team" FROM "results" WHERE "usa_captain"='beth daniel'; | 2-1546813-1 |
What is the Season when league shows bundesliga, and a European competition of played korac cup? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"postseason" text,
"european_competitions" text
); | SELECT "season" FROM "season_by_season" WHERE "league"='bundesliga' AND "european_competitions"='played korac cup'; | 2-15427957-1 |
What is the average Tier when the postseason shows -, and the season is 2012–13? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"postseason" text,
"european_competitions" text
); | SELECT AVG("tier") FROM "season_by_season" WHERE "postseason"='–' AND "season"='2012–13'; | 2-15427957-1 |
What is the European competition when the tier is more than 2? | CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"postseason" text,
"european_competitions" text
); | SELECT "european_competitions" FROM "season_by_season" WHERE "tier">2; | 2-15427957-1 |
What was the outcome of the match played on grass? | CREATE TABLE "singles_7_4_titles_3_runner_ups" (
"outcome" text,
"date_final" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "singles_7_4_titles_3_runner_ups" WHERE "surface"='grass'; | 2-1551815-5 |
What was the outcome of the match on February 17, 2003? | CREATE TABLE "singles_7_4_titles_3_runner_ups" (
"outcome" text,
"date_final" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "singles_7_4_titles_3_runner_ups" WHERE "date_final"='february 17, 2003'; | 2-1551815-5 |
How many average wins have USA as the team? | CREATE TABLE "group_b" (
"pos" real,
"team" text,
"wins" real,
"ties" real,
"losses" real,
"goals" text,
"diff" text,
"points" text
); | SELECT AVG("wins") FROM "group_b" WHERE "team"='usa'; | 2-15472798-2 |
What are the average wins that have great britain as the team? | CREATE TABLE "group_b" (
"pos" real,
"team" text,
"wins" real,
"ties" real,
"losses" real,
"goals" text,
"diff" text,
"points" text
); | SELECT AVG("wins") FROM "group_b" WHERE "team"='great britain'; | 2-15472798-2 |
What's the average draft pick number from Carson-Newman College before Round 7? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT AVG("pick_num") FROM "nfl_draft" WHERE "college"='carson-newman' AND "round"<7; | 2-15352703-1 |
Which college has a pick number of 155? | CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
); | SELECT "college" FROM "nfl_draft" WHERE "pick_num"=155; | 2-15352703-1 |
What score in the final has november 3, 2002 as the date? | CREATE TABLE "itf_circuit_doubles_9_4_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "itf_circuit_doubles_9_4_5" WHERE "date"='november 3, 2002'; | 2-15746889-8 |
What surface has natalia gussoni as the partner? | CREATE TABLE "itf_circuit_doubles_9_4_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "itf_circuit_doubles_9_4_5" WHERE "partner"='natalia gussoni'; | 2-15746889-8 |
What outcome has September 23, 2013 as the date? | CREATE TABLE "itf_circuit_doubles_9_4_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "itf_circuit_doubles_9_4_5" WHERE "date"='september 23, 2013'; | 2-15746889-8 |
What score in the final has hard as the surface, and june 13, 2011 as the date? | CREATE TABLE "itf_circuit_doubles_9_4_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "itf_circuit_doubles_9_4_5" WHERE "surface"='hard' AND "date"='june 13, 2011'; | 2-15746889-8 |
What date has elke clijsters as the partner? | CREATE TABLE "itf_circuit_doubles_9_4_5" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "itf_circuit_doubles_9_4_5" WHERE "partner"='elke clijsters'; | 2-15746889-8 |
What is the Round with a Prize of money that is £120,000? | CREATE TABLE "calendar" (
"round" text,
"date_weekend_of" text,
"matches" real,
"clubs" text,
"prize_money" text
); | SELECT "round" FROM "calendar" WHERE "prize_money"='£120,000'; | 2-15828727-1 |
What is the Match with a Prize of money that is £1,000,000? | CREATE TABLE "calendar" (
"round" text,
"date_weekend_of" text,
"matches" real,
"clubs" text,
"prize_money" text
); | SELECT "matches" FROM "calendar" WHERE "prize_money"='£1,000,000'; | 2-15828727-1 |
When alvin and the chipmunks meet frankenstein, what was the role? | CREATE TABLE "film" (
"year" real,
"title" text,
"producer" text,
"actor" text,
"role" text
); | SELECT "role" FROM "film" WHERE "title"='alvin and the chipmunks meet frankenstein'; | 2-1543453-1 |
What's the earliest year with a role of alvin seville simon seville david 'dave' seville, and a Title of alvin and the chipmunks meet the wolfman? | CREATE TABLE "film" (
"year" real,
"title" text,
"producer" text,
"actor" text,
"role" text
); | SELECT MIN("year") FROM "film" WHERE "role"='alvin seville simon seville david ''dave'' seville' AND "title"='alvin and the chipmunks meet the wolfman'; | 2-1543453-1 |
What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure? | CREATE TABLE "film" (
"year" real,
"title" text,
"producer" text,
"actor" text,
"role" text
); | SELECT AVG("year") FROM "film" WHERE "role"='alvin seville simon seville david ''dave'' seville' AND "title"='the chipmunk adventure'; | 2-1543453-1 |
What was the role in the chipmunk adventure? | CREATE TABLE "film" (
"year" real,
"title" text,
"producer" text,
"actor" text,
"role" text
); | SELECT "role" FROM "film" WHERE "title"='the chipmunk adventure'; | 2-1543453-1 |
What role was played in 2007? | CREATE TABLE "film" (
"year" real,
"title" text,
"producer" text,
"actor" text,
"role" text
); | SELECT "role" FROM "film" WHERE "year"=2007; | 2-1543453-1 |
What is the total number of points for the KV Racing Technology team when they use a chevrolet engine? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT COUNT("points") FROM "indy_car_series" WHERE "engine"='chevrolet' AND "team"='kv racing technology'; | 2-1615758-3 |
Which engine has a chassis of dallara, is ranked 6th, and has 384 points? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "engine" FROM "indy_car_series" WHERE "chassis"='dallara' AND "rank"='6th' AND "points"=384; | 2-1615758-3 |
Which engine is used when there is a 3rd place rank and 513 points? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "engine" FROM "indy_car_series" WHERE "rank"='3rd' AND "points"=513; | 2-1615758-3 |
What is the chassis when the rank is 3rd? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "chassis" FROM "indy_car_series" WHERE "rank"='3rd'; | 2-1615758-3 |
What are the years that Andretti Autosport is a team? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT COUNT("year") FROM "indy_car_series" WHERE "team"='andretti autosport'; | 2-1615758-3 |
Which team is ranked 3rd in 2008? | CREATE TABLE "indy_car_series" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
); | SELECT "team" FROM "indy_car_series" WHERE "rank"='3rd' AND "year"=2008; | 2-1615758-3 |
Which Oilers points have a Record of 10–6, and Oilers first downs larger than 14? | 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 AVG("oilers_points") FROM "schedule" WHERE "record"='10–6' AND "oilers_first_downs">14; | 2-15984957-2 |
Which Oilers points have an Opponent of san francisco 49ers, and Opponents larger than 19? | 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 MAX("oilers_points") FROM "schedule" WHERE "opponent"='san francisco 49ers' AND "opponents">19; | 2-15984957-2 |
Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213? | 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 SUM("game") FROM "schedule" WHERE "opponent"='at kansas city chiefs' AND "attendance"<'40,213'; | 2-15984957-2 |
What is the name of the country that has 18 May 2004 as the date? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "country" FROM "release_history" WHERE "date"='18 may 2004'; | 2-1546629-3 |
What catalog has Australia as the country? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "country"='australia'; | 2-1546629-3 |
In what format was the release that was dated 7 April 2003 from catalog 584 2112? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "format" FROM "release_history" WHERE "date"='7 april 2003' AND "catalog"='584 2112'; | 2-1546629-3 |
What date was the release when the format was lp? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "format"='lp'; | 2-1546629-3 |
What date is the release when the label was Parlophone and the catalog was 582 2912? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "date" FROM "release_history" WHERE "label"='parlophone' AND "catalog"='582 2912'; | 2-1546629-3 |
What catalog has the United Kingdom as the country? | CREATE TABLE "release_history" (
"country" text,
"date" text,
"label" text,
"format" text,
"catalog" text
); | SELECT "catalog" FROM "release_history" WHERE "country"='united kingdom'; | 2-1546629-3 |
What is the nationality of the guard for the chool/Club Team in Virginia? | CREATE TABLE "a" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "nationality" FROM "a" WHERE "position"='guard' AND "school_club_team"='virginia'; | 2-15621965-1 |
What is the School/Club Team with a nationality of United States for Arron Afflalo? | CREATE TABLE "a" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "a" WHERE "nationality"='united states' AND "player"='arron afflalo'; | 2-15621965-1 |
What is the Years in Orlando for carlos arroyo? | CREATE TABLE "a" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "years_in_orlando" FROM "a" WHERE "player"='carlos arroyo'; | 2-15621965-1 |
What is the Player for Orlando in 1989–1991? | CREATE TABLE "a" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "player" FROM "a" WHERE "years_in_orlando"='1989–1991'; | 2-15621965-1 |
What is the Position for Orlando for 1989–1999? | CREATE TABLE "a" (
"player" text,
"nationality" text,
"position" text,
"years_in_orlando" text,
"school_club_team" text
); | SELECT "position" FROM "a" WHERE "years_in_orlando"='1989–1999'; | 2-15621965-1 |
Which player was from Western Washington University, played midfield, and was from years after 2009? | CREATE TABLE "mcla_division_2" (
"year" real,
"team" text,
"player" text,
"position" text,
"school" text
); | SELECT "player" FROM "mcla_division_2" WHERE "school"='western washington university' AND "position"='midfield' AND "year">2009; | 2-16078390-7 |
Which team was Bubba Vanegdom from? | CREATE TABLE "mcla_division_2" (
"year" real,
"team" text,
"player" text,
"position" text,
"school" text
); | SELECT "team" FROM "mcla_division_2" WHERE "player"='bubba vanegdom'; | 2-16078390-7 |
What was the position of the player from Pacific Lutheran University named Greg Fredlund in years after 2010? | CREATE TABLE "mcla_division_2" (
"year" real,
"team" text,
"player" text,
"position" text,
"school" text
); | SELECT "position" FROM "mcla_division_2" WHERE "school"='pacific lutheran university' AND "player"='greg fredlund' AND "year">2010; | 2-16078390-7 |
What was the position of Greg Fredlund in years after 2008? | CREATE TABLE "mcla_division_2" (
"year" real,
"team" text,
"player" text,
"position" text,
"school" text
); | SELECT "position" FROM "mcla_division_2" WHERE "year">2008 AND "player"='greg fredlund'; | 2-16078390-7 |
What home team has 8 ties? | CREATE TABLE "fifth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text,
"attendance" real
); | SELECT "home_team" FROM "fifth_round_proper" WHERE "tie_no"='8'; | 2-16176509-6 |
What year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent? | CREATE TABLE "winners" (
"year" real,
"winner_male" text,
"winner_female" text,
"talent_male" text,
"talent_female" text
); | SELECT "year" FROM "winners" WHERE "winner_female"='kim gevaert' AND "talent_male"='xavier de baerdemaeker'; | 2-16176527-1 |
Who is the female talent in 1999? | CREATE TABLE "winners" (
"year" real,
"winner_male" text,
"winner_female" text,
"talent_male" text,
"talent_female" text
); | SELECT "talent_female" FROM "winners" WHERE "year"=1999; | 2-16176527-1 |
Who is the male talent in 1991? | CREATE TABLE "winners" (
"year" real,
"winner_male" text,
"winner_female" text,
"talent_male" text,
"talent_female" text
); | SELECT "talent_male" FROM "winners" WHERE "year"=1991; | 2-16176527-1 |
Who is the male winner the year after 1998 with Marleen Renders as the female winner? | CREATE TABLE "winners" (
"year" real,
"winner_male" text,
"winner_female" text,
"talent_male" text,
"talent_female" text
); | SELECT "winner_male" FROM "winners" WHERE "winner_female"='marleen renders' AND "year">1998; | 2-16176527-1 |
What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? | CREATE TABLE "passing" (
"name" text,
"gp_gs" text,
"effic" real,
"att_cmp_int" text,
"avg_g" real
); | SELECT MIN("avg_g") FROM "passing" WHERE "effic">34.36 AND "name"='wesley carroll'; | 2-15418772-6 |
What is the lowest avg/g that has 2-9-0 for the att-cmp-int? | CREATE TABLE "passing" (
"name" text,
"gp_gs" text,
"effic" real,
"att_cmp_int" text,
"avg_g" real
); | SELECT MIN("avg_g") FROM "passing" WHERE "att_cmp_int"='2-9-0'; | 2-15418772-6 |
What is the att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? | CREATE TABLE "passing" (
"name" text,
"gp_gs" text,
"effic" real,
"att_cmp_int" text,
"avg_g" real
); | SELECT "att_cmp_int" FROM "passing" WHERE "gp_gs"='12' AND "avg_g"=174.3; | 2-15418772-6 |
What is the Song with an Issue Date(s) that is 19 june? | 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 "issue_date_s"='19 june'; | 2-15777869-1 |
What is the minimum Height of the Little Switzerland Tunnel? | CREATE TABLE "tunnels" (
"milepost" real,
"name_of_the_tunnel" text,
"length" text,
"maximum_height" text,
"minimum_height" text
); | SELECT "minimum_height" FROM "tunnels" WHERE "name_of_the_tunnel"='little switzerland tunnel'; | 2-16177885-1 |
What is the Milepost of the Twin Tunnel #1 North? | CREATE TABLE "tunnels" (
"milepost" real,
"name_of_the_tunnel" text,
"length" text,
"maximum_height" text,
"minimum_height" text
); | SELECT COUNT("milepost") FROM "tunnels" WHERE "name_of_the_tunnel"='twin tunnel #1 north'; | 2-16177885-1 |
WHat is the number of Population has a Density of 50.09 and a Rank larger than 30? | CREATE TABLE "by_population" (
"rank" real,
"province" text,
"population" real,
"area" real,
"density" real
); | SELECT SUM("population") FROM "by_population" WHERE "density"=50.09 AND "rank">30; | 2-15707829-1 |
What is the Density that has a Population larger than 290,458, and an Area of 91.6? | CREATE TABLE "by_population" (
"rank" real,
"province" text,
"population" real,
"area" real,
"density" real
); | SELECT SUM("density") FROM "by_population" WHERE "population">'290,458' AND "area"=91.6; | 2-15707829-1 |
What is the Icelandic word for the English word bride? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "icelandic" FROM "words_derived_from_non_indo_european_lan" WHERE "english"='bride'; | 2-1598584-5 |
What is the ENglish word for the Icelandic word hlaupa? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "english" FROM "words_derived_from_non_indo_european_lan" WHERE "icelandic"='hlaupa'; | 2-1598584-5 |
What is the Russian word for the Greek word greek? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "russian" FROM "words_derived_from_non_indo_european_lan" WHERE "greek"='greek'; | 2-1598584-5 |
What is the English word for the Latin word uxor? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "english" FROM "words_derived_from_non_indo_european_lan" WHERE "latin"='uxor'; | 2-1598584-5 |
What is the Latin word for the English word bone? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "latin" FROM "words_derived_from_non_indo_european_lan" WHERE "english"='bone'; | 2-1598584-5 |
What is the lowest against that has bacchus marsh as a ballarat fl, with wins less than 1? | CREATE TABLE "2005_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("against") FROM "2005_ladder" WHERE "ballarat_fl"='bacchus marsh' AND "wins"<1; | 2-1552908-11 |
What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2? | CREATE TABLE "2005_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2005_ladder" WHERE "losses">0 AND "against"<1728 AND "ballarat_fl"='melton' AND "byes"<2; | 2-1552908-11 |
How many losses have byes greater than 2? | CREATE TABLE "2005_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT COUNT("losses") FROM "2005_ladder" WHERE "byes">2; | 2-1552908-11 |
What is the lowest draws that have losses less than 0, an against greater than 1353, 2 as the wins, and ballarat as ballarat fl? | CREATE TABLE "2005_ladder" (
"ballarat_fl" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
); | SELECT MIN("draws") FROM "2005_ladder" WHERE "losses">0 AND "against">1353 AND "wins"=2 AND "ballarat_fl"='ballarat'; | 2-1552908-11 |
What is the total year of the winner who plays the halfback position with a % of points possible of 80.64%? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"school" text,
"position" text,
"points" text,
"pct_of_points_possible" text
); | SELECT COUNT("year") FROM "winners" WHERE "position"='halfback' AND "pct_of_points_possible"='80.64%'; | 2-16096383-2 |
What is the year of the winner from the army school, plays the halfback position, and has a % of points possible of 39.01%? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"school" text,
"position" text,
"points" text,
"pct_of_points_possible" text
); | SELECT SUM("year") FROM "winners" WHERE "school"='army' AND "position"='halfback' AND "pct_of_points_possible"='39.01%'; | 2-16096383-2 |
What position does the winner from Ohio State with 412 points play? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"school" text,
"position" text,
"points" text,
"pct_of_points_possible" text
); | SELECT "position" FROM "winners" WHERE "school"='ohio state' AND "points"='412'; | 2-16096383-2 |
What is the % of points possible of the winner from Penn State? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"school" text,
"position" text,
"points" text,
"pct_of_points_possible" text
); | SELECT "pct_of_points_possible" FROM "winners" WHERE "school"='penn state'; | 2-16096383-2 |
What is the position of the winner with 792 points? | CREATE TABLE "winners" (
"year" real,
"winner" text,
"school" text,
"position" text,
"points" text,
"pct_of_points_possible" text
); | SELECT "position" FROM "winners" WHERE "points"='792'; | 2-16096383-2 |
How many were in Attendance on February 21, 1988 against the New Jersey Saints? | CREATE TABLE "game_log" (
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "opponent"='new jersey saints' AND "date"='february 21, 1988'; | 2-16119656-1 |
What was the Opponent on February 6, 1988? | CREATE TABLE "game_log" (
"date" text,
"at_vs" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "date"='february 6, 1988'; | 2-16119656-1 |
What is the highest Top-10, when Top-25 is 4, and when Top-5 is greater than 1? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_10") FROM "summary" WHERE "top_25"=4 AND "top_5">1; | 2-1598015-5 |
What is Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT "wins" FROM "summary" WHERE "top_25"<4 AND "top_5">0; | 2-1598015-5 |
What is the total number of Wins, when Top-25 is less than 4, and when Top-10 is less than 1? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("wins") FROM "summary" WHERE "top_25"<4 AND "top_10"<1; | 2-1598015-5 |
Which home team played in the matchup with an away team of Liverpool? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "away_team"='liverpool'; | 2-16176509-5 |
What was the date of tie number 5? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "fourth_round_proper" WHERE "tie_no"='5'; | 2-16176509-5 |
Who was the away team for tie number 9? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "fourth_round_proper" WHERE "tie_no"='9'; | 2-16176509-5 |
What was the score of the replay at Millwall? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='replay' AND "home_team"='millwall'; | 2-16176509-5 |
Who was the home team for tie number 16? | CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "home_team" FROM "fourth_round_proper" WHERE "tie_no"='16'; | 2-16176509-5 |
What is the sum of the golds of the nation with 5 total and less than 0 bronze medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medal_table" WHERE "total"=5 AND "bronze"<0; | 2-15972223-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.