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 Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?
CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text );
SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "team"='anna guzik & rafał kamiński' AND "points_jury"='24 (7,5,6,6)';
2-15988037-12
Which Music has a Dance of Modern?
CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text );
SELECT "music" FROM "po_prostu_taniec_just_dance" WHERE "dance"='modern';
2-15988037-12
What is the Points Jury for Dance pop?
CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text );
SELECT "points_jury" FROM "po_prostu_taniec_just_dance" WHERE "dance"='pop';
2-15988037-12
Which Place has a Points Jury of 34 (7,8,9,10)?
CREATE TABLE "po_prostu_taniec_just_dance" ( "team" text, "dance" text, "music" text, "points_jury" text, "place" text );
SELECT "place" FROM "po_prostu_taniec_just_dance" WHERE "points_jury"='34 (7,8,9,10)';
2-15988037-12
What is the 2013 press freedom index of the country Egypt?
CREATE TABLE "list_by_country" ( "country" text, "freedom_in_the_world_2013" text, "2013_index_of_economic_freedom" text, "2013_press_freedom_index" text, "2012_democracy_index" text );
SELECT "2013_press_freedom_index" FROM "list_by_country" WHERE "country"='egypt';
2-1604579-2
What is the 2013 index of economic freedom of Slovenia?
CREATE TABLE "list_by_country" ( "country" text, "freedom_in_the_world_2013" text, "2013_index_of_economic_freedom" text, "2013_press_freedom_index" text, "2012_democracy_index" text );
SELECT "2013_index_of_economic_freedom" FROM "list_by_country" WHERE "country"='slovenia';
2-1604579-2
How many FA Trophy has a Total larger than 17 and a Player of david gamble and a League Cup larger than 0?
CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "total">17 AND "player"='david gamble' AND "league_cup">0;
2-15627554-4
Which League Cup that has a Total of 19 and a League smaller than 15?
CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT AVG("league_cup") FROM "topscorers_in_order_of_league_goals" WHERE "total"=19 AND "league"<15;
2-15627554-4
How many FA Trophy that have a Player of paul dobson, and a League Cup smaller than 2?
CREATE TABLE "topscorers_in_order_of_league_goals" ( "player" text, "club" text, "league" real, "fa_cup" real, "fa_trophy" real, "league_cup" real, "total" real );
SELECT COUNT("fa_trophy") FROM "topscorers_in_order_of_league_goals" WHERE "player"='paul dobson' AND "league_cup"<2;
2-15627554-4
For what country is the skip Andy Kapp?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "country" FROM "teams" WHERE "skip"='andy kapp';
2-15483146-1
Who is the second on the North America team for which Cathy Overton-Clapham the third?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "second" FROM "teams" WHERE "team"='north america' AND "third"='cathy overton-clapham';
2-15483146-1
Who is the lead of the team from Lockerbie?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "lead" FROM "teams" WHERE "home"='lockerbie';
2-15483146-1
What is the name of the team from Stirling?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "team" FROM "teams" WHERE "home"='stirling';
2-15483146-1
Who is the lead on the Europe team that has a Liudmila Privivkova as the skip?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "lead" FROM "teams" WHERE "team"='europe' AND "skip"='liudmila privivkova';
2-15483146-1
Who is the second of the North America team from Edmonton, Canada?
CREATE TABLE "teams" ( "team" text, "country" text, "home" text, "skip" text, "third" text, "second" text, "lead" text );
SELECT "second" FROM "teams" WHERE "team"='north america' AND "country"='canada' AND "home"='edmonton';
2-15483146-1
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
CREATE TABLE "locomotives" ( "livery" text, "locomotive_type" text, "wheel_arrangement" text, "builder" text, "year_built" real );
SELECT "livery" FROM "locomotives" WHERE "locomotive_type"='steam' AND "year_built">1950 AND "wheel_arrangement"='2-6-2';
2-15827397-1
What livery belongs to the steam Locomotive type builder that was building before 1989?
CREATE TABLE "locomotives" ( "livery" text, "locomotive_type" text, "wheel_arrangement" text, "builder" text, "year_built" real );
SELECT "livery" FROM "locomotives" WHERE "year_built"<1989 AND "locomotive_type"='steam';
2-15827397-1
What is the total number of medals when the gold is more than 2 and silver more than 2?
CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_count" WHERE "gold">2 AND "silver">2;
2-1570199-3
What is the most silver medals when the total is less than 4 and the rank is 12?
CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("silver") FROM "medal_count" WHERE "total"<4 AND "rank"='12';
2-1570199-3
What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?
CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("bronze") FROM "medal_count" WHERE "silver">0 AND "total"=5;
2-1570199-3
What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?
CREATE TABLE "medal_count" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("total") FROM "medal_count" WHERE "bronze">1 AND "nation"='germany' AND "gold"<1;
2-1570199-3
When Oscar Míguez had over 107 goals, what was the lowest he ranked?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT MIN("rank") FROM "list_of_top_association_football_goal_sc" WHERE "name"='oscar míguez' AND "goals">107;
2-1590321-73
What was the highest number of goals for 1922–1935?
CREATE TABLE "list_of_top_association_football_goal_sc" ( "rank" real, "name" text, "years" text, "matches" real, "goals" real );
SELECT MAX("goals") FROM "list_of_top_association_football_goal_sc" WHERE "years"='1922–1935';
2-1590321-73
Which pick number was there for Jason French?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "pick_num" FROM "round_two" WHERE "player"='jason french';
2-15817998-2
Which cfl team was associated with the college of manitoba?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "cfl_team" FROM "round_two" WHERE "college"='manitoba';
2-15817998-2
Which college's cfl team is the hamilton tiger-cats?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_two" WHERE "cfl_team"='hamilton tiger-cats';
2-15817998-2
Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?
CREATE TABLE "round_two" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "position" FROM "round_two" WHERE "cfl_team"='montreal alouettes' AND "pick_num"<15;
2-15817998-2
Which player was drafted by the Saskatchewan Roughriders?
CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "player" FROM "round_three" WHERE "cfl_team"='saskatchewan roughriders';
2-15817998-3
What college did Ben Wearing play for?
CREATE TABLE "round_three" ( "pick_num" real, "cfl_team" text, "player" text, "position" text, "college" text );
SELECT "college" FROM "round_three" WHERE "player"='ben wearing';
2-15817998-3
What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals?
CREATE TABLE "goals" ( "name" text, "league_goals" real, "fa_cup_goals" real, "fl_cup_goals" real, "other_goals" real, "total" real, "career" text );
SELECT AVG("fa_cup_goals") FROM "goals" WHERE "other_goals"=0 AND "fl_cup_goals"=0 AND "league_goals"<39;
2-15446163-2
On what date were the Ottawa Swans the away team?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "date" FROM "round_thirteen" WHERE "away"='ottawa swans';
2-15764352-13
What was the score of the game with the Etobicoke Kangaroos as the home team?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "score" FROM "round_thirteen" WHERE "home"='etobicoke kangaroos';
2-15764352-13
What was the score of the game with the Broadview Hawks as the home team?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "score" FROM "round_thirteen" WHERE "home"='broadview hawks';
2-15764352-13
What was the score of the Broadview Hawks home game?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "score" FROM "round_thirteen" WHERE "home"='broadview hawks';
2-15764352-13
Who was the away team for the Etobicoke Kangaroos home game?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "away" FROM "round_thirteen" WHERE "home"='etobicoke kangaroos';
2-15764352-13
What was the date for the 130-56 game?
CREATE TABLE "round_thirteen" ( "date" text, "time" text, "home" text, "away" text, "score" text, "ground" text );
SELECT "date" FROM "round_thirteen" WHERE "score"='130-56';
2-15764352-13
Which men's singles has a women's singles of marketa koudelková as well as a Men's doubles of jan lanik / pavel weigner??
CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "junior_champions" WHERE "women_s_singles"='marketa koudelková' AND "men_s_doubles"='jan lanik / pavel weigner';
2-15741227-3
Which men's singles had a women's doubles team of irena ferencová / yweta trminková?
CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT "men_s_singles" FROM "junior_champions" WHERE "women_s_doubles"='irena ferencová / yweta trminková';
2-15741227-3
What is the mean year when the women's doubles team was helena turcinková / buresová?
CREATE TABLE "junior_champions" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );
SELECT AVG("year") FROM "junior_champions" WHERE "women_s_doubles"='helena turcinková / buresová';
2-15741227-3
What is the date with Cuba is Home team?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "date" FROM "2013_fixtures_and_results" WHERE "home_team"='cuba';
2-15630550-5
What is the location with Honduras is Home team?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "location" FROM "2013_fixtures_and_results" WHERE "home_team"='honduras';
2-15630550-5
What is the location of 11 April 2013 and Mexico Home team?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "location" FROM "2013_fixtures_and_results" WHERE "home_team"='mexico' AND "date"='11 april 2013';
2-15630550-5
What is the date that is Away team is Honduras?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "date" FROM "2013_fixtures_and_results" WHERE "away_team"='honduras';
2-15630550-5
What is the date where Guatemala is the Away team?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "date" FROM "2013_fixtures_and_results" WHERE "away_team"='guatemala';
2-15630550-5
What is the score for 17 April 2013?
CREATE TABLE "2013_fixtures_and_results" ( "date" text, "tournament" text, "location" text, "home_team" text, "score" text, "away_team" text );
SELECT "score" FROM "2013_fixtures_and_results" WHERE "date"='17 april 2013';
2-15630550-5
How many weeks have September 14, 2008 as the date?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT SUM("week") FROM "regular_season" WHERE "date"='september 14, 2008';
2-15623820-5
What opponent has a week less than 16, with September 7, 2008 as the date?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "opponent" FROM "regular_season" WHERE "week"<16 AND "date"='september 7, 2008';
2-15623820-5
What record has candlestick park as the game site, and october 12, 2008 as the date?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "record" FROM "regular_season" WHERE "game_site"='candlestick park' AND "date"='october 12, 2008';
2-15623820-5
What date has new england patriots as the opponent?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "date" FROM "regular_season" WHERE "opponent"='new england patriots';
2-15623820-5
What date has 10 for the week?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "date" FROM "regular_season" WHERE "week"=10;
2-15623820-5
What game site has w 10-3 as the result?
CREATE TABLE "regular_season" ( "week" real, "date" text, "time_pt" text, "opponent" text, "result" text, "record" text, "game_site" text );
SELECT "game_site" FROM "regular_season" WHERE "result"='w 10-3';
2-15623820-5
what is the victory margin in 2013 with a Winner's share of 1,440,000
CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text );
SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='1,440,000' AND "year"='2013';
2-157211-2
what is the victory margin with a 45,000 Winner's share
CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text );
SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='45,000';
2-157211-2
what is the margin of victory with a 183,800 Winner's share
CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text );
SELECT "margin_of_victory" FROM "winners" WHERE "winner_s_share"='183,800';
2-157211-2
what is to par for the Winner's share 450,000
CREATE TABLE "winners" ( "year" text, "champion" text, "country" text, "to_par" text, "margin_of_victory" text, "winner_s_share" text );
SELECT "to_par" FROM "winners" WHERE "winner_s_share"='450,000';
2-157211-2
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?
CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text );
SELECT SUM("rank") FROM "goalscorers" WHERE "singapore_cup"='0 (1)' AND "name"='masrezwan masturi';
2-15841571-6
What is the Name of the person with a Total of 3 (15), and Rank of more than 3?
CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text );
SELECT "name" FROM "goalscorers" WHERE "total"='3 (15)' AND "rank">3;
2-15841571-6
What is the Singapore Cup when the S-League is 5 (14)?
CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text );
SELECT "singapore_cup" FROM "goalscorers" WHERE "s_league"='5 (14)';
2-15841571-6
What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?
CREATE TABLE "goalscorers" ( "rank" real, "name" text, "s_league" text, "singapore_cup" text, "singapore_league_cup" text, "total" text );
SELECT "singapore_league_cup" FROM "goalscorers" WHERE "rank">4 AND "s_league"='2 (12)';
2-15841571-6
In which tournament did Al Geiberger finish runner-up?
CREATE TABLE "champions_tour_wins_14" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text );
SELECT "tournament" FROM "champions_tour_wins_14" WHERE "runner_s_up"='al geiberger';
2-1586876-3
What is the Season with an Acquisition via of rookie draft, and the number is 15?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "season" FROM "m" WHERE "acquisition_via"='rookie draft' AND "number"='15';
2-15463188-13
What is the Acquisition via for Dennis Miranda?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "acquisition_via" FROM "m" WHERE "name"='dennis miranda';
2-15463188-13
What team acquired as a rookie draft in the position of guard Dennis Miranda?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "school_club_team" FROM "m" WHERE "acquisition_via"='rookie draft' AND "position"='guard' AND "name"='dennis miranda';
2-15463188-13
What season was School/Club Team perpetual help in the guard position?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "season" FROM "m" WHERE "position"='guard' AND "school_club_team"='perpetual help';
2-15463188-13
What number was Rashad McCants?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "number" FROM "m" WHERE "name"='rashad mccants';
2-15463188-13
What season did School/Club Team, East have an Acquisition via of trade?
CREATE TABLE "m" ( "name" text, "position" text, "number" text, "school_club_team" text, "season" text, "acquisition_via" text );
SELECT "season" FROM "m" WHERE "acquisition_via"='trade' AND "school_club_team"='east';
2-15463188-13
What is the Date for the City/State of Sydney, New South Wales?
CREATE TABLE "race_calendar" ( "rd_race" text, "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text );
SELECT "date" FROM "race_calendar" WHERE "city_state"='sydney, new south wales';
2-15394512-2
What is the Revenues during Tenure 1854-1855?
CREATE TABLE "list_of_daimy" ( "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text );
SELECT "revenues" FROM "list_of_daimy" WHERE "tenure"='1854-1855';
2-15974358-1
What is the Revenues of Ukyo-Daiyu?
CREATE TABLE "list_of_daimy" ( "name" text, "tenure" text, "courtesy_title" text, "court_rank" text, "revenues" text );
SELECT "revenues" FROM "list_of_daimy" WHERE "courtesy_title"='ukyo-daiyu';
2-15974358-1
What country was the player, rod pampling, from who placed t10?
CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round_conclusion_sunday" WHERE "place"='t10' AND "player"='rod pampling';
2-16147528-7
What was the score that thomas levet got when he placed t10?
CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round_conclusion_sunday" WHERE "place"='t10' AND "player"='thomas levet';
2-16147528-7
What country did the player who scored 73-73-65=211 come from?
CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round_conclusion_sunday" WHERE "score"='73-73-65=211';
2-16147528-7
What is the score that the player who placed t4 from the united states get?
CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "third_round_conclusion_sunday" WHERE "country"='united states' AND "place"='t4';
2-16147528-7
What country is phil mickelson from?
CREATE TABLE "third_round_conclusion_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "country" FROM "third_round_conclusion_sunday" WHERE "player"='phil mickelson';
2-16147528-7
What is the Team with a Machine that is nsr250 and has Points of 8?
CREATE TABLE "grand_prix_career_statistics" ( "year" real, "class" text, "team" text, "machine" text, "points" real, "wins" real );
SELECT "team" FROM "grand_prix_career_statistics" WHERE "machine"='nsr250' AND "points"=8;
2-15961118-2
What is the total lost that has points greater than 8 and a difference of - 8 and a position of greater than 5?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT SUM("lost") FROM "apea_s_campeonato_paulista" WHERE "points">8 AND "difference"='- 8' AND "position">5;
2-15404907-1
What is the greatest number of points that has a lost bigger than 5, a difference of - 10 and a played bigger than 12?
CREATE TABLE "apea_s_campeonato_paulista" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text );
SELECT MAX("points") FROM "apea_s_campeonato_paulista" WHERE "lost">5 AND "difference"='- 10' AND "played">12;
2-15404907-1
What is the Name with an Average that is 16.4?
CREATE TABLE "india" ( "name" text, "innings" real, "runs_scored" real, "balls_faced" real, "average" real, "s_r" real );
SELECT "name" FROM "india" WHERE "average"=16.4;
2-15700367-1
What was the match number for Start Gniezno?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "match" FROM "north_group" WHERE "team"='start gniezno';
2-15434792-4
Who was the team that lost but had 10 points?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "lost" FROM "north_group" WHERE "points"='10';
2-15434792-4
What was the draw for Lpż Gdańsk with a match of 8?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "draw" FROM "north_group" WHERE "match"='8' AND "team"='lpż gdańsk';
2-15434792-4
What team had a draw of 0?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "team" FROM "north_group" WHERE "draw"='0';
2-15434792-4
What match had 8 points?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "match" FROM "north_group" WHERE "points"='8';
2-15434792-4
What is the draw for a match that had 10 points?
CREATE TABLE "north_group" ( "team" text, "match" text, "points" text, "draw" text, "lost" text );
SELECT "draw" FROM "north_group" WHERE "points"='10';
2-15434792-4
What was the 1980-1981 team of the player born in Warroad, Minnesota?
CREATE TABLE "list_of_united_states_national_ice_hocke" ( "position" text, "jersey_num" real, "name" text, "height_cm" real, "weight_kg" real, "birthdate" text, "birthplace" text, "1980_1981_team" text );
SELECT "1980_1981_team" FROM "list_of_united_states_national_ice_hocke" WHERE "birthplace"='warroad, minnesota';
2-15715109-39
How many losses have a draw greater than 0?
CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT SUM("lost") FROM "south_group" WHERE "draw">0;
2-15434792-5
Which average match has points less than 6?
CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT AVG("match") FROM "south_group" WHERE "points"<6;
2-15434792-5
Which average draw has points greater than 12?
CREATE TABLE "south_group" ( "team" text, "match" real, "points" real, "draw" real, "lost" real );
SELECT AVG("draw") FROM "south_group" WHERE "points">12;
2-15434792-5
What Trainer had Jockey William Jenkins in a race with Time of 1:44.80?
CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text );
SELECT "trainer" FROM "winners_of_the_federico_tesio_stakes" WHERE "time"='1:44.80' AND "jockey"='william jenkins';
2-16087035-1
In what Year was the Purse $150,000 with a Time of 1:49.00?
CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text );
SELECT MIN("year") FROM "winners_of_the_federico_tesio_stakes" WHERE "purse"='$150,000' AND "time"='1:49.00';
2-16087035-1
What Owner's Trainer is Todd A. Pletcher?
CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text );
SELECT "owner" FROM "winners_of_the_federico_tesio_stakes" WHERE "trainer"='todd a. pletcher';
2-16087035-1
What was the Purse for Owner Harold A. Allen prior to 2009?
CREATE TABLE "winners_of_the_federico_tesio_stakes" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance_miles" text, "time" text, "purse" text );
SELECT "purse" FROM "winners_of_the_federico_tesio_stakes" WHERE "year"<2009 AND "owner"='harold a. allen';
2-16087035-1
What is GDP (PPP) Per Capita 2012 Euro, when Population In Millions is greater than 10.8, and when GDP (Nominal) Per Capita 2012 Euro is 25,600?
CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp_ppp_per_capita_2012_eu27_100" text );
SELECT "gdp_ppp_per_capita_2012_euro" FROM "economic_variation" WHERE "population_in_millions">10.8 AND "gdp_nominal_per_capita_2012_euro"='25,600';
2-1598533-1
What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)?
CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp_ppp_per_capita_2012_eu27_100" text );
SELECT "gdp_2012_millions_of_euro" FROM "economic_variation" WHERE "population_in_millions"<1.3 AND "gdp_nominal_per_capita_2012_euro"='20,700(p)';
2-1598533-1
What is GDP (PPP) Per Capita 2012 EU27 = 100, when GDP 2012 Millions Of Euro is 309,900?
CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp_ppp_per_capita_2012_eu27_100" text );
SELECT "gdp_ppp_per_capita_2012_eu27_100" FROM "economic_variation" WHERE "gdp_2012_millions_of_euro"='309,900';
2-1598533-1
What is Population in Millions, when GDP 2012 Millions of Euro is 600,638?
CREATE TABLE "economic_variation" ( "s_member_state" text, "gdp_2012_millions_of_euro" text, "population_in_millions" real, "gdp_ppp_per_capita_2012_euro" text, "gdp_nominal_per_capita_2012_euro" text, "gdp_ppp_per_capita_2012_eu27_100" text );
SELECT "population_in_millions" FROM "economic_variation" WHERE "gdp_2012_millions_of_euro"='600,638';
2-1598533-1
What was the Money for Player Ernie Els?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round_sunday" WHERE "player"='ernie els';
2-16092658-7
What T9 Player had a Score of 70-74-69-70=283?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "player" FROM "final_round_sunday" WHERE "place"='t9' AND "score"='70-74-69-70=283';
2-16092658-7
What is the Money for the T1 Player with a Score of 66-69-70-75=280?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round_sunday" WHERE "place"='t1' AND "score"='66-69-70-75=280';
2-16092658-7
What is Chris Riley's Money?
CREATE TABLE "final_round_sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_round_sunday" WHERE "player"='chris riley';
2-16092658-7