question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
When did a home team score 9.6 (60)?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_2" WHERE "home_team_score"='9.6 (60)';
2-10790651-2
What did the away team score at corio oval?
CREATE TABLE "round_2" ( "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_2" WHERE "venue"='corio oval';
2-10790651-2
Who did the cowboys play when 65,537 attended?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "opponent" FROM "schedule" WHERE "attendance"='65,537';
2-11281018-2
What is the name of the tournament when antonia xenia tout nataša zorić was the opponenet?
CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "tournament" FROM "doubles_finals_2_4" WHERE "opponents"='antonia xenia tout nataša zorić';
2-11945981-3
What date was georgie stoop emily webley-smith the opponent?
CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "date" FROM "doubles_finals_2_4" WHERE "opponents"='georgie stoop emily webley-smith';
2-11945981-3
What is the surface of the match when the opponent was iryna bremond valeria savinykh?
CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "surface" FROM "doubles_finals_2_4" WHERE "opponents"='iryna bremond valeria savinykh';
2-11945981-3
What is the name of the opponent for the Sutton tournament?
CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_finals_2_4" WHERE "tournament"='sutton';
2-11945981-3
What is the name of the opponent when anastasia pivovarova was the partner?
CREATE TABLE "doubles_finals_2_4" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_finals_2_4" WHERE "partner"='anastasia pivovarova';
2-11945981-3
What is the home team's score when the away team's score is 15.15 (105)?
CREATE TABLE "round_2" ( "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_2" WHERE "away_team_score"='15.15 (105)';
2-10809351-2
What is south melbourne's home side score?
CREATE TABLE "round_2" ( "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_2" WHERE "home_team"='south melbourne';
2-10809351-2
What rounds did Roy Salvadori drive for David Brown Corporation?
CREATE TABLE "teams_and_drivers" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text );
SELECT "rounds" FROM "teams_and_drivers" WHERE "entrant"='david brown corporation' AND "driver"='roy salvadori';
2-1140106-2
What are the results for years after 2007?
CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text );
SELECT "result" FROM "indian_television_academy_awards" WHERE "year">2007;
2-11097204-5
Which characters after 2003 won?
CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text );
SELECT "character" FROM "indian_television_academy_awards" WHERE "result"='won' AND "year">2003;
2-11097204-5
For 2006 what category has the Show of kasautii zindagii kay?
CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text );
SELECT "category" FROM "indian_television_academy_awards" WHERE "for_the_show"='kasautii zindagii kay' AND "year"=2006;
2-11097204-5
What is the character for 2005?
CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text );
SELECT "character" FROM "indian_television_academy_awards" WHERE "year"=2005;
2-11097204-5
What is a category before 2012?
CREATE TABLE "indian_television_academy_awards" ( "year" real, "category" text, "character" text, "for_the_show" text, "result" text );
SELECT "category" FROM "indian_television_academy_awards" WHERE "year"<2012;
2-11097204-5
What is the largest crude birth rate when natural change is 215 at a rate greater than 7.2?
CREATE TABLE "vital_statistics" ( "average_population" text, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" real );
SELECT MAX("crude_birth_rate_per_1000") FROM "vital_statistics" WHERE "natural_change"=215 AND "natural_change_per_1000">7.2;
2-12080-2
What is natural change with a crude death rate of 8.7 and less than 472 live births?
CREATE TABLE "vital_statistics" ( "average_population" text, "live_births" real, "deaths" real, "natural_change" real, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" real );
SELECT "natural_change" FROM "vital_statistics" WHERE "crude_death_rate_per_1000"=8.7 AND "live_births"<472;
2-12080-2
What owner or owners have an operational description?
CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "owner_s" FROM "industrial_diesel_shunters" WHERE "description"='operational';
2-11913905-4
What is the date for the Operational Livery?
CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "date" FROM "industrial_diesel_shunters" WHERE "livery"='operational';
2-11913905-4
What is the date listed for the item that has undergoing overhaul, restoration or repairs listed under description?
CREATE TABLE "industrial_diesel_shunters" ( "number_name" text, "description" text, "livery" text, "owner_s" text, "date" text );
SELECT "date" FROM "industrial_diesel_shunters" WHERE "description"='undergoing overhaul, restoration or repairs';
2-11913905-4
Who is the home team that scored 12.14 (86) when their opponent scored 22.15 (147)?
CREATE TABLE "round_20" ( "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_20" WHERE "home_team_score"='12.14 (86)' AND "away_team_score"='22.15 (147)';
2-10823950-20
Who is the home team that played at MCG?
CREATE TABLE "round_20" ( "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_20" WHERE "venue"='mcg';
2-10823950-20
What is the size of the smallest crowd that watched a game at Arden Street Oval?
CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT MIN("crowd") FROM "round_20" WHERE "venue"='arden street oval';
2-10823950-20
What is the score of the away team who played home team Hawthorn?
CREATE TABLE "round_20" ( "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_20" WHERE "home_team"='hawthorn';
2-10823950-20
Who is the away team that played home team Footscray?
CREATE TABLE "round_20" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team" FROM "round_20" WHERE "home_team"='footscray';
2-10823950-20
How many people attended the game where Fitzroy was the away team?
CREATE TABLE "round_18" ( "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_18" WHERE "away_team"='fitzroy';
2-10807253-18
I want the NGC number for leo of irregular galaxy
CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "ngc_number" FROM "2901_3000" WHERE "constellation"='leo' AND "object_type"='irregular galaxy';
2-11097664-10
Tell me the highest NGC number for right ascension of 09h40m28.5s
CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT MAX("ngc_number") FROM "2901_3000" WHERE "right_ascension_j2000"='09h40m28.5s';
2-11097664-10
What is the constellation for open cluster?
CREATE TABLE "2901_3000" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text );
SELECT "constellation" FROM "2901_3000" WHERE "object_type"='open cluster';
2-11097664-10
Which event was Tatyana Lebedeva in?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "event" FROM "women" WHERE "athlete"='tatyana lebedeva';
2-1111662-2
What event was Fatima Whitbread Trine Hattestad in?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "event" FROM "women" WHERE "athlete"='fatima whitbread trine hattestad';
2-1111662-2
What is Milcah Chemos' record?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "record" FROM "women" WHERE "athlete"='milcah chemos';
2-1111662-2
What is the record for the 400 m event on 4 september 2009?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "record" FROM "women" WHERE "date"='4 september 2009' AND "event"='400 m';
2-1111662-2
What event was on 26 August 2005?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "event" FROM "women" WHERE "date"='26 august 2005';
2-1111662-2
What was the date of the discus throw for Bulgaria?
CREATE TABLE "women" ( "event" text, "record" text, "athlete" text, "nationality" text, "date" text );
SELECT "date" FROM "women" WHERE "nationality"='bulgaria' AND "event"='discus throw';
2-1111662-2
Where was the game held when the away team scored 16.11 (107)?
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"='16.11 (107)';
2-10869537-13
What was the away team's score when the home team scored 16.19 (115)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "away_team_score" FROM "round_13" WHERE "home_team_score"='16.19 (115)';
2-10869537-13
What was the home team's score when the away team scored 16.14 (110)?
CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "home_team_score" FROM "round_13" WHERE "away_team_score"='16.14 (110)';
2-10869537-13
What is the date ground A and Cartagena as an opponent?
CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text );
SELECT "date" FROM "friendly" WHERE "ground"='a' AND "opponent"='cartagena';
2-12098629-10
What ground has a match smaller than 2?
CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text );
SELECT "ground" FROM "friendly" WHERE "match"<2;
2-12098629-10
What is the score of the competition of friendly, at match 7?
CREATE TABLE "friendly" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text );
SELECT "score1" FROM "friendly" WHERE "competition_or_tour"='friendly' AND "match"=7;
2-12098629-10
What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year before 1985?
CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text );
SELECT MIN("pick") FROM "draft_picks" WHERE "nationality"='canada' AND "draft"<1985 AND "player"='brian bradley';
2-11818504-4
Which Round was Player Adam Cracknell Picked after 231 in a Draft year after 1988?
CREATE TABLE "draft_picks" ( "draft" real, "round" text, "pick" real, "player" text, "nationality" text );
SELECT "round" FROM "draft_picks" WHERE "pick">231 AND "draft">1988 AND "player"='adam cracknell';
2-11818504-4
Name the total number of yards for avg of 9 and rec of 1
CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "long" real );
SELECT COUNT("yards") FROM "receiving" WHERE "avg"=9 AND "rec"=1;
2-10966926-8
What is the highest number of losses that the team incurred while scoring less than 79 points in 10 games with a point differential less than 34?
CREATE TABLE "year_by_year_stats" ( "team" real, "games_played" real, "wins" real, "losses" real, "winning_percentage" real, "points_for" real, "points_against" real, "point_differential" real );
SELECT MAX("losses") FROM "year_by_year_stats" WHERE "points_for"<79 AND "games_played"=10 AND "point_differential"<34;
2-12042534-3
Which Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?
CREATE TABLE "delisted_players_who_did_not_play_a_seni" ( "player" text, "date_of_birth_age_when_delisted" text, "draft_details" text, "rookie_list" text, "senior_list" text );
SELECT "player" FROM "delisted_players_who_did_not_play_a_seni" WHERE "date_of_birth_age_when_delisted"='13 february 1987 (aged 24)';
2-11677694-16
What is listed under Senior List for Date of Birth (Age When Delisted) of 5 June 1984 (aged 23)?
CREATE TABLE "delisted_players_who_did_not_play_a_seni" ( "player" text, "date_of_birth_age_when_delisted" text, "draft_details" text, "rookie_list" text, "senior_list" text );
SELECT "senior_list" FROM "delisted_players_who_did_not_play_a_seni" WHERE "date_of_birth_age_when_delisted"='5 june 1984 (aged 23)';
2-11677694-16
What is the average year to begin making autos for a brand that joined GM in 1917?
CREATE TABLE "brand_reorganization" ( "brand" text, "year_founded" real, "year_began_making_autos" real, "year_joined_gm" real, "markets_served_today" text );
SELECT AVG("year_began_making_autos") FROM "brand_reorganization" WHERE "year_joined_gm"=1917;
2-12102-3
Name the date with a home team of melbourne
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 "date" FROM "round_4" WHERE "home_team"='melbourne';
2-10823719-4
Name the venue for collingwood home team
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 "venue" FROM "round_4" WHERE "home_team"='collingwood';
2-10823719-4
I want to know the home team score for essendon away team
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 "home_team_score" FROM "round_4" WHERE "away_team"='essendon';
2-10823719-4
Which year has a Gen.-Secretary of silvana jansen?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "year" FROM "history_of_board_members_2002_present" WHERE "gen_secretary"='silvana jansen';
2-11616371-1
Which Gen.-Secretary that has a Vice President named charlotte saes?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "gen_secretary" FROM "history_of_board_members_2002_present" WHERE "vice_president"='charlotte saes';
2-11616371-1
Which treasurer has a Gen.-Secretary of jonneke de koning, and a Vice President of laura tolen?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "treasurer" FROM "history_of_board_members_2002_present" WHERE "gen_secretary"='jonneke de koning' AND "vice_president"='laura tolen';
2-11616371-1
Which Vice President has a President of daniel masny, and a Treasurer of rebecca t. altmann?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "vice_president" FROM "history_of_board_members_2002_present" WHERE "president"='daniel masny' AND "treasurer"='rebecca t. altmann';
2-11616371-1
Who was president Year of 2002-2003, second semester?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "president" FROM "history_of_board_members_2002_present" WHERE "year"='2002-2003, second semester';
2-11616371-1
Which treasurer has a President of sebastian ihler?
CREATE TABLE "history_of_board_members_2002_present" ( "year" text, "president" text, "vice_president" text, "gen_secretary" text, "treasurer" text );
SELECT "treasurer" FROM "history_of_board_members_2002_present" WHERE "president"='sebastian ihler';
2-11616371-1
Which opponent used a grass surface?
CREATE TABLE "singles_10_3_7" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_10_3_7" WHERE "surface"='grass';
2-11126697-5
Which tournament had a score of 6–7 (0–7) , 6–2, 4–6?
CREATE TABLE "singles_10_3_7" ( "outcome" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_10_3_7" WHERE "score"='6–7 (0–7) , 6–2, 4–6';
2-11126697-5
Tell me the total number of points for lost less than 4
CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT COUNT("points") FROM "world_championship_group_b_slovenia" WHERE "lost"<4;
2-11200078-1
I want the sum of drawn for lost less than 0
CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT SUM("drawn") FROM "world_championship_group_b_slovenia" WHERE "lost"<0;
2-11200078-1
I want the points difference for points of 14
CREATE TABLE "world_championship_group_b_slovenia" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real );
SELECT "points_difference" FROM "world_championship_group_b_slovenia" WHERE "points"=14;
2-11200078-1
Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "medal_table" WHERE "gold">0 AND "total">32 AND "silver"<23;
2-11730098-1
Tell me the sum of silver for liechtenstein and bronze more than 4
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("silver") FROM "medal_table" WHERE "nation"='liechtenstein' AND "bronze">4;
2-11730098-1
Which tournament had a score of 6–4, 4–6, 7–5?
CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles_titles" WHERE "score"='6–4, 4–6, 7–5';
2-11949026-2
Which tournament had a score of 7–5, 2–6, 7–6?
CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "tournament" FROM "singles_titles" WHERE "score"='7–5, 2–6, 7–6';
2-11949026-2
Who was the opponent in the final in which the court surface was hard and the score was 6–3, 3–6, 7–5?
CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "opponent_in_the_final" FROM "singles_titles" WHERE "surface"='hard' AND "score"='6–3, 3–6, 7–5';
2-11949026-2
What was the court surface when the score was 6–4, 6–1?
CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "surface" FROM "singles_titles" WHERE "score"='6–4, 6–1';
2-11949026-2
On what date was the opponent in the final Gwinyai Tongoona?
CREATE TABLE "singles_titles" ( "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score" text );
SELECT "date" FROM "singles_titles" WHERE "opponent_in_the_final"='gwinyai tongoona';
2-11949026-2
What was the record from the Golden State Warriors on 11/18?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "record" FROM "november" WHERE "visitor"='golden state warriors' AND "date"='11/18';
2-11964379-4
What class has 4-4-0 wheels and was less than number 40 built?
CREATE TABLE "1923_1937" ( "class" text, "wheels" text, "date" text, "builder" text, "no_built" real );
SELECT "class" FROM "1923_1937" WHERE "wheels"='4-4-0' AND "no_built"<40;
2-1169552-1
Name the space crusade when the english is of finnish
CREATE TABLE "translations" ( "english" text, "space_crusade" text, "aliens" text, "chaos_marines" text, "genestealers" text, "imperial_fists" text, "ultramarines" text );
SELECT "space_crusade" FROM "translations" WHERE "english"='finnish';
2-1196520-1
Name the space crusade which has Genestealers of genrøvere (gene robbers)
CREATE TABLE "translations" ( "english" text, "space_crusade" text, "aliens" text, "chaos_marines" text, "genestealers" text, "imperial_fists" text, "ultramarines" text );
SELECT "space_crusade" FROM "translations" WHERE "genestealers"='genrøvere (gene robbers)';
2-1196520-1
What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?
CREATE TABLE "winners" ( "year" real, "winners" text, "score" text, "runners_up" text, "venue" text );
SELECT "score" FROM "winners" WHERE "winners"='galatasaray' AND "runners_up"='trabzonspor' AND "year"=1990;
2-10856575-1
How many matches were there in the round with £1,000,000 in prize money?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "new_entries_this_round" text, "prize_money" text );
SELECT COUNT("matches") FROM "calendar" WHERE "prize_money"='£1,000,000';
2-11318956-1
What was the date for a round that only had 1 match?
CREATE TABLE "calendar" ( "round" text, "date" text, "matches" real, "clubs" text, "new_entries_this_round" text, "prize_money" text );
SELECT "date" FROM "calendar" WHERE "matches"=1;
2-11318956-1
What date did Hawthorn play as the away team?
CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_2" WHERE "away_team"='hawthorn';
2-10790804-2
What is the hometown for a college in Wisconsin?
CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text );
SELECT "hometown" FROM "2011_team" WHERE "college"='wisconsin';
2-11677691-6
Which college has a linebacker from Lessburg High School?
CREATE TABLE "2011_team" ( "player" text, "position" text, "school" text, "hometown" text, "college" text );
SELECT "college" FROM "2011_team" WHERE "position"='linebacker' AND "school"='lessburg high school';
2-11677691-6
Which opponent has a week of 11?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT "opponent" FROM "schedule" WHERE "week"=11;
2-11159520-2
Which December 4, 1976 week has an attendance less than 57,366?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );
SELECT MIN("week") FROM "schedule" WHERE "date"='december 4, 1976' AND "attendance"<'57,366';
2-11159520-2
Who has a larger than 70.99 km2?
CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real );
SELECT "comune" FROM "municipalities" WHERE "total_km">70.99;
2-1104439-1
What is the km2 area with more than 8,328 people with a total of 121.14 km2?
CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real );
SELECT AVG("area_km") FROM "municipalities" WHERE "population_inh">'8,328' AND "total_km">121.14;
2-1104439-1
What is the Piano di Sorrento, Napoli lowest km2 with a total smaller than 121.14 km2?
CREATE TABLE "municipalities" ( "province" text, "comune" text, "population_inh" real, "area_km" real, "total_km" real );
SELECT MIN("area_km") FROM "municipalities" WHERE "province"='napoli' AND "comune"='piano di sorrento' AND "total_km"<121.14;
2-1104439-1
Which writer had a producer DKA, JL, AS?
CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text );
SELECT "writer" FROM "feature_films" WHERE "producer_executive_producer"='dka, jl, as';
2-10877606-1
Name the film that Lu directed.
CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text );
SELECT "film_title" FROM "feature_films" WHERE "director"='lu';
2-10877606-1
Who wrote Toy Story?
CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text );
SELECT "writer" FROM "feature_films" WHERE "film_title"='toy story';
2-10877606-1
Which writer had voice characters of JDR, BB, TN, LR, PS?
CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text );
SELECT "writer" FROM "feature_films" WHERE "voiced_character_s"='jdr, bb, tn, lr, ps';
2-10877606-1
Who was the sound producer that worked under Executive Producer JL?
CREATE TABLE "feature_films" ( "film_title" text, "director" text, "writer" text, "voiced_character_s" text, "producer_executive_producer" text, "sound" text );
SELECT "sound" FROM "feature_films" WHERE "producer_executive_producer"='jl';
2-10877606-1
What was the away team at mcg?
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" FROM "round_16" WHERE "venue"='mcg';
2-10788451-16
What is the name of the player from NGA?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "name" FROM "players_out" WHERE "country"='nga';
2-12098629-3
Where is Odjidja-Ofoe, with an undisclosed transfer fee, moving to?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "moving_to" FROM "players_out" WHERE "transfer_fee"='undisclosed' AND "name"='odjidja-ofoe';
2-12098629-3
What country is the player, with an undisclosed transfer fee and moving to Nacional, from?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "players_out" WHERE "transfer_fee"='undisclosed' AND "moving_to"='nacional';
2-12098629-3
What is Odjidja-Ofoe's transfer fee?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "transfer_fee" FROM "players_out" WHERE "name"='odjidja-ofoe';
2-12098629-3
What is the name of the player from Cod?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "name" FROM "players_out" WHERE "country"='cod';
2-12098629-3
What country is the player moving to Hamburger SV from?
CREATE TABLE "players_out" ( "name" text, "country" text, "status" text, "moving_to" text, "transfer_window" text, "transfer_fee" text );
SELECT "country" FROM "players_out" WHERE "moving_to"='hamburger sv';
2-12098629-3
Which Driver has an Entrant of Arrows Racing Team and Rounds 1-3?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "driver" FROM "drivers_and_constructors" WHERE "entrant"='arrows racing team' AND "rounds"='1-3';
2-1140076-1
Which Constructor has Rounds, All and Driver, Bruno Giacomelli?
CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text );
SELECT "constructor" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "driver"='bruno giacomelli';
2-1140076-1
What was the winning score when Damien McGrane was runner-up?
CREATE TABLE "european_tour_wins_5" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "winning_score" FROM "european_tour_wins_5" WHERE "runner_s_up"='damien mcgrane';
2-10843991-1