output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "position" FROM "l" WHERE "school_club_team_country"='Purdue';
## Task Generate a SQL query to answer the following question: `What is the position of the player that came from the school/club team/country of Purdue?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "l" ( "player" text, "no_s" text, "height_in_...
SELECT "player" FROM "l" WHERE "no_s"='3';
## Task Generate a SQL query to answer the following question: `Who is the player who's number is 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "l" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" te...
SELECT "height_in_ft" FROM "l" WHERE "years_for_rockets"='1968-72';
## Task Generate a SQL query to answer the following question: `What is the height for the player in 1968-72?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "l" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_ro...
SELECT "player" FROM "l" WHERE "height_in_ft"='6-0';
## Task Generate a SQL query to answer the following question: `Which player had a height of 6-0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "l" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text,...
SELECT "position" FROM "l" WHERE "years_for_rockets"='2006';
## Task Generate a SQL query to answer the following question: `What is the position for the player that played in 2006?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "l" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "y...
SELECT "player" FROM "k" WHERE "height_in_ft"='7-0';
## Task Generate a SQL query to answer the following question: `What are all the names of the players who are 7-0 tall?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "k" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "ye...
SELECT COUNT("school_club_team_country") FROM "k" WHERE "player"='Kimball, Toby Toby Kimball';
## Task Generate a SQL query to answer the following question: `Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "k" ( "player" text, "no_s" ...
SELECT "height_in_ft" FROM "k" WHERE "school_club_team_country"='Connecticut';
## Task Generate a SQL query to answer the following question: `In connecticut the school/club team/country had a set height in ft. what is true for them?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "k" ( "player" text, "no_s" text, "height_in...
SELECT "years_for_rockets" FROM "k" WHERE "height_in_ft"='6-6';
## Task Generate a SQL query to answer the following question: `Rockets height was 6-6 in feet, list the time frame where this was true?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "k" ( "player" text, "no_s" text, "height_in_ft" text, "posi...
SELECT "height_in_ft" FROM "s" WHERE "years_for_rockets"='1969-70';
## Task Generate a SQL query to answer the following question: `What is the hight of the player who's tenure lasted from 1969-70?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "s" ( "player" text, "no_s" real, "height_in_ft" text, "position" t...
SELECT "school_club_team_country" FROM "s" WHERE "height_in_ft"='7-4';
## Task Generate a SQL query to answer the following question: `What school did the 7-4 player attend?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "s" ( "player" text, "no_s" real, "height_in_ft" text, "position" text, "years_for_rockets" ...
SELECT "years_for_rockets" FROM "w" WHERE "position"='Guard / Forward';
## Task Generate a SQL query to answer the following question: ` what's the years for rockets where position is guard / forward` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "w" ( "player" text, "no_s" text, "height_in_ft" text, "position" tex...
SELECT COUNT("player") FROM "w" WHERE "years_for_rockets"='1975-79';
## Task Generate a SQL query to answer the following question: `what is the total number of player where years for rockets is 1975-79` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "w" ( "player" text, "no_s" text, "height_in_ft" text, "positio...
SELECT COUNT("player") FROM "w" WHERE "years_for_rockets"='2004-06';
## Task Generate a SQL query to answer the following question: `what is the total number of player where years for rockets is 2004-06` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "w" ( "player" text, "no_s" text, "height_in_ft" text, "positio...
SELECT "position" FROM "w" WHERE "player"='Williams, Bernie Bernie Williams';
## Task Generate a SQL query to answer the following question: ` what's the position where player is williams, bernie bernie williams` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "w" ( "player" text, "no_s" text, "height_in_ft" text, "positio...
SELECT COUNT("years_for_rockets") FROM "w" WHERE "school_club_team_country"='Baylor';
## Task Generate a SQL query to answer the following question: `what is the total number of years for rockets where school/club team/country is baylor` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "w" ( "player" text, "no_s" text, "height_in_ft"...
SELECT COUNT("position") FROM "t" WHERE "no_s"='32';
## Task Generate a SQL query to answer the following question: `How many positions had jersey number 32` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "t" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets"...
SELECT "years_for_rockets" FROM "t" WHERE "no_s"='55';
## Task Generate a SQL query to answer the following question: `Which years had a jersey number 55` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "t" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "years_for_rockets" text...
SELECT "school_club_team_country" FROM "c" WHERE "years_for_rockets"='2000-01';
## Task Generate a SQL query to answer the following question: `Which school, club team, or country played for the rockets in the years 2000-01?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "c" ( "player" text, "no_s" text, "height_in_ft" text,...
SELECT "years_for_rockets" FROM "c" WHERE "no_s"='13';
## Task Generate a SQL query to answer the following question: `During which years did number 13 play for the Rockets?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "c" ( "player" text, "no_s" text, "height_in_ft" text, "position" text, "yea...
SELECT MIN("date_first_settled_as_a_suburb") FROM "suburbs" WHERE "suburb"='Chifley';
## Task Generate a SQL query to answer the following question: `What is the lowest date settled for chifley?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "suburbs" ( "suburb" text, "population_in_2008" real, "median_age_in_2006" text, "mean_h...
SELECT MIN("density_km") FROM "suburbs" WHERE "suburb"='Garran';
## Task Generate a SQL query to answer the following question: `What is the density in Garran?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "suburbs" ( "suburb" text, "population_in_2008" real, "median_age_in_2006" text, "mean_household_size_...
SELECT "date_first_settled_as_a_suburb" FROM "suburbs" WHERE "median_age_in_2006"='40 years';
## Task Generate a SQL query to answer the following question: `What is the date settled for 40 years?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "suburbs" ( "suburb" text, "population_in_2008" real, "median_age_in_2006" text, "mean_househo...
SELECT "median_age_in_2006" FROM "suburbs" WHERE "area_km"='1.7';
## Task Generate a SQL query to answer the following question: `What is the median age where the area is 1.7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "suburbs" ( "suburb" text, "population_in_2008" real, "median_age_in_2006" text, "mean_...
SELECT "thursday" FROM "presenters" WHERE "series"='Big Brother 13';
## Task Generate a SQL query to answer the following question: `Who is the thursday presenter of the show Big Brother 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "presenters" ( "series" text, "monday" text, "tuesday" text, "wednesday" te...
SELECT "friday" FROM "presenters" WHERE "monday"='Emma Willis Jamie East';
## Task Generate a SQL query to answer the following question: `Who is the friday presenter for each show, when the monday presenter is Emma Willis Jamie East?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "presenters" ( "series" text, "monday" te...
SELECT "tuesday" FROM "presenters" WHERE "series"='Celebrity Big Brother 8';
## Task Generate a SQL query to answer the following question: `Who is the Tuesday presenter of Celebrity Big Brother 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "presenters" ( "series" text, "monday" text, "tuesday" text, "wednesday" tex...
SELECT "wednesday" FROM "presenters" WHERE "series"='Big Brother 13';
## Task Generate a SQL query to answer the following question: `Who is the Wednesday presenter of the show Big Brother 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "presenters" ( "series" text, "monday" text, "tuesday" text, "wednesday" t...
SELECT "series" FROM "presenters" WHERE "sunday"='Alice Levine Jamie East';
## Task Generate a SQL query to answer the following question: `List all of the shows with Alice Levine Jamie East is the Sunday presenter.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "presenters" ( "series" text, "monday" text, "tuesday" text...
SELECT "position" FROM "g" WHERE "years_for_rockets"='2008';
## Task Generate a SQL query to answer the following question: `What are all the positions for the rockets in 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "g" ( "player" text, "no_s" real, "height_in_ft" text, "position" text, "years_...
SELECT "height_in_ft" FROM "g" WHERE "school_club_team_country"='Clemson';
## Task Generate a SQL query to answer the following question: `What is the height of the school club team members in clemson?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "g" ( "player" text, "no_s" real, "height_in_ft" text, "position" text...
SELECT "years_for_rockets" FROM "f" WHERE "player"='Ford, Alton Alton Ford';
## Task Generate a SQL query to answer the following question: `What years for the rockets did player ford, alton alton ford play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "f" ( "player" text, "no_s" text, "height_in_ft" text, "position" ...
SELECT "years_for_rockets" FROM "f" WHERE "player"='Ford, Phil Phil Ford';
## Task Generate a SQL query to answer the following question: `What years for the rockets did the player ford, phil phil ford play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "f" ( "player" text, "no_s" text, "height_in_ft" text, "position...
SELECT "school_club_team_country" FROM "f" WHERE "player"='Fitch, Gerald Gerald Fitch';
## Task Generate a SQL query to answer the following question: `What school/club team/country did the player fitch, gerald gerald fitch play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "f" ( "player" text, "no_s" text, "height_in_ft" text...
SELECT "weekly_rank" FROM "u_s_nielsen_ratings" WHERE "num"=4;
## Task Generate a SQL query to answer the following question: `What is the weekly rank where the number is 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_nielsen_ratings" ( "num" real, "episode" text, "air_date" text, "timeslot" text, ...
SELECT "viewers" FROM "u_s_nielsen_ratings" WHERE "episode"='\"Woman Marries Heart\"';
## Task Generate a SQL query to answer the following question: `What is the viewers for the episode "woman marries heart"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_nielsen_ratings" ( "num" real, "episode" text, "air_date" text, "time...
SELECT MIN("t20_matches") FROM "ground_history";
## Task Generate a SQL query to answer the following question: `What is the minimum of t20 matches?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" real, "la_...
SELECT "location" FROM "ground_history" WHERE "name_of_ground"='Ropery Lane';
## Task Generate a SQL query to answer the following question: `Where is ropery lane located?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" real, "la_matche...
SELECT "location" FROM "ground_history" WHERE "la_matches"=7 AND "name_of_ground"='Ropery Lane';
## Task Generate a SQL query to answer the following question: `Where is ropery lane and la matches 7 location?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" ...
SELECT MAX("fc_matches") FROM "ground_history";
## Task Generate a SQL query to answer the following question: `What is the maximum fc matches?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" real, "la_matc...
SELECT MAX("fc_matches") FROM "ground_history" WHERE "name_of_ground"='The Racecourse';
## Task Generate a SQL query to answer the following question: `What is the maximum fc matches at the racecourse?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches...
SELECT MAX("t20_matches") FROM "ground_history" WHERE "name_of_ground"='Green Lane';
## Task Generate a SQL query to answer the following question: `What is the maximum t20 on green lane?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ground_history" ( "name_of_ground" text, "location" text, "year" text, "fc_matches" real, "...
SELECT "cylinders_valves" FROM "petrol_engines" WHERE "model"='1.8 20V';
## Task Generate a SQL query to answer the following question: `what's the cylinders/ valves with model being 1.8 20v` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "petrol_engines" ( "model" text, "cylinders_valves" text, "displacement_cc" real,...
SELECT "unit" FROM "table1_11793221_2" WHERE "commander"='Lieutenant Colonel Francis Hepburn';
## Task Generate a SQL query to answer the following question: `Which units are commanded by Lieutenant Colonel Francis Hepburn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_2" ( "unit" text, "commander" text, "complement" text...
SELECT "complement" FROM "table1_11793221_2" WHERE "commander"='Major William Lloyd';
## Task Generate a SQL query to answer the following question: `What are the complements when the commander is Major William Lloyd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_2" ( "unit" text, "commander" text, "complement" t...
SELECT "wounded" FROM "table1_11793221_2" WHERE "complement"='173 off 2059 men';
## Task Generate a SQL query to answer the following question: `How many were wounded when the complement was 173 off 2059 men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_2" ( "unit" text, "commander" text, "complement" text,...
SELECT "killed" FROM "table1_11793221_2" WHERE "commander"='Major-General Jean Victor de Constant Rebecque';
## Task Generate a SQL query to answer the following question: `How many where killed under Major-General Jean Victor de Constant Rebecque's command?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_2" ( "unit" text, "commander" text...
SELECT "commander" FROM "table1_11793221_2" WHERE "wounded"='8 off 0 men';
## Task Generate a SQL query to answer the following question: `Who were the commanders when 8 off 0 men were wounded?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_2" ( "unit" text, "commander" text, "complement" text, "kille...
SELECT "gdp_per_capita_nominal" FROM "prospective_members" WHERE "gdp_nominal"='$52.0 billion';
## Task Generate a SQL query to answer the following question: `What is the gpa per capita (nominal) for the country with gdp (nominal) is $52.0 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "prospective_members" ( "country" text, "popula...
SELECT COUNT("gdp_per_capita_nominal") FROM "prospective_members" WHERE "gdp_nominal"='$29.9 billion';
## Task Generate a SQL query to answer the following question: `How many countries has a gdp (nominal) of $29.9 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "prospective_members" ( "country" text, "population" real, "area_km" real, "...
SELECT "gdp_nominal" FROM "prospective_members" WHERE "country"='Uzbekistan';
## Task Generate a SQL query to answer the following question: `What is the GDP (nominal) for Uzbekistan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "prospective_members" ( "country" text, "population" real, "area_km" real, "gdp_nominal" te...
SELECT MIN("area_km") FROM "prospective_members" WHERE "population"=16967000;
## Task Generate a SQL query to answer the following question: `What is the area (km²) for the country with a population of 16967000?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "prospective_members" ( "country" text, "population" real, "area_...
SELECT "aspect_ratio" FROM "dvd_releases" WHERE "released"='12/10/2009';
## Task Generate a SQL query to answer the following question: `What is the aspect ratio of the DVD released on 12/10/2009?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" text, "aspect_...
SELECT "dvd_name" FROM "dvd_releases" WHERE "num_of_discs">2.0;
## Task Generate a SQL query to answer the following question: `What is the name of the DVD where the number of discs is greater than 2.0` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" te...
SELECT COUNT("released") FROM "dvd_releases" WHERE "dvd_name"='River Cottage Forever';
## Task Generate a SQL query to answer the following question: `How many releases did the DVD River Cottage forever have?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" text, "aspect_ra...
SELECT COUNT("num_of_discs") FROM "dvd_releases" WHERE "duration"='4 hours 40 minutes';
## Task Generate a SQL query to answer the following question: `What is the total number of discs where the run time was 4 hours 40 minutes?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio"...
SELECT "dvd_name" FROM "dvd_releases" WHERE "num_of_discs">2.0;
## Task Generate a SQL query to answer the following question: `What is the name of the DVD where the number of discs is greater than 2.0` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" te...
SELECT "wounded" FROM "table1_11793221_4" WHERE "complement"='46 off 656 men';
## Task Generate a SQL query to answer the following question: `What were the wounded for complement of 46 off 656 men?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_4" ( "unit" text, "commander" text, "complement" text, "kill...
SELECT "missing" FROM "table1_11793221_4" WHERE "commander"='Lieutenant General Sir Thomas Picton';
## Task Generate a SQL query to answer the following question: `What was the missing for lieutenant general sir thomas picton?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_4" ( "unit" text, "commander" text, "complement" text, ...
SELECT COUNT("complement") FROM "table1_11793221_4" WHERE "unit"='4th Hanoverian Brigade';
## Task Generate a SQL query to answer the following question: `Name the number of complement for 4th hanoverian brigade` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_4" ( "unit" text, "commander" text, "complement" text, "kil...
SELECT "commander" FROM "table1_11793221_4" WHERE "complement"='167 off 2348 men';
## Task Generate a SQL query to answer the following question: `Name the commander of 167 off 2348 men` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11793221_4" ( "unit" text, "commander" text, "complement" text, "killed" text, "woun...
SELECT MIN("overall") FROM "2008_draft_picks";
## Task Generate a SQL query to answer the following question: `HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_draft_picks" ( "round" real, "overall" real, "player" text, "position" text, "nat...
SELECT MIN("round") FROM "2008_draft_picks" WHERE "position"='Forward';
## Task Generate a SQL query to answer the following question: `WHAT ROUND WAS FORWARD ANDRE PETERSSON SELECTED?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_draft_picks" ( "round" real, "overall" real, "player" text, "position" text, ...
SELECT "position" FROM "2008_draft_picks" WHERE "player"='Patrick Wiercioch';
## Task Generate a SQL query to answer the following question: `WHAT POSITION DOES PATRICK WIERCIOCH PLAY?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_draft_picks" ( "round" real, "overall" real, "player" text, "position" text, "nati...
SELECT MIN("overall") FROM "2008_draft_picks" WHERE "club_team"='Omaha (USHL)';
## Task Generate a SQL query to answer the following question: `NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_draft_picks" ( "round" real, "overall" real, "player" text, "position" text, ...
SELECT "nationality" FROM "2008_draft_picks" WHERE "player"='Andre Petersson';
## Task Generate a SQL query to answer the following question: `WHERE IS ANDRE PETERSSON FROM?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2008_draft_picks" ( "round" real, "overall" real, "player" text, "position" text, "nationality" tex...
SELECT "club_team" FROM "2012_draft_picks" WHERE "player"='Jarrod Maidens';
## Task Generate a SQL query to answer the following question: `What club team did JArrod Maidens play for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "nat...
SELECT "position" FROM "2012_draft_picks" WHERE "player"='Cody Ceci';
## Task Generate a SQL query to answer the following question: `What position does Cody Ceci play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2012_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "nationality"...
SELECT "nationality" FROM "2011_draft_picks" WHERE "club_team"='Peterborough Petes (OHL)';
## Task Generate a SQL query to answer the following question: `What is the Nationality when the club team is Peterborough Petes (OHL)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_draft_picks" ( "round" real, "overall" text, "player" tex...
SELECT "player" FROM "2011_draft_picks" WHERE "round"=5;
## Task Generate a SQL query to answer the following question: `Which player is in round 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "nationality" text, ...
SELECT "position" FROM "2011_draft_picks" WHERE "overall"='126';
## Task Generate a SQL query to answer the following question: `What position is associated with an overall value of 126?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_draft_picks" ( "round" real, "overall" text, "player" text, "position...
SELECT "position" FROM "2011_draft_picks" WHERE "player"='Jordan Fransoo';
## Task Generate a SQL query to answer the following question: `What position is the player Jordan Fransoo in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "...
SELECT COUNT("round") FROM "2011_draft_picks" WHERE "player"='Matthew Puempel';
## Task Generate a SQL query to answer the following question: `How many rounds is the player Matthew Puempel associated with?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2011_draft_picks" ( "round" real, "overall" text, "player" text, "pos...
SELECT "position" FROM "2013_draft_picks" WHERE "player"='Tobias Lindberg';
## Task Generate a SQL query to answer the following question: `What is the position of player Tobias Lindberg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, ...
SELECT COUNT("player") FROM "2013_draft_picks" WHERE "overall"='78';
## Task Generate a SQL query to answer the following question: `How many players had overall 78?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "nationality" t...
SELECT MAX("round") FROM "2013_draft_picks" WHERE "club_team"='Guelph Storm (OHL)';
## Task Generate a SQL query to answer the following question: `What is the last round with club team Guelph Storm (ohl)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_draft_picks" ( "round" real, "overall" text, "player" text, "position...
SELECT COUNT("position") FROM "2013_draft_picks" WHERE "player"='Ben Harpur';
## Task Generate a SQL query to answer the following question: `How many positions did player Ben Harpur play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "...
SELECT "position" FROM "2013_draft_picks" WHERE "player"='Marcus Hogberg';
## Task Generate a SQL query to answer the following question: `What is the position of player Marcus Hogberg?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2013_draft_picks" ( "round" real, "overall" text, "player" text, "position" text, "...
SELECT "institution" FROM "current_members" WHERE "enrollment"=3488;
## Task Generate a SQL query to answer the following question: `3488 is the enrollment amount of what college?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, ...
SELECT MAX("enrollment") FROM "current_members" WHERE "institution"='Barry University';
## Task Generate a SQL query to answer the following question: `Barry University had the highest enrollment of what number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, ...
SELECT "type" FROM "current_members" WHERE "nickname"='Fighting Knights';
## Task Generate a SQL query to answer the following question: `The fighting knights has what type of nickname?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text,...
SELECT "joined" FROM "current_members" WHERE "location"='Boca Raton, Florida';
## Task Generate a SQL query to answer the following question: `Boca Raton, Florida had what joined amount?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" text, "...
SELECT MAX("founded") FROM "current_members" WHERE "enrollment"=3584;
## Task Generate a SQL query to answer the following question: `If the enrollment is 3584, what's the largest founded?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type...
SELECT MAX("enrollment") FROM "current_members" WHERE "institution"='Barry University';
## Task Generate a SQL query to answer the following question: `Barry University had a maximum enrollment of what?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "current_members" ( "institution" text, "location" text, "founded" real, "type" te...
SELECT MIN("no_in_series") FROM "table1_11820086_1" WHERE "title"='\"I Forgot to Remember to Forget\"';
## Task Generate a SQL query to answer the following question: `What was the series number for the episode "I Forgot to Remember to Forget"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11820086_1" ( "no_in_series" real, "no_in_season" re...
SELECT "directed_by" FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='2.57';
## Task Generate a SQL query to answer the following question: `Who directed the episode that was viewed by 2.57 million people in the U.S.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11820086_1" ( "no_in_series" real, "no_in_season" re...
SELECT "directed_by" FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='2.50';
## Task Generate a SQL query to answer the following question: `Who directed the episode that was viewed by 2.50 million people in the U.S.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11820086_1" ( "no_in_series" real, "no_in_season" re...
SELECT MIN("no_in_season") FROM "table1_11820086_1" WHERE "u_s_viewers_millions"='3.00';
## Task Generate a SQL query to answer the following question: `Which episode number in season 5 was viewed by 3.00 million U.S. viziers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11820086_1" ( "no_in_series" real, "no_in_season" real,...
SELECT "percent_1990" FROM "norwegian_americans_by_state" WHERE "state"='United States';
## Task Generate a SQL query to answer the following question: `what are all the percent (1990) where state is united states` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "norwegian_americans_by_state" ( "state" text, "norwegian_americans_1980" re...
SELECT COUNT("percent_2000") FROM "norwegian_americans_by_state" WHERE "percent_1980"='3.4%';
## Task Generate a SQL query to answer the following question: `what is the total number of percent (2000) where percent (1980) is 3.4%` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "norwegian_americans_by_state" ( "state" text, "norwegian_america...
SELECT "percent_1990" FROM "norwegian_americans_by_state" WHERE "state"='Mississippi';
## Task Generate a SQL query to answer the following question: `what are all the percent (1990) where state is mississippi` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "norwegian_americans_by_state" ( "state" text, "norwegian_americans_1980" real...
SELECT MAX("norwegian_americans_2000") FROM "norwegian_americans_by_state" WHERE "norwegian_americans_1990"=9170;
## Task Generate a SQL query to answer the following question: `what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "norwegian_americans_by_state" ( "state" text, "n...
SELECT MIN("norwegian_americans_1980") FROM "norwegian_americans_by_state" WHERE "state"='Rhode Island';
## Task Generate a SQL query to answer the following question: `what is the minimum norwegian americans (1980) where state is rhode island` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "norwegian_americans_by_state" ( "state" text, "norwegian_amer...
SELECT "english_title" FROM "track_listing" WHERE "r_maji_title"='Getto Daun';
## Task Generate a SQL query to answer the following question: `What is the English version of the title Getto Daun?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_tit...
SELECT MIN("track") FROM "track_listing";
## Task Generate a SQL query to answer the following question: `What is the smallest track number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maj...
SELECT COUNT("track") FROM "track_listing" WHERE "r_maji_title"='Mō Sukoshi Tōku';
## Task Generate a SQL query to answer the following question: `How many tracks are titled Mō Sukoshi Tōku?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text,...
SELECT "japanese_title" FROM "track_listing" WHERE "english_title"='Fantasy';
## Task Generate a SQL query to answer the following question: `What is the Japanese title for Fantasy?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "...
SELECT "track_time" FROM "track_listing" WHERE "track"=8;
## Task Generate a SQL query to answer the following question: `How long is track number 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title...
SELECT "gt2_winning_team" FROM "table1_11875915_2" WHERE "gt3_winning_team"='#1 PTG';
## Task Generate a SQL query to answer the following question: `Who was the GT2 winning team when the GT3 winning team was #1 PTG?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_11875915_2" ( "rnd" real, "circuit" text, "wsc_winning_team"...
SELECT COUNT("doubles_champions") FROM "events" WHERE "tournament"='Serbia F6 Futures';
## Task Generate a SQL query to answer the following question: `How many doubles champions were there for the Serbia f6 Futures tournament?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "events" ( "tournament" text, "date" text, "city" text, "...