question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many were in attendance when the score was † 4–4 †? | CREATE TABLE "scottish_football_league_challenge_cup_f" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "attendance" FROM "scottish_football_league_challenge_cup_f" WHERE "score"='† 4–4 †'; | 2-1115666-2 |
How many people were watching when Livingston was the runner-up? | CREATE TABLE "scottish_football_league_challenge_cup_f" (
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
); | SELECT "attendance" FROM "scottish_football_league_challenge_cup_f" WHERE "runner_up"='livingston'; | 2-1115666-2 |
what average grid has laps larger than 52 and contains the driver of andrea de adamich? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT AVG("grid") FROM "classification" WHERE "laps">52 AND "driver"='andrea de adamich'; | 2-1122502-1 |
what's the highest lap that contains the driver of graham hill and a grid that is larger than 18? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "classification" WHERE "driver"='graham hill' AND "grid">18; | 2-1122502-1 |
what's the average grid that has a time/retired piston and laps smaller than 15? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT AVG("grid") FROM "classification" WHERE "time_retired"='piston' AND "laps"<15; | 2-1122502-1 |
Who is the tuner after season 2004 with Gaurav Gill as the driver, Team MRF, and Mai governing body? | CREATE TABLE "results" (
"season" real,
"driver" text,
"co_driver" text,
"team" text,
"tuner" text,
"governing_body" text
); | SELECT "tuner" FROM "results" WHERE "season">2004 AND "driver"='gaurav gill' AND "team"='team mrf' AND "governing_body"='mai'; | 2-11784046-1 |
Who is the driver in season 2003 with a tuner of N. Leelakrishnan and a Mai governing body? | CREATE TABLE "results" (
"season" real,
"driver" text,
"co_driver" text,
"team" text,
"tuner" text,
"governing_body" text
); | SELECT "driver" FROM "results" WHERE "tuner"='n. leelakrishnan' AND "governing_body"='mai' AND "season"=2003; | 2-11784046-1 |
Who is the turner on Team MRF? | CREATE TABLE "results" (
"season" real,
"driver" text,
"co_driver" text,
"team" text,
"tuner" text,
"governing_body" text
); | SELECT "tuner" FROM "results" WHERE "team"='mrf'; | 2-11784046-1 |
What is the earliest season with driver Farad Bathena? | CREATE TABLE "results" (
"season" real,
"driver" text,
"co_driver" text,
"team" text,
"tuner" text,
"governing_body" text
); | SELECT MIN("season") FROM "results" WHERE "driver"='farad bathena'; | 2-11784046-1 |
Which Major League Soccer team for the 2005 season has the lowest goals? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"league" text,
"apps" real,
"goals" real
); | SELECT MIN("goals") FROM "statistics" WHERE "league"='major league soccer' AND "season"='2005'; | 2-1161885-1 |
What are the average apps for the Major League Soccer team club for the Seattle Sounders FC that has goals less than 0? | CREATE TABLE "statistics" (
"season" text,
"club" text,
"league" text,
"apps" real,
"goals" real
); | SELECT AVG("apps") FROM "statistics" WHERE "league"='major league soccer' AND "club"='seattle sounders fc' AND "goals"<0; | 2-1161885-1 |
Which Icelandic has a Danish of blåt/blå? | CREATE TABLE "faroese_words_and_phrases_in_comparison_" (
"faroese" text,
"norwegian_bokm_l" text,
"norwegian_nynorsk" text,
"english" text,
"icelandic" text,
"danish" text,
"swedish" text,
"german" text,
"dutch" text
); | SELECT "icelandic" FROM "faroese_words_and_phrases_in_comparison_" WHERE "danish"='blåt/blå'; | 2-11273-3 |
Which Icelandic has a Norwegian (nynorsk) of kvitt/kvit? | CREATE TABLE "faroese_words_and_phrases_in_comparison_" (
"faroese" text,
"norwegian_bokm_l" text,
"norwegian_nynorsk" text,
"english" text,
"icelandic" text,
"danish" text,
"swedish" text,
"german" text,
"dutch" text
); | SELECT "icelandic" FROM "faroese_words_and_phrases_in_comparison_" WHERE "norwegian_nynorsk"='kvitt/kvit'; | 2-11273-3 |
Which Faroese has an English of white? | CREATE TABLE "faroese_words_and_phrases_in_comparison_" (
"faroese" text,
"norwegian_bokm_l" text,
"norwegian_nynorsk" text,
"english" text,
"icelandic" text,
"danish" text,
"swedish" text,
"german" text,
"dutch" text
); | SELECT "faroese" FROM "faroese_words_and_phrases_in_comparison_" WHERE "english"='white'; | 2-11273-3 |
Which Norwegian (nynorsk) has a Danish of farvel? | CREATE TABLE "faroese_words_and_phrases_in_comparison_" (
"faroese" text,
"norwegian_bokm_l" text,
"norwegian_nynorsk" text,
"english" text,
"icelandic" text,
"danish" text,
"swedish" text,
"german" text,
"dutch" text
); | SELECT "norwegian_nynorsk" FROM "faroese_words_and_phrases_in_comparison_" WHERE "danish"='farvel'; | 2-11273-3 |
Which English has a Danish of rødt/rød? | CREATE TABLE "faroese_words_and_phrases_in_comparison_" (
"faroese" text,
"norwegian_bokm_l" text,
"norwegian_nynorsk" text,
"english" text,
"icelandic" text,
"danish" text,
"swedish" text,
"german" text,
"dutch" text
); | SELECT "english" FROM "faroese_words_and_phrases_in_comparison_" WHERE "danish"='rødt/rød'; | 2-11273-3 |
What number of Congress has 44 cosponsors? | CREATE TABLE "legislative_history" (
"congress" text,
"bill_number" text,
"date_introduced" text,
"sponsor" text,
"num_of_cosponsors" real
); | SELECT "congress" FROM "legislative_history" WHERE "num_of_cosponsors"=44; | 2-11045469-1 |
Who was the sponsor on April 22, 2004? | CREATE TABLE "legislative_history" (
"congress" text,
"bill_number" text,
"date_introduced" text,
"sponsor" text,
"num_of_cosponsors" real
); | SELECT "sponsor" FROM "legislative_history" WHERE "date_introduced"='april 22, 2004'; | 2-11045469-1 |
What is the score of the game when the New York Rangers were the home team? | CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "february" WHERE "home"='new york rangers'; | 2-11622632-7 |
What was the result on 8 October 1961? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "result" FROM "international_goals" WHERE "date"='8 october 1961'; | 2-11887241-1 |
What was the venue of the game on 27 April 1964? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='27 april 1964'; | 2-11887241-1 |
Where was the game played with a home team score of 8.13 (61)? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_8" WHERE "home_team_score"='8.13 (61)'; | 2-10826385-8 |
What is the home team score when the away team was Hawthorn? | CREATE TABLE "round_8" (
"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_8" WHERE "away_team"='hawthorn'; | 2-10826385-8 |
What did the home team score when the away team scored 14.15 (99)? | CREATE TABLE "round_8" (
"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_8" WHERE "away_team_score"='14.15 (99)'; | 2-10826385-8 |
When was the game played where the away team scored 11.14 (80)? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_8" WHERE "away_team_score"='11.14 (80)'; | 2-10826385-8 |
Where was the game played when the away team scored 14.15 (99)? | CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_8" WHERE "away_team_score"='14.15 (99)'; | 2-10826385-8 |
What home team played against the away team with a score of 13.6 (84)? | CREATE TABLE "round_8" (
"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_8" WHERE "away_team_score"='13.6 (84)'; | 2-10826385-8 |
What was the score of the game against Divij Sharan? | CREATE TABLE "singles_runner_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_runner_up" WHERE "opponent_in_the_final"='divij sharan'; | 2-11976006-4 |
What was the score of the match that was a played on a hard surface against Peter Gojowczyk? | CREATE TABLE "singles_runner_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
); | SELECT "score" FROM "singles_runner_up" WHERE "surface"='hard' AND "opponent_in_the_final"='peter gojowczyk'; | 2-11976006-4 |
How many attended the game with a record of 43-34? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT COUNT("attendance") FROM "game_log" WHERE "record"='43-34'; | 2-11800675-5 |
Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel? | CREATE TABLE "doubles_7_10" (
"edition" text,
"round" text,
"date" text,
"partner" text,
"surface" text,
"opponents" text,
"result" text
); | SELECT "opponents" FROM "doubles_7_10" WHERE "partner"='michelle strebel'; | 2-1092361-12 |
When the percent is larger than 0.685, what is the average number of points scored? | CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"standing" text
); | SELECT AVG("points") FROM "yearly_results" WHERE "pct_pct">0.685; | 2-1143966-1 |
When less than 37 points are scored, what's the lowest Pct % found? | CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" real,
"goals_for" real,
"goals_against" real,
"standing" text
); | SELECT MIN("pct_pct") FROM "yearly_results" WHERE "points"<37; | 2-1143966-1 |
How many rounds did the event rings: king of kings 2000 block a have with a record of 6-1? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "round" FROM "mixed_martial_arts_record" WHERE "event"='rings: king of kings 2000 block a' AND "record"='6-1'; | 2-10819986-2 |
How long was the fight 'adrenaline mma 3'? | 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 "event"='adrenaline mma 3'; | 2-10819986-2 |
What was roberto travern's record when he fought against john salter? | CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
); | SELECT "record" FROM "mixed_martial_arts_record" WHERE "opponent"='john salter'; | 2-10819986-2 |
What was the score of the away team at the MCG? | 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"='mcg'; | 2-10808933-15 |
Who constructed the car with a grid larger than 20 that got in an accident? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "constructor" FROM "race" WHERE "grid">20 AND "time_retired"='accident'; | 2-1123302-2 |
Which Position has a CFL Team of montreal alouettes (via edmonton)? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_three" WHERE "cfl_team"='montreal alouettes (via edmonton)'; | 2-10812403-3 |
Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "player" FROM "round_three" WHERE "cfl_team"='montreal alouettes (via hamilton via winnipeg)'; | 2-10812403-3 |
Which Position has a Player of patrick macdonald? | CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
); | SELECT "position" FROM "round_three" WHERE "player"='patrick macdonald'; | 2-10812403-3 |
What series had Joan Tena in sixth place? | CREATE TABLE "series_summary" (
"series" real,
"year" text,
"winner" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"fifth_place" text,
"sixth_place" text,
"host" text
); | SELECT SUM("series") FROM "series_summary" WHERE "sixth_place"='joan tena'; | 2-1149495-1 |
Who was in sixth place in series 7? | CREATE TABLE "series_summary" (
"series" real,
"year" text,
"winner" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"fifth_place" text,
"sixth_place" text,
"host" text
); | SELECT "sixth_place" FROM "series_summary" WHERE "series"=7; | 2-1149495-1 |
Who was sixth place when Hugo Salazar was fifth place? | CREATE TABLE "series_summary" (
"series" real,
"year" text,
"winner" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"fifth_place" text,
"sixth_place" text,
"host" text
); | SELECT "sixth_place" FROM "series_summary" WHERE "fifth_place"='hugo salazar'; | 2-1149495-1 |
Who was third place when Fran Dieli was fifth place? | CREATE TABLE "series_summary" (
"series" real,
"year" text,
"winner" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"fifth_place" text,
"sixth_place" text,
"host" text
); | SELECT "third_place" FROM "series_summary" WHERE "fifth_place"='fran dieli'; | 2-1149495-1 |
What is the Order and Title with an Elevated with 1261, december 17, and a Faction with angevin? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"faction" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "order_and_title" FROM "cardinal_electors" WHERE "elevated"='1261, december 17' AND "faction"='angevin'; | 2-12079744-1 |
What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"faction" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "elector" FROM "cardinal_electors" WHERE "nationality"='roman' AND "elevator"='urban iv' AND "elevated"='1261, december 17'; | 2-12079744-1 |
What is the Nationality with an Elector with bertrand de saint-martin? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"faction" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "nationality" FROM "cardinal_electors" WHERE "elector"='bertrand de saint-martin'; | 2-12079744-1 |
What is the Order and Title with a Nationality with roman, and an Elector with matteo orsini rosso? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"faction" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "order_and_title" FROM "cardinal_electors" WHERE "nationality"='roman' AND "elector"='matteo orsini rosso'; | 2-12079744-1 |
What is the Elector with a Faction of roman, and an Elevated with 1244, may 28? | CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"faction" text,
"order_and_title" text,
"elevated" text,
"elevator" text
); | SELECT "elector" FROM "cardinal_electors" WHERE "faction"='roman' AND "elevated"='1244, may 28'; | 2-12079744-1 |
What did the away team score at the game when the home team scored 7.11 (53)? | 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" FROM "round_3" WHERE "away_team_score"='7.11 (53)'; | 2-10808681-3 |
Who was the home team that scored 6.5 (41)? | 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" FROM "round_3" WHERE "home_team_score"='6.5 (41)'; | 2-10808681-3 |
What is the mult value of the microprocessor with a release date q4 2007 and model number pentium dual-core t2310? | CREATE TABLE "65_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "mult" FROM "65_nm" WHERE "release_date"='q4 2007' AND "model_number"='pentium dual-core t2310'; | 2-11602313-4 |
What is the L2 cache of the microprocessor with model number pentium dual-core t3400? | CREATE TABLE "65_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "l2_cache" FROM "65_nm" WHERE "model_number"='pentium dual-core t3400'; | 2-11602313-4 |
What is the release price (USD) of the microprocessor with a model number pentium dual-core t2330? | CREATE TABLE "65_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"l2_cache" text,
"mult" text,
"voltage" text,
"socket" text,
"release_date" text,
"part_number_s" text,
"release_price_usd" text
); | SELECT "release_price_usd" FROM "65_nm" WHERE "model_number"='pentium dual-core t2330'; | 2-11602313-4 |
What day did Patrick Tambay have the fastest lap? | CREATE TABLE "season_review" (
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
); | SELECT "date" FROM "season_review" WHERE "fastest_lap"='patrick tambay'; | 2-1140074-2 |
Who held the pole position in SPA-Francorchamps? | CREATE TABLE "season_review" (
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
); | SELECT "pole_position" FROM "season_review" WHERE "location"='spa-francorchamps'; | 2-1140074-2 |
Who was the Long Beach constructor? | CREATE TABLE "season_review" (
"race" text,
"date" text,
"location" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"constructor" text,
"report" text
); | SELECT "constructor" FROM "season_review" WHERE "location"='long beach'; | 2-1140074-2 |
Where was the game played when the away team scored 12.5 (77)? | 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_score"='12.5 (77)'; | 2-10806852-13 |
What did the away team score when Carlton was the home team? | 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_score" FROM "round_13" WHERE "home_team"='carlton'; | 2-10806852-13 |
What did St Kilda score when they were the home team? | 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_score" FROM "round_13" WHERE "home_team"='st kilda'; | 2-10806852-13 |
What did the home team score when South Melbourne was the away team? | 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_score" FROM "round_13" WHERE "away_team"='south melbourne'; | 2-10806852-13 |
Who is the away team when the home team scored 14.14 (98)? | 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_score"='14.14 (98)'; | 2-10806852-13 |
Name the leading scorer for april 12, 2008 | CREATE TABLE "april" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "leading_scorer" FROM "april" WHERE "date"='april 12, 2008'; | 2-11965402-8 |
What was the score for the home team that played at Brunswick Street Oval? | CREATE TABLE "round_8" (
"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_8" WHERE "venue"='brunswick street oval'; | 2-10784349-8 |
what is the name for seasons 1981 and an order more than 807? | CREATE TABLE "players_who_made_their_debut_for_the_gee" (
"order" real,
"name" text,
"seasons" text,
"games" real,
"goals" real
); | SELECT "name" FROM "players_who_made_their_debut_for_the_gee" WHERE "seasons"='1981' AND "order">807; | 2-11677694-11 |
What is the smallest crowd of the away team that scored 12.9 (81)? | 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 MIN("crowd") FROM "round_13" WHERE "away_team_score"='12.9 (81)'; | 2-10823719-13 |
What away team played in Lake 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 "away_team" FROM "round_13" WHERE "venue"='lake oval'; | 2-10823719-13 |
Which tournament was on 2009 with 11? | CREATE TABLE "results" (
"tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "results" WHERE "2009"='11'; | 2-11233202-7 |
On what date was the attendance greater than 18,118 when Colorado was the visitor? | CREATE TABLE "october" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "october" WHERE "attendance">'18,118' AND "visitor"='colorado'; | 2-11801649-3 |
What driver went 59 laps on grid 11? | CREATE TABLE "classification" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "driver" FROM "classification" WHERE "laps"=59 AND "grid"=11; | 2-11552877-1 |
Which driver has a grid value of 22? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "driver" FROM "race" WHERE "grid"='22'; | 2-1123255-2 |
What is the value of time/retired for Jean Alesi? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "time_retired" FROM "race" WHERE "driver"='jean alesi'; | 2-1123255-2 |
When the time/retired is electrical how many laps did Rubens Barrichello have? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "time_retired"='electrical' AND "driver"='rubens barrichello'; | 2-1123255-2 |
How many laps did Eddie Irvine have? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" text,
"time_retired" text,
"grid" text
); | SELECT "laps" FROM "race" WHERE "driver"='eddie irvine'; | 2-1123255-2 |
In the game where the Hornets were the home team and Clippers the visiting team, what is the score? | CREATE TABLE "january" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "january" WHERE "home"='hornets' AND "visitor"='clippers'; | 2-11963536-6 |
Where is the home venue of carlton that had a crowd bigger than 12,000? | CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "venue" FROM "round_16" WHERE "crowd">'12,000' AND "home_team"='carlton'; | 2-10809444-16 |
Which finish has a 99.550 Qual? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "finish" FROM "indy_500_results" WHERE "qual"='99.550'; | 2-1172894-1 |
Which Qual with laps less than 200 and an 11 start? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "qual" FROM "indy_500_results" WHERE "laps"<200 AND "start"='11'; | 2-1172894-1 |
Which rank is the start of totals? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "rank" FROM "indy_500_results" WHERE "start"='totals'; | 2-1172894-1 |
Which year has 112 laps? | CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
); | SELECT "year" FROM "indy_500_results" WHERE "laps"=112; | 2-1172894-1 |
On what surface was the score in the final 0–6, 4–6? | CREATE TABLE "doubles_11_2_9" (
"outcome" text,
"tournament" text,
"surface" text,
"partnering" text,
"score_in_the_final" text
); | SELECT "surface" FROM "doubles_11_2_9" WHERE "score_in_the_final"='0–6, 4–6'; | 2-11961200-6 |
What score in the final had a tournament of $25,000 Glasgow, Great Britain? | CREATE TABLE "doubles_11_2_9" (
"outcome" text,
"tournament" text,
"surface" text,
"partnering" text,
"score_in_the_final" text
); | SELECT "score_in_the_final" FROM "doubles_11_2_9" WHERE "tournament"='$25,000 glasgow, great britain'; | 2-11961200-6 |
Which surface has a score in the final of 4–6, 3–6? | CREATE TABLE "doubles_11_2_9" (
"outcome" text,
"tournament" text,
"surface" text,
"partnering" text,
"score_in_the_final" text
); | SELECT "surface" FROM "doubles_11_2_9" WHERE "score_in_the_final"='4–6, 3–6'; | 2-11961200-6 |
how many times is the nation listed as united states with the total more than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("silver") FROM "medal_table" WHERE "nation"='united states' AND "total">1; | 2-11273214-3 |
what is the lowest total when the rank is less than 2 and bronze is more than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "rank"<2 AND "bronze">0; | 2-11273214-3 |
what is the nation with a total of 1, bronze smaller than 1 and a rank of 3? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT "nation" FROM "medal_table" WHERE "total"=1 AND "bronze"<1 AND "rank"=3; | 2-11273214-3 |
what is the rank when silver is less than 0? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("rank") FROM "medal_table" WHERE "silver"<0; | 2-11273214-3 |
what is the amount of silver when gold is 2 and the rank is more than 1? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("silver") FROM "medal_table" WHERE "gold"=2 AND "rank">1; | 2-11273214-3 |
Which home has a Decision of kolzig, and a Date of november 5? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "home" FROM "november" WHERE "decision"='kolzig' AND "date"='november 5'; | 2-11772462-4 |
Which score has a Decision of johnson? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "november" WHERE "decision"='johnson'; | 2-11772462-4 |
Which date has a Home of washington, a Visitor of florida, and a Record of 8-15-2? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "date" FROM "november" WHERE "home"='washington' AND "visitor"='florida' AND "record"='8-15-2'; | 2-11772462-4 |
What is the total of attendance with a Record of 5-9-0? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "november" WHERE "record"='5-9-0'; | 2-11772462-4 |
Which score has a Date of november 2? | CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "november" WHERE "date"='november 2'; | 2-11772462-4 |
What's the length of route FM 2895 with junctions sh 359 us 59? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "length" FROM "farm_to_market_roads" WHERE "junctions"='sh 359 us 59' AND "route_name"='fm 2895'; | 2-11336756-5 |
What's the termini of the route with junctions of i-35 fm 3338 sh 255? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "termini" FROM "farm_to_market_roads" WHERE "junctions"='i-35 fm 3338 sh 255'; | 2-11336756-5 |
What are the junctions of the route with termini aguilares, texas us 59? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "junctions" FROM "farm_to_market_roads" WHERE "termini"='aguilares, texas us 59'; | 2-11336756-5 |
What route has termini of fm 1472 sh 255? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "route_name" FROM "farm_to_market_roads" WHERE "termini"='fm 1472 sh 255'; | 2-11336756-5 |
What termini does the route with a population Area of aguilares have? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "termini" FROM "farm_to_market_roads" WHERE "population_area"='aguilares'; | 2-11336756-5 |
What's the length of the route with junctions of ur 1472 sh 255? | CREATE TABLE "farm_to_market_roads" (
"route_name" text,
"direction" text,
"termini" text,
"junctions" text,
"length" text,
"population_area" text
); | SELECT "length" FROM "farm_to_market_roads" WHERE "junctions"='ur 1472 sh 255'; | 2-11336756-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.