question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?
CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text );
SELECT "bookmarking_tagging_rating_and_comments" FROM "comparison_of_features" WHERE "list_management"='no' AND "charting"='no' AND "web_publishing"='no' AND "name"='microsoft exchange server';
2-1779657-3
What is Constellation, when Date Sent is "September 4, 2001", and when Distance ( ly ) is less than 57.4?
CREATE TABLE "targets" ( "hd_designation" text, "constellation" text, "distance_ly" real, "spectral_type" text, "signal_power_k_w" real, "date_sent" text, "arrival_date" text );
SELECT "constellation" FROM "targets" WHERE "date_sent"='september 4, 2001' AND "distance_ly"<57.4;
2-1820752-1
What is Date, when Constellation is "Delphinus"?
CREATE TABLE "targets" ( "hd_designation" text, "constellation" text, "distance_ly" real, "spectral_type" text, "signal_power_k_w" real, "date_sent" text, "arrival_date" text );
SELECT "date_sent" FROM "targets" WHERE "constellation"='delphinus';
2-1820752-1
What is the total number of Distance ( ly ), when Constellation is "Draco"?
CREATE TABLE "targets" ( "hd_designation" text, "constellation" text, "distance_ly" real, "spectral_type" text, "signal_power_k_w" real, "date_sent" text, "arrival_date" text );
SELECT COUNT("distance_ly") FROM "targets" WHERE "constellation"='draco';
2-1820752-1
What is Date Sent, when Signal Power ( kW ) is less than 126, when Arrival Date is "January 2059", and when HD Designation is "HD193664"?
CREATE TABLE "targets" ( "hd_designation" text, "constellation" text, "distance_ly" real, "spectral_type" text, "signal_power_k_w" real, "date_sent" text, "arrival_date" text );
SELECT "date_sent" FROM "targets" WHERE "signal_power_k_w"<126 AND "arrival_date"='january 2059' AND "hd_designation"='hd193664';
2-1820752-1
What is Constellation, when HD Designation is "HD197076"?
CREATE TABLE "targets" ( "hd_designation" text, "constellation" text, "distance_ly" real, "spectral_type" text, "signal_power_k_w" real, "date_sent" text, "arrival_date" text );
SELECT "constellation" FROM "targets" WHERE "hd_designation"='hd197076';
2-1820752-1
What date was the match against leonardo tavares with a score of 6–4, 6–4?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_7" WHERE "score"='6–4, 6–4' AND "opponent"='leonardo tavares';
2-17629829-3
What date was the match against adrián menéndez-maceiras?
CREATE TABLE "singles_7" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_7" WHERE "opponent"='adrián menéndez-maceiras';
2-17629829-3
What is the highest number of wins for Quambatook when Against is less than 1129?
CREATE TABLE "2009_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MAX("wins") FROM "2009_ladder" WHERE "golden_rivers"='quambatook' AND "against"<1129;
2-18036506-13
What is the total number of draws when there are fewer than 3 wins?
CREATE TABLE "2009_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("draws") FROM "2009_ladder" WHERE "wins"<3;
2-18036506-13
What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins?
CREATE TABLE "2009_ladder" ( "golden_rivers" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("draws") FROM "2009_ladder" WHERE "losses">11 AND "wins"<4 AND "golden_rivers"='wakool';
2-18036506-13
Which Country has a Score of 69-74=143?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "country" FROM "second_round" WHERE "score"='69-74=143';
2-18007222-4
Which Player has a To Par smaller than 5, and a Score of 70-72=142?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "player" FROM "second_round" WHERE "to_par"<5 AND "score"='70-72=142';
2-18007222-4
What was Frank Moore's score?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real );
SELECT "score" FROM "second_round" WHERE "player"='frank moore';
2-18007222-4
What was the score of the game that home team birmingham city played?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "score" FROM "second_round_proper" WHERE "home_team"='birmingham city';
2-17751797-2
What date was the game when away team northampton town played?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "date" FROM "second_round_proper" WHERE "away_team"='northampton town';
2-17751797-2
Who was the team who played home team woking?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text );
SELECT "away_team" FROM "second_round_proper" WHERE "home_team"='woking';
2-17751797-2
What is the home for the league 3rd liga (iii)?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "home" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "league"='3rd liga (iii)';
2-17918213-15
What is the home for league 3rd liga, and an away of 4-0?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "home" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "league"='3rd liga' AND "away"='4-0';
2-17918213-15
What is the home for the away of 4-0?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "home" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "away"='4-0';
2-17918213-15
What season has a league 3rd liga, and away of 1-0?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "season" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "league"='3rd liga' AND "away"='1-0';
2-17918213-15
What is the home with a league 3rd liga, and an away of 4-0?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "home" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "league"='3rd liga' AND "away"='4-0';
2-17918213-15
What team has a season of 2009-10?
CREATE TABLE "fc_bayern_munich_ii_versus_sp_vgg_unterh" ( "season" text, "league" text, "teams" text, "home" text, "away" text );
SELECT "teams" FROM "fc_bayern_munich_ii_versus_sp_vgg_unterh" WHERE "season"='2009-10';
2-17918213-15
What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3?
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("goals_against") FROM "group_i" WHERE "points">25 AND "club"='sd indautxu' AND "position">3;
2-17695272-2
What is the total number of Wins, when Draws is less than 2?
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 "draws"<2;
2-17695272-2
What is the average Wins, when Played is less 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 AVG("wins") FROM "group_i" WHERE "played"<30;
2-17695272-2
What is the total number of Wins, when Draws is less than 5, when Goals is greater than 49, and when Played is greater 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 COUNT("wins") FROM "group_i" WHERE "draws"<5 AND "goals_against">49 AND "played">30;
2-17695272-2
What is the lowest Goal Difference, when Position is "7", and when Played is greater 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 MIN("goal_difference") FROM "group_i" WHERE "position"=7 AND "played">30;
2-17695272-2
What is the week 3, prior to the when the week 4 was Laura Nicole?
CREATE TABLE "2011" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );
SELECT "week_4" FROM "2011" WHERE "week_3"='laura nicole';
2-17993994-12
What was the week 2 prior to the when Miranda Jordan was the week 4?
CREATE TABLE "2011" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );
SELECT "week_2" FROM "2011" WHERE "week_4"='miranda jordan';
2-17993994-12
What was the week 2 prior to the when Brittany Alyse was week 3?
CREATE TABLE "2011" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );
SELECT "week_2" FROM "2011" WHERE "week_3"='brittany alyse';
2-17993994-12
What is the week 5 after Dani Dior as week 1?
CREATE TABLE "2011" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );
SELECT "week_5" FROM "2011" WHERE "week_1"='dani dior';
2-17993994-12
What was the week 2 before Lara Leverence was week 3?
CREATE TABLE "2011" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text );
SELECT "week_2" FROM "2011" WHERE "week_3"='lara leverence';
2-17993994-12
What is the total number of bronzes that is less than 1 in total?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medals_table" WHERE "total"<1;
2-1822278-5
What is the total number of bronze that has less than 2 gold, and more than 1 silver?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("bronze") FROM "medals_table" WHERE "gold"<2 AND "silver">1;
2-1822278-5
What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total less than 1?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MIN("rank") FROM "medals_table" WHERE "gold"<1 AND "silver"=0 AND "bronze"=1 AND "total"<1;
2-1822278-5
What is the average bronze for less than 0 gold?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("bronze") FROM "medals_table" WHERE "gold"<0;
2-1822278-5
What is the total number for less than 8 bronze, the Netherlands nation, and is ranked less than 16?
CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medals_table" WHERE "bronze"<8 AND "nation"='netherlands' AND "rank"<16;
2-1822278-5
What California city has an active status and a greek designation of established colony?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "city" FROM "undergraduate_chapters_associate_chapter" WHERE "status"='active' AND "u_s_state_district"='california' AND "greek_designation"='established colony';
2-18159601-1
What's the greek designation of the new york chapter with a charter date of april 23, 2005?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "greek_designation" FROM "undergraduate_chapters_associate_chapter" WHERE "u_s_state_district"='new york' AND "charter_date"='april 23, 2005';
2-18159601-1
What collegiate institution has an active status and a charter date of march 30, 2002?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "collegiate_institution" FROM "undergraduate_chapters_associate_chapter" WHERE "status"='active' AND "charter_date"='march 30, 2002';
2-18159601-1
What's the greek designation of the city riverside?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "greek_designation" FROM "undergraduate_chapters_associate_chapter" WHERE "city"='riverside';
2-18159601-1
What city has a charter date of november 24, 1999?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "city" FROM "undergraduate_chapters_associate_chapter" WHERE "charter_date"='november 24, 1999';
2-18159601-1
What state or district has a charter date of april 17, 2011?
CREATE TABLE "undergraduate_chapters_associate_chapter" ( "greek_designation" text, "collegiate_institution" text, "charter_date" text, "status" text, "city" text, "u_s_state_district" text );
SELECT "u_s_state_district" FROM "undergraduate_chapters_associate_chapter" WHERE "charter_date"='april 17, 2011';
2-18159601-1
What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
CREATE TABLE "individual_hoop" ( "place" real, "name" text, "all_around" real, "hoop" real, "total" real );
SELECT MIN("all_around") FROM "individual_hoop" WHERE "total"=19.85 AND "hoop"<9.85;
2-18170681-6
What is the average hoop when the all around is less than 9.7?
CREATE TABLE "individual_hoop" ( "place" real, "name" text, "all_around" real, "hoop" real, "total" real );
SELECT AVG("hoop") FROM "individual_hoop" WHERE "all_around"<9.7;
2-18170681-6
What is Per Capita Income, when Population is greater than 9,563, and when Median Family Income is "$49,310"?
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "per_capita_income" FROM "georgia_counties_ranked_by_per_capita_in" WHERE "population">'9,563' AND "median_family_income"='$49,310';
2-1772272-1
What is Median Family Income, when Median Household Income is "$50,717"?
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT "median_family_income" FROM "georgia_counties_ranked_by_per_capita_in" WHERE "median_household_income"='$50,717';
2-1772272-1
What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"?
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT MAX("number_of_households") FROM "georgia_counties_ranked_by_per_capita_in" WHERE "per_capita_income"='$25,557' AND "population"<'22,330';
2-1772272-1
What is the lowest Population, when Per Capita Income is "$16,330"?
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT MIN("population") FROM "georgia_counties_ranked_by_per_capita_in" WHERE "per_capita_income"='$16,330';
2-1772272-1
What is the highest Population, when Per Capita Income is "$17,168", and when Number of Households is greater than 3,287?
CREATE TABLE "georgia_counties_ranked_by_per_capita_in" ( "county" text, "per_capita_income" text, "median_household_income" text, "median_family_income" text, "population" real, "number_of_households" real );
SELECT MAX("population") FROM "georgia_counties_ranked_by_per_capita_in" WHERE "per_capita_income"='$17,168' AND "number_of_households">'3,287';
2-1772272-1
What is Place, when Score is "70-68=138", and when Player is "Andrew Magee"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "score"='70-68=138' AND "player"='andrew magee';
2-18048776-5
What is To par, when Place is "T5", and when Score is "70-68=138"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "place"='t5' AND "score"='70-68=138';
2-18048776-5
What is Score, when Place is "T5", when Country is "United States", and when Player is "Davis Love III"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "place"='t5' AND "country"='united states' AND "player"='davis love iii';
2-18048776-5
What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "country"='united states' AND "place"='t10' AND "score"='68-71=139';
2-18048776-5
What is Score, when Player is "Vijay Singh"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='vijay singh';
2-18048776-5
Which Player has a To par of –2, and a Country of wales?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "to_par"='–2' AND "country"='wales';
2-18131508-4
Which Score has a To par of –3, and a Player of santiago luna?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "score" FROM "first_round" WHERE "to_par"='–3' AND "player"='santiago luna';
2-18131508-4
Which Player has a Score of 67 in united states?
CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text );
SELECT "player" FROM "first_round" WHERE "score"=67 AND "country"='united states';
2-18131508-4
What are the Opponents at the Schenectady, U.S. Tournament?
CREATE TABLE "wins_50" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score_in_the_final" text );
SELECT "opponents_in_the_final" FROM "wins_50" WHERE "tournament"='schenectady, u.s.';
2-1800323-3
What was the outcome of the August 20, 2007 match?
CREATE TABLE "singles_2_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "outcome" FROM "singles_2_8" WHERE "date"='august 20, 2007';
2-17922810-2
What was the score in the August 20, 2007 match?
CREATE TABLE "singles_2_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "score" FROM "singles_2_8" WHERE "date"='august 20, 2007';
2-17922810-2
Which tournament was held on July 13, 2008?
CREATE TABLE "singles_2_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "tournament" FROM "singles_2_8" WHERE "date"='july 13, 2008';
2-17922810-2
Who was the opponent in the September 20, 2010 match?
CREATE TABLE "singles_2_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "opponent" FROM "singles_2_8" WHERE "date"='september 20, 2010';
2-17922810-2
What date was the Izmir Cup in which İlhan played against Somdev Devvarman?
CREATE TABLE "singles_2_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );
SELECT "date" FROM "singles_2_8" WHERE "tournament"='izmir cup' AND "opponent"='somdev devvarman';
2-17922810-2
What years did Tom Lehman win?
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 "player"='tom lehman';
2-18049082-3
What was the total To Par for the winner in 1995?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real );
SELECT COUNT("to_par") FROM "missed_the_cut" WHERE "year_s_won"='1995';
2-18049082-3
How many years had a 100 m hurdles event at the world championships in Osaka, Japan?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT SUM("year") FROM "achievements" WHERE "event"='100 m hurdles' AND "competition"='world championships' AND "venue"='osaka, japan';
2-17789359-1
What was the position of the event held in Valencia, Spain?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "position" FROM "achievements" WHERE "venue"='valencia, spain';
2-17789359-1
What was the earliest year that an event held in Berlin, Germany had a 100 m hurdles event?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT MIN("year") FROM "achievements" WHERE "venue"='berlin, germany' AND "event"='100 m hurdles';
2-17789359-1
What even was held in Valencia, Spain?
CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );
SELECT "event" FROM "achievements" WHERE "venue"='valencia, spain';
2-17789359-1
What is the time of the tim trophy competition where juventus was the opponent?
CREATE TABLE "pre_season_and_friendlies" ( "date" text, "time" text, "competition" text, "opponent" text, "ground" text, "score" text );
SELECT "time" FROM "pre_season_and_friendlies" WHERE "competition"='tim trophy' AND "opponent"='juventus';
2-17634886-15
What is the competition on 15 August 2008?
CREATE TABLE "pre_season_and_friendlies" ( "date" text, "time" text, "competition" text, "opponent" text, "ground" text, "score" text );
SELECT "competition" FROM "pre_season_and_friendlies" WHERE "date"='15 august 2008';
2-17634886-15
What is the score of the friendly match competition on 24 July 2008?
CREATE TABLE "pre_season_and_friendlies" ( "date" text, "time" text, "competition" text, "opponent" text, "ground" text, "score" text );
SELECT "score" FROM "pre_season_and_friendlies" WHERE "competition"='friendly match' AND "date"='24 july 2008';
2-17634886-15
What is the ground of the tim trophy competition, which had a time of 23:00 cet?
CREATE TABLE "pre_season_and_friendlies" ( "date" text, "time" text, "competition" text, "opponent" text, "ground" text, "score" text );
SELECT "ground" FROM "pre_season_and_friendlies" WHERE "competition"='tim trophy' AND "time"='23:00 cet';
2-17634886-15
What competition is at 23:00 cet?
CREATE TABLE "pre_season_and_friendlies" ( "date" text, "time" text, "competition" text, "opponent" text, "ground" text, "score" text );
SELECT "competition" FROM "pre_season_and_friendlies" WHERE "time"='23:00 cet';
2-17634886-15
What is the outcome on March 20, 1994?
CREATE TABLE "singles_14_12_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "singles_14_12_2" WHERE "date"='march 20, 1994';
2-18330817-6
What tournament had a hard surface on February 25, 1996?
CREATE TABLE "singles_14_12_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "tournament" FROM "singles_14_12_2" WHERE "surface"='hard' AND "date"='february 25, 1996';
2-18330817-6
What is the score in the final with a hard surface and is against Hiromi Nagano?
CREATE TABLE "singles_14_12_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "score_in_the_final" FROM "singles_14_12_2" WHERE "surface"='hard' AND "opponent_in_the_final"='hiromi nagano';
2-18330817-6
What is the total outcome for the clay surface on April 21, 1996?
CREATE TABLE "singles_14_12_2" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text );
SELECT "outcome" FROM "singles_14_12_2" WHERE "surface"='clay' AND "date"='april 21, 1996';
2-18330817-6
What aircraft is located at S of Avion?
CREATE TABLE "aerial_victories" ( "date" text, "unit" real, "aircraft" text, "opponent" text, "location" text );
SELECT "aircraft" FROM "aerial_victories" WHERE "location"='s of avion';
2-17850104-1
What is the Unit for the Aircraft F.e.2b, located in Logeast?
CREATE TABLE "aerial_victories" ( "date" text, "unit" real, "aircraft" text, "opponent" text, "location" text );
SELECT SUM("unit") FROM "aerial_victories" WHERE "aircraft"='f.e.2b' AND "location"='logeast';
2-17850104-1
What is the name of the place that has a census ranking of 1,229 of 5,008?
CREATE TABLE "westmorland_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "official_name" FROM "westmorland_county_new_brunswick" WHERE "census_ranking"='1,229 of 5,008';
2-176529-1
How large, in square kilometers, is Sackville?
CREATE TABLE "westmorland_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "area_km_2" FROM "westmorland_county_new_brunswick" WHERE "official_name"='sackville';
2-176529-1
What is the name(s) of the place(s) with a population of less than 1,429?
CREATE TABLE "westmorland_county_new_brunswick" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text );
SELECT "official_name" FROM "westmorland_county_new_brunswick" WHERE "population"<'1,429';
2-176529-1
What score has 33 as the points?
CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real );
SELECT "score" FROM "regular_season" WHERE "points"=33;
2-17798130-5
What date has joe louis arena as the arena?
CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real );
SELECT "date" FROM "regular_season" WHERE "arena"='joe louis arena';
2-17798130-5
What competition was played on 2 June 1992?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "competition" FROM "international_goals" WHERE "date"='2 june 1992';
2-1790392-1
What date was a friendly match played that ended in a 3-0 score?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "result"='3-0' AND "competition"='friendly match';
2-1790392-1
What was the score of the match played on 5 September 2001?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "date"='5 september 2001';
2-1790392-1
In what stadium was the friendly match on 2 June 1992 played in?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "venue" FROM "international_goals" WHERE "competition"='friendly match' AND "date"='2 june 1992';
2-1790392-1
What was the score of the 1998 FIFA World Cup qualification competition?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "score" FROM "international_goals" WHERE "competition"='1998 fifa world cup qualification';
2-1790392-1
Name the Date has a Competition of welsh rugby union challenge trophy and a Result of 34-34? Question 1
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "date" FROM "club_representative_appearances" WHERE "competition"='welsh rugby union challenge trophy' AND "result"='34-34';
2-17972134-1
Name the Result of new zealand Nationality / Opponent?
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "result" FROM "club_representative_appearances" WHERE "nationality_opponent"='new zealand';
2-17972134-1
Name Nationality / Opponent on 10 january 1998?
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "nationality_opponent" FROM "club_representative_appearances" WHERE "date"='10 january 1998';
2-17972134-1
Name The Ground on 18 january 1998?
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "ground" FROM "club_representative_appearances" WHERE "date"='18 january 1998';
2-17972134-1
Name the Nationality / Opponent of the Competition of welsh rugby union challenge trophy and a Result of 38-29?
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "nationality_opponent" FROM "club_representative_appearances" WHERE "competition"='welsh rugby union challenge trophy' AND "result"='38-29';
2-17972134-1
Name the Nationality / Opponent of rosario?
CREATE TABLE "club_representative_appearances" ( "date" text, "nationality_opponent" text, "ground" text, "result" text, "competition" text );
SELECT "competition" FROM "club_representative_appearances" WHERE "nationality_opponent"='rosario';
2-17972134-1
What team 1 has a team 2 of universidad nacional?
CREATE TABLE "matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "matches" WHERE "team_2"='universidad nacional';
2-17991582-1
What team 2 has a team 1 of harbour view?
CREATE TABLE "matches" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_2" FROM "matches" WHERE "team_1"='harbour view';
2-17991582-1