question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which Notes have a Distance larger than 7, and a Location of aplin? | CREATE TABLE "major_intersections" (
"county" text,
"location" text,
"distance" real,
"total" real,
"notes" text
); | SELECT "notes" FROM "major_intersections" WHERE "distance">7 AND "location"='aplin'; | 2-18506777-1 |
How much Distance has a County of faulkner, and a Total smaller than 1.5? | CREATE TABLE "major_intersections" (
"county" text,
"location" text,
"distance" real,
"total" real,
"notes" text
); | SELECT SUM("distance") FROM "major_intersections" WHERE "county"='faulkner' AND "total"<1.5; | 2-18506777-1 |
How much Distance has Notes of north end terminus of ar 155? | CREATE TABLE "major_intersections" (
"county" text,
"location" text,
"distance" real,
"total" real,
"notes" text
); | SELECT SUM("distance") FROM "major_intersections" WHERE "notes"='north end terminus of ar 155'; | 2-18506777-1 |
How much Latitude has a Water (sqmi) smaller than 0? | CREATE TABLE "y" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
); | SELECT COUNT("latitude") FROM "y" WHERE "water_sqmi"<0; | 2-18600760-24 |
Which Land (sqmi) has a GEO ID smaller than 3800587900? | CREATE TABLE "y" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
); | SELECT MIN("land_sqmi") FROM "y" WHERE "geo_id"<3800587900; | 2-18600760-24 |
Which Water (sqmi) has a Township of yorktown, and a GEO ID smaller than 3802187940? | CREATE TABLE "y" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
); | SELECT MIN("water_sqmi") FROM "y" WHERE "township"='yorktown' AND "geo_id"<3802187940; | 2-18600760-24 |
What school had Jeff Urban playing at the p position? | CREATE TABLE "supplemental_first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
); | SELECT "school" FROM "supplemental_first_round_selections" WHERE "position"='p' AND "player"='jeff urban'; | 2-18468611-2 |
What school has the Kansas City Royals for a team? | CREATE TABLE "supplemental_first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
); | SELECT "school" FROM "supplemental_first_round_selections" WHERE "team"='kansas city royals'; | 2-18468611-2 |
What is the date of the match where vampiro was the winner in Mexico City? | CREATE TABLE "luchas_de_apuestas_record" (
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
); | SELECT "date" FROM "luchas_de_apuestas_record" WHERE "location"='mexico city' AND "winner"='vampiro'; | 2-1848273-1 |
What is the wager on August 23, 1992 where vampiro was the winner? | CREATE TABLE "luchas_de_apuestas_record" (
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
); | SELECT "wager" FROM "luchas_de_apuestas_record" WHERE "winner"='vampiro' AND "date"='august 23, 1992'; | 2-1848273-1 |
What is the location where shocker was the winner? | CREATE TABLE "luchas_de_apuestas_record" (
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
); | SELECT "location" FROM "luchas_de_apuestas_record" WHERE "winner"='shocker'; | 2-1848273-1 |
What is the location where aaron grundy was the loser? | CREATE TABLE "luchas_de_apuestas_record" (
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
); | SELECT "location" FROM "luchas_de_apuestas_record" WHERE "loser"='aaron grundy'; | 2-1848273-1 |
What is the 1994 when QF is 1999? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1994" FROM "singles_performance_timeline" WHERE "1999"='qf'; | 2-1849753-5 |
What is the 1991 when 1997 is 18? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1991" FROM "singles_performance_timeline" WHERE "1997"='18'; | 2-1849753-5 |
What's the 1991 when 1999 is 14? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1991" FROM "singles_performance_timeline" WHERE "1999"='14'; | 2-1849753-5 |
What's the 1996 when 1997 is 3R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1996" FROM "singles_performance_timeline" WHERE "1997"='3r'; | 2-1849753-5 |
What is 1994 when 1996 is 3R? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1994" FROM "singles_performance_timeline" WHERE "1996"='3r'; | 2-1849753-5 |
What is 1996 during the US Open? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2000" text,
"1999" text,
"1998" text,
"1997" text,
"1996" text,
"1995" text,
"1994" text,
"1993" text,
"1992" text,
"1991" text
); | SELECT "1996" FROM "singles_performance_timeline" WHERE "tournament"='us open'; | 2-1849753-5 |
What's the standard name with an ADSL2 version and a 01.5 1.5 mbit/s downstream rate? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "standard_name" FROM "adsl_standards" WHERE "version"='adsl2' AND "downstream_rate"='01.5 1.5 mbit/s'; | 2-18934536-1 |
What's the downstream rate for the Itu g.992.2 having a version of ADSL? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "downstream_rate" FROM "adsl_standards" WHERE "version"='adsl' AND "standard_name"='itu g.992.2'; | 2-18934536-1 |
What's the version of Itu g.992.3 Annex J? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "version" FROM "adsl_standards" WHERE "standard_name"='itu g.992.3 annex j'; | 2-18934536-1 |
What's the version that has a 20.0 mbit/s downstream rate? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "version" FROM "adsl_standards" WHERE "downstream_rate"='20.0 mbit/s'; | 2-18934536-1 |
What's the standard name that has a common name of ADSL Over Pots and ADSL version? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "standard_name" FROM "adsl_standards" WHERE "version"='adsl' AND "common_name"='adsl over pots'; | 2-18934536-1 |
What's the upstream rate for Itu g.992.2 with a version of ADSL? | CREATE TABLE "adsl_standards" (
"version" text,
"standard_name" text,
"common_name" text,
"downstream_rate" text,
"upstream_rate" text
); | SELECT "upstream_rate" FROM "adsl_standards" WHERE "version"='adsl' AND "standard_name"='itu g.992.2'; | 2-18934536-1 |
How many games does the player with 1 (0) finals and a w-league of 28 (1) have? | CREATE TABLE "w_league_records" (
"name" text,
"games" text,
"w_league" text,
"finals" text,
"goals" real,
"years" text
); | SELECT "games" FROM "w_league_records" WHERE "finals"='1 (0)' AND "w_league"='28 (1)'; | 2-18639024-14 |
What year had more than 2 goals and 11 (2) games? | CREATE TABLE "w_league_records" (
"name" text,
"games" text,
"w_league" text,
"finals" text,
"goals" real,
"years" text
); | SELECT "years" FROM "w_league_records" WHERE "goals">2 AND "games"='11 (2)'; | 2-18639024-14 |
What is the lowest number of goals with 8 (2) w-leagues? | CREATE TABLE "w_league_records" (
"name" text,
"games" text,
"w_league" text,
"finals" text,
"goals" real,
"years" text
); | SELECT MIN("goals") FROM "w_league_records" WHERE "w_league"='8 (2)'; | 2-18639024-14 |
Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? | CREATE TABLE "goal_scorers" (
"name" text,
"la_liga" real,
"copa_del_rey" real,
"uefa_champions_league" real,
"fifa_club_world_championship" real,
"total" real
); | SELECT MIN("uefa_champions_league") FROM "goal_scorers" WHERE "la_liga"=17 AND "copa_del_rey">0; | 2-18515909-11 |
Which Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? | CREATE TABLE "goal_scorers" (
"name" text,
"la_liga" real,
"copa_del_rey" real,
"uefa_champions_league" real,
"fifa_club_world_championship" real,
"total" real
); | SELECT SUM("copa_del_rey") FROM "goal_scorers" WHERE "name"='guti' AND "fifa_club_world_championship"<0; | 2-18515909-11 |
Which Copa del Rey has a La Liga smaller than 0? | CREATE TABLE "goal_scorers" (
"name" text,
"la_liga" real,
"copa_del_rey" real,
"uefa_champions_league" real,
"fifa_club_world_championship" real,
"total" real
); | SELECT SUM("copa_del_rey") FROM "goal_scorers" WHERE "la_liga"<0; | 2-18515909-11 |
Which FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi? | CREATE TABLE "goal_scorers" (
"name" text,
"la_liga" real,
"copa_del_rey" real,
"uefa_champions_league" real,
"fifa_club_world_championship" real,
"total" real
); | SELECT MIN("fifa_club_world_championship") FROM "goal_scorers" WHERE "uefa_champions_league"=0 AND "total"<3 AND "name"='geremi'; | 2-18515909-11 |
What is the average rank for Hungary? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT AVG("rank") FROM "heat_2" WHERE "country"='hungary'; | 2-18646525-4 |
What country has a time of 3:19.167? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "country" FROM "heat_2" WHERE "time"='3:19.167'; | 2-18646525-4 |
What are the notes for the time at 3:19.167? | CREATE TABLE "heat_2" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
); | SELECT "notes" FROM "heat_2" WHERE "time"='3:19.167'; | 2-18646525-4 |
What was the album Closer: The Best of Sarah Mclachlan certified as? | CREATE TABLE "top_10_albums" (
"rank" real,
"artist" text,
"album" text,
"peak_position" text,
"sales" real,
"certification" text
); | SELECT "certification" FROM "top_10_albums" WHERE "album"='closer: the best of sarah mclachlan'; | 2-18382316-1 |
What is the average Laps that have gregorio lavilla as the rider, with a grid greater than 13? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT AVG("laps") FROM "superbike_race_2_classification" WHERE "rider"='gregorio lavilla' AND "grid">13; | 2-18699515-2 |
What bike has 26 as the grid? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT "bike" FROM "superbike_race_2_classification" WHERE "grid"=26; | 2-18699515-2 |
What is the highest grid that has +44.866 as the time, with laps greater than 25? | CREATE TABLE "superbike_race_2_classification" (
"rider" text,
"bike" text,
"laps" real,
"time" text,
"grid" real
); | SELECT MAX("grid") FROM "superbike_race_2_classification" WHERE "time"='+44.866' AND "laps">25; | 2-18699515-2 |
who has the high points on june 16? | CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
); | SELECT "high_points" FROM "regular_season" WHERE "date"='june 16'; | 2-18894744-5 |
What was the attendance on november 2, 2003? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" text
); | SELECT "attendance" FROM "schedule" WHERE "date"='november 2, 2003'; | 2-18817109-1 |
What is the 1.93 that is 2.05 in height? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"1_85" text,
"1_93" text,
"height" real
); | SELECT "1_93" FROM "final" WHERE "height"=2.05; | 2-18578964-3 |
What is the 1.93 for Svetlana Shkolina? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"1_85" text,
"1_93" text,
"height" real
); | SELECT "1_93" FROM "final" WHERE "name"='svetlana shkolina'; | 2-18578964-3 |
What is the name for the play from the Ukraine, and a 1.93 xxo? | CREATE TABLE "final" (
"name" text,
"nationality" text,
"1_85" text,
"1_93" text,
"height" real
); | SELECT "name" FROM "final" WHERE "nationality"='ukraine' AND "1_93"='xxo'; | 2-18578964-3 |
What country in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals? | CREATE TABLE "since_1963" (
"season" text,
"division" text,
"rank" text,
"avg_att" text,
"europe" text,
"top_goalscorer" text,
"goals" real
); | SELECT "europe" FROM "since_1963" WHERE "rank"='4' AND "top_goalscorer"='karl-heinz rummenigge' AND "goals"=14; | 2-18608338-4 |
Wha is the rank for 52 574 avg. att? | CREATE TABLE "since_1963" (
"season" text,
"division" text,
"rank" text,
"avg_att" text,
"europe" text,
"top_goalscorer" text,
"goals" real
); | SELECT "rank" FROM "since_1963" WHERE "avg_att"='52 574'; | 2-18608338-4 |
What european country had more than 14 goals, and 52 538 avg att? | CREATE TABLE "since_1963" (
"season" text,
"division" text,
"rank" text,
"avg_att" text,
"europe" text,
"top_goalscorer" text,
"goals" real
); | SELECT "europe" FROM "since_1963" WHERE "goals">14 AND "avg_att"='52 538'; | 2-18608338-4 |
What's the least amount of wins for Germany in the 1999 season having 0 points? | CREATE TABLE "by_name" (
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" text
); | SELECT MIN("wins") FROM "by_name" WHERE "points"='0' AND "country"='germany' AND "seasons"='1999'; | 2-19001175-1 |
How many wins when the points are 0 and podiums are less than 0? | CREATE TABLE "by_name" (
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" text
); | SELECT SUM("wins") FROM "by_name" WHERE "points"='0' AND "podiums"<0; | 2-19001175-1 |
What's the fastest laps during the 1995 season having poles & podiums at 0? | CREATE TABLE "by_name" (
"country" text,
"seasons" text,
"championship_titles" text,
"race_entries_starts" text,
"poles" real,
"wins" real,
"podiums" real,
"fastest_laps" real,
"points" text
); | SELECT SUM("fastest_laps") FROM "by_name" WHERE "poles"=0 AND "podiums"=0 AND "seasons"='1995'; | 2-19001175-1 |
How many years have an Award of venice film festival, and a Title of lust, caution? | CREATE TABLE "awards_and_nominations_received_by_ang_l" (
"award" text,
"category" text,
"year" real,
"title" text,
"result" text
); | SELECT COUNT("year") FROM "awards_and_nominations_received_by_ang_l" WHERE "award"='venice film festival' AND "title"='lust, caution'; | 2-18949253-4 |
Which Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award? | CREATE TABLE "awards_and_nominations_received_by_ang_l" (
"award" text,
"category" text,
"year" real,
"title" text,
"result" text
); | SELECT "category" FROM "awards_and_nominations_received_by_ang_l" WHERE "year">1996 AND "result"='won' AND "title"='brokeback mountain' AND "award"='golden globe award'; | 2-18949253-4 |
Which Title has a Year smaller than 2001, and an Award of independent spirit awards? | CREATE TABLE "awards_and_nominations_received_by_ang_l" (
"award" text,
"category" text,
"year" real,
"title" text,
"result" text
); | SELECT "title" FROM "awards_and_nominations_received_by_ang_l" WHERE "year"<2001 AND "award"='independent spirit awards'; | 2-18949253-4 |
Which chassis has 17 points? | CREATE TABLE "complete_formula_one_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
); | SELECT "chassis" FROM "complete_formula_one_results" WHERE "points"=17; | 2-1841727-5 |
What is the average draw for 186 games? | CREATE TABLE "all_time_table" (
"league" text,
"number_of_seasons" real,
"total_games" real,
"draw" real,
"loss" real
); | SELECT AVG("draw") FROM "all_time_table" WHERE "total_games"=186; | 2-18506027-1 |
What is the number of games for less than 2 seasons and more than 7 draws? | CREATE TABLE "all_time_table" (
"league" text,
"number_of_seasons" real,
"total_games" real,
"draw" real,
"loss" real
); | SELECT SUM("total_games") FROM "all_time_table" WHERE "number_of_seasons"<2 AND "draw">7; | 2-18506027-1 |
What is the total number of losses for less than 48 games, and less than 7 draws? | CREATE TABLE "all_time_table" (
"league" text,
"number_of_seasons" real,
"total_games" real,
"draw" real,
"loss" real
); | SELECT COUNT("loss") FROM "all_time_table" WHERE "total_games"<48 AND "draw"<7; | 2-18506027-1 |
What is the total number of games with more than 18 loses, a Total League, and more than 317 draws? | CREATE TABLE "all_time_table" (
"league" text,
"number_of_seasons" real,
"total_games" real,
"draw" real,
"loss" real
); | SELECT COUNT("total_games") FROM "all_time_table" WHERE "loss">18 AND "league"='total' AND "draw">317; | 2-18506027-1 |
What is Bobby Ryan's nationality? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
); | SELECT "nationality" FROM "draft_picks" WHERE "player"='bobby ryan'; | 2-18987966-27 |
What's the location of the team Peter Stuyvesant International Racing? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "city_state" FROM "race_calendar" WHERE "team"='peter stuyvesant international racing'; | 2-18928120-2 |
Who was the winner of the Adelaide International Raceway circuit? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "winner" FROM "race_calendar" WHERE "circuit"='adelaide international raceway'; | 2-18928120-2 |
What date has the Surfers Paradise International Raceway circuit? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "date" FROM "race_calendar" WHERE "circuit"='surfers paradise international raceway'; | 2-18928120-2 |
What is the race title of Dick Johnson Racing? | CREATE TABLE "race_calendar" (
"race_title" text,
"circuit" text,
"city_state" text,
"date" text,
"winner" text,
"team" text
); | SELECT "race_title" FROM "race_calendar" WHERE "team"='dick johnson racing'; | 2-18928120-2 |
What is the career win-loss for the ATP Masters Series? | CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"career_sr" text,
"career_win_loss" text
); | SELECT "career_win_loss" FROM "doubles_performance_timeline" WHERE "1995"='atp masters series'; | 2-1869714-5 |
What's the least 180's of John Part having a LWAT less than 28 with 100+ less than 180? | CREATE TABLE "table" (
"name" text,
"lwat" real,
"100" real,
"140" real,
"180s" real
); | SELECT MIN("180s") FROM "table" WHERE "lwat"<28 AND "name"='john part' AND "100"<180; | 2-18968744-17 |
What's the LWAT having more than 43 for 180s, 194 for 100+, and more than 128 for 140+? | CREATE TABLE "table" (
"name" text,
"lwat" real,
"100" real,
"140" real,
"180s" real
); | SELECT AVG("lwat") FROM "table" WHERE "180s">43 AND "100"=194 AND "140">128; | 2-18968744-17 |
What's the total 140+ when the 100+ is 173? | CREATE TABLE "table" (
"name" text,
"lwat" real,
"100" real,
"140" real,
"180s" real
); | SELECT COUNT("140") FROM "table" WHERE "100"=173; | 2-18968744-17 |
What's the 100+ when the 140+ is less than 128 and the LWAT of 29? | CREATE TABLE "table" (
"name" text,
"lwat" real,
"100" real,
"140" real,
"180s" real
); | SELECT SUM("100") FROM "table" WHERE "lwat"=29 AND "140"<128; | 2-18968744-17 |
What's the Home ground(s) listed for the Name Melville Cricket Club? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "home_ground_s" FROM "current_clubs" WHERE "name"='melville cricket club'; | 2-18752986-1 |
What Name has the Captain Aaron Heal? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "name" FROM "current_clubs" WHERE "captain"='aaron heal'; | 2-18752986-1 |
What's the Nickname listed for the Name of University Cricket Club? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "nickname" FROM "current_clubs" WHERE "name"='university cricket club'; | 2-18752986-1 |
What Nickname has a Location of Southern River? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "nickname" FROM "current_clubs" WHERE "location"='southern river'; | 2-18752986-1 |
What is the Name listed for the Nickname of Storm? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "name" FROM "current_clubs" WHERE "nickname"='storm'; | 2-18752986-1 |
What Name has the Location of Bayswater? | CREATE TABLE "current_clubs" (
"name" text,
"nickname" text,
"location" text,
"home_ground_s" text,
"coach" text,
"captain" text
); | SELECT "name" FROM "current_clubs" WHERE "location"='bayswater'; | 2-18752986-1 |
How many years have a Form album of the thing? | CREATE TABLE "singles_as" (
"year" real,
"title" text,
"from_album" text,
"label" text,
"label_nr" text
); | SELECT SUM("year") FROM "singles_as" WHERE "from_album"='the thing'; | 2-1892579-8 |
Which Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul? | CREATE TABLE "singles_as" (
"year" real,
"title" text,
"from_album" text,
"label" text,
"label_nr" text
); | SELECT "label_nr" FROM "singles_as" WHERE "year"<1968 AND "label"='world pacific' AND "from_album"='chile con soul'; | 2-1892579-8 |
Which Year has a Label-Nr of 88146? | CREATE TABLE "singles_as" (
"year" real,
"title" text,
"from_album" text,
"label" text,
"label_nr" text
); | SELECT "year" FROM "singles_as" WHERE "label_nr"='88146'; | 2-1892579-8 |
How many years were there albums by heat wave? | CREATE TABLE "singles_as" (
"year" real,
"title" text,
"from_album" text,
"label" text,
"label_nr" text
); | SELECT SUM("year") FROM "singles_as" WHERE "from_album"='heat wave'; | 2-1892579-8 |
Which Title has an album of tough talk, and a Label-Nr of x-371? | CREATE TABLE "singles_as" (
"year" real,
"title" text,
"from_album" text,
"label" text,
"label_nr" text
); | SELECT "title" FROM "singles_as" WHERE "from_album"='tough talk' AND "label_nr"='x-371'; | 2-1892579-8 |
What is the lowest number of floors for the number 2 ranked Joyus Housing? | CREATE TABLE "approved_proposed" (
"rank" real,
"name" text,
"status" text,
"city" text,
"floors" real
); | SELECT MIN("floors") FROM "approved_proposed" WHERE "name"='joyus housing' AND "rank"<2; | 2-18671813-5 |
What is the number of floors when the r Rank larger than 41, and a City of parel? | CREATE TABLE "approved_proposed" (
"rank" real,
"name" text,
"status" text,
"city" text,
"floors" real
); | SELECT "floors" FROM "approved_proposed" WHERE "rank">41 AND "city"='parel'; | 2-18671813-5 |
What is the rank for the city of sewri? | CREATE TABLE "approved_proposed" (
"rank" real,
"name" text,
"status" text,
"city" text,
"floors" real
); | SELECT COUNT("rank") FROM "approved_proposed" WHERE "city"='sewri'; | 2-18671813-5 |
What rank has a status of proposed, with 80 floors for Celestia Spaces 4? | CREATE TABLE "approved_proposed" (
"rank" real,
"name" text,
"status" text,
"city" text,
"floors" real
); | SELECT AVG("rank") FROM "approved_proposed" WHERE "status"='proposed' AND "floors"=80 AND "name"='celestia spaces 4'; | 2-18671813-5 |
What's the English Pluperfect when the Bulgarian is бяха чули? | CREATE TABLE "table_of_forms" (
"english" text,
"german" text,
"dutch" text,
"latin" text,
"romanian" text,
"portuguese" text,
"spanish" text,
"italian" text,
"french" text,
"greek_modern" text,
"bulgarian" text,
"macedonian" text,
"polish_extinct" text
); | SELECT "english" FROM "table_of_forms" WHERE "bulgarian"='бяха чули'; | 2-1841901-1 |
What's the Italian Pluperfect when the English is We Had Heard? | CREATE TABLE "table_of_forms" (
"english" text,
"german" text,
"dutch" text,
"latin" text,
"romanian" text,
"portuguese" text,
"spanish" text,
"italian" text,
"french" text,
"greek_modern" text,
"bulgarian" text,
"macedonian" text,
"polish_extinct" text
); | SELECT "italian" FROM "table_of_forms" WHERE "english"='we had heard'; | 2-1841901-1 |
What is the Portuguese Pluperfect when the French is Ils/Elles Avaient Entendu? | CREATE TABLE "table_of_forms" (
"english" text,
"german" text,
"dutch" text,
"latin" text,
"romanian" text,
"portuguese" text,
"spanish" text,
"italian" text,
"french" text,
"greek_modern" text,
"bulgarian" text,
"macedonian" text,
"polish_extinct" text
); | SELECT "portuguese" FROM "table_of_forms" WHERE "french"='ils/elles avaient entendu'; | 2-1841901-1 |
What's the German Pluperfect when the Macedonian is беше слушнал/-а/-о? | CREATE TABLE "table_of_forms" (
"english" text,
"german" text,
"dutch" text,
"latin" text,
"romanian" text,
"portuguese" text,
"spanish" text,
"italian" text,
"french" text,
"greek_modern" text,
"bulgarian" text,
"macedonian" text,
"polish_extinct" text
); | SELECT "german" FROM "table_of_forms" WHERE "macedonian"='беше слушнал/-а/-о'; | 2-1841901-1 |
What is the least amount of silver for Italy with a total less than 5? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MIN("silver") FROM "medals_table" WHERE "nation"='italy' AND "total"<5; | 2-18771460-7 |
What is the total for Austria when there is less than 1 bronze? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT AVG("total") FROM "medals_table" WHERE "nation"='austria' AND "bronze"<1; | 2-18771460-7 |
What is the total when silver is more than 3, and rank is 2? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT MAX("total") FROM "medals_table" WHERE "silver">3 AND "rank"='2'; | 2-18771460-7 |
What is the gold number when total is more than 1, and bronze is 0, and rank is 5? | CREATE TABLE "medals_table" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
); | SELECT SUM("gold") FROM "medals_table" WHERE "total">1 AND "bronze"=0 AND "rank"='5'; | 2-18771460-7 |
What date was the episode that aired at 7:30 pm ET? | CREATE TABLE "road_to_redemption_presented_by_nike" (
"episode" text,
"date" text,
"time" text,
"network" text,
"length" text
); | SELECT "date" FROM "road_to_redemption_presented_by_nike" WHERE "time"='7:30 pm et'; | 2-18491185-1 |
What date did episode one air on? | CREATE TABLE "road_to_redemption_presented_by_nike" (
"episode" text,
"date" text,
"time" text,
"network" text,
"length" text
); | SELECT "date" FROM "road_to_redemption_presented_by_nike" WHERE "episode"='one'; | 2-18491185-1 |
At what venue was the 2010 FIFA World Cup Qualification? | CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "competition"='2010 fifa world cup qualification'; | 2-18696913-1 |
What's the snatch when the 139kg was 305kg and the Olympic Record was the world record? | CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"mu_shuangshuang_chn" text,
"139kg" text,
"doha_qatar" text
); | SELECT "snatch" FROM "records" WHERE "world_record"='olympic record' AND "139kg"='305kg'; | 2-18589058-2 |
What is the discipline for the summer Olympics in 2008? | CREATE TABLE "major_tournaments" (
"year" real,
"tournament" text,
"venue" text,
"discipline" text,
"result" text,
"extra" text
); | SELECT "discipline" FROM "major_tournaments" WHERE "tournament"='summer olympics' AND "year"=2008; | 2-18932480-1 |
What venue has an extra of 45.08 S? | CREATE TABLE "major_tournaments" (
"year" real,
"tournament" text,
"venue" text,
"discipline" text,
"result" text,
"extra" text
); | SELECT "venue" FROM "major_tournaments" WHERE "extra"='45.08 s'; | 2-18932480-1 |
What is the extra when the result is 4th at the NCAA Championships? | CREATE TABLE "major_tournaments" (
"year" real,
"tournament" text,
"venue" text,
"discipline" text,
"result" text,
"extra" text
); | SELECT "extra" FROM "major_tournaments" WHERE "result"='4th' AND "tournament"='ncaa championships'; | 2-18932480-1 |
What tournament had an extra of 3:06.94 s? | CREATE TABLE "major_tournaments" (
"year" real,
"tournament" text,
"venue" text,
"discipline" text,
"result" text,
"extra" text
); | SELECT "tournament" FROM "major_tournaments" WHERE "extra"='3:06.94 s'; | 2-18932480-1 |
Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1? | CREATE TABLE "heat_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT MIN("time") FROM "heat_2" WHERE "nationality"='jamaica' AND "lane">4 AND "rank"<1; | 2-18912925-16 |
Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06? | CREATE TABLE "heat_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" real
); | SELECT MIN("rank") FROM "heat_2" WHERE "lane"=5 AND "time"<11.06; | 2-18912925-16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.