question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony?
CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text );
SELECT "production" FROM "awards" WHERE "result"='nominated' AND "year"=2009 AND "award_ceremony"='helpmann awards';
2-17948681-1
Which Award Ceremony in 2009 has a Role of Glinda?
CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text );
SELECT "award_ceremony" FROM "awards" WHERE "role"='glinda' AND "year"=2009;
2-17948681-1
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text );
SELECT "year" FROM "awards" WHERE "production"='wicked' AND "award_ceremony"='helpmann awards';
2-17948681-1
What was the Result in 2013?
CREATE TABLE "awards" ( "year" real, "award_ceremony" text, "role" text, "production" text, "result" text );
SELECT "result" FROM "awards" WHERE "year"=2013;
2-17948681-1
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT "rider" FROM "supersport_race_classification" WHERE "laps"<22 AND "grid">19 AND "time"='retirement' AND "bike"='kawasaki zx-6r';
2-18145978-3
What is the maximum grid when the laps were greater than 22?
CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT MAX("grid") FROM "supersport_race_classification" WHERE "laps">22;
2-18145978-3
What is the minimum grid when there was more than 22 laps?
CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT MIN("grid") FROM "supersport_race_classification" WHERE "laps">22;
2-18145978-3
How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
CREATE TABLE "supersport_race_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT SUM("laps") FROM "supersport_race_classification" WHERE "bike"='honda cbr600rr' AND "grid"=7;
2-18145978-3
Which sign has a fall of Venus?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "sign" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "fall"='venus';
2-1766827-1
Which exaltation has a fall of moon?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "exaltation" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "fall"='moon';
2-1766827-1
Which exaltation has a domicile of Saturn and a fall of Jupiter?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "exaltation" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "domicile"='saturn' AND "fall"='jupiter';
2-1766827-1
Which exaltation has a domicile of Saturn and Capricorn as a sign?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "exaltation" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "domicile"='saturn' AND "sign"='capricorn';
2-1766827-1
Which detriment has a domicile of mercury and Virgo as a sign?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "detriment" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "domicile"='mercury' AND "sign"='virgo';
2-1766827-1
Which exaltation has a detriment of Saturn and Cancer as a sign?
CREATE TABLE "table_of_the_most_commonly_used_of_the_t" ( "sign" text, "domicile" text, "detriment" text, "exaltation" text, "fall" text );
SELECT "exaltation" FROM "table_of_the_most_commonly_used_of_the_t" WHERE "detriment"='saturn' AND "sign"='cancer';
2-1766827-1
What was the draw when the points against was 234?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "drawn" FROM "league_table" WHERE "points_against"='234';
2-17941032-2
What was the try bonus when the points for was 608?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "try_bonus" FROM "league_table" WHERE "points_for"='608';
2-17941032-2
Which Team has a Previous team of san diego rockets, and a Position of f?
CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text );
SELECT "team" FROM "selections" WHERE "previous_team"='san diego rockets' AND "pos"='f';
2-17690549-3
Which Nationality has a Previous team of new york knicks, and more than 3 Years of NBA experience?
CREATE TABLE "selections" ( "player" text, "pos" text, "nationality" text, "team" text, "previous_team" text, "years_of_nba_experience_a" real, "career_with_the_franchise_b" text );
SELECT "nationality" FROM "selections" WHERE "previous_team"='new york knicks' AND "years_of_nba_experience_a">3;
2-17690549-3
What is team 1 when team 2 is Manchester United?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "round_of_16" WHERE "team_2"='manchester united';
2-18255941-28
What is the agg when team 1 is Milan?
CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "agg" FROM "round_of_16" WHERE "team_1"='milan';
2-18255941-28
Which team is ranked #10?
CREATE TABLE "general_standings" ( "rank" real, "cyclist" text, "team" text, "time" text, "uci_pro_tour_points" real );
SELECT "team" FROM "general_standings" WHERE "rank"=10;
2-17672526-1
Which cyclist has UCI ProTour points of 40?
CREATE TABLE "general_standings" ( "rank" real, "cyclist" text, "team" text, "time" text, "uci_pro_tour_points" real );
SELECT "cyclist" FROM "general_standings" WHERE "uci_pro_tour_points"=40;
2-17672526-1
What is the province with a contestant of tatiana vargas rosales?
CREATE TABLE "delegates" ( "province_community" text, "contestant" text, "height" text, "hometown" text, "geographical_regions" text );
SELECT "province_community" FROM "delegates" WHERE "contestant"='tatiana vargas rosales';
2-18349697-1
Which province has the contestant elixandra tobias carasco?
CREATE TABLE "delegates" ( "province_community" text, "contestant" text, "height" text, "hometown" text, "geographical_regions" text );
SELECT "province_community" FROM "delegates" WHERE "contestant"='elixandra tobias carasco';
2-18349697-1
What is the 2005 sum with a 2009 less than 1,850,654?
CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );
SELECT SUM("2005") FROM "statistics" WHERE "2009"<'1,850,654';
2-1789618-2
What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?
CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );
SELECT AVG("2003") FROM "statistics" WHERE "2010"='2,154,170' AND "2008"<'2,266,716';
2-1789618-2
What is the average 2009 with a 2003 greater than 3,791, 107,982 in 2007, and a 2006 less than 98,264?
CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );
SELECT AVG("2009") FROM "statistics" WHERE "2003">'3,791' AND "2007"='107,982' AND "2006"<'98,264';
2-1789618-2
What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?
CREATE TABLE "statistics" ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text );
SELECT SUM("2008") FROM "statistics" WHERE "2007"='4,244,115' AND "2003"<'3,296,267';
2-1789618-2
What is 2011, when 2009 is "A"?
CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "doubles" WHERE "2009"='a';
2-17859751-6
What is 2009, when Tournament is "Year-End Ranking"?
CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2009" FROM "doubles" WHERE "tournament"='year-end ranking';
2-17859751-6
What is 2011, when 2012 is "1R"?
CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "doubles" WHERE "2012"='1r';
2-17859751-6
What is 2012, when 2009 is "A"?
CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2012" FROM "doubles" WHERE "2009"='a';
2-17859751-6
What is 2011, when 2012 is "A", and when Tournament is "French Open"?
CREATE TABLE "doubles" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "2011" FROM "doubles" WHERE "2012"='a' AND "tournament"='french open';
2-17859751-6
What is the largest Against with an Opposing Teams of wales?
CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT MAX("against") FROM "1989" WHERE "opposing_teams"='wales';
2-18178608-10
What Status has a Date of 18/03/1989?
CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "status" FROM "1989" WHERE "date"='18/03/1989';
2-18178608-10
What Venue has a Status of five nations, and Against of 0?
CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "1989" WHERE "status"='five nations' AND "against"=0;
2-18178608-10
What is the smallest Against with a Date of 18/02/1989?
CREATE TABLE "1989" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT MIN("against") FROM "1989" WHERE "date"='18/02/1989';
2-18178608-10
What are the additional notes for Cotabato?
CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );
SELECT "additional_notes" FROM "domestic_violence" WHERE "location"='cotabato';
2-17794738-10
What country in Kunlong in?
CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );
SELECT "country" FROM "domestic_violence" WHERE "location"='kunlong';
2-17794738-10
Who went on a rampage in Baghdad?
CREATE TABLE "domestic_violence" ( "perpetrator" text, "date" text, "year" real, "location" text, "country" text, "killed" real, "additional_notes" text );
SELECT "perpetrator" FROM "domestic_violence" WHERE "location"='baghdad';
2-17794738-10
What's the rank that has a total of less than 1?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("rank") FROM "performances_by_nation" WHERE "total"<1;
2-17838527-2
What's the bronze medal count when the silver is less than 3 and the gold is 1?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "performances_by_nation" WHERE "gold"=1 AND "silver"<3;
2-17838527-2
What's the gold medal count ranked 2 with a total of more than 21?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "performances_by_nation" WHERE "rank"=2 AND "total">21;
2-17838527-2
What's the smallest total with a bronze count of 5 and a gold count less than 8?
CREATE TABLE "performances_by_nation" ( "rank" real, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("total") FROM "performances_by_nation" WHERE "bronze"=5 AND "gold"<8;
2-17838527-2
What is the party for the representative who was first elected before 2002 and the results were re-elected?
CREATE TABLE "oklahoma" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "party" FROM "oklahoma" WHERE "results"='re-elected' AND "first_elected"<2002;
2-1805191-37
Incumbent John Sullivan has what as biggest first elected?
CREATE TABLE "oklahoma" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MAX("first_elected") FROM "oklahoma" WHERE "incumbent"='john sullivan';
2-1805191-37
What Location has Years Member of 1963–1968?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "location" FROM "former_members" WHERE "years_member"='1963–1968';
2-18304058-3
What School has Colors of navy blue orange?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "school" FROM "former_members" WHERE "colors"='navy blue orange';
2-18304058-3
What Years Member has a School of cairo high school?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "years_member" FROM "former_members" WHERE "school"='cairo high school';
2-18304058-3
What Colors has a School of sesser high school?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "colors" FROM "former_members" WHERE "school"='sesser high school';
2-18304058-3
What Colors has a School of zeigler high school?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "colors" FROM "former_members" WHERE "school"='zeigler high school';
2-18304058-3
What Nickname(s) has a Location of elkville, illinois?
CREATE TABLE "former_members" ( "school" text, "location" text, "nickname_s" text, "colors" text, "years_member" text );
SELECT "nickname_s" FROM "former_members" WHERE "location"='elkville, illinois';
2-18304058-3
Which Season 1 has a Season 7 of david chilton?
CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );
SELECT "season_1" FROM "english_version" WHERE "season_7"='david chilton';
2-1787654-1
Which Seat has a Season 6 of kevin o'leary?
CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );
SELECT MAX("seat") FROM "english_version" WHERE "season_6"='kevin o''leary';
2-1787654-1
Which Season 7 has a Season 6 of jim treliving?
CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );
SELECT "season_7" FROM "english_version" WHERE "season_6"='jim treliving';
2-1787654-1
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );
SELECT "season_7" FROM "english_version" WHERE "seat">1 AND "season_3"='w. brett wilson';
2-1787654-1
Which Season 3 has a Season 7 of jim treliving?
CREATE TABLE "english_version" ( "seat" real, "season_1" text, "season_2" text, "season_3" text, "season_6" text, "season_7" text );
SELECT "season_3" FROM "english_version" WHERE "season_7"='jim treliving';
2-1787654-1
What is Weekly Winner, when Air Date is "July 4, 2008"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "weekly_winner" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';
2-18125441-1
What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "rating" FROM "ratings_and_results" WHERE "air_date"='july 24, 2008*' AND "weekly_winner"='sales rep. oscar ledezma';
2-18125441-1
What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "viewers" FROM "ratings_and_results" WHERE "18_49"='n/a' AND "weekly_winner"='wedding dj chris dixon';
2-18125441-1
What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "18_49" FROM "ratings_and_results" WHERE "weekly_winner"='youth counselor justin meece';
2-18125441-1
What is Viewers, when Air Date is "July 4, 2008"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "viewers" FROM "ratings_and_results" WHERE "air_date"='july 4, 2008';
2-18125441-1
What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?
CREATE TABLE "ratings_and_results" ( "air_date" text, "rating" text, "18_49" text, "viewers" text, "weekly_winner" text );
SELECT "air_date" FROM "ratings_and_results" WHERE "rating"='n/a' AND "weekly_winner"='wedding dj chris dixon';
2-18125441-1
What was the record for Dec 16?
CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location_attendance" text, "record" text, "streak" text );
SELECT "record" FROM "game_log" WHERE "date"='dec 16';
2-18289217-4
What is the 2010 with a qf in 2011?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2010" FROM "doubles_performance_timeline" WHERE "2011"='qf';
2-17666765-5
What is the 2013 of the grand slam tournaments?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "tournament"='grand slam tournaments';
2-17666765-5
What is the 2013 with a 2r in 2010 and a qf in 2011?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2013" FROM "doubles_performance_timeline" WHERE "2010"='2r' AND "2011"='qf';
2-17666765-5
What is the 2011 with 1r in 2010?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2011" FROM "doubles_performance_timeline" WHERE "2010"='1r';
2-17666765-5
What is the 2012 with A in 2009 and 2r in 2010?
CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2012" FROM "doubles_performance_timeline" WHERE "2009"='a' AND "2010"='2r';
2-17666765-5
What is the poison/klesha word for moha avijja in pali?
CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );
SELECT "poison_klesha" FROM "five_poisons" WHERE "pali"='moha avijja';
2-1782201-1
What is the poision/klesha word for the tibetan word gti mug ma rig pa?
CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );
SELECT "poison_klesha" FROM "five_poisons" WHERE "tibetan"='gti mug ma rig pa';
2-1782201-1
What is the pali word for pride in poison/klesha?
CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );
SELECT "pali" FROM "five_poisons" WHERE "poison_klesha"='pride';
2-1782201-1
What is the pali word for phrag dog in tibetan?
CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );
SELECT "pali" FROM "five_poisons" WHERE "tibetan"='phrag dog';
2-1782201-1
What is the pali word for rāga in sanskrit?
CREATE TABLE "five_poisons" ( "poison_klesha" text, "sanskrit" text, "pali" text, "tibetan" text, "alternate_translations" text );
SELECT "pali" FROM "five_poisons" WHERE "sanskrit"='rāga';
2-1782201-1
What is the attendance total when Southend Manor is the away team and there are less than 93 ties?
CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT COUNT("attendance") FROM "ties" WHERE "away_team"='southend manor' AND "tie_no"<93;
2-18054397-6
What is the score when the attendance is less than 83 and Raunds Town is the away team?
CREATE TABLE "ties" ( "tie_no" real, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT "score" FROM "ties" WHERE "attendance"<83 AND "away_team"='raunds town';
2-18054397-6
Who was the player that was picked at a number less than 205 from the Michigan State Spartans?
CREATE TABLE "round_seven" ( "pick_num" real, "player" text, "nationality" text, "position" text, "team_from" text, "league_from" text );
SELECT "player" FROM "round_seven" WHERE "pick_num"<205 AND "team_from"='michigan state spartans';
2-18026409-9
What is the average Density of 53 No. munic.?
CREATE TABLE "list" ( "abbr" text, "canton" text, "capital" text, "density_per_km" real, "no_munic" real, "s_official_language" text );
SELECT AVG("density_per_km") FROM "list" WHERE "no_munic"=53;
2-180752-1
Name the Status of Venue of sydney sports ground , sydney?
CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "status" FROM "1963" WHERE "venue"='sydney sports ground , sydney';
2-18179114-4
Which Status has a Opposing Teams of wales?
CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "status" FROM "1963" WHERE "opposing_teams"='wales';
2-18179114-4
WHICH Date has a Venue of lancaster park , christchurch?
CREATE TABLE "1963" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "date" FROM "1963" WHERE "venue"='lancaster park , christchurch';
2-18179114-4
WHAT IS THE TEAM WITH DAVE COGGIN?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "team" FROM "first_round_selections" WHERE "player"='dave coggin';
2-17836233-1
WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "team" FROM "first_round_selections" WHERE "position"='of' AND "pick"=24;
2-17836233-1
WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "position" FROM "first_round_selections" WHERE "team"='boston red sox' AND "player"='corey jenkins';
2-17836233-1
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "player" FROM "first_round_selections" WHERE "hometown_school"='upland high school';
2-17836233-1
WHAT PLAYER HAS THE OAKLAND ATHLETICS?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "player" FROM "first_round_selections" WHERE "team"='oakland athletics';
2-17836233-1
WHAT TEAM HAS A PICK LARGER THAN 29?
CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "hometown_school" text );
SELECT "team" FROM "first_round_selections" WHERE "pick">29;
2-17836233-1
Which rampage killed 8 in Israel?
CREATE TABLE "vehicular_manslaughter" ( "name" text, "date" text, "year" real, "country" text, "killed" text, "injured" text );
SELECT "name" FROM "vehicular_manslaughter" WHERE "killed"='8' AND "country"='israel';
2-17794738-11
What coutry had a rampaged killing 14 in 1965?
CREATE TABLE "vehicular_manslaughter" ( "name" text, "date" text, "year" real, "country" text, "killed" text, "injured" text );
SELECT "country" FROM "vehicular_manslaughter" WHERE "killed"='14' AND "year"=1965;
2-17794738-11
What is Club, when Drawn is "0", and when Try Bonus is "5"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "club" FROM "league_table" WHERE "drawn"='0' AND "try_bonus"='5';
2-17675675-1
What is Club, when Points is "82"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "club" FROM "league_table" WHERE "points"='82';
2-17675675-1
What is Played, when Points Against is "374"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "played" FROM "league_table" WHERE "points_against"='374';
2-17675675-1
What is Points Against, when Try Bonus is "Try bonus"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "points_against" FROM "league_table" WHERE "try_bonus"='try bonus';
2-17675675-1
What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "try_bonus" FROM "league_table" WHERE "losing_bonus"='1' AND "points_for"='179';
2-17675675-1
What is Points For, when Club is "Tycroes RFC"?
CREATE TABLE "league_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bonus" text, "points" text );
SELECT "points_for" FROM "league_table" WHERE "club"='tycroes rfc';
2-17675675-1
When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?
CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );
SELECT "date" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll"<63 AND "location"='penygraig';
2-1808199-2
Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?
CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );
SELECT "location" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "death_toll">38 AND "date"='10 june';
2-1808199-2
Which Year has a Location of dinas on 13 january?
CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );
SELECT "year" FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "location"='dinas' AND "date"='13 january';
2-1808199-2
Which Year has a cause of firedamp and a Death toll larger than 11?
CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );
SELECT SUM("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='firedamp' AND "death_toll">11;
2-1808199-2
Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?
CREATE TABLE "mining_disasters_in_the_rhondda_valley_1" ( "colliery" text, "location" text, "date" text, "year" real, "death_toll" real, "cause" text );
SELECT MIN("year") FROM "mining_disasters_in_the_rhondda_valley_1" WHERE "cause"='gas explosion' AND "colliery"='tylorstown colliery' AND "death_toll">57;
2-1808199-2