question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What year was Kelin nominated?
CREATE TABLE "submissions" ( "year_ceremony" text, "english_title" text, "russian_title" text, "kazakh_title" text, "director" text, "result" text );
SELECT "year_ceremony" FROM "submissions" WHERE "english_title"='kelin';
2-18058338-1
What was the to par score in the match that had a score of 76-71-78-67=292?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "winnings" real );
SELECT COUNT("to_par") FROM "final_round_sunday" WHERE "score"='76-71-78-67=292';
2-17974840-6
What is Robert Allenby's average to par score?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "winnings" real );
SELECT AVG("to_par") FROM "final_round_sunday" WHERE "player"='robert allenby';
2-17974840-6
Can you tell me the Tournament that has the 2009 of 1r, and the 2012 of w?
CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "tournament" FROM "mixed_doubles_performance_timeline" WHERE "2009"='1r' AND "2012"='w';
2-18014198-8
Can you tell me the 2010 that has the 2008 of grand slam tournaments?
CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2010" FROM "mixed_doubles_performance_timeline" WHERE "2008"='grand slam tournaments';
2-18014198-8
Can you tell me the 2009 that has the 2011 of A?
CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2009" FROM "mixed_doubles_performance_timeline" WHERE "2011"='a';
2-18014198-8
What is the to par for the player with total of 155?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT AVG("to_par") FROM "missed_the_cut" WHERE "total"=155;
2-18044375-3
Who won Bronze with Notes of 2.5km, 16controls?
CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text );
SELECT "bronze" FROM "women" WHERE "notes"='2.5km, 16controls';
2-17760670-7
Who won Gold later than 2004 with Notes of 2.73km, 14controls?
CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text );
SELECT "gold" FROM "women" WHERE "year">2004 AND "notes"='2.73km, 14controls';
2-17760670-7
Who won Bronze with notes of 2.5km, 14controls?
CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text );
SELECT "bronze" FROM "women" WHERE "notes"='2.5km, 14controls';
2-17760670-7
What are the Notes against a Silver for Jenny Johansson earlier than 2006?
CREATE TABLE "women" ( "year" real, "gold" text, "silver" text, "bronze" text, "notes" text );
SELECT "notes" FROM "women" WHERE "year"<2006 AND "silver"='jenny johansson';
2-17760670-7
What is the Constituency number for Meerut?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "constituency_number" FROM "assembly_segments" WHERE "name"='meerut';
2-18125794-1
What is the name for the constituency at number 48?
CREATE TABLE "assembly_segments" ( "constituency_number" text, "name" text, "reserved_for_sc_st_none" text, "district" text, "number_of_electorates_2009" real );
SELECT "name" FROM "assembly_segments" WHERE "constituency_number"='48';
2-18125794-1
When bronze is more than 3, what is the rank?
CREATE TABLE "summary" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "rank" FROM "summary" WHERE "bronze">3;
2-18343517-1
When rank is 7 and silver is less than 0, what is the total gold?
CREATE TABLE "summary" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "summary" WHERE "rank"='7' AND "silver"<0;
2-18343517-1
What player is from Wales?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "country"='wales';
2-18131508-6
What player scored 73-68-66=207?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "third_round" WHERE "score"='73-68-66=207';
2-18131508-6
What Seve Ballesteros's score?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round" WHERE "player"='seve ballesteros';
2-18131508-6
What country is Craig Parry from?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "player"='craig parry';
2-18131508-6
What country has a score of 66-73-69=208?
CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round" WHERE "score"='66-73-69=208';
2-18131508-6
What is Road Team, when Result is "74-71"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "road_team" FROM "nba_finals" WHERE "result"='74-71';
2-18027278-5
What is Result, when Date is "April 3"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "result" FROM "nba_finals" WHERE "date"='april 3';
2-18027278-5
What is Game, when Road Team is "Syracuse", and when Result is "96-89"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "game" FROM "nba_finals" WHERE "road_team"='syracuse' AND "result"='96-89';
2-18027278-5
What is Home Team, when Date is "April 10"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "home_team" FROM "nba_finals" WHERE "date"='april 10';
2-18027278-5
What is Game, when Road Team is "Syracuse", and when Result is "109-82"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "game" FROM "nba_finals" WHERE "road_team"='syracuse' AND "result"='109-82';
2-18027278-5
What is Road Team, when Date is "April 10"?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "road_team" FROM "nba_finals" WHERE "date"='april 10';
2-18027278-5
What was the earliest round with Neil Colzie and a pick smaller than 24?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "overall_pick" real, "player" text, "school_club_team" text, "position" text );
SELECT MIN("round") FROM "nfl_draft" WHERE "player"='neil colzie' AND "pick"<24;
2-18207285-1
What team had a pick of 24 and an overall pick of 310?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "overall_pick" real, "player" text, "school_club_team" text, "position" text );
SELECT "school_club_team" FROM "nfl_draft" WHERE "pick"=24 AND "overall_pick"=310;
2-18207285-1
What was the score of the replay game when watford was the away team?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "fifth_round_proper" WHERE "tie_no"='replay' AND "away_team"='watford';
2-17751837-5
Who was the home team when walsall was the away team?
CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "home_team" FROM "fifth_round_proper" WHERE "away_team"='walsall';
2-17751837-5
What is Name, when Venue is "Hong Kong"?
CREATE TABLE "1991_1992" ( "date" real, "name" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "name" FROM "1991_1992" WHERE "venue"='hong kong';
2-18098292-3
What is Name, when Venue is "Motherwell"?
CREATE TABLE "1991_1992" ( "date" real, "name" text, "venue" text, "winner" text, "runner_up" text, "score" text );
SELECT "name" FROM "1991_1992" WHERE "venue"='motherwell';
2-18098292-3
In 1987, what is the Runners-up when Stefan Edberg is Champion?
CREATE TABLE "singles_champions" ( "year" real, "name_of_tournament" text, "champions" text, "runners_up" text, "score" text );
SELECT "runners_up" FROM "singles_champions" WHERE "champions"='stefan edberg' AND "year"=1987;
2-17660329-1
What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Seiko Super Tennis Tournament?
CREATE TABLE "singles_champions" ( "year" real, "name_of_tournament" text, "champions" text, "runners_up" text, "score" text );
SELECT "runners_up" FROM "singles_champions" WHERE "champions"='ivan lendl' AND "name_of_tournament"='seiko super tennis' AND "year"<1990;
2-17660329-1
In What Tournament did Boris Becker have a Score of 7–6, 6–4?
CREATE TABLE "singles_champions" ( "year" real, "name_of_tournament" text, "champions" text, "runners_up" text, "score" text );
SELECT "name_of_tournament" FROM "singles_champions" WHERE "champions"='boris becker' AND "score"='7–6, 6–4';
2-17660329-1
What is the external weapon with the falcon shield animal?
CREATE TABLE "knights_weapons_items_and_vehicles" ( "knight" text, "weapon_item" text, "external_weapon" text, "shield_animal" text, "cart" text );
SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "shield_animal"='falcon';
2-1804821-1
What cart has a serpent shield animal?
CREATE TABLE "knights_weapons_items_and_vehicles" ( "knight" text, "weapon_item" text, "external_weapon" text, "shield_animal" text, "cart" text );
SELECT "cart" FROM "knights_weapons_items_and_vehicles" WHERE "shield_animal"='serpent';
2-1804821-1
What is the external weapon of knight zeke?
CREATE TABLE "knights_weapons_items_and_vehicles" ( "knight" text, "weapon_item" text, "external_weapon" text, "shield_animal" text, "cart" text );
SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "knight"='zeke';
2-1804821-1
What is the shield animal of knight phil?
CREATE TABLE "knights_weapons_items_and_vehicles" ( "knight" text, "weapon_item" text, "external_weapon" text, "shield_animal" text, "cart" text );
SELECT "shield_animal" FROM "knights_weapons_items_and_vehicles" WHERE "knight"='phil';
2-1804821-1
What is the external weapon with a ramhead cart?
CREATE TABLE "knights_weapons_items_and_vehicles" ( "knight" text, "weapon_item" text, "external_weapon" text, "shield_animal" text, "cart" text );
SELECT "external_weapon" FROM "knights_weapons_items_and_vehicles" WHERE "cart"='ramhead cart';
2-1804821-1
On what date was the away team Sheffield Wednesday?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "fourth_round_proper" WHERE "away_team"='sheffield wednesday';
2-17751811-4
What was the tie number for the game with an away team of Hartlepool United?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "tie_no" FROM "fourth_round_proper" WHERE "away_team"='hartlepool united';
2-17751811-4
What was the score in Tie number 16?
CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "fourth_round_proper" WHERE "tie_no"='16';
2-17751811-4
What is the duration of the commissioner from the zeeland province?
CREATE TABLE "king_s_commissioners" ( "province" text, "commissioner" text, "assumed_office" text, "duration" text, "party" text, "born" text );
SELECT "duration" FROM "king_s_commissioners" WHERE "province"='zeeland';
2-1825239-1
Which round has an H/A of H?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "round" FROM "fa_cup" WHERE "h_a"='h';
2-18223552-5
Rich round has an H/A of A and the opponent Sheffield United?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "round" FROM "fa_cup" WHERE "h_a"='a' AND "opponents"='sheffield united';
2-18223552-5
What is the population (2008) when the capital was Sanniquellie, created later than 1964?
CREATE TABLE "counties_and_districts" ( "mapnum" real, "county" text, "capital" text, "population_2008" real, "area" text, "created" real );
SELECT SUM("population_2008") FROM "counties_and_districts" WHERE "capital"='sanniquellie' AND "created">1964;
2-17791-1
What is the highest population (2008) created earlier than 1857, and the county was Sinoe?
CREATE TABLE "counties_and_districts" ( "mapnum" real, "county" text, "capital" text, "population_2008" real, "area" text, "created" real );
SELECT MAX("population_2008") FROM "counties_and_districts" WHERE "created"<1857 AND "county"='sinoe';
2-17791-1
What is the earliest created year when the map# was 10?
CREATE TABLE "counties_and_districts" ( "mapnum" real, "county" text, "capital" text, "population_2008" real, "area" text, "created" real );
SELECT MIN("created") FROM "counties_and_districts" WHERE "mapnum"=10;
2-17791-1
What is the Venue of the game with a Score of 0–0?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "scotland_national_team" WHERE "score"='0–0';
2-1763220-14
What is the Venue of the Friendly Competition with a Score of 1–4?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "scotland_national_team" WHERE "competition"='friendly' AND "score"='1–4';
2-1763220-14
What is the Venue of the WCQ5 Competition?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "scotland_national_team" WHERE "competition"='wcq5';
2-1763220-14
What is the Date of the Competition with a Score of 2–0?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "date" FROM "scotland_national_team" WHERE "score"='2–0';
2-1763220-14
What is the Venue of the Competition with a Score of 0–2?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "scotland_national_team" WHERE "score"='0–2';
2-1763220-14
What is the Venue of the Competition with a Score of 2–0?
CREATE TABLE "scotland_national_team" ( "date" text, "venue" text, "score" text, "competition" text, "report" text );
SELECT "venue" FROM "scotland_national_team" WHERE "score"='2–0';
2-1763220-14
What is the binary meaning for symbol p?
CREATE TABLE "systematic_multiples" ( "symbol" text, "prefix" text, "si_meaning" text, "binary_meaning" text, "size_difference" text );
SELECT "binary_meaning" FROM "systematic_multiples" WHERE "symbol"='p';
2-18075548-1
What;s the SI Meaning for symbol m?
CREATE TABLE "systematic_multiples" ( "symbol" text, "prefix" text, "si_meaning" text, "binary_meaning" text, "size_difference" text );
SELECT "si_meaning" FROM "systematic_multiples" WHERE "symbol"='m';
2-18075548-1
Which prefix has a binary meaning of 2 10 = 1024 1?
CREATE TABLE "systematic_multiples" ( "symbol" text, "prefix" text, "si_meaning" text, "binary_meaning" text, "size_difference" text );
SELECT "prefix" FROM "systematic_multiples" WHERE "binary_meaning"='2 10 = 1024 1';
2-18075548-1
What is the size difference for exa?
CREATE TABLE "systematic_multiples" ( "symbol" text, "prefix" text, "si_meaning" text, "binary_meaning" text, "size_difference" text );
SELECT "size_difference" FROM "systematic_multiples" WHERE "prefix"='exa';
2-18075548-1
What is the size difference for the binary meaning of 2 70 = 1024 7?
CREATE TABLE "systematic_multiples" ( "symbol" text, "prefix" text, "si_meaning" text, "binary_meaning" text, "size_difference" text );
SELECT "size_difference" FROM "systematic_multiples" WHERE "binary_meaning"='2 70 = 1024 7';
2-18075548-1
What is the score of champion masahiro kawamura?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" text, "winner_s_share" text );
SELECT "score" FROM "winners" WHERE "champion"='masahiro kawamura';
2-17784502-1
What dates was champion masahiro kawamura at the ibaraki country club tournament?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" text, "winner_s_share" text );
SELECT "dates" FROM "winners" WHERE "tournament_location"='ibaraki country club' AND "champion"='masahiro kawamura';
2-17784502-1
What is the winner's share of champion hideto tanihara?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" text, "winner_s_share" text );
SELECT "winner_s_share" FROM "winners" WHERE "champion"='hideto tanihara';
2-17784502-1
Who is the champion with a ¥200,000,000 purse?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "tournament_location" text, "purse" text, "winner_s_share" text );
SELECT "champion" FROM "winners" WHERE "purse"='¥200,000,000';
2-17784502-1
What round had Canada with a draft of 1970 and a pick of 7?
CREATE TABLE "draft_picks" ( "draft" real, "round" real, "pick" real, "player" text, "nationality" text );
SELECT MAX("round") FROM "draft_picks" WHERE "nationality"='canada' AND "draft"<1970 AND "pick"=7;
2-18272351-4
Which Placement in Miss Universe has a Delegate of janine mari raymundo tugonon?
CREATE TABLE "miss_universe" ( "year" real, "delegate" text, "hometown" text, "placement_in_miss_universe" text, "other_awards" text );
SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='janine mari raymundo tugonon';
2-1825751-6
Which Placement in Miss Universe is armi barbara quiray crespo?
CREATE TABLE "miss_universe" ( "year" real, "delegate" text, "hometown" text, "placement_in_miss_universe" text, "other_awards" text );
SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='armi barbara quiray crespo';
2-1825751-6
Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?
CREATE TABLE "miss_universe" ( "year" real, "delegate" text, "hometown" text, "placement_in_miss_universe" text, "other_awards" text );
SELECT "delegate" FROM "miss_universe" WHERE "placement_in_miss_universe"='fourth runner-up' AND "hometown"='makati , rizal';
2-1825751-6
What kind of Placement in Miss Universe that rosita cornell capuyon is in?
CREATE TABLE "miss_universe" ( "year" real, "delegate" text, "hometown" text, "placement_in_miss_universe" text, "other_awards" text );
SELECT "placement_in_miss_universe" FROM "miss_universe" WHERE "delegate"='rosita cornell capuyon';
2-1825751-6
Which Year jennifer tarol barrientos is in?
CREATE TABLE "miss_universe" ( "year" real, "delegate" text, "hometown" text, "placement_in_miss_universe" text, "other_awards" text );
SELECT MAX("year") FROM "miss_universe" WHERE "delegate"='jennifer tarol barrientos';
2-1825751-6
WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?
CREATE TABLE "major_competition_record" ( "year" real, "competition" text, "venue" text, "position" text, "event" text, "notes" real );
SELECT SUM("year") FROM "major_competition_record" WHERE "competition"='world championships' AND "notes"=39.01;
2-17651049-1
What's the sum of money ($) that angela park has won?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT SUM("money") FROM "final_round" WHERE "player"='angela park';
2-18324411-7
What number was the pick for the position of DT in 1952, after round 1, where the overall was less than 155?
CREATE TABLE "national_football_league" ( "year" text, "round" real, "pick" real, "overall" real, "position" text, "nfl_team" text );
SELECT "pick" FROM "national_football_league" WHERE "position"='dt' AND "round">1 AND "overall"<155 AND "year"='1952';
2-18371034-4
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
CREATE TABLE "national_football_league" ( "year" text, "round" real, "pick" real, "overall" real, "position" text, "nfl_team" text );
SELECT "nfl_team" FROM "national_football_league" WHERE "overall">118 AND "pick">9 AND "round">5 AND "position"='de';
2-18371034-4
What is 2006, when 2007 is "1R", and when 2002 is "Q2"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2006" FROM "singles_performance_timeline" WHERE "2007"='1r' AND "2002"='q2';
2-1818978-2
What is 2001, when 2007 is "1R", and when 2008 is "Q1"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2001" FROM "singles_performance_timeline" WHERE "2007"='1r' AND "2008"='q1';
2-1818978-2
What is Tournament, when 2003 is "A"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2003"='a';
2-1818978-2
What is 2012, when Tournament is "French Open"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2012" FROM "singles_performance_timeline" WHERE "tournament"='french open';
2-1818978-2
What is Tournament, when 2012 is "Grand Slam Tournaments"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='grand slam tournaments';
2-1818978-2
What is 2004, when 2010 is "Grand Slam Tournaments"?
CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );
SELECT "2004" FROM "singles_performance_timeline" WHERE "2010"='grand slam tournaments';
2-1818978-2
Which Member has an Electorate of southern melbourne?
CREATE TABLE "notes" ( "member" text, "party" text, "electorate" text, "state" text, "first_elected" real );
SELECT "member" FROM "notes" WHERE "electorate"='southern melbourne';
2-1784102-1
When was H.B. Higgins first elected?
CREATE TABLE "notes" ( "member" text, "party" text, "electorate" text, "state" text, "first_elected" real );
SELECT "first_elected" FROM "notes" WHERE "member"='h.b. higgins';
2-1784102-1
What is the highest number of byes when draws are larger than 0?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("byes") FROM "2011_ladder" WHERE "draws">0;
2-18036506-17
What is the lowest amount of losses when the goldne rivers is quambatook, wins are smaller than 15 and draws larger than 0?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MIN("losses") FROM "2011_ladder" WHERE "wins"<15 AND "golden_rivers"='quambatook' AND "draws">0;
2-18036506-17
How many losses did the golden rivers of ultima have when wins were less than 12 and byes larger than 2?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("losses") FROM "2011_ladder" WHERE "wins"<12 AND "golden_rivers"='ultima' AND "byes">2;
2-18036506-17
How many losses did the Golden rivers of hay have?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT AVG("losses") FROM "2011_ladder" WHERE "golden_rivers"='hay';
2-18036506-17
What is the total number of byes when the wins were 9?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("byes") FROM "2011_ladder" WHERE "wins"=9;
2-18036506-17
What is th average dras when wins are less than 12 and the against is 989?
CREATE TABLE "2011_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT AVG("draws") FROM "2011_ladder" WHERE "against"=989 AND "wins"<12;
2-18036506-17
What is the highest pole for class 125 cc and a WChmp more than 1?
CREATE TABLE "by_class" ( "class" text, "seas" text, "1st_gp" text, "1st_pod" text, "1st_win" text, "race" real, "podiums" real, "pole" real, "f_lap" real, "w_chmp" real );
SELECT MAX("pole") FROM "by_class" WHERE "class"='125 cc' AND "w_chmp">1;
2-180306-2
What is the highest flap for class 500 cc?
CREATE TABLE "by_class" ( "class" text, "seas" text, "1st_gp" text, "1st_pod" text, "1st_win" text, "race" real, "podiums" real, "pole" real, "f_lap" real, "w_chmp" real );
SELECT MAX("f_lap") FROM "by_class" WHERE "class"='500 cc';
2-180306-2
Name the Result F – A that has a League position of 1st on 4 january 1994?
CREATE TABLE "fa_premier_league" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text );
SELECT "result_f_a" FROM "fa_premier_league" WHERE "league_position"='1st' AND "date"='4 january 1994';
2-18223552-3
What is the Thai name for the word abbreviated มี.ค.?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "thai_name" FROM "months" WHERE "abbr"='มี.ค.';
2-180802-2
What is the English word that is abbreviated พ.ย.?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "english_name" FROM "months" WHERE "abbr"='พ.ย.';
2-180802-2
What is the transcription for the English word March?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "transcription" FROM "months" WHERE "english_name"='march';
2-180802-2
What is the zodiac sign for the English March?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "zodiac_sign" FROM "months" WHERE "english_name"='march';
2-180802-2
What is the abbreviation for the sign of Capricorn?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "abbr" FROM "months" WHERE "zodiac_sign"='capricorn';
2-180802-2
What is the transcription for the English March?
CREATE TABLE "months" ( "english_name" text, "thai_name" text, "abbr" text, "transcription" text, "sanskrit_word" text, "zodiac_sign" text );
SELECT "transcription" FROM "months" WHERE "english_name"='march';
2-180802-2
What date was the 1988 world group i edition with a result of 7–6 (7–5) , 6–3?
CREATE TABLE "singles_5_6" ( "edition" text, "round" text, "date" text, "surface" text, "opponent" text, "result" text );
SELECT "date" FROM "singles_5_6" WHERE "edition"='1988 world group i' AND "result"='7–6 (7–5) , 6–3';
2-18330817-9
Who was the opponent on april 24, 1999?
CREATE TABLE "singles_5_6" ( "edition" text, "round" text, "date" text, "surface" text, "opponent" text, "result" text );
SELECT "opponent" FROM "singles_5_6" WHERE "date"='april 24, 1999';
2-18330817-9
What's the result for the clay surface edition on july 17, 1992?
CREATE TABLE "singles_5_6" ( "edition" text, "round" text, "date" text, "surface" text, "opponent" text, "result" text );
SELECT "result" FROM "singles_5_6" WHERE "surface"='clay' AND "date"='july 17, 1992';
2-18330817-9