question
stringlengths
12
244
create_table_statement
stringlengths
97
895
sql_query
stringlengths
27
479
wiki_sql_table_id
stringlengths
8
14
Which category was Maite Perroni nominated for earlier than 2009?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated" text, "result" text );
SELECT "category" FROM "awards_and_nominations" WHERE "nominated"='maite perroni' AND "year"<2009;
2-17825020-2
In what year was there an award for TV Adicto Golden Awards and the category Female Revelation?
CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "nominated" text, "result" text );
SELECT "year" FROM "awards_and_nominations" WHERE "award"='tv adicto golden awards' AND "category"='female revelation';
2-17825020-2
What winner has silence-lotto as the team classification?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "winner" FROM "jersey_progress" WHERE "team_classification"='silence-lotto';
2-17636839-17
What general classification has david de la fuente as mountains classification, and thor hushovd as points classification?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "general_classification" FROM "jersey_progress" WHERE "mountains_classification"='david de la fuente' AND "points_classification"='thor hushovd';
2-17636839-17
What general classification has levi leipheimer as points classification?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "general_classification" FROM "jersey_progress" WHERE "points_classification"='levi leipheimer';
2-17636839-17
What team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "team_classification" FROM "jersey_progress" WHERE "points_classification"='alejandro valverde' AND "winner"='alejandro valverde' AND "stage"='3';
2-17636839-17
What winner has pierre rolland as mountains classification, with 7 as the stage?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "winner" FROM "jersey_progress" WHERE "mountains_classification"='pierre rolland' AND "stage"='7';
2-17636839-17
What general classification has 4 as the stage?
CREATE TABLE "jersey_progress" ( "stage" text, "winner" text, "general_classification" text, "mountains_classification" text, "points_classification" text, "team_classification" text );
SELECT "general_classification" FROM "jersey_progress" WHERE "stage"='4';
2-17636839-17
What are the lowest lost has 111 as the goals against?
CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MIN("lost") FROM "first_division_final_table" WHERE "goals_against"=111;
2-17718005-1
What is the highest goals against that has 15 as position?
CREATE TABLE "first_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("goals_against") FROM "first_division_final_table" WHERE "position"=15;
2-17718005-1
Hiw many losses have 30 for the goals with points greater than 24?
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("losses") FROM "group_i" WHERE "goals_for"=30 AND "points">24;
2-17710217-2
How many draws have goals for less than 56, 10 as the postion, with goals against less than 45?
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("draws") FROM "group_i" WHERE "goals_for"<56 AND "position"=10 AND "goals_against"<45;
2-17710217-2
What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?
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("draws") FROM "group_i" WHERE "points"=31 AND "wins">12 AND "goal_difference"<11;
2-17710217-2
Name Road Team of Game of game 4?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "road_team" FROM "nba_finals" WHERE "game"='game 4';
2-18206835-14
Which Date has a Road Team of chicago, and a Result of 88-85 (ot)?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "date" FROM "nba_finals" WHERE "road_team"='chicago' AND "result"='88-85 (ot)';
2-18206835-14
Which Home Team is on june 12?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "home_team" FROM "nba_finals" WHERE "date"='june 12';
2-18206835-14
Which Result that is on june 5?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "result" FROM "nba_finals" WHERE "date"='june 5';
2-18206835-14
Which Date has Result of 86-87?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "date" FROM "nba_finals" WHERE "result"='86-87';
2-18206835-14
Which Result has a Game of game 1?
CREATE TABLE "nba_finals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text );
SELECT "result" FROM "nba_finals" WHERE "game"='game 1';
2-18206835-14
What Miss Maja Pilipinas has a Binibining Pilipinas-Tourism of not awarded, and a Binibining Pilipinas-Universe of anjanette abayari?
CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "miss_maja_pilipinas" FROM "title_holders_from_1973_until_1991" WHERE "binibining_pilipinas_tourism"='not awarded' AND "binibining_pilipinas_universe"='anjanette abayari';
2-1825751-2
What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez?
CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "binibining_pilipinas_international" FROM "title_holders_from_1973_until_1991" WHERE "year">1990 AND "binibining_pilipinas_universe"='maria lourdes gonzalez';
2-1825751-2
What First runner-up has a Miss Maja Pilipinas of nanette prodigalidad?
CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "first_runner_up" FROM "title_holders_from_1973_until_1991" WHERE "miss_maja_pilipinas"='nanette prodigalidad';
2-1825751-2
What is the smallest Year with a Binibining Pilipinas-International of jessie alice salones dixson?
CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT MIN("year") FROM "title_holders_from_1973_until_1991" WHERE "binibining_pilipinas_international"='jessie alice salones dixson';
2-1825751-2
What Binibining Pilipinas-International has a Year of 1975?
CREATE TABLE "title_holders_from_1973_until_1991" ( "year" real, "binibining_pilipinas_universe" text, "binibining_pilipinas_international" text, "miss_maja_pilipinas" text, "binibining_pilipinas_tourism" text, "first_runner_up" text, "second_runner_up" text );
SELECT "binibining_pilipinas_international" FROM "title_holders_from_1973_until_1991" WHERE "year"=1975;
2-1825751-2
What is To par, when Player is "Jesper Parnevik"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "player"='jesper parnevik';
2-18096431-5
What is Player, when Place is "1"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "player" FROM "second_round" WHERE "place"='1';
2-18096431-5
What is To par, when Country is "United States", and when Player is "Mark Brooks"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "to_par" FROM "second_round" WHERE "country"='united states' AND "player"='mark brooks';
2-18096431-5
What is Place, when Player is "Phil Mickelson"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "place" FROM "second_round" WHERE "player"='phil mickelson';
2-18096431-5
What is Score, when Player is "Brad Faxon"?
CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text );
SELECT "score" FROM "second_round" WHERE "player"='brad faxon';
2-18096431-5
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
CREATE TABLE "vuko_karov_tournament" ( "edition" real, "year" real, "winner" text, "runner_up" text, "third" text );
SELECT MIN("edition") FROM "vuko_karov_tournament" WHERE "year">2003 AND "third"='tikveš' AND "runner_up"='sileks';
2-17874336-6
What was the latest year with an edition of 14?
CREATE TABLE "vuko_karov_tournament" ( "edition" real, "year" real, "winner" text, "runner_up" text, "third" text );
SELECT MAX("year") FROM "vuko_karov_tournament" WHERE "edition"=14;
2-17874336-6
What was the venue for the game on 18/03/2006?
CREATE TABLE "2006" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text );
SELECT "venue" FROM "2006" WHERE "date"='18/03/2006';
2-18178551-7
What was the score when the place was t8?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "score" FROM "final_leaderboard" WHERE "place"='t8';
2-18100823-3
What country scored 71-66-66-71=274?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_leaderboard" WHERE "score"='71-66-66-71=274';
2-18100823-3
What country scored 66-65-66-72=269?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_leaderboard" WHERE "score"='66-65-66-72=269';
2-18100823-3
What was the money for place t3 and United States?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "money" FROM "final_leaderboard" WHERE "place"='t3' AND "country"='united states';
2-18100823-3
What country does Jeff Sluman play for?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "country" FROM "final_leaderboard" WHERE "player"='jeff sluman';
2-18100823-3
What was the to par for place t8 and a score of 71-66-66-71=274?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text );
SELECT "to_par" FROM "final_leaderboard" WHERE "place"='t8' AND "score"='71-66-66-71=274';
2-18100823-3
What home team played against Fleetwood Town?
CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real );
SELECT "home_team" FROM "first_round_proper" WHERE "away_team"='fleetwood town';
2-17814838-2
What callsign has 1300 as the frequency?
CREATE TABLE "am" ( "frequency" real, "power_d_n" text, "callsign" text, "brand" text, "city_of_license" text );
SELECT "callsign" FROM "am" WHERE "frequency"=1300;
2-17982829-9
What's the name of the stadium when the club was F.C. Igea Virtus Barcellona?
CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "stadium" FROM "girone_c" WHERE "club"='f.c. igea virtus barcellona';
2-17702363-3
Who was the club when during the 2007-08 season had 12th in serie c2/c?
CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "club" FROM "girone_c" WHERE "2007_08_season"='12th in serie c2/c';
2-17702363-3
Who was the club when during the 2007-08 season had 14th in serie c2/c?
CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "club" FROM "girone_c" WHERE "2007_08_season"='14th in serie c2/c';
2-17702363-3
What is the capacity when the 2007–08 season was 1st Serie D/I?
CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT "capacity" FROM "girone_c" WHERE "2007_08_season"='1st serie d/i';
2-17702363-3
What was the largest capacity when the club was F.C. Igea Virtus Barcellona?
CREATE TABLE "girone_c" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text );
SELECT MAX("capacity") FROM "girone_c" WHERE "club"='f.c. igea virtus barcellona';
2-17702363-3
Who had a total of 34?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT "name" FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "total"=34;
2-17634218-19
What rank is Takatōriki having less than 30 total?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT "highest_rank" FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "total"<30 AND "name"='takatōriki';
2-17634218-19
What was the total when the first was November 1966?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT SUM("total") FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "first"='november 1966';
2-17634218-19
What is the last when the first was January 2001 and more than 26 total?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT "last" FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "total">26 AND "first"='january 2001';
2-17634218-19
What is the greatest total when the last was September 1970?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT MAX("total") FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "last"='september 1970';
2-17634218-19
What rank is Takatōriki?
CREATE TABLE "most_tournaments_in_junior_san_yaku_komu" ( "name" text, "total" real, "first" text, "last" text, "highest_rank" text );
SELECT "highest_rank" FROM "most_tournaments_in_junior_san_yaku_komu" WHERE "name"='takatōriki';
2-17634218-19
What year has 54 (73) points?
CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text );
SELECT SUM("year") FROM "complete_world_championship_formula_one_" WHERE "pts"='54 (73)';
2-181892-1
What is the chassis more recent than 1967?
CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text );
SELECT "chassis" FROM "complete_world_championship_formula_one_" WHERE "year">1967;
2-181892-1
What is the year of the Lotus 25 chassis?
CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text );
SELECT AVG("year") FROM "complete_world_championship_formula_one_" WHERE "chassis"='lotus 25';
2-181892-1
What is the year of the Lotus 18 chassis?
CREATE TABLE "complete_world_championship_formula_one_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" text );
SELECT COUNT("year") FROM "complete_world_championship_formula_one_" WHERE "chassis"='lotus 18';
2-181892-1
What is First Elected, when District is "Minnesota 2"?
CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "first_elected" FROM "minnesota" WHERE "district"='minnesota 2';
2-1805191-24
What is the lowest First Elected, when Party is "Republican", and when District is "Minnesota 1"?
CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT MIN("first_elected") FROM "minnesota" WHERE "party"='republican' AND "district"='minnesota 1';
2-1805191-24
What is Party, when Results is "Re-Elected", when First Elected is greater than 1990, and when District is "Minnesota 4"?
CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "party" FROM "minnesota" WHERE "results"='re-elected' AND "first_elected">1990 AND "district"='minnesota 4';
2-1805191-24
What is Incumbent, when Results is "Re-Elected", when Party is "Democratic", and when District is "Minnesota 7"?
CREATE TABLE "minnesota" ( "district" text, "incumbent" text, "party" text, "first_elected" real, "results" text );
SELECT "incumbent" FROM "minnesota" WHERE "results"='re-elected' AND "party"='democratic' AND "district"='minnesota 7';
2-1805191-24
Which Score has a Place of t5, and a Country of united states?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "place"='t5' AND "country"='united states';
2-18131508-7
Name The Score of Player of seve ballesteros?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "score" FROM "final_round" WHERE "player"='seve ballesteros';
2-18131508-7
Which Country has a Place of 2?
CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT "country" FROM "final_round" WHERE "place"='2';
2-18131508-7
How many wins did they have when they had 5 losses?
CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT "wins" FROM "2007_ladder" WHERE "losses"=5;
2-17746037-9
How many byes did they have against smaller than 1544, 13 wins, and draws larger than 0?
CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("byes") FROM "2007_ladder" WHERE "against"<1544 AND "wins"=13 AND "draws">0;
2-17746037-9
How many byes has a draw larger than 0?
CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("byes") FROM "2007_ladder" WHERE "draws">0;
2-17746037-9
What is the lowest against that has less than 9 wins, and draws smaller than 0?
CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT MIN("against") FROM "2007_ladder" WHERE "wins"<9 AND "draws"<0;
2-17746037-9
What is the total number of wins that has byes less than 0?
CREATE TABLE "2007_ladder" ( "south_west_dfl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real );
SELECT COUNT("wins") FROM "2007_ladder" WHERE "byes"<0;
2-17746037-9
What is the most money for the score 75-74-72-67=288?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );
SELECT MAX("money") FROM "final_leaderboard" WHERE "score"='75-74-72-67=288';
2-18170407-3
What's the American pronunciation when the Australian is əʉ?
CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text );
SELECT "american" FROM "long_vowels" WHERE "australian"='əʉ';
2-17798093-10
What is the 17th c. pronunciation when the british is əʊ?
CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text );
SELECT "17th_c" FROM "long_vowels" WHERE "british"='əʊ';
2-17798093-10
What is the 17th c. pronunciation when the British is i and the long vowels are e /iː/?
CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text );
SELECT "17th_c" FROM "long_vowels" WHERE "british"='i' AND "long_vowels"='e /iː/';
2-17798093-10
What's the British pronunciation when the American and Australian is i?
CREATE TABLE "long_vowels" ( "long_vowels" text, "17th_c" text, "american" text, "british" text, "australian" text );
SELECT "british" FROM "long_vowels" WHERE "american"='i' AND "australian"='i';
2-17798093-10
What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf?
CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "height" FROM "canada" WHERE "weight"='kg (lb)' AND "club"='sainte-foy' AND "pos"='cf';
2-17774593-3
What is the height of valérie dionne at Club Sainte-Foy?
CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "height" FROM "canada" WHERE "club"='sainte-foy' AND "name"='valérie dionne';
2-17774593-3
Who has a Date of Birth 1980-07-29?
CREATE TABLE "canada" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text );
SELECT "name" FROM "canada" WHERE "date_of_birth"='1980-07-29';
2-17774593-3
What is the name of the team from cisne fairfield school?
CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real );
SELECT "team_name" FROM "cooperative_programs" WHERE "schools"='cisne fairfield';
2-18304058-2
What is the name of the team from goreville vienna school?
CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real );
SELECT "team_name" FROM "cooperative_programs" WHERE "schools"='goreville vienna';
2-18304058-2
What are the colors of the team hosted by Christopher?
CREATE TABLE "cooperative_programs" ( "team_name" text, "schools" text, "sports" text, "host" text, "nickname_s" text, "colors" text, "enrollment_2013_14" real );
SELECT "colors" FROM "cooperative_programs" WHERE "host"='christopher';
2-18304058-2
What is team 1 if Renova is team 2?
CREATE TABLE "second_qualifying_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text );
SELECT "team_1" FROM "second_qualifying_round" WHERE "team_2"='renova';
2-18255941-8
What is the highest to par for the 76-70-76-76=298 score?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT MAX("to_par") FROM "final_leaderboard" WHERE "score"='76-70-76-76=298';
2-18007015-1
What score has a to par of 12 and is from Jersey?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "score" FROM "final_leaderboard" WHERE "to_par"=12 AND "country"='jersey';
2-18007015-1
What is the average money for a to par of 15, and is from the United States?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT AVG("money") FROM "final_leaderboard" WHERE "to_par"=15 AND "country"='united states';
2-18007015-1
What is the total amount of money that has a t2 place, is from the United States for player Leo Diegel?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT COUNT("money") FROM "final_leaderboard" WHERE "place"='t2' AND "country"='united states' AND "player"='leo diegel';
2-18007015-1
What county has less than $188 and a score of 74-76-73-75=298?
CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real );
SELECT "country" FROM "final_leaderboard" WHERE "money"<188 AND "score"='74-76-73-75=298';
2-18007015-1
What is Opponent, when Location is "Winnipeg, Manitoba , Canada"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "location"='winnipeg, manitoba , canada';
2-18204800-2
What is Res., when Location is "Butte, Montana , United States", and when Opponent is "Jerome Smith"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "res" FROM "mixed_martial_arts_record" WHERE "location"='butte, montana , united states' AND "opponent"='jerome smith';
2-18204800-2
What is Method, when Time is "3:20"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "method" FROM "mixed_martial_arts_record" WHERE "time"='3:20';
2-18204800-2
What is Location, when Opponent is "Mario Rinaldi"?
CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "round" real, "time" text, "location" text );
SELECT "location" FROM "mixed_martial_arts_record" WHERE "opponent"='mario rinaldi';
2-18204800-2
How much Grid has a Time/Retired of +0.785, and Laps larger than 29?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("grid") FROM "125cc_classification" WHERE "time_retired"='+0.785' AND "laps">29;
2-17684663-3
Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "grid" FROM "125cc_classification" WHERE "laps">8 AND "manufacturer"='honda' AND "time_retired"='retirement';
2-17684663-3
How many Laps have a Grid smaller than 5, and a Time/Retired of retirement?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT SUM("laps") FROM "125cc_classification" WHERE "grid"<5 AND "time_retired"='retirement';
2-17684663-3
Which Time/Retired has Laps smaller than 14, and a Rider of darren barton?
CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );
SELECT "time_retired" FROM "125cc_classification" WHERE "laps"<14 AND "rider"='darren barton';
2-17684663-3
What was the lowest lost entry for a team with fewer than 21 goals for?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MIN("lost") FROM "third_division_final_table" WHERE "goals_for"<21;
2-17785973-3
What was the position has a played entry of more than 24?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT COUNT("position") FROM "third_division_final_table" WHERE "played">24;
2-17785973-3
What is the highest position for Nelson, with a played entry of more than 24?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("position") FROM "third_division_final_table" WHERE "team"='nelson' AND "played">24;
2-17785973-3
What was the average Lost entry for Newton, for games with a drawn less than 5?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT AVG("lost") FROM "third_division_final_table" WHERE "team"='newton' AND "drawn"<5;
2-17785973-3
What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27?
CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text );
SELECT MAX("lost") FROM "third_division_final_table" WHERE "drawn"<6 AND "goals_against"<44 AND "points_1"='27';
2-17785973-3
Who has a Snatch of 157.0?
CREATE TABLE "heavyweight_105_kg" ( "name" text, "bodyweight" real, "snatch" text, "clean_jerk" text, "total_kg" text );
SELECT "name" FROM "heavyweight_105_kg" WHERE "snatch"='157.0';
2-17703223-7
What is the total bodyweight of everyone that has a Snatch of 153.0?
CREATE TABLE "heavyweight_105_kg" ( "name" text, "bodyweight" real, "snatch" text, "clean_jerk" text, "total_kg" text );
SELECT SUM("bodyweight") FROM "heavyweight_105_kg" WHERE "snatch"='153.0';
2-17703223-7
What ranking is the Battersea Power Station?
CREATE TABLE "tallest_buildings_and_structures" ( "rank" text, "name" text, "height_metres_ft" text, "floors" text, "year" real );
SELECT "rank" FROM "tallest_buildings_and_structures" WHERE "name"='battersea power station';
2-180342-1