question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
On what date does visiting team Minnesota score higher than 47 points? | CREATE TABLE "january" (
"game_num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "date" FROM "january" WHERE "points">47 AND "visitor"='minnesota'; | 2-13913477-6 |
What date does visitor team Toronto score less than 49 points and has record of 18-17-7? | CREATE TABLE "january" (
"game_num" real,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"points" real
); | SELECT "date" FROM "january" WHERE "visitor"='toronto' AND "points"<49 AND "record"='18-17-7'; | 2-13913477-6 |
What is the fleet number for the model of Gillig Phantom 3096TB? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "fleet_number" FROM "retired_fleet" WHERE "model"='gillig phantom 3096tb'; | 2-14858130-4 |
What is the width for the year of the 1970? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "width" FROM "retired_fleet" WHERE "year"='1970'; | 2-14858130-4 |
Which year has a fleet number of 603? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "year" FROM "retired_fleet" WHERE "fleet_number"='603'; | 2-14858130-4 |
What is the length of fleet number 501-506? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "length" FROM "retired_fleet" WHERE "fleet_number"='501-506'; | 2-14858130-4 |
What is fleet number for the year of 19xx? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "fleet_number" FROM "retired_fleet" WHERE "year"='19xx'; | 2-14858130-4 |
What is the fleet number of Model Orion 01.507? | CREATE TABLE "retired_fleet" (
"year" text,
"model" text,
"length" text,
"width" text,
"fleet_number" text
); | SELECT "fleet_number" FROM "retired_fleet" WHERE "model"='orion 01.507'; | 2-14858130-4 |
What is the highest round of Ed Smith, who had a pick higher than 261 and played halfback? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MAX("round") FROM "nfl_draft" WHERE "pick"<261 AND "position"='halfback' AND "player"='ed smith'; | 2-14877783-1 |
What is the lowest round of Ed Smith, who had a pick lower than 19? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("round") FROM "nfl_draft" WHERE "player"='ed smith' AND "pick">19; | 2-14877783-1 |
Which player had a round of 27? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "player" FROM "nfl_draft" WHERE "round"=27; | 2-14877783-1 |
What is the position of the player with a round less than 20 from the school/club Washington? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "round"<20 AND "school_club_team"='washington'; | 2-14877783-1 |
Location of hemisfair arena had what record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "location"='hemisfair arena'; | 2-14828499-6 |
Record of 20–4 involved what highest game? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT MAX("game") FROM "game_log" WHERE "record"='20–4'; | 2-14828499-6 |
Opponent of @ phoenix suns had what sum of game? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT SUM("game") FROM "game_log" WHERE "opponent"='@ phoenix suns'; | 2-14828499-6 |
Score of 122–105 had what record? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='122–105'; | 2-14828499-6 |
In the final, who are the opponents of partner Simon Aspelin? | CREATE TABLE "doubles_champion_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "opponents_in_the_final" FROM "doubles_champion_6" WHERE "partner"='simon aspelin'; | 2-14734893-1 |
For the tournament played on 26 February 2006, what surface was used? | CREATE TABLE "doubles_champion_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "doubles_champion_6" WHERE "date"='26 february 2006'; | 2-14734893-1 |
Which Date has a Record of 58–10? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "record"='58–10'; | 2-14828499-9 |
Which Date has a Score of 106–112? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "date" FROM "game_log" WHERE "score"='106–112'; | 2-14828499-9 |
Who was second when Martynas Norkus was the skip? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "second" FROM "group_b2" WHERE "skip"='martynas norkus'; | 2-14385184-56 |
Who was the second when Ilian Kirilov was the lead? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "second" FROM "group_b2" WHERE "lead"='ilian kirilov'; | 2-14385184-56 |
Who was the lead when Jamie Meikle was the skip? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "group_b2" WHERE "skip"='jamie meikle'; | 2-14385184-56 |
Who was the lead when Ritvars Gulbis was the skip? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "lead" FROM "group_b2" WHERE "skip"='ritvars gulbis'; | 2-14385184-56 |
Who came in third in England? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "third" FROM "group_b2" WHERE "nation"='england'; | 2-14385184-56 |
In what nation did Darko Sovran place third? | CREATE TABLE "group_b2" (
"nation" text,
"skip" text,
"third" text,
"second" text,
"lead" text
); | SELECT "nation" FROM "group_b2" WHERE "third"='darko sovran'; | 2-14385184-56 |
What is the tournament with a w/o score on November 5, 2007? | CREATE TABLE "singles_titles_14" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "singles_titles_14" WHERE "score"='w/o' AND "date"='november 5, 2007'; | 2-15209396-2 |
What is the surface of eckental tournament with a w/o score? | CREATE TABLE "singles_titles_14" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_titles_14" WHERE "tournament"='eckental' AND "score"='w/o'; | 2-15209396-2 |
What is the tournament with a hard surface and Ruben de Kleijn as the opponent? | CREATE TABLE "singles_titles_14" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "tournament" FROM "singles_titles_14" WHERE "surface"='hard' AND "opponent"='ruben de kleijn'; | 2-15209396-2 |
What is the score of the tournament on November 5, 2007 with a carpet surface? | CREATE TABLE "singles_titles_14" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_titles_14" WHERE "surface"='carpet' AND "date"='november 5, 2007'; | 2-15209396-2 |
What is the surface of the tournament with Sascha Kloer as the opponent? | CREATE TABLE "singles_titles_14" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_titles_14" WHERE "opponent"='sascha kloer'; | 2-15209396-2 |
what team scored in gomel | CREATE TABLE "teams_and_venues" (
"team" text,
"location" text,
"venue" text,
"capacity" real,
"position_in_1993_94" text
); | SELECT "team" FROM "teams_and_venues" WHERE "location"='gomel'; | 2-14745005-1 |
What is the average conceded number of the team with a position lower than 8 and more than 2 wins? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT AVG("conceded") FROM "torneo_apertura" WHERE "position">8 AND "wins">2; | 2-14876228-1 |
What is the averaged scored number of team guaraní, which has less than 6 draws and less than 5 losses? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT AVG("scored") FROM "torneo_apertura" WHERE "draws"<6 AND "team"='guaraní' AND "losses"<5; | 2-14876228-1 |
What is the total number scored of the team positioned lower than 10? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT COUNT("scored") FROM "torneo_apertura" WHERE "position">10; | 2-14876228-1 |
What is the lowest number of wins of the team with less than 24 scored, 27 conceded, and more than 18 played? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT MIN("wins") FROM "torneo_apertura" WHERE "scored"<24 AND "conceded"=27 AND "played">18; | 2-14876228-1 |
What is the lowest number of points of the team with 2 losses and a lower than 1 position? | CREATE TABLE "torneo_apertura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
); | SELECT MIN("points") FROM "torneo_apertura" WHERE "losses"=2 AND "position">1; | 2-14876228-1 |
What is the Intercontinental Cup 1993 result for a Supercopa Sudamericana 1993 result of round of 16? | CREATE TABLE "brazilian_clubs_in_international_competi" (
"team" text,
"copa_libertadores_1993" text,
"supercopa_sudamericana_1993" text,
"copa_conmebol_1993" text,
"recopa_sudamericana_1993" text,
"intercontinental_cup_1993" text
); | SELECT "intercontinental_cup_1993" FROM "brazilian_clubs_in_international_competi" WHERE "supercopa_sudamericana_1993"='round of 16'; | 2-15009679-7 |
Who received the Loss during the game with an Attendance larger than 50,589 and a Record of 71–57? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "loss" FROM "game_log" WHERE "attendance">'50,589' AND "record"='71–57'; | 2-14250040-8 |
What is the earliest game in November with more than 22 Games and Toronto Maple Leafs as the Opponent? | CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MIN("november") FROM "regular_season" WHERE "game">22 AND "opponent"='toronto maple leafs'; | 2-14173105-4 |
What is the family friendly status of the punk genre song from the 1970s? | CREATE TABLE "wii_version" (
"song_title" text,
"artist" text,
"decade" text,
"genre" text,
"family_friendly" text
); | SELECT "family_friendly" FROM "wii_version" WHERE "decade"='1970s' AND "genre"='punk'; | 2-14160327-3 |
Who is the artist of the rock song? | CREATE TABLE "wii_version" (
"song_title" text,
"artist" text,
"decade" text,
"genre" text,
"family_friendly" text
); | SELECT "artist" FROM "wii_version" WHERE "genre"='rock'; | 2-14160327-3 |
What is the highest number of bronze medals for nations with under 0 golds? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("bronze") FROM "medal_table" WHERE "gold"<0; | 2-14783550-1 |
How many points did Stuart have when he had 0 extra points? | CREATE TABLE "michigan_36_drake_4" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("points") FROM "michigan_36_drake_4" WHERE "player"='stuart' AND "extra_points"<0; | 2-14342592-10 |
Who had the lowest field goals but had 10 points and more than 2 touchdowns? | CREATE TABLE "michigan_36_drake_4" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT MIN("field_goals") FROM "michigan_36_drake_4" WHERE "points"=10 AND "touchdowns">2; | 2-14342592-10 |
How many points did Stuart have when he had less than 1 touchdown? | CREATE TABLE "michigan_36_drake_4" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT SUM("points") FROM "michigan_36_drake_4" WHERE "player"='stuart' AND "touchdowns"<1; | 2-14342592-10 |
Who had a points average with 0 extra points and 0 field goals? | CREATE TABLE "michigan_36_drake_4" (
"player" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
); | SELECT AVG("points") FROM "michigan_36_drake_4" WHERE "extra_points"=0 AND "field_goals">0; | 2-14342592-10 |
What was the result in the Golden Reel Awards? | CREATE TABLE "awards" (
"year" real,
"event" text,
"award" text,
"nominee" text,
"result" text
); | SELECT "result" FROM "awards" WHERE "event"='golden reel awards'; | 2-143809-2 |
Record of 16–29 is how many attendance? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "attendance" FROM "game_log" WHERE "record"='16–29'; | 2-14271605-6 |
Loss of peavy (4–3) is what score? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "score" FROM "game_log" WHERE "loss"='peavy (4–3)'; | 2-14271605-6 |
Score of 3–2, and a Opponent of reds had what sum of attendance? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT SUM("attendance") FROM "game_log" WHERE "score"='3–2' AND "opponent"='reds'; | 2-14271605-6 |
Score of 6–4, and a Opponent of @ marlins had what record? | CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='6–4' AND "opponent"='@ marlins'; | 2-14271605-6 |
Which Cuts made has a Tournament of totals, and Wins smaller than 11? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT AVG("cuts_made") FROM "summary" WHERE "tournament"='totals' AND "wins"<11; | 2-1507806-2 |
Which Top-25 has a Top-5 smaller than 0? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("top_25") FROM "summary" WHERE "top_5"<0; | 2-1507806-2 |
Which Top-25 has a Top-5 larger than 9, and Wins smaller than 11? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT SUM("top_25") FROM "summary" WHERE "top_5">9 AND "wins"<11; | 2-1507806-2 |
Which Top-5 is the highest one that has Wins of 0, and Events larger than 6? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("top_5") FROM "summary" WHERE "wins"=0 AND "events">6; | 2-1507806-2 |
Which Top-5 is the lowest one that has Cuts made of 10, and Events larger than 10? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MIN("top_5") FROM "summary" WHERE "cuts_made"=10 AND "events">10; | 2-1507806-2 |
Which Events is the highest one that has a Top-10 larger than 7, and Wins smaller than 2? | CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
); | SELECT MAX("events") FROM "summary" WHERE "top_10">7 AND "wins"<2; | 2-1507806-2 |
When the surface is clay, and the tournament of barcelona what is the score? | CREATE TABLE "singles_18_12_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "score" FROM "singles_18_12_6" WHERE "surface"='clay' AND "tournament"='barcelona'; | 2-14979843-3 |
What was the surface when the opponent was judith wiesner, and the outcome was winner? | CREATE TABLE "singles_18_12_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "surface" FROM "singles_18_12_6" WHERE "outcome"='winner' AND "opponent"='judith wiesner'; | 2-14979843-3 |
What is the opponent for the tournament of rio de janeiro? | CREATE TABLE "singles_18_12_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_18_12_6" WHERE "tournament"='rio de janeiro'; | 2-14979843-3 |
What is the opponent with the outcome of runner-up with a date of 19 september 1994? | CREATE TABLE "singles_18_12_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_18_12_6" WHERE "outcome"='runner-up' AND "date"='19 september 1994'; | 2-14979843-3 |
What was the opponent for the tournament of taranto? | CREATE TABLE "singles_18_12_6" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "opponent" FROM "singles_18_12_6" WHERE "tournament"='taranto'; | 2-14979843-3 |
Who had the fastest lap where Joan Lascorz was the winner? | CREATE TABLE "season_calendar" (
"date" text,
"round" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"report" text
); | SELECT "fastest_lap" FROM "season_calendar" WHERE "race_winner"='joan lascorz'; | 2-15187794-1 |
Who won the round in Europe? | CREATE TABLE "season_calendar" (
"date" text,
"round" text,
"circuit" text,
"pole_position" text,
"fastest_lap" text,
"race_winner" text,
"report" text
); | SELECT "race_winner" FROM "season_calendar" WHERE "round"='europe'; | 2-15187794-1 |
How many games have a Score of 3–0, and a January larger than 12? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT COUNT("game") FROM "regular_season" WHERE "score"='3–0' AND "january">12; | 2-14346882-6 |
Which Opponent has a January larger than 8, and a Game smaller than 48, and a Score of 5–3? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "opponent" FROM "regular_season" WHERE "january">8 AND "game"<48 AND "score"='5–3'; | 2-14346882-6 |
Which Game is the highest that has a January of 28? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT MAX("game") FROM "regular_season" WHERE "january"=28; | 2-14346882-6 |
Which Score has a Game larger than 47, and a January smaller than 25? | CREATE TABLE "regular_season" (
"game" real,
"january" real,
"opponent" text,
"score" text,
"record" text,
"points" real
); | SELECT "score" FROM "regular_season" WHERE "game">47 AND "january"<25; | 2-14346882-6 |
What stroke has a max power of 109 ps(80kw)@4000 rpm? | CREATE TABLE "engine_reference" (
"code" text,
"vehicle" text,
"year" text,
"displacement" text,
"bore" text,
"stroke" text,
"c_r" text,
"max_power" text
); | SELECT "stroke" FROM "engine_reference" WHERE "max_power"='109 ps(80kw)@4000 rpm'; | 2-13964981-1 |
The nissan primera p12 nissan almera n16 has what C.R.? | CREATE TABLE "engine_reference" (
"code" text,
"vehicle" text,
"year" text,
"displacement" text,
"bore" text,
"stroke" text,
"c_r" text,
"max_power" text
); | SELECT "c_r" FROM "engine_reference" WHERE "vehicle"='nissan primera p12 nissan almera n16'; | 2-13964981-1 |
What displacement has the code yd22ddt? | CREATE TABLE "engine_reference" (
"code" text,
"vehicle" text,
"year" text,
"displacement" text,
"bore" text,
"stroke" text,
"c_r" text,
"max_power" text
); | SELECT "displacement" FROM "engine_reference" WHERE "code"='yd22ddt'; | 2-13964981-1 |
What code has a C.R of 16.7:1? | CREATE TABLE "engine_reference" (
"code" text,
"vehicle" text,
"year" text,
"displacement" text,
"bore" text,
"stroke" text,
"c_r" text,
"max_power" text
); | SELECT "code" FROM "engine_reference" WHERE "c_r"='16.7:1'; | 2-13964981-1 |
What Outcome happened on a Date that was 20 november 2011? | CREATE TABLE "singles" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
); | SELECT "outcome" FROM "singles" WHERE "date"='20 november 2011'; | 2-15271640-8 |
Which Away team has a Score of 0–3? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "away_team" FROM "fourth_round" WHERE "score"='0–3'; | 2-15154539-5 |
Which Attendance has a Tie number of 5? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fourth_round" WHERE "tie_no"='5'; | 2-15154539-5 |
Which Score has an Attendance of 23 january 1999, and a Tie # of 6? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "score" FROM "fourth_round" WHERE "attendance"='23 january 1999' AND "tie_no"='6'; | 2-15154539-5 |
Which Tie #has an Attendance of 54,591? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "tie_no" FROM "fourth_round" WHERE "attendance"='54,591'; | 2-15154539-5 |
Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "home_team" FROM "fourth_round" WHERE "score"='1–1' AND "away_team"='tottenham hotspur'; | 2-15154539-5 |
Which Attendance has a Tie # of 15? | CREATE TABLE "fourth_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
); | SELECT "attendance" FROM "fourth_round" WHERE "tie_no"='15'; | 2-15154539-5 |
In what Year was the Position 11th? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT COUNT("year") FROM "achievements" WHERE "position"='11th'; | 2-14987413-1 |
What was the name of the Competition in Rome, Italy? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "competition" FROM "achievements" WHERE "venue"='rome, italy'; | 2-14987413-1 |
What Notes after 1983 have a Position of 18th? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "notes" FROM "achievements" WHERE "year">1983 AND "position"='18th'; | 2-14987413-1 |
After 1983, what was the Position in Seoul, South Korea? | CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"notes" text
); | SELECT "position" FROM "achievements" WHERE "year">1983 AND "venue"='seoul, south korea'; | 2-14987413-1 |
How many Gold medals for the country with a Rank of 1 and less than 2 Total medals? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "medal_table" WHERE "rank"='1' AND "total"<2; | 2-14305812-1 |
How many Gold medals does the country with 2 Silver and more than 2 Bronze have? | CREATE TABLE "medal_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT COUNT("gold") FROM "medal_table" WHERE "silver"=2 AND "bronze">2; | 2-14305812-1 |
What is the Age of dorothy Peel as of 1 February 2014 ? | CREATE TABLE "living_british_supercentenarians" (
"name" text,
"birth_date" text,
"age_as_of_1_february_2014" text,
"country_of_birth" text,
"place_of_residence" text
); | SELECT "age_as_of_1_february_2014" FROM "living_british_supercentenarians" WHERE "name"='dorothy peel'; | 2-14313979-1 |
Who is 111years, 358days Age as of 1 February 2014? | CREATE TABLE "living_british_supercentenarians" (
"name" text,
"birth_date" text,
"age_as_of_1_february_2014" text,
"country_of_birth" text,
"place_of_residence" text
); | SELECT "name" FROM "living_british_supercentenarians" WHERE "age_as_of_1_february_2014"='111years, 358days'; | 2-14313979-1 |
Which Capacity has a City of london, and a Stadium of queen's club? | CREATE TABLE "atp_tour_venues" (
"rank" text,
"stadium" text,
"capacity" real,
"city" text,
"country" text
); | SELECT AVG("capacity") FROM "atp_tour_venues" WHERE "city"='london' AND "stadium"='queen''s club'; | 2-14476860-1 |
Which Rank has a Name of thomas morgenstern, and Points larger than 368.9? | CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT AVG("rank") FROM "planica" WHERE "name"='thomas morgenstern' AND "points">368.9; | 2-14407512-27 |
Which Rank has an Overall WC points (Rank) of 1561 (2), and a 1st (m) larger than 217? | CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT AVG("rank") FROM "planica" WHERE "overall_wc_points_rank"='1561 (2)' AND "1st_m">217; | 2-14407512-27 |
How much Rank has a Name of janne happonen, and a 1st (m) larger than 203.5? | CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_wc_points_rank" text
); | SELECT COUNT("rank") FROM "planica" WHERE "name"='janne happonen' AND "1st_m">203.5; | 2-14407512-27 |
What is the lowest total for bronzes over 1, golds over 8, and fewer than 10 silvers? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("total") FROM "medal_table" WHERE "bronze">1 AND "gold">8 AND "silver"<10; | 2-1491582-1 |
What is the highest number of silvers for ranks over 7? | CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("silver") FROM "medal_table" WHERE "rank">7; | 2-1491582-1 |
Which location held a game against the Maryland Terrapins? | CREATE TABLE "fixtures" (
"date" text,
"location" text,
"opponent" text,
"score" text,
"competition" text
); | SELECT "location" FROM "fixtures" WHERE "opponent"='maryland terrapins'; | 2-13887424-4 |
Who was the opponent when the record recorded was 64-78? | CREATE TABLE "game_log" (
"date" text,
"time" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "record"='64-78'; | 2-14013236-9 |
When the record was 67-82, what was the final score recorded? | CREATE TABLE "game_log" (
"date" text,
"time" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "score" FROM "game_log" WHERE "record"='67-82'; | 2-14013236-9 |
Who was the opponent for the game played with 54,136 people in attendance? | CREATE TABLE "game_log" (
"date" text,
"time" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "attendance"='54,136'; | 2-14013236-9 |
Which position does bert coan play? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "player"='bert coan'; | 2-15122771-1 |
What is round 1's position? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "position" FROM "nfl_draft" WHERE "round"=1; | 2-15122771-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.