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 To par for United States golfer fred couples? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
); | SELECT "to_par" FROM "final_leaderboard" WHERE "country"='united states' AND "player"='fred couples'; | 2-16514275-1 |
what is the fate when the nationality is french and the ship is pierre lott? | CREATE TABLE "table" (
"date" text,
"ship" text,
"type" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
); | SELECT "fate" FROM "table" WHERE "nationality"='french' AND "ship"='pierre lott'; | 2-16644292-1 |
what is the ship with the date of 28.1.1915? | CREATE TABLE "table" (
"date" text,
"ship" text,
"type" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
); | SELECT "ship" FROM "table" WHERE "date"='28.1.1915'; | 2-16644292-1 |
what is the nationality when the ship is willerby? | CREATE TABLE "table" (
"date" text,
"ship" text,
"type" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
); | SELECT "nationality" FROM "table" WHERE "ship"='willerby'; | 2-16644292-1 |
what is the least tonnage grt when the nationality is british and the ship is kidalton? | CREATE TABLE "table" (
"date" text,
"ship" text,
"type" text,
"nationality" text,
"tonnage_grt" real,
"fate" text
); | SELECT MIN("tonnage_grt") FROM "table" WHERE "nationality"='british' AND "ship"='kidalton'; | 2-16644292-1 |
Can you tell me the Season that has the Team 2 of hanoi acb? | CREATE TABLE "results" (
"season" real,
"team_1" text,
"score" text,
"team_2" text,
"venue" text
); | SELECT "season" FROM "results" WHERE "team_2"='hanoi acb'; | 2-16707879-2 |
Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam? | CREATE TABLE "results" (
"season" real,
"team_1" text,
"score" text,
"team_2" text,
"venue" text
); | SELECT "team_2" FROM "results" WHERE "venue"='binh duong stadium, vietnam'; | 2-16707879-2 |
Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1? | CREATE TABLE "results" (
"season" real,
"team_1" text,
"score" text,
"team_2" text,
"venue" text
); | SELECT COUNT("season") FROM "results" WHERE "team_2"='chonburi' AND "score"='0:1'; | 2-16707879-2 |
Which Score has a Place of t6, and a Player of raymond floyd? | CREATE TABLE "final_round_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "score" FROM "final_round_leaderboard" WHERE "place"='t6' AND "player"='raymond floyd'; | 2-17277149-3 |
How much To par has a Place of t1, and a Score of 70-70-71-71=282? | CREATE TABLE "final_round_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT COUNT("to_par") FROM "final_round_leaderboard" WHERE "place"='t1' AND "score"='70-70-71-71=282'; | 2-17277149-3 |
What is tony lema's to par? | CREATE TABLE "final_round_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT SUM("to_par") FROM "final_round_leaderboard" WHERE "player"='tony lema'; | 2-17277149-3 |
What was gary player's score? | CREATE TABLE "final_round_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" real,
"money" text
); | SELECT "score" FROM "final_round_leaderboard" WHERE "player"='gary player'; | 2-17277149-3 |
What was the total number for the PIW Class' The Adventures Of... and had a score bigger than 94.6? | CREATE TABLE "past_and_current_programs" (
"year" real,
"program_title" text,
"placement" text,
"score" real,
"class" text
); | SELECT COUNT("year") FROM "past_and_current_programs" WHERE "class"='piw' AND "program_title"='the adventures of...' AND "score">94.6; | 2-16252159-1 |
What class had a score of 95.1? | CREATE TABLE "past_and_current_programs" (
"year" real,
"program_title" text,
"placement" text,
"score" real,
"class" text
); | SELECT "class" FROM "past_and_current_programs" WHERE "score"=95.1; | 2-16252159-1 |
What is the lowest score for a year before 2008 and had 3rd place? | CREATE TABLE "past_and_current_programs" (
"year" real,
"program_title" text,
"placement" text,
"score" real,
"class" text
); | SELECT MIN("score") FROM "past_and_current_programs" WHERE "year"<2008 AND "placement"='3rd'; | 2-16252159-1 |
What was the latest year placement for Taboo with a score smaller than 96.125? | CREATE TABLE "past_and_current_programs" (
"year" real,
"program_title" text,
"placement" text,
"score" real,
"class" text
); | SELECT MAX("year") FROM "past_and_current_programs" WHERE "program_title"='taboo' AND "score"<96.125; | 2-16252159-1 |
What is the winning score before 1959, with runner-up Jackie Pung? | CREATE TABLE "wins_8" (
"year" real,
"championship" text,
"winning_score" text,
"margin" text,
"runner_s_up" text
); | SELECT "winning_score" FROM "wins_8" WHERE "year"<1959 AND "runner_s_up"='jackie pung'; | 2-1639472-1 |
Which Directed by has an Original air date of april 29, 2000? | CREATE TABLE "season_4_1999_2000" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
); | SELECT "directed_by" FROM "season_4_1999_2000" WHERE "original_air_date"='april 29, 2000'; | 2-16471432-5 |
What was the result of the game from September 10, 2000? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "result" FROM "schedule" WHERE "date"='september 10, 2000'; | 2-16710999-1 |
Which award ceremony took place on May 15, 1965? | CREATE TABLE "awards_ceremonies" (
"ceremony" text,
"date" text,
"host_s" text,
"venue" text,
"film_of_the_year" text
); | SELECT "ceremony" FROM "awards_ceremonies" WHERE "date"='may 15, 1965'; | 2-1629365-1 |
Which movie was awarded Film of the Year on May 8, 1964? | CREATE TABLE "awards_ceremonies" (
"ceremony" text,
"date" text,
"host_s" text,
"venue" text,
"film_of_the_year" text
); | SELECT "film_of_the_year" FROM "awards_ceremonies" WHERE "date"='may 8, 1964'; | 2-1629365-1 |
Can you tell me the highest DCSF number that has the Name of field, and the Ofsted number larger than 117160? | CREATE TABLE "central_watford_west_watford_and_oxhey" (
"name" text,
"faith" text,
"type" text,
"intake" real,
"dcsf_number" real,
"ofsted_number" real
); | SELECT MAX("dcsf_number") FROM "central_watford_west_watford_and_oxhey" WHERE "name"='field' AND "ofsted_number">117160; | 2-16990271-1 |
Can you tell me the sum of Intake that has the Faith of rc, and the DCSF number larger than 2428? | CREATE TABLE "central_watford_west_watford_and_oxhey" (
"name" text,
"faith" text,
"type" text,
"intake" real,
"dcsf_number" real,
"ofsted_number" real
); | SELECT SUM("intake") FROM "central_watford_west_watford_and_oxhey" WHERE "faith"='rc' AND "dcsf_number">2428; | 2-16990271-1 |
Can you tell me the Name that has the DCSF number of 2117? | CREATE TABLE "central_watford_west_watford_and_oxhey" (
"name" text,
"faith" text,
"type" text,
"intake" real,
"dcsf_number" real,
"ofsted_number" real
); | SELECT "name" FROM "central_watford_west_watford_and_oxhey" WHERE "dcsf_number"=2117; | 2-16990271-1 |
Can you tell me the highest Ofsted number that has the Type of infants, and the Intake larger than 60? | CREATE TABLE "central_watford_west_watford_and_oxhey" (
"name" text,
"faith" text,
"type" text,
"intake" real,
"dcsf_number" real,
"ofsted_number" real
); | SELECT MAX("ofsted_number") FROM "central_watford_west_watford_and_oxhey" WHERE "type"='infants' AND "intake">60; | 2-16990271-1 |
What is the total number of Week, when Opponent is At Chicago Bears, and when Attendance is greater than 49,070? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT COUNT("week") FROM "schedule" WHERE "opponent"='at chicago bears' AND "attendance">'49,070'; | 2-16715979-2 |
What is Date, when Week is 11? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "week"=11; | 2-16715979-2 |
What is the lowest Week, when Attendance is 38,624? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "attendance"='38,624'; | 2-16715979-2 |
How much international mail has a change of +35,7% later than 2008? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT SUM("international_mail") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "change"='+35,7%' AND "year">2008; | 2-1754531-4 |
How much international mail has 4,650 international freight and more than 0 domestic mail? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT SUM("international_mail") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "international_freight"='4,650' AND "domestic_mail">0; | 2-1754531-4 |
What is the most domestic freight with a change of +9,8% and a total freight and mail of more than 3,278? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT MAX("domestic_freight") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "change"='+9,8%' AND "total_freight_and_mail">'3,278'; | 2-1754531-4 |
How much international freight has a change of +0,2% with more than 0 international mail? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT COUNT("international_freight") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "change"='+0,2%' AND "international_mail">0; | 2-1754531-4 |
What is the international mail with the highest number that has a change of +0,2% and less than 0 domestic mail? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT MAX("international_mail") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "change"='+0,2%' AND "domestic_mail"<0; | 2-1754531-4 |
What is the international mail with the lowest number to have less than 72 domestic freight, 0 domestic mail later than 2012 with total freight and mail more than 4,695? | CREATE TABLE "loaded_unloaded_freight_and_mail_tons_tu" (
"year" real,
"domestic_freight" real,
"domestic_mail" real,
"international_freight" real,
"international_mail" real,
"total_freight_and_mail" real,
"change" text
); | SELECT MIN("international_mail") FROM "loaded_unloaded_freight_and_mail_tons_tu" WHERE "domestic_freight"<72 AND "domestic_mail"=0 AND "year"<2012 AND "total_freight_and_mail">'4,695'; | 2-1754531-4 |
what is the venue when the date is 16 january 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='16 january 1996'; | 2-16525468-1 |
what is the competition when the date is 16 january 1996? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "competition" FROM "international_goals" WHERE "date"='16 january 1996'; | 2-16525468-1 |
WHAT IS THE RECORD FOR FEBRUARY 11? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='february 11'; | 2-17102076-8 |
What was the award before 2001? | CREATE TABLE "awards_and_nominations" (
"year" real,
"nominated_work" text,
"award" text,
"category" text,
"result" text
); | SELECT "award" FROM "awards_and_nominations" WHERE "year"<2001; | 2-16575265-1 |
What is the highest week for a game that was located at the Molson Stadium? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" text,
"record" text
); | SELECT MAX("week") FROM "regular_season" WHERE "location"='molson stadium'; | 2-16898777-4 |
What is the average week number for games that had 28,800 fans in attendance? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" text,
"record" text
); | SELECT AVG("week") FROM "regular_season" WHERE "attendance"='28,800'; | 2-16898777-4 |
Who did the argonauts play against during the game that had 19,423 fans in attendance? | CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "regular_season" WHERE "attendance"='19,423'; | 2-16898777-4 |
What was Juli's winning margin on Aug 24, 1986? | CREATE TABLE "lpga_tour_wins_31" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_wins_31" WHERE "date"='aug 24, 1986'; | 2-1628607-2 |
What was the margin of victory at the LPGA Championship? | CREATE TABLE "lpga_tour_wins_31" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
); | SELECT "margin_of_victory" FROM "lpga_tour_wins_31" WHERE "tournament"='lpga championship'; | 2-1628607-2 |
What is the highest value for Ties, when Losses is less than 8? | CREATE TABLE "coaching_record" (
"season" text,
"wins" real,
"losses" real,
"ties" real,
"ivy_lg_record" text
); | SELECT MAX("ties") FROM "coaching_record" WHERE "losses"<8; | 2-16950758-1 |
What is the total number of Losses, when Ties is 2, and when Wins is greater than 8? | CREATE TABLE "coaching_record" (
"season" text,
"wins" real,
"losses" real,
"ties" real,
"ivy_lg_record" text
); | SELECT COUNT("losses") FROM "coaching_record" WHERE "ties"=2 AND "wins">8; | 2-16950758-1 |
What is the highest React that has a 7.61 Mark and a heat bigger than 1? | CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"country" text,
"mark" text,
"react" real
); | SELECT MAX("react") FROM "heats" WHERE "mark"='7.61' AND "heat">1; | 2-16188309-2 |
What is the Cause of death of the Officer with a Date of death of 1956-09-07? | CREATE TABLE "officers" (
"rank" text,
"badge_serial_number" text,
"tenure" text,
"date_of_death" text,
"cause_of_death" text
); | SELECT "cause_of_death" FROM "officers" WHERE "date_of_death"='1956-09-07'; | 2-16838707-1 |
What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805? | CREATE TABLE "officers" (
"rank" text,
"badge_serial_number" text,
"tenure" text,
"date_of_death" text,
"cause_of_death" text
); | SELECT "tenure" FROM "officers" WHERE "cause_of_death"='helicopter accident' AND "badge_serial_number"='16805'; | 2-16838707-1 |
What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? | CREATE TABLE "officers" (
"rank" text,
"badge_serial_number" text,
"tenure" text,
"date_of_death" text,
"cause_of_death" text
); | SELECT "badge_serial_number" FROM "officers" WHERE "rank"='policeman' AND "cause_of_death"='gunfire' AND "date_of_death"='1919-02-18'; | 2-16838707-1 |
What is the Rank of the Officer with Badge/Serial Number 11755 who died in Gunfire? | CREATE TABLE "officers" (
"rank" text,
"badge_serial_number" text,
"tenure" text,
"date_of_death" text,
"cause_of_death" text
); | SELECT "rank" FROM "officers" WHERE "cause_of_death"='gunfire' AND "badge_serial_number"='11755'; | 2-16838707-1 |
What is Team, when Tries Against is 8? | CREATE TABLE "pool_1" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "team" FROM "pool_1" WHERE "tries_against"='8'; | 2-16770037-2 |
What is Tries Against, when Tries For is 20? | CREATE TABLE "pool_1" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "tries_against" FROM "pool_1" WHERE "tries_for"='20'; | 2-16770037-2 |
What is Tries Against, when Points For is 98? | CREATE TABLE "pool_1" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "tries_against" FROM "pool_1" WHERE "points_for"='98'; | 2-16770037-2 |
What is Points Against, when Try Diff is +22? | CREATE TABLE "pool_1" (
"team" text,
"tries_for" text,
"tries_against" text,
"try_diff" text,
"points_for" text,
"points_against" text,
"points_diff" text
); | SELECT "points_against" FROM "pool_1" WHERE "try_diff"='+22'; | 2-16770037-2 |
What is Record, when Event is "Independent Event", and when Method is "Submission (Peruvian Necktie)"? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "event"='independent event' AND "method"='submission (peruvian necktie)'; | 2-17445429-2 |
What is Event, when Method is "Submission (Armbar)", and when Opponent is "Jason St. Louis"? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "event" FROM "mixed_martial_arts_record" WHERE "method"='submission (armbar)' AND "opponent"='jason st. louis'; | 2-17445429-2 |
What is Res., when Event is "KOTC 11 - Domination"? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"location" text
); | SELECT "res" FROM "mixed_martial_arts_record" WHERE "event"='kotc 11 - domination'; | 2-17445429-2 |
How many were in attendance with a Result of l 17–10? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "result"='l 17–10'; | 2-16729052-1 |
How many were in attendance in a week lower than 5 with a Bye result? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "week"<5 AND "result"='bye'; | 2-16729052-1 |
On what date was the result w 26–20? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "result"='w 26–20'; | 2-16729052-1 |
Who was the opponent in a week below 14 on October 10, 1993? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "week"<14 AND "date"='october 10, 1993'; | 2-16729052-1 |
Name the average Top 5 which has a Position of 52nd with a Year smaller than 2000? | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text,
"team_s" text
); | SELECT AVG("top_5") FROM "nascar_nationwide_series" WHERE "position"='52nd' AND "year"<2000; | 2-1640715-2 |
Name the average Wins which has a Top 10 smaller than 0? | CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" real,
"avg_finish" real,
"winnings" text,
"position" text,
"team_s" text
); | SELECT AVG("wins") FROM "nascar_nationwide_series" WHERE "top_10"<0; | 2-1640715-2 |
Which Points Classification does the General Classification of Cyril Dessel have? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "points_classification" FROM "jersey_progress" WHERE "general_classification"='cyril dessel'; | 2-17501894-15 |
What is the Team Classification if the Winner is Cyril Dessel? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "jersey_progress" WHERE "winner"='cyril dessel'; | 2-17501894-15 |
In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "team_classification" FROM "jersey_progress" WHERE "mountains_classification"='christophe moreau' AND "stage"='final'; | 2-17501894-15 |
What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "jersey_progress" WHERE "winner"='thor hushovd' AND "sprints_classification"='no award'; | 2-17501894-15 |
What is the Mountains Classification for Winner josé luis carrasco? | CREATE TABLE "jersey_progress" (
"stage" text,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"team_classification" text
); | SELECT "mountains_classification" FROM "jersey_progress" WHERE "winner"='josé luis carrasco'; | 2-17501894-15 |
Which channel has Joel Meyers as the Play by play commentator? | CREATE TABLE "2000s" (
"channel" text,
"play_by_play" text,
"color_commentator_s" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "channel" FROM "2000s" WHERE "play_by_play"='joel meyers'; | 2-16701360-6 |
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst? | CREATE TABLE "2000s" (
"channel" text,
"play_by_play" text,
"color_commentator_s" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "studio_host" FROM "2000s" WHERE "play_by_play"='paul sunderland' AND "studio_analysts"='jack haley'; | 2-16701360-6 |
Who is the studio host for the game broadcasted by Fox Sports Net west and has Chick Hearn as the play by play commentator ? | CREATE TABLE "2000s" (
"channel" text,
"play_by_play" text,
"color_commentator_s" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "studio_host" FROM "2000s" WHERE "channel"='fox sports net west' AND "play_by_play"='chick hearn'; | 2-16701360-6 |
Who is the play by play commentator for the game that has Alan Massengale as Studio Host? | CREATE TABLE "2000s" (
"channel" text,
"play_by_play" text,
"color_commentator_s" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "play_by_play" FROM "2000s" WHERE "studio_host"='alan massengale'; | 2-16701360-6 |
which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley? | CREATE TABLE "2000s" (
"channel" text,
"play_by_play" text,
"color_commentator_s" text,
"studio_host" text,
"studio_analysts" text
); | SELECT "channel" FROM "2000s" WHERE "play_by_play"='paul sunderland' AND "studio_host"='bill macdonald' AND "studio_analysts"='jack haley'; | 2-16701360-6 |
How many Assists have a Club of adler mannheim, and Points larger than 57? | CREATE TABLE "regular_season" (
"player" text,
"club" text,
"games" real,
"goals" real,
"assists" real,
"points" real
); | SELECT SUM("assists") FROM "regular_season" WHERE "club"='adler mannheim' AND "points">57; | 2-16910280-6 |
How many points have 41 assists? | CREATE TABLE "regular_season" (
"player" text,
"club" text,
"games" real,
"goals" real,
"assists" real,
"points" real
); | SELECT SUM("points") FROM "regular_season" WHERE "assists"=41; | 2-16910280-6 |
Which Goals have a Player of david mcllwain, and Games larger than 52? | CREATE TABLE "regular_season" (
"player" text,
"club" text,
"games" real,
"goals" real,
"assists" real,
"points" real
); | SELECT MAX("goals") FROM "regular_season" WHERE "player"='david mcllwain' AND "games">52; | 2-16910280-6 |
Which Platform is the one that has a Stop number of 99014? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "platform" FROM "platforms" WHERE "stop_no"='99014'; | 2-1623082-1 |
Which Line has a Platform of 3? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "line" FROM "platforms" WHERE "platform"='3'; | 2-1623082-1 |
Which Destination has a Stopping pattern of [2777] mciver station platforms? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "destination" FROM "platforms" WHERE "stopping_pattern"='[2777] mciver station platforms'; | 2-1623082-1 |
Which Stop # has a Platform of [2777] mciver station platforms? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "stop_no" FROM "platforms" WHERE "platform"='[2777] mciver station platforms'; | 2-1623082-1 |
Which Line has a Stopping pattern of all stations, A, b, p? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "line" FROM "platforms" WHERE "stopping_pattern"='all stations, a, b, p'; | 2-1623082-1 |
Which Stopping pattern has a Platform of [2777] mciver station platforms? | CREATE TABLE "platforms" (
"stop_no" text,
"platform" text,
"line" text,
"stopping_pattern" text,
"destination" text
); | SELECT "stopping_pattern" FROM "platforms" WHERE "platform"='[2777] mciver station platforms'; | 2-1623082-1 |
Who was runner-up at Berlin when the result was 2-0 with 100,000 fans in attendance? | CREATE TABLE "german_championship_finals_under_the_gau" (
"year" real,
"champion" text,
"runner_up" text,
"result" text,
"date" text,
"venue" text,
"attendance" text
); | SELECT "runner_up" FROM "german_championship_finals_under_the_gau" WHERE "venue"='berlin' AND "result"='2-0' AND "attendance"='100,000'; | 2-17418169-1 |
Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance? | CREATE TABLE "german_championship_finals_under_the_gau" (
"year" real,
"champion" text,
"runner_up" text,
"result" text,
"date" text,
"venue" text,
"attendance" text
); | SELECT "champion" FROM "german_championship_finals_under_the_gau" WHERE "venue"='berlin' AND "attendance"='100,000' AND "result"='2-0'; | 2-17418169-1 |
What year had an attendance of 90,000? | CREATE TABLE "german_championship_finals_under_the_gau" (
"year" real,
"champion" text,
"runner_up" text,
"result" text,
"date" text,
"venue" text,
"attendance" text
); | SELECT "year" FROM "german_championship_finals_under_the_gau" WHERE "attendance"='90,000'; | 2-17418169-1 |
What is the sum of the years where the attendance was 95,000 and the runner-up was dresdner sc? | CREATE TABLE "german_championship_finals_under_the_gau" (
"year" real,
"champion" text,
"runner_up" text,
"result" text,
"date" text,
"venue" text,
"attendance" text
); | SELECT SUM("year") FROM "german_championship_finals_under_the_gau" WHERE "attendance"='95,000' AND "runner_up"='dresdner sc'; | 2-17418169-1 |
Who was the champion when the attendance was 70,000? | CREATE TABLE "german_championship_finals_under_the_gau" (
"year" real,
"champion" text,
"runner_up" text,
"result" text,
"date" text,
"venue" text,
"attendance" text
); | SELECT "champion" FROM "german_championship_finals_under_the_gau" WHERE "attendance"='70,000'; | 2-17418169-1 |
What is the Height (ft) of the Churchill House with a Height (m) less than 59? | CREATE TABLE "tallest_completed_buildings_and_structur" (
"rank" text,
"name" text,
"height_m" real,
"height_ft" real,
"floors" text
); | SELECT COUNT("height_ft") FROM "tallest_completed_buildings_and_structur" WHERE "name"='churchill house' AND "height_m"<59; | 2-1666310-1 |
What is the Height of the Canterbury House with 12 Floors and a Rank of 75=? | CREATE TABLE "tallest_completed_buildings_and_structur" (
"rank" text,
"name" text,
"height_m" real,
"height_ft" real,
"floors" text
); | SELECT AVG("height_ft") FROM "tallest_completed_buildings_and_structur" WHERE "floors"='12' AND "rank"='75=' AND "name"='canterbury house'; | 2-1666310-1 |
What is the Height (m) of the 32= Rank Building with 18 Floors and Height (ft) greater than 171? | CREATE TABLE "tallest_completed_buildings_and_structur" (
"rank" text,
"name" text,
"height_m" real,
"height_ft" real,
"floors" text
); | SELECT AVG("height_m") FROM "tallest_completed_buildings_and_structur" WHERE "floors"='18' AND "height_ft">171 AND "rank"='32='; | 2-1666310-1 |
Total for 1994, 1997 years won? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT SUM("total") FROM "made_the_cut" WHERE "year_s_won"='1994, 1997'; | 2-16881908-1 |
Player than won in 2003? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT "player" FROM "made_the_cut" WHERE "year_s_won"='2003'; | 2-16881908-1 |
Average total for jim furyk? | CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
); | SELECT AVG("total") FROM "made_the_cut" WHERE "player"='jim furyk'; | 2-16881908-1 |
Which record had a visitor of New Jersey Devils on May 7? | CREATE TABLE "new_jersey_devils_4_boston_bruins_1" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "new_jersey_devils_4_boston_bruins_1" WHERE "visitor"='new jersey devils' AND "date"='may 7'; | 2-16189062-8 |
What was the record on May 8? | CREATE TABLE "new_jersey_devils_4_boston_bruins_1" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
); | SELECT "record" FROM "new_jersey_devils_4_boston_bruins_1" WHERE "date"='may 8'; | 2-16189062-8 |
What is Nelspruit's population? | CREATE TABLE "provinces" (
"province" text,
"provincial_capital" text,
"largest_city" text,
"area_km_2" real,
"population_2013" real
); | SELECT COUNT("population_2013") FROM "provinces" WHERE "largest_city"='nelspruit'; | 2-17416221-1 |
When Hapoel tel aviv was team 2 and 1st leg was 1–2, what was the 2nd leg? | CREATE TABLE "play_off_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "2nd_leg" FROM "play_off_round" WHERE "1st_leg"='1–2' AND "team_2"='hapoel tel aviv'; | 2-16623894-10 |
Which Time has a Round of 3, and a Record of 2–0? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"=3 AND "record"='2–0'; | 2-17428696-2 |
What were the average laps on a grid of 11? | CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("laps") FROM "moto_gp_classification" WHERE "grid"=11; | 2-16280265-1 |
Where is the location with a record of 50-19? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "location" FROM "game_log" WHERE "record"='50-19'; | 2-17344582-8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.