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 report for the race of Argentine Grand Prix? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "report" FROM "season_review" WHERE "race"='argentine grand prix'; | 2-1140113-1 |
What is the Tyre when Jerry Hoyt was the pole position? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "tyre" FROM "season_review" WHERE "pole_position"='jerry hoyt'; | 2-1140113-1 |
Who was the constructor when Eugenio Castellotti was the pole position and the race had a C tyre? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "constructor" FROM "season_review" WHERE "tyre"='c' AND "pole_position"='eugenio castellotti'; | 2-1140113-1 |
What was the fastest lap time at the British Grand Prix with Mercedes as the constructor? | CREATE TABLE "season_review" (
"race" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"constructor" text,
"tyre" text,
"report" text
); | SELECT "fastest_lap" FROM "season_review" WHERE "constructor"='mercedes' AND "race"='british grand prix'; | 2-1140113-1 |
Who scored the High points in the game with High rebounds by Nick Collison (14)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='nick collison (14)'; | 2-11964154-7 |
What is henry transfer fee at fcbarcelona.cat in fra? | CREATE TABLE "in" (
"name" text,
"country" text,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" real,
"transfer_fee" text,
"source" text
); | SELECT "transfer_fee" FROM "in" WHERE "source"='fcbarcelona.cat' AND "country"='fra' AND "name"='henry'; | 2-11891841-2 |
What was the Grid with a hydraulics time/required? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "time_retired"='hydraulics'; | 2-1123457-2 |
What is the grid with a Toyota constructor and +1:09.718 as time/retired? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "constructor"='toyota' AND "time_retired"='+1:09.718'; | 2-1123457-2 |
What is the grid with 71 laps and the driver, Allan McNish. | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "grid" FROM "race" WHERE "laps"='71' AND "driver"='allan mcnish'; | 2-1123457-2 |
How many laps did Jacques Villeneuve have? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "driver"='jacques villeneuve'; | 2-1123457-2 |
What is the constructor of the driver Heinz-Harald Frentzen? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "constructor" FROM "race" WHERE "driver"='heinz-harald frentzen'; | 2-1123457-2 |
Tell me the rank for year of 2012 and out of larger than 176 | CREATE TABLE "politics" (
"index" text,
"organization" text,
"year" text,
"rank" real,
"out_of" real
); | SELECT "rank" FROM "politics" WHERE "year"='2012' AND "out_of">176; | 2-11636840-4 |
Tell me the year for rank more than 35 and out of 167 | CREATE TABLE "politics" (
"index" text,
"organization" text,
"year" text,
"rank" real,
"out_of" real
); | SELECT "year" FROM "politics" WHERE "rank">35 AND "out_of"=167; | 2-11636840-4 |
How many UCI points did Rabobank score? | CREATE TABLE "general_classification" (
"cyclist" text,
"country" text,
"team" text,
"time" text,
"uci_points" text
); | SELECT "uci_points" FROM "general_classification" WHERE "team"='rabobank'; | 2-11355733-15 |
What team in France had 15 UCi points? | CREATE TABLE "general_classification" (
"cyclist" text,
"country" text,
"team" text,
"time" text,
"uci_points" text
); | SELECT "team" FROM "general_classification" WHERE "country"='france' AND "uci_points"='15'; | 2-11355733-15 |
Which country has assets of x, an inception of 2007, and an abbreviation of adic? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "country" FROM "largest_sovereign_wealth_funds" WHERE "assets_us_billion"='x' AND "inception"='2007' AND "abbreviation"='adic'; | 2-11420440-1 |
What's the abbreviation for libya? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "abbreviation" FROM "largest_sovereign_wealth_funds" WHERE "country"='libya'; | 2-11420440-1 |
What's the origin for the country abbreviated atf? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "origin" FROM "largest_sovereign_wealth_funds" WHERE "abbreviation"='atf'; | 2-11420440-1 |
What's the inception for the country with 25.5 billion USD in assets and an abbreviation of psf? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "inception" FROM "largest_sovereign_wealth_funds" WHERE "assets_us_billion"='25.5' AND "abbreviation"='psf'; | 2-11420440-1 |
Which country has an abbreviation of kia? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "country" FROM "largest_sovereign_wealth_funds" WHERE "abbreviation"='kia'; | 2-11420440-1 |
What's the abbreviation for the country with an inception of 1999 and US$Billion assets of 7.1? | CREATE TABLE "largest_sovereign_wealth_funds" (
"country" text,
"abbreviation" text,
"assets_us_billion" text,
"inception" text,
"origin" text
); | SELECT "abbreviation" FROM "largest_sovereign_wealth_funds" WHERE "inception"='1999' AND "assets_us_billion"='7.1'; | 2-11420440-1 |
What was the opponent of the home team of essendon? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_1" WHERE "home_team"='essendon'; | 2-10790099-1 |
How big was the crowd in a game that had a home team score of 15.15 (105)? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "crowd" FROM "round_1" WHERE "home_team_score"='15.15 (105)'; | 2-10790099-1 |
What was the score of the home team when the opposing team had a score of 9.11 (65)? | CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='9.11 (65)'; | 2-10790099-1 |
Tell me the cast for b. reeves eason and joseph kane | CREATE TABLE "list_of_film_serials_by_studio" (
"serial_title" text,
"year" text,
"chapters" text,
"director" text,
"cast" text
); | SELECT "cast" FROM "list_of_film_serials_by_studio" WHERE "director"='b. reeves eason and joseph kane'; | 2-10966920-2 |
I want the director for heroes of the wild | CREATE TABLE "list_of_film_serials_by_studio" (
"serial_title" text,
"year" text,
"chapters" text,
"director" text,
"cast" text
); | SELECT "director" FROM "list_of_film_serials_by_studio" WHERE "serial_title"='heroes of the wild'; | 2-10966920-2 |
I want the year for the three musketeers | CREATE TABLE "list_of_film_serials_by_studio" (
"serial_title" text,
"year" text,
"chapters" text,
"director" text,
"cast" text
); | SELECT "year" FROM "list_of_film_serials_by_studio" WHERE "serial_title"='the three musketeers'; | 2-10966920-2 |
I want the cast for director of colbert clark and armand schaefer for burn 'em up barnes | CREATE TABLE "list_of_film_serials_by_studio" (
"serial_title" text,
"year" text,
"chapters" text,
"director" text,
"cast" text
); | SELECT "cast" FROM "list_of_film_serials_by_studio" WHERE "director"='colbert clark and armand schaefer' AND "serial_title"='burn ''em up barnes'; | 2-10966920-2 |
What is North Melbourne's Away team score? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_3" WHERE "away_team"='north melbourne'; | 2-10783853-3 |
How large was the crowd at the Kardinia Park venue games? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_3" WHERE "venue"='kardinia park'; | 2-10783853-3 |
What was the score of the Home team that played against Carlton's Away game? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_3" WHERE "away_team"='carlton'; | 2-10783853-3 |
What was the pick number when mark hayes was drafted? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "pick" FROM "nfl_draft" WHERE "player"='mark hayes'; | 2-11250269-1 |
Which team had a pick of 63? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "nfl_draft" WHERE "pick"=63; | 2-11250269-1 |
Which team had a position of linebacker with a pick smaller of 288? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "school_club_team" FROM "nfl_draft" WHERE "position"='linebacker' AND "pick"<288; | 2-11250269-1 |
What player did louisville pick when the round was below 8? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round"<8 AND "school_club_team"='louisville'; | 2-11250269-1 |
What was the outcome of the game that had a score of 3–6, 6–3, 6–0? | CREATE TABLE "itf_singles_finals_19" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "itf_singles_finals_19" WHERE "score"='3–6, 6–3, 6–0'; | 2-11326124-1 |
On 27 July 2003 what was the outcome of the game that resulted in a score of 7–5, 6–3? | CREATE TABLE "itf_singles_finals_19" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "outcome" FROM "itf_singles_finals_19" WHERE "score"='7–5, 6–3' AND "date"='27 july 2003'; | 2-11326124-1 |
What was the final score of the game against Lenka Novotná? | CREATE TABLE "itf_singles_finals_19" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "itf_singles_finals_19" WHERE "opponent_in_the_final"='lenka novotná'; | 2-11326124-1 |
In the surface of clay who was the opponent in the game resulting in a score of 6–4, 6–4? | CREATE TABLE "itf_singles_finals_19" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "opponent_in_the_final" FROM "itf_singles_finals_19" WHERE "surface"='clay' AND "score"='6–4, 6–4'; | 2-11326124-1 |
What was the final score of the game against opponent Ana Ivanovic? | CREATE TABLE "itf_singles_finals_19" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "itf_singles_finals_19" WHERE "opponent_in_the_final"='ana ivanovic'; | 2-11326124-1 |
What is the total grid number where the time/retired is +58.182 and the lap number is less than 67? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("grid") FROM "race" WHERE "time_retired"='+58.182' AND "laps"<67; | 2-1123343-2 |
What horse was induced in 2011 with a sire of cowboy p-12? | CREATE TABLE "horses" (
"name_of_horse" text,
"year_inducted" real,
"year_foaled" text,
"sire" text,
"broodmare_sire" text,
"discipline" text
); | SELECT "name_of_horse" FROM "horses" WHERE "year_inducted"=2011 AND "broodmare_sire"='cowboy p-12'; | 2-11874802-1 |
Who was the home team that played against hawthorn? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_13" WHERE "away_team"='hawthorn'; | 2-10809351-13 |
Who was the away team playing against collingwood? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_13" WHERE "home_team"='collingwood'; | 2-10809351-13 |
What was the biggest crowd at punt road oval? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MAX("crowd") FROM "round_13" WHERE "venue"='punt road oval'; | 2-10809351-13 |
Who is the home team based at windy hill? | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team" FROM "round_13" WHERE "venue"='windy hill'; | 2-10809351-13 |
Who was the Assistant Dean of Men when Autumn Teele was the Assistant Dean of Women? | CREATE TABLE "historical_list_of_staff_and_faculty" (
"year" text,
"president" text,
"chair_of_global_ministries" text,
"chair_of_pastoral" text,
"chair_of_music" text,
"dean_of_students" text,
"dean_of_men" text,
"dean_of_women" text,
"assistant_dean_of_men" text,
"assistant_dean_of_women" text
); | SELECT "assistant_dean_of_men" FROM "historical_list_of_staff_and_faculty" WHERE "assistant_dean_of_women"='autumn teele'; | 2-10826236-1 |
What is the low gold total for nations with under 23 silvers, ranked beloe 5, and 6 bronzes? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("gold") FROM "medal_count" WHERE "silver"<23 AND "rank">5 AND "bronze"=6; | 2-11415043-1 |
What is the high silver total for nations with 3 golds and under 5 bronzes? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_count" WHERE "gold"=3 AND "bronze"<5; | 2-11415043-1 |
How many silvers for nations with over 3 golds and under 6 bronzes? | CREATE TABLE "medal_count" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medal_count" WHERE "bronze"<6 AND "gold">3; | 2-11415043-1 |
What is the crowd number for the event that has a score of 8.25 (73) for the Away team? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_19" WHERE "away_team_score"='8.25 (73)'; | 2-10823719-19 |
When the away team has a total score of 13.9 (87), what is the name of the away team? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_19" WHERE "away_team_score"='13.9 (87)'; | 2-10823719-19 |
What was the date that featured a score of 8.8 (56) for the away team? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_19" WHERE "away_team_score"='8.8 (56)'; | 2-10823719-19 |
When the home team had a score of 13.19 (97), what was the score of the away team? | CREATE TABLE "round_19" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_19" WHERE "home_team_score"='13.19 (97)'; | 2-10823719-19 |
What was the smallest crowd in games at the corio oval? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT MIN("crowd") FROM "round_10" WHERE "venue"='corio oval'; | 2-10789881-10 |
In the match where Melbourne was the away team, how much did they score? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_10" WHERE "away_team"='melbourne'; | 2-10789881-10 |
On what day did a home team score 8.18 (66)? | CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_10" WHERE "home_team_score"='8.18 (66)'; | 2-10789881-10 |
Who had the decision when buffalo was the visitor? | CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "decision" FROM "october" WHERE "visitor"='buffalo'; | 2-11766617-3 |
Tell me the venue for north melbourne | CREATE TABLE "round_13" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_13" WHERE "away_team"='north melbourne'; | 2-10790804-13 |
What name has a listed of 03/31/1989 in spartanburg county? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "name" FROM "superfund_sites" WHERE "listed"='03/31/1989' AND "county"='spartanburg'; | 2-11960788-1 |
What date was proposed when the listed date was 12/16/1994 in the County of beaufort? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "proposed" FROM "superfund_sites" WHERE "listed"='12/16/1994' AND "county"='beaufort'; | 2-11960788-1 |
What name was listed 02/21/1990, and a CERCLIS ID of scd980844005? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "name" FROM "superfund_sites" WHERE "listed"='02/21/1990' AND "cerclis_id"='scd980844005'; | 2-11960788-1 |
What county has a CERCLIS ID of scd037405362? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "county" FROM "superfund_sites" WHERE "cerclis_id"='scd037405362'; | 2-11960788-1 |
What is the name for Charleston County with a CERCLIS ID of scd980711279? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "name" FROM "superfund_sites" WHERE "county"='charleston' AND "cerclis_id"='scd980711279'; | 2-11960788-1 |
What is the name for the listed date of 11/21/1989? | CREATE TABLE "superfund_sites" (
"cerclis_id" text,
"name" text,
"county" text,
"proposed" text,
"listed" text
); | SELECT "name" FROM "superfund_sites" WHERE "listed"='11/21/1989'; | 2-11960788-1 |
Which category was Gene Barry nominated in? | CREATE TABLE "original_broadway_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "category" FROM "original_broadway_production" WHERE "result"='nominated' AND "nominee"='gene barry'; | 2-1195142-1 |
What year was the Drama Desk award won by nominee George Hearn? | CREATE TABLE "original_broadway_production" (
"year" real,
"award" text,
"category" text,
"nominee" text,
"result" text
); | SELECT "year" FROM "original_broadway_production" WHERE "award"='drama desk award' AND "result"='won' AND "nominee"='george hearn'; | 2-1195142-1 |
What is the time/retired for grid 5? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "classification" WHERE "grid"=5; | 2-1123150-1 |
When was the event that had Liberia as an opponent and resulted in a 1-0 score? | CREATE TABLE "recent_results_and_forthcoming_fixtures" (
"date" text,
"location" text,
"opponent" text,
"score" text,
"competition" text
); | SELECT "date" FROM "recent_results_and_forthcoming_fixtures" WHERE "opponent"='liberia' AND "score"='1-0'; | 2-1092055-2 |
When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent | CREATE TABLE "recent_results_and_forthcoming_fixtures" (
"date" text,
"location" text,
"opponent" text,
"score" text,
"competition" text
); | SELECT "date" FROM "recent_results_and_forthcoming_fixtures" WHERE "competition"='2014 world cup qualification' AND "location"='kampala' AND "opponent"='angola'; | 2-1092055-2 |
Who was the Europe/Africa group i's opponent? | CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
); | SELECT "opponent" FROM "fed_cup_singles_performances_9" WHERE "zone"='europe/africa group i'; | 2-11326124-3 |
What zone was the Semifinal game played against Israel with Anna Smashnova as the opponent? | CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
); | SELECT "zone" FROM "fed_cup_singles_performances_9" WHERE "round"='semifinal' AND "against"='israel' AND "opponent"='anna smashnova'; | 2-11326124-3 |
What surface was played on against Shahar Pe'er? | CREATE TABLE "fed_cup_singles_performances_9" (
"edition" real,
"zone" text,
"round" text,
"date" text,
"against" text,
"surface" text,
"opponent" text,
"outcome" text,
"result" text
); | SELECT "surface" FROM "fed_cup_singles_performances_9" WHERE "opponent"='shahar pe''er'; | 2-11326124-3 |
I want the years for marathon distance and wins of 3 | CREATE TABLE "multiple_winners" (
"athlete" text,
"country" text,
"wins" real,
"years" text,
"distance" text
); | SELECT "years" FROM "multiple_winners" WHERE "distance"='marathon' AND "wins"=3; | 2-11391954-4 |
Name the country for athlete of ziedonis zaļkalns | CREATE TABLE "multiple_winners" (
"athlete" text,
"country" text,
"wins" real,
"years" text,
"distance" text
); | SELECT "country" FROM "multiple_winners" WHERE "athlete"='ziedonis zaļkalns'; | 2-11391954-4 |
I want the attendance which has a result of l 49–21 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "result"='l 49–21'; | 2-11280856-1 |
Tell me the attendance with a result of l 26–3 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "result"='l 26–3'; | 2-11280856-1 |
I want to know the lowest week with a date of december 19, 2004 | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT MIN("week") FROM "schedule" WHERE "date"='december 19, 2004'; | 2-11280856-1 |
What is the attendance of the location where New Orleans's team plays? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "team"='new orleans'; | 2-11907963-4 |
Which team has the high points of Raymond Felton (26)? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "team" FROM "game_log" WHERE "high_points"='raymond felton (26)'; | 2-11907963-4 |
What is the time of the driver on grid 7? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "grid"=7; | 2-1123415-2 |
Which Constructor has grid 2? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "grid"=2; | 2-1123415-2 |
What is the highest grid that has 55 laps? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("grid") FROM "race" WHERE "laps"=55; | 2-1123415-2 |
Who was Richmond's away team opponent? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_15" WHERE "home_team"='richmond'; | 2-10823719-15 |
What was the away score at VFL Park? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_15" WHERE "venue"='vfl park'; | 2-10823719-15 |
Tell me the home team score for richmond home team | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_6" WHERE "home_team"='richmond'; | 2-10789881-6 |
Tell me the venue for 8 june 1931 for st kilda away team | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_6" WHERE "date"='8 june 1931' AND "away_team"='st kilda'; | 2-10789881-6 |
When fitzroy was the home team, how much did the away team score? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team_score" FROM "round_22" WHERE "home_team"='fitzroy'; | 2-10869646-22 |
In the game where the home team scored 15.11 (101) and carlton was away, where was the venue? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_22" WHERE "home_team_score"='15.11 (101)' AND "away_team"='carlton'; | 2-10869646-22 |
When essendon was the home team, how much did they score? | CREATE TABLE "round_22" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_22" WHERE "home_team"='essendon'; | 2-10869646-22 |
What is shintaro ishiwatari's time? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='shintaro ishiwatari'; | 2-11221360-2 |
How many rounds have an Opponent of sakae kasuya? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "opponent"='sakae kasuya'; | 2-11221360-2 |
Which time has a Method of decision(majority), and an Opponent of keisuke yamada? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT "time" FROM "mixed_martial_arts_record" WHERE "method"='decision(majority)' AND "opponent"='keisuke yamada'; | 2-11221360-2 |
Which method has an Event of shooto, a Round of 2, and an Opponent of issei tamura? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text
); | SELECT "method" FROM "mixed_martial_arts_record" WHERE "event"='shooto' AND "round"=2 AND "opponent"='issei tamura'; | 2-11221360-2 |
What is the away team that played at punt road oval? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "away_team" FROM "round_15" WHERE "venue"='punt road oval'; | 2-10809142-15 |
What is the home team score that played at windy hill? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_15" WHERE "venue"='windy hill'; | 2-10809142-15 |
How big was the crowd at the game the away team geelong played at? | CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_15" WHERE "away_team"='geelong'; | 2-10809142-15 |
Which constructor has a race called I News of the World Trophy? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "constructor" FROM "non_championship_race_results" WHERE "race_name"='i news of the world trophy'; | 2-1140101-6 |
Which Constructor has the goodwood circuit? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "constructor" FROM "non_championship_race_results" WHERE "circuit"='goodwood'; | 2-1140101-6 |
What driver won the VII Rand Grand Prix? | CREATE TABLE "non_championship_race_results" (
"race_name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"constructor" text,
"report" text
); | SELECT "winning_driver" FROM "non_championship_race_results" WHERE "race_name"='vii rand grand prix'; | 2-1140101-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.