output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "away_team" FROM "round_14" WHERE "score"='63-69';
## Task Generate a SQL query to answer the following question: `What was the away team that scored 63-69?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_14" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text,...
SELECT "place" FROM "first_round" WHERE "player"='davis love iii';
## Task Generate a SQL query to answer the following question: `Where is the player Davis Love III?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ###...
SELECT "qual_2" FROM "qualifying_results" WHERE "team"='dale coyne racing' AND "qual_1"='1:00.081';
## Task Generate a SQL query to answer the following question: `What is the second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" t...
SELECT "team" FROM "qualifying_results" WHERE "qual_2"='58.539';
## Task Generate a SQL query to answer the following question: `Which team had a second qualifying time of 58.539?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "...
SELECT "best" FROM "qualifying_results" WHERE "team"='forsythe racing' AND "name"='patrick carpentier';
## Task Generate a SQL query to answer the following question: `What is the best time from patrick carpentier from the forsythe racing team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" ...
SELECT "best" FROM "qualifying_results" WHERE "qual_1"='59.448';
## Task Generate a SQL query to answer the following question: `What is the best time for a team with a first-qualifying time of 59.448?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text...
SELECT "name" FROM "qualifying_results" WHERE "best"='57.546';
## Task Generate a SQL query to answer the following question: `What is the name of the racer with a best time of 57.546?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" te...
SELECT "name" FROM "qualifying_results" WHERE "qual_1"='58.991';
## Task Generate a SQL query to answer the following question: `What is the name of the racer with a first-qualifying time of 58.991?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, ...
SELECT AVG("points") FROM "relegation" WHERE "played">126;
## Task Generate a SQL query to answer the following question: `What is the average Points, when Played is greater than 126?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real...
SELECT SUM("average") FROM "relegation" WHERE "2006"='36/40' AND "played">126;
## Task Generate a SQL query to answer the following question: `What is the sum of Average, when 2006 is "36/40", and when Played is greater than 126?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "relegation" ( "team" text, "average" real, "poi...
SELECT "2006" FROM "relegation" WHERE "team"='tacuary';
## Task Generate a SQL query to answer the following question: `What is 2006, when Team is "Tacuary"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "relegation" ( "team" text, "average" real, "points" real, "played" real, "2006" text, "200...
SELECT "rank" FROM "medal_table" WHERE "bronze"=3;
## Task Generate a SQL query to answer the following question: `Which Rank has a Bronze of 3?` ### 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 "runner_s_up" FROM "winners" WHERE "year"='1956';
## Task Generate a SQL query to answer the following question: `What are the Runner(s)-up of the 1956 Championship?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, "runner_s...
SELECT "runner_s_up" FROM "winners" WHERE "year"='1972';
## Task Generate a SQL query to answer the following question: `What are the Runner(s)-up of the 1972 Championship?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, "runner_s...
SELECT "country" FROM "winners" WHERE "score"='293';
## Task Generate a SQL query to answer the following question: `What is the Country of the Championship with a Score of 293?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "winners" ( "year" text, "winner" text, "country" text, "score" text, ...
SELECT COUNT("enrollment") FROM "membership" WHERE "nickname"='fightin'' blue hens';
## Task Generate a SQL query to answer the following question: `What is the total enrollment at the school that has the nickname of the Fightin' Blue Hens?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "membership" ( "school" text, "location" text...
SELECT "set_3" FROM "pool_h" WHERE "set_1"='14–25';
## Task Generate a SQL query to answer the following question: `What was the score for set 3 when set 1 was 14–25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, ...
SELECT "time" FROM "pool_h" WHERE "set_3"='31–29';
## Task Generate a SQL query to answer the following question: `What is the time when the set 3 score is 31–29?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "s...
SELECT "total" FROM "pool_h" WHERE "set_1"='14–25';
## Task Generate a SQL query to answer the following question: `What is the total when the score for set 1 is 14–25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text,...
SELECT "total" FROM "pool_h" WHERE "set_2"='20–25';
## Task Generate a SQL query to answer the following question: `What is the total when the score for set 2 is 20–25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text,...
SELECT "total" FROM "pool_h" WHERE "set_2"='25–22';
## Task Generate a SQL query to answer the following question: `What is the total when the score for set 2 is 25–22?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pool_h" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text,...
SELECT "price" FROM "switzerland" WHERE "downstream"='150 mbps';
## Task Generate a SQL query to answer the following question: `What is the price of 150 mbps downstread?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_includ...
SELECT "upstream" FROM "switzerland" WHERE "price"='65 chf';
## Task Generate a SQL query to answer the following question: `What is the upstream with the price 65 chf?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_incl...
SELECT "price" FROM "switzerland" WHERE "internet_plan"='internet 150';
## Task Generate a SQL query to answer the following question: `What is the price of the internet 150 plans?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_inc...
SELECT "upstream" FROM "switzerland" WHERE "downstream"='100 mbps';
## Task Generate a SQL query to answer the following question: `What is the upstream for the 100 mbps downstream?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidt...
SELECT "price" FROM "switzerland" WHERE "downstream"='60 mbps';
## Task Generate a SQL query to answer the following question: `What is the price of 60 mbps downstream?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth_include...
SELECT "upstream" FROM "switzerland" WHERE "internet_plan"='internet 100';
## Task Generate a SQL query to answer the following question: `What is the upstream for the internet 100 plans?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "switzerland" ( "internet_plan" text, "downstream" text, "upstream" text, "bandwidth...
SELECT "club_team" FROM "draft_picks" WHERE "round"<4;
## Task Generate a SQL query to answer the following question: `Which club team was the player from who was selected in a round under 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "p...
SELECT "club_team" FROM "draft_picks" WHERE "player"='kyle de coste';
## Task Generate a SQL query to answer the following question: `What was the club team for Kyle de Coste?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" ...
SELECT MAX("w_plyf") FROM "coaches" WHERE "first_yr"<1960 AND "g_plyf">0 AND "g_500"<43 AND "w_lpct"<0.578;
## Task Generate a SQL query to answer the following question: `What is the highest w plyf with a first yr before 1960, a G plyf greater than 0, a G > .500 less than 43, and a w-l% less than 0.578?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coache...
SELECT SUM("yr_plyf") FROM "coaches" WHERE "g_plyf"=0 AND "coach"='ed robinson';
## Task Generate a SQL query to answer the following question: `What is the sum of the yr plyf of coach ed robinson, who has a G plyf of 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, ...
SELECT COUNT("yr_plyf") FROM "coaches" WHERE "g_plyf"<0;
## Task Generate a SQL query to answer the following question: `What is the total number of yr plyf with a G plyf less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" re...
SELECT "coach" FROM "coaches" WHERE "w_lpct">0.516 AND "first_yr"<1925 AND "yr_plyf">2 AND "last_yr"=1967;
## Task Generate a SQL query to answer the following question: `Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coaches" ( "coac...
SELECT AVG("last_yr") FROM "coaches" WHERE "l_plyf"<0;
## Task Generate a SQL query to answer the following question: `What is the average last yr with an l plyf less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, "...
SELECT MIN("last_yr") FROM "coaches" WHERE "yr_plyf"<0;
## Task Generate a SQL query to answer the following question: `What is the earliest last year with a yr plyf less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "coaches" ( "coach" text, "first_yr" real, "last_yr" real, "w_lpct" real, ...
SELECT "to_par" FROM "second_round" WHERE "score"='69-70=139';
## Task Generate a SQL query to answer the following question: `What is the To par of the Player with a Score of 69-70=139?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" tex...
SELECT "to_par" FROM "second_round" WHERE "place"='t3' AND "player"='bob gilder';
## Task Generate a SQL query to answer the following question: `What is Bob Gilder in Place T3's To par?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ...
SELECT "high_points" FROM "game_log" WHERE "game"<82 AND "location_attendance"='quicken loans arena 20,562' AND "high_rebounds"='žydrūnas ilgauskas (13)';
## Task Generate a SQL query to answer the following question: `What is High Points, when Game is less than 82, when Location Attendance is "Quicken Loans Arena 20,562", and when High Rebounds is "Žydrūnas Ilgauskas (13)"?` ### Database Schema This query will run on a database whose schema is represented in this stri...
SELECT MIN("game") FROM "game_log" WHERE "high_assists"='maurice williams (8)';
## Task Generate a SQL query to answer the following question: `What is the lowest Game, when High Assists is "Maurice Williams (8)"?` ### 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" tex...
SELECT MIN("game") FROM "game_log" WHERE "date"='april 12';
## Task Generate a SQL query to answer the following question: `What is the lowest Game, when Date is "April 12"?` ### 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" t...
SELECT "winner" FROM "race_calendar" WHERE "date"='5 sep';
## Task Generate a SQL query to answer the following question: `What is Winner, when Date is 5 Sep?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text,...
SELECT "team" FROM "race_calendar" WHERE "circuit"='queensland raceway' AND "winner"='garth tander';
## Task Generate a SQL query to answer the following question: `What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circu...
SELECT "date" FROM "race_calendar" WHERE "team"='holden racing team' AND "circuit"='eastern creek raceway';
## Task Generate a SQL query to answer the following question: `What is Date, when Team is Holden Racing Team, and when Circuit is Eastern Creek Raceway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, ...
SELECT "team" FROM "race_calendar" WHERE "circuit"='phillip island grand prix circuit';
## Task Generate a SQL query to answer the following question: `What is Team, when Circuit is Phillip Island Grand Prix Circuit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_...
SELECT "circuit" FROM "race_calendar" WHERE "series"='astc round 4';
## Task Generate a SQL query to answer the following question: `What is Circuit, when Series is ASTC Round 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "win...
SELECT COUNT("react") FROM "final" WHERE "name"='sean wroe' AND "lane">2;
## Task Generate a SQL query to answer the following question: `What is the total number of React, when Name is Sean Wroe, and when Lane is greater than 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final" ( "lane" real, "name" text, "countr...
SELECT MAX("lane") FROM "final" WHERE "mark"='46.65' AND "react">0.251;
## Task Generate a SQL query to answer the following question: `What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final" ( "lane" real, "name" text, "country" text,...
SELECT MIN("react") FROM "final" WHERE "mark"='46.26 sb' AND "lane">6;
## Task Generate a SQL query to answer the following question: `What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final" ( "lane" real, "name" text, "country" text, ...
SELECT "mark" FROM "final" WHERE "lane">2 AND "country"='bahamas';
## Task Generate a SQL query to answer the following question: `What is Mark, when Lane is greater than 2, and when Country is Bahamas?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final" ( "lane" real, "name" text, "country" text, "mark" te...
SELECT "number" FROM "language" WHERE "language"='belarusian';
## Task Generate a SQL query to answer the following question: `What is the number of the belarusian language?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "f...
SELECT "number" FROM "language" WHERE "percentage_pct"='80.62';
## Task Generate a SQL query to answer the following question: `What is the number with an 80.62 percentage?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "fem...
SELECT "males" FROM "language" WHERE "percentage_pct"='80.62';
## Task Generate a SQL query to answer the following question: `How many males have a percentage of 80.62?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "language" ( "language" text, "number" text, "percentage_pct" text, "males" text, "femal...
SELECT "name" FROM "players_in_the_nba" WHERE "team"='new york knicks' AND "wsu_year_s"='1965-68';
## Task Generate a SQL query to answer the following question: `What is Name, when Team is New York Knicks, and when WSU Year(s) is 1965-68?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "po...
SELECT "name" FROM "players_in_the_nba" WHERE "wsu_year_s"='1981-82';
## Task Generate a SQL query to answer the following question: `What is Name, when WSU Year(s) is 1981-82?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text, "pr...
SELECT "wsu_year_s" FROM "players_in_the_nba" WHERE "pro_year_s"='1974-77';
## Task Generate a SQL query to answer the following question: `What is WSU Year(s), when Pro Year(s) is 1974-77?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text...
SELECT "pro_year_s" FROM "players_in_the_nba" WHERE "team"='cincinnati royals';
## Task Generate a SQL query to answer the following question: `What is Pro Year(s), when Team is Cincinnati Royals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" t...
SELECT "position" FROM "players_in_the_nba" WHERE "team"='cincinnati royals';
## Task Generate a SQL query to answer the following question: `What is Position, when Team is Cincinnati Royals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "position" text, "team" text...
SELECT "name" FROM "players_in_the_nba" WHERE "team"='detroit pistons' AND "wsu_year_s"='1979-82';
## Task Generate a SQL query to answer the following question: `What is Name, when Team is Detroit Pistons, and when WSU Year(s) is 1979-82?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "players_in_the_nba" ( "name" text, "wsu_year_s" text, "po...
SELECT "position" FROM "washington_redskins_draft_history" WHERE "overall"<314 AND "pick"<8;
## Task Generate a SQL query to answer the following question: `What is Position, when Overallis less than 314, and when Pick is less than 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" ...
SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "round">11 AND "pick">10;
## Task Generate a SQL query to answer the following question: `What is the average value of Overall, when Round is greater than 11, and when Pick is greater than 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( ...
SELECT "name" FROM "washington_redskins_draft_history" WHERE "overall">132 AND "round"=12;
## Task Generate a SQL query to answer the following question: `What is Name, when Overall is greater than 132, and when Round is 12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, ...
SELECT "college" FROM "washington_redskins_draft_history" WHERE "pick"=20;
## Task Generate a SQL query to answer the following question: `What is College, when Pick is 20?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "po...
SELECT AVG("overall") FROM "washington_redskins_draft_history" WHERE "pick"=19;
## Task Generate a SQL query to answer the following question: `What is average Overall, when Pick is 19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" tex...
SELECT AVG("pick") FROM "draft_picks" WHERE "round">3 AND "college"='princeton';
## Task Generate a SQL query to answer the following question: `What is the average pick for Princeton after round 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, ...
SELECT MIN("round") FROM "draft_picks" WHERE "college"='clark';
## Task Generate a SQL query to answer the following question: `What is the earliest round Clark was in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "college" te...
SELECT "tie_no" FROM "second_round" WHERE "home_team"='gillingham';
## Task Generate a SQL query to answer the following question: `What is the tie number when the home team was gillingham?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team"...
SELECT "score" FROM "second_round" WHERE "home_team"='goole town';
## Task Generate a SQL query to answer the following question: `What was the score when the home team was goole town?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" tex...
SELECT "date" FROM "second_round" WHERE "home_team"='brentford';
## Task Generate a SQL query to answer the following question: `What date had the home team as brentford?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" ...
SELECT "tie_no" FROM "second_round" WHERE "away_team"='bradford park avenue';
## Task Generate a SQL query to answer the following question: `What was the tie number when bradford park avenue was the away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "tie_no" text, "home_team" text, "score" text, ...
SELECT "house_1950" FROM "1950_1999" WHERE "governors_1950"='governors 1995';
## Task Generate a SQL query to answer the following question: `What shows for House 1950 when the Governors 1950 show governors 1995?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" te...
SELECT "house_1950" FROM "1950_1999" WHERE "general_1950"='general 1986';
## Task Generate a SQL query to answer the following question: `What shows for House 1950 when the General 1950 is general 1986?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, ...
SELECT "governors_1950" FROM "1950_1999" WHERE "general_1950"='general 1979';
## Task Generate a SQL query to answer the following question: `What is the Governors 1950 when the General 1950 is general 1979?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1950_1999" ( "1950" real, "general_1950" text, "senate_1950" text, ...
SELECT "house_1950" FROM "1950_1999" WHERE "1950"<1980 AND "governors_1950"='governors 1970';
## Task Generate a SQL query to answer the following question: `What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1950_1999" ( "1950" real, "general_1950" tex...
SELECT AVG("year") FROM "singles" WHERE "album"='good things happening' AND "single"='\"lady lady lay\"';
## Task Generate a SQL query to answer the following question: `What's the average year for the good things happening album's single "lady lady lay"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "month" text, "single" t...
SELECT "album" FROM "singles" WHERE "year"<1975 AND "record_label"='dawn' AND "single"='\"lady lady lay\"';
## Task Generate a SQL query to answer the following question: `What album came out before 1975 with the dawn record label and the single "lady lady lay"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "month" text, "sing...
SELECT MIN("year") FROM "singles" WHERE "album"='united we stand' AND "single"='\"where are you going to my love\"';
## Task Generate a SQL query to answer the following question: `What's the earliest year listed for "where are you going to my love" from the album united we stand?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "month" tex...
SELECT "month" FROM "singles" WHERE "year"<1973 AND "album"='united we stand';
## Task Generate a SQL query to answer the following question: `What month before 1973 is listed for the album united we stand?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles" ( "year" real, "month" text, "single" text, "album" text, ...
SELECT "name_of_the_river" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='madhya pradesh';
## Task Generate a SQL query to answer the following question: `What is the name of the river found in Madhya Pradesh, India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_s...
SELECT "name_of_deity" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='bihar';
## Task Generate a SQL query to answer the following question: `What is the name of the deity that the state of Bihar was named after?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name...
SELECT "name_of_deity" FROM "panchayatana" WHERE "name_of_the_river"='sone';
## Task Generate a SQL query to answer the following question: `What is the name of the diety for the river of sone?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_stone_sila...
SELECT "name_of_the_stone_sila" FROM "panchayatana" WHERE "name_of_the_state_where_found_in_india"='andhra pradesh';
## Task Generate a SQL query to answer the following question: `What is the name of the stone found in Andhra Pradesh, India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "panchayatana" ( "name_of_deity" text, "bhuta_tatwa" text, "name_of_the_s...
SELECT "date" FROM "round_11" WHERE "score"='103-94';
## Task Generate a SQL query to answer the following question: `What date was the game score 103-94?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "b...
SELECT "away_team" FROM "round_11" WHERE "home_team"='perth wildcats';
## Task Generate a SQL query to answer the following question: `Who is the away team that played home team of Perth Wildcats?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" t...
SELECT "score" FROM "round_11" WHERE "date"='29 november' AND "venue"='state sports centre';
## Task Generate a SQL query to answer the following question: `What is the score of the game that was played on 29 November at State Sports Centre?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_team" text, "score...
SELECT "date" FROM "round_11" WHERE "home_team"='gold coast blaze';
## Task Generate a SQL query to answer the following question: `What date did home team Gold Coast Blaze play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" ...
SELECT "report" FROM "round_11" WHERE "date"='29 november' AND "away_team"='melbourne tigers';
## Task Generate a SQL query to answer the following question: `What kind of report was for the game played on 29 November with Melbourne Tigers being the away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_tea...
SELECT "away_team" FROM "round_11" WHERE "home_team"='perth wildcats';
## Task Generate a SQL query to answer the following question: `Who is the away team that played home team Perth Wildcats?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_11" ( "date" text, "home_team" text, "score" text, "away_team" text...
SELECT "opponent" FROM "schedule" WHERE "week"=11;
## Task Generate a SQL query to answer the following question: `Who did they play in week 11?` ### 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, "result" text, "attendance" text ); ### SQL G...
SELECT "date" FROM "schedule" WHERE "week"=6;
## Task Generate a SQL query to answer the following question: `What day did they play in week 6?` ### 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, "result" text, "attendance" text ); ### S...
SELECT "date" FROM "allsvenskan_2004" WHERE "score"='3-1' AND "attendance"='32 590';
## Task Generate a SQL query to answer the following question: `Name the Date which has a Score of 3-1 and Attendances of 32 590?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "...
SELECT "venue" FROM "allsvenskan_2004" WHERE "date"='2004-07-24';
## Task Generate a SQL query to answer the following question: `Which Venue is on 2004-07-24?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "atten...
SELECT "score" FROM "allsvenskan_2004" WHERE "venue"='idrottsparken';
## Task Generate a SQL query to answer the following question: `Which Score has a Venue of idrottsparken?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" te...
SELECT "comp" FROM "allsvenskan_2004" WHERE "date"='2004-10-17';
## Task Generate a SQL query to answer the following question: `Which Comp is on 2004-10-17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "comp" text, "attend...
SELECT "venue" FROM "allsvenskan_2004" WHERE "opponents"='halmstad' AND "score"='1-1';
## Task Generate a SQL query to answer the following question: `Which Venue has a Opponents of halmstad and a Score of 1-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score"...
SELECT "attendance" FROM "allsvenskan_2004" WHERE "venue"='ryavallen';
## Task Generate a SQL query to answer the following question: `Which Attendance that has a Venue of ryavallen?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allsvenskan_2004" ( "date" text, "venue" text, "opponents" text, "score" text, "co...
SELECT "tournament" FROM "singles_16_9_7" WHERE "outcome"='winner' AND "date"='13 july 2013';
## Task Generate a SQL query to answer the following question: `What is Tournament, when Outcome is Winner, and when Date is 13 July 2013?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tournament"...
SELECT "date" FROM "singles_16_9_7" WHERE "outcome"='winner' AND "opponent"='an-sophie mestach';
## Task Generate a SQL query to answer the following question: `What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tourname...
SELECT "score" FROM "singles_16_9_7" WHERE "date"='10 july 2011';
## Task Generate a SQL query to answer the following question: `What is Score, when Date is 10 July 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_16_9_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "oppon...
SELECT "network" FROM "2000s" WHERE "play_by_play"='jack edwards' AND "year"=2000;
## Task Generate a SQL query to answer the following question: `What network has a Play-by-play by Jack Edwards in 2000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_commentat...
SELECT "pregame_host" FROM "2000s" WHERE "network"='bold';
## Task Generate a SQL query to answer the following question: `What is the name of the pregame host when Bold was the network?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2000s" ( "year" real, "network" text, "play_by_play" text, "color_co...