output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT SUM("points") FROM "references" WHERE "performer"='fe-mail';
## Task Generate a SQL query to answer the following question: `What is the sum of Points, when the Performer is fe-mail?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "draw" real, "song" text, "performer" text, "points" real, ...
SELECT "set_3" FROM "tournament_1" WHERE "time"='15:04';
## Task Generate a SQL query to answer the following question: `What is the score for set 3 with a time at 15:04?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_1" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" te...
SELECT "score" FROM "tournament_1" WHERE "set_3"='29–27';
## Task Generate a SQL query to answer the following question: `What was the overall score when the score of set 3 was 29–27?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_1" ( "date" text, "time" text, "score" text, "set_1" text, ...
SELECT "set_2" FROM "tournament_1" WHERE "set_3"='25–22';
## Task Generate a SQL query to answer the following question: `What was the score for set 2 when set 3 was 25–22?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_1" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" t...
SELECT "score" FROM "tournament_1" WHERE "set_1"='23–25';
## Task Generate a SQL query to answer the following question: `What was the overall score when set 1 was 23–25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tournament_1" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" tex...
SELECT "school_club_team" FROM "m" WHERE "player"='amal mccaskill';
## Task Generate a SQL query to answer the following question: `What school/club team did Amal McCaskill play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text,...
SELECT "school_club_team" FROM "m" WHERE "player"='mike miller';
## Task Generate a SQL query to answer the following question: `Mike Miller played for what school/club team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "s...
SELECT "player" FROM "m" WHERE "school_club_team"='maryland';
## Task Generate a SQL query to answer the following question: `Who is the player that played for the school/club team Maryland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "years_in_...
SELECT "nationality" FROM "m" WHERE "player"='cuttino mobley';
## Task Generate a SQL query to answer the following question: `Cuttino Mobley is what nationality?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "years_in_orlando" text, "school_club...
SELECT "position" FROM "m" WHERE "nationality"='united states' AND "player"='corey maggette';
## Task Generate a SQL query to answer the following question: `Corey Maggette from the United States plays what position?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "years_in_orland...
SELECT "school_club_team" FROM "m" WHERE "position"='forward-center' AND "player"='amal mccaskill';
## Task Generate a SQL query to answer the following question: `Amal McCaskill who plays forward-center played for what school/club team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "m" ( "player" text, "nationality" text, "position" text, "...
SELECT "servedby" FROM "stations" WHERE "local_authority_a"='thurrock' AND "station"='ockendon';
## Task Generate a SQL query to answer the following question: `Which Servedby has a Local authority [a ] of thurrock, and a Station of ockendon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station" text, "local_authority_a" text, ...
SELECT MIN("station_users_2005_06") FROM "stations" WHERE "station_users_2004_05"='2,117,300';
## Task Generate a SQL query to answer the following question: `Which Station users 2005–06 has a Station users 2004–05 of 2,117,300?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station" text, "local_authority_a" text, "servedby"...
SELECT COUNT("station_users_2005_06") FROM "stations" WHERE "station_users_2004_05"='1,455,700';
## Task Generate a SQL query to answer the following question: `How many Station users 2005–06 that has a Station users 2004–05 of 1,455,700?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station" text, "local_authority_a" text, "s...
SELECT "opponents_in_the_final" FROM "itf_doubles_27_15_12" WHERE "tournament"='puebla';
## Task Generate a SQL query to answer the following question: `What is the Opponents from the final with a Tournament that is puebla?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "itf_doubles_27_15_12" ( "outcome" text, "date" text, "tournamen...
SELECT "date" FROM "international_goals" WHERE "venue"='al-rashid stadium, dubai';
## Task Generate a SQL query to answer the following question: `What was the date of the game held at the Al-Rashid Stadium, Dubai?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, ...
SELECT COUNT("weeks_on_chart") FROM "singles" WHERE "track"='eso' AND "peak"<25 AND "year">2004;
## Task Generate a SQL query to answer the following question: `When the Track is ESO, the peak is smaller than 25, and the year is larger than 2004, what is the total number of Weeks on Chart?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" (...
SELECT "year" FROM "singles" WHERE "weeks_on_chart"<17 AND "track"='regálame la silla donde te esperé' AND "peak"=23;
## Task Generate a SQL query to answer the following question: `Which year has fewer Weeks on Chart than 17, a Peak of 23, and the track is regálame la silla donde te esperé?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "...
SELECT MIN("peak") FROM "singles" WHERE "weeks_on_chart"<8;
## Task Generate a SQL query to answer the following question: `What is the lowest Peak with fewer than 8 Weeks on Chart?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "chart" text, "track" text, "peak" real, "weeks_...
SELECT "round_of_16" FROM "ranking_round" WHERE "ranking_round_rank"=5;
## Task Generate a SQL query to answer the following question: `What is the Round of 16 value for the nation with a value of 5 for Ranking Round Rank?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ranking_round" ( "final_rank" real, "ranking_roun...
SELECT "team" FROM "contestants" WHERE "first_round"='1:00';
## Task Generate a SQL query to answer the following question: `What Team had the first round of 1:00?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "contestants" ( "city_state" text, "members" text, "team" text, "first_round" text, "final_r...
SELECT "city_state" FROM "contestants" WHERE "team"='atlanta hawks (retired)';
## Task Generate a SQL query to answer the following question: `What City/State did the Atlanta Hawks (retired) team play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "contestants" ( "city_state" text, "members" text, "team" text, "first...
SELECT "final_round" FROM "contestants" WHERE "members"='chris webber';
## Task Generate a SQL query to answer the following question: `What was the final round value for member Chris Webber?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "contestants" ( "city_state" text, "members" text, "team" text, "first_round"...
SELECT "first_round" FROM "contestants" WHERE "members"='kenny smith';
## Task Generate a SQL query to answer the following question: `What was the first round time for member Kenny Smith?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "contestants" ( "city_state" text, "members" text, "team" text, "first_round" t...
SELECT "team" FROM "game_log" WHERE "date"='december 30';
## Task Generate a SQL query to answer the following question: `Which team was the opponent on December 30?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, ...
SELECT "content" FROM "religious" WHERE "television_service"='ewtn';
## Task Generate a SQL query to answer the following question: `What content is provided by the television service ewtn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "language" text, "c...
SELECT "content" FROM "religious" WHERE "country"='united kingdom' AND "television_service"='ewtn';
## Task Generate a SQL query to answer the following question: `What is the content of the television service ewtn in the United Kingdom?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "lan...
SELECT "package_option" FROM "religious" WHERE "country"='italy' AND "language"='italian';
## Task Generate a SQL query to answer the following question: `What is the package/option for Italy when the language is italian?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "language" ...
SELECT "package_option" FROM "religious" WHERE "content"='religione' AND "country"='italy';
## Task Generate a SQL query to answer the following question: `What is the package/option in Italy when the content is religione?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "language" ...
SELECT "television_service" FROM "religious" WHERE "language"='italian';
## Task Generate a SQL query to answer the following question: `Which television service has italian for its language?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "language" text, "con...
SELECT "hdtv" FROM "religious" WHERE "television_service"='daystar television network';
## Task Generate a SQL query to answer the following question: `Does daystar television network provide HDTV?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "religious" ( "television_service" text, "country" text, "language" text, "content" tex...
SELECT SUM("attendance") FROM "second_round_proper" WHERE "home_team"='oxford united';
## Task Generate a SQL query to answer the following question: `What was the Attendance when Oxford United was the Home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, ...
SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='farnborough town';
## Task Generate a SQL query to answer the following question: `What was the Home team when Farnborough Town was the Away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, ...
SELECT "away_team" FROM "second_round_proper" WHERE "home_team"='blackpool';
## Task Generate a SQL query to answer the following question: `What was the Away Team of Blackpool's Home game?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" t...
SELECT COUNT("bronze") FROM "medal_table" WHERE "rank"='9';
## Task Generate a SQL query to answer the following question: `Which Bronze has a Rank of 9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real...
SELECT MAX("bronze") FROM "medal_table" WHERE "gold"<1 AND "rank"='17' AND "nation"='china';
## Task Generate a SQL query to answer the following question: `Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" rea...
SELECT "nation" FROM "medal_table" WHERE "bronze"<1 AND "total">1 AND "silver"=1;
## Task Generate a SQL query to answer the following question: `Which Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "go...
SELECT AVG("total") FROM "medal_table" WHERE "rank"='17' AND "gold">0;
## Task Generate a SQL query to answer the following question: `Which Total has a Rank of 17, and a Gold larger than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "br...
SELECT AVG("gold") FROM "medal_table" WHERE "rank"='15' AND "total"<2;
## Task Generate a SQL query to answer the following question: `Which Gold has a Rank of 15, and a Total smaller than 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "b...
SELECT "games" FROM "season_by_season_results" WHERE "tied"=10;
## Task Generate a SQL query to answer the following question: `What is the number of games for the season with 10 ties?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season_results" ( "season" text, "games" real, "lost" real, "tied...
SELECT "surface" FROM "winner_5" WHERE "opponent_in_the_final"='nathalie dechy meilen tu';
## Task Generate a SQL query to answer the following question: `What was the surface where the opponent was Nathalie Dechy Meilen Tu?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winner_5" ( "date" text, "tournament" text, "surface" text, "p...
SELECT "series_leader" FROM "events" WHERE "date"='may 31';
## Task Generate a SQL query to answer the following question: `What is the Series leader with a Date that is may 31?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "events" ( "date" text, "event" text, "winner" text, "team" text, "series_lea...
SELECT "series_leader" FROM "events" WHERE "date"='october 9';
## Task Generate a SQL query to answer the following question: `What is the Series leader with a Date that is october 9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "events" ( "date" text, "event" text, "winner" text, "team" text, "series_...
SELECT "tournament" FROM "doubles_titles_5" WHERE "date"='january 10, 1994';
## Task Generate a SQL query to answer the following question: `Which Tournament has a Date of january 10, 1994?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "partnering" te...
SELECT "opponents_in_the_final" FROM "doubles_titles_5" WHERE "date"='june 10, 1996';
## Task Generate a SQL query to answer the following question: `Which Opponents in the final have a Date of june 10, 1996?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "part...
SELECT "opponents_in_the_final" FROM "doubles_titles_5" WHERE "date"='june 10, 1996';
## Task Generate a SQL query to answer the following question: `Who's the Opponents in the final with a Date of june 10, 1996?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "surface" text, "...
SELECT "tournament" FROM "doubles_titles_5" WHERE "opponents_in_the_final"='maria lindström maria strandlund';
## Task Generate a SQL query to answer the following question: `Which Tournament has Opponents in the final of maria lindström maria strandlund?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "doubles_titles_5" ( "date" text, "tournament" text, "...
SELECT "third" FROM "champions" WHERE "teams"=13 AND "season"=1996;
## Task Generate a SQL query to answer the following question: `What country came in third when there were 13 teams in 1996?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "champions" ( "season" real, "venue" text, "teams" real, "drivers" real,...
SELECT SUM("season") FROM "champions" WHERE "venue"='donington park' AND "second"='brazil';
## Task Generate a SQL query to answer the following question: `What is the sum of season when the venue was donington park, and Brazil came in second?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "champions" ( "season" real, "venue" text, "tea...
SELECT AVG("season") FROM "champions" WHERE "venue"='circuit de nevers magny-cours' AND "drivers">30;
## Task Generate a SQL query to answer the following question: `What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "champions" ( "season" real, "...
SELECT COUNT("losses") FROM "standings" WHERE "percentage"=54.83 AND "points">8;
## Task Generate a SQL query to answer the following question: `What is the total number of Losses when the percentage is 54.83, with more than 8 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "loss...
SELECT AVG("points_for") FROM "standings" WHERE "points_against">780 AND "points"<0;
## Task Generate a SQL query to answer the following question: `What is the average Points For when there are Points Against more than 780, and Points smaller than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" ...
SELECT AVG("points") FROM "standings" WHERE "points_against"=594 AND "losses">3;
## Task Generate a SQL query to answer the following question: `What is the average Points when the Points Against is 594, and Losses is more than 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, "losses" ...
SELECT AVG("percentage") FROM "standings" WHERE "wins">0 AND "points_against">481 AND "losses"=8 AND "points_for">826;
## Task Generate a SQL query to answer the following question: `What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TAB...
SELECT MIN("wins") FROM "standings" WHERE "club"='broadview hawks' AND "points_against">594;
## Task Generate a SQL query to answer the following question: `What is the lowest Wins when the Club is broadview hawks, and Points Against is more than 594?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "standings" ( "club" text, "wins" real, ...
SELECT "goalkeeper" FROM "goalkeeping_leaders" WHERE "mins"<2160;
## Task Generate a SQL query to answer the following question: `What Goalkeeper has MINS less than 2160` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "goalkeeping_leaders" ( "rank" real, "goalkeeper" text, "club" text, "mins" real, "shts" re...
SELECT MAX("shts") FROM "goalkeeping_leaders" WHERE "goalkeeper"='kasey keller';
## Task Generate a SQL query to answer the following question: `What is the highest SHTS of Kasey Keller` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "goalkeeping_leaders" ( "rank" real, "goalkeeper" text, "club" text, "mins" real, "shts" r...
SELECT MAX("bronze") FROM "medals_table" WHERE "total">1 AND "rank">1 AND "gold">1;
## Task Generate a SQL query to answer the following question: `What is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?` ### Database Schema This query will run on a database whose schema is represented in this string: C...
SELECT SUM("losses") FROM "2001_ladder" WHERE "ballarat_fl"='melton' AND "draws"<0;
## Task Generate a SQL query to answer the following question: `What is the total number of Losses that Melton had when they had fewer Draws than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2001_ladder" ( "ballarat_fl" text, "wins" real, "...
SELECT MIN("against") FROM "2001_ladder" WHERE "ballarat_fl"='lake wendouree' AND "losses">7;
## Task Generate a SQL query to answer the following question: `What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2001_ladder" ( "ballarat_fl" text, "wins"...
SELECT COUNT("byes") FROM "2001_ladder" WHERE "against"=1136 AND "draws"<0;
## Task Generate a SQL query to answer the following question: `What was the total number of Byes for the team that had 1136 Against and fewer than 0 Draws?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2001_ladder" ( "ballarat_fl" text, "wins" r...
SELECT MAX("losses") FROM "2001_ladder" WHERE "against">1427 AND "wins">5;
## Task Generate a SQL query to answer the following question: `What was the greatest number of Losses for the team that had 1427 Against and more than 5 Wins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2001_ladder" ( "ballarat_fl" text, "wins...
SELECT AVG("byes") FROM "2001_ladder" WHERE "losses"=15 AND "wins"<1;
## Task Generate a SQL query to answer the following question: `What is the average number of Byes for the team that had 15 Losses, and less than 1 Win?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2001_ladder" ( "ballarat_fl" text, "wins" real,...
SELECT "nation" FROM "medal_table" WHERE "total"<19 AND "bronze"<1;
## Task Generate a SQL query to answer the following question: `Which nation's total is less than 19 when there's less than 1 bronze?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "silve...
SELECT COUNT("total") FROM "medal_table" WHERE "nation"='chile' AND "silver">0;
## Task Generate a SQL query to answer the following question: `How many totals does Chile have when the number of silvers is more than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medal_table" ( "rank" text, "nation" text, "gold" real, "...
SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='tko (punches and elbows)';
## Task Generate a SQL query to answer the following question: `What was the record when TKO (punches and elbows) was the method?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" t...
SELECT "venue" FROM "highest_individual_scores" WHERE "player"='don bradman (nsw)';
## Task Generate a SQL query to answer the following question: `What venue has don bradman (nsw) as the player?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "match" text, ...
SELECT "rank" FROM "highest_individual_scores" WHERE "player"='bill ponsford (vic)';
## Task Generate a SQL query to answer the following question: `What rank has Bill Ponsford (vic) as the player?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "match" text,...
SELECT "match" FROM "highest_individual_scores" WHERE "player"='clem hill (sa)';
## Task Generate a SQL query to answer the following question: `What match has Clem Hill (sa) as the player?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "highest_individual_scores" ( "rank" text, "runs" text, "player" text, "match" text, "...
SELECT "competition" FROM "brazil_national_team" WHERE "date"='december 25, 1925';
## Task Generate a SQL query to answer the following question: `Who played on December 25, 1925?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "score" text, "brazil_scorers" text, "competi...
SELECT "result" FROM "brazil_national_team" WHERE "competition"='south american championship' AND "date"='december 13, 1925';
## Task Generate a SQL query to answer the following question: `What was the score for the South American Championship dated December 13, 1925?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "brazil_national_team" ( "date" text, "result" text, "s...
SELECT AVG("house_of_rep_seats") FROM "parliamentary_parties" WHERE "abbr"='d66';
## Task Generate a SQL query to answer the following question: `What is the average number of House of Representatives seats had an abbreviation of d66?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parliamentary_parties" ( "abbr" text, "politica...
SELECT "winning_score" FROM "senior_pga_tour_wins_24" WHERE "date"='oct 17, 1982';
## Task Generate a SQL query to answer the following question: `For the tournament played on Oct 17, 1982, what was the winning score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "senior_pga_tour_wins_24" ( "date" text, "tournament" text, "win...
SELECT "runner_s_up" FROM "senior_pga_tour_wins_24" WHERE "margin_of_victory"='5 strokes' AND "date"='nov 13, 1988';
## Task Generate a SQL query to answer the following question: `For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "senior_pga_tour_wins_24" ( "d...
SELECT "date" FROM "senior_pga_tour_wins_24" WHERE "runner_s_up"='arnold palmer' AND "margin_of_victory"='2 strokes' AND "winning_score"='+6 (74-71-70-71=286)';
## Task Generate a SQL query to answer the following question: `On what date was the tournament played that eneded with a winning score of +6 (74-71-70-71=286) and margin of victory of 2 strokes, and with Arnold palmer as the runner-up?` ### Database Schema This query will run on a database whose schema is represente...
SELECT "2008" FROM "singles_performance_timeline" WHERE "2006"='grand slam tournaments';
## Task Generate a SQL query to answer the following question: `What is 2008, when 2006 is "Grand Slam Tournaments"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2...
SELECT "2007" FROM "singles_performance_timeline" WHERE "2003"='1r';
## Task Generate a SQL query to answer the following question: `What is 2007, when 2003 is 1R?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, "2003" te...
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2012"='3r';
## Task Generate a SQL query to answer the following question: `What is the Tournament, when 2012 is 3R?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text, "2002" text, ...
SELECT "tournament" FROM "singles_performance_timeline" WHERE "2009"='grand slam tournaments';
## Task Generate a SQL query to answer the following question: `What is Tournament, when 2009 is "Grand Slam Tournaments"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2000" text, "2001" text...
SELECT "free_polite" FROM "proto_austronesian_personal_pronouns" WHERE "genitive_3"='*ni-da';
## Task Generate a SQL query to answer the following question: `Which Free polite has a Genitive 3 of *ni-da?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "free" text, "free_polite" text, "genitive_1" te...
SELECT "free_polite" FROM "proto_austronesian_personal_pronouns" WHERE "genitive_1"='*=ku';
## Task Generate a SQL query to answer the following question: `Which Free polite has a Genitive 1 of *=ku?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "free" text, "free_polite" text, "genitive_1" text...
SELECT "free" FROM "proto_austronesian_personal_pronouns" WHERE "free_polite"='*[i-]k-ita';
## Task Generate a SQL query to answer the following question: `Which Free has a Free polite of *[i-]k-ita?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "free" text, "free_polite" text, "genitive_1" text...
SELECT "free_polite" FROM "proto_austronesian_personal_pronouns" WHERE "genitive_3"='*n(i)-ami';
## Task Generate a SQL query to answer the following question: `Which Free polite has a Genitive 3 of *n(i)-ami?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "free" text, "free_polite" text, "genitive_1"...
SELECT "genitive_1" FROM "proto_austronesian_personal_pronouns" WHERE "free_polite"='–' AND "genitive_2"='–' AND "genitive_3"='*n(i)-ia';
## Task Generate a SQL query to answer the following question: `Which Genitive 1 has a Free polite of –, and a Genitive 2 of –, and a Genitive 3 of *n(i)-ia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "fre...
SELECT "genitive_1" FROM "proto_austronesian_personal_pronouns" WHERE "genitive_3"='*n(i)-ia';
## Task Generate a SQL query to answer the following question: `Which Genitive 1 has a Genitive 3 of *n(i)-ia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "proto_austronesian_personal_pronouns" ( "free" text, "free_polite" text, "genitive_1" t...
SELECT "proto_oceanic" FROM "verbs" WHERE "verb"='to sew';
## Task Generate a SQL query to answer the following question: `What is the Proto-Oceanic verb for the verb to sew?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, "proto_malayo_polynesian" text, ...
SELECT "verb" FROM "verbs" WHERE "proto_austronesian"='*diri';
## Task Generate a SQL query to answer the following question: `What is the verb for the Proto-Austronesian word *diri?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, "proto_malayo_polynesian" tex...
SELECT "proto_oceanic" FROM "verbs" WHERE "verb"='to die, be dead';
## Task Generate a SQL query to answer the following question: `What is the Proto-Oceanic verb for to die, be dead?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, "proto_malayo_polynesian" text, ...
SELECT "verb" FROM "verbs" WHERE "proto_polynesian"='*mohe';
## Task Generate a SQL query to answer the following question: `What is the verb for the Proto-Polynesian word *mohe?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, "proto_malayo_polynesian" text,...
SELECT "proto_austronesian" FROM "verbs" WHERE "proto_polynesian"='*tui';
## Task Generate a SQL query to answer the following question: `What is the Proto-Austronesian word for the Proto-Polynesian word *tui?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, "proto_malayo...
SELECT "proto_malayo_polynesian" FROM "verbs" WHERE "proto_oceanic"='*saqit, *turi';
## Task Generate a SQL query to answer the following question: `What is the Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *turi?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "verbs" ( "verb" text, "proto_austronesian" text, ...
SELECT "station" FROM "radio" WHERE "genre"='talk music' AND "language"='malay english';
## Task Generate a SQL query to answer the following question: `What station has a genre of talk music and is in Malay English language?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "station" text, "operator" text, ...
SELECT "genre" FROM "radio" WHERE "station"='fly fm';
## Task Generate a SQL query to answer the following question: `Which genre is the fly fm station?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "station" text, "operator" text, "language" text, "genre" text, "c...
SELECT "frequency" FROM "radio" WHERE "genre"='talk music' AND "station"='xfm';
## Task Generate a SQL query to answer the following question: `What frequency is the xfm station, which is part of the talk music genre?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "station" text, "operator" text, ...
SELECT "coverage_area" FROM "radio" WHERE "genre"='music' AND "station"='muzik fm';
## Task Generate a SQL query to answer the following question: `What is the coverage area of muzik fm station, which has a music genre?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "station" text, "operator" text, ...
SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "laps">196 AND "year"<2010;
## Task Generate a SQL query to answer the following question: `What is Co-Drivers, when Laps is greater than 196, and when Year is before 2010?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "co_drivers...
SELECT "date" FROM "schedule" WHERE "week">3 AND "attendance"='bye';
## Task Generate a SQL query to answer the following question: `What is the Date when the week is more than 3 and the attendance shows bye?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "...
SELECT "result" FROM "schedule" WHERE "week">9 AND "attendance"='65,858';
## Task Generate a SQL query to answer the following question: `What is the Result when the week is later than 9, and there are 65,858 people in attendance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "op...
SELECT "1938" FROM "grand_tour_results_timeline" WHERE "1948"='n/a';
## Task Generate a SQL query to answer the following question: `What is the 1938 that has N/A for 1948?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_tour_results_timeline" ( "1935" text, "1936" text, "1937" text, "1938" text, "1939" ...
SELECT "1953" FROM "grand_tour_results_timeline" WHERE "1947"='2' AND "1938"='dne';
## Task Generate a SQL query to answer the following question: `What 1953 has 2 for 1947, and dne as 1938?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "grand_tour_results_timeline" ( "1935" text, "1936" text, "1937" text, "1938" text, "193...