output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "episodes" FROM "ratings" WHERE "first_airdate"='september 22, 1989';
## Task Generate a SQL query to answer the following question: `How many episodes were in the season that first aired on September 22, 1989?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ratings" ( "season" text, "episodes" real, "first_airdate" text, "last_airdate" text, "nielsen_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes were in the season that first aired on September 22, 1989?`: ```sql
SELECT AVG("episodes") FROM "ratings" WHERE "last_airdate"='april 29, 1986';
## Task Generate a SQL query to answer the following question: `How many episodes were in the season that ended on April 29, 1986?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ratings" ( "season" text, "episodes" real, "first_airdate" text, "last_airdate" text, "nielsen_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes were in the season that ended on April 29, 1986?`: ```sql
SELECT "built_as" FROM "references" WHERE "ship"='dahlgren';
## Task Generate a SQL query to answer the following question: `Where the ship is Dahlgren what is the build as?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "ship" text, "built_as" text, "reclassified_as" text, "class" text, "commissioned_decommissioned" text, "nvr_link" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the ship is Dahlgren what is the build as?`: ```sql
SELECT "reclassified_as" FROM "references" WHERE "nvr_link"='cgn38';
## Task Generate a SQL query to answer the following question: `Where the NRV link is CGN38, what is the reclassified as?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "ship" text, "built_as" text, "reclassified_as" text, "class" text, "commissioned_decommissioned" text, "nvr_link" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the NRV link is CGN38, what is the reclassified as?`: ```sql
SELECT "class" FROM "references" WHERE "built_as"='dlg-23';
## Task Generate a SQL query to answer the following question: `Where the built as is DLG-23, what is the class?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "ship" text, "built_as" text, "reclassified_as" text, "class" text, "commissioned_decommissioned" text, "nvr_link" text ); ### SQL Given the database schema, here is the SQL query that answers `Where the built as is DLG-23, what is the class?`: ```sql
SELECT SUM("total") FROM "medal_table" WHERE "rank"='6' AND "bronze"<2;
## Task Generate a SQL query to answer the following question: `What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?` ### 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 ); ### SQL Given the database schema, here is the SQL query that answers `What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?`: ```sql
SELECT COUNT("gold") FROM "medal_table" WHERE "bronze">12 AND "total"<124;
## Task Generate a SQL query to answer the following question: `How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals?` ### 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 ); ### SQL Given the database schema, here is the SQL query that answers `How many Gold medals were won by the Nation that had more than 12 Bronze medals and less than 124 Total medals?`: ```sql
SELECT "score" FROM "schedule_and_results" WHERE "december"<21 AND "opponent"='buffalo sabres';
## Task Generate a SQL query to answer the following question: `December smaller than 21, and a Opponent of buffalo sabres had what score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `December smaller than 21, and a Opponent of buffalo sabres had what score?`: ```sql
SELECT "december" FROM "schedule_and_results" WHERE "score"='8 - 1';
## Task Generate a SQL query to answer the following question: `Score of 8 - 1 happened on what day in December?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Score of 8 - 1 happened on what day in December?`: ```sql
SELECT AVG("game") FROM "schedule_and_results" WHERE "december">21 AND "opponent"='pittsburgh penguins';
## Task Generate a SQL query to answer the following question: `December larger than 21, and a Opponent of Pittsburgh penguins had what average game?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `December larger than 21, and a Opponent of Pittsburgh penguins had what average game?`: ```sql
SELECT "opponent" FROM "schedule_and_results" WHERE "december"<14 AND "game"<28 AND "score"='6 - 6';
## Task Generate a SQL query to answer the following question: `December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?`: ```sql
SELECT "laid_down" FROM "list_of_ships" WHERE "launched"='1899-04-25';
## Task Generate a SQL query to answer the following question: `What is the date that the item was laid down if it was launched on 1899-04-25?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_ships" ( "kanji" text, "name_translation" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the date that the item was laid down if it was launched on 1899-04-25?`: ```sql
SELECT "builder" FROM "list_of_ships" WHERE "name_translation"='ikazuchi \"thunder\"';
## Task Generate a SQL query to answer the following question: `Which builder is associated with ikazuchi "thunder"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_ships" ( "kanji" text, "name_translation" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); ### SQL Given the database schema, here is the SQL query that answers `Which builder is associated with ikazuchi "thunder"?`: ```sql
SELECT "builder" FROM "list_of_ships" WHERE "kanji"='曙';
## Task Generate a SQL query to answer the following question: `Which builder has the the kanji of 曙?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_ships" ( "kanji" text, "name_translation" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); ### SQL Given the database schema, here is the SQL query that answers `Which builder has the the kanji of 曙?`: ```sql
SELECT MIN("density_per_km") FROM "list_of_montreal_boroughs" WHERE "number_map"<13 AND "area_in_km"=11.1;
## Task Generate a SQL query to answer the following question: `Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_montreal_boroughs" ( "number_map" real, "borough" text, "population_canada_2011_census" real, "area_in_km" real, "density_per_km" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Density per km² is the lowest one that has a Number (map) smaller than 13, and an Area in km² of 11.1?`: ```sql
SELECT "area_in_km" FROM "list_of_montreal_boroughs" WHERE "population_canada_2011_census">'18,097' AND "borough"='verdun';
## Task Generate a SQL query to answer the following question: `Which Area in km² has a Population Canada 2011 Census larger than 18,097, and a Borough of verdun?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_montreal_boroughs" ( "number_map" real, "borough" text, "population_canada_2011_census" real, "area_in_km" real, "density_per_km" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Area in km² has a Population Canada 2011 Census larger than 18,097, and a Borough of verdun?`: ```sql
SELECT COUNT("number_map") FROM "list_of_montreal_boroughs" WHERE "area_in_km">13.5 AND "population_canada_2011_census"='134,038';
## Task Generate a SQL query to answer the following question: `How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_montreal_boroughs" ( "number_map" real, "borough" text, "population_canada_2011_census" real, "area_in_km" real, "density_per_km" real ); ### SQL Given the database schema, here is the SQL query that answers `How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038?`: ```sql
SELECT MIN("number_map") FROM "list_of_montreal_boroughs" WHERE "area_in_km"=9.7 AND "population_canada_2011_census">'66,158';
## Task Generate a SQL query to answer the following question: `Which Number (map) is the lowest one that has a Area in km² of 9.7, and a Population Canada 2011 Census larger than 66,158?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_montreal_boroughs" ( "number_map" real, "borough" text, "population_canada_2011_census" real, "area_in_km" real, "density_per_km" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Number (map) is the lowest one that has a Area in km² of 9.7, and a Population Canada 2011 Census larger than 66,158?`: ```sql
SELECT AVG("week") FROM "schedule" WHERE "attendance"='19,741';
## Task Generate a SQL query to answer the following question: `Attendance of 19,741 had what average week?` ### 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 Given the database schema, here is the SQL query that answers `Attendance of 19,741 had what average week?`: ```sql
SELECT "date" FROM "schedule" WHERE "attendance"='29,000';
## Task Generate a SQL query to answer the following question: `Attendance of 29,000 occurred on what date?` ### 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 Given the database schema, here is the SQL query that answers `Attendance of 29,000 occurred on what date?`: ```sql
SELECT "attendance" FROM "schedule" WHERE "opponent"='philadelphia eagles';
## Task Generate a SQL query to answer the following question: `Opponent of Philadelphia eagles had what attendance?` ### 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 Given the database schema, here is the SQL query that answers `Opponent of Philadelphia eagles had what attendance?`: ```sql
SELECT "exited" FROM "series_3_2004" WHERE "celebrity"='alex best';
## Task Generate a SQL query to answer the following question: `What day did Alex Best exit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_3_2004" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text ); ### SQL Given the database schema, here is the SQL query that answers `What day did Alex Best exit?`: ```sql
SELECT "finished" FROM "series_3_2004" WHERE "famous_for"='athlete';
## Task Generate a SQL query to answer the following question: `What place did the celebrity who is famous for being an athlete finish?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_3_2004" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text ); ### SQL Given the database schema, here is the SQL query that answers `What place did the celebrity who is famous for being an athlete finish?`: ```sql
SELECT "finished" FROM "series_3_2004" WHERE "famous_for"='singer in atomic kitten';
## Task Generate a SQL query to answer the following question: `What place did the singer in atomic kitten finish?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_3_2004" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text ); ### SQL Given the database schema, here is the SQL query that answers `What place did the singer in atomic kitten finish?`: ```sql
SELECT "celebrity" FROM "series_3_2004" WHERE "exited"='day 13';
## Task Generate a SQL query to answer the following question: `Who was the celebrity who exited on day 13?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_3_2004" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the celebrity who exited on day 13?`: ```sql
SELECT "celebrity" FROM "series_3_2004" WHERE "finished"='7th';
## Task Generate a SQL query to answer the following question: `Who was the celebrity who finished in 7th place?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_3_2004" ( "celebrity" text, "famous_for" text, "entered" text, "exited" text, "finished" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the celebrity who finished in 7th place?`: ```sql
SELECT MAX("goals") FROM "most_capped_players" WHERE "name"='gilmar' AND "caps"<94;
## Task Generate a SQL query to answer the following question: `Name of gilmar, and a Caps smaller than 94 had how many highest goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_capped_players" ( "name" text, "caps" real, "goals" real, "first_cap" text, "latest_cap" text ); ### SQL Given the database schema, here is the SQL query that answers `Name of gilmar, and a Caps smaller than 94 had how many highest goals?`: ```sql
SELECT "goals" FROM "most_capped_players" WHERE "caps"=93;
## Task Generate a SQL query to answer the following question: `Caps of 93 had how many goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_capped_players" ( "name" text, "caps" real, "goals" real, "first_cap" text, "latest_cap" text ); ### SQL Given the database schema, here is the SQL query that answers `Caps of 93 had how many goals?`: ```sql
SELECT "goals" FROM "most_capped_players" WHERE "latest_cap"='september 5, 2011';
## Task Generate a SQL query to answer the following question: `Latest cap of september 5, 2011 had how many goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_capped_players" ( "name" text, "caps" real, "goals" real, "first_cap" text, "latest_cap" text ); ### SQL Given the database schema, here is the SQL query that answers `Latest cap of september 5, 2011 had how many goals?`: ```sql
SELECT MAX("caps") FROM "most_capped_players" WHERE "name"='rivelino';
## Task Generate a SQL query to answer the following question: `Name of rivelino had how many highest caps?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "most_capped_players" ( "name" text, "caps" real, "goals" real, "first_cap" text, "latest_cap" text ); ### SQL Given the database schema, here is the SQL query that answers `Name of rivelino had how many highest caps?`: ```sql
SELECT "athlete" FROM "women_indoor" WHERE "venue"='birmingham';
## Task Generate a SQL query to answer the following question: `Which athlete played at the Birmingham venue?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "women_indoor" ( "pos" real, "mark" text, "athlete" text, "venue" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which athlete played at the Birmingham venue?`: ```sql
SELECT AVG("frequency") FROM "long_range_am_stations" WHERE "webcast"='•' AND "callsign"='xemr';
## Task Generate a SQL query to answer the following question: `Which Frequency has a Webcast of •, and a Callsign of xemr?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Frequency has a Webcast of •, and a Callsign of xemr?`: ```sql
SELECT "website" FROM "long_range_am_stations" WHERE "frequency"<760 AND "callsign"='kkyx';
## Task Generate a SQL query to answer the following question: `Which Website has a Frequency smaller than 760 and a Callsign of kkyx?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Website has a Frequency smaller than 760 and a Callsign of kkyx?`: ```sql
SELECT "webcast" FROM "long_range_am_stations" WHERE "callsign"='kgbt';
## Task Generate a SQL query to answer the following question: `Which Webcast has a Callsign of kgbt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Webcast has a Callsign of kgbt?`: ```sql
SELECT AVG("frequency") FROM "long_range_am_stations" WHERE "website"='•' AND "webcast"='•' AND "city_of_license"='san antonio';
## Task Generate a SQL query to answer the following question: `Which Frequency has a Website of •, and a Webcast of •in san antonio?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "long_range_am_stations" ( "frequency" real, "callsign" text, "brand" text, "city_of_license" text, "website" text, "webcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Frequency has a Website of •, and a Webcast of •in san antonio?`: ```sql
SELECT "years" FROM "all_time_career_leaders" WHERE "points"='78' AND "goals"='22';
## Task Generate a SQL query to answer the following question: `What years did the player play when he scored 78 points and 22 goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_time_career_leaders" ( "rank" text, "player" text, "goals" text, "assists" text, "points" text, "years" text ); ### SQL Given the database schema, here is the SQL query that answers `What years did the player play when he scored 78 points and 22 goals?`: ```sql
SELECT "goals" FROM "all_time_career_leaders" WHERE "assists"='15' AND "player"='joey worthen';
## Task Generate a SQL query to answer the following question: `How many goals did Joey Worthen have when he had 15 assists?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_time_career_leaders" ( "rank" text, "player" text, "goals" text, "assists" text, "points" text, "years" text ); ### SQL Given the database schema, here is the SQL query that answers `How many goals did Joey Worthen have when he had 15 assists?`: ```sql
SELECT "goals" FROM "all_time_career_leaders" WHERE "points"='158';
## Task Generate a SQL query to answer the following question: `How many goals were scored when 158 points were collected?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_time_career_leaders" ( "rank" text, "player" text, "goals" text, "assists" text, "points" text, "years" text ); ### SQL Given the database schema, here is the SQL query that answers `How many goals were scored when 158 points were collected?`: ```sql
SELECT "years" FROM "all_time_career_leaders" WHERE "goals"='36';
## Task Generate a SQL query to answer the following question: `What years had players who scored 36 goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_time_career_leaders" ( "rank" text, "player" text, "goals" text, "assists" text, "points" text, "years" text ); ### SQL Given the database schema, here is the SQL query that answers `What years had players who scored 36 goals?`: ```sql
SELECT "rank" FROM "all_time_career_leaders" WHERE "assists"='13';
## Task Generate a SQL query to answer the following question: `What was the rank of the player who had 13 assists?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "all_time_career_leaders" ( "rank" text, "player" text, "goals" text, "assists" text, "points" text, "years" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the rank of the player who had 13 assists?`: ```sql
SELECT SUM("week") FROM "schedule" WHERE "opponent"='houston oilers' AND "attendance">'54,582';
## Task Generate a SQL query to answer the following question: `What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans 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, "opponent" text, "result" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance?`: ```sql
SELECT MAX("attendance") FROM "schedule" WHERE "week"<1;
## Task Generate a SQL query to answer the following question: `What is the highest attendance for week 1?` ### 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" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest attendance for week 1?`: ```sql
SELECT COUNT("attendance") FROM "schedule" WHERE "week">8 AND "date"='november 25, 1979';
## Task Generate a SQL query to answer the following question: `What is the total number in attendance for the game after week 8 that was on November 25, 1979?` ### 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" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number in attendance for the game after week 8 that was on November 25, 1979?`: ```sql
SELECT "surface" FROM "top_10_wins_per_season" WHERE "score"='2009 wta tour';
## Task Generate a SQL query to answer the following question: `Which Surface has a Score of 2009 wta tour?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_wins_per_season" ( "player" text, "ranking" text, "event" text, "surface" text, "round" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Surface has a Score of 2009 wta tour?`: ```sql
SELECT "round" FROM "top_10_wins_per_season" WHERE "ranking"='2008 wta tour';
## Task Generate a SQL query to answer the following question: `Which Round has a Ranking of 2008 wta tour?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_wins_per_season" ( "player" text, "ranking" text, "event" text, "surface" text, "round" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Round has a Ranking of 2008 wta tour?`: ```sql
SELECT "surface" FROM "top_10_wins_per_season" WHERE "round"='4th round' AND "player"='maria sharapova';
## Task Generate a SQL query to answer the following question: `Which Surface has a Round of 4th round, and a Player of maria sharapova?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_wins_per_season" ( "player" text, "ranking" text, "event" text, "surface" text, "round" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Surface has a Round of 4th round, and a Player of maria sharapova?`: ```sql
SELECT "player" FROM "top_10_wins_per_season" WHERE "score"='6–4, 7–6 (7–5)';
## Task Generate a SQL query to answer the following question: `Which Player has a Score of 6–4, 7–6 (7–5)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_wins_per_season" ( "player" text, "ranking" text, "event" text, "surface" text, "round" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Player has a Score of 6–4, 7–6 (7–5)?`: ```sql
SELECT "round" FROM "top_10_wins_per_season" WHERE "player"='anna chakvetadze';
## Task Generate a SQL query to answer the following question: `Which Round has a Player of anna chakvetadze?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "top_10_wins_per_season" ( "player" text, "ranking" text, "event" text, "surface" text, "round" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Round has a Player of anna chakvetadze?`: ```sql
SELECT "loss" FROM "game_log" WHERE "record"='89-67';
## Task Generate a SQL query to answer the following question: `Record of 89-67 had what loss?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Record of 89-67 had what loss?`: ```sql
SELECT "record" FROM "game_log" WHERE "score"='3 - 2';
## Task Generate a SQL query to answer the following question: `Score of 3 - 2 had what record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Score of 3 - 2 had what record?`: ```sql
SELECT "record" FROM "game_log" WHERE "opponent"='@ blue jays' AND "loss"='lyon (5-4)';
## Task Generate a SQL query to answer the following question: `Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent?`: ```sql
SELECT "score" FROM "game_log" WHERE "loss"='lyon (5-4)';
## Task Generate a SQL query to answer the following question: `Loss of lyon (5-4) had what score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Loss of lyon (5-4) had what score?`: ```sql
SELECT "record" FROM "game_log" WHERE "loss"='finley (8-7)';
## Task Generate a SQL query to answer the following question: `Loss of finley (8-7) had what record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Loss of finley (8-7) had what record?`: ```sql
SELECT "score" FROM "game_log" WHERE "opponent"='@ blue jays' AND "date"='october 6';
## Task Generate a SQL query to answer the following question: `Opponent of @ blue jays, and a Date of october 6 had what score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Opponent of @ blue jays, and a Date of october 6 had what score?`: ```sql
SELECT "score" FROM "playoffs" WHERE "game"=5;
## Task Generate a SQL query to answer the following question: `What is the score for game 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score for game 5?`: ```sql
SELECT "score" FROM "playoffs" WHERE "game">3 AND "opponent"='buffalo sabres';
## Task Generate a SQL query to answer the following question: `What is the score that has a game greater than 3, with buffalo sabres as the opponent?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score that has a game greater than 3, with buffalo sabres as the opponent?`: ```sql
SELECT "score" FROM "playoffs" WHERE "date"='may 9';
## Task Generate a SQL query to answer the following question: `What score has may 9 as the date?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "playoffs" ( "game" real, "date" text, "opponent" text, "score" text, "series" text ); ### SQL Given the database schema, here is the SQL query that answers `What score has may 9 as the date?`: ```sql
SELECT "score" FROM "singles_5_4_1" WHERE "date"='october 16, 1983';
## Task Generate a SQL query to answer the following question: `What was the score on October 16, 1983?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score on October 16, 1983?`: ```sql
SELECT "score" FROM "singles_5_4_1" WHERE "outcome"='runner-up';
## Task Generate a SQL query to answer the following question: `What was the score when she was a runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score when she was a runner-up?`: ```sql
SELECT "tournament" FROM "singles_5_4_1" WHERE "date"='august 11, 1984';
## Task Generate a SQL query to answer the following question: `What tournament was being played on August 11, 1984?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_5_4_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); ### SQL Given the database schema, here is the SQL query that answers `What tournament was being played on August 11, 1984?`: ```sql
SELECT "venue" FROM "international_goals" WHERE "date"='june 8, 2005';
## Task Generate a SQL query to answer the following question: `What was the Venue on June 8, 2005?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Venue on June 8, 2005?`: ```sql
SELECT "date" FROM "international_goals" WHERE "venue"='los angeles';
## Task Generate a SQL query to answer the following question: `On what Date was the Venue Los Angeles?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `On what Date was the Venue Los Angeles?`: ```sql
SELECT "score" FROM "international_goals" WHERE "date"='september 29, 2003';
## Task Generate a SQL query to answer the following question: `What was the Score on September 29, 2003?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Score on September 29, 2003?`: ```sql
SELECT "date" FROM "international_goals" WHERE "venue"='carson';
## Task Generate a SQL query to answer the following question: `On what Date was the Venue in Carson?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `On what Date was the Venue in Carson?`: ```sql
SELECT "competition" FROM "international_goals" WHERE "date"='october 21, 2003';
## Task Generate a SQL query to answer the following question: `What was the competition on October 21, 2003?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the competition on October 21, 2003?`: ```sql
SELECT "competition" FROM "international_goals" WHERE "date"='september 29, 2003';
## Task Generate a SQL query to answer the following question: `What was the Competition on September 29, 2003?` ### 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, "result" text, "competition" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Competition on September 29, 2003?`: ```sql
SELECT "country" FROM "complete_results" WHERE "name"='chunkath, mohan verghese';
## Task Generate a SQL query to answer the following question: `What country has chunkath, mohan verghese as the name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_results" ( "position" real, "name" text, "country" text, "win_loss" text, "spread" real ); ### SQL Given the database schema, here is the SQL query that answers `What country has chunkath, mohan verghese as the name?`: ```sql
SELECT "position" FROM "complete_results" WHERE "spread">-319 AND "country"='united states' AND "win_loss"='11-13' AND "name"='gabriel, marty';
## Task Generate a SQL query to answer the following question: `What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_results" ( "position" real, "name" text, "country" text, "win_loss" text, "spread" real ); ### SQL Given the database schema, here is the SQL query that answers `What position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name?`: ```sql
SELECT "name" FROM "complete_results" WHERE "spread"=69;
## Task Generate a SQL query to answer the following question: `What name has a spread of 69?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_results" ( "position" real, "name" text, "country" text, "win_loss" text, "spread" real ); ### SQL Given the database schema, here is the SQL query that answers `What name has a spread of 69?`: ```sql
SELECT "performer_2" FROM "series_8" WHERE "episode"=5;
## Task Generate a SQL query to answer the following question: `Which Performer 2 has an Episode of 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_8" ( "date" text, "episode" real, "performer_1" text, "performer_2" text, "performer_3" text, "performer_4" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Performer 2 has an Episode of 5?`: ```sql
SELECT "weight" FROM "naya_paisa_series" WHERE "denomination"='one rupee';
## Task Generate a SQL query to answer the following question: `What weight has one rupee as the denomination?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "naya_paisa_series" ( "denomination" text, "metal" text, "weight" text, "shape" text, "size" text ); ### SQL Given the database schema, here is the SQL query that answers `What weight has one rupee as the denomination?`: ```sql
SELECT "size" FROM "naya_paisa_series" WHERE "metal"='nickel' AND "denomination"='one rupee';
## Task Generate a SQL query to answer the following question: `What is the size that has nickel as the metal, and one rupee as the denomination?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "naya_paisa_series" ( "denomination" text, "metal" text, "weight" text, "shape" text, "size" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the size that has nickel as the metal, and one rupee as the denomination?`: ```sql
SELECT "metal" FROM "naya_paisa_series" WHERE "denomination"='one rupee';
## Task Generate a SQL query to answer the following question: `What metal has one rupee as the denomination?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "naya_paisa_series" ( "denomination" text, "metal" text, "weight" text, "shape" text, "size" text ); ### SQL Given the database schema, here is the SQL query that answers `What metal has one rupee as the denomination?`: ```sql
SELECT "shape" FROM "naya_paisa_series" WHERE "metal"='nickel' AND "denomination"='one rupee';
## Task Generate a SQL query to answer the following question: `What shape has nickel as the metal, and one rupee as the denomination?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "naya_paisa_series" ( "denomination" text, "metal" text, "weight" text, "shape" text, "size" text ); ### SQL Given the database schema, here is the SQL query that answers `What shape has nickel as the metal, and one rupee as the denomination?`: ```sql
SELECT "2007" FROM "singles_performance_timeline" WHERE "2010"='a' AND "2006"='lq';
## Task Generate a SQL query to answer the following question: `Which 2007 has a 2010 of A, and a 2006 of lq?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2007 has a 2010 of A, and a 2006 of lq?`: ```sql
SELECT "2012" FROM "singles_performance_timeline" WHERE "2007"='1r';
## Task Generate a SQL query to answer the following question: `Which 2012 has a 2007 of 1r?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2012 has a 2007 of 1r?`: ```sql
SELECT "2002" FROM "singles_performance_timeline" WHERE "2013"='2–4';
## Task Generate a SQL query to answer the following question: `Which 2002 has a 2013 of 2–4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2002 has a 2013 of 2–4?`: ```sql
SELECT "2013" FROM "singles_performance_timeline" WHERE "2010"='1r';
## Task Generate a SQL query to answer the following question: `Which 2013 has a 2010 of 1r?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2013 has a 2010 of 1r?`: ```sql
SELECT "2005" FROM "singles_performance_timeline" WHERE "tournament"='grand slam tournaments';
## Task Generate a SQL query to answer the following question: `Which 2005 has a Tournament of 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, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2005 has a Tournament of grand slam tournaments?`: ```sql
SELECT "2007" FROM "singles_performance_timeline" WHERE "2008"='1r' AND "tournament"='wimbledon';
## Task Generate a SQL query to answer the following question: `Which 2007 has a 2008 of 1r, and a Tournament of wimbledon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2002" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text ); ### SQL Given the database schema, here is the SQL query that answers `Which 2007 has a 2008 of 1r, and a Tournament of wimbledon?`: ```sql
SELECT "date" FROM "regular_season" WHERE "home"='minnesota';
## Task Generate a SQL query to answer the following question: `Which Date has a Home of minnesota?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Date has a Home of minnesota?`: ```sql
SELECT "visitor" FROM "regular_season" WHERE "decision"='myre' AND "record"='44–7–15';
## Task Generate a SQL query to answer the following question: `Which Visitor has a Decision of myre, and a Record of 44–7–15?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Visitor has a Decision of myre, and a Record of 44–7–15?`: ```sql
SELECT "championship" FROM "wins_11" WHERE "winning_score"='6 & 5';
## Task Generate a SQL query to answer the following question: `What Championship had a Winning score of 6 & 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "wins_11" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `What Championship had a Winning score of 6 & 5?`: ```sql
SELECT "winning_score" FROM "wins_11" WHERE "runner_s_up"='betsy rawls';
## Task Generate a SQL query to answer the following question: `What was the Winning Score when Betsy Rawls was the Runner(s)-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "wins_11" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Winning Score when Betsy Rawls was the Runner(s)-up?`: ```sql
SELECT "runner_s_up" FROM "wins_11" WHERE "championship"='women''s western open' AND "year"=1946;
## Task Generate a SQL query to answer the following question: `In 1946, what is the Runner(s)-up of the Women's Western Open Championship?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "wins_11" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `In 1946, what is the Runner(s)-up of the Women's Western Open Championship?`: ```sql
SELECT "margin" FROM "wins_11" WHERE "runner_s_up"='patty berg' AND "year"=1953;
## Task Generate a SQL query to answer the following question: `What is the Margin in 1953 when Patty Berg was Runner(s)-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "wins_11" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Margin in 1953 when Patty Berg was Runner(s)-up?`: ```sql
SELECT "margin" FROM "wins_11" WHERE "winning_score"='+8 (70-69-70-75=284)';
## Task Generate a SQL query to answer the following question: `What is the Margin when the Winning score is +8 (70-69-70-75=284)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "wins_11" ( "year" real, "championship" text, "winning_score" text, "margin" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Margin when the Winning score is +8 (70-69-70-75=284)?`: ```sql
SELECT "name" FROM "north_east" WHERE "type"='primary' AND "dcsf_number">2337 AND "ofsted_number"<135339;
## Task Generate a SQL query to answer the following question: `What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "north_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?`: ```sql
SELECT "name" FROM "north_east" WHERE "dcsf_number">2448 AND "ofsted_number"=131319;
## Task Generate a SQL query to answer the following question: `What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "north_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); ### SQL Given the database schema, here is the SQL query that answers `What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?`: ```sql
SELECT "faith" FROM "north_east" WHERE "dcsf_number">2448 AND "name"='holtsmere end';
## Task Generate a SQL query to answer the following question: `What faith has a DCSF number bigger than 2448 in Holtsmere End?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "north_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); ### SQL Given the database schema, here is the SQL query that answers `What faith has a DCSF number bigger than 2448 in Holtsmere End?`: ```sql
SELECT MIN("dcsf_number") FROM "north_east" WHERE "name"='aycliffe drive' AND "ofsted_number"<117335;
## Task Generate a SQL query to answer the following question: `What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "north_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?`: ```sql
SELECT "city" FROM "destinations" WHERE "airport"='toamasina airport';
## Task Generate a SQL query to answer the following question: `what city is the toamasina airport in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); ### SQL Given the database schema, here is the SQL query that answers `what city is the toamasina airport in?`: ```sql
SELECT "country" FROM "destinations" WHERE "city"='sydney';
## Task Generate a SQL query to answer the following question: `What country has the city, Sydney?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); ### SQL Given the database schema, here is the SQL query that answers `What country has the city, Sydney?`: ```sql
SELECT "city" FROM "destinations" WHERE "country"='mayotte';
## Task Generate a SQL query to answer the following question: `What city is in the country of Mayotte?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); ### SQL Given the database schema, here is the SQL query that answers `What city is in the country of Mayotte?`: ```sql
SELECT "iata" FROM "destinations" WHERE "airport"='chennai international airport';
## Task Generate a SQL query to answer the following question: `What is the IATA for the chennai international airport?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the IATA for the chennai international airport?`: ```sql
SELECT "airport" FROM "destinations" WHERE "iata"='nos';
## Task Generate a SQL query to answer the following question: `What is the airport name that has nos listed as the IATA?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "destinations" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the airport name that has nos listed as the IATA?`: ```sql
SELECT "part_number_s" FROM "energy_efficient_e_series" WHERE "model_number"='athlon x2 4850e';
## Task Generate a SQL query to answer the following question: `What is the part number of athlon x2 4850e?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the part number of athlon x2 4850e?`: ```sql
SELECT "frequency" FROM "energy_efficient_e_series" WHERE "multi_1"='7.5×';
## Task Generate a SQL query to answer the following question: `What's the frequency of the device that has a Multi 1 of 7.5×?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the frequency of the device that has a Multi 1 of 7.5×?`: ```sql
SELECT "l2_cache" FROM "energy_efficient_e_series" WHERE "frequency"='1500mhz';
## Task Generate a SQL query to answer the following question: `What's amount of L2 Cache on a device that has a Frequency of 1500mhz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text ); ### SQL Given the database schema, here is the SQL query that answers `What's amount of L2 Cache on a device that has a Frequency of 1500mhz?`: ```sql
SELECT "release_date" FROM "energy_efficient_e_series" WHERE "frequency"='2300mhz';
## Task Generate a SQL query to answer the following question: `When is the release date for a chip that has a Frequency of 2300mhz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "energy_efficient_e_series" ( "model_number" text, "stepping" text, "frequency" text, "l2_cache" text, "multi_1" text, "v_core" text, "socket" text, "release_date" text, "part_number_s" text ); ### SQL Given the database schema, here is the SQL query that answers `When is the release date for a chip that has a Frequency of 2300mhz?`: ```sql