question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
What Elimination number is listed againt Eliminated by Sonjay Dutt?
CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "elimination" FROM "six_man_elimination_tag_team_match" WHERE "eliminated_by"='sonjay dutt';
2-17692986-2
What time is listed against the Wrestler Jimmy Rave?
CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "time" FROM "six_man_elimination_tag_team_match" WHERE "wrestler"='jimmy rave';
2-17692986-2
Which Wrestler has an Elimination of 5?
CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "wrestler" FROM "six_man_elimination_tag_team_match" WHERE "elimination"='5';
2-17692986-2
What time is listed against Elimination number 2?
CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text );
SELECT "time" FROM "six_man_elimination_tag_team_match" WHERE "elimination"='2';
2-17692986-2
What score has 2 as the place?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "place"='2';
2-18150723-6
What is the average money (£) that has +8 as the to par, with 73-72-72-71=288 as the score?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT AVG("money") FROM "final_round" WHERE "to_par"='+8' AND "score"='73-72-72-71=288';
2-18150723-6
What place has money (£) greater than 17,333 with +8 as the to par, and seve ballesteros as the player?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "place" FROM "final_round" WHERE "money">'17,333' AND "to_par"='+8' AND "player"='seve ballesteros';
2-18150723-6
What country has t6 as the place, with seve ballesteros as the player?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_round" WHERE "place"='t6' AND "player"='seve ballesteros';
2-18150723-6
What year weas John McEnroe the champion?
CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );
SELECT AVG("year") FROM "singles_champions" WHERE "champion"='john mcenroe';
2-17814626-1
Who was the runner-up, when the champion was Björn Borg after 1978?
CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );
SELECT "runner_up" FROM "singles_champions" WHERE "champion"='björn borg' AND "year">1978;
2-17814626-1
Who was the champion earlier than 1978 when the runner-up was Jimmy Connors?
CREATE TABLE "singles_champions" ( "location" text, "year" real, "champion" text, "runner_up" text, "score" text );
SELECT "champion" FROM "singles_champions" WHERE "runner_up"='jimmy connors' AND "year"<1978;
2-17814626-1
Which municipality has the code 2401?
CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real );
SELECT "municipality" FROM "references" WHERE "code"=2401;
2-1772327-1
What is the population of Danderyd municipality in Stockholm County with a code lower than 162?
CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real );
SELECT COUNT("population") FROM "references" WHERE "county"='stockholm county' AND "municipality"='danderyd municipality' AND "code"<162;
2-1772327-1
What is the total area for a code less than 1862 and a density (per km 2 land) of 21.6?
CREATE TABLE "references" ( "code" real, "municipality" text, "county" text, "population" real, "total_area" text, "density_per_km_2_land" real );
SELECT "total_area" FROM "references" WHERE "code"<1862 AND "density_per_km_2_land"=21.6;
2-1772327-1
what total was the lowest and had a to par of e?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text );
SELECT MIN("total") FROM "missed_the_cut" WHERE "to_par"='e';
2-18133211-3
Which player played in the united states and scored a total of 144 points?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text );
SELECT "player" FROM "missed_the_cut" WHERE "country"='united states' AND "total"=144;
2-18133211-3
What is Trailing Party % Votes, when Party Won is "Bharatiya Janta Party", and when Trailing Party is "Indian National Congress"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT "trailing_party_pct_votes" FROM "members_of_parliament" WHERE "party_won"='bharatiya janta party' AND "trailing_party"='indian national congress';
2-18106841-1
What is the total number of Year(s), when Trailing Party is "Indian National Congress", and when Trailing Party % Votes is "27.42%"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT COUNT("year") FROM "members_of_parliament" WHERE "trailing_party"='indian national congress' AND "trailing_party_pct_votes"='27.42%';
2-18106841-1
What is Members of Parliament, when Trailing Party is "Bharatiya Lok Dal"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT "members_of_parliament" FROM "members_of_parliament" WHERE "trailing_party"='bharatiya lok dal';
2-18106841-1
What is Trailing Party, when Party Won is "Janata Dal", and when Year is "1996"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT "trailing_party" FROM "members_of_parliament" WHERE "party_won"='janata dal' AND "year"=1996;
2-18106841-1
What is the lowest Year, when Lok Sabha is "4th Lok Sabha"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT MIN("year") FROM "members_of_parliament" WHERE "lok_sabha"='4th lok sabha';
2-18106841-1
What is Members of Parliament, when Winner's % Votes is "50.54%"?
CREATE TABLE "members_of_parliament" ( "year" real, "lok_sabha" text, "members_of_parliament" text, "party_won" text, "winner_s_pct_votes" text, "trailing_party" text, "trailing_party_pct_votes" text );
SELECT "members_of_parliament" FROM "members_of_parliament" WHERE "winner_s_pct_votes"='50.54%';
2-18106841-1
Who scored a 68?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "score"=68;
2-18009462-4
How many Grid has a Rider of ryuichi kiyonari?
CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT SUM("grid") FROM "superbike_race_1_classification" WHERE "rider"='ryuichi kiyonari';
2-18145978-1
Name the lowest Grid which has a Bike of ducati 1098 rs 08 and a Rider of max biaggi?
CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT MIN("grid") FROM "superbike_race_1_classification" WHERE "bike"='ducati 1098 rs 08' AND "rider"='max biaggi';
2-18145978-1
Name the Rider which has a Time of +59.304?
CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT "rider" FROM "superbike_race_1_classification" WHERE "time"='+59.304';
2-18145978-1
Name the Rider which has Laps smaller than 11 and a Bike of kawasaki zx-10r, and a Grid of 8?
CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real );
SELECT "rider" FROM "superbike_race_1_classification" WHERE "laps"<11 AND "bike"='kawasaki zx-10r' AND "grid"=8;
2-18145978-1
What is the total for player karrie webb?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT COUNT("total") FROM "missed_the_cut" WHERE "player"='karrie webb';
2-18369370-2
What years did the player with a total larger than 157 have wins?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT "year_s_won" FROM "missed_the_cut" WHERE "total">157;
2-18369370-2
What is the sum of the to par of player meg mallon, who had a total greater than 157?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT SUM("to_par") FROM "missed_the_cut" WHERE "player"='meg mallon' AND "total">157;
2-18369370-2
What is the highest total of the player with a 7 to par?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT MAX("total") FROM "missed_the_cut" WHERE "to_par"=7;
2-18369370-2
How many assists did Steve Walker have?
CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text );
SELECT "assists" FROM "club_statistics" WHERE "player"='steve walker';
2-1790061-9
How many goals did the player score who had 33 assists in 85 games?
CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text );
SELECT "goals" FROM "club_statistics" WHERE "assists"='33' AND "games"='85';
2-1790061-9
How many points did Denis Pederson have?
CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text );
SELECT "points" FROM "club_statistics" WHERE "player"='denis pederson';
2-1790061-9
Which Xenon has a Helium of 5.1?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "xenon" FROM "phase_changes_and_critical_properties" WHERE "helium"='5.1';
2-18225689-4
Which Neon has a Argon of −189.6?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "neon" FROM "phase_changes_and_critical_properties" WHERE "argon"='−189.6';
2-18225689-4
Which Physical property has a Helium of 0.0693?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "physical_property" FROM "phase_changes_and_critical_properties" WHERE "helium"='0.0693';
2-18225689-4
Name the Argon which has a Neon of 0.484?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "argon" FROM "phase_changes_and_critical_properties" WHERE "neon"='0.484';
2-18225689-4
Which Krypton has a Physical property of critical pressure (atm)?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "krypton" FROM "phase_changes_and_critical_properties" WHERE "physical_property"='critical pressure (atm)';
2-18225689-4
which Helium has a Argon of −189.6?
CREATE TABLE "phase_changes_and_critical_properties" ( "physical_property" text, "helium" text, "neon" text, "argon" text, "krypton" text, "xenon" text );
SELECT "helium" FROM "phase_changes_and_critical_properties" WHERE "argon"='−189.6';
2-18225689-4
What is Venue, when Opposing Teams is "South Africa", and when Date is "17/06/2000"?
CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "2000" WHERE "opposing_teams"='south africa' AND "date"='17/06/2000';
2-18178551-1
What is the sum of Against, when Opposing Teams is "South Africa", and when Status is "First Test"?
CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT SUM("against") FROM "2000" WHERE "opposing_teams"='south africa' AND "status"='first test';
2-18178551-1
What is Opposing Teams, when Status is "Test Match", and when Date is "25/11/2000"?
CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "opposing_teams" FROM "2000" WHERE "status"='test match' AND "date"='25/11/2000';
2-18178551-1
What is Against, when Venue is "Twickenham , London", and when Date is "04/03/2000"?
CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "against" FROM "2000" WHERE "venue"='twickenham , london' AND "date"='04/03/2000';
2-18178551-1
What is the Statue, when Venue is "Stadio Flaminio , Rome"?
CREATE TABLE "2000" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "status" FROM "2000" WHERE "venue"='stadio flaminio , rome';
2-18178551-1
What is the H/A of the game on 24 january 2009?
CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );
SELECT "h_a" FROM "fa_cup" WHERE "date"='24 january 2009';
2-17626681-6
What year was the rank final of 6?
CREATE TABLE "junior_career_history" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" text );
SELECT "year" FROM "junior_career_history" WHERE "rank_final"='6';
2-18066166-2
What was the rank final before 2007?
CREATE TABLE "junior_career_history" ( "year" real, "competition_description" text, "location" text, "apparatus" text, "rank_final" text );
SELECT "rank_final" FROM "junior_career_history" WHERE "year"<2007;
2-18066166-2
What is District, when Incumbent is "Richard Neal"?
CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "district" FROM "massachusetts" WHERE "incumbent"='richard neal';
2-1805191-22
What is the lowest First Elected, when District is "Massachusetts 10"?
CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MIN("first_elected") FROM "massachusetts" WHERE "district"='massachusetts 10';
2-1805191-22
What is the average First Elected, when District is "Massachusetts 3"?
CREATE TABLE "massachusetts" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT AVG("first_elected") FROM "massachusetts" WHERE "district"='massachusetts 3';
2-1805191-22
What team lost with 30 tries against?
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 );
SELECT "lost" FROM "league_table" WHERE "tries_against"='30';
2-17921347-4
Who lost with 142 points for?
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 );
SELECT "lost" FROM "league_table" WHERE "points_for"='142';
2-17921347-4
How many tries against for the team with 67 tries for?
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 );
SELECT "tries_against" FROM "league_table" WHERE "tries_for"='67';
2-17921347-4
Which club has 101 tries for?
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 );
SELECT "club" FROM "league_table" WHERE "tries_for"='101';
2-17921347-4
What is the try bonus for the team with 67 tries for?
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 );
SELECT "try_bonus" FROM "league_table" WHERE "tries_for"='67';
2-17921347-4
What is the team that lost with 77 tries against?
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 );
SELECT "lost" FROM "league_table" WHERE "tries_against"='77';
2-17921347-4
What is the sum of P desc with a P 2007 of 0,00 and a P, Ap 2008 less than 30,00, and a P CL 2008 that is more than 10,56?
CREATE TABLE "relegation_table" ( "team" text, "p_desc" real, "p_2007" real, "p_ap_2008" real, "p_cl_2008" real );
SELECT SUM("p_desc") FROM "relegation_table" WHERE "p_2007"='0,00' AND "p_ap_2008"<'30,00' AND "p_cl_2008">'10,56';
2-18183510-18
Which Fighting Spirit has a Name of tsurugamine, and a Technique smaller than 10?
CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text );
SELECT AVG("fighting_spirit") FROM "most_special_prizes" WHERE "name"='tsurugamine' AND "technique"<10;
2-17634218-22
How much Technique has the Highest rank of yokozuna, and a Total larger than 11?
CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text );
SELECT COUNT("technique") FROM "most_special_prizes" WHERE "highest_rank"='yokozuna' AND "total">11;
2-17634218-22
How much Fighting Spirit has a Total of 13, and a Technique smaller than 1?
CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text );
SELECT SUM("fighting_spirit") FROM "most_special_prizes" WHERE "total"=13 AND "technique"<1;
2-17634218-22
What are asashio's years?
CREATE TABLE "most_special_prizes" ( "name" text, "total" real, "outstanding_performance" real, "fighting_spirit" real, "technique" real, "years" text, "highest_rank" text );
SELECT "years" FROM "most_special_prizes" WHERE "name"='asashio';
2-17634218-22
Which County has a Precincts of 33/33?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "county" FROM "u_s_house_district_11" WHERE "precincts"='33/33';
2-17820556-4
Name the T. Wyka has a Precincts of 51/55?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "t_wyka" FROM "u_s_house_district_11" WHERE "precincts"='51/55';
2-17820556-4
Which Precincts has a G. Hager of 2,260 (15%)?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "precincts" FROM "u_s_house_district_11" WHERE "g_hager"='2,260 (15%)';
2-17820556-4
Name the G. Hager of E. Greenberg of 266 (14%)?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "g_hager" FROM "u_s_house_district_11" WHERE "e_greenberg"='266 (14%)';
2-17820556-4
Which Precincts has a County of passaic?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "precincts" FROM "u_s_house_district_11" WHERE "county"='passaic';
2-17820556-4
Which E. Greenberg has a T. Wyka of 10,793 (70%)?
CREATE TABLE "u_s_house_district_11" ( "county" text, "precincts" text, "e_greenberg" text, "g_hager" text, "t_wyka" text );
SELECT "e_greenberg" FROM "u_s_house_district_11" WHERE "t_wyka"='10,793 (70%)';
2-17820556-4
Which player from England finished in T41?
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 "finish"='t41' AND "country"='england';
2-18027810-2
From which country is the player that won in 1998?
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 "year_s_won"='1998';
2-18027810-2
In 1997, what was the final total?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "total" FROM "made_the_cut" WHERE "year_s_won"='1997';
2-18027810-2
What was the To Par score for player Justin Leonard?
CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text );
SELECT "to_par" FROM "made_the_cut" WHERE "player"='justin leonard';
2-18027810-2
How many points were scored by the player who played 348 games?
CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text );
SELECT "points" FROM "club_statistics" WHERE "games"='348';
2-1790061-4
How many points were scored by the player who played 363 games?
CREATE TABLE "club_statistics" ( "player" text, "seasons" text, "games" text, "goals" text, "assists" text, "points" text );
SELECT "points" FROM "club_statistics" WHERE "games"='363';
2-1790061-4
What kind of Replaced has a Manner of departure of end of contract on dec. 16, 2008?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "manner_of_departure"='end of contract' AND "date_of_appointment"='dec. 16, 2008';
2-18226336-2
What kind of Replaced has a Outgoing manager of guillermo sanguinetti?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "outgoing_manager"='guillermo sanguinetti';
2-18226336-2
What kind of Replaced has a Team of gimnasia y esgrima (lp)?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "replaced_by" FROM "managerial_changes" WHERE "team"='gimnasia y esgrima (lp)';
2-18226336-2
Which Team has a Position in table of 15th (c)?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "team" FROM "managerial_changes" WHERE "position_in_table"='15th (c)';
2-18226336-2
Which Team that has a Position in table of 15th (a) and a Outgoing manager of claudio borghi?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "team" FROM "managerial_changes" WHERE "position_in_table"='15th (a)' AND "outgoing_manager"='claudio borghi';
2-18226336-2
Which Team has a Date of appointment on sep. 20, 2008?
CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );
SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='sep. 20, 2008';
2-18226336-2
What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("losses") FROM "group_i" WHERE "position"<6 AND "wins">11 AND "points"=36 AND "played">30;
2-17715861-2
What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT COUNT("wins") FROM "group_i" WHERE "goals_against"<49 AND "draws"=9 AND "goals_for"=39 AND "points"<31;
2-17715861-2
What is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT AVG("goals_for") FROM "group_i" WHERE "losses">12 AND "wins">10 AND "points"<29 AND "draws">3;
2-17715861-2
What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT MAX("wins") FROM "group_i" WHERE "draws">4 AND "club"='cd orense' AND "points">36;
2-17715861-2
What is the total number of played for the entry with a position of less than 1?
CREATE TABLE "group_i" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );
SELECT SUM("played") FROM "group_i" WHERE "position"<1;
2-17715861-2
For the match that lasted 3:53 minutes, what was the final record?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "time"='3:53';
2-18017829-2
Where was the UFC 154 match held?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='ufc 154';
2-18017829-2
What is the 1st leg that has a Rc Cannes Team 1?
CREATE TABLE "playoffs_12" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "playoffs_12" WHERE "team_1"='rc cannes';
2-18252006-37
What is the lowest positioned club with points greater than 40, 16 wins and losses less than 3?
CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT MIN("position") FROM "2_lyga_zone_north" WHERE "points">40 AND "wins"=16 AND "loses"<3;
2-18018248-5
What is the lowest positioned team with 2 wins and losses greater than 13?
CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT MIN("position") FROM "2_lyga_zone_north" WHERE "wins"=2 AND "loses">13;
2-18018248-5
What is the smallest number of wins where goals conceded are below 26, draws are 1 and goals scored are below 74?
CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT MIN("wins") FROM "2_lyga_zone_north" WHERE "goals_conceded"<26 AND "draws"=1 AND "goals_scored"<74;
2-18018248-5
For the club Minija Kretinga, what's the lowest number of wins with points smaller than 25, goals at 22 and goals conceded below 39?
CREATE TABLE "2_lyga_zone_north" ( "position" real, "club" text, "games_played" real, "wins" real, "draws" real, "loses" real, "goals_scored" real, "goals_conceded" real, "points" real );
SELECT MIN("wins") FROM "2_lyga_zone_north" WHERE "points"<25 AND "goals_scored"=22 AND "club"='minija kretinga' AND "goals_conceded"<39;
2-18018248-5
In which Place was the Silver won by valeri postoianov ( urs ) later than 1969 and the Bronze won by alexander gazov ( urs )?
CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text );
SELECT "place" FROM "world_championships_men" WHERE "silver"='valeri postoianov ( urs )' AND "year">1969 AND "bronze"='alexander gazov ( urs )';
2-17721271-1
Who won the Bronze at Melbourne?
CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text );
SELECT "bronze" FROM "world_championships_men" WHERE "place"='melbourne';
2-17721271-1
In what Place was the Silver won by vladimir vesselov ( urs )?
CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text );
SELECT "place" FROM "world_championships_men" WHERE "silver"='vladimir vesselov ( urs )';
2-17721271-1
WHAT IS THE 6:30PM WITH BEETLEBORGS METALLIX AT 3:30PM?
CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "6_30_pm" FROM "winter_1997_1998" WHERE "3_30_pm"='beetleborgs metallix';
2-17871161-2
WHAT IS THE 1:00PM WITH LOCAL PROGRAMS AT 3:00PM?
CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "1_00_pm" FROM "winter_1997_1998" WHERE "3_00_pm"='local programs';
2-17871161-2
WHAT IS THE 8:00AM WITH LOCAL PROGRAMS AT 3:00PM?
CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "8_00_am" FROM "winter_1997_1998" WHERE "3_00_pm"='local programs';
2-17871161-2
WHAT IS THE 11:00AM WITH LOCAL PROGRAMS AT 1:30PM?
CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "11_00_am" FROM "winter_1997_1998" WHERE "1_30_pm"='local programs';
2-17871161-2
WHAT IS THE 2:00PM WITH SUNSET BEACH AT NOON?
CREATE TABLE "winter_1997_1998" ( "7_30_am" text, "8_00_am" text, "9_00_am" text, "11_00_am" text, "noon" text, "12_30_pm" text, "1_00_pm" text, "1_30_pm" text, "2_00_pm" text, "3_00_pm" text, "3_30_pm" text, "5_00_pm" text, "6_30_pm" text );
SELECT "2_00_pm" FROM "winter_1997_1998" WHERE "noon"='sunset beach';
2-17871161-2