question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which city in Texas hosts the Frank Erwin center?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "city" FROM "first_and_second_rounds" WHERE "state"='texas' AND "venue"='frank erwin center';
2-11115240-4
In what region is the city of Austin?
CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text );
SELECT "region" FROM "first_and_second_rounds" WHERE "city"='austin';
2-11115240-4
Which home team scored 10.6 (66)?
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" FROM "round_4" WHERE "home_team_score"='10.6 (66)';
2-10808681-4
Which home team had a score of 10.8 (68)?
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" FROM "round_4" WHERE "home_team_score"='10.8 (68)';
2-10808681-4
What is the polling result for Chuck DeVore which has a corresponding polling result of 4% for Other?
CREATE TABLE "polling" ( "poll_source" text, "date_s_administered" text, "sample_size" real, "margin_of_error" text, "tom_campbell" text, "carly_fiorina" text, "chuck_de_vore" text, "other" text, "unde_cided" text );
SELECT "chuck_de_vore" FROM "polling" WHERE "other"='4%';
2-11300695-1
What is the total when silver is less than 1 and rank larger than 3?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_table" WHERE "silver"<1 AND "rank">3;
2-11338408-4
What is the number of bronze for Canada and silver is less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_table" WHERE "nation"='canada' AND "silver"<0;
2-11338408-4
What is the largest gold when silver is less than 1 for Canada and bronze is less than 0?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("gold") FROM "medal_table" WHERE "silver"<1 AND "nation"='canada' AND "bronze"<0;
2-11338408-4
What is the silver for Germany and less than 2?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("silver") FROM "medal_table" WHERE "nation"='germany' AND "rank"<2;
2-11338408-4
Tell me the score for december 3
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='december 3';
2-11945691-4
Tell me the record for december 3
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "date"='december 3';
2-11945691-4
Name the record for dallas visitor
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "record" FROM "game_log" WHERE "visitor"='dallas';
2-11945691-4
Name the score for december 5
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='december 5';
2-11945691-4
Who is Princes Park's home team?
CREATE TABLE "round_7" ( "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_7" WHERE "venue"='princes park';
2-10869646-7
Who has a home team score of 13.16 (94)?
CREATE TABLE "round_7" ( "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_7" WHERE "home_team_score"='13.16 (94)';
2-10869646-7
What was the date that an away team score 11.22 (88)?
CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_7" WHERE "away_team_score"='11.22 (88)';
2-10869646-7
Who has a home team score of 9.5 (59)?
CREATE TABLE "round_7" ( "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_7" WHERE "home_team_score"='9.5 (59)';
2-10869646-7
Who is North Melbourne's home team?
CREATE TABLE "round_7" ( "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_7" WHERE "away_team"='north melbourne';
2-10869646-7
In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS?
CREATE TABLE "winning_head_of_the_river_championship_e" ( "crew" real, "year_10_1st_quad" text, "year_10_2nd_quad" text, "year_10_3rd_quad" text, "year_10_4th_quad" text, "year_10_single_scull" text, "year_9_1st_quad" text, "year_9_2nd_quad" text, "year_9_3rd_quad" text, "year_9_4th_quad" text, "year_9_single_scull" text, "year_8_1st_quad" text, "year_8_2nd_quad" text, "year_8_3rd_quad" text, "year_8_4th_quad" text, "year_8_single_scull" text );
SELECT "year_8_1st_quad" FROM "winning_head_of_the_river_championship_e" WHERE "year_9_2nd_quad"='bggs' AND "crew">2006;
2-11318462-36
For the Crew with Year 9 2nd Quads of STM, Year 9 1st Quads of SOM, and a Year 8 3rd Quads of STA what was the Year 8 1st Quads?
CREATE TABLE "winning_head_of_the_river_championship_e" ( "crew" real, "year_10_1st_quad" text, "year_10_2nd_quad" text, "year_10_3rd_quad" text, "year_10_4th_quad" text, "year_10_single_scull" text, "year_9_1st_quad" text, "year_9_2nd_quad" text, "year_9_3rd_quad" text, "year_9_4th_quad" text, "year_9_single_scull" text, "year_8_1st_quad" text, "year_8_2nd_quad" text, "year_8_3rd_quad" text, "year_8_4th_quad" text, "year_8_single_scull" text );
SELECT "year_8_1st_quad" FROM "winning_head_of_the_river_championship_e" WHERE "year_9_2nd_quad"='stm' AND "year_9_1st_quad"='som' AND "year_8_3rd_quad"='sta';
2-11318462-36
Which character was in the sexiest female category of the British Soap Awards?
CREATE TABLE "awards_and_nominations" ( "year" real, "result" text, "award" text, "category" text, "film_or_series" text, "character" text );
SELECT "character" FROM "awards_and_nominations" WHERE "category"='sexiest female' AND "award"='british soap awards';
2-1129111-1
Which film or series was nominated in the category of best fansite?
CREATE TABLE "awards_and_nominations" ( "year" real, "result" text, "award" text, "category" text, "film_or_series" text, "character" text );
SELECT "film_or_series" FROM "awards_and_nominations" WHERE "result"='nominated' AND "category"='best fansite';
2-1129111-1
What was the score of the home team that had an away team score of 9.9 (63)?
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_score"='9.9 (63)';
2-10887379-3
What is the current score for the home team that had an away score of 9.9 (63)?
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_score"='9.9 (63)';
2-10887379-3
Which venue had an away team score of 16.12 (108)?
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 "venue" FROM "round_3" WHERE "away_team_score"='16.12 (108)';
2-10887379-3
Who has an away team score of 2.2 (14)?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "home_team" FROM "round_12" WHERE "away_team_score"='2.2 (14)';
2-1204658-12
Where does Essendon play their home games?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "venue" FROM "round_12" WHERE "home_team"='essendon';
2-1204658-12
Where was the game held where the away team had a score of 2.2 (14)?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "venue" FROM "round_12" WHERE "away_team_score"='2.2 (14)';
2-1204658-12
What team plays their home games in Victoria Park?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "home_team" FROM "round_12" WHERE "venue"='victoria park';
2-1204658-12
Who was the away team in the game where the home team had a score of 4.9 (33)?
CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text );
SELECT "away_team" FROM "round_12" WHERE "home_team_score"='4.9 (33)';
2-1204658-12
What is the total attendance with a Report of sd.hr, and a Score of 3–1, and a Date of 14 apr 2001?
CREATE TABLE "2000_2010" ( "date" text, "competition" text, "ground" text, "score" text, "attendance" real, "report" text );
SELECT SUM("attendance") FROM "2000_2010" WHERE "report"='sd.hr' AND "score"='3–1' AND "date"='14 apr 2001';
2-10816490-4
What is the highest production code when the writer was brian egeston after season 5?
CREATE TABLE "season_6_2009_11" ( "series_num" real, "season_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" real );
SELECT MAX("production_code") FROM "season_6_2009_11" WHERE "written_by"='brian egeston' AND "season_num">5;
2-11630008-8
What was the record when chicago was the home team?
CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "record" FROM "march" WHERE "home"='chicago';
2-11960713-5
What Venue has an Away Team Score of 9.12 (66)?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_22" WHERE "away_team_score"='9.12 (66)';
2-10869537-22
What Venue has an Away team score of 11.13 (79)?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_22" WHERE "away_team_score"='11.13 (79)';
2-10869537-22
How many people were in the crowd when the Home Team was Hawthorn?
CREATE TABLE "round_22" ( "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_22" WHERE "home_team"='hawthorn';
2-10869537-22
On what date is the Crowd larger than 28,049, and an Home team score of 17.15 (117)?
CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_22" WHERE "crowd">'28,049' AND "home_team_score"='17.15 (117)';
2-10869537-22
What's the average Grid with Laps of 88?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("grid") FROM "classification" WHERE "laps"=88;
2-1122142-1
Which driver has a Time/Retired of +6 laps?
CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real );
SELECT "driver" FROM "classification" WHERE "time_retired"='+6 laps';
2-1122142-1
Which away team played a home team with a score of 10.9 (69) at Glenferrie Oval?
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 "away_team" FROM "round_18" WHERE "home_team_score"='10.9 (69)' AND "venue"='glenferrie oval';
2-10788451-18
What did Hawthorn score as the home 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 "home_team_score" FROM "round_18" WHERE "home_team"='hawthorn';
2-10788451-18
What team played South Melbourne at their home game?
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 "away_team" FROM "round_18" WHERE "home_team"='south melbourne';
2-10788451-18
What team played Geelong at their away game?
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 "home_team" FROM "round_18" WHERE "away_team"='geelong';
2-10788451-18
How many spectators were at the away game where the score was 9.6 (60)?
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 "crowd" FROM "round_18" WHERE "away_team_score"='9.6 (60)';
2-10788451-18
What is the 1989 result of the tournament in which Katerina Maleeva finished 4r in 1991?
CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text );
SELECT "1989" FROM "grand_slam_singles_performance_timeline" WHERE "1991"='4r';
2-1096038-14
What is the 1989 result of the tournament in which Katerina finished nh in 1986?
CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text );
SELECT "1989" FROM "grand_slam_singles_performance_timeline" WHERE "1986"='nh';
2-1096038-14
What is the total of the ranks that did not participate?
CREATE TABLE "asian_winter_games" ( "games" text, "gold" text, "silver" text, "bronze" text, "total" text, "rank" text );
SELECT "total" FROM "asian_winter_games" WHERE "rank"='did not participate';
2-10882501-2
What is the decile for Westminster Christian School with a state integrated authority?
CREATE TABLE "upper_harbour_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real );
SELECT "decile" FROM "upper_harbour_local_board" WHERE "authority"='state integrated' AND "name"='westminster christian school';
2-12017602-3
What are the years when the authority was state integrated and a decile of 9?
CREATE TABLE "upper_harbour_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real );
SELECT "years" FROM "upper_harbour_local_board" WHERE "authority"='state integrated' AND "decile"='9';
2-12017602-3
What did the team score while away in moorabbin 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"='moorabbin oval';
2-10826072-2
What is the highest Purse ($) that has a 1st Prize ($) of 45,000 at the gte kaanapali classic tournament?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text );
SELECT MAX("purse") FROM "tournament_results" WHERE "1st_prize"='45,000' AND "tournament"='gte kaanapali classic';
2-11622496-1
When was the general foods pga seniors' championship tournament?
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" text );
SELECT "date" FROM "tournament_results" WHERE "tournament"='general foods pga seniors'' championship';
2-11622496-1
What was the attendance on location when the record was 3–16?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "location_attendance" FROM "game_log" WHERE "record"='3–16';
2-11963921-4
On what date was a two-way tie (8) the high rebound?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "high_rebounds"='two-way tie (8)';
2-11963921-4
What is the home score with Away team score of 11.11 (77)?
CREATE TABLE "round_14" ( "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_14" WHERE "away_team_score"='11.11 (77)';
2-10809444-14
What is the home team score with Away team Richmond?
CREATE TABLE "round_14" ( "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_14" WHERE "away_team"='richmond';
2-10809444-14
Which date has an Away team score of 11.11 (77)?
CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "date" FROM "round_14" WHERE "away_team_score"='11.11 (77)';
2-10809444-14
What is the smallest crowd for victoria park?
CREATE TABLE "round_14" ( "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_14" WHERE "venue"='victoria park';
2-10809444-14
what is the highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5?
CREATE TABLE "lightweight_58_kg" ( "name" text, "bodyweight" real, "snatch" real, "clean_jerk" real, "total_kg" text );
SELECT MAX("clean_jerk") FROM "lightweight_58_kg" WHERE "total_kg"='200.0' AND "snatch">87.5;
2-11279593-11
what is the average bodyweight when snatch is 80?
CREATE TABLE "lightweight_58_kg" ( "name" text, "bodyweight" real, "snatch" real, "clean_jerk" real, "total_kg" text );
SELECT AVG("bodyweight") FROM "lightweight_58_kg" WHERE "snatch"=80;
2-11279593-11
What did the home team score at Windy Hill?
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"='windy hill';
2-10823719-17
When the home team scored 9.17 (71), what did the away team score?
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 "away_team_score" FROM "round_17" WHERE "home_team_score"='9.17 (71)';
2-10823719-17
When the home team was Richmond, what was the largest crowd?
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 MAX("crowd") FROM "round_17" WHERE "home_team"='richmond';
2-10823719-17
Tell me the average 1st prize for tennessee
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );
SELECT AVG("1st_prize") FROM "tournament_results" WHERE "location"='tennessee';
2-11621799-1
Tell me the winner of the comfort classic
CREATE TABLE "tournament_results" ( "date" text, "tournament" text, "location" text, "purse" real, "winner" text, "score" text, "1st_prize" real );
SELECT "winner" FROM "tournament_results" WHERE "tournament"='comfort classic';
2-11621799-1
How many percentages have losses fewer than 1 with finals appearances of 4?
CREATE TABLE "finals_appearances" ( "finals" real, "team" text, "wins" real, "losses" real, "pct" real );
SELECT COUNT("pct") FROM "finals_appearances" WHERE "losses"<1 AND "finals"=4;
2-1164512-3
Name the least age for the 1st dose for 3 doses of 2-3 drops
CREATE TABLE "routine_immunization_schedule_for_infant" ( "vaccine" text, "minimum_age_at_1st_dose" text, "number_of_doses" text, "dose" text, "minimum_interval_between_doses" text, "route" text );
SELECT "minimum_age_at_1st_dose" FROM "routine_immunization_schedule_for_infant" WHERE "number_of_doses"='3 doses' AND "dose"='2-3 drops';
2-11175093-1
How many doses for the bacillus calmette-guérin?
CREATE TABLE "routine_immunization_schedule_for_infant" ( "vaccine" text, "minimum_age_at_1st_dose" text, "number_of_doses" text, "dose" text, "minimum_interval_between_doses" text, "route" text );
SELECT "number_of_doses" FROM "routine_immunization_schedule_for_infant" WHERE "vaccine"='bacillus calmette-guérin';
2-11175093-1
Name the least interval between doses for minimum age being 1st dose at 6 weeks old for the diphtheria-pertussis-tetanus vaccine?
CREATE TABLE "routine_immunization_schedule_for_infant" ( "vaccine" text, "minimum_age_at_1st_dose" text, "number_of_doses" text, "dose" text, "minimum_interval_between_doses" text, "route" text );
SELECT "minimum_interval_between_doses" FROM "routine_immunization_schedule_for_infant" WHERE "minimum_age_at_1st_dose"='6 weeks old' AND "vaccine"='diphtheria-pertussis-tetanus vaccine';
2-11175093-1
What team did team carlton play while away?
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" FROM "round_4" WHERE "away_team"='carlton';
2-10789881-4
What did the home team score when the away team scored 12.12 (84)?
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_score"='12.12 (84)';
2-10789881-4
Which home team has a score of 10.15 (75)?
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" FROM "round_4" WHERE "home_team_score"='10.15 (75)';
2-10789881-4
What home team plays at Windy Hill?
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" FROM "round_4" WHERE "venue"='windy hill';
2-10789881-4
Which home team has a home score of 11.14 (80)?
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" FROM "round_4" WHERE "home_team_score"='11.14 (80)';
2-10789881-4
What is the name of the 1st Party that has a 3rd Party of Unionist, and 2nd Member of Sir John Boyd-Orr?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "1st_party" FROM "members_of_parliament" WHERE "3rd_party"='unionist' AND "2nd_member"='sir john boyd-orr';
2-1192925-1
Which Election had 2nd Member George Alexander Morrison, a 1st Party of Unionist, and 3rd Member of John Buchan?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "election" FROM "members_of_parliament" WHERE "2nd_member"='george alexander morrison' AND "1st_party"='unionist' AND "3rd_member"='john buchan';
2-1192925-1
What was the 2nd Party in the 1918 Election?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "2nd_party" FROM "members_of_parliament" WHERE "election"='1918';
2-1192925-1
What 3rd Member had 2nd Member of University Constituencies abolished?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "3rd_member" FROM "members_of_parliament" WHERE "2nd_member"='university constituencies abolished';
2-1192925-1
What was the 3rd Party in the Election of 1922?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "3rd_party" FROM "members_of_parliament" WHERE "election"='1922';
2-1192925-1
What was the 1st Party when the 2nd Party was Independent?
CREATE TABLE "members_of_parliament" ( "election" text, "1st_member" text, "1st_party" text, "2nd_member" text, "2nd_party" text, "3rd_member" text, "3rd_party" text );
SELECT "1st_party" FROM "members_of_parliament" WHERE "2nd_party"='independent';
2-1192925-1
What is the ERP W number where the frequency is smaller than 91.1?
CREATE TABLE "broadcast_translators_of_whrz_lp" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT MAX("erp_w") FROM "broadcast_translators_of_whrz_lp" WHERE "frequency_m_hz"<91.1;
2-11966193-1
What was the score of Collingwood?
CREATE TABLE "round_1" ( "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_1" WHERE "home_team"='collingwood';
2-10789881-1
Where did South Melbourne play?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_1" WHERE "away_team"='south melbourne';
2-10789881-1
What is the venue of North Melbourne?
CREATE TABLE "round_1" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text );
SELECT "venue" FROM "round_1" WHERE "home_team"='north melbourne';
2-10789881-1
What was the loss from the coyotes as opponents?
CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real );
SELECT "loss" FROM "regular_season" WHERE "opponent"='coyotes';
2-11801795-3
What was the last episode featuring Rob Estes?
CREATE TABLE "relatives_of_law_enforcement" ( "character" text, "actor" text, "first_episode" text, "final_episode" text, "episode_count" real );
SELECT "final_episode" FROM "relatives_of_law_enforcement" WHERE "actor"='rob estes';
2-11210576-2
What block has a COSPAR ID of 1995-060a?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "block" FROM "spacecraft" WHERE "cospar_id"='1995-060a';
2-1167202-1
What rocket has a Block of block i and a COSPAR ID of 1995-060a?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "rocket" FROM "spacecraft" WHERE "block"='block i' AND "cospar_id"='1995-060a';
2-1167202-1
What name has a Rocket of titan iv(401)b and a Block of block i/ii hybrid?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "name" FROM "spacecraft" WHERE "rocket"='titan iv(401)b' AND "block"='block i/ii hybrid';
2-1167202-1
What rocket has a block i/ii hybrid?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "rocket" FROM "spacecraft" WHERE "block"='block i/ii hybrid';
2-1167202-1
What rocket has a COSPAR ID of 2002-001a?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "rocket" FROM "spacecraft" WHERE "cospar_id"='2002-001a';
2-1167202-1
What COSPAR ID has a Launch date/time (UTC) of 1995-11-06, 05:15:01?
CREATE TABLE "spacecraft" ( "name" text, "block" text, "launch_date_time_utc" text, "cospar_id" text, "rocket" text );
SELECT "cospar_id" FROM "spacecraft" WHERE "launch_date_time_utc"='1995-11-06, 05:15:01';
2-1167202-1
On 15/04/07 in the competition Super League XII, what was the score?
CREATE TABLE "2007_fixtures_results" ( "date" text, "home_team" text, "score" text, "away_team" text, "goals" text, "attendance" real, "competition" text );
SELECT "score" FROM "2007_fixtures_results" WHERE "competition"='super league xii' AND "date"='15/04/07';
2-10814487-4
On 21/07/07, what was the score?
CREATE TABLE "2007_fixtures_results" ( "date" text, "home_team" text, "score" text, "away_team" text, "goals" text, "attendance" real, "competition" text );
SELECT "score" FROM "2007_fixtures_results" WHERE "date"='21/07/07';
2-10814487-4
What was the venue of season 1907?
CREATE TABLE "best_figures_in_a_match" ( "bowling" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "venue" FROM "best_figures_in_a_match" WHERE "season"='1907';
2-11204543-17
What is the bowling score of season 1907?
CREATE TABLE "best_figures_in_a_match" ( "bowling" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "bowling" FROM "best_figures_in_a_match" WHERE "season"='1907';
2-11204543-17
Which season did Tich Freeman play against opponent V Warwickshire?
CREATE TABLE "best_figures_in_a_match" ( "bowling" text, "player" text, "opponent" text, "venue" text, "season" text );
SELECT "season" FROM "best_figures_in_a_match" WHERE "player"='tich freeman' AND "opponent"='v warwickshire';
2-11204543-17
What was Essendon's score at the game where they were the away team and the crowd was larger than 15,130?
CREATE TABLE "round_15" ( "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_15" WHERE "crowd">'15,130' AND "away_team"='essendon';
2-10788451-15
What was South Melbourne's score as the home team?
CREATE TABLE "round_15" ( "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_15" WHERE "home_team"='south melbourne';
2-10788451-15
What was Richmond's score as the home team at the game with a crowd larger than 15,130?
CREATE TABLE "round_15" ( "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_15" WHERE "crowd">'15,130' AND "home_team"='richmond';
2-10788451-15