question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What was the Play-by-play when the color commentator was Eric Wynalda, earlier than 2005? | CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"pregame_host" text
); | SELECT "play_by_play" FROM "2000s" WHERE "color_commentator_s"='eric wynalda' AND "year"<2005; | 2-17516922-2 |
What is the name of the pregame host when the Play-by-play was by JP Dellacamera, earlier than 2009, and Color commentator(s) was Ty Keough? | CREATE TABLE "2000s" (
"year" real,
"network" text,
"play_by_play" text,
"color_commentator_s" text,
"pregame_host" text
); | SELECT "pregame_host" FROM "2000s" WHERE "play_by_play"='jp dellacamera' AND "year"<2009 AND "color_commentator_s"='ty keough'; | 2-17516922-2 |
What date was the score 3–0, and set 1 was 25–22? | CREATE TABLE "pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "date" FROM "pool_c" WHERE "score"='3–0' AND "set_1"='25–22'; | 2-17626199-10 |
What date was the total 56–75? | CREATE TABLE "pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "date" FROM "pool_c" WHERE "total"='56–75'; | 2-17626199-10 |
What is the Set 1 when Set 3 was 25–15? | CREATE TABLE "pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "set_1" FROM "pool_c" WHERE "set_3"='25–15'; | 2-17626199-10 |
What date was the total 75–45? | CREATE TABLE "pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"total" text
); | SELECT "date" FROM "pool_c" WHERE "total"='75–45'; | 2-17626199-10 |
What is the sum of the dates in december that were against the atlanta flames before game 40? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT SUM("december") FROM "schedule_and_results" WHERE "opponent"='atlanta flames' AND "game"<40; | 2-17562992-4 |
What was the score of the game against montreal canadiens after game 26? | CREATE TABLE "schedule_and_results" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text
); | SELECT "score" FROM "schedule_and_results" WHERE "game">26 AND "opponent"='montreal canadiens'; | 2-17562992-4 |
In what Round was Grant Long Drafted? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "player"='grant long'; | 2-17292548-2 |
What is the Player from Memphis? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT "player" FROM "draft_picks" WHERE "school_club_team"='memphis'; | 2-17292548-2 |
What Player was picked after Round 2 with a Pick number larger than 33? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT "player" FROM "draft_picks" WHERE "pick">33 AND "round">2; | 2-17292548-2 |
In what Round was the Memphis Player drafted? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"position" text,
"nationality" text,
"school_club_team" text
); | SELECT AVG("round") FROM "draft_picks" WHERE "school_club_team"='memphis'; | 2-17292548-2 |
Which School/Club Team holds the 2006-2009 Years of Grizzlies ? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "l" WHERE "years_for_grizzlies"='2006-2009'; | 2-16494599-12 |
Who was the Player in the 1998-2000 Year of Grizzlies? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
); | SELECT "player" FROM "l" WHERE "years_for_grizzlies"='1998-2000'; | 2-16494599-12 |
What is the Nationality of the 1998-2000 Years for Grizzlies? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
); | SELECT "nationality" FROM "l" WHERE "years_for_grizzlies"='1998-2000'; | 2-16494599-12 |
Who was the 1999-2002 Years for Grizzlies small forward Player who was from the United States? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
); | SELECT "player" FROM "l" WHERE "nationality"='united states' AND "position"='small forward' AND "years_for_grizzlies"='1999-2002'; | 2-16494599-12 |
Which Player is the shooting guard? | CREATE TABLE "l" (
"player" text,
"nationality" text,
"position" text,
"years_for_grizzlies" text,
"school_club_team" text
); | SELECT "player" FROM "l" WHERE "position"='shooting guard'; | 2-16494599-12 |
What is the location and attendance of game 44? | CREATE TABLE "game_log" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"decision" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "game"=44; | 2-17360752-7 |
What is the record of game 42, which had a clemmensen decision? | CREATE TABLE "game_log" (
"game" real,
"date" real,
"opponent" text,
"score" text,
"decision" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "decision"='clemmensen' AND "game"=42; | 2-17360752-7 |
What country parred E and scored 71-73-70-74=288? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "country" FROM "final_round" WHERE "to_par"='e' AND "score"='71-73-70-74=288'; | 2-16458279-4 |
How much money was scored for 73-71-70-73=287? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "score"='73-71-70-73=287'; | 2-16458279-4 |
What country has to par E with Mark O'Meara? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "country" FROM "final_round" WHERE "to_par"='e' AND "player"='mark o''meara'; | 2-16458279-4 |
What country placed t6 with player Vijay Singh? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "country" FROM "final_round" WHERE "place"='t6' AND "player"='vijay singh'; | 2-16458279-4 |
How much money did David Toms get? | CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "money" FROM "final_round" WHERE "player"='david toms'; | 2-16458279-4 |
What is the playoffs Game number on April 26? | CREATE TABLE "playoffs" (
"game" text,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "game" FROM "playoffs" WHERE "date"='april 26'; | 2-17058151-11 |
What is the Score of Game 4? | CREATE TABLE "playoffs" (
"game" text,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "game"='4'; | 2-17058151-11 |
What is the playoff Game on April 30? | CREATE TABLE "playoffs" (
"game" text,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "game" FROM "playoffs" WHERE "date"='april 30'; | 2-17058151-11 |
What is the Date of the game with a Score of L 115–118 (OT)? | CREATE TABLE "playoffs" (
"game" text,
"date" text,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "date" FROM "playoffs" WHERE "score"='l 115–118 (ot)'; | 2-17058151-11 |
What was the result when there were 27,321 in attendance? | CREATE TABLE "1996" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "1996" WHERE "attendance"='27,321'; | 2-17345263-5 |
What is the number in attendance at Dowdy-Ficklen stadium • Greenville, NC, and the opponent was Ohio? | CREATE TABLE "1996" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "1996" WHERE "site"='dowdy-ficklen stadium • greenville, nc' AND "opponent"='ohio'; | 2-17345263-5 |
What date was the game at Dowdy-Ficklen stadium • Greenville, NC, with 27,321 in attendance? | CREATE TABLE "1996" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "1996" WHERE "site"='dowdy-ficklen stadium • greenville, nc' AND "attendance"='27,321'; | 2-17345263-5 |
What team was the opponent when there were 27,321 in attendance? | CREATE TABLE "1996" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "1996" WHERE "attendance"='27,321'; | 2-17345263-5 |
What date was the game at Williams-Brice stadium • Columbia, SC? | CREATE TABLE "1996" (
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "1996" WHERE "site"='williams-brice stadium • columbia, sc'; | 2-17345263-5 |
Can you tell me the Margin of victory that has the Winning score of 67-69-67-69=272? | CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"purse" real,
"winner_s_share" real
); | SELECT "margin_of_victory" FROM "winners" WHERE "winning_score"='67-69-67-69=272'; | 2-17318215-2 |
Can you tell me the To par that has the Winner's share larger than 200,000, and the Margin of victory of 3 strokes? | CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text,
"purse" real,
"winner_s_share" real
); | SELECT "to_par" FROM "winners" WHERE "winner_s_share">'200,000' AND "margin_of_victory"='3 strokes'; | 2-17318215-2 |
WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG? | CREATE TABLE "release_history" (
"date" real,
"region" text,
"label" text,
"format" text,
"catalog" text
); | SELECT AVG("date") FROM "release_history" WHERE "label"='cbs' AND "region"='australia' AND "catalog"='sbp 241031'; | 2-17084813-2 |
WHAT DATE HAS A CATALOG OF 486553.4? | CREATE TABLE "release_history" (
"date" real,
"region" text,
"label" text,
"format" text,
"catalog" text
); | SELECT MAX("date") FROM "release_history" WHERE "catalog"='486553.4'; | 2-17084813-2 |
WHAT IS THE LOWEST DATE FOR KOREA, IN CD FORMAT? | CREATE TABLE "release_history" (
"date" real,
"region" text,
"label" text,
"format" text,
"catalog" text
); | SELECT MIN("date") FROM "release_history" WHERE "region"='korea' AND "format"='cd'; | 2-17084813-2 |
What is 2008, when 2006 is "1R"? | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2008" FROM "men_s_doubles_performance_timeline" WHERE "2006"='1r'; | 2-1724440-8 |
What is Tournament, when 2006 is "A", and when 2009 is "A"? | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "tournament" FROM "men_s_doubles_performance_timeline" WHERE "2006"='a' AND "2009"='a'; | 2-1724440-8 |
What is 2005, when 2006 is "1R"? | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2005" FROM "men_s_doubles_performance_timeline" WHERE "2006"='1r'; | 2-1724440-8 |
What is 2011, when 2008 is "2R"? | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2011" FROM "men_s_doubles_performance_timeline" WHERE "2008"='2r'; | 2-1724440-8 |
What is 2004, when 2005 is "2R", and when 2006 is "1R" | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2004" FROM "men_s_doubles_performance_timeline" WHERE "2005"='2r' AND "2006"='1r'; | 2-1724440-8 |
What is 2004, when 2009 is "A"? | CREATE TABLE "men_s_doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
); | SELECT "2004" FROM "men_s_doubles_performance_timeline" WHERE "2009"='a'; | 2-1724440-8 |
What was the name of the opponent when the method was ko (slam), and record was 13–1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "method"='ko (slam)' AND "record"='13–1'; | 2-1758339-2 |
What is the highest pick of scott turner, who has a round greater than 2? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "round">2 AND "name"='scott turner'; | 2-17100961-66 |
What is the name of the ot position player with a round greater than 4? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "name" FROM "washington_redskins_draft_history" WHERE "round">4 AND "position"='ot'; | 2-17100961-66 |
What is the sum of the pick of darryl pounds, who has an overall greater than 68? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT SUM("pick") FROM "washington_redskins_draft_history" WHERE "name"='darryl pounds' AND "overall">68; | 2-17100961-66 |
What is the total number of rounds of the player from lehigh college with an overall less than 152? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("round") FROM "washington_redskins_draft_history" WHERE "college"='lehigh' AND "overall"<152; | 2-17100961-66 |
What is the highest round of pick 3? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MAX("round") FROM "washington_redskins_draft_history" WHERE "pick"=3; | 2-17100961-66 |
What is the total overall number of the ot position player with a pick greater than 5? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT COUNT("overall") FROM "washington_redskins_draft_history" WHERE "position"='ot' AND "pick">5; | 2-17100961-66 |
What rank does the Singapore Cup of 0 (1) have? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT MAX("rank") FROM "goalscorers" WHERE "singapore_cup"='0 (1)'; | 2-17540458-6 |
What Singapore League Cup does Masahiro Fukasawa have? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT "singapore_league_cup" FROM "goalscorers" WHERE "name"='masahiro fukasawa'; | 2-17540458-6 |
What is Norikazu Murakami's total? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT "total" FROM "goalscorers" WHERE "name"='norikazu murakami'; | 2-17540458-6 |
What is the rank for the total that has 3 (20)? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT "rank" FROM "goalscorers" WHERE "total"='3 (20)'; | 2-17540458-6 |
Which AFC cup does Masahiro Fukasawa have? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT "afc_cup" FROM "goalscorers" WHERE "name"='masahiro fukasawa'; | 2-17540458-6 |
Which AFC cup does Kenji Arai have? | CREATE TABLE "goalscorers" (
"rank" real,
"name" text,
"s_league" text,
"singapore_cup" text,
"singapore_league_cup" text,
"afc_cup" text,
"total" text
); | SELECT "afc_cup" FROM "goalscorers" WHERE "name"='kenji arai'; | 2-17540458-6 |
In the game where Joe Johnson (31) was the high points scorer, what was the final score? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "high_points"='joe johnson (31)'; | 2-17311759-4 |
What is the lowest to par of the player with a t3 place and less than $1,500? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT MIN("to_par") FROM "final_leaderboard" WHERE "place"='t3' AND "money"<'1,500'; | 2-17290159-1 |
Who is the player from the United States with a t6 place and a 71-70-76-72=289 score? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "country"='united states' AND "place"='t6' AND "score"='71-70-76-72=289'; | 2-17290159-1 |
How much total money does player tommy bolt, who has a to par of 9, have? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT COUNT("money") FROM "final_leaderboard" WHERE "to_par"=9 AND "player"='tommy bolt'; | 2-17290159-1 |
What is the lowest amount of money a player from South Africa with a to par less than 8 has? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" real
); | SELECT MIN("money") FROM "final_leaderboard" WHERE "country"='south africa' AND "to_par"<8; | 2-17290159-1 |
What was the venue that had a friendly match competition? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='friendly match'; | 2-17368230-1 |
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course? | CREATE TABLE "u_s_open_champions" (
"year" real,
"country" text,
"course" text,
"location" text,
"total_score" text,
"to_par_a" text
); | SELECT "course" FROM "u_s_open_champions" WHERE "to_par_a"='n/a' AND "country"='scotland' AND "year">1905 AND "location"='philadelphia, pennsylvania'; | 2-16680797-2 |
What is the total score for a location of san francisco, california, and a year after 1987, and a to pa [a] of +1? | CREATE TABLE "u_s_open_champions" (
"year" real,
"country" text,
"course" text,
"location" text,
"total_score" text,
"to_par_a" text
); | SELECT "total_score" FROM "u_s_open_champions" WHERE "location"='san francisco, california' AND "year">1987 AND "to_par_a"='+1'; | 2-16680797-2 |
What is the sum for the year with a location of newport, rhode island? | CREATE TABLE "u_s_open_champions" (
"year" real,
"country" text,
"course" text,
"location" text,
"total_score" text,
"to_par_a" text
); | SELECT SUM("year") FROM "u_s_open_champions" WHERE "location"='newport, rhode island'; | 2-16680797-2 |
What is the country with a course of merion golf club, and a to par [1] of e? | CREATE TABLE "u_s_open_champions" (
"year" real,
"country" text,
"course" text,
"location" text,
"total_score" text,
"to_par_a" text
); | SELECT "country" FROM "u_s_open_champions" WHERE "course"='merion golf club' AND "to_par_a"='e'; | 2-16680797-2 |
What is the total score for the year 2012? | CREATE TABLE "u_s_open_champions" (
"year" real,
"country" text,
"course" text,
"location" text,
"total_score" text,
"to_par_a" text
); | SELECT "total_score" FROM "u_s_open_champions" WHERE "year"=2012; | 2-16680797-2 |
What is the evening gown score for the contestant from Mississippi? | CREATE TABLE "final_competition" (
"state" text,
"preliminary_average" text,
"interview" text,
"swimsuit" text,
"evening_gown" text,
"semifinal_average" text
); | SELECT "evening_gown" FROM "final_competition" WHERE "state"='mississippi'; | 2-16323766-3 |
What is the type for rank 2? | CREATE TABLE "denmark" (
"rank" real,
"surname" text,
"number_of_bearers_1971" real,
"number_of_bearers_2009" real,
"type" text,
"etymology" text
); | SELECT "type" FROM "denmark" WHERE "rank"=2; | 2-16605179-1 |
What is the sum of number of bearers in 2009 for a rank above 1, a type of patronymic, an etymology meaning son of Christian, and the number of bearers in 1971 greater than 45.984? | CREATE TABLE "denmark" (
"rank" real,
"surname" text,
"number_of_bearers_1971" real,
"number_of_bearers_2009" real,
"type" text,
"etymology" text
); | SELECT SUM("number_of_bearers_2009") FROM "denmark" WHERE "rank">1 AND "type"='patronymic' AND "etymology"='son of christian' AND "number_of_bearers_1971">45.984; | 2-16605179-1 |
What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "qual_2" FROM "qualifying_results" WHERE "team"='herdez competition' AND "name"='ryan hunter-reay'; | 2-16789804-1 |
What is Justin Wilson's Team? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "team" FROM "qualifying_results" WHERE "name"='justin wilson'; | 2-16789804-1 |
What is the Best of the racer with a Qual 2 of 1:00.588? | CREATE TABLE "qualifying_results" (
"name" text,
"team" text,
"qual_1" text,
"qual_2" text,
"best" text
); | SELECT "best" FROM "qualifying_results" WHERE "qual_2"='1:00.588'; | 2-16789804-1 |
Where is the lowest area with a population of 7,616? | CREATE TABLE "subdivisions" (
"hanyu" text,
"tongyong" text,
"pe_h_e_j" text,
"chinese" text,
"area_km" real,
"no_of_villages" real,
"population_2010" real
); | SELECT MIN("area_km") FROM "subdivisions" WHERE "population_2010"='7,616'; | 2-17015-2 |
Where in Tongyong is Hanyu Sanmin? | CREATE TABLE "subdivisions" (
"hanyu" text,
"tongyong" text,
"pe_h_e_j" text,
"chinese" text,
"area_km" real,
"no_of_villages" real,
"population_2010" real
); | SELECT "tongyong" FROM "subdivisions" WHERE "hanyu"='sanmin'; | 2-17015-2 |
Which Hanya has an area of 19.3888? | CREATE TABLE "subdivisions" (
"hanyu" text,
"tongyong" text,
"pe_h_e_j" text,
"chinese" text,
"area_km" real,
"no_of_villages" real,
"population_2010" real
); | SELECT "hanyu" FROM "subdivisions" WHERE "area_km"=19.3888; | 2-17015-2 |
What is Nationality, when Round is less than 2, and when Pick is "24"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"position" text,
"nationality" text,
"college_team" text
); | SELECT "nationality" FROM "draft_picks" WHERE "round"<2 AND "pick"=24; | 2-17355628-1 |
What is Nationality, when Round is less than 2, and when College/Team is "CB L'Hospitalet"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"position" text,
"nationality" text,
"college_team" text
); | SELECT "nationality" FROM "draft_picks" WHERE "round"<2 AND "college_team"='cb l''hospitalet'; | 2-17355628-1 |
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"position" text,
"nationality" text,
"college_team" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "college_team"='kansas' AND "pick"<56; | 2-17355628-1 |
What is College/Team, when Round is less than 2, and when Nationality is "United States"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"position" text,
"nationality" text,
"college_team" text
); | SELECT "college_team" FROM "draft_picks" WHERE "round"<2 AND "nationality"='united states'; | 2-17355628-1 |
WHAT IS THE Q1 POS WITH A 1:31.826 Q1 TIME, AND Q1 ORDER OF 7? | CREATE TABLE "qualifying" (
"driver" text,
"constructor" text,
"q1_order" real,
"q1_time" text,
"q1_pos" real,
"q1_q2_time" text
); | SELECT MAX("q1_pos") FROM "qualifying" WHERE "q1_time"='1:31.826' AND "q1_order">7; | 2-1688155-1 |
What is the score on December 2? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "date"='december 2'; | 2-17190012-6 |
How many silver medals were won in 1938? | CREATE TABLE "overall_medal_tally" (
"year" text,
"gold" text,
"silver" text,
"bronze" text,
"total" text
); | SELECT "silver" FROM "overall_medal_tally" WHERE "year"='1938'; | 2-16792440-1 |
How many gold medals were won in 1970? | CREATE TABLE "overall_medal_tally" (
"year" text,
"gold" text,
"silver" text,
"bronze" text,
"total" text
); | SELECT "gold" FROM "overall_medal_tally" WHERE "year"='1970'; | 2-16792440-1 |
How many silver medals were won the year 7 gold medals were won? | CREATE TABLE "overall_medal_tally" (
"year" text,
"gold" text,
"silver" text,
"bronze" text,
"total" text
); | SELECT "silver" FROM "overall_medal_tally" WHERE "gold"='7'; | 2-16792440-1 |
How many bronze medals were won in 1998? | CREATE TABLE "overall_medal_tally" (
"year" text,
"gold" text,
"silver" text,
"bronze" text,
"total" text
); | SELECT "bronze" FROM "overall_medal_tally" WHERE "year"='1998'; | 2-16792440-1 |
Can you tell me the TV Time that has the Date of november 22, 1998? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "tv_time" FROM "schedule" WHERE "date"='november 22, 1998'; | 2-16433861-2 |
Can you tell me the Result that has the Date of september 13, 1998? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "result" FROM "schedule" WHERE "date"='september 13, 1998'; | 2-16433861-2 |
Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "opponent" FROM "schedule" WHERE "week"<11 AND "tv_time"='fox 10:00 am mt' AND "result"='w 20-17'; | 2-16433861-2 |
Can you tell me the Result that has the Week of 5? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"tv_time" text,
"opponent" text,
"result" text
); | SELECT "result" FROM "schedule" WHERE "week"=5; | 2-16433861-2 |
What is the average year that the club located in enfield was founded with an unknown coach? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" real
); | SELECT AVG("founded") FROM "south_australia" WHERE "coach"='unknown' AND "location"='enfield'; | 2-1742186-15 |
What was the location of the club where the home ground is wilfred taylor reserve? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" real
); | SELECT "location" FROM "south_australia" WHERE "home_ground"='wilfred taylor reserve'; | 2-1742186-15 |
Where is the club that was founded in 1946 located that has an unknown coach? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" real
); | SELECT "location" FROM "south_australia" WHERE "coach"='unknown' AND "founded"=1946; | 2-1742186-15 |
Where is the home ground for the club coached by nick pantsaras and founded before 1946? | CREATE TABLE "south_australia" (
"team" text,
"coach" text,
"home_ground" text,
"location" text,
"founded" real
); | SELECT "home_ground" FROM "south_australia" WHERE "founded"<1946 AND "coach"='nick pantsaras'; | 2-1742186-15 |
Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "team" FROM "playoffs" WHERE "location_attendance"='madison square garden' AND "score"='87-83'; | 2-16763663-12 |
Which game was played at the Forum and led to a series result of 0-1? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "game" FROM "playoffs" WHERE "location_attendance"='the forum' AND "series"='0-1'; | 2-16763663-12 |
What was the score for game 2? | CREATE TABLE "playoffs" (
"game" real,
"team" text,
"score" text,
"location_attendance" text,
"series" text
); | SELECT "score" FROM "playoffs" WHERE "game"=2; | 2-16763663-12 |
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov? | CREATE TABLE "season_2_1997_98" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "title" FROM "season_2_1997_98" WHERE "season_num"<10 AND "directed_by"='milan cheylov' AND "original_air_date"='september 29, 1997'; | 2-16471432-3 |
What is the attendance of the November 19, 1990 game? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='november 19, 1990'; | 2-16376436-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.