question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
When was Shannon Long the Centerfold model? | CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "date" FROM "1988" WHERE "centerfold_model"='shannon long'; | 2-1566848-9 |
Who was the Centerfold model on 5-88? | CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "centerfold_model" FROM "1988" WHERE "date"='5-88'; | 2-1566848-9 |
On which date was the interview subject 20 Questions of Judge Reinhold? | CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "date" FROM "1988" WHERE "20_questions"='judge reinhold'; | 2-1566848-9 |
Who was the Centerfild model that used Bruce Willis as her Interview subject? | CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
); | SELECT "centerfold_model" FROM "1988" WHERE "interview_subject"='bruce willis'; | 2-1566848-9 |
What is Series, when Launch Date is 23 February 2013? | CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
); | SELECT "series" FROM "series_details" WHERE "launch_date"='23 february 2013'; | 2-15984770-1 |
What is Series, when Days is greater than 99, and when Prize is €50,000? | CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
); | SELECT "series" FROM "series_details" WHERE "days">99 AND "prize"='€50,000'; | 2-15984770-1 |
What is Series, when Winner is Jetmir Salaj? | CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
); | SELECT "series" FROM "series_details" WHERE "winner"='jetmir salaj'; | 2-15984770-1 |
What is Highest Days, when Launch Date is 23 January 2010? | CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
); | SELECT MAX("days") FROM "series_details" WHERE "launch_date"='23 january 2010'; | 2-15984770-1 |
What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MIN("rank") FROM "points" WHERE "name"='jeremiah massey' AND "games"<20; | 2-16050349-13 |
What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MIN("games") FROM "points" WHERE "name"='jeremiah massey' AND "points"<340; | 2-16050349-13 |
What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT MIN("points") FROM "points" WHERE "games">20 AND "team"='partizan belgrade'; | 2-16050349-13 |
What is Games, when Points is less than 340, and when Rank is greater than 3? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT "games" FROM "points" WHERE "points"<340 AND "rank">3; | 2-16050349-13 |
What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21? | CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
); | SELECT SUM("rank") FROM "points" WHERE "name"='will solomon' AND "games">21; | 2-16050349-13 |
What was the first leg score in the match against Twente? | CREATE TABLE "borussia_m_nchengladbach" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
); | SELECT "first_leg" FROM "borussia_m_nchengladbach" WHERE "opposition"='twente'; | 2-15755354-2 |
What was the first leg score in the 2nd round? | CREATE TABLE "borussia_m_nchengladbach" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
); | SELECT "first_leg" FROM "borussia_m_nchengladbach" WHERE "round"='2nd'; | 2-15755354-2 |
What were the Bills points on Nov. 11? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT SUM("bills_points") FROM "schedule" WHERE "date"='nov. 11'; | 2-16028459-2 |
What was the Bills first downs on Oct. 29 with more the 23 Bills points? | CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
); | SELECT MIN("bills_first_downs") FROM "schedule" WHERE "date"='oct. 29' AND "bills_points">23; | 2-16028459-2 |
What was the Bill's attendance on December 6? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "season_schedule" WHERE "date"='december 6'; | 2-16008240-2 |
On what date did the Bills play the Houston Oilers before week 12? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "season_schedule" WHERE "week"<12 AND "opponent"='houston oilers'; | 2-16008240-2 |
Which team won on the day when attendance was 42,308? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "season_schedule" WHERE "attendance"='42,308'; | 2-16008240-2 |
What week of the season was December 13? | CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "week" FROM "season_schedule" WHERE "date"='december 13'; | 2-16008240-2 |
What is the highest Points in Position 2 with more than 3 Drawn games? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("points") FROM "campeonato_paulista" WHERE "position"=2 AND "drawn">3; | 2-15421748-1 |
What is the goal Difference at Position 5? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT "difference" FROM "campeonato_paulista" WHERE "position"=5; | 2-15421748-1 |
What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("played") FROM "campeonato_paulista" WHERE "position">3 AND "against"<27 AND "lost"<6; | 2-15421748-1 |
What is the highest Points with a Lost total of 8? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("points") FROM "campeonato_paulista" WHERE "lost"=8; | 2-15369962-1 |
Which average Points has a Lost higher than 20? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("points") FROM "campeonato_paulista" WHERE "lost">20; | 2-15369962-1 |
What are the Cuts made with a Top-10 smaller than 2? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("cuts_made") FROM "summary" WHERE "top_10"<2; | 2-1544891-6 |
What is the Top-25 with a Top-10 of 8, and an Events of 45? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_25") FROM "summary" WHERE "top_10"=8 AND "events"=45; | 2-1544891-6 |
What is the Top-25 with an Events of 20, and a Wins larger than 2? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("top_25") FROM "summary" WHERE "events"=20 AND "wins">2; | 2-1544891-6 |
Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_10") FROM "summary" WHERE "top_25"<18 AND "top_5"=6 AND "cuts_made"<20; | 2-1544891-6 |
What is Top Par, when Score is less than 68, and when Country is England? | CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round_thursday" WHERE "score"<68 AND "country"='england'; | 2-16092658-4 |
What is Sum of Score, when Player is Vijay Singh? | CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT SUM("score") FROM "first_round_thursday" WHERE "player"='vijay singh'; | 2-16092658-4 |
What is Sum of Score, when Place is T2, and when Player is Justin Leonard? | CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT SUM("score") FROM "first_round_thursday" WHERE "place"='t2' AND "player"='justin leonard'; | 2-16092658-4 |
What is Place, when Score is less than 67, and when Country is South Africa? | CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "place" FROM "first_round_thursday" WHERE "score"<67 AND "country"='south africa'; | 2-16092658-4 |
What show was on at 8:00 when american idol was on at 9:00? | CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_00" FROM "tuesday" WHERE "9_00"='american idol'; | 2-15708593-10 |
What was on at 8:30 when dancing with the stars: the results was on at 9:30? | CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_30" FROM "tuesday" WHERE "9_30"='dancing with the stars: the results'; | 2-15708593-10 |
What was on at 8:30 when dancing with the stars: the results was on at 9:30? | CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "8_30" FROM "tuesday" WHERE "9_00"='dancing with the stars: the results'; | 2-15708593-10 |
What was on at 10:00 when ncis was on at 8:00? | CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
); | SELECT "10_00" FROM "tuesday" WHERE "8_00"='ncis'; | 2-15708593-10 |
Can you tell me the Team that has the Laps of 379? | 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 "team" FROM "24_hours_of_le_mans_results" WHERE "laps"=379; | 2-1617309-1 |
What is the Tournament with a Margin of victory that was 4 strokes? | CREATE TABLE "pga_tour_wins_21" (
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text
); | SELECT "tournament" FROM "pga_tour_wins_21" WHERE "margin_of_victory"='4 strokes'; | 2-1576965-1 |
What is 1999, when 1998 is 2R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text
); | SELECT "1999" FROM "singles_performance_timeline" WHERE "1998"='2r'; | 2-1574767-3 |
What is 1998, when 1994 is Grand Slam Tournaments? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text
); | SELECT "1998" FROM "singles_performance_timeline" WHERE "1994"='grand slam tournaments'; | 2-1574767-3 |
What is 2009, when 2000 is 1R, and when 1998 is 3R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2000"='1r' AND "1998"='3r'; | 2-1574767-3 |
What is 2009, when 2008 is 1R, and when Tournament is French Open? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2008"='1r' AND "tournament"='french open'; | 2-1574767-3 |
What is 2009, when 2004 is 2R, and when 1993 is A? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text
); | SELECT "2009" FROM "singles_performance_timeline" WHERE "2004"='2r' AND "1993"='a'; | 2-1574767-3 |
What is the average amount of gold medals for a country with more than 12 total medals? | CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("gold") FROM "medals_table" WHERE "total">12; | 2-15807914-2 |
Who were the Visitor when the Nets were the Home team? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "visitor" FROM "november" WHERE "home"='nets'; | 2-16140345-4 |
What Leading scorer had a Score of 80–112? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
); | SELECT "leading_scorer" FROM "november" WHERE "score"='80–112'; | 2-16140345-4 |
What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_16" WHERE "margin_of_victory"='2 strokes' AND "date"='sep 20, 1981'; | 2-1579748-1 |
For the tournament played on Jul 4, 1982, what was the winning score? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_16" WHERE "date"='jul 4, 1982'; | 2-1579748-1 |
What was the winning score for the Andy Williams-San Diego Open Invitational tournament? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_16" WHERE "tournament"='andy williams-san diego open invitational'; | 2-1579748-1 |
Who was the runner(s)-up for the tournament played on Jun 3, 1973? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "runner_s_up" FROM "pga_tour_wins_16" WHERE "date"='jun 3, 1973'; | 2-1579748-1 |
What was the winning score for the tournament played on Jul 14, 1973? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "pga_tour_wins_16" WHERE "date"='jul 14, 1973'; | 2-1579748-1 |
In which tournament was Gil Morgan the runner-up? | CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "tournament" FROM "pga_tour_wins_16" WHERE "runner_s_up"='gil morgan'; | 2-1579748-1 |
What was the highest attendance when the Atlanta Falcons played for a week smaller than 10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" real
); | SELECT MAX("attendance") FROM "schedule" WHERE "opponent"='atlanta falcons' AND "week"<10; | 2-15521693-2 |
What is the Result when the Theme was by Dolly Parton? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "result" FROM "performances_results" WHERE "theme"='dolly parton'; | 2-15796078-1 |
What is the Order # when the song choice was " you're so vain "? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "order_num" FROM "performances_results" WHERE "song_choice"='\" you''re so vain \"'; | 2-15796078-1 |
What is the Theme when the Original artist was carole king, and a Week # shows hollywood? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "theme" FROM "performances_results" WHERE "original_artist"='carole king' AND "week_num"='hollywood'; | 2-15796078-1 |
What is the Result when the Song choice was "beautiful"? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "result" FROM "performances_results" WHERE "song_choice"='\"beautiful\"'; | 2-15796078-1 |
What Week # that is there an Order # of 7, and the Song choice was " let it be "? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "week_num" FROM "performances_results" WHERE "order_num"='7' AND "song_choice"='\" let it be \"'; | 2-15796078-1 |
What is the Song choice when there is an Order # of 4? | CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
); | SELECT "song_choice" FROM "performances_results" WHERE "order_num"='4'; | 2-15796078-1 |
What proto-oceanic has louse as the animal? | CREATE TABLE "animals" (
"animal" text,
"proto_austronesian" text,
"proto_malayo_polynesian" text,
"proto_oceanic" text,
"proto_polynesian" text
); | SELECT "proto_oceanic" FROM "animals" WHERE "animal"='louse'; | 2-15568886-15 |
What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates? | CREATE TABLE "96pct_of_precincts_reporting" (
"candidate" text,
"state_delegate" real,
"percentage" text,
"delegates" real,
"counties_carries" real
); | SELECT SUM("delegates") FROM "96pct_of_precincts_reporting" WHERE "counties_carries"=4 AND "state_delegate">'1,903'; | 2-16186152-1 |
What is the Home team with an Away team that is oxford united? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='oxford united'; | 2-15786635-2 |
What is the Home team with an Away team that is wrexham? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='wrexham'; | 2-15786635-2 |
Which Gold has a Silver of 7, and a Bronze smaller than 7? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_table" WHERE "silver"=7 AND "bronze"<7; | 2-155115-1 |
Which Bronze has a Silver of 15, and a Gold smaller than 20? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("bronze") FROM "medal_table" WHERE "silver"=15 AND "gold"<20; | 2-155115-1 |
Which Bronze has a Silver of 7, and a Total larger than 25? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("bronze") FROM "medal_table" WHERE "silver"=7 AND "total">25; | 2-155115-1 |
Which Gold has a Bronze larger than 1, and a Total larger than 80? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medal_table" WHERE "bronze">1 AND "total">80; | 2-155115-1 |
Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("total") FROM "medal_table" WHERE "silver">8 AND "bronze"=20 AND "gold"<20; | 2-155115-1 |
What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_c" WHERE "set_4"='na' AND "score"='3-0' AND "set_2"='26-24'; | 2-16013858-7 |
What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "total" FROM "results_pool_c" WHERE "score"='3-0' AND "set_3"='25-18' AND "set_2"='25-12'; | 2-16013858-7 |
What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25? | CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_5" FROM "results_pool_c" WHERE "set_2"='26-24' AND "set_1"='27-25'; | 2-16013858-7 |
Who has a total number of 76 silver medals? | CREATE TABLE "overall" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "overall" WHERE "total"=76; | 2-15409851-5 |
What score has ipswich town as the home team, and replay as the tie no.? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "first_round_proper" WHERE "home_team"='ipswich town' AND "tie_no"='replay'; | 2-15625088-2 |
What score has grays athletic as the home team? | CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
); | SELECT "score" FROM "first_round_proper" WHERE "home_team"='grays athletic'; | 2-15625088-2 |
What date has 6 as the tie no.? | 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 "tie_no"='6'; | 2-15625088-2 |
What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island? | CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "race_calendar" WHERE "winning_team"='team brm' AND "race"=1 AND "pole_position"='leanne tander' AND "circuit"='phillip island'; | 2-15530244-2 |
What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow? | CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "fastest_lap" FROM "race_calendar" WHERE "round"='5' AND "winning_driver"='james winslow'; | 2-15530244-2 |
What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander? | CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "date" FROM "race_calendar" WHERE "fastest_lap"='james winslow' AND "race"=1 AND "winning_driver"='leanne tander'; | 2-15530244-2 |
What is Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse? | CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
); | SELECT "pole_position" FROM "race_calendar" WHERE "circuit"='adelaide street circuit' AND "winning_team"='piccola scuderia corse'; | 2-15530244-2 |
What country was the game played in when the location was trestles? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "country" FROM "tournaments" WHERE "location"='trestles'; | 2-16135024-1 |
What date was the game played when it was located at bells beach? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "date" FROM "tournaments" WHERE "location"='bells beach'; | 2-16135024-1 |
What country was the game played when it was played from April 11-April 21? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "country" FROM "tournaments" WHERE "date"='april 11-april 21'; | 2-16135024-1 |
Who was the Runner-up when the game was played at Bells Beach? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "runner_up" FROM "tournaments" WHERE "location"='bells beach'; | 2-16135024-1 |
Which Accolade had a publication of Under the Radar? | CREATE TABLE "reception" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT "accolade" FROM "reception" WHERE "publication"='under the radar'; | 2-16094475-2 |
Which year had a publication of Pazz & Jop? | CREATE TABLE "reception" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
); | SELECT "year" FROM "reception" WHERE "publication"='pazz & jop'; | 2-16094475-2 |
How many districts featured the democrat nicholas von stein? | CREATE TABLE "match_up_summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
); | SELECT COUNT("district") FROM "match_up_summary" WHERE "democratic"='nicholas von stein'; | 2-16141050-1 |
Which incumbent's democratic candidate was mike carroll? | CREATE TABLE "match_up_summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
); | SELECT "incumbent" FROM "match_up_summary" WHERE "democratic"='mike carroll'; | 2-16141050-1 |
Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket? | CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"socialist_labor_ticket" text
); | SELECT "democratic_ticket" FROM "1962_state_election_results" WHERE "liberal_ticket"='edward r. dudley'; | 2-15558979-1 |
When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket? | CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"socialist_labor_ticket" text
); | SELECT "democratic_ticket" FROM "1962_state_election_results" WHERE "socialist_labor_ticket"='john emanuel'; | 2-15558979-1 |
What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? | CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"socialist_labor_ticket" text
); | SELECT "office" FROM "1962_state_election_results" WHERE "socialist_workers_ticket"='sylvia weinstein'; | 2-15558979-1 |
Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket? | CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"socialist_labor_ticket" text
); | SELECT "socialist_labor_ticket" FROM "1962_state_election_results" WHERE "democratic_ticket"='robert m. morgenthau'; | 2-15558979-1 |
When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket? | CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"socialist_labor_ticket" text
); | SELECT "socialist_workers_ticket" FROM "1962_state_election_results" WHERE "republican_ticket"='john p. lomenzo'; | 2-15558979-1 |
What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions? | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
); | SELECT SUM("area_km_2") FROM "area_and_population" WHERE "pop_density_people_km_2">91 AND "member_state"='italy' AND "population_in_millions"<58.8; | 2-1606824-1 |
What is the area % of EU with 16.4 population in millions? | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
); | SELECT "area_pct_of_eu" FROM "area_and_population" WHERE "population_in_millions"=16.4; | 2-1606824-1 |
What is the total number of area km2 with a 4.2 population in millions and is a member state of the Czech Republic? | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
); | SELECT COUNT("area_km_2") FROM "area_and_population" WHERE "population_in_millions">4.2 AND "member_state"='czech republic'; | 2-1606824-1 |
What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions? | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
); | SELECT SUM("pop_density_people_km_2") FROM "area_and_population" WHERE "population_pct_of_eu"='0.1%' AND "area_pct_of_eu"='0.1%' AND "population_in_millions">0.5; | 2-1606824-1 |
What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3? | CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
); | SELECT MIN("area_km_2") FROM "area_and_population" WHERE "member_state"='czech republic' AND "population_in_millions"<10.3; | 2-1606824-1 |
Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height | CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
); | SELECT COUNT("height") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"<340 AND "name"='gilberto godoy filho' AND "weight"<85; | 2-15859432-3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.