question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which loss has a Date of april 26?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "date"='april 26';
2-12206344-2
Which date has an Opponent of angels, and a Loss of sanderson (0–1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "date" FROM "game_log" WHERE "opponent"='angels' AND "loss"='sanderson (0–1)';
2-12206344-2
What is the largest Attendance with a Loss of darling (0–1)?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "loss"='darling (0–1)';
2-12206344-2
What is the maximum capacity of the San Agustin Gym?
CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text );
SELECT "maximum_seating_capacity" FROM "on_campus_arenas" WHERE "arena_venue"='san agustin gym';
2-12258195-2
Where is the Cagayan de Oro city located?
CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text );
SELECT "province_region" FROM "on_campus_arenas" WHERE "location"='cagayan de oro city';
2-12258195-2
Where is the Holy Cross of Davao College campus located?
CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text );
SELECT "province_region" FROM "on_campus_arenas" WHERE "home_campus"='holy cross of davao college';
2-12258195-2
Which campus has the San Agustin gym?
CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text );
SELECT "home_campus" FROM "on_campus_arenas" WHERE "arena_venue"='san agustin gym';
2-12258195-2
What year did the San Agustin gym open?
CREATE TABLE "on_campus_arenas" ( "arena_venue" text, "home_campus" text, "location" text, "province_region" text, "maximum_seating_capacity" text, "year_opened" text );
SELECT "year_opened" FROM "on_campus_arenas" WHERE "arena_venue"='san agustin gym';
2-12258195-2
Which player has a total bigger than 285 and a to par of +14?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "player" FROM "made_the_cut" WHERE "total">285 AND "to_par"='+14';
2-12278571-2
What is the highest total with a t12 finish?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT MAX("total") FROM "made_the_cut" WHERE "finish"='t12';
2-12278571-2
Which country has a finish of t4?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "country" FROM "made_the_cut" WHERE "finish"='t4';
2-12278571-2
What year won has a total less than 281?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "year_s_won" FROM "made_the_cut" WHERE "total"<281;
2-12278571-2
Which chassis is ranked 24th?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT "chassis" FROM "cart" WHERE "rank"='24th';
2-1219443-2
Which chassis was made in 1993?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT "chassis" FROM "cart" WHERE "year"=1993;
2-1219443-2
Which team is from earlier than 1994?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT "team" FROM "cart" WHERE "year"<1994;
2-1219443-2
What rank is later than 1994?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT "rank" FROM "cart" WHERE "year">1994;
2-1219443-2
What year did the King team have fewer than 10 points?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT AVG("year") FROM "cart" WHERE "team"='king' AND "points"<10;
2-1219443-2
What are the average points for the Project Indy team that has the Ford xb engine?
CREATE TABLE "cart" ( "year" real, "team" text, "chassis" text, "engine" text, "rank" text, "points" real );
SELECT AVG("points") FROM "cart" WHERE "engine"='ford xb' AND "team"='project indy';
2-1219443-2
Name the became consort for marriage of 4 april 1721
CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text );
SELECT "became_consort" FROM "house_of_oldenburg" WHERE "marriage"='4 april 1721';
2-12418234-5
Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721
CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text );
SELECT "birth" FROM "house_of_oldenburg" WHERE "spouse"='frederick iv' AND "became_consort"='4 april 1721';
2-12418234-5
Name the became consort for ceased to be consort of 4 april 1588 husband's death
CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text );
SELECT "became_consort" FROM "house_of_oldenburg" WHERE "ceased_to_be_consort"='4 april 1588 husband''s death';
2-12418234-5
Name the marriage of the person who is married for christian viii
CREATE TABLE "house_of_oldenburg" ( "birth" text, "marriage" text, "became_consort" text, "ceased_to_be_consort" text, "death" text, "spouse" text );
SELECT "marriage" FROM "house_of_oldenburg" WHERE "spouse"='christian viii';
2-12418234-5
Who has 48 points in the class of 500 cc?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT "team" FROM "motorcycle_grand_prix_results" WHERE "points"=48 AND "class"='500 cc';
2-1226505-2
How many wins does Benelli have before 1962?
CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );
SELECT COUNT("wins") FROM "motorcycle_grand_prix_results" WHERE "team"='benelli' AND "year"<1962;
2-1226505-2
Which is Natural Wood Keyboard with a Model of clps306?
CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text );
SELECT "natural_wood_keyboard" FROM "keyboard_feel_feature_matrix_for_current" WHERE "model"='clps306';
2-1291000-1
Which Graded Hammer (Non GH3) has a Model of cvp501?
CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text );
SELECT "graded_hammer_non_gh3" FROM "keyboard_feel_feature_matrix_for_current" WHERE "model"='cvp501';
2-1291000-1
Which Natural Wood Keyboard has a CLP380 ?
CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text );
SELECT "natural_wood_keyboard" FROM "keyboard_feel_feature_matrix_for_current" WHERE "model"='clp380';
2-1291000-1
Which Graded Hammer Three (GH3) shows Model of clp320?
CREATE TABLE "keyboard_feel_feature_matrix_for_current" ( "model" text, "graded_hammer_non_gh3" text, "graded_hammer_three_gh3" text, "natural_wood_keyboard" text, "synthetic_ivory_keytops" text );
SELECT "graded_hammer_three_gh3" FROM "keyboard_feel_feature_matrix_for_current" WHERE "model"='clp320';
2-1291000-1
What was the date for the French Grand Prix?
CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "date" FROM "world_championship_grands_prix" WHERE "name"='french grand prix';
2-12615783-1
What was the name for the race in the Miramas circuit?
CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "world_championship_grands_prix" WHERE "circuit"='miramas';
2-12615783-1
Which circuit was Delage the winning constructor for?
CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "circuit" FROM "world_championship_grands_prix" WHERE "winning_constructor"='delage';
2-12615783-1
What is the name for the Monza circuit race were Bugatti was the winning constructor?
CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "name" FROM "world_championship_grands_prix" WHERE "winning_constructor"='bugatti' AND "circuit"='monza';
2-12615783-1
Which report shows that Frank Lockhart was a winning driver?
CREATE TABLE "world_championship_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_drivers" text, "winning_constructor" text, "report" text );
SELECT "report" FROM "world_championship_grands_prix" WHERE "winning_drivers"='frank lockhart';
2-12615783-1
What Ranking has Gold less than 20 and the Event 1976 Toronto?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text );
SELECT "ranking" FROM "summer_paralympics" WHERE "gold"<20 AND "event"='1976 toronto';
2-12771081-1
What Gold has a Silver greater than 30 and a Total less than 107?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text );
SELECT "gold" FROM "summer_paralympics" WHERE "silver">30 AND "total"<107;
2-12771081-1
What is the highest Bronze with the Event 1972 Heidelberg and Total less than 5?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text );
SELECT MAX("bronze") FROM "summer_paralympics" WHERE "event"='1972 heidelberg' AND "total"<5;
2-12771081-1
What is the Total with the Event 2004 Athens and Gold less than 20?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text );
SELECT SUM("total") FROM "summer_paralympics" WHERE "event"='2004 athens' AND "gold"<20;
2-12771081-1
What is the lowest Bronze with a Ranking of 22nd of 32 and Gold larger than 4?
CREATE TABLE "summer_paralympics" ( "event" text, "gold" real, "silver" real, "bronze" real, "total" real, "ranking" text );
SELECT MIN("bronze") FROM "summer_paralympics" WHERE "ranking"='22nd of 32' AND "gold">4;
2-12771081-1
Which polling firm put T. Papadopoulos at 31%?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text );
SELECT "polling_firm" FROM "opinion_polls" WHERE "t_papadopoulos"='31%';
2-12185949-1
What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text );
SELECT "t_papadopoulos" FROM "opinion_polls" WHERE "i_kasoulidis"='27.1%';
2-12185949-1
What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text );
SELECT "k_themistokleous" FROM "opinion_polls" WHERE "i_kasoulidis"='30.1%';
2-12185949-1
What was the percentage for T. Papadopoulos when D. Christofias was 28.4%?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date_published" text, "t_papadopoulos" text, "d_christofias" text, "i_kasoulidis" text, "k_themistokleous" text );
SELECT "t_papadopoulos" FROM "opinion_polls" WHERE "d_christofias"='28.4%';
2-12185949-1
Which tournament has a 2007 of 2r, and a 2011 of 2r?
CREATE TABLE "women_s_doubles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );
SELECT "tournament" FROM "women_s_doubles_performance_timeline" WHERE "2007"='2r' AND "2011"='2r';
2-12406580-1
What is the number of titles for the city of győr with a rank larger than 4?
CREATE TABLE "cities" ( "rank" real, "city" text, "titles" real, "winning_clubs" text, "last_victory" real );
SELECT SUM("titles") FROM "cities" WHERE "city"='győr' AND "rank">4;
2-12777591-5
What is the Score of the Toronto Maple Leafs home game on February 1?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "home"='toronto maple leafs' AND "date"='february 1';
2-12789075-2
What is the score of the Boston Bruins away game on March 13?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "visitor"='boston bruins' AND "date"='march 13';
2-12789075-2
What visiting team has a record of 9–5–2?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "visitor" FROM "game_log" WHERE "record"='9–5–2';
2-12789075-2
What is the score of the game with a record of 12–8–3?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "record"='12–8–3';
2-12789075-2
What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "date" FROM "game_log" WHERE "home"='montreal canadiens' AND "record"='14–11–3';
2-12789075-2
What is the country of Craig Stadler?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "country" FROM "missed_the_cut" WHERE "player"='craig stadler';
2-12913985-3
What is the average total of Gay Brewer from the United States with a to par of 9?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT AVG("total") FROM "missed_the_cut" WHERE "country"='united states' AND "to_par"=9 AND "player"='gay brewer';
2-12913985-3
What was the finish by the player from West Germany?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "finish" FROM "made_the_cut" WHERE "country"='west germany';
2-12913985-2
What is the smallest goal during the 2006 fifa world cup qualification competition?
CREATE TABLE "budi_sudarsono_international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT MIN("goal") FROM "budi_sudarsono_international_goals" WHERE "competition"='2006 fifa world cup qualification';
2-12280535-1
Name the representative for party of whig
CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text );
SELECT "representative" FROM "external_links" WHERE "party"='whig';
2-12601334-1
Name the total number of years for chassis of maserati 250f and points less than 0
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT COUNT("year") FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "points"<0;
2-1235052-1
Name the engine with chassis of maserati 250f and entrant of luigi piotti with year less than 1957
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "entrant"='luigi piotti' AND "year"<1957;
2-1235052-1
Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT SUM("points") FROM "complete_formula_one_world_championship_" WHERE "chassis"='maserati 250f' AND "entrant"='officine alfieri maserati';
2-1235052-1
Name the lowest points for officine alfieri maserati
CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MIN("points") FROM "complete_formula_one_world_championship_" WHERE "entrant"='officine alfieri maserati';
2-1235052-1
How tall is Ye Fei?
CREATE TABLE "current_roster" ( "players" text, "sh_c" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "height" FROM "current_roster" WHERE "players"='ye fei';
2-12338203-1
What is the attendance of the game on July 26?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT SUM("attendance") FROM "game_log" WHERE "date"='july 26';
2-12383208-5
How many years did the team place 2nd in Antwerp, Belgium?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT COUNT("year") FROM "achievements" WHERE "venue"='antwerp, belgium' AND "result"='2nd';
2-12736407-1
What is the name of the venue that was used before 1991?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT "venue" FROM "achievements" WHERE "year"<1991;
2-12736407-1
How many years did the team place 2nd in Auckland, New Zealand?
CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text );
SELECT COUNT("year") FROM "achievements" WHERE "result"='2nd' AND "venue"='auckland, new zealand';
2-12736407-1
What was the started round for the competition that had the last match on January 16, 2008?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "started_round" FROM "overall" WHERE "last_match"='january 16, 2008';
2-12777091-3
On what date was the first match for the competition that ended its last match on December 16, 2007?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "first_match" FROM "overall" WHERE "last_match"='december 16, 2007';
2-12777091-3
What competition had a final round in the finals and the final position winners?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "competition" FROM "overall" WHERE "final_position"='winners' AND "final_round"='finals';
2-12777091-3
On what date did the first match occur for the competition that ended with a final position of winners and the final round in the finals?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "first_match" FROM "overall" WHERE "final_position"='winners' AND "final_round"='finals';
2-12777091-3
What competition had its first match on December 20, 2007?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "competition" FROM "overall" WHERE "first_match"='december 20, 2007';
2-12777091-3
What was the date of the first match of the Fifa Club World Cup that ended with the final position as winners?
CREATE TABLE "overall" ( "competition" text, "started_round" text, "final_position" text, "final_round" text, "first_match" text, "last_match" text );
SELECT "first_match" FROM "overall" WHERE "final_position"='winners' AND "competition"='fifa club world cup';
2-12777091-3
What was Len Sutton's total number of completed laps when his qualifying time was 142.653?
CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );
SELECT COUNT("laps") FROM "indy_500_results" WHERE "qual"='142.653';
2-1252129-1
What call sign has a frequency of 91.3 MHz?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "frequency_m_hz"=91.3;
2-12760940-1
What city of license has a value of k293bg for its call sign?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "city_of_license" FROM "translators" WHERE "call_sign"='k293bg';
2-12760940-1
When the frequency is 103.7 MHz and the ERP W is more than 10, what is the call sign?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "erp_w">10 AND "frequency_m_hz"=103.7;
2-12760940-1
In Los Banos, California, when the ERP W is than 10, what is the average Frequency MHz?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT AVG("frequency_m_hz") FROM "translators" WHERE "city_of_license"='los banos, california' AND "erp_w"<10;
2-12760940-1
What is the call sign when the frequency is less than 95.5 MHz, and a ERP W is higher than 10?
CREATE TABLE "translators" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "erp_w" real, "class" text, "fcc_info" text );
SELECT "call_sign" FROM "translators" WHERE "frequency_m_hz"<95.5 AND "erp_w">10;
2-12760940-1
Name the player with score of 73-69-74-71=287
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "player" FROM "final_round" WHERE "score"='73-69-74-71=287';
2-12523044-7
Name the sum To par for score of 71-74-71-72=288
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT SUM("to_par") FROM "final_round" WHERE "score"='71-74-71-72=288';
2-12523044-7
Tell me the tournament for kathy horvath opponent
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "tournament" FROM "references" WHERE "opponent"='kathy horvath';
2-12163175-1
Name the date for hard surface at maybelline classic with opponent of wendy turnbull
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "date" FROM "references" WHERE "surface"='hard' AND "tournament"='maybelline classic' AND "opponent"='wendy turnbull';
2-12163175-1
Name the tournament for semifinal hard surface for opponent of pam casale
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "tournament" FROM "references" WHERE "round"='semifinal' AND "surface"='hard' AND "opponent"='pam casale';
2-12163175-1
Name the date for grass surface for quarterfinal at the nsw building society open tournament
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "date" FROM "references" WHERE "surface"='grass' AND "round"='quarterfinal' AND "tournament"='nsw building society open';
2-12163175-1
Name the surface for united airlines tournament of champions final round
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "surface" FROM "references" WHERE "tournament"='united airlines tournament of champions' AND "round"='final';
2-12163175-1
Name the date for chris evert opponent and carpet surface
CREATE TABLE "references" ( "tournament" text, "date" text, "surface" text, "round" text, "opponent" text );
SELECT "date" FROM "references" WHERE "opponent"='chris evert' AND "surface"='carpet';
2-12163175-1
Name the venue for 25 may 2008
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "date"='25 may 2008';
2-12440123-2
Name the score for 2015 afc asian cup qualification
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='2015 afc asian cup qualification';
2-12440123-2
Name the competition for 13 december 2012
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "date"='13 december 2012';
2-12440123-2
What was arrows racing team's highest points after 1982?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT MAX("points") FROM "complete_formula_one_results" WHERE "entrant"='arrows racing team' AND "year">1982;
2-1226503-1
How many years has 2 points?
CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );
SELECT SUM("year") FROM "complete_formula_one_results" WHERE "points"=2;
2-1226503-1
Name the catalogue with song title of love me tonight
CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text );
SELECT "catalogue" FROM "disc_two" WHERE "song_title"='love me tonight';
2-12378355-3
Name the song title with time of 1:51
CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text );
SELECT "song_title" FROM "disc_two" WHERE "time"='1:51';
2-12378355-3
Name the least track with song of little sister
CREATE TABLE "disc_two" ( "track" real, "recorded" text, "catalogue" text, "release_date" text, "song_title" text, "time" text );
SELECT MIN("track") FROM "disc_two" WHERE "song_title"='little sister';
2-12378355-3
What player has a score of 79?
CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text );
SELECT "player" FROM "highest_scores" WHERE "score"='79';
2-12562212-5
Who played on waca ground and scored 79 points?
CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text );
SELECT "opponent" FROM "highest_scores" WHERE "ground"='waca ground' AND "score"='79';
2-12562212-5
What player had 49 balls?
CREATE TABLE "highest_scores" ( "player" text, "score" text, "balls" real, "opponent" text, "ground" text );
SELECT "player" FROM "highest_scores" WHERE "balls"=49;
2-12562212-5
What was the highest attendance of a game that had a score of 3-5?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT MAX("attendance") FROM "game_log" WHERE "score"='3-5';
2-13041545-7
Who took the loss in the game that ended with a 54-61 record?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );
SELECT "loss" FROM "game_log" WHERE "record"='54-61';
2-13041545-7
Name the report with 125cc winner of simone corsi and circuit of valencia
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "report" FROM "grands_prix" WHERE "125cc_winner"='simone corsi' AND "circuit"='valencia';
2-12186237-1
Name the motogp winner with 125cc winner of gábor talmácsi and round of 13
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "moto_gp_winner" FROM "grands_prix" WHERE "125cc_winner"='gábor talmácsi' AND "round"=13;
2-12186237-1
Name the 125cc winner with circuit of estoril
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "125cc_winner" FROM "grands_prix" WHERE "circuit"='estoril';
2-12186237-1
Name the date for motogp winner of casey stoner and grand prix of valencian grand prix
CREATE TABLE "grands_prix" ( "round" real, "date" text, "grand_prix" text, "circuit" text, "125cc_winner" text, "250cc_winner" text, "moto_gp_winner" text, "report" text );
SELECT "date" FROM "grands_prix" WHERE "moto_gp_winner"='casey stoner' AND "grand_prix"='valencian grand prix';
2-12186237-1