question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
What is the highest poll of the advocate Andy Kindler with poll losses greater than 2 and ties less than 0? | CREATE TABLE "advocates" (
"advocate" text,
"wins" real,
"losses" real,
"ties" real,
"poll_wins" real,
"poll_losses" real
); | SELECT MAX("poll_wins") FROM "advocates" WHERE "poll_losses">2 AND "advocate"='andy kindler' AND "ties"<0; | 2-15781170-1 |
Which PBA Titles has a TV Finals larger than 6, and an Events larger than 20? | CREATE TABLE "career_statistics" (
"season" text,
"events" real,
"cashes" real,
"match_play" real,
"tv_finals" real,
"pba_titles" real,
"average" real,
"earnings" text
); | SELECT AVG("pba_titles") FROM "career_statistics" WHERE "tv_finals">6 AND "events">20; | 2-15654720-1 |
Which Events has Earnings of $113,259, and an Average larger than 229.5? | CREATE TABLE "career_statistics" (
"season" text,
"events" real,
"cashes" real,
"match_play" real,
"tv_finals" real,
"pba_titles" real,
"average" real,
"earnings" text
); | SELECT MAX("events") FROM "career_statistics" WHERE "earnings"='$113,259' AND "average">229.5; | 2-15654720-1 |
Which Cashes has a Match Play smaller than 13, and a Events of 7? | CREATE TABLE "career_statistics" (
"season" text,
"events" real,
"cashes" real,
"match_play" real,
"tv_finals" real,
"pba_titles" real,
"average" real,
"earnings" text
); | SELECT COUNT("cashes") FROM "career_statistics" WHERE "match_play"<13 AND "events"=7; | 2-15654720-1 |
What is the Finish for the 1950–51? season? | CREATE TABLE "seasons" (
"season" text,
"conference" text,
"division" text,
"finish" text,
"wins" text,
"losses" text
); | SELECT "finish" FROM "seasons" WHERE "season"='1950–51'; | 2-15679512-3 |
What is the Losses at the western conference and the 2004–05 season? | CREATE TABLE "seasons" (
"season" text,
"conference" text,
"division" text,
"finish" text,
"wins" text,
"losses" text
); | SELECT "losses" FROM "seasons" WHERE "conference"='western' AND "season"='2004–05'; | 2-15679512-3 |
What Season has wins as the philadelphia warriors (nba)? | CREATE TABLE "seasons" (
"season" text,
"conference" text,
"division" text,
"finish" text,
"wins" text,
"losses" text
); | SELECT "season" FROM "seasons" WHERE "wins"='philadelphia warriors (nba)'; | 2-15679512-3 |
What shows for Wins when there was a Conference of —, western division, in the 1967–68 season? | CREATE TABLE "seasons" (
"season" text,
"conference" text,
"division" text,
"finish" text,
"wins" text,
"losses" text
); | SELECT "wins" FROM "seasons" WHERE "conference"='—' AND "division"='western' AND "season"='1967–68'; | 2-15679512-3 |
What is the Conference for the 1967–68 season? | CREATE TABLE "seasons" (
"season" text,
"conference" text,
"division" text,
"finish" text,
"wins" text,
"losses" text
); | SELECT "conference" FROM "seasons" WHERE "season"='1967–68'; | 2-15679512-3 |
What is the Location when the time was 11:55? | CREATE TABLE "mixed_martial_arts_record_incomplete" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record_incomplete" WHERE "time"='11:55'; | 2-15573672-2 |
What Round has a Time of n/a, in rio de janeiro , brazil? | CREATE TABLE "mixed_martial_arts_record_incomplete" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record_incomplete" WHERE "time"='n/a' AND "location"='rio de janeiro , brazil'; | 2-15573672-2 |
What is the Round for the jiu-jitsu vs martial arts? | CREATE TABLE "mixed_martial_arts_record_incomplete" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record_incomplete" WHERE "event"='jiu-jitsu vs martial arts'; | 2-15573672-2 |
What is the Location for the jiu-jitsu vs martial arts? | CREATE TABLE "mixed_martial_arts_record_incomplete" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "location" FROM "mixed_martial_arts_record_incomplete" WHERE "event"='jiu-jitsu vs martial arts'; | 2-15573672-2 |
What is the Event when the opponent was wesslan evaristo de oliveira? | CREATE TABLE "mixed_martial_arts_record_incomplete" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record_incomplete" WHERE "opponent"='wesslan evaristo de oliveira'; | 2-15573672-2 |
How many points does Kohta Nozane have with a Motobi TSR 6? | CREATE TABLE "summary" (
"year" real,
"class" text,
"team_name" text,
"bike" text,
"riders" text,
"races" text,
"wins" real,
"podiums" real,
"poles" real,
"f_laps" real,
"points" text,
"pos" text
); | SELECT "points" FROM "summary" WHERE "bike"='motobi tsr 6' AND "riders"='kohta nozane'; | 2-15327489-1 |
Which Average has a Band of f? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "average" FROM "current_bands" WHERE "band"='f'; | 2-156661-2 |
Which Band has a Ratio of 9/9? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "band" FROM "current_bands" WHERE "ratio"='9/9'; | 2-156661-2 |
Which Ratio as % has a Ratio of 8/9? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "ratio_as_pct" FROM "current_bands" WHERE "ratio"='8/9'; | 2-156661-2 |
Which Value has a Ratio as % of 100%? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "value" FROM "current_bands" WHERE "ratio_as_pct"='100%'; | 2-156661-2 |
Which Ratio has a Ratio as % of 78%? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "ratio" FROM "current_bands" WHERE "ratio_as_pct"='78%'; | 2-156661-2 |
Which Band has a Ratio of 13/9? | CREATE TABLE "current_bands" (
"band" text,
"value" text,
"ratio" text,
"ratio_as_pct" text,
"average" text
); | SELECT "band" FROM "current_bands" WHERE "ratio"='13/9'; | 2-156661-2 |
What was the latest year that the Atlanta Braves won and the St. Louis Cardinals lost? | CREATE TABLE "league_championship_series" (
"year" real,
"series" text,
"winning_team" text,
"losing_team" text,
"score" text,
"site" text
); | SELECT MAX("year") FROM "league_championship_series" WHERE "winning_team"='atlanta braves' AND "losing_team"='st. louis cardinals'; | 2-15664872-3 |
Who won the series when the San Francisco Giants lost? | CREATE TABLE "league_championship_series" (
"year" real,
"series" text,
"winning_team" text,
"losing_team" text,
"score" text,
"site" text
); | SELECT "winning_team" FROM "league_championship_series" WHERE "losing_team"='san francisco giants'; | 2-15664872-3 |
Where was the series that the Kansas City Royals lost? | CREATE TABLE "league_championship_series" (
"year" real,
"series" text,
"winning_team" text,
"losing_team" text,
"score" text,
"site" text
); | SELECT "site" FROM "league_championship_series" WHERE "winning_team"='kansas city royals'; | 2-15664872-3 |
Who was the winning team in 2008? | CREATE TABLE "league_championship_series" (
"year" real,
"series" text,
"winning_team" text,
"losing_team" text,
"score" text,
"site" text
); | SELECT "winning_team" FROM "league_championship_series" WHERE "year"=2008; | 2-15664872-3 |
What average lost has points greater than 108? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"tied" text,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"penalty_minutes" real
); | SELECT AVG("lost") FROM "season_by_season_results" WHERE "points">108; | 2-15722145-2 |
How many losses have 222 as the goals against, with points greater than 78? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"tied" text,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"penalty_minutes" real
); | SELECT SUM("lost") FROM "season_by_season_results" WHERE "goals_against"=222 AND "points">78; | 2-15722145-2 |
How many goals against have 64 for games, a loss less than 12, with points greater than 107? | CREATE TABLE "season_by_season_results" (
"season" text,
"games" real,
"lost" real,
"tied" text,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"penalty_minutes" real
); | SELECT SUM("goals_against") FROM "season_by_season_results" WHERE "games"=64 AND "lost"<12 AND "points">107; | 2-15722145-2 |
What is the place of the song 'Never Change'? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"result" text,
"place" real
); | SELECT SUM("place") FROM "national_final" WHERE "song"='never change'; | 2-15427892-1 |
What is the name of Aleko Berdzenishvili's song? | CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"result" text,
"place" real
); | SELECT "song" FROM "national_final" WHERE "artist"='aleko berdzenishvili'; | 2-15427892-1 |
What was the lowest pick for the RHP position and player Mike Biko? | CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"hometown_school" text
); | SELECT MIN("pick") FROM "first_round_selections" WHERE "position"='rhp' AND "player"='mike biko'; | 2-15667202-1 |
What is the Martin McGuinness with a David Norris that is 10.3%? | CREATE TABLE "first_preference_votes_by_constituency" (
"constituency" text,
"michael_d_higgins" text,
"se_n_gallagher" text,
"martin_mc_guinness" text,
"gay_mitchell" text,
"david_norris" text,
"dana_rosemary_scallon" text,
"mary_davis" text
); | SELECT "martin_mc_guinness" FROM "first_preference_votes_by_constituency" WHERE "david_norris"='10.3%'; | 2-15684434-6 |
What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? | CREATE TABLE "first_preference_votes_by_constituency" (
"constituency" text,
"michael_d_higgins" text,
"se_n_gallagher" text,
"martin_mc_guinness" text,
"gay_mitchell" text,
"david_norris" text,
"dana_rosemary_scallon" text,
"mary_davis" text
); | SELECT "martin_mc_guinness" FROM "first_preference_votes_by_constituency" WHERE "se_n_gallagher"='29.6%'; | 2-15684434-6 |
What is the David Norris with a Michael D. Higgins that is 46.2%? | CREATE TABLE "first_preference_votes_by_constituency" (
"constituency" text,
"michael_d_higgins" text,
"se_n_gallagher" text,
"martin_mc_guinness" text,
"gay_mitchell" text,
"david_norris" text,
"dana_rosemary_scallon" text,
"mary_davis" text
); | SELECT "david_norris" FROM "first_preference_votes_by_constituency" WHERE "michael_d_higgins"='46.2%'; | 2-15684434-6 |
What is the Mary Davis with a Gay Mitchell that is 4.6%? | CREATE TABLE "first_preference_votes_by_constituency" (
"constituency" text,
"michael_d_higgins" text,
"se_n_gallagher" text,
"martin_mc_guinness" text,
"gay_mitchell" text,
"david_norris" text,
"dana_rosemary_scallon" text,
"mary_davis" text
); | SELECT "mary_davis" FROM "first_preference_votes_by_constituency" WHERE "gay_mitchell"='4.6%'; | 2-15684434-6 |
Can you tell me the total number of Prev that has the Chng of +10, and the Rating larger than 2765? | CREATE TABLE "fide_january_2008_top_ten" (
"rank" real,
"prev" real,
"player" text,
"rating" real,
"chng" text
); | SELECT COUNT("prev") FROM "fide_january_2008_top_ten" WHERE "chng"='+10' AND "rating">2765; | 2-15330472-1 |
Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the 1841 election? | CREATE TABLE "1832_1885" (
"election" real,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text,
"third_member" text,
"third_party" text
); | SELECT "second_member" FROM "1832_1885" WHERE "second_party"='liberal' AND "third_party"='conservative' AND "election">1841; | 2-15451122-4 |
Who is the third member of the Liberal Party, a third party conservative, the second member Humphrey Mildmay? | CREATE TABLE "1832_1885" (
"election" real,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text,
"third_member" text,
"third_party" text
); | SELECT "third_member" FROM "1832_1885" WHERE "second_party"='liberal' AND "third_party"='conservative' AND "second_member"='humphrey mildmay'; | 2-15451122-4 |
Who is the third member of the third conservative party, and the second liberal party? | CREATE TABLE "1832_1885" (
"election" real,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text,
"third_member" text,
"third_party" text
); | SELECT "third_member" FROM "1832_1885" WHERE "third_party"='conservative' AND "second_party"='liberal'; | 2-15451122-4 |
What was the highest election with third party member Sir Robert Price, BT, and first party member conservative? | CREATE TABLE "1832_1885" (
"election" real,
"first_member" text,
"first_party" text,
"second_member" text,
"second_party" text,
"third_member" text,
"third_party" text
); | SELECT MAX("election") FROM "1832_1885" WHERE "third_member"='sir robert price, bt' AND "first_party"='conservative'; | 2-15451122-4 |
What was the record of the team with head coach Steve Spurrier? | CREATE TABLE "winners" (
"season" real,
"team" text,
"conference" text,
"head_coach" text,
"record" text
); | SELECT "record" FROM "winners" WHERE "head_coach"='steve spurrier'; | 2-15808305-1 |
What was USC's record before the 1967 season? | CREATE TABLE "winners" (
"season" real,
"team" text,
"conference" text,
"head_coach" text,
"record" text
); | SELECT "record" FROM "winners" WHERE "team"='usc' AND "season"<1967; | 2-15808305-1 |
What was the record during the 1973 season? | CREATE TABLE "winners" (
"season" real,
"team" text,
"conference" text,
"head_coach" text,
"record" text
); | SELECT "record" FROM "winners" WHERE "season"=1973; | 2-15808305-1 |
What is the average score for 6th place with a total of 165? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" text,
"place" text,
"perfect_40s" text,
"total" text,
"number_of_dances" text,
"season" text,
"average" text
); | SELECT "average" FROM "average_scores_of_all_couples" WHERE "place"='6th' AND "total"='165'; | 2-15988037-24 |
What is the total with a 74 rank by average for 8th place? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" text,
"place" text,
"perfect_40s" text,
"total" text,
"number_of_dances" text,
"season" text,
"average" text
); | SELECT "total" FROM "average_scores_of_all_couples" WHERE "rank_by_average"='74' AND "place"='8th'; | 2-15988037-24 |
What was the place in season 8 with a rank by average at 139? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" text,
"place" text,
"perfect_40s" text,
"total" text,
"number_of_dances" text,
"season" text,
"average" text
); | SELECT "place" FROM "average_scores_of_all_couples" WHERE "season"='8' AND "rank_by_average"='139'; | 2-15988037-24 |
What is the total for 3rd place on season 9? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" text,
"place" text,
"perfect_40s" text,
"total" text,
"number_of_dances" text,
"season" text,
"average" text
); | SELECT "total" FROM "average_scores_of_all_couples" WHERE "place"='3rd' AND "season"='9'; | 2-15988037-24 |
What rank by average has 1 dance on season 9? | CREATE TABLE "average_scores_of_all_couples" (
"rank_by_average" text,
"place" text,
"perfect_40s" text,
"total" text,
"number_of_dances" text,
"season" text,
"average" text
); | SELECT "rank_by_average" FROM "average_scores_of_all_couples" WHERE "number_of_dances"='1' AND "season"='9'; | 2-15988037-24 |
What was the final round score for the player from the Milwaukee Bucks? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real,
"first_round" text,
"final_round" text
); | SELECT "final_round" FROM "contestants" WHERE "team"='milwaukee bucks'; | 2-15753220-8 |
What position does the player with a first round score of 35.7 play? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real,
"first_round" text,
"final_round" text
); | SELECT "pos" FROM "contestants" WHERE "first_round"='35.7'; | 2-15753220-8 |
What is the height of the player with a first round score of 44.1? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real,
"first_round" text,
"final_round" text
); | SELECT "height" FROM "contestants" WHERE "first_round"='44.1'; | 2-15753220-8 |
Which player weighs 187 pounds? | CREATE TABLE "contestants" (
"pos" text,
"player" text,
"team" text,
"height" text,
"weight" real,
"first_round" text,
"final_round" text
); | SELECT "player" FROM "contestants" WHERE "weight"=187; | 2-15753220-8 |
Who was the illustrator in 1987? | CREATE TABLE "winners_of_the_kurt_maschler_award" (
"year" real,
"author" text,
"illustrator" text,
"title" text,
"publisher" text
); | SELECT "illustrator" FROM "winners_of_the_kurt_maschler_award" WHERE "year"=1987; | 2-15641996-1 |
How many years was the title drop dead? | CREATE TABLE "winners_of_the_kurt_maschler_award" (
"year" real,
"author" text,
"illustrator" text,
"title" text,
"publisher" text
); | SELECT COUNT("year") FROM "winners_of_the_kurt_maschler_award" WHERE "title"='drop dead'; | 2-15641996-1 |
Which publisher has a title of drop dead? | CREATE TABLE "winners_of_the_kurt_maschler_award" (
"year" real,
"author" text,
"illustrator" text,
"title" text,
"publisher" text
); | SELECT "publisher" FROM "winners_of_the_kurt_maschler_award" WHERE "title"='drop dead'; | 2-15641996-1 |
What Greek word means the same thing as the German word ebbe? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "greek" FROM "words_derived_from_non_indo_european_lan" WHERE "german"='ebbe'; | 2-1598584-1 |
What word in German translates into the Icelandic word efja? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "german" FROM "words_derived_from_non_indo_european_lan" WHERE "icelandic"='efja'; | 2-1598584-1 |
What is the Dutch translation of the Latin word navigo? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "dutch" FROM "words_derived_from_non_indo_european_lan" WHERE "latin"='navigo'; | 2-1598584-1 |
What Dutch word has the same meaning as the Greek word πλέω (pléō)? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "dutch" FROM "words_derived_from_non_indo_european_lan" WHERE "greek"='πλέω (pléō)'; | 2-1598584-1 |
What English word has the same meaning as the German word "german"? | CREATE TABLE "words_derived_from_non_indo_european_lan" (
"english" text,
"german" text,
"dutch" text,
"icelandic" text,
"latin" text,
"greek" text,
"russian" text
); | SELECT "english" FROM "words_derived_from_non_indo_european_lan" WHERE "german"='german'; | 2-1598584-1 |
How many wins are related to events of 7 and more than 2 top-10s? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT COUNT("wins") FROM "summary" WHERE "events"=7 AND "top_10">2; | 2-1598242-3 |
What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("cuts_made") FROM "summary" WHERE "top_5"=1 AND "top_10"=2 AND "events">13; | 2-1598242-3 |
Can you tell me the Name that has the Rank smaller than 71, and the Year larger than 2005, and the Out of 220? | CREATE TABLE "rankings" (
"name" text,
"rank" real,
"out_of" text,
"source" text,
"year" real
); | SELECT "name" FROM "rankings" WHERE "rank"<71 AND "year">2005 AND "out_of"='220'; | 2-15733308-7 |
Can you tell me the lowest Year that has the Rank smaller the 132, and the Name of biodiversity richness? | CREATE TABLE "rankings" (
"name" text,
"rank" real,
"out_of" text,
"source" text,
"year" real
); | SELECT MIN("year") FROM "rankings" WHERE "rank"<132 AND "name"='biodiversity richness'; | 2-15733308-7 |
Can you tell me the Source that has the Rank of 78? | CREATE TABLE "rankings" (
"name" text,
"rank" real,
"out_of" text,
"source" text,
"year" real
); | SELECT "source" FROM "rankings" WHERE "rank"=78; | 2-15733308-7 |
Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003? | CREATE TABLE "rankings" (
"name" text,
"rank" real,
"out_of" text,
"source" text,
"year" real
); | SELECT "out_of" FROM "rankings" WHERE "source"='united nations' AND "rank">47 AND "year"<2003; | 2-15733308-7 |
Which Tournament has a 2004 of 1r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2004"='1r'; | 2-1554464-8 |
What is the 2005 that has a grand slam tournaments in 2007? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "2005" FROM "doubles_performance_timeline" WHERE "2007"='grand slam tournaments'; | 2-1554464-8 |
What is the 2006 that has a 2r in 2004, and a 2r in 2005? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "2006" FROM "doubles_performance_timeline" WHERE "2004"='2r' AND "2005"='2r'; | 2-1554464-8 |
What is the 2007 that has a grand slam tournaments in 2006. | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "2007" FROM "doubles_performance_timeline" WHERE "2006"='grand slam tournaments'; | 2-1554464-8 |
What is the 2004 that has a of grand slam tournaments in2006 ? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "2004" FROM "doubles_performance_timeline" WHERE "2006"='grand slam tournaments'; | 2-1554464-8 |
What is 2006 has a 2007 of 3r? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text
); | SELECT "2006" FROM "doubles_performance_timeline" WHERE "2007"='3r'; | 2-1554464-8 |
What was the number of passengers going to MCO with a rank larger than 9? | CREATE TABLE "top_domestic_destinations_out_of_btv_oct" (
"rank" real,
"city" text,
"airport" text,
"passengers" real,
"carriers" text
); | SELECT COUNT("passengers") FROM "top_domestic_destinations_out_of_btv_oct" WHERE "airport"='mco' AND "rank">9; | 2-1600783-2 |
What was the airport with primary carrier of US Airways with a 2 ranking and more than 51,000 passengers? | CREATE TABLE "top_domestic_destinations_out_of_btv_oct" (
"rank" real,
"city" text,
"airport" text,
"passengers" real,
"carriers" text
); | SELECT "airport" FROM "top_domestic_destinations_out_of_btv_oct" WHERE "passengers">'51,000' AND "carriers"='us airways' AND "rank"=2; | 2-1600783-2 |
What city had a rank before 3 and primary carrier JetBlue Airways? | CREATE TABLE "top_domestic_destinations_out_of_btv_oct" (
"rank" real,
"city" text,
"airport" text,
"passengers" real,
"carriers" text
); | SELECT "city" FROM "top_domestic_destinations_out_of_btv_oct" WHERE "rank"<3 AND "carriers"='jetblue airways'; | 2-1600783-2 |
What was launched and laid down in February 1819? | CREATE TABLE "1818_1821_orders" (
"name" text,
"built_by_hm_dockyard" text,
"ordered" text,
"laid_down" text,
"launched" text
); | SELECT "launched" FROM "1818_1821_orders" WHERE "laid_down"='february 1819'; | 2-15421158-3 |
What is the total number of positions with less than 10 points, more than 7 qualifying, ret value in Race 1, and Jonathan Grant driving? | CREATE TABLE "indy_f3_challenge" (
"pos" real,
"driver" text,
"qualifying" real,
"race_1" text,
"race_2" text,
"race_3" text,
"points" real
); | SELECT COUNT("pos") FROM "indy_f3_challenge" WHERE "points"<10 AND "qualifying">7 AND "race_1"='ret' AND "driver"='jonathan grant'; | 2-15530244-5 |
What is Date, when Set 2 is 25-13? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "date" FROM "results_pool_b" WHERE "set_2"='25-13'; | 2-16013858-5 |
What is Total, when Set 5 is NA, and when Set 2 is 25-13? | CREATE TABLE "results_pool_b" (
"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_b" WHERE "set_5"='na' AND "set_2"='25-13'; | 2-16013858-5 |
What is Score, when Date is Jun 16, and when Set 4 is 25-20? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "score" FROM "results_pool_b" WHERE "date"='jun 16' AND "set_4"='25-20'; | 2-16013858-5 |
What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_2" FROM "results_pool_b" WHERE "score"='3-0' AND "date"='may 11' AND "set_1"='25-20'; | 2-16013858-5 |
What is Set 4, when Set 1 is 25-18, and when Date is Jun 2? | CREATE TABLE "results_pool_b" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
); | SELECT "set_4" FROM "results_pool_b" WHERE "set_1"='25-18' AND "date"='jun 2'; | 2-16013858-5 |
What is the Team with a Score that is w 101–97 (2ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "score"='w 101–97 (2ot)'; | 2-15869204-4 |
What is the High points with a Score that is l 64–94 (ot)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "score"='l 64–94 (ot)'; | 2-15869204-4 |
What is the largest played when the drawn is less than 1? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MAX("played") FROM "campeonato_paulista" WHERE "drawn"<1; | 2-15318779-1 |
What points average has a played greater 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 "played">20; | 2-15318779-1 |
What is the smallest drawn with a position bigger than 10 and a played less than 20? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT MIN("drawn") FROM "campeonato_paulista" WHERE "position">10 AND "played"<20; | 2-15318779-1 |
At what average position is the drawn 9 and the points greater than 25? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT AVG("position") FROM "campeonato_paulista" WHERE "drawn"=9 AND "points">25; | 2-15318779-1 |
How many played has an against greater than 57 and a lost bigger than 14? | CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
); | SELECT COUNT("played") FROM "campeonato_paulista" WHERE "against">57 AND "lost">14; | 2-15318779-1 |
The event rip curl pro mademoiselle is in which location? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "location" FROM "tournaments" WHERE "event"='rip curl pro mademoiselle'; | 2-16157018-3 |
On the date november 24-december 6 what's the winner when the country is united states? | CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
); | SELECT "winner" FROM "tournaments" WHERE "country"='united states' AND "date"='november 24-december 6'; | 2-16157018-3 |
Which year was the 100 m event played in Thessaloniki, Greece? | CREATE TABLE "major_competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT MIN("year") FROM "major_competition_record" WHERE "event"='100 m' AND "venue"='thessaloniki, greece'; | 2-16165027-2 |
Which position was the World Indoor Championships in a year later than 2008? | CREATE TABLE "major_competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "position" FROM "major_competition_record" WHERE "competition"='world indoor championships' AND "year">2008; | 2-16165027-2 |
What position was played at the World Athletics Final Competition in a year more recent than 2008? | CREATE TABLE "major_competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "position" FROM "major_competition_record" WHERE "competition"='world athletics final' AND "year">2008; | 2-16165027-2 |
What position was played at the World Athletics Final Competition in a year more recent than 2008? | CREATE TABLE "major_competition_record" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text
); | SELECT "position" FROM "major_competition_record" WHERE "competition"='world athletics final' AND "year">2008; | 2-16165027-2 |
What is the lowest Greater Doubles, when Doubles, I Class is 23, and when Doubles, II Class is less than 27? | CREATE TABLE "some_differences_in_relation_to_later_ed" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MIN("greater_doubles") FROM "some_differences_in_relation_to_later_ed" WHERE "doubles_i_class"=23 AND "doubles_ii_class"<27; | 2-15698158-1 |
What is the highest Doubles, II Class, when Doubles, I Class is less than 19? | CREATE TABLE "some_differences_in_relation_to_later_ed" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MAX("doubles_ii_class") FROM "some_differences_in_relation_to_later_ed" WHERE "doubles_i_class"<19; | 2-15698158-1 |
What is the lowest Semidoubles, when Doubles, II Class is 18, and when Total is less than 164? | CREATE TABLE "some_differences_in_relation_to_later_ed" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MIN("semidoubles") FROM "some_differences_in_relation_to_later_ed" WHERE "doubles_ii_class"=18 AND "total"<164; | 2-15698158-1 |
What is the lowest Date, when Doubles, II Class is 18, and when Total is less than 164? | CREATE TABLE "some_differences_in_relation_to_later_ed" (
"date" real,
"doubles_i_class" real,
"doubles_ii_class" real,
"greater_doubles" real,
"doubles" real,
"semidoubles" real,
"total" real
); | SELECT MIN("date") FROM "some_differences_in_relation_to_later_ed" WHERE "doubles_ii_class"=18 AND "total"<164; | 2-15698158-1 |
What are the goals of the assists of 5? | CREATE TABLE "college" (
"year" text,
"team" text,
"gp_gs" text,
"goals" text,
"assists" text,
"total_points" text
); | SELECT "goals" FROM "college" WHERE "assists"='5'; | 2-15444124-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.