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 1989 result for the tournament that had a 1983 and 1987 result of A?
CREATE TABLE "grand_prix_singles_tournament_timeline" ( "tournament" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "career_sr" text );
SELECT "1989" FROM "grand_prix_singles_tournament_timeline" WHERE "1983"='a' AND "1987"='a';
2-1717109-6
What was the result fot the UFC 85 event?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "event"='ufc 85';
2-16907538-2
In which location did the Meca World Vale Tudo 6 event happen?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "event"='meca world vale tudo 6';
2-16907538-2
What was his record at the AFC: Brazil 1 event that went 3 rounds?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"='3' AND "event"='afc: brazil 1';
2-16907538-2
Which country has Anselmo Da Silva in lane 2?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT "country" FROM "semifinals" WHERE "lane"<2 AND "name"='anselmo da silva';
2-16188309-3
What is the heat number at 7.63, and a reaction less than 0.229?
CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real );
SELECT COUNT("heat") FROM "semifinals" WHERE "mark"='7.63' AND "react"<0.229;
2-16188309-3
What is the verb meaning when part 2 is band?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "english" WHERE "part_2"='band';
2-1745843-6
What is the verb meaning when the part 2 is blēot?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "english" WHERE "part_2"='blēot';
2-1745843-6
What is the Part 2 when the class is 6?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_2" FROM "english" WHERE "class"='6';
2-1745843-6
What is the class when the verb meaning is to nourish, to grow?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "class" FROM "english" WHERE "verb_meaning"='to nourish, to grow';
2-1745843-6
What is the Part 3 when the Verb meaning is to gather?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "part_3" FROM "english" WHERE "verb_meaning"='to gather';
2-1745843-6
What is the Verb meaning when part 1 is alan?
CREATE TABLE "english" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text );
SELECT "verb_meaning" FROM "english" WHERE "part_1"='alan';
2-1745843-6
What is the average attendance for matches where the home team was vida?
CREATE TABLE "round_5" ( "date" text, "home" text, "score" text, "away" text, "attendance" real );
SELECT AVG("attendance") FROM "round_5" WHERE "home"='vida';
2-17026847-7
Who was the home team during the match where there were 2709 in attendance?
CREATE TABLE "round_5" ( "date" text, "home" text, "score" text, "away" text, "attendance" real );
SELECT "home" FROM "round_5" WHERE "attendance"=2709;
2-17026847-7
What is the sum of the attendance where the score was 1:1?
CREATE TABLE "round_5" ( "date" text, "home" text, "score" text, "away" text, "attendance" real );
SELECT SUM("attendance") FROM "round_5" WHERE "score"='1:1';
2-17026847-7
Where did montreal visit with more than 24 points and 14,995 attendees?
CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );
SELECT "home" FROM "game_log" WHERE "attendance">'14,995' AND "points">24 AND "visitor"='montreal';
2-17218729-4
How many ties occurred with a score of 2–2?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "tie_no" FROM "second_round_proper" WHERE "score"='2–2';
2-16351829-2
Who is the home team when Preston North End is the away team?
CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text );
SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='preston north end';
2-16351829-2
What school/club did the player who layed shooting guard attend?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "school_club_team" FROM "w" WHERE "position"='shooting guard';
2-16494599-21
What school/club did gerald wilkins attend?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "school_club_team" FROM "w" WHERE "player"='gerald wilkins';
2-16494599-21
What are the years when the grizzlies had a point guard who attended the school/club Florida?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "w" WHERE "position"='point guard' AND "school_club_team"='florida';
2-16494599-21
What are the years when the grizzles had a player who attended UCLA?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "w" WHERE "school_club_team"='ucla';
2-16494599-21
What are the years when the grizzles had a player who attended Villanova?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "years_for_grizzlies" FROM "w" WHERE "school_club_team"='villanova';
2-16494599-21
What position did the person who was with the grizzlies in 1998-1999 play?
CREATE TABLE "w" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );
SELECT "position" FROM "w" WHERE "years_for_grizzlies"='1998-1999';
2-16494599-21
What is the date of the game when the opponent is the Cleveland Browns?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "opponent"='cleveland browns';
2-16729038-1
What is the result of the game when the attendance is 62,078?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='62,078';
2-16729038-1
What is the result of the game when the attendance is 75,466?
CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "attendance"='75,466';
2-16729038-1
What is the genitive for the ergative shen?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "genitive" FROM "pronouns" WHERE "ergative"='shen';
2-1730774-2
What is the instrumental for the dative shen?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "instrumental" FROM "pronouns" WHERE "dative"='shen';
2-1730774-2
What is the adverbial for the nominative me?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "adverbial" FROM "pronouns" WHERE "nominative"='me';
2-1730774-2
What is the ergative for the dative chven?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "ergative" FROM "pronouns" WHERE "dative"='chven';
2-1730774-2
What is the ergative for the genitive tkven(s)?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "ergative" FROM "pronouns" WHERE "genitive"='tkven(s)';
2-1730774-2
What is the ergative for the dative (i)mas?
CREATE TABLE "pronouns" ( "nominative" text, "ergative" text, "dative" text, "genitive" text, "instrumental" text, "adverbial" text );
SELECT "ergative" FROM "pronouns" WHERE "dative"='(i)mas';
2-1730774-2
What is the Front Side Bus for Model Number c3 850?
CREATE TABLE "ezra_ezra_t_130_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text );
SELECT "front_side_bus" FROM "ezra_ezra_t_130_nm" WHERE "model_number"='c3 850';
2-16341329-2
What is the Frequency for Model Number c3 850?
CREATE TABLE "ezra_ezra_t_130_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text );
SELECT "frequency" FROM "ezra_ezra_t_130_nm" WHERE "model_number"='c3 850';
2-16341329-2
Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×?
CREATE TABLE "ezra_ezra_t_130_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text );
SELECT "model_number" FROM "ezra_ezra_t_130_nm" WHERE "front_side_bus"='100mhz' AND "l2_cache"='64kib' AND "multiplier"='8.5×';
2-16341329-2
What is the Voltage for Model Number c3 866?
CREATE TABLE "ezra_ezra_t_130_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "front_side_bus" text, "multiplier" text, "voltage" text, "socket" text );
SELECT "voltage" FROM "ezra_ezra_t_130_nm" WHERE "model_number"='c3 866';
2-16341329-2
What is Finalists, when Tournament is Miami?
CREATE TABLE "doubles" ( "tournament" text, "surface" text, "week" text, "winners" text, "finalists" text, "semifinalists" text );
SELECT "finalists" FROM "doubles" WHERE "tournament"='miami';
2-16780573-2
What is Tournament, when Week is November 23?
CREATE TABLE "doubles" ( "tournament" text, "surface" text, "week" text, "winners" text, "finalists" text, "semifinalists" text );
SELECT "tournament" FROM "doubles" WHERE "week"='november 23';
2-16780573-2
What is Semifinalists, when Tournament is Rome
CREATE TABLE "doubles" ( "tournament" text, "surface" text, "week" text, "winners" text, "finalists" text, "semifinalists" text );
SELECT "semifinalists" FROM "doubles" WHERE "tournament"='rome';
2-16780573-2
What rank were the Buckeyes when there were 68,586 in attendance?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "rank_num" FROM "schedule" WHERE "attendance"='68,586';
2-16782543-1
What date was the game when 40,000 attended?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='40,000';
2-16782543-1
What date was the game when 45,943 attended?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "date" FROM "schedule" WHERE "attendance"='45,943';
2-16782543-1
Who was the opponent that played against the Buckeyes on October 17?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "opponentnum" FROM "schedule" WHERE "date"='october 17';
2-16782543-1
What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1?
CREATE TABLE "schedule" ( "date" text, "opponentnum" text, "rank_num" text, "site" text, "result" text, "attendance" text );
SELECT "result" FROM "schedule" WHERE "rank_num"='1' AND "attendance"='22,555';
2-16782543-1
What Player is from Connecticut?
CREATE TABLE "2008_atlanta_dream" ( "pick" real, "player" text, "nationality" text, "new_wnba_team" text, "former_wnba_team" text, "college_country_team" text );
SELECT "player" FROM "2008_atlanta_dream" WHERE "college_country_team"='connecticut';
2-17308269-6
What is the highest position of the team having played under 10 matches?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT MAX("position") FROM "relegation_round" WHERE "played"<10;
2-16501954-17
What is the total number of played values for teams with more than 14 points and more than 1 draw?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("played") FROM "relegation_round" WHERE "points">14 AND "drawn">1;
2-16501954-17
What is the total number of positions having points over 2, more than 4 losses, and under 10 matches played?
CREATE TABLE "relegation_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real );
SELECT COUNT("position") FROM "relegation_round" WHERE "points">2 AND "lost">4 AND "played"<10;
2-16501954-17
WHich Televotes has a Performer of biljana dodeva, and a Draw larger than 10?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "televotes" real, "rank" real );
SELECT MIN("televotes") FROM "references" WHERE "performer"='biljana dodeva' AND "draw">10;
2-16791999-1
Name the highest Draw which has a Rank of 14, and a Televotes larger than 908?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "televotes" real, "rank" real );
SELECT MAX("draw") FROM "references" WHERE "rank"=14 AND "televotes">908;
2-16791999-1
Name the lowest Televotes which has monika sokolovska and a Rank larger than 15?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "televotes" real, "rank" real );
SELECT MIN("televotes") FROM "references" WHERE "performer"='monika sokolovska' AND "rank">15;
2-16791999-1
Name the lowest Draw which has a Performer of kaliopi and a Televotes larger than 3834?
CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "televotes" real, "rank" real );
SELECT MIN("draw") FROM "references" WHERE "performer"='kaliopi' AND "televotes">3834;
2-16791999-1
What is Total, when Player is "Hale Irwin"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "total" FROM "missed_the_cut" WHERE "player"='hale irwin';
2-17162128-3
What is Player, when Country is "United States", and when To Par is "WD"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "player" FROM "missed_the_cut" WHERE "country"='united states' AND "to_par"='wd';
2-17162128-3
What is Player, when Total is "154"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "player" FROM "missed_the_cut" WHERE "total"='154';
2-17162128-3
What is Player, when Country is "United States", and when Total is "154"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "player" FROM "missed_the_cut" WHERE "country"='united states' AND "total"='154';
2-17162128-3
What is Country, when To Par is "+11"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "country" FROM "missed_the_cut" WHERE "to_par"='+11';
2-17162128-3
What is Country, when Player is "Hale Irwin"?
CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" text, "to_par" text );
SELECT "country" FROM "missed_the_cut" WHERE "player"='hale irwin';
2-17162128-3
What is the lowest interview score for Missouri, where the swimsuit score was highter than 9.433?
CREATE TABLE "final_competition_score" ( "country" text, "preliminary" real, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MIN("interview") FROM "final_competition_score" WHERE "country"='missouri' AND "swimsuit">9.433;
2-17088705-2
What is the sum of Preliminary scores where the interview score is 9.654 and the average score is lower than 9.733?
CREATE TABLE "final_competition_score" ( "country" text, "preliminary" real, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT SUM("preliminary") FROM "final_competition_score" WHERE "interview"=9.654 AND "average"<9.733;
2-17088705-2
What is the sum of Swimsuit scores where the average score is 9.733 and the interview score is higher than 9.654?
CREATE TABLE "final_competition_score" ( "country" text, "preliminary" real, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT SUM("swimsuit") FROM "final_competition_score" WHERE "average"=9.733 AND "interview">9.654;
2-17088705-2
What is the sum of Evening Gown scores where the swimsuit score is higher than 9.4 and the average score is lower than 9.733?
CREATE TABLE "final_competition_score" ( "country" text, "preliminary" real, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT SUM("evening_gown") FROM "final_competition_score" WHERE "swimsuit">9.4 AND "average"<9.733;
2-17088705-2
What is the lowest average score where the evening gown score was 8.811?
CREATE TABLE "final_competition_score" ( "country" text, "preliminary" real, "interview" real, "swimsuit" real, "evening_gown" real, "average" real );
SELECT MIN("average") FROM "final_competition_score" WHERE "evening_gown"=8.811;
2-17088705-2
For a team with a goals against less than 58, a position of 10, and a points 2 more than 53, what is the average lost?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real );
SELECT AVG("lost") FROM "final_table" WHERE "goals_against"<58 AND "position"=10 AND "points_2">53;
2-17366952-1
For a team having goals for more than 95, what is the lowest position?
CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real );
SELECT MIN("position") FROM "final_table" WHERE "goals_for">95;
2-17366952-1
What is the function percentage when the estimated function percentage is 20?
CREATE TABLE "references" ( "grade" text, "description" text, "measurement" text, "function_pct" text, "estimated_function_pct" real );
SELECT "function_pct" FROM "references" WHERE "estimated_function_pct"=20;
2-17475470-1
What is the measurement where the estimated function % is less than 20?
CREATE TABLE "references" ( "grade" text, "description" text, "measurement" text, "function_pct" text, "estimated_function_pct" real );
SELECT "measurement" FROM "references" WHERE "estimated_function_pct"<20;
2-17475470-1
What is the estimated function % when the measurement is 8/8?
CREATE TABLE "references" ( "grade" text, "description" text, "measurement" text, "function_pct" text, "estimated_function_pct" real );
SELECT "estimated_function_pct" FROM "references" WHERE "measurement"='8/8';
2-17475470-1
What place did jacky cupit take when his To par was under 13?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "place" FROM "final_leaderboard" WHERE "to_par"<13 AND "player"='jacky cupit';
2-17277211-3
Which united states player had a To par of 12?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "player" FROM "final_leaderboard" WHERE "to_par"=12 AND "country"='united states';
2-17277211-3
Which player had a To par of 13?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text );
SELECT "player" FROM "final_leaderboard" WHERE "to_par"=13;
2-17277211-3
What did vijay singh score with a +5 to par?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "to_par"='+5' AND "player"='vijay singh';
2-17162214-5
What was the average rank for south africa when they had more than 8 silver medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("rank") FROM "medal_table" WHERE "nation"='south africa' AND "silver">8;
2-175110-1
What is the average number of gold medals the netherlands got when they had more than 4 bronze medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT AVG("gold") FROM "medal_table" WHERE "nation"='netherlands' AND "bronze">4;
2-175110-1
What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT SUM("gold") FROM "medal_table" WHERE "silver">8 AND "nation"='great britain' AND "total"<61;
2-175110-1
What is the highest number of bronze medals that israel acheived when they got less than 3 silver medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='israel' AND "silver"<3;
2-175110-1
What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals?
CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );
SELECT COUNT("gold") FROM "medal_table" WHERE "bronze"=2 AND "silver">5;
2-175110-1
What is Partner, when Surface is Hard, and when Score is 6–3, 7–6(0)?
CREATE TABLE "doubles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "doubles_5_2_3" WHERE "surface"='hard' AND "score"='6–3, 7–6(0)';
2-16472507-2
What is Opponents, when Partner is Vitalia Diatchenko?
CREATE TABLE "doubles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_5_2_3" WHERE "partner"='vitalia diatchenko';
2-16472507-2
What is Partner, when Outcome is Winner, and when Date is 12 October 2003?
CREATE TABLE "doubles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "partner" FROM "doubles_5_2_3" WHERE "outcome"='winner' AND "date"='12 october 2003';
2-16472507-2
What is Opponents, when Partner is Mervana Jugić-Salkić?
CREATE TABLE "doubles_5_2_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text );
SELECT "opponents" FROM "doubles_5_2_3" WHERE "partner"='mervana jugić-salkić';
2-16472507-2
What is the total number of Field Goal %, when Free Throw % is greater than 0.5, when Rebounds is 159, and when Points Per Game is less than 7.1?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes_played" real, "minutes_played_per_game" real, "rebounds" real, "rebounds_per_game" real, "assists" real, "assists_per_game" real, "field_goal_pct" real, "free_throw_pct" real, "points" real, "points_per_game" real );
SELECT COUNT("field_goal_pct") FROM "player_stats" WHERE "free_throw_pct">0.5 AND "rebounds"=159 AND "points_per_game"<7.1;
2-17309791-5
What is the lowest Minutes Played Per Game, when Rebounds is less than 347, when Assists is greater than 5, and when Minutes Played is less than 301?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes_played" real, "minutes_played_per_game" real, "rebounds" real, "rebounds_per_game" real, "assists" real, "assists_per_game" real, "field_goal_pct" real, "free_throw_pct" real, "points" real, "points_per_game" real );
SELECT MIN("minutes_played_per_game") FROM "player_stats" WHERE "rebounds"<347 AND "assists">5 AND "minutes_played"<301;
2-17309791-5
What is the lowest Minutes Played, when Rebounds is 25, and when Field Goal % is less than "0.315"?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes_played" real, "minutes_played_per_game" real, "rebounds" real, "rebounds_per_game" real, "assists" real, "assists_per_game" real, "field_goal_pct" real, "free_throw_pct" real, "points" real, "points_per_game" real );
SELECT MIN("minutes_played") FROM "player_stats" WHERE "rebounds"=25 AND "field_goal_pct"<0.315;
2-17309791-5
What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"?
CREATE TABLE "player_stats" ( "player" text, "games_played" real, "minutes_played" real, "minutes_played_per_game" real, "rebounds" real, "rebounds_per_game" real, "assists" real, "assists_per_game" real, "field_goal_pct" real, "free_throw_pct" real, "points" real, "points_per_game" real );
SELECT AVG("rebounds") FROM "player_stats" WHERE "minutes_played"=113 AND "games_played">18;
2-17309791-5
What is the score on March 17?
CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text );
SELECT "score" FROM "season_schedule" WHERE "date"='march 17';
2-17064508-8
Which event led to a loss against Josh Diekman?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='loss' AND "opponent"='josh diekman';
2-17442497-2
Which location led to a decision and a record of 1-2?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "method"='decision' AND "record"='1-2';
2-17442497-2
Which method took place against Chris Herring?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='chris herring';
2-17442497-2
What is the highest number of laps that max biaggi rode on a grid larger than 2?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("laps") FROM "moto_gp_classification" WHERE "rider"='max biaggi' AND "grid">2;
2-17039811-1
What is the highest grid that tetsuya harada rode in?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT MAX("grid") FROM "moto_gp_classification" WHERE "rider"='tetsuya harada';
2-17039811-1
What is the average number of laps that were made when the race took a time of +48.325?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT AVG("laps") FROM "moto_gp_classification" WHERE "time_retired"='+48.325';
2-17039811-1
What is the total number of laps during the race that had a time of +9.682?
CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+9.682';
2-17039811-1
What is the highest Pick, when College is "Syracuse", and when Overall is less than 18?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT MAX("pick") FROM "washington_redskins_draft_history" WHERE "college"='syracuse' AND "overall"<18;
2-17100961-50
What is Position, when College is "Houston"?
CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );
SELECT "position" FROM "washington_redskins_draft_history" WHERE "college"='houston';
2-17100961-50
What is the number of networks when the size of rest bit field is 8?
CREATE TABLE "introduction_of_address_classes" ( "class" text, "leading_bits" real, "size_of_network_number_bit_field" text, "size_of_rest_bit_field" text, "number_of_networks" text, "addresses_per_network" text, "start_address" text, "end_address" text );
SELECT "number_of_networks" FROM "introduction_of_address_classes" WHERE "size_of_rest_bit_field"='8';
2-172047-1
What is the start address when the network number bit field is 16?
CREATE TABLE "introduction_of_address_classes" ( "class" text, "leading_bits" real, "size_of_network_number_bit_field" text, "size_of_rest_bit_field" text, "number_of_networks" text, "addresses_per_network" text, "start_address" text, "end_address" text );
SELECT "start_address" FROM "introduction_of_address_classes" WHERE "size_of_network_number_bit_field"='16';
2-172047-1
What is the end address for the Class E (Reserved)?
CREATE TABLE "introduction_of_address_classes" ( "class" text, "leading_bits" real, "size_of_network_number_bit_field" text, "size_of_rest_bit_field" text, "number_of_networks" text, "addresses_per_network" text, "start_address" text, "end_address" text );
SELECT "end_address" FROM "introduction_of_address_classes" WHERE "class"='class e (reserved)';
2-172047-1
What is the size of the rest bit field when the leading bits are more than 110 and the start address is 224.0.0.0?
CREATE TABLE "introduction_of_address_classes" ( "class" text, "leading_bits" real, "size_of_network_number_bit_field" text, "size_of_rest_bit_field" text, "number_of_networks" text, "addresses_per_network" text, "start_address" text, "end_address" text );
SELECT "size_of_rest_bit_field" FROM "introduction_of_address_classes" WHERE "leading_bits">110 AND "start_address"='224.0.0.0';
2-172047-1