question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Who won in 1997 with a finish of t48? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "finish"='t48' AND "year_s_won"='1997'; | 2-18009787-1 |
What player from the United States had a total of 297? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "country"='united states' AND "total"=297; | 2-18009787-1 |
Which country won in 1988? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "country" FROM "made_the_cut" WHERE "year_s_won"='1988'; | 2-18009787-1 |
Which party had a term start of 5 august 1999? | CREATE TABLE "deputy_ministers" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "party" FROM "deputy_ministers" WHERE "term_start"='5 august 1999'; | 2-18133296-2 |
What term end had minister Danny Ayalon? | CREATE TABLE "deputy_ministers" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "term_end" FROM "deputy_ministers" WHERE "minister"='danny ayalon'; | 2-18133296-2 |
Which goverment had a party of yisrael beiteinu? | CREATE TABLE "deputy_ministers" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "governments" FROM "deputy_ministers" WHERE "party"='yisrael beiteinu'; | 2-18133296-2 |
Who was the minister of the labor party and had 26 goverments? | CREATE TABLE "deputy_ministers" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
); | SELECT "minister" FROM "deputy_ministers" WHERE "party"='labor party' AND "governments"='26'; | 2-18133296-2 |
What is the category that came before 2011? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated" text,
"result" text
); | SELECT "category" FROM "awards_and_nominations" WHERE "year"<2011; | 2-18073917-17 |
What is the year of the Premios Carlos Gardel 2009 award? | CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated" text,
"result" text
); | SELECT "year" FROM "awards_and_nominations" WHERE "award"='premios carlos gardel 2009'; | 2-18073917-17 |
What is Andrea Suarez Lazaro's height? | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "height" FROM "delegates" WHERE "contestant"='andrea suarez lazaro'; | 2-18356690-1 |
What is niurbi encarnación ynoa's height? | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "height" FROM "delegates" WHERE "contestant"='niurbi encarnación ynoa'; | 2-18356690-1 |
What is the province for Jamao Afuera? | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "province_community" FROM "delegates" WHERE "hometown"='jamao afuera'; | 2-18356690-1 |
What is the hometown for Santiago? | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "hometown" FROM "delegates" WHERE "province_community"='santiago'; | 2-18356690-1 |
What is the geographical region for hometown Imbert? | CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"height" text,
"hometown" text,
"geographical_regions" text
); | SELECT "geographical_regions" FROM "delegates" WHERE "hometown"='imbert'; | 2-18356690-1 |
What is the Name of the Ship attacked on 20February1942? | CREATE TABLE "ships_attacked" (
"date" text,
"time" text,
"name_of_ship" text,
"flag" text,
"tonnage" real,
"fate" text
); | SELECT "name_of_ship" FROM "ships_attacked" WHERE "date"='20february1942'; | 2-17989444-1 |
Which ship was sunk at 01:00? | CREATE TABLE "ships_attacked" (
"date" text,
"time" text,
"name_of_ship" text,
"flag" text,
"tonnage" real,
"fate" text
); | SELECT "name_of_ship" FROM "ships_attacked" WHERE "fate"='sunk at' AND "time"='01:00'; | 2-17989444-1 |
What is the to par for the 68-72-73=213 score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "score"='68-72-73=213'; | 2-18103106-6 |
What is the to par for the 69-70-72=211 score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "score"='69-70-72=211'; | 2-18103106-6 |
What is the to par for the United States with a 67-71-73=211 score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "country"='united states' AND "score"='67-71-73=211'; | 2-18103106-6 |
What country has t4 place and a 67-71-73=211 score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "place"='t4' AND "score"='67-71-73=211'; | 2-18103106-6 |
What is the to par for Australia and a 73-69-71=213 score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "country"='australia' AND "score"='73-69-71=213'; | 2-18103106-6 |
What Location has a Partner of app, a Population Served larger than 2000, and a Design flow (LPM) of 375? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT "location" FROM "plants" WHERE "partner"='app' AND "population_served">2000 AND "design_flow_lpm"=375; | 2-18268930-1 |
What Construction Start has an Inauguration Date of 2010 june? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT "construction_start" FROM "plants" WHERE "inauguration_date"='2010 june'; | 2-18268930-1 |
What Construction Start has a Design flow (LPM) of 1300? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT "construction_start" FROM "plants" WHERE "design_flow_lpm"=1300; | 2-18268930-1 |
What Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT "location" FROM "plants" WHERE "design_flow_lpm"<1900 AND "construction_start"='2006 june'; | 2-18268930-1 |
What Partner has a Construction Start of 2008 january? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT "partner" FROM "plants" WHERE "construction_start"='2008 january'; | 2-18268930-1 |
What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500? | CREATE TABLE "plants" (
"location" text,
"partner" text,
"construction_start" text,
"inauguration_date" text,
"population_served" real,
"design_flow_lpm" real
); | SELECT SUM("design_flow_lpm") FROM "plants" WHERE "partner"='app' AND "construction_start"='2008 january' AND "population_served">3500; | 2-18268930-1 |
What is Sandy Lyle's To Par? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "player"='sandy lyle'; | 2-18153721-5 |
What is Australia's score where they were in place t1? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "country"='australia' AND "place"='t1'; | 2-18153721-5 |
What place has Wales as a country? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "country"='wales'; | 2-18153721-5 |
What is the To Par of Peter Senior from Australia? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "country"='australia' AND "player"='peter senior'; | 2-18153721-5 |
What is the score of Howard Clark from England with a To Par of +1? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "to_par"='+1' AND "country"='england' AND "player"='howard clark'; | 2-18153721-5 |
What is the score of the player with a To Par of +1 from Spain? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "to_par"='+1' AND "country"='spain'; | 2-18153721-5 |
Who won the event against U.S.A.? | CREATE TABLE "2001" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "status" FROM "2001" WHERE "opposing_teams"='u.s.a.'; | 2-18178551-2 |
Where was the match on 10/11/2001 against 15? | CREATE TABLE "2001" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT "venue" FROM "2001" WHERE "against"=15 AND "date"='10/11/2001'; | 2-18178551-2 |
What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin? | CREATE TABLE "2001" (
"opposing_teams" text,
"against" real,
"date" text,
"venue" text,
"status" text
); | SELECT MIN("against") FROM "2001" WHERE "status"='six nations' AND "venue"='lansdowne road, dublin'; | 2-18178551-2 |
What 2008 has 1r as a 2010, A as the 2007, and 1r as the 2009? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2010"='1r' AND "2007"='a' AND "2009"='1r'; | 2-17717526-12 |
What 2008 has A as the 2007, and 2r as the 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2007"='a' AND "2010"='2r'; | 2-17717526-12 |
What 2009 has lq as the 2011? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2011"='lq'; | 2-17717526-12 |
What 2009 has 345 as the 2007? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2007"='345'; | 2-17717526-12 |
What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo? | CREATE TABLE "list" (
"order" real,
"nation" text,
"chinese_name" text,
"pinyin" text,
"sport" text
); | SELECT "nation" FROM "list" WHERE "sport"='weightlifting' AND "pinyin"='kùkè qúndǎo'; | 2-18143785-1 |
What day did Glentoran play at Windsor Park, Belfast? | CREATE TABLE "matches" (
"date" text,
"teams" text,
"score" text,
"team" text,
"venue" text
); | SELECT "date" FROM "matches" WHERE "team"='glentoran' AND "venue"='windsor park, belfast'; | 2-18311850-1 |
What day was the score 1-0? | CREATE TABLE "matches" (
"date" text,
"teams" text,
"score" text,
"team" text,
"venue" text
); | SELECT "date" FROM "matches" WHERE "score"='1-0'; | 2-18311850-1 |
Which team scored 2-1? | CREATE TABLE "matches" (
"date" text,
"teams" text,
"score" text,
"team" text,
"venue" text
); | SELECT "team" FROM "matches" WHERE "score"='2-1'; | 2-18311850-1 |
What is the 1998 value with 2r in 2003? | CREATE TABLE "grand_slam_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1998" text,
"2003" text,
"2004" text,
"2005" text,
"career" text
); | SELECT "1998" FROM "grand_slam_performance_timeline" WHERE "2003"='2r'; | 2-1804967-2 |
What is the 2004 value with 2r in 1994? | CREATE TABLE "grand_slam_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1998" text,
"2003" text,
"2004" text,
"2005" text,
"career" text
); | SELECT "2004" FROM "grand_slam_performance_timeline" WHERE "1994"='2r'; | 2-1804967-2 |
What is the 2003 value for the french open, which has a 1r in 1994? | CREATE TABLE "grand_slam_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1998" text,
"2003" text,
"2004" text,
"2005" text,
"career" text
); | SELECT "2003" FROM "grand_slam_performance_timeline" WHERE "1994"='1r' AND "tournament"='french open'; | 2-1804967-2 |
What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career? | CREATE TABLE "grand_slam_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1998" text,
"2003" text,
"2004" text,
"2005" text,
"career" text
); | SELECT "2003" FROM "grand_slam_performance_timeline" WHERE "1998"='1r' AND "1994"='1r' AND "career"='7-12'; | 2-1804967-2 |
Which driver finished in position 8? | CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
); | SELECT "driver" FROM "results" WHERE "fin_pos"=8; | 2-17693171-1 |
How many laps have 16 points and With a Laps Led of greater than 0? | CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
); | SELECT SUM("laps") FROM "results" WHERE "points"='16' AND "laps_led">0; | 2-17693171-1 |
What is the average grid for Marco Andretti with a finishing position higher than 19? | CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
); | SELECT AVG("grid") FROM "results" WHERE "driver"='marco andretti' AND "fin_pos">19; | 2-17693171-1 |
What is Car number 98's lowest grid? | CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
); | SELECT MIN("grid") FROM "results" WHERE "car_no"=98; | 2-17693171-1 |
What is the highest Laps Led with a grid of less than 4 and a finishing position of 15? | CREATE TABLE "results" (
"fin_pos" real,
"car_no" real,
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"laps_led" real,
"points" text
); | SELECT MAX("laps_led") FROM "results" WHERE "grid"<4 AND "fin_pos"=15; | 2-17693171-1 |
What is the average Qiangshu lower than rank 4 and less than 9.22 Jianshu? | CREATE TABLE "women_s_jianshu_qiangshu_combined" (
"rank" real,
"athlete" text,
"qiangshu" real,
"jianshu" real,
"total" real
); | SELECT AVG("qiangshu") FROM "women_s_jianshu_qiangshu_combined" WHERE "rank">4 AND "jianshu"<9.22; | 2-17660359-12 |
What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85? | CREATE TABLE "women_s_jianshu_qiangshu_combined" (
"rank" real,
"athlete" text,
"qiangshu" real,
"jianshu" real,
"total" real
); | SELECT AVG("jianshu") FROM "women_s_jianshu_qiangshu_combined" WHERE "rank"<2 AND "qiangshu"<9.85; | 2-17660359-12 |
On what date did the woman married to Louis II become consort? | CREATE TABLE "princely_consort_of_monaco" (
"name" text,
"birth" text,
"marriage" text,
"became_consort" text,
"ceased_to_be_consort" text,
"spouse" text
); | SELECT "became_consort" FROM "princely_consort_of_monaco" WHERE "spouse"='louis ii'; | 2-1770724-3 |
What is the Date of the game when the Record is 32–31–6? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
); | SELECT "date" FROM "regular_season" WHERE "record"='32–31–6'; | 2-17798130-8 |
What is the Opponent at the Honda Center on March 29? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
); | SELECT "opponent" FROM "regular_season" WHERE "arena"='honda center' AND "date"='march 29'; | 2-17798130-8 |
What is the Opponent when the Record is 34–31–6? | CREATE TABLE "regular_season" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text,
"arena" text,
"points" real
); | SELECT "opponent" FROM "regular_season" WHERE "record"='34–31–6'; | 2-17798130-8 |
What is Date, when Away Team is "Minehead"? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "first_round_proper" WHERE "away_team"='minehead'; | 2-17751859-1 |
What is Date, when Away Team is "Barnet"? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "date" FROM "first_round_proper" WHERE "away_team"='barnet'; | 2-17751859-1 |
What is Tie no, when Home Team is "Hull City"? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "tie_no" FROM "first_round_proper" WHERE "home_team"='hull city'; | 2-17751859-1 |
What is Away Team, when Home Team is "Swindon Town"? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "first_round_proper" WHERE "home_team"='swindon town'; | 2-17751859-1 |
What is Away Team, when Home Team is "Boston United"? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "away_team" FROM "first_round_proper" WHERE "home_team"='boston united'; | 2-17751859-1 |
What was Nick Faldo's score? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "third_round" WHERE "player"='nick faldo'; | 2-18156085-6 |
What country placed t8 and scored 71-71-71=213? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "place"='t8' AND "score"='71-71-71=213'; | 2-18156085-6 |
What was the place when the score was 67-73-73=213? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='67-73-73=213'; | 2-18156085-6 |
What was the place when the score was 70-69-74=213? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "score"='70-69-74=213'; | 2-18156085-6 |
What was United States place when the player was Fred Couples? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "country"='united states' AND "player"='fred couples'; | 2-18156085-6 |
WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "men_s_coubles" WHERE "2008"='a' AND "2011"='a'; | 2-17693472-4 |
WHAT IS THE 2012 WITH 2005 OF 1R? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2012" FROM "men_s_coubles" WHERE "2005"='1r'; | 2-17693472-4 |
WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2010" FROM "men_s_coubles" WHERE "2012"='2r' AND "tournament"='miami masters'; | 2-17693472-4 |
WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "men_s_coubles" WHERE "tournament"='win-loss' AND "2005"='a'; | 2-17693472-4 |
WHAT IS THE 2007 AT MADRID MASTERS? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2007" FROM "men_s_coubles" WHERE "tournament"='madrid masters'; | 2-17693472-4 |
WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R? | CREATE TABLE "men_s_coubles" (
"tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2011" FROM "men_s_coubles" WHERE "2007"='a' AND "2008"='3r'; | 2-17693472-4 |
What game was released before 2010 with a Metacritic of 85/100? | CREATE TABLE "games" (
"game_title" text,
"year_released" real,
"platform" text,
"game_rankings" text,
"metacritic" text
); | SELECT "game_title" FROM "games" WHERE "metacritic"='85/100' AND "year_released"<2010; | 2-1804018-1 |
What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%? | CREATE TABLE "games" (
"game_title" text,
"year_released" real,
"platform" text,
"game_rankings" text,
"metacritic" text
); | SELECT "metacritic" FROM "games" WHERE "year_released">2005 AND "platform"='playstation 3' AND "game_rankings"='84.44%'; | 2-1804018-1 |
What is the GameRankings Released of 2011 with a Metacritic of 83/100? | CREATE TABLE "games" (
"game_title" text,
"year_released" real,
"platform" text,
"game_rankings" text,
"metacritic" text
); | SELECT "game_rankings" FROM "games" WHERE "metacritic"='83/100' AND "year_released"=2011; | 2-1804018-1 |
How many weeks have an attendance less than 26,048? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT SUM("week") FROM "schedule" WHERE "attendance"<'26,048'; | 2-17924362-1 |
WHAT IS THE 11AM WITH LOCAL PROGRAMS AT 4PM AND GENERAL HOSPITAL AT 3PM? | CREATE TABLE "fall_1999" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "11_00_am" FROM "fall_1999" WHERE "4_00_pm"='local programs' AND "3_00_pm"='general hospital'; | 2-17887548-1 |
WHAT IS THE 4:30PM WITH AN 8:00AM CBS THIS MORNING? | CREATE TABLE "fall_1999" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "4_30_pm" FROM "fall_1999" WHERE "8_00_am"='cbs this morning'; | 2-17887548-1 |
WHAT IS THE 4:30PM WITH 1:30PM LOCAL PROGRAMS? | CREATE TABLE "fall_1999" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "4_30_pm" FROM "fall_1999" WHERE "1_30_pm"='local programs'; | 2-17887548-1 |
WHAT IS THE 8:00AM WITH PORT CHARLES AT 12:30PM? | CREATE TABLE "fall_1999" (
"7_00_am" text,
"7_30_am" text,
"8_00_am" text,
"9_00_am" text,
"10_00_am" text,
"11_00_am" text,
"noon" text,
"12_30_pm" text,
"1_00_pm" text,
"1_30_pm" text,
"2_00_pm" text,
"3_00_pm" text,
"3_30_pm" text,
"4_00_pm" text,
"4_30_pm" text,
"5_00_pm" text,
"6_30_pm" text
); | SELECT "8_00_am" FROM "fall_1999" WHERE "12_30_pm"='port charles'; | 2-17887548-1 |
What was the record when the Denver Broncos played the New York Titans at Bears Stadium? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "record" FROM "regular_season" WHERE "game_site"='bears stadium' AND "opponent"='new york titans'; | 2-17778417-1 |
What was the result of the match on December 9, 1962? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "result" FROM "regular_season" WHERE "date"='december 9, 1962'; | 2-17778417-1 |
What is To par, when Score is "70-68-68-71=277"? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_leaderboard" WHERE "score"='70-68-68-71=277'; | 2-18168735-3 |
What is the score of the match on 12 September 1990? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "score" FROM "international_goals" WHERE "date"='12 september 1990'; | 2-18316948-1 |
For what league was the player in G position drafted? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "league_from" FROM "round_three" WHERE "position"='g'; | 2-18026409-5 |
What pick number was player Greg McKegg? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT AVG("pick_num") FROM "round_three" WHERE "player"='greg mckegg'; | 2-18026409-5 |
What Place has a Player of tony jacklin? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='tony jacklin'; | 2-18169093-4 |
What Place has a Player of bernhard langer? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "second_round" WHERE "player"='bernhard langer'; | 2-18169093-4 |
What Player has a Country of west germany? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "country"='west germany'; | 2-18169093-4 |
What Player has a To par of –2? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "player" FROM "second_round" WHERE "to_par"='–2'; | 2-18169093-4 |
What To par has a Place of t2, and a Country of united states? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "second_round" WHERE "place"='t2' AND "country"='united states'; | 2-18169093-4 |
What Score has a Place of t2, and a Country of england? | CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "score" FROM "second_round" WHERE "place"='t2' AND "country"='england'; | 2-18169093-4 |
How many tries were there for club cwmtwrch rfc? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "tries_against" FROM "league_table" WHERE "club"='cwmtwrch rfc'; | 2-17675675-2 |
What is the draw when the tries against was 69? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "drawn" FROM "league_table" WHERE "tries_against"='69'; | 2-17675675-2 |
What is the try bonus when the loss is 13 and the draw is 2? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
); | SELECT "try_bonus" FROM "league_table" WHERE "lost"='13' AND "drawn"='2'; | 2-17675675-2 |
What is the average Finish, when Team is "Buck Baker", and when Start is less than 13? | CREATE TABLE "daytona_500_results" (
"year" real,
"manufacturer" text,
"start" real,
"finish" real,
"team" text
); | SELECT AVG("finish") FROM "daytona_500_results" WHERE "team"='buck baker' AND "start"<13; | 2-1777959-1 |
What is the average Year, when Start is "11"? | CREATE TABLE "daytona_500_results" (
"year" real,
"manufacturer" text,
"start" real,
"finish" real,
"team" text
); | SELECT AVG("year") FROM "daytona_500_results" WHERE "start"=11; | 2-1777959-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.