question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which Result has a First elected of 1876, and a District of south carolina 3?
CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1876 AND "district"='south carolina 3';
2-1431558-4
Which Result has a First elected larger than 1876, and an Incumbent of john s. richardson?
CREATE TABLE "united_states_house_of_representatives_e" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "first_elected">1876 AND "incumbent"='john s. richardson';
2-1431558-4
Who is the incumbent that is a republican and first elected before 1864?
CREATE TABLE "ohio" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "incumbent" FROM "ohio" WHERE "party"='republican' AND "first_elected"<1864;
2-1434810-3
What district is the democratic Francis C. Le Blond from?
CREATE TABLE "ohio" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "district" FROM "ohio" WHERE "party"='democratic' AND "incumbent"='francis c. le blond';
2-1434810-3
In the Ohio 4 district, that is the first elected date that has a result of re-elected?
CREATE TABLE "ohio" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT SUM("first_elected") FROM "ohio" WHERE "result"='re-elected' AND "district"='ohio 4';
2-1434810-3
What is the party in Ohio 6 District?
CREATE TABLE "ohio" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "result" text );
SELECT "party" FROM "ohio" WHERE "district"='ohio 6';
2-1434810-3
Which To par has a Year of 1994?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "to_par" text, "margin_of_victory" text );
SELECT "to_par" FROM "winners" WHERE "year"=1994;
2-1529260-3
Which Country has a Margin of victory of 2 strokes?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "to_par" text, "margin_of_victory" text );
SELECT "country" FROM "winners" WHERE "margin_of_victory"='2 strokes';
2-1529260-3
Which Year is the lowest one that has a To par of –1?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "to_par" text, "margin_of_victory" text );
SELECT MIN("year") FROM "winners" WHERE "to_par"='–1';
2-1529260-3
Which Margin of victory has a Year larger than 1994, and a To par of –14, and a Score of 69-67-69-69=274?
CREATE TABLE "winners" ( "year" real, "dates" text, "champion" text, "country" text, "score" text, "to_par" text, "margin_of_victory" text );
SELECT "margin_of_victory" FROM "winners" WHERE "year">1994 AND "to_par"='–14' AND "score"='69-67-69-69=274';
2-1529260-3
What was the record after the game at the Astrodome?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "location"='astrodome';
2-14685136-1
What was the record after the game against the Houston Oilers?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "location" text, "time_et" text, "result" text, "record" text );
SELECT "record" FROM "schedule" WHERE "opponent"='houston oilers';
2-14685136-1
What is the average total score of Belarus, which had an E score less than 8.2?
CREATE TABLE "group_3_balls_2_ropes" ( "nation" text, "t_score" real, "a_score" real, "e_score" real, "total" real );
SELECT AVG("total") FROM "group_3_balls_2_ropes" WHERE "nation"='belarus' AND "e_score"<8.2;
2-14726623-4
What is the total of the team with a T score greater than 8 and an E score less than 8.4?
CREATE TABLE "group_3_balls_2_ropes" ( "nation" text, "t_score" real, "a_score" real, "e_score" real, "total" real );
SELECT SUM("total") FROM "group_3_balls_2_ropes" WHERE "t_score">8 AND "e_score"<8.4;
2-14726623-4
What is the T score of the team with an E score of 6.625?
CREATE TABLE "group_3_balls_2_ropes" ( "nation" text, "t_score" real, "a_score" real, "e_score" real, "total" real );
SELECT "t_score" FROM "group_3_balls_2_ropes" WHERE "e_score"=6.625;
2-14726623-4
What is the total of Poland, which has an E score greater than 7.725?
CREATE TABLE "group_3_balls_2_ropes" ( "nation" text, "t_score" real, "a_score" real, "e_score" real, "total" real );
SELECT COUNT("total") FROM "group_3_balls_2_ropes" WHERE "nation"='poland' AND "e_score">7.725;
2-14726623-4
What is the total of the team with a T score less than 6.8?
CREATE TABLE "group_3_balls_2_ropes" ( "nation" text, "t_score" real, "a_score" real, "e_score" real, "total" real );
SELECT SUM("total") FROM "group_3_balls_2_ropes" WHERE "t_score"<6.8;
2-14726623-4
What date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?
CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );
SELECT "date" FROM "international_goals" WHERE "competition"='2012 afc challenge cup' AND "venue"='dasarath rangasala stadium, kathmandu';
2-14033387-1
Which Social Liberal Party has 4.5% of the Conservative People's Party?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date" text, "venstre_v" text, "social_democrats_a" text, "danish_people_s_party_o" text, "socialist_people_s_party_f" text, "conservative_people_s_party_c" text, "social_liberal_party_b" text, "liberal_alliance_i" text, "red_green_alliance" text, "christian_democrats_k" text, "government" text, "opposition" text );
SELECT "social_liberal_party_b" FROM "opinion_polls" WHERE "conservative_people_s_party_c"='4.5%';
2-13888949-1
What opposition do 31.1% of Social Democrats have?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date" text, "venstre_v" text, "social_democrats_a" text, "danish_people_s_party_o" text, "socialist_people_s_party_f" text, "conservative_people_s_party_c" text, "social_liberal_party_b" text, "liberal_alliance_i" text, "red_green_alliance" text, "christian_democrats_k" text, "government" text, "opposition" text );
SELECT "opposition" FROM "opinion_polls" WHERE "social_democrats_a"='31.1%';
2-13888949-1
What is the Liberal Alliance that is backed by the Polling Firm, Capacent, and 13.0% of the Socialist People's Party?
CREATE TABLE "opinion_polls" ( "polling_firm" text, "date" text, "venstre_v" text, "social_democrats_a" text, "danish_people_s_party_o" text, "socialist_people_s_party_f" text, "conservative_people_s_party_c" text, "social_liberal_party_b" text, "liberal_alliance_i" text, "red_green_alliance" text, "christian_democrats_k" text, "government" text, "opposition" text );
SELECT "liberal_alliance_i" FROM "opinion_polls" WHERE "polling_firm"='capacent' AND "socialist_people_s_party_f"='13.0%';
2-13888949-1
Which Position has a Round larger than 14, and a School/Club Team of north texas?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "position" FROM "nfl_draft" WHERE "round">14 AND "school_club_team"='north texas';
2-15093626-1
Which Round has a Player of anthony christnovich?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT "round" FROM "nfl_draft" WHERE "player"='anthony christnovich';
2-15093626-1
Which Round is the lowest one that has a School/Club Team of virginia?
CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text );
SELECT MIN("round") FROM "nfl_draft" WHERE "school_club_team"='virginia';
2-15093626-1
What is the name of the leading scorer on 2006-11-22?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "november" WHERE "date"='2006-11-22';
2-14677944-3
What is the name of the leading scorer when the record was 9–6?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "november" WHERE "record"='9–6';
2-14677944-3
What is the number of people in Attendance when Visitor was the warriors on 2006-11-04?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "attendance" FROM "november" WHERE "visitor"='warriors' AND "date"='2006-11-04';
2-14677944-3
What team was the visitor when there were more than 16,182 people in attendance and the record was 6–3?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "november" WHERE "attendance">'16,182' AND "record"='6–3';
2-14677944-3
What is the name of the visitor on 2006-11-04?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "visitor" FROM "november" WHERE "date"='2006-11-04';
2-14677944-3
What is the name of the Leading scorer when the Score was 89–102?
CREATE TABLE "november" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "attendance" real, "record" text );
SELECT "leading_scorer" FROM "november" WHERE "score"='89–102';
2-14677944-3
Which Year is the highest one that has a Population larger than 13,012, and a Borough of richmondshire?
CREATE TABLE "settlements_by_population" ( "rank" real, "town" text, "population" real, "year" real, "borough" text, "definition" text );
SELECT MAX("year") FROM "settlements_by_population" WHERE "population">'13,012' AND "borough"='richmondshire';
2-143759-3
How many people live in Norton?
CREATE TABLE "settlements_by_population" ( "rank" real, "town" text, "population" real, "year" real, "borough" text, "definition" text );
SELECT SUM("population") FROM "settlements_by_population" WHERE "town"='norton';
2-143759-3
Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?
CREATE TABLE "settlements_by_population" ( "rank" real, "town" text, "population" real, "year" real, "borough" text, "definition" text );
SELECT "year" FROM "settlements_by_population" WHERE "borough"='harrogate' AND "rank"<6 AND "definition"='civil parish';
2-143759-3
Which Definition has a Rank smaller than 12, and a Town of tadcaster?
CREATE TABLE "settlements_by_population" ( "rank" real, "town" text, "population" real, "year" real, "borough" text, "definition" text );
SELECT "definition" FROM "settlements_by_population" WHERE "rank"<12 AND "town"='tadcaster';
2-143759-3
Which Rank is the lowest one that has a Borough of richmondshire, and a Population larger than 8,178?
CREATE TABLE "settlements_by_population" ( "rank" real, "town" text, "population" real, "year" real, "borough" text, "definition" text );
SELECT MIN("rank") FROM "settlements_by_population" WHERE "borough"='richmondshire' AND "population">'8,178';
2-143759-3
How many bronze medals did Bulgaria receive?
CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT "bronze" FROM "medal_table" WHERE "nation"='bulgaria';
2-15302803-1
What was Phil Mickelson's score to par?
CREATE TABLE "fourth_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "to_par" FROM "fourth_round" WHERE "player"='phil mickelson';
2-13931709-7
What name has an overall less than 268, and 1 as the round?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "overall"<268 AND "round"=1;
2-15198842-18
How many pick #'s have james britt as the name, with a round greater than 2?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("pick_num") FROM "atlanta_falcons_draft_history" WHERE "name"='james britt' AND "round">2;
2-15198842-18
what is the score on november 15
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text );
SELECT "score" FROM "game_log" WHERE "date"='november 15';
2-14473679-2
Which Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MAX("wins") FROM "leaders" WHERE "country"='united states' AND "player"='andy bean' AND "rank"<4;
2-14640226-3
Which Country has a Rank of 5?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT "country" FROM "leaders" WHERE "rank"=5;
2-14640226-3
Which Earnings ($) is the lowest one that has a Rank smaller than 1?
CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real );
SELECT MIN("earnings") FROM "leaders" WHERE "rank"<1;
2-14640226-3
What is the score of the game on September 13 when the Expos were the opponent?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );
SELECT "score" FROM "game_log" WHERE "opponent"='expos' AND "date"='september 13';
2-13552019-7
Who was the opponent on the September 3 game?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );
SELECT "opponent" FROM "game_log" WHERE "date"='september 3';
2-13552019-7
What is the save of the game on September 15?
CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text );
SELECT "save" FROM "game_log" WHERE "date"='september 15';
2-13552019-7
Which Game site has a Week larger than 14?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "game_site" FROM "schedule" WHERE "week">14;
2-13983625-1
Which Date has a Game site of jeppesen stadium?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "game_site"='jeppesen stadium';
2-13983625-1
Which Game site has 27,189 Attendances ?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "game_site" FROM "schedule" WHERE "attendance"='27,189';
2-13983625-1
When is it has 15,557 Attendances?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='15,557';
2-13983625-1
With an Overall less than 171, what is the Round pick of Lance Moon?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MIN("round") FROM "atlanta_falcons_draft_history" WHERE "name"='lance moon' AND "overall"<171;
2-15198842-7
What is the Name of draft Pick #10?
CREATE TABLE "atlanta_falcons_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "name" FROM "atlanta_falcons_draft_history" WHERE "pick_num"=10;
2-15198842-7
How many Rounds have a Defensive End Pick?
CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text );
SELECT COUNT("round") FROM "jacksonville_jaguars_draft_history" WHERE "position"='defensive end';
2-15100419-4
What was the time when Shinya Aoki was the opponent?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='shinya aoki';
2-13621154-2
Which method was used in round 1 with a record of 1-0?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "round"=1 AND "record"='1-0';
2-13621154-2
Which rank has a team of Suzuki with under 16 points?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "rank" FROM "grand_prix_motorcycle_racing_results" WHERE "team"='suzuki' AND "points"<16;
2-14889717-2
Which class has a rank of 5th?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "class" FROM "grand_prix_motorcycle_racing_results" WHERE "rank"='5th';
2-14889717-2
Which team has a class of 500cc and rank of 16th?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "team" FROM "grand_prix_motorcycle_racing_results" WHERE "class"='500cc' AND "rank"='16th';
2-14889717-2
Which team has 16 points and ranks 14th?
CREATE TABLE "grand_prix_motorcycle_racing_results" ( "year" real, "class" text, "team" text, "points" real, "rank" text, "wins" real );
SELECT "team" FROM "grand_prix_motorcycle_racing_results" WHERE "points"=16 AND "rank"='14th';
2-14889717-2
What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21?
CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" text, "worst_dancer_s" text, "worst_score" text );
SELECT "dance" FROM "highest_and_lowest_scoring_performances" WHERE "worst_dancer_s"='priscilla presley' AND "worst_score"='21';
2-15116785-4
What is the best score of the dance freestyle?
CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" text, "worst_dancer_s" text, "worst_score" text );
SELECT "best_score" FROM "highest_and_lowest_scoring_performances" WHERE "dance"='freestyle';
2-15116785-4
Which dance has the worst dancer(s) as marissa jaret winokur?
CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer_s" text, "best_score" text, "worst_dancer_s" text, "worst_score" text );
SELECT "dance" FROM "highest_and_lowest_scoring_performances" WHERE "worst_dancer_s"='marissa jaret winokur';
2-15116785-4
Which Points have an Opponent of vancouver canucks?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT AVG("points") FROM "regular_season" WHERE "opponent"='vancouver canucks';
2-14320222-2
How many Points have a Score of 3–0?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT COUNT("points") FROM "regular_season" WHERE "score"='3–0';
2-14320222-2
Which Game has Points smaller than 10, and an October larger than 12, and an Opponent of @ washington capitals?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT SUM("game") FROM "regular_season" WHERE "points"<10 AND "october">12 AND "opponent"='@ washington capitals';
2-14320222-2
Which Record has Points larger than 0, and a Score of 7–3?
CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real );
SELECT "record" FROM "regular_season" WHERE "points">0 AND "score"='7–3';
2-14320222-2
On what date was the game more than 5?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "date" FROM "game_log" WHERE "game">5;
2-13619027-12
Which series was on May 16?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text );
SELECT "series" FROM "game_log" WHERE "date"='may 16';
2-13619027-12
Name the date for oregon jurisdiction
CREATE TABLE "statewide" ( "date" text, "jurisdiction" text, "ronald_reagan" text, "george_h_w_bush" text, "john_b_anderson" text, "howard_baker" text, "john_connally" text, "phil_crane" text, "bob_dole" text );
SELECT "date" FROM "statewide" WHERE "jurisdiction"='oregon';
2-15016407-1
Name the john b. anderson for ronald reagan of 43% and phil crane of 0%
CREATE TABLE "statewide" ( "date" text, "jurisdiction" text, "ronald_reagan" text, "george_h_w_bush" text, "john_b_anderson" text, "howard_baker" text, "john_connally" text, "phil_crane" text, "bob_dole" text );
SELECT "john_b_anderson" FROM "statewide" WHERE "phil_crane"='0%' AND "ronald_reagan"='43%';
2-15016407-1
Name the howard bake when bush had 66%
CREATE TABLE "statewide" ( "date" text, "jurisdiction" text, "ronald_reagan" text, "george_h_w_bush" text, "john_b_anderson" text, "howard_baker" text, "john_connally" text, "phil_crane" text, "bob_dole" text );
SELECT "howard_baker" FROM "statewide" WHERE "george_h_w_bush"='66%';
2-15016407-1
Name the george bush for ronald reagan of 43%
CREATE TABLE "statewide" ( "date" text, "jurisdiction" text, "ronald_reagan" text, "george_h_w_bush" text, "john_b_anderson" text, "howard_baker" text, "john_connally" text, "phil_crane" text, "bob_dole" text );
SELECT "george_h_w_bush" FROM "statewide" WHERE "ronald_reagan"='43%';
2-15016407-1
Name the howard baker for ronald reagan of 72%
CREATE TABLE "statewide" ( "date" text, "jurisdiction" text, "ronald_reagan" text, "george_h_w_bush" text, "john_b_anderson" text, "howard_baker" text, "john_connally" text, "phil_crane" text, "bob_dole" text );
SELECT "howard_baker" FROM "statewide" WHERE "ronald_reagan"='72%';
2-15016407-1
What is the sum of goals for the 2004/05 Season?
CREATE TABLE "references" ( "season" text, "club" text, "country" text, "competition" text, "caps" real, "goals" real );
SELECT SUM("goals") FROM "references" WHERE "season"='2004/05';
2-14637463-1
What is the lowest caps for the Club of SBV Excelsior?
CREATE TABLE "references" ( "season" text, "club" text, "country" text, "competition" text, "caps" real, "goals" real );
SELECT MIN("caps") FROM "references" WHERE "club"='sbv excelsior';
2-14637463-1
Which season has Caps lower than 36 for the Club of NAC Breda?
CREATE TABLE "references" ( "season" text, "club" text, "country" text, "competition" text, "caps" real, "goals" real );
SELECT "season" FROM "references" WHERE "caps"<36 AND "club"='nac breda';
2-14637463-1
Which Opponents in the final have a Partner of daniella dominikovic?
CREATE TABLE "doubles_11_4_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "opponents_in_the_final" FROM "doubles_11_4_7" WHERE "partner"='daniella dominikovic';
2-15272495-4
Which Date has a Partner of daniella dominikovic?
CREATE TABLE "doubles_11_4_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_11_4_7" WHERE "partner"='daniella dominikovic';
2-15272495-4
Which Surface has a Partner of pemra özgen?
CREATE TABLE "doubles_11_4_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "surface" FROM "doubles_11_4_7" WHERE "partner"='pemra özgen';
2-15272495-4
Which Date has Opponents in the final of valeria casillo lilly raffa?
CREATE TABLE "doubles_11_4_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_11_4_7" WHERE "opponents_in_the_final"='valeria casillo lilly raffa';
2-15272495-4
Which Date has a Partner of daniella dominikovic?
CREATE TABLE "doubles_11_4_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents_in_the_final" text, "score" text );
SELECT "date" FROM "doubles_11_4_7" WHERE "partner"='daniella dominikovic';
2-15272495-4
Nationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT MIN("drawn") FROM "managers" WHERE "nationality"='england' AND "matches"<510 AND "lost"=4 AND "win_pct"<28.6;
2-14347400-1
Win % larger than 47.1, and a Matches smaller than 145 had what lowest lost?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT MIN("lost") FROM "managers" WHERE "win_pct">47.1 AND "matches"<145;
2-14347400-1
Matches of 15, and a Win % smaller than 20 had what highest lost?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT MAX("lost") FROM "managers" WHERE "matches"=15 AND "win_pct"<20;
2-14347400-1
Nationality of england, and a Lost larger than 39, and a Win % of 28.7, and a Drawn smaller than 37 had what sum of matches?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT SUM("matches") FROM "managers" WHERE "nationality"='england' AND "lost">39 AND "win_pct"=28.7 AND "drawn"<37;
2-14347400-1
Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT COUNT("matches") FROM "managers" WHERE "drawn"<24 AND "lost"<17 AND "win_pct"<31.25;
2-14347400-1
Lost of 18 had what sum of win %?
CREATE TABLE "managers" ( "nationality" text, "matches" real, "drawn" real, "lost" real, "win_pct" real );
SELECT SUM("win_pct") FROM "managers" WHERE "lost"=18;
2-14347400-1
When was the score 5-31?
CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text );
SELECT "date" FROM "game_log" WHERE "record"='5-31';
2-13619053-6
What is the second leg that has kk bosna?
CREATE TABLE "sixteenth_finals" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "2nd_leg" FROM "sixteenth_finals" WHERE "team_num1"='kk bosna';
2-13570080-12
What is the 1st leg that has hapoel jerusalem?
CREATE TABLE "sixteenth_finals" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "sixteenth_finals" WHERE "team_num1"='hapoel jerusalem';
2-13570080-12
Which 1st leg that has hemofarm?
CREATE TABLE "sixteenth_finals" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "1st_leg" FROM "sixteenth_finals" WHERE "team_num1"='hemofarm';
2-13570080-12
WHich Team#1 has 70 - 59 as a 1st leg?
CREATE TABLE "sixteenth_finals" ( "team_num1" text, "agg" text, "team_num2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_num1" FROM "sixteenth_finals" WHERE "1st_leg"='70 - 59';
2-13570080-12
Who averaged 201.3 yards passing per game?
CREATE TABLE "passing" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );
SELECT "name" FROM "passing" WHERE "avg_g"=201.3;
2-14749376-18
How many players had an Att-Cmp-Int of 143–269–16, and an efficiency of less than 116.9?
CREATE TABLE "passing" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );
SELECT COUNT("avg_g") FROM "passing" WHERE "att_cmp_int"='143–269–16' AND "effic"<116.9;
2-14749376-18
What is the Att-Cmp-Int for the player with a efficiency of 117.4?
CREATE TABLE "passing" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );
SELECT "att_cmp_int" FROM "passing" WHERE "effic"=117.4;
2-14749376-18
How many legs were won by the player who had less than 84 100+, less than 14 legs lost, and less than 3 played?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" real );
SELECT SUM("legs_won") FROM "statistics" WHERE "100"<84 AND "legs_lost"<14 AND "played"<3;
2-14831932-12
What is the total number of legs lost of the player with a high checkout less than 76 and less than 3 played?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" real );
SELECT COUNT("legs_lost") FROM "statistics" WHERE "high_checkout"<76 AND "played"<3;
2-14831932-12
What is the number played of the player with 7 180s and a 140+ greater than 28?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" real );
SELECT "played" FROM "statistics" WHERE "180s"=7 AND "140">28;
2-14831932-12
What is the number of legs lost of the player with more than 8 legs won, 4 played, less than 6 180s, and a 100+ greater than 46?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" real );
SELECT SUM("legs_lost") FROM "statistics" WHERE "legs_won">8 AND "played"=4 AND "180s"<6 AND "100">46;
2-14831932-12
What is the average number of legs won of the player with a high checkout greater than 96, more than 5 played, and a smaller than 95.61 3-dart average?
CREATE TABLE "statistics" ( "player" text, "played" real, "legs_won" real, "legs_lost" real, "100" real, "140" real, "180s" real, "high_checkout" real, "3_dart_average" real );
SELECT AVG("legs_won") FROM "statistics" WHERE "high_checkout">96 AND "played">5 AND "3_dart_average"<95.61;
2-14831932-12