question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Name the team classification for stage of 6 | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "jersey_progress" WHERE "stage"='6'; | 2-12608303-21 |
What is the Davao's power (kW)? | CREATE TABLE "sonshine_radio_stations_in_the_philippin" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "power_k_w" FROM "sonshine_radio_stations_in_the_philippin" WHERE "location"='davao'; | 2-12547903-3 |
What is the brand of DXRE? | CREATE TABLE "sonshine_radio_stations_in_the_philippin" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "branding" FROM "sonshine_radio_stations_in_the_philippin" WHERE "callsign"='dxre'; | 2-12547903-3 |
What is the power (kW) of Davao? | CREATE TABLE "sonshine_radio_stations_in_the_philippin" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "power_k_w" FROM "sonshine_radio_stations_in_the_philippin" WHERE "location"='davao'; | 2-12547903-3 |
What is the callsign of Cagayan de Oro with 5kW? | CREATE TABLE "sonshine_radio_stations_in_the_philippin" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "callsign" FROM "sonshine_radio_stations_in_the_philippin" WHERE "power_k_w"='5kw' AND "location"='cagayan de oro'; | 2-12547903-3 |
What is the callsign of the 5kW Sonshine Radio Cotabato? | CREATE TABLE "sonshine_radio_stations_in_the_philippin" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"location" text
); | SELECT "callsign" FROM "sonshine_radio_stations_in_the_philippin" WHERE "power_k_w"='5kw' AND "branding"='sonshine radio cotabato'; | 2-12547903-3 |
What's the average amount of Runs that has 40 innings, and Not outs larger than 6? | CREATE TABLE "highest_batting_averages" (
"matches" real,
"innings" real,
"not_outs" real,
"runs" real,
"average" real
); | SELECT AVG("runs") FROM "highest_batting_averages" WHERE "innings"=40 AND "not_outs">6; | 2-13322378-8 |
What's the total Innings that has Runs of 1598, and Matches less than 41? | CREATE TABLE "highest_batting_averages" (
"matches" real,
"innings" real,
"not_outs" real,
"runs" real,
"average" real
); | SELECT COUNT("innings") FROM "highest_batting_averages" WHERE "runs"=1598 AND "matches"<41; | 2-13322378-8 |
What is the highest total number of seats with a Seat percentage of 46.5% and less than 394,118 party list votes? | CREATE TABLE "results" (
"party" text,
"party_list_votes" real,
"vote_percentage" text,
"total_seats" real,
"seat_percentage" text
); | SELECT MAX("total_seats") FROM "results" WHERE "seat_percentage"='46.5%' AND "party_list_votes"<'394,118'; | 2-1265214-1 |
What is the number of party list votes for a vote percentage of 2.6% with 0 total seats? | CREATE TABLE "results" (
"party" text,
"party_list_votes" real,
"vote_percentage" text,
"total_seats" real,
"seat_percentage" text
); | SELECT SUM("party_list_votes") FROM "results" WHERE "total_seats"=0 AND "vote_percentage"='2.6%'; | 2-1265214-1 |
What venue held the event in 2008 that has 2:13:10 in the notes? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"event" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "year"=2008 AND "notes"='2:13:10'; | 2-12941318-1 |
Who discovered the specimen at the Burpee Museum of Natural History? | CREATE TABLE "specimen_data" (
"name" text,
"discovered" real,
"museum" text,
"museum_city" text,
"discoverer" text,
"formation" text,
"location" text
); | SELECT "discoverer" FROM "specimen_data" WHERE "museum"='burpee museum of natural history'; | 2-13120745-1 |
What is the name of the specimen that was discovered after 1987 and is in an Indianapolis, Indiana museum? | CREATE TABLE "specimen_data" (
"name" text,
"discovered" real,
"museum" text,
"museum_city" text,
"discoverer" text,
"formation" text,
"location" text
); | SELECT "name" FROM "specimen_data" WHERE "discovered">1987 AND "museum_city"='indianapolis, in'; | 2-13120745-1 |
What is the formation that had the specimen discovered before 2001 and is in an Indianapolis, Indiana museum? | CREATE TABLE "specimen_data" (
"name" text,
"discovered" real,
"museum" text,
"museum_city" text,
"discoverer" text,
"formation" text,
"location" text
); | SELECT "formation" FROM "specimen_data" WHERE "discovered"<2001 AND "museum_city"='indianapolis, in'; | 2-13120745-1 |
What is the city of the Museum that houses the specimen discovered by Jane Solem? | CREATE TABLE "specimen_data" (
"name" text,
"discovered" real,
"museum" text,
"museum_city" text,
"discoverer" text,
"formation" text,
"location" text
); | SELECT "museum_city" FROM "specimen_data" WHERE "discoverer"='jane solem'; | 2-13120745-1 |
What city has the museum that holds the Sue specimen? | CREATE TABLE "specimen_data" (
"name" text,
"discovered" real,
"museum" text,
"museum_city" text,
"discoverer" text,
"formation" text,
"location" text
); | SELECT "museum_city" FROM "specimen_data" WHERE "name"='sue'; | 2-13120745-1 |
With what Name does the Roll of 637 belong? | CREATE TABLE "grey_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" text,
"roll" text
); | SELECT "name" FROM "grey_district" WHERE "roll"='637'; | 2-12300697-2 |
Which is the Authority that has a Roll of 70? | CREATE TABLE "grey_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" text,
"roll" text
); | SELECT "authority" FROM "grey_district" WHERE "roll"='70'; | 2-12300697-2 |
The Decile of 6 has which corresponding Years? | CREATE TABLE "grey_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" text,
"roll" text
); | SELECT "years" FROM "grey_district" WHERE "decile"='6'; | 2-12300697-2 |
Name the award for candida scott knight | CREATE TABLE "2004" (
"film" text,
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "award" FROM "2004" WHERE "director_s"='candida scott knight'; | 2-12181447-7 |
Name the recipient for jamaica and award of £6,947 | CREATE TABLE "2004" (
"film" text,
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "recipient" FROM "2004" WHERE "award"='£6,947' AND "film"='jamaica'; | 2-12181447-7 |
Name the film for award of £3,740 | CREATE TABLE "2004" (
"film" text,
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "film" FROM "2004" WHERE "award"='£3,740'; | 2-12181447-7 |
Name the director for maya vision international ltd | CREATE TABLE "2004" (
"film" text,
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "director_s" FROM "2004" WHERE "recipient"='maya vision international ltd'; | 2-12181447-7 |
Name the film for award of £3,386 | CREATE TABLE "2004" (
"film" text,
"director_s" text,
"writer_s" text,
"recipient" text,
"date" text,
"award" text
); | SELECT "film" FROM "2004" WHERE "award"='£3,386'; | 2-12181447-7 |
Name the venue for 2004 and position of 25th | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "position"='25th' AND "year"=2004; | 2-13044947-1 |
Name the venue for 27th position | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "venue" FROM "achievements" WHERE "position"='27th'; | 2-13044947-1 |
What was the score of the draw in the 2005 FIFA Confederations Cup? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "competition"='2005 fifa confederations cup' AND "result"='draw'; | 2-1230308-1 |
How many electors has 465,151 naders and more than 143,630 Peroutka? | CREATE TABLE "votes_by_state" (
"state" text,
"electors" real,
"bush" real,
"kerry" real,
"nader" real,
"badnarik" real,
"peroutka" real,
"cobb" real,
"others" real,
"margin" text,
"total" real
); | SELECT SUM("electors") FROM "votes_by_state" WHERE "nader"='465,151' AND "peroutka">'143,630'; | 2-1297662-3 |
What is the highest Peroutka with 46 others, and less than 15 electors? | CREATE TABLE "votes_by_state" (
"state" text,
"electors" real,
"bush" real,
"kerry" real,
"nader" real,
"badnarik" real,
"peroutka" real,
"cobb" real,
"others" real,
"margin" text,
"total" real
); | SELECT MAX("peroutka") FROM "votes_by_state" WHERE "others"=46 AND "electors"<15; | 2-1297662-3 |
Who came in 3rd place in 1990? | CREATE TABLE "one_day_final_1988_2009" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
); | SELECT "3rd_place" FROM "one_day_final_1988_2009" WHERE "year"='1990'; | 2-12796727-2 |
Which class Pos has a Team of jml team panoz? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "team"='jml team panoz'; | 2-1235065-6 |
Which Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps? | CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
); | SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "year">1997 AND "team"='corvette racing' AND "class"='gt1' AND "laps"=327; | 2-1235065-6 |
What is the final result of the team that has Simara as No.5? | CREATE TABLE "nominations" (
"no_1" text,
"no_2" text,
"no_3" text,
"no_4" text,
"no_5" text,
"no_6" text,
"no_7" text,
"no_8" text,
"final" text
); | SELECT "final" FROM "nominations" WHERE "no_5"='simara'; | 2-12531692-8 |
Which Winning Driver has a Second Driver of jimmy bryan? | CREATE TABLE "world_championship_indy_500_summary" (
"season" real,
"cars_entered" real,
"winning_driver" text,
"second_driver" text,
"third_driver" text,
"race_report" text
); | SELECT "winning_driver" FROM "world_championship_indy_500_summary" WHERE "second_driver"='jimmy bryan'; | 2-1235862-1 |
How many average Cars Entered have a Third Driver of manny ayulo? | CREATE TABLE "world_championship_indy_500_summary" (
"season" real,
"cars_entered" real,
"winning_driver" text,
"second_driver" text,
"third_driver" text,
"race_report" text
); | SELECT AVG("cars_entered") FROM "world_championship_indy_500_summary" WHERE "third_driver"='manny ayulo'; | 2-1235862-1 |
What are the largest Cars Entered with a Season of 1958? | CREATE TABLE "world_championship_indy_500_summary" (
"season" real,
"cars_entered" real,
"winning_driver" text,
"second_driver" text,
"third_driver" text,
"race_report" text
); | SELECT MAX("cars_entered") FROM "world_championship_indy_500_summary" WHERE "season"=1958; | 2-1235862-1 |
What is the largest season with a Third Driver of jimmy davies? | CREATE TABLE "world_championship_indy_500_summary" (
"season" real,
"cars_entered" real,
"winning_driver" text,
"second_driver" text,
"third_driver" text,
"race_report" text
); | SELECT MAX("season") FROM "world_championship_indy_500_summary" WHERE "third_driver"='jimmy davies'; | 2-1235862-1 |
What are the largest Cars Entered with a Winning Driver of rodger ward, and a Season smaller than 1959? | CREATE TABLE "world_championship_indy_500_summary" (
"season" real,
"cars_entered" real,
"winning_driver" text,
"second_driver" text,
"third_driver" text,
"race_report" text
); | SELECT MAX("cars_entered") FROM "world_championship_indy_500_summary" WHERE "winning_driver"='rodger ward' AND "season"<1959; | 2-1235862-1 |
What engine with more than 2 points has Brabham bt58 as Chassis? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "engine" FROM "complete_formula_one_results" WHERE "chassis"='brabham bt58' AND "points">2; | 2-1226330-2 |
How many points did Judd v8 has in 1989? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT COUNT("points") FROM "complete_formula_one_results" WHERE "engine"='judd v8' AND "year"=1989; | 2-1226330-2 |
How many years has Sasol Jordan Yamaha as an Entrant? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT AVG("year") FROM "complete_formula_one_results" WHERE "entrant"='sasol jordan yamaha'; | 2-1226330-2 |
What was the record for the game that had a loss of Williams (3-1)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "loss"='williams (3-1)'; | 2-12205689-4 |
What was the score of the game that had a loss of Embree (1-2)? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "loss"='embree (1-2)'; | 2-12205689-4 |
What shows for 2007 at the Olympic Games as tournament. | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "singles_performance_timeline" WHERE "tournament"='olympic games'; | 2-12209362-13 |
What shows for 2009 when the 2012 is 1R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='1r'; | 2-12209362-13 |
What is the 2010 when the 2009 shows Q1? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "singles_performance_timeline" WHERE "2009"='q1'; | 2-12209362-13 |
What is the gross revenue in 2011 for MO? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"state" text,
"tickets_sold_available" text,
"gross_revenue_1982" text,
"gross_revenue_2011" text
); | SELECT "gross_revenue_2011" FROM "box_office_score_data" WHERE "state"='mo'; | 2-12715948-2 |
Which state has the venue Tsukisamu dome? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"state" text,
"tickets_sold_available" text,
"gross_revenue_1982" text,
"gross_revenue_2011" text
); | SELECT "state" FROM "box_office_score_data" WHERE "venue"='tsukisamu dome'; | 2-12715948-2 |
Which city had a gross revenue in 2011 of $739,578? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"state" text,
"tickets_sold_available" text,
"gross_revenue_1982" text,
"gross_revenue_2011" text
); | SELECT "city" FROM "box_office_score_data" WHERE "gross_revenue_2011"='$739,578'; | 2-12715948-2 |
What is the gross revenue in 2011 with a gross revenue in 1982 of $1,988,047? | CREATE TABLE "box_office_score_data" (
"venue" text,
"city" text,
"state" text,
"tickets_sold_available" text,
"gross_revenue_1982" text,
"gross_revenue_2011" text
); | SELECT "gross_revenue_2011" FROM "box_office_score_data" WHERE "gross_revenue_1982"='$1,988,047'; | 2-12715948-2 |
What was the grid when the driver was Mark Webber? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "driver"='mark webber'; | 2-12481353-2 |
Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "driver" FROM "race" WHERE "constructor"='renault' AND "time_retired"='+38.600'; | 2-12481353-2 |
How many laps were there when the Time/Retired was +1:00.003? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "time_retired"='+1:00.003'; | 2-12481353-2 |
How many laps were there when the Time/Retired was +14.403? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "time_retired"='+14.403'; | 2-12481353-2 |
Who was the driver when there were 35 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "driver" FROM "race" WHERE "laps"='35'; | 2-12481353-2 |
How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "constructor"='renault' AND "driver"='fernando alonso'; | 2-12481353-2 |
What's the Street address with a Name of New York Life Insurance building? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
); | SELECT "street_address" FROM "timeline_of_tallest_buildings" WHERE "name"='new york life insurance building'; | 2-12815540-4 |
What's the Years as tallest with a Street address of 324 E. 11th Street? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
); | SELECT "years_as_tallest" FROM "timeline_of_tallest_buildings" WHERE "street_address"='324 e. 11th street'; | 2-12815540-4 |
What is listsed as the Height feet/m and has a Street address of 2345 Grand Avenue? | CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
); | SELECT "height_feet_m" FROM "timeline_of_tallest_buildings" WHERE "street_address"='2345 grand avenue'; | 2-12815540-4 |
What is the average capacity of stadiums in the City of London that belong to schools with an enrollment less than 30,000? | CREATE TABLE "ontario_university_athletics_yates_cup" (
"institution" text,
"team" text,
"city" text,
"province" text,
"first_season" real,
"head_coach" text,
"enrollment" real,
"football_stadium" text,
"capacity" real
); | SELECT AVG("capacity") FROM "ontario_university_athletics_yates_cup" WHERE "city"='london' AND "enrollment"<'30,000'; | 2-12896884-2 |
Who had a score of 69-70=139? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "score"='69-70=139'; | 2-12278571-5 |
What was the score of the game that had a result of 5–0? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "result"='5–0'; | 2-12829553-1 |
What is the heat number of the athlete who finished in 2:23.95? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT AVG("heat") FROM "heats" WHERE "time"='2:23.95'; | 2-12386570-2 |
Which lane did the athlete from Zambia swim in? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
); | SELECT "lane" FROM "heats" WHERE "nationality"='zambia'; | 2-12386570-2 |
Who was the opponent at the game when the record was 4-5? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='4-5'; | 2-12207158-2 |
What is the average for 2009 when 2001 is more than 0, 1996 is less than 1 and 2004 is more than 2 | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT AVG("2009") FROM "breakdown_by_nationality" WHERE "2001">0 AND "1996"<1 AND "2004">2; | 2-1323466-5 |
What is the listing for 2009 when 1989 is less than 0? | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT SUM("2009") FROM "breakdown_by_nationality" WHERE "1989"<0; | 2-1323466-5 |
what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5? | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT AVG("2005") FROM "breakdown_by_nationality" WHERE "1995">3 AND "1996"<4 AND "2011">5; | 2-1323466-5 |
what is the listing for 1999 when 1990 is more than 0, 2003 is 3, 2007 is more than 1 and 1996 is more than 0? | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT SUM("1999") FROM "breakdown_by_nationality" WHERE "1990">0 AND "2003"=3 AND "2007">1 AND "1996">0; | 2-1323466-5 |
what is the listing for 2012 when 2004 is more than 0, 2008 is more than 1 1994 is 8 and 2005 is less than 11? | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT MIN("2012") FROM "breakdown_by_nationality" WHERE "2004">0 AND "2008">1 AND "1994"=8 AND "2005"<11; | 2-1323466-5 |
what is the listing for 1992 when 1999 is more than 1, 2008 is less than 2 and 2003 is less than 2? | CREATE TABLE "breakdown_by_nationality" (
"country" text,
"2012" real,
"2011" real,
"2010" real,
"2009" real,
"2008" real,
"2007" real,
"2006" real,
"2005" real,
"2004" real,
"2003" real,
"2002" real,
"2001" real,
"2000" real,
"1999" real,
"1998" real,
"1997" real,
"1996" real,
"1995" real,
"1994" real,
"1993" real,
"1992" real,
"1991" real,
"1990" real,
"1989" real,
"1988" real
); | SELECT SUM("1992") FROM "breakdown_by_nationality" WHERE "1999">1 AND "2008"<2 AND "2003"<2; | 2-1323466-5 |
How many % of 1 Rep Max(Last Set) has a Set 4 of 145lb x 5reps? | CREATE TABLE "periodization" (
"week" real,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"volume_lbs" real,
"peak_intensity_last_set" text,
"pct_of_1_rep_max_last_set" text
); | SELECT "pct_of_1_rep_max_last_set" FROM "periodization" WHERE "set_4"='145lb x 5reps'; | 2-1240348-3 |
How many lbs does a set 4 of 115lb x 8reps have? | CREATE TABLE "periodization" (
"week" real,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"volume_lbs" real,
"peak_intensity_last_set" text,
"pct_of_1_rep_max_last_set" text
); | SELECT "volume_lbs" FROM "periodization" WHERE "set_4"='115lb x 8reps'; | 2-1240348-3 |
What is set 3 on week 6? | CREATE TABLE "periodization" (
"week" real,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"volume_lbs" real,
"peak_intensity_last_set" text,
"pct_of_1_rep_max_last_set" text
); | SELECT "set_3" FROM "periodization" WHERE "week"=6; | 2-1240348-3 |
What is the per-capita GDP for the country with an overall GDP of 156.640? | CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" text,
"area_km" text,
"gdp_billion_us" text,
"gdp_per_capita_us" text
); | SELECT "gdp_per_capita_us" FROM "1995_enlargement" WHERE "gdp_billion_us"='156.640'; | 2-1307842-6 |
What is the per-capita GDP of the country with an overall GDP of 80.955? | CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" text,
"area_km" text,
"gdp_billion_us" text,
"gdp_per_capita_us" text
); | SELECT "gdp_per_capita_us" FROM "1995_enlargement" WHERE "gdp_billion_us"='80.955'; | 2-1307842-6 |
Which country has an area of 871,980 square km? | CREATE TABLE "1995_enlargement" (
"member_countries" text,
"population" text,
"area_km" text,
"gdp_billion_us" text,
"gdp_per_capita_us" text
); | SELECT "member_countries" FROM "1995_enlargement" WHERE "area_km"='871,980'; | 2-1307842-6 |
On October 1, 1995 with Dora Djilianova as a partner, what was the outcome of the match? | CREATE TABLE "doubles_11_8_3" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "doubles_11_8_3" WHERE "partner"='dora djilianova' AND "date"='october 1, 1995'; | 2-12878201-8 |
With Lindsay Lee-Waters as a partner, what was the final score? | CREATE TABLE "doubles_11_8_3" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "doubles_11_8_3" WHERE "partner"='lindsay lee-waters'; | 2-12878201-8 |
Which score has a Date of august 17? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='august 17'; | 2-12206431-5 |
Which score has an Opponent of @ athletics, and a Record of 76-57? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "opponent"='@ athletics' AND "record"='76-57'; | 2-12206431-5 |
Which loss has a Record of 67-51? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "record"='67-51'; | 2-12206431-5 |
Which position has 2 wins in 1992? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"position" text
); | SELECT "position" FROM "career_summary" WHERE "wins"='2' AND "season"=1992; | 2-1226513-1 |
How many wins have a Series of formula nippon, and a Position of 8th? | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"position" text
); | SELECT "wins" FROM "career_summary" WHERE "series"='formula nippon' AND "position"='8th'; | 2-1226513-1 |
What is the smallest season with 6 races, 2 wins, and a Series of all-japan gt championship> | CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" text,
"wins" text,
"position" text
); | SELECT MIN("season") FROM "career_summary" WHERE "races"='6' AND "series"='all-japan gt championship' AND "wins"='2'; | 2-1226513-1 |
What was Mark Brooks total score when he finished more than 2 above par? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT AVG("total") FROM "missed_the_cut" WHERE "to_par">2 AND "player"='mark brooks'; | 2-12475284-3 |
What was the winning to par score of the 1993 PGA Championship? | CREATE TABLE "missed_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" real
); | SELECT "to_par" FROM "missed_the_cut" WHERE "year_s_won"='1993'; | 2-12475284-3 |
How many constructions has a Wheel arrange- ment of 4-4-0? | CREATE TABLE "equipment" (
"builder" text,
"construct_tion_no" real,
"date_ordered" text,
"wheel_arrange_ment" text,
"s_cylinder" text,
"engine_weight" text,
"tc_st_l_no_1883_84" real
); | SELECT SUM("construct_tion_no") FROM "equipment" WHERE "wheel_arrange_ment"='4-4-0'; | 2-1234504-1 |
Who built the order on November 1881 of more than 54 TC&StL no. (1883–84)? | CREATE TABLE "equipment" (
"builder" text,
"construct_tion_no" real,
"date_ordered" text,
"wheel_arrange_ment" text,
"s_cylinder" text,
"engine_weight" text,
"tc_st_l_no_1883_84" real
); | SELECT "builder" FROM "equipment" WHERE "tc_st_l_no_1883_84">54 AND "date_ordered"='november 1881'; | 2-1234504-1 |
What is the Season Outcome for the Sussex Central School? | CREATE TABLE "2010_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "season_outcome" FROM "2010_regular_season_football_standings" WHERE "school"='sussex central'; | 2-13054553-15 |
What is the School of Sussex Tech's Team? | CREATE TABLE "2010_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "team" FROM "2010_regular_season_football_standings" WHERE "school"='sussex tech'; | 2-13054553-15 |
What is the Team for the Milford School? | CREATE TABLE "2010_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
); | SELECT "team" FROM "2010_regular_season_football_standings" WHERE "school"='milford'; | 2-13054553-15 |
Which season was one of the players rated +33? | CREATE TABLE "winners" (
"season" text,
"player" text,
"team" text,
"position" text,
"rating" text,
"win_num" text
); | SELECT "season" FROM "winners" WHERE "rating"='+33'; | 2-1300657-2 |
What is the name of the team that had 1 win and a rating of +85? | CREATE TABLE "winners" (
"season" text,
"player" text,
"team" text,
"position" text,
"rating" text,
"win_num" text
); | SELECT "team" FROM "winners" WHERE "win_num"='1' AND "rating"='+85'; | 2-1300657-2 |
Which season was one of the players rated +98? | CREATE TABLE "winners" (
"season" text,
"player" text,
"team" text,
"position" text,
"rating" text,
"win_num" text
); | SELECT "season" FROM "winners" WHERE "rating"='+98'; | 2-1300657-2 |
What is Patrice Bergeron's rating? | CREATE TABLE "winners" (
"season" text,
"player" text,
"team" text,
"position" text,
"rating" text,
"win_num" text
); | SELECT "rating" FROM "winners" WHERE "player"='patrice bergeron'; | 2-1300657-2 |
Position of defensive tackle, and a Round of 4, and a Pick # smaller than 36 has what overall average? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT AVG("overall") FROM "indianapolis_colts_draft_history" WHERE "position"='defensive tackle' AND "round"=4 AND "pick_num"<36; | 2-13312898-57 |
Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers? | CREATE TABLE "indianapolis_colts_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("pick_num") FROM "indianapolis_colts_draft_history" WHERE "name"='jaimie thomas' AND "round"<7; | 2-13312898-57 |
What is the muzzle device with a 1:7 barrel twist and a stock 4th generation? | CREATE TABLE "mt_and_cr_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_profile" text,
"barrel_twist" text,
"hand_guards" text,
"bayonet_lug" text,
"muzzle_device" text
); | SELECT "muzzle_device" FROM "mt_and_cr_series_models" WHERE "barrel_twist"='1:7' AND "stock"='4th generation'; | 2-12834315-4 |
When was the opponent Poland and the match type EC -qualifier? | CREATE TABLE "national_team_matches" (
"date" text,
"location" text,
"opponenent" text,
"result" text,
"match_type" text
); | SELECT "date" FROM "national_team_matches" WHERE "opponenent"='poland' AND "match_type"='ec -qualifier'; | 2-12234089-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.