question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
Which state has a GNIS Feature ID larger than 624634, and a USGS 7.5 Map of temple peak? | CREATE TABLE "united_states" (
"name" text,
"gnis_feature_id" real,
"state" text,
"county" text,
"type" text,
"usgs_7_5_map" text
); | SELECT "state" FROM "united_states" WHERE "gnis_feature_id">624634 AND "usgs_7_5_map"='temple peak'; | 2-11798745-1 |
Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127? | CREATE TABLE "united_states" (
"name" text,
"gnis_feature_id" real,
"state" text,
"county" text,
"type" text,
"usgs_7_5_map" text
); | SELECT "state" FROM "united_states" WHERE "name"='diamond lake' AND "gnis_feature_id"=1579127; | 2-11798745-1 |
Who directed the episode written cyrus nowrasteh? | CREATE TABLE "season_1_1997" (
"episode_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text
); | SELECT "directed_by" FROM "season_1_1997" WHERE "written_by"='cyrus nowrasteh'; | 2-10910712-1 |
What is the Rank (Pakistan) of the mountain that has a World Rank smaller than 11 and a Height smaller than 8126? | CREATE TABLE "8000_meters" (
"world_rank" real,
"rank_pakistan" real,
"name" text,
"height_m" real,
"location" text
); | SELECT COUNT("rank_pakistan") FROM "8000_meters" WHERE "world_rank"<11 AND "height_m"<8126; | 2-1197311-1 |
Which 2006 tournament had a 4R performance in 2001? | CREATE TABLE "major_tournament_singles_performance_tim" (
"tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"career_sr" text
); | SELECT "2006" FROM "major_tournament_singles_performance_tim" WHERE "2001"='4r'; | 2-1181703-3 |
Which tournament had a performance of 1R in 2004 and 2R in 1998? | CREATE TABLE "major_tournament_singles_performance_tim" (
"tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"career_sr" text
); | SELECT "tournament" FROM "major_tournament_singles_performance_tim" WHERE "2004"='1r' AND "1998"='2r'; | 2-1181703-3 |
Which 1998 tournament had a performance of 3R in 2007? | CREATE TABLE "major_tournament_singles_performance_tim" (
"tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"career_sr" text
); | SELECT "1998" FROM "major_tournament_singles_performance_tim" WHERE "2007"='3r'; | 2-1181703-3 |
What's the name of the 2005 tournament that has a 1R in both 2006 and 2002? | CREATE TABLE "major_tournament_singles_performance_tim" (
"tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"career_sr" text
); | SELECT "2005" FROM "major_tournament_singles_performance_tim" WHERE "2006"='1r' AND "2002"='1r'; | 2-1181703-3 |
What did home team score at glenferrie oval? | CREATE TABLE "round_17" (
"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_17" WHERE "venue"='glenferrie oval'; | 2-10809157-17 |
For End of Fiscal Years before 2003 with a GDP $Billions OMB/BEA est.=MW.com of 10,980 what is the highest Gross Debt in $Billions undeflated Treas.? | CREATE TABLE "deficit_spending" (
"end_of_fiscal_year" real,
"gross_debt_in_billions_undeflated_treas" real,
"as_pct_of_gdp_low_high" text,
"debt_held_by_public_billions" real,
"as_pct_of_gdp_treas_mw_omb_or_omb_mw" real,
"gdp_billions_omb_bea_est_mw_com" text
); | SELECT MAX("gross_debt_in_billions_undeflated_treas") FROM "deficit_spending" WHERE "gdp_billions_omb_bea_est_mw_com"='10,980' AND "end_of_fiscal_year"<2003; | 2-1137850-1 |
For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years? | CREATE TABLE "deficit_spending" (
"end_of_fiscal_year" real,
"gross_debt_in_billions_undeflated_treas" real,
"as_pct_of_gdp_low_high" text,
"debt_held_by_public_billions" real,
"as_pct_of_gdp_treas_mw_omb_or_omb_mw" real,
"gdp_billions_omb_bea_est_mw_com" text
); | SELECT AVG("gross_debt_in_billions_undeflated_treas") FROM "deficit_spending" WHERE "end_of_fiscal_year">1980 AND "as_pct_of_gdp_low_high"='83.4-84.4' AND "debt_held_by_public_billions"<'7,552'; | 2-1137850-1 |
For End of Fiscal Year(s) with as % of GDP (Treas/MW, OMB or OMB/MW) of 28 and Gross Debt in $Billions undeflated Treas. smaller than 370.9 what would be the sum of Debt Held By Public ($Billions)? | CREATE TABLE "deficit_spending" (
"end_of_fiscal_year" real,
"gross_debt_in_billions_undeflated_treas" real,
"as_pct_of_gdp_low_high" text,
"debt_held_by_public_billions" real,
"as_pct_of_gdp_treas_mw_omb_or_omb_mw" real,
"gdp_billions_omb_bea_est_mw_com" text
); | SELECT COUNT("debt_held_by_public_billions") FROM "deficit_spending" WHERE "as_pct_of_gdp_treas_mw_omb_or_omb_mw"=28 AND "gross_debt_in_billions_undeflated_treas"<370.9; | 2-1137850-1 |
For End of Fiscal Year(s) with a Debt Held By Public ($Billions) larger than 236.8, and as % of GDP Low-High of 33.4 what is the sum of the number of Gross Debt in $Billions undeflated Treas.? | CREATE TABLE "deficit_spending" (
"end_of_fiscal_year" real,
"gross_debt_in_billions_undeflated_treas" real,
"as_pct_of_gdp_low_high" text,
"debt_held_by_public_billions" real,
"as_pct_of_gdp_treas_mw_omb_or_omb_mw" real,
"gdp_billions_omb_bea_est_mw_com" text
); | SELECT COUNT("gross_debt_in_billions_undeflated_treas") FROM "deficit_spending" WHERE "debt_held_by_public_billions">236.8 AND "as_pct_of_gdp_low_high"='33.4'; | 2-1137850-1 |
What player was selected in Round 6? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "player" FROM "draft_picks" WHERE "round"=6; | 2-11128774-19 |
What is the nationality of the player who played for the Peterborough Petes (OHL)? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='peterborough petes (ohl)'; | 2-11128774-19 |
Which round was Mike Peca (C) of Canada selected in? | CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
); | SELECT SUM("round") FROM "draft_picks" WHERE "nationality"='canada' AND "player"='mike peca (c)'; | 2-11128774-19 |
What is the smallest grid for Ayrton Senna? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MIN("grid") FROM "race" WHERE "driver"='ayrton senna'; | 2-1122933-2 |
What is the Time/Retired for laps higher than 52 on a grid larger than 21? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT "time_retired" FROM "race" WHERE "laps">52 AND "grid">21; | 2-1122933-2 |
What is the sum of laps for grid 20? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT SUM("laps") FROM "race" WHERE "grid"=20; | 2-1122933-2 |
What is the most laps for Ayrton Senna? | CREATE TABLE "race" (
"driver" text,
"constructor" text,
"laps" real,
"time_retired" text,
"grid" real
); | SELECT MAX("laps") FROM "race" WHERE "driver"='ayrton senna'; | 2-1122933-2 |
what was the score of the parallel bars with a floor exercise score more than 9.137, vault more than 9.5 and horizontal bar of 9.225? | CREATE TABLE "final" (
"gymnast" text,
"floor_exercise" real,
"pommel_horse" real,
"rings" real,
"vault" real,
"parallel_bars" real,
"horizontal_bar" real,
"total" real
); | SELECT SUM("parallel_bars") FROM "final" WHERE "floor_exercise">9.137 AND "horizontal_bar"=9.225 AND "vault">9.5; | 2-11492504-1 |
what was the floor exercise score with a pommel horse score of 9.65 and horizontal bar score more than 9.475? | CREATE TABLE "final" (
"gymnast" text,
"floor_exercise" real,
"pommel_horse" real,
"rings" real,
"vault" real,
"parallel_bars" real,
"horizontal_bar" real,
"total" real
); | SELECT MAX("floor_exercise") FROM "final" WHERE "pommel_horse"=9.65 AND "horizontal_bar">9.475; | 2-11492504-1 |
Which tournament had A in 2008, and a 1r in 2010? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "tournament" FROM "singles_performance_timeline" WHERE "2008"='a' AND "2010"='1r'; | 2-11993536-5 |
What was the position for 2008, where 2012 was q1, and 2010 was 1r? | CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
); | SELECT "2008" FROM "singles_performance_timeline" WHERE "2012"='q1' AND "2010"='1r'; | 2-11993536-5 |
Which venue has a Goal of 3? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "goal"=3; | 2-12066970-1 |
Which venue was used on 10 september 2010? | CREATE TABLE "international_goals" (
"goal" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
); | SELECT "venue" FROM "international_goals" WHERE "date"='10 september 2010'; | 2-12066970-1 |
How many carries for the player with under 6 yards and an average of over 5? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT COUNT("car") FROM "running_backs" WHERE "yards"<6 AND "avg">5; | 2-11786940-5 |
What was the longest carry for kevin clemens with under 31 yards total? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MAX("long") FROM "running_backs" WHERE "player"='kevin clemens' AND "yards"<31; | 2-11786940-5 |
How many TDs for the player with a long of less than 4 and under 8 yards? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT SUM("td_s") FROM "running_backs" WHERE "long"<4 AND "yards"<8; | 2-11786940-5 |
What is the average for the player with 1 TD, over 4 as a long, and under 1 carry? | CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("avg") FROM "running_backs" WHERE "td_s"=1 AND "long">4 AND "car"<1; | 2-11786940-5 |
What was the attendance at Brunswick Street Oval? | CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_6" WHERE "venue"='brunswick street oval'; | 2-10809142-6 |
What's listed as the First Day Cover Cancellation with a Date of Issue of 13 June 2005? | CREATE TABLE "2005" (
"date_of_issue" text,
"denomination" text,
"design" text,
"paper_type" text,
"first_day_cover_cancellation" text
); | SELECT "first_day_cover_cancellation" FROM "2005" WHERE "date_of_issue"='13 june 2005'; | 2-11900773-1 |
What's the First Day Cover Cancellation with Denomination of $0.50 and Date of Issue as 13 June 2005? | CREATE TABLE "2005" (
"date_of_issue" text,
"denomination" text,
"design" text,
"paper_type" text,
"first_day_cover_cancellation" text
); | SELECT "first_day_cover_cancellation" FROM "2005" WHERE "denomination"='$0.50' AND "date_of_issue"='13 june 2005'; | 2-11900773-1 |
What's the Denomination listed for the Date of Issue 12 April 2005? | CREATE TABLE "2005" (
"date_of_issue" text,
"denomination" text,
"design" text,
"paper_type" text,
"first_day_cover_cancellation" text
); | SELECT "denomination" FROM "2005" WHERE "date_of_issue"='12 april 2005'; | 2-11900773-1 |
Which Paper Type has a Denomination of $0.50 and Date of Issue 4 February 2005? | CREATE TABLE "2005" (
"date_of_issue" text,
"denomination" text,
"design" text,
"paper_type" text,
"first_day_cover_cancellation" text
); | SELECT "paper_type" FROM "2005" WHERE "denomination"='$0.50' AND "date_of_issue"='4 february 2005'; | 2-11900773-1 |
What's the Date of Issue for Design of Katalin Kovats? | CREATE TABLE "2005" (
"date_of_issue" text,
"denomination" text,
"design" text,
"paper_type" text,
"first_day_cover_cancellation" text
); | SELECT "date_of_issue" FROM "2005" WHERE "design"='katalin kovats'; | 2-11900773-1 |
What was the average for the player that scored 116 yards and had TD's less than 1? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT COUNT("avg") FROM "wide_receivers" WHERE "yards"=116 AND "td_s"<1; | 2-11486671-12 |
What was the lowest recorded record for a player with an average larger than 13? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MIN("rec") FROM "wide_receivers" WHERE "avg">13; | 2-11486671-12 |
How many yards did Hank Edwards make when he had TD's of 1 and an average higher than 13? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT COUNT("yards") FROM "wide_receivers" WHERE "td_s"=1 AND "player"='hank edwards' AND "avg">13; | 2-11486671-12 |
How many yards were averaged by the player that had a higher than 13 average with less than 18 long? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT AVG("yards") FROM "wide_receivers" WHERE "long"<18 AND "avg">13; | 2-11486671-12 |
What is the highest number of yards recorded for a player that had more than 4 TD's? | CREATE TABLE "wide_receivers" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
); | SELECT MAX("yards") FROM "wide_receivers" WHERE "td_s">4; | 2-11486671-12 |
For an airline of Wizz Air and fewer than 83 destinations, what is the highest passenger fleet? | CREATE TABLE "by_scheduled_passengers_carried_millions" (
"rank" real,
"airline_holding" text,
"passenger_fleet" real,
"current_destinations" real,
"alliance_association" text
); | SELECT MAX("passenger_fleet") FROM "by_scheduled_passengers_carried_millions" WHERE "airline_holding"='wizz air' AND "current_destinations"<83; | 2-11898209-1 |
Which alliance has a rank of 40? | CREATE TABLE "by_scheduled_passengers_carried_millions" (
"rank" real,
"airline_holding" text,
"passenger_fleet" real,
"current_destinations" real,
"alliance_association" text
); | SELECT "alliance_association" FROM "by_scheduled_passengers_carried_millions" WHERE "rank"=40; | 2-11898209-1 |
For airlines named Aeroflot Group, what is the alliance? | CREATE TABLE "by_scheduled_passengers_carried_millions" (
"rank" real,
"airline_holding" text,
"passenger_fleet" real,
"current_destinations" real,
"alliance_association" text
); | SELECT "alliance_association" FROM "by_scheduled_passengers_carried_millions" WHERE "airline_holding"='aeroflot group'; | 2-11898209-1 |
In which year was a linebacker pick 17? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player_name" text,
"position" text,
"college" text
); | SELECT "year" FROM "player_selections" WHERE "position"='linebacker' AND "pick"='17'; | 2-11311431-2 |
What is the name of the cornerback from 1997? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player_name" text,
"position" text,
"college" text
); | SELECT "player_name" FROM "player_selections" WHERE "position"='cornerback' AND "year"=1997; | 2-11311431-2 |
What is the name of the player from after 1989 from Washington State? | CREATE TABLE "player_selections" (
"year" real,
"pick" text,
"player_name" text,
"position" text,
"college" text
); | SELECT "player_name" FROM "player_selections" WHERE "year">1989 AND "college"='washington state'; | 2-11311431-2 |
Which race has a Margin of 8? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" text,
"time" text,
"jockey" text,
"trainer" text
); | SELECT "race" FROM "race_record" WHERE "margin"='8'; | 2-1114755-1 |
How many Runners have a Placing that isn't 1? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" text,
"time" text,
"jockey" text,
"trainer" text
); | SELECT COUNT("runners") FROM "race_record" WHERE "placing">1; | 2-1114755-1 |
What is the lowest number of Runners that has a Placing that isn't 1? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" text,
"time" text,
"jockey" text,
"trainer" text
); | SELECT MIN("runners") FROM "race_record" WHERE "placing"<1; | 2-1114755-1 |
What is the lowest Prize amount for the Irish Derby Race? | CREATE TABLE "race_record" (
"race" text,
"dist_f" real,
"course" text,
"class" text,
"prize_k" real,
"odds" text,
"runners" real,
"placing" real,
"margin" text,
"time" text,
"jockey" text,
"trainer" text
); | SELECT MIN("prize_k") FROM "race_record" WHERE "race"='irish derby'; | 2-1114755-1 |
How many people attended the game that resulted in an away team score of 18.17 (125)? | CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT SUM("crowd") FROM "round_4" WHERE "away_team_score"='18.17 (125)'; | 2-10790804-4 |
What was the mintage having an issue price of $1,099.99, artist being Pamela Stagg? | CREATE TABLE "provincial_flowers" (
"year" real,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
); | SELECT AVG("mintage") FROM "provincial_flowers" WHERE "issue_price"='$1,099.99' AND "artist"='pamela stagg'; | 2-11916083-72 |
What was the year that had an issue price of $1,295.95? | CREATE TABLE "provincial_flowers" (
"year" real,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
); | SELECT AVG("year") FROM "provincial_flowers" WHERE "issue_price"='$1,295.95'; | 2-11916083-72 |
What is the composition with an artist of Henry Purdy, a year smaller than 2002, and a mint more than 1,998? | CREATE TABLE "provincial_flowers" (
"year" real,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
); | SELECT "composition" FROM "provincial_flowers" WHERE "year"<2002 AND "mintage">'1,998' AND "artist"='henry purdy'; | 2-11916083-72 |
What was the average mintage for that of artist Celia Godkin, before the year 2010? | CREATE TABLE "provincial_flowers" (
"year" real,
"artist" text,
"composition" text,
"mintage" real,
"issue_price" text
); | SELECT AVG("mintage") FROM "provincial_flowers" WHERE "artist"='celia godkin' AND "year"<2010; | 2-11916083-72 |
Where is the Venue that has an away team score of 13.16 (94) points? | 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"='13.16 (94)'; | 2-10809529-13 |
What was the away team score at Windy Hill? | CREATE TABLE "round_9" (
"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_9" WHERE "venue"='windy hill'; | 2-1164217-9 |
Who was the home team at Lake Oval? | CREATE TABLE "round_9" (
"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_9" WHERE "venue"='lake oval'; | 2-1164217-9 |
What is the number of the crowd when the away team score was 10.18 (78)? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT COUNT("crowd") FROM "round_9" WHERE "away_team_score"='10.18 (78)'; | 2-1164217-9 |
On what date was the crowd over 19,298 when South Melbourne was the home team? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_9" WHERE "crowd">'19,298' AND "home_team"='south melbourne'; | 2-1164217-9 |
On what date was the home team score 10.14 (74)? | CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "date" FROM "round_9" WHERE "home_team_score"='10.14 (74)'; | 2-1164217-9 |
On what date was the venue VFL Park? | 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 "venue"='vfl park'; | 2-1164217-8 |
Which team was the home team at Glenferrie 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" FROM "round_8" WHERE "venue"='glenferrie oval'; | 2-1164217-8 |
What was the date when Steffi Graf was the opponent in the final and the score was 2–6, 0–6? | CREATE TABLE "singles_37_19_18" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "date" FROM "singles_37_19_18" WHERE "opponent_in_the_final"='steffi graf' AND "score_in_the_final"='2–6, 0–6'; | 2-1092361-5 |
What was the surface where the outcome was winner on 12 march 1989? | CREATE TABLE "singles_37_19_18" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "surface" FROM "singles_37_19_18" WHERE "outcome"='winner' AND "date"='12 march 1989'; | 2-1092361-5 |
What was the outcome of the Tournament of lugano , switzerland wta virginia slims, against bonnie gadusek? | CREATE TABLE "singles_37_19_18" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "singles_37_19_18" WHERE "tournament"='lugano , switzerland wta virginia slims' AND "opponent_in_the_final"='bonnie gadusek'; | 2-1092361-5 |
What is the outcome of the match against Sylvia Hanika on a hard (i) surface? | CREATE TABLE "singles_37_19_18" (
"outcome" text,
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score_in_the_final" text
); | SELECT "outcome" FROM "singles_37_19_18" WHERE "opponent_in_the_final"='sylvia hanika' AND "surface"='hard (i)'; | 2-1092361-5 |
What player had numbers of 20 | CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
); | SELECT "player" FROM "c" WHERE "no_s"='20'; | 2-11734041-3 |
Tell me the height in ft for 1999-2004 | CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
); | SELECT "height_in_ft" FROM "c" WHERE "years_for_rockets"='1999-2004'; | 2-11734041-3 |
Tell me the number for height in ft of 6-7 | CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
); | SELECT "no_s" FROM "c" WHERE "height_in_ft"='6-7'; | 2-11734041-3 |
What player had a school of missouri | CREATE TABLE "c" (
"player" text,
"no_s" text,
"height_in_ft" text,
"position" text,
"years_for_rockets" text,
"school_club_team_country" text
); | SELECT "player" FROM "c" WHERE "school_club_team_country"='missouri'; | 2-11734041-3 |
What pick # has a team from Rimouski Océanic? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT AVG("pick_num") FROM "round_three" WHERE "team_from"='rimouski océanic'; | 2-10897046-5 |
Who is the player from Hotchkiss School with a position of d? | CREATE TABLE "round_three" (
"pick_num" real,
"player" text,
"nationality" text,
"position" text,
"team_from" text,
"league_from" text
); | SELECT "player" FROM "round_three" WHERE "position"='d' AND "team_from"='hotchkiss school'; | 2-10897046-5 |
What type is the sorrento to sapri course with a distance of km (mi)? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "type" FROM "stage_results" WHERE "distance"='km (mi)' AND "course"='sorrento to sapri'; | 2-11421769-1 |
What type is the misurina to bassano del grappa course? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "type" FROM "stage_results" WHERE "course"='misurina to bassano del grappa'; | 2-11421769-1 |
What's the distance for the chieti to macerata course? | CREATE TABLE "stage_results" (
"date" text,
"course" text,
"distance" text,
"type" text,
"winner" text
); | SELECT "distance" FROM "stage_results" WHERE "course"='chieti to macerata'; | 2-11421769-1 |
Which is the lowest points value that had a Chevrolet car, whose driver was Sterling Marlin, and whose car number was less than 14? | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT MIN("points") FROM "race_results" WHERE "make"='chevrolet' AND "driver"='sterling marlin' AND "car_num"<14; | 2-11059193-1 |
Which is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325? | CREATE TABLE "race_results" (
"driver" text,
"car_num" real,
"make" text,
"points" real,
"laps" real,
"winnings" text
); | SELECT MIN("points") FROM "race_results" WHERE "make"='chevrolet' AND "car_num"<24 AND "laps"=312 AND "winnings"='$122,325'; | 2-11059193-1 |
What is the location for the win against Johan Mparmpagiannis? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "location" FROM "kickboxing_record" WHERE "result"='win' AND "opponent"='johan mparmpagiannis'; | 2-11286695-1 |
What is the method against Björn Bregy? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "method" FROM "kickboxing_record" WHERE "opponent"='björn bregy'; | 2-11286695-1 |
What is the method against Paula Mataele? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "method" FROM "kickboxing_record" WHERE "opponent"='paula mataele'; | 2-11286695-1 |
What is the date of the match in Vilnius, Lithuania? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "date" FROM "kickboxing_record" WHERE "location"='vilnius, lithuania'; | 2-11286695-1 |
What is the result against Errol Zimmerman on 2007-04-07? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "result" FROM "kickboxing_record" WHERE "opponent"='errol zimmerman' AND "date"='2007-04-07'; | 2-11286695-1 |
What is the location of the match against Martinis Knyzelis? | CREATE TABLE "kickboxing_record" (
"date" text,
"result" text,
"opponent" text,
"location" text,
"method" text
); | SELECT "location" FROM "kickboxing_record" WHERE "opponent"='martinis knyzelis'; | 2-11286695-1 |
What day is st kilda the home side? | 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 "date" FROM "round_16" WHERE "home_team"='st kilda'; | 2-10809271-16 |
What is melbourne's away score? | 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 "away_team_score" FROM "round_16" WHERE "away_team"='melbourne'; | 2-10809271-16 |
What is the highest crowd listed when the away side scores 4.9 (33)? | 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 MAX("crowd") FROM "round_16" WHERE "away_team_score"='4.9 (33)'; | 2-10809271-16 |
What venue features an away team score of 4.9 (33)? | 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 "away_team_score"='4.9 (33)'; | 2-10809271-16 |
What was the home team's score when Geelong was the away team? | CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
); | SELECT "home_team_score" FROM "round_3" WHERE "away_team"='geelong'; | 2-1164217-3 |
What was the average crowd size at a game when the away team scored 17.12 (114)? | 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 AVG("crowd") FROM "round_3" WHERE "away_team_score"='17.12 (114)'; | 2-1164217-3 |
What is the total number of the 1978 Veteran membership that has a late 1943 more than 78,000 and a september 1943 larger than 60,000? | CREATE TABLE "composition" (
"late_1941" text,
"late_1942" real,
"sept_1943" real,
"late_1943" real,
"late_1944" real,
"1978_veteran_membership" real
); | SELECT COUNT("1978_veteran_membership") FROM "composition" WHERE "late_1943">'78,000' AND "sept_1943">'60,000'; | 2-1115992-1 |
What is the highest late 1943 number with a late 1941 of vojvodina and a 1978 membership less than 40,000? | CREATE TABLE "composition" (
"late_1941" text,
"late_1942" real,
"sept_1943" real,
"late_1943" real,
"late_1944" real,
"1978_veteran_membership" real
); | SELECT MAX("late_1943") FROM "composition" WHERE "late_1941"='vojvodina' AND "1978_veteran_membership"<'40,000'; | 2-1115992-1 |
What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000? | CREATE TABLE "composition" (
"late_1941" text,
"late_1942" real,
"sept_1943" real,
"late_1943" real,
"late_1944" real,
"1978_veteran_membership" real
); | SELECT SUM("1978_veteran_membership") FROM "composition" WHERE "late_1941"='macedonia' AND "late_1943"<'10,000'; | 2-1115992-1 |
What is the lowest 1978 Veteran membership with less than 48,000 in sept. 1943, a late 1941 of vojvodina, and a late 1942 bigger than 1,000? | CREATE TABLE "composition" (
"late_1941" text,
"late_1942" real,
"sept_1943" real,
"late_1943" real,
"late_1944" real,
"1978_veteran_membership" real
); | SELECT MIN("1978_veteran_membership") FROM "composition" WHERE "sept_1943"<'48,000' AND "late_1941"='vojvodina' AND "late_1942">'1,000'; | 2-1115992-1 |
What is the highest late 1943 with a late 1944 bigger than 22,000, a late 1942 bigger than 1,000, a late 1941 slovenia, and less than 4000 in september 1943? | CREATE TABLE "composition" (
"late_1941" text,
"late_1942" real,
"sept_1943" real,
"late_1943" real,
"late_1944" real,
"1978_veteran_membership" real
); | SELECT MAX("late_1943") FROM "composition" WHERE "late_1944">'22,000' AND "late_1942">'1,000' AND "late_1941"='slovenia' AND "sept_1943"<4000; | 2-1115992-1 |
Which opponent has a Season of 2011/12? | CREATE TABLE "uefa_club_competitions_record" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"result" text,
"venue" text
); | SELECT "opponent" FROM "uefa_club_competitions_record" WHERE "season"='2011/12'; | 2-11638072-1 |
Which opponent has a Season of 2010/11? | CREATE TABLE "uefa_club_competitions_record" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"result" text,
"venue" text
); | SELECT "opponent" FROM "uefa_club_competitions_record" WHERE "season"='2010/11'; | 2-11638072-1 |
Which competition has a Season of 2010/11? | CREATE TABLE "uefa_club_competitions_record" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"result" text,
"venue" text
); | SELECT "competition" FROM "uefa_club_competitions_record" WHERE "season"='2010/11'; | 2-11638072-1 |
What Opponent has a Result of –? | CREATE TABLE "uefa_club_competitions_record" (
"season" text,
"competition" text,
"round" text,
"opponent" text,
"result" text,
"venue" text
); | SELECT "opponent" FROM "uefa_club_competitions_record" WHERE "result"='–'; | 2-11638072-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.