question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
W hat was the lowest Goals For when they played Team Goole Town and had a position lower than 9? | CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
); | SELECT MIN("goals_for") FROM "final_table" WHERE "team"='goole town' AND "position"<9; | 2-17367996-1 |
Which team has a position higher than 3, a Drawn lower than 12, and a Goals Against higher than 85? | CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
); | SELECT "team" FROM "final_table" WHERE "drawn"<12 AND "position">3 AND "goals_against">85; | 2-17367996-1 |
When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? | CREATE TABLE "final_table" (
"position" real,
"team" text,
"played" real,
"drawn" real,
"lost" real,
"goals_for" real,
"goals_against" real,
"goal_difference" text,
"points_1" real
); | SELECT COUNT("goals_against") FROM "final_table" WHERE "points_1"=44 AND "goals_for">65; | 2-17367996-1 |
What was the year when the diameter was 729 km? | CREATE TABLE "rupes" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real,
"name_origin" text
); | SELECT "year_named" FROM "rupes" WHERE "diameter_km"=729; | 2-16799784-3 |
What is the highest diameter when the latitude is 43.5s? | CREATE TABLE "rupes" (
"name" text,
"latitude" text,
"longitude" text,
"diameter_km" real,
"year_named" real,
"name_origin" text
); | SELECT MAX("diameter_km") FROM "rupes" WHERE "latitude"='43.5s'; | 2-16799784-3 |
On what Date was the Attendance 75,891? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "date" FROM "schedule" WHERE "attendance"='75,891'; | 2-16677845-2 |
What was the Week on September 5, 1993? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "week" FROM "schedule" WHERE "date"='september 5, 1993'; | 2-16677845-2 |
Who was the Opponent on October 31, 1993? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
); | SELECT "opponent" FROM "schedule" WHERE "date"='october 31, 1993'; | 2-16677845-2 |
what is the date for traction type electric with calgary location? | CREATE TABLE "list_of_street_railways_in_canada" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text
); | SELECT "date_from" FROM "list_of_street_railways_in_canada" WHERE "traction_type"='electric' AND "location"='calgary'; | 2-16927321-1 |
Which date has date started from 30 Sep 1913? | CREATE TABLE "list_of_street_railways_in_canada" (
"name_of_system" text,
"location" text,
"traction_type" text,
"date_from" text,
"date_to" text
); | SELECT "date_to" FROM "list_of_street_railways_in_canada" WHERE "date_from"='30 sep 1913'; | 2-16927321-1 |
What is the 1st leg of 2q round? | CREATE TABLE "dnepr_mogilev_in_europe" (
"season" text,
"competition" text,
"round" text,
"club" text,
"1st_leg" text
); | SELECT "1st_leg" FROM "dnepr_mogilev_in_europe" WHERE "round"='2q'; | 2-17140677-3 |
What competition has the club villareal? | CREATE TABLE "dnepr_mogilev_in_europe" (
"season" text,
"competition" text,
"round" text,
"club" text,
"1st_leg" text
); | SELECT "competition" FROM "dnepr_mogilev_in_europe" WHERE "club"='villareal'; | 2-17140677-3 |
Which competition has aik club? | CREATE TABLE "dnepr_mogilev_in_europe" (
"season" text,
"competition" text,
"round" text,
"club" text,
"1st_leg" text
); | SELECT "competition" FROM "dnepr_mogilev_in_europe" WHERE "club"='aik'; | 2-17140677-3 |
What is the round of club bečej? | CREATE TABLE "dnepr_mogilev_in_europe" (
"season" text,
"competition" text,
"round" text,
"club" text,
"1st_leg" text
); | SELECT "round" FROM "dnepr_mogilev_in_europe" WHERE "club"='bečej'; | 2-17140677-3 |
What is the 1st leg of the uefa intertoto cup competition with club silkeborg? | CREATE TABLE "dnepr_mogilev_in_europe" (
"season" text,
"competition" text,
"round" text,
"club" text,
"1st_leg" text
); | SELECT "1st_leg" FROM "dnepr_mogilev_in_europe" WHERE "competition"='uefa intertoto cup' AND "club"='silkeborg'; | 2-17140677-3 |
Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists? | 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_rebounds" FROM "game_log" WHERE "high_assists"='jason kidd (8)' AND "score"='w 105–95 (ot)'; | 2-17288869-8 |
Which team scored l 87–115 (ot)? | 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 "score"='l 87–115 (ot)'; | 2-17288869-8 |
What's the record of Game 56? | 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 "record" FROM "game_log" WHERE "game"=56; | 2-17288869-8 |
Who was the team that played at Energysolutions Arena 19,911? | 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 "location_attendance"='energysolutions arena 19,911'; | 2-17288869-8 |
Who had the high assists when the game was at American Airlines Center 20,223? | 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_assists" FROM "game_log" WHERE "location_attendance"='american airlines center 20,223'; | 2-17288869-8 |
What team has a Record of 50–28? | 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 "record"='50–28'; | 2-17058178-11 |
What was the date of game 75? | 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 "date" FROM "game_log" WHERE "game"=75; | 2-17058178-11 |
Which manufacturer was used after 1969 with a finish position of 34? | CREATE TABLE "daytona_500_results" (
"year" real,
"manufacturer" text,
"start" real,
"finish" real,
"team" text
); | SELECT "manufacturer" FROM "daytona_500_results" WHERE "year">1969 AND "finish"=34; | 2-1756739-3 |
What is the total attendance on April 25? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT COUNT("attendance") FROM "playoffs" WHERE "date"='april 25'; | 2-17511295-10 |
What is the decision of the game with an attendance greater than 19,883? | CREATE TABLE "playoffs" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"series" text
); | SELECT "decision" FROM "playoffs" WHERE "attendance">'19,883'; | 2-17511295-10 |
When the score was 76-73-67-69=285 what was the To par? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "to_par" FROM "final_leaderboard" WHERE "score"='76-73-67-69=285'; | 2-16514546-4 |
Which player has a To par of –6? | CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" real
); | SELECT "player" FROM "final_leaderboard" WHERE "to_par"='–6'; | 2-16514546-4 |
How much memory (RAM) does the Maemo 5 operating system have? | CREATE TABLE "models" (
"model" text,
"memory_ram" text,
"storage_flash" text,
"operating_system_version" text,
"memory_card" text,
"weight_dimensions" text,
"retail_availability" text
); | SELECT "memory_ram" FROM "models" WHERE "operating_system_version"='maemo 5'; | 2-17124425-1 |
Which operating system has a storage (flash) of 128MB? | CREATE TABLE "models" (
"model" text,
"memory_ram" text,
"storage_flash" text,
"operating_system_version" text,
"memory_card" text,
"weight_dimensions" text,
"retail_availability" text
); | SELECT "operating_system_version" FROM "models" WHERE "storage_flash"='128mb'; | 2-17124425-1 |
What is the weight and dimensions of an N800? | CREATE TABLE "models" (
"model" text,
"memory_ram" text,
"storage_flash" text,
"operating_system_version" text,
"memory_card" text,
"weight_dimensions" text,
"retail_availability" text
); | SELECT "weight_dimensions" FROM "models" WHERE "model"='n800'; | 2-17124425-1 |
Which operating system has 1GB (mobile ddr) memory (RAM)? | CREATE TABLE "models" (
"model" text,
"memory_ram" text,
"storage_flash" text,
"operating_system_version" text,
"memory_card" text,
"weight_dimensions" text,
"retail_availability" text
); | SELECT "operating_system_version" FROM "models" WHERE "memory_ram"='1gb (mobile ddr)'; | 2-17124425-1 |
What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT COUNT("pick") FROM "draft_picks" WHERE "round">1 AND "player"='jim stack'; | 2-17383465-1 |
What is the lowest Round, when College is "Washington State", and when Pick is less than 48? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT MIN("round") FROM "draft_picks" WHERE "college"='washington state' AND "pick"<48; | 2-17383465-1 |
What is College, when Round is greater than 1, and when Pick is greater than 163? | CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"college" text
); | SELECT "college" FROM "draft_picks" WHERE "round">1 AND "pick">163; | 2-17383465-1 |
What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "location_numsites_global_local" FROM "root_server_addresses" WHERE "software"='bind' AND "i_pv6_address"='2001:503:c27::2:30'; | 2-174370-1 |
Which IPv6 address had a location of distributed using anycast 8/0 and a letter of A? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "i_pv6_address" FROM "root_server_addresses" WHERE "location_numsites_global_local"='distributed using anycast 8/0' AND "letter"='a'; | 2-174370-1 |
Which IPv6 address has an operator of Wide project? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "i_pv6_address" FROM "root_server_addresses" WHERE "operator"='wide project'; | 2-174370-1 |
Which letter has an operator of VeriSign and an AS-number of AS26415? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "letter" FROM "root_server_addresses" WHERE "operator"='verisign' AND "as_number"='as26415'; | 2-174370-1 |
Which location has an AS-number of N/A? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "location_numsites_global_local" FROM "root_server_addresses" WHERE "as_number"='n/a'; | 2-174370-1 |
Which letter has an operator of the Defense Information Systems Agency? | CREATE TABLE "root_server_addresses" (
"letter" text,
"i_pv6_address" text,
"as_number" text,
"operator" text,
"location_numsites_global_local" text,
"software" text
); | SELECT "letter" FROM "root_server_addresses" WHERE "operator"='defense information systems agency'; | 2-174370-1 |
What is the sum of All-Time, when Amateur Era is less than 0? | CREATE TABLE "champions_by_country" (
"country" text,
"amateur_era" real,
"open_era" real,
"all_time" real,
"first_title" real,
"last_title" real
); | SELECT SUM("all_time") FROM "champions_by_country" WHERE "amateur_era"<0; | 2-1725413-5 |
What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2? | CREATE TABLE "champions_by_country" (
"country" text,
"amateur_era" real,
"open_era" real,
"all_time" real,
"first_title" real,
"last_title" real
); | SELECT MIN("all_time") FROM "champions_by_country" WHERE "first_title"<1974 AND "last_title"=1933 AND "amateur_era">2; | 2-1725413-5 |
What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0? | CREATE TABLE "champions_by_country" (
"country" text,
"amateur_era" real,
"open_era" real,
"all_time" real,
"first_title" real,
"last_title" real
); | SELECT MIN("all_time") FROM "champions_by_country" WHERE "first_title"=2007 AND "amateur_era">0; | 2-1725413-5 |
What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17? | CREATE TABLE "champions_by_country" (
"country" text,
"amateur_era" real,
"open_era" real,
"all_time" real,
"first_title" real,
"last_title" real
); | SELECT MIN("first_title") FROM "champions_by_country" WHERE "all_time">1 AND "country"='united states (usa)' AND "amateur_era">17; | 2-1725413-5 |
What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "place" FROM "third_round" WHERE "to_par"='+2' AND "score"='70-72-73=215'; | 2-16881908-6 |
From what Country is T6 Place Player Robert Karlsson? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "place"='t6' AND "player"='robert karlsson'; | 2-16881908-6 |
What is the To par of the T4 Place Player with a Score of 72-69-73=214? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "place"='t4' AND "score"='72-69-73=214'; | 2-16881908-6 |
What is the To par of the Player with a Score of 70-72-73=215? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "to_par" FROM "third_round" WHERE "score"='70-72-73=215'; | 2-16881908-6 |
What Country is Rocco Mediate from? | CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
); | SELECT "country" FROM "third_round" WHERE "player"='rocco mediate'; | 2-16881908-6 |
What is Mike Smith's To par? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "to_par" FROM "first_round" WHERE "player"='mike smith'; | 2-17162239-3 |
What is Scott Hoch with a Score of 66 Country? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "country" FROM "first_round" WHERE "score"=66 AND "player"='scott hoch'; | 2-17162239-3 |
What is the T4 Place Player with a Score of more than 66? | CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
); | SELECT "player" FROM "first_round" WHERE "score">66 AND "place"='t4'; | 2-17162239-3 |
What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "manner_of_departure"='mutual consent' AND "date_of_appointment"='2 november 2009'; | 2-17327264-3 |
What was the manner of departure for the vacancy date of 20 September 2009? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_vacancy"='20 september 2009'; | 2-17327264-3 |
What was the vacancy date of the manager appointed on 11 March 2010? | CREATE TABLE "managerial_changes" (
"team" text,
"outgoing_manager" text,
"manner_of_departure" text,
"date_of_vacancy" text,
"replaced_by" text,
"date_of_appointment" text,
"position_in_table" text
); | SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "date_of_appointment"='11 march 2010'; | 2-17327264-3 |
What is the lowest pick number where the overall pick number was 38? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT MIN("pick") FROM "washington_redskins_draft_history" WHERE "overall"=38; | 2-17100961-8 |
What was the position of the player who was picked in round 22? | CREATE TABLE "washington_redskins_draft_history" (
"round" real,
"pick" real,
"overall" real,
"name" text,
"position" text,
"college" text
); | SELECT "position" FROM "washington_redskins_draft_history" WHERE "round"=22; | 2-17100961-8 |
What was the call sign for ERP W of 99? | CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
); | SELECT "call_sign" FROM "translators" WHERE "erp_w"=99; | 2-16933860-1 |
What is the team 1 in the match with a team 2 of Karabakh? | CREATE TABLE "third_qualifying_round" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
); | SELECT "team_1" FROM "third_qualifying_round" WHERE "team_2"='karabakh'; | 2-16623894-9 |
What is the round of pick 63? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT "round" FROM "nfl_draft" WHERE "pick"=63; | 2-17383560-1 |
What is the lowest round of player chris burkett? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT MIN("round") FROM "nfl_draft" WHERE "player"='chris burkett'; | 2-17383560-1 |
What is the average pick of school/club team kutztown state with a round 4? | CREATE TABLE "nfl_draft" (
"round" real,
"pick" real,
"player" text,
"position" text,
"school_club_team" text
); | SELECT AVG("pick") FROM "nfl_draft" WHERE "round"=4 AND "school_club_team"='kutztown state'; | 2-17383560-1 |
What is the draw % with more than 110 matches, more than 59 draws, and a losing % of 18.5792%? | CREATE TABLE "statistics" (
"name" text,
"seasons" real,
"matches" real,
"win_pct" text,
"draw" real,
"draw_pct" text,
"lose" real,
"lose_pct" text
); | SELECT "draw_pct" FROM "statistics" WHERE "matches">110 AND "draw">59 AND "lose_pct"='18.5792%'; | 2-17160786-4 |
What is the average number of matches of leonardo in seasons after 1? | CREATE TABLE "statistics" (
"name" text,
"seasons" real,
"matches" real,
"win_pct" text,
"draw" real,
"draw_pct" text,
"lose" real,
"lose_pct" text
); | SELECT AVG("matches") FROM "statistics" WHERE "name"='leonardo' AND "seasons">1; | 2-17160786-4 |
What is the average membership with 3.33% LDS and less than 47 branches? | CREATE TABLE "table" (
"state" text,
"membership" real,
"population" real,
"pct_lds" text,
"wards" real,
"branches" real,
"total_congregations" real
); | SELECT AVG("membership") FROM "table" WHERE "pct_lds"='3.33%' AND "branches"<47; | 2-16785053-1 |
what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r? | CREATE TABLE "performance_timeline" (
"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 "2005" FROM "performance_timeline" WHERE "2003"='a' AND "2007"='2r' AND "2012"='3r'; | 2-1750635-12 |
what is 2004 when the tournament is paris masters? | CREATE TABLE "performance_timeline" (
"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 "2004" FROM "performance_timeline" WHERE "tournament"='paris masters'; | 2-1750635-12 |
what is 2009 when 2004 is 107? | CREATE TABLE "performance_timeline" (
"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 "2009" FROM "performance_timeline" WHERE "2004"='107'; | 2-1750635-12 |
what is 2003 when 2005 is did not qualify? | CREATE TABLE "performance_timeline" (
"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 "2003" FROM "performance_timeline" WHERE "2005"='did not qualify'; | 2-1750635-12 |
what is 2012 when the tournament is win %? | CREATE TABLE "performance_timeline" (
"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 "2012" FROM "performance_timeline" WHERE "tournament"='win %'; | 2-1750635-12 |
What was the record on February 2? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='february 2'; | 2-17342287-7 |
What was the location of the game on February 2? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "date"='february 2'; | 2-17342287-7 |
What year was Black Swan up for the Gotham Awards? | CREATE TABLE "accolades" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
); | SELECT COUNT("year") FROM "accolades" WHERE "title"='black swan' AND "award"='gotham awards'; | 2-173294-2 |
What is the earliest year in which Requiem for a Dream was in the running for Best Director? | CREATE TABLE "accolades" (
"year" real,
"award" text,
"category" text,
"title" text,
"result" text
); | SELECT MIN("year") FROM "accolades" WHERE "title"='requiem for a dream' AND "category"='best director'; | 2-173294-2 |
Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "location"='fleetcenter' AND "date"='fri. apr. 5'; | 2-17622423-9 |
Can you tell me the Record that has the Game smaller than 76? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game"<76; | 2-17622423-9 |
Can you tell me the highest Game that has the Opponent of atlanta hawks? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT MAX("game") FROM "game_log" WHERE "opponent"='atlanta hawks'; | 2-17622423-9 |
Can you tell me the Game that has the Opponent of miami heat? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "game" FROM "game_log" WHERE "opponent"='miami heat'; | 2-17622423-9 |
Can you tell me the Record that has the Score of 100-105? | CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "score"='100-105'; | 2-17622423-9 |
Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "opponent" FROM "game_log" WHERE "location_attendance"='delta center/19,911' AND "date"='dec 6'; | 2-17382296-4 |
What is the Record for Game 17? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "game"='17'; | 2-17382296-4 |
What is the Location/Attendance on Dec 14? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "date"='dec 14'; | 2-17382296-4 |
Which Record is dated Dec 10? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "record" FROM "game_log" WHERE "date"='dec 10'; | 2-17382296-4 |
What was the Location/Attendance on Dec 2? | CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
); | SELECT "location_attendance" FROM "game_log" WHERE "date"='dec 2'; | 2-17382296-4 |
Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "rider" FROM "superbike_race_1_classification" WHERE "bike"='honda cbr1000rr' AND "laps"<22 AND "time"='+2 laps'; | 2-17004028-1 |
What is the highest grid when the time is +45.162? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "superbike_race_1_classification" WHERE "time"='+45.162'; | 2-17004028-1 |
What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("grid") FROM "superbike_race_1_classification" WHERE "bike"='suzuki gsx-r1000' AND "rider"='fonsi nieto'; | 2-17004028-1 |
How many grids did Shinichi Nakatomi ride in? | CREATE TABLE "superbike_race_1_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT SUM("grid") FROM "superbike_race_1_classification" WHERE "rider"='shinichi nakatomi'; | 2-17004028-1 |
How many tries against have a losing bonus of 9? | CREATE TABLE "2009_10_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_against" FROM "2009_10_table" WHERE "losing_bonus"='9'; | 2-17369472-1 |
How many points were there for 15 losses? | CREATE TABLE "2009_10_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_for" FROM "2009_10_table" WHERE "lost"='15'; | 2-17369472-1 |
For which play was the points 271? | CREATE TABLE "2009_10_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "played" FROM "2009_10_table" WHERE "points_against"='271'; | 2-17369472-1 |
How many points were there when the try bonus was 2? | CREATE TABLE "2009_10_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points" FROM "2009_10_table" WHERE "try_bonus"='2'; | 2-17369472-1 |
Which 2007–08 season has a Club of genoa c.f.c.? | CREATE TABLE "teams" (
"club" text,
"city" text,
"stadium" text,
"capacity" real,
"2007_08_season" text
); | SELECT "2007_08_season" FROM "teams" WHERE "club"='genoa c.f.c.'; | 2-17043360-1 |
Which City has a Stadium of stadio artemio franchi, florence? | CREATE TABLE "teams" (
"club" text,
"city" text,
"stadium" text,
"capacity" real,
"2007_08_season" text
); | SELECT "city" FROM "teams" WHERE "stadium"='stadio artemio franchi, florence'; | 2-17043360-1 |
What is the description when the reserve is Half Moon Caye? | CREATE TABLE "list_of_natural_monuments" (
"reserve" text,
"district" text,
"iucn" text,
"co_management" text,
"est" real,
"description" text
); | SELECT "description" FROM "list_of_natural_monuments" WHERE "reserve"='half moon caye'; | 2-17625231-2 |
Which district has an IUCN of iii and was established in 1998? | CREATE TABLE "list_of_natural_monuments" (
"reserve" text,
"district" text,
"iucn" text,
"co_management" text,
"est" real,
"description" text
); | SELECT "district" FROM "list_of_natural_monuments" WHERE "iucn"='iii' AND "est"=1998; | 2-17625231-2 |
What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal? | CREATE TABLE "list_of_natural_monuments" (
"reserve" text,
"district" text,
"iucn" text,
"co_management" text,
"est" real,
"description" text
); | SELECT "iucn" FROM "list_of_natural_monuments" WHERE "district"='cayo' AND "reserve"='actun tunichil muknal'; | 2-17625231-2 |
What is the sum of value for average finish with poles less 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 SUM("avg_finish") FROM "nascar_nationwide_series" WHERE "poles"<0; | 2-1671401-2 |
What is the average start with wins larger than 0 and 32nd position? | 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("starts") FROM "nascar_nationwide_series" WHERE "wins">0 AND "position"='32nd'; | 2-1671401-2 |
What is the average SFC in lb/(lbf·h) for engines with an Effective exhaust velocity (m/s) larger than 29,553, and a SFC in g/(kN·s) of 17.1? | CREATE TABLE "specific_fuel_consumption_sfc_specific_i" (
"engine_type" text,
"scenario" text,
"sfc_in_lb_lbf_h" real,
"sfc_in_g_k_n_s" real,
"specific_impulse_s" real,
"effective_exhaust_velocity_m_s" real
); | SELECT AVG("sfc_in_lb_lbf_h") FROM "specific_fuel_consumption_sfc_specific_i" WHERE "effective_exhaust_velocity_m_s">'29,553' AND "sfc_in_g_k_n_s"=17.1; | 2-172348-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.