output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT COUNT("production_code") FROM "table1_18424435_5" WHERE "title"='\"The Better Man\"';
## Task Generate a SQL query to answer the following question: `How many production codes have the title "the better man"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18424435_5" ( "no" real, "num" real, "title" text, "directed_by" t...
SELECT "directed_by" FROM "table1_18424435_5" WHERE "u_s_air_date"='July 29, 2011';
## Task Generate a SQL query to answer the following question: `Who directed the episode that aired on July 29, 2011?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18424435_5" ( "no" real, "num" real, "title" text, "directed_by" text, ...
SELECT COUNT("u_s_air_date") FROM "table1_18424435_5" WHERE "directed_by"='Jim Donovan';
## Task Generate a SQL query to answer the following question: `How many air dates where directed by jim donovan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18424435_5" ( "no" real, "num" real, "title" text, "directed_by" text, "w...
SELECT MIN("num") FROM "table1_18424435_5";
## Task Generate a SQL query to answer the following question: `What is the smallest number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18424435_5" ( "no" real, "num" real, "title" text, "directed_by" text, "written_by" text, "c...
SELECT "u_s_air_date" FROM "table1_18424435_5" WHERE "canadian_viewers_million"='1.229';
## Task Generate a SQL query to answer the following question: `Which air dates have 1.229 canadian viewers (millions)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18424435_5" ( "no" real, "num" real, "title" text, "directed_by" text...
SELECT COUNT("district") FROM "punjab" WHERE "serial_no"=9;
## Task Generate a SQL query to answer the following question: `In what district is the city listed in Serial number 9?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "punjab" ( "serial_no" real, "district" text, "headquartered_city" text, "cit...
SELECT COUNT("city_area_km_2") FROM "punjab" WHERE "district"='Sargodha District';
## Task Generate a SQL query to answer the following question: `What is the area of the city in the Sargodha district?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "punjab" ( "serial_no" real, "district" text, "headquartered_city" text, "city...
SELECT MIN("city_area_km_2") FROM "punjab";
## Task Generate a SQL query to answer the following question: `What is the smallest city area?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "punjab" ( "serial_no" real, "district" text, "headquartered_city" text, "city_population_2009" real,...
SELECT "original_air_date" FROM "episodes" WHERE "directed_by"='Di Drew';
## Task Generate a SQL query to answer the following question: `If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "episodes" ( "no_in_series" real, "no_in_seas...
SELECT COUNT("population_2010_census") FROM "administrative_districts" WHERE "s_barangay"=51;
## Task Generate a SQL query to answer the following question: `What is the population (2010 census) if s barangay is 51?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "administrative_districts" ( "district" text, "s_barangay" real, "population_...
SELECT MIN("population_2010_census") FROM "administrative_districts" WHERE "area_has"='66.11';
## Task Generate a SQL query to answer the following question: `What is the population (2010 census) if the area is 66.11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "administrative_districts" ( "district" text, "s_barangay" real, "populatio...
SELECT "entered" FROM "elimination_chamber_entrances_and_elimin" WHERE "time"='14:42';
## Task Generate a SQL query to answer the following question: `How many entered the match with a time of 14:42? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "ent...
SELECT "time" FROM "elimination_chamber_entrances_and_elimin" WHERE "wrestler"='Cena';
## Task Generate a SQL query to answer the following question: `What was the time for the match with Cena? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real, "wrestler" text, "entered" ...
SELECT "time" FROM "elimination_chamber_entrances_and_elimin" WHERE "eliminated_by"='Chris Jericho';
## Task Generate a SQL query to answer the following question: `What was the time of the match where Chris Jericho eliminated the wrestler? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "elimination_chamber_entrances_and_elimin" ( "eliminated" real...
SELECT "station" FROM "television_stations" WHERE "city_of_license_market"='Cincinnati';
## Task Generate a SQL query to answer the following question: `What are all the stations with a license in Cincinnati?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel...
SELECT "affiliation" FROM "television_stations" WHERE "station"='KMGH-TV';
## Task Generate a SQL query to answer the following question: `What station is affiliated with kmgh-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_rf" text, ...
SELECT "owned_since" FROM "television_stations" WHERE "station"='WFTS-TV';
## Task Generate a SQL query to answer the following question: `How many stations have been owned since wfts-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_rf"...
SELECT "city_of_license_market" FROM "television_stations" WHERE "channel_tv_rf"='41';
## Task Generate a SQL query to answer the following question: `What city of license/market has the channel of 41?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_r...
SELECT MIN("owned_since") FROM "television_stations" WHERE "station"='KERO-TV';
## Task Generate a SQL query to answer the following question: `What is the minimum stations owned since kero-tv?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "television_stations" ( "city_of_license_market" text, "station" text, "channel_tv_rf...
SELECT "lyric_fm_m_hz" FROM "main_sites" WHERE "rna_g_m_hz"='93.2';
## Task Generate a SQL query to answer the following question: `What is the lyric fm for rnag 93.2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_sites" ( "transmitter" text, "service_area" text, "radio_1_m_hz" text, "2_fm_m_hz" text, ...
SELECT "2_fm_m_hz" FROM "main_sites" WHERE "erp_k_w"='16';
## Task Generate a SQL query to answer the following question: `What are the 2fm's for erp 16?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_sites" ( "transmitter" text, "service_area" text, "radio_1_m_hz" text, "2_fm_m_hz" text, "rna_...
SELECT "rna_g_m_hz" FROM "main_sites" WHERE "transmitter"='Kippure';
## Task Generate a SQL query to answer the following question: `What is the rnag for kippure transmitter? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_sites" ( "transmitter" text, "service_area" text, "radio_1_m_hz" text, "2_fm_m_hz" t...
SELECT "rna_g_m_hz" FROM "main_sites" WHERE "lyric_fm_m_hz"='98.7';
## Task Generate a SQL query to answer the following question: `What is the rnag for lyric fm 98.7? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_sites" ( "transmitter" text, "service_area" text, "radio_1_m_hz" text, "2_fm_m_hz" text, ...
SELECT "2_fm_m_hz" FROM "main_sites" WHERE "rna_g_m_hz"='94.4';
## Task Generate a SQL query to answer the following question: `What is the 2fm for rnag 94.4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "main_sites" ( "transmitter" text, "service_area" text, "radio_1_m_hz" text, "2_fm_m_hz" text, "rna_...
SELECT COUNT("reason_for_change") FROM "senate" WHERE "vacator"='A. Willis Robertson (D)';
## Task Generate a SQL query to answer the following question: `How many reasons were given when A. Willis Robertson (D) resigned?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "senate" ( "state_class" text, "vacator" text, "reason_for_change" t...
SELECT "vacator" FROM "senate" WHERE "date_of_successors_formal_installation"='May 11, 1966';
## Task Generate a SQL query to answer the following question: `Who vacated his post when his successor was formally installed on May 11, 1966?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "senate" ( "state_class" text, "vacator" text, "reason_...
SELECT "state_class" FROM "senate" WHERE "date_of_successors_formal_installation"='May 11, 1966';
## Task Generate a SQL query to answer the following question: `What was the state (class) where the new successor was formally installed on May 11, 1966?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "senate" ( "state_class" text, "vacator" text,...
SELECT "album" FROM "best_selling_albums_in_the_uk" WHERE "artist"='ABBA';
## Task Generate a SQL query to answer the following question: `When abba is the artist what is the album?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "best_selling_albums_in_the_uk" ( "no" real, "album" text, "artist" text, "record_label" t...
SELECT "album" FROM "best_selling_albums_in_the_uk" WHERE "no"=35;
## Task Generate a SQL query to answer the following question: `When 35 is the number what is the album?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "best_selling_albums_in_the_uk" ( "no" real, "album" text, "artist" text, "record_label" tex...
SELECT MIN("no") FROM "best_selling_albums_in_the_uk" WHERE "album"='Bat Out of Hell';
## Task Generate a SQL query to answer the following question: `When bat out of hell is the album what is the lowest number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "best_selling_albums_in_the_uk" ( "no" real, "album" text, "artist" text, ...
SELECT "no" FROM "best_selling_albums_in_the_uk" WHERE "released"='Cannot handle non-empty timestamp argument! 2007';
## Task Generate a SQL query to answer the following question: `When cannot handle non-empty timestamp argument! 2007 is released what is the no.? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "best_selling_albums_in_the_uk" ( "no" real, "album"...
SELECT "district" FROM "table1_1847180_4" WHERE "vacator"='Ralph Harvey (R)';
## Task Generate a SQL query to answer the following question: `Which district did Ralph Harvey (r) vacated when he resigned?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1847180_4" ( "district" text, "vacator" text, "reason_for_change"...
SELECT "vacator" FROM "table1_1847180_4" WHERE "successor"='Walter B. Jones, Sr. (D)';
## Task Generate a SQL query to answer the following question: `Who did Walter B. Jones, Sr. (d) succeeded in office?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1847180_4" ( "district" text, "vacator" text, "reason_for_change" text, ...
SELECT "no_in_series" FROM "table1_18481791_2" WHERE "title"='\"Never the Bride\"';
## Task Generate a SQL query to answer the following question: `What number episode in the series was titled "Never the Bride"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_2" ( "no_in_series" real, "title" text, "directed_by" ...
SELECT "written_by" FROM "table1_18481791_2" WHERE "title"='\"Trojan Horst\"';
## Task Generate a SQL query to answer the following question: `Who wrote the episode titled "Trojan Horst"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_2" ( "no_in_series" real, "title" text, "directed_by" text, "written_by...
SELECT "title" FROM "table1_18481791_2" WHERE "directed_by"='John T. Kretchmer';
## Task Generate a SQL query to answer the following question: `What was the title of the episode directed by John T. Kretchmer? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_2" ( "no_in_series" real, "title" text, "directed_by...
SELECT MIN("no_in_season") FROM "table1_18481791_3" WHERE "directed_by"='Bryan Spicer';
## Task Generate a SQL query to answer the following question: `How many seasons were directed by Bryan Spicer?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_3" ( "no_in_series" real, "no_in_season" real, "title" text, "direct...
SELECT "title" FROM "table1_18481791_3" WHERE "no_in_series"=23;
## Task Generate a SQL query to answer the following question: `What is the title of series 23?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "...
SELECT "original_air_date" FROM "table1_18481791_3" WHERE "title"='\"Training Video\"';
## Task Generate a SQL query to answer the following question: `When did the title "training video" originally air?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_3" ( "no_in_series" real, "no_in_season" real, "title" text, "di...
SELECT "directed_by" FROM "table1_18481791_3" WHERE "no_in_season"=1;
## Task Generate a SQL query to answer the following question: `Who directed season 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_3" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_b...
SELECT "title" FROM "table1_18481791_3" WHERE "u_s_viewers_in_millions"='3.97';
## Task Generate a SQL query to answer the following question: `What is the title when u.s. viewers (millions) is 3.97?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18481791_3" ( "no_in_series" real, "no_in_season" real, "title" text, ...
SELECT COUNT("commentator") FROM "table1_184803_4" WHERE "broadcaster"='ORF';
## Task Generate a SQL query to answer the following question: `how many people commentated where broadcaster is orf` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_184803_4" ( "voting_order" real, "country" text, "spokespersons" text, "...
SELECT "spokespersons" FROM "table1_184803_4" WHERE "voting_order"=9;
## Task Generate a SQL query to answer the following question: `list the spokespersons where voting order is 9` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_184803_4" ( "voting_order" real, "country" text, "spokespersons" text, "commen...
SELECT "country" FROM "table1_184803_4" WHERE "commentator"='Gordana Bonetti';
## Task Generate a SQL query to answer the following question: `which countries were commentated on by gordana bonetti` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_184803_4" ( "voting_order" real, "country" text, "spokespersons" text, ...
SELECT "spokespersons" FROM "table1_184803_4" WHERE "country"='Luxembourg';
## Task Generate a SQL query to answer the following question: `wich spokesperson talked on luxembourg` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_184803_4" ( "voting_order" real, "country" text, "spokespersons" text, "commentator" t...
SELECT "commentator" FROM "table1_184803_4" WHERE "spokespersons"='Claude Darget';
## Task Generate a SQL query to answer the following question: `who was the commentator when spokesperson was claude darget` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_184803_4" ( "voting_order" real, "country" text, "spokespersons" te...
SELECT "institution" FROM "membership" WHERE "team_nickname"='Cardinals';
## Task Generate a SQL query to answer the following question: `List all institutions with a team name of the Cardinals. ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "membership" ( "institution" text, "location" text, "founded" real, "years_...
SELECT COUNT("founded") FROM "membership" WHERE "location"='Rock Island, Illinois';
## Task Generate a SQL query to answer the following question: `List the total number of institutions founded in Rock Island, Illinois.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "membership" ( "institution" text, "location" text, "founded" r...
SELECT "viewers_in_millions" FROM "table1_1849243_1" WHERE "run_time"='23:55';
## Task Generate a SQL query to answer the following question: `How many viewers in millions watched the episode 23:55 minutes long?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1849243_1" ( "episode" text, "broadcast_date" text, "run_t...
SELECT "broadcast_date" FROM "table1_1849243_1" WHERE "archive"='16mm t/r';
## Task Generate a SQL query to answer the following question: `What is the broadcast date of the 16mm t/r episode?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1849243_1" ( "episode" text, "broadcast_date" text, "run_time" text, "vie...
SELECT "viewers_in_millions" FROM "table1_1849243_1" WHERE "archive"='16mm t/r';
## Task Generate a SQL query to answer the following question: `How many viewers watched the 16mm t/r episode?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1849243_1" ( "episode" text, "broadcast_date" text, "run_time" text, "viewers_...
SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "october_20_2008"='June 5, 2009';
## Task Generate a SQL query to answer the following question: `state el canal de las estrellas where october 20, 2008 stat is june 5, 2009` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para_siempre" text...
SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "ma_ana_es_para_siempre"='Impreuna pentru totdeauna';
## Task Generate a SQL query to answer the following question: `state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para...
SELECT "june_14_2009" FROM "broadcasters" WHERE "october_20_2008"='November 15, 2010';
## Task Generate a SQL query to answer the following question: `what is the june 14, 2009 stat where october 20, 2008 stat is november 15, 2010` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para_siempre" ...
SELECT "mexico" FROM "broadcasters" WHERE "ma_ana_es_para_siempre"='Love Never Dies';
## Task Generate a SQL query to answer the following question: `what is the mexico stat where mañana es para siempre is love never dies` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para_siempre" text, ...
SELECT "el_canal_de_las_estrellas" FROM "broadcasters" WHERE "october_20_2008"='June 5, 2009';
## Task Generate a SQL query to answer the following question: `state el canal de las estrellas where october 20, 2008 stat is june 5, 2009` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para_siempre" text...
SELECT "october_20_2008" FROM "broadcasters" WHERE "mexico"='Romania';
## Task Generate a SQL query to answer the following question: `what is the october 20, 2008 stat where mexico stat is romania` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "broadcasters" ( "mexico" text, "ma_ana_es_para_siempre" text, "el_canal...
SELECT "other" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
## Task Generate a SQL query to answer the following question: `Name the other for chironius multiventris septentrionalis` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850282_7" ( "species" text, "common_name" text, "trinidad" text, "...
SELECT "trinidad" FROM "table1_1850282_7" WHERE "common_name"='Yellow-bellied puffing snake';
## Task Generate a SQL query to answer the following question: `Name the trinidad for yellow-bellied puffing snake` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850282_7" ( "species" text, "common_name" text, "trinidad" text, "tobago"...
SELECT "bocas_is" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
## Task Generate a SQL query to answer the following question: `Name the bocas for chironius multiventris septentrionalis` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850282_7" ( "species" text, "common_name" text, "trinidad" text, "...
SELECT "trinidad" FROM "table1_1850282_7" WHERE "common_name"='Yellow-bellied puffing snake';
## Task Generate a SQL query to answer the following question: `Name the trindad for yellow-bellied puffing snake` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850282_7" ( "species" text, "common_name" text, "trinidad" text, "tobago" ...
SELECT "common_name" FROM "table1_1850282_7" WHERE "species"='Chironius multiventris septentrionalis';
## Task Generate a SQL query to answer the following question: `Name the common name for chironius multiventris septentrionalis` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850282_7" ( "species" text, "common_name" text, "trinidad" tex...
SELECT "contestant_name" FROM "season_2" WHERE "date_premiered_2009"='July 25';
## Task Generate a SQL query to answer the following question: `What contestant was premiered on July 25? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_2" ( "contestant_name" text, "episode_num" real, "date_premiered_2009" text, "winn...
SELECT "air_force_navy_score" FROM "table1_1850339_2" WHERE "season"=2018;
## Task Generate a SQL query to answer the following question: `What's the Air Force - Navy score in the 2018 season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850339_2" ( "season" real, "trophy_winner" text, "air_force_navy_score" ...
SELECT "air_force_navy_score" FROM "table1_1850339_2" WHERE "season"=1983;
## Task Generate a SQL query to answer the following question: `What was the Air Force - Navy score in the 1983 season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850339_2" ( "season" real, "trophy_winner" text, "air_force_navy_score...
SELECT COUNT("season") FROM "table1_1850339_2" WHERE "army_navy_score"='10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)';
## Task Generate a SQL query to answer the following question: `How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1850339_2" ( "season" real...
SELECT "u_s_acres_episode" FROM "table1_1852270_5" WHERE "garfield_episode_1"='Robodie II';
## Task Generate a SQL query to answer the following question: `In the first episode of Garfield titled Robodie II, what is the title of the U.S. Acres Episode?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_5" ( "episode" text, "ga...
SELECT "garfield_episode_1" FROM "table1_1852270_5" WHERE "garfield_episode_2"='Mamma Manicotti';
## Task Generate a SQL query to answer the following question: `What is the title of the first episode of Garfield that is followed by the second episode of Garfield titled Mamma Manicotti?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270...
SELECT "u_s_acres_episode" FROM "table1_1852270_5" WHERE "garfield_episode_1"='Robodie II';
## Task Generate a SQL query to answer the following question: `What is the name of the US Acres episode following the Garfield episode titled Robodie II?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_5" ( "episode" text, "garfield...
SELECT "garfield_episode_2" FROM "table1_1852270_4" WHERE "garfield_episode_1"='Twice Told Tale';
## Task Generate a SQL query to answer the following question: `what is the 2nd garfield episode for garfield episode 1 twice told tale` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_episode_1" text, ...
SELECT "garfield_episode_1" FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Orson Awards';
## Task Generate a SQL query to answer the following question: `what is the 2nd garfield episode where u.s. acres episode is the orson awards` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_episode_1" t...
SELECT COUNT("garfield_episode_2") FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Orson Awards';
## Task Generate a SQL query to answer the following question: `how many 2nd episodes for u.s. acres episode the orson awards` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_episode_1" text, "u_s_acre...
SELECT "original_airdate" FROM "table1_1852270_4" WHERE "garfield_episode_2"='The Wise Man';
## Task Generate a SQL query to answer the following question: `what is the original airdate for garfield episode 2 the wise man` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_episode_1" text, "u_s_a...
SELECT "garfield_episode_2" FROM "table1_1852270_4" WHERE "u_s_acres_episode"='The Bunny Rabbits is Coming!';
## Task Generate a SQL query to answer the following question: `what is the 2nd garfield episode where u.s. acres episode is the bunny rabbits is coming!` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_...
SELECT "episode" FROM "table1_1852270_4" WHERE "garfield_episode_1"='Ship Shape';
## Task Generate a SQL query to answer the following question: `which episode had garfield episode 1 ship shape` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_4" ( "episode" text, "garfield_episode_1" text, "u_s_acres_episode" tex...
SELECT "garfield_episode_2" FROM "table1_1852270_6" WHERE "garfield_episode_1"='The First Annual Garfield Watchers Test';
## Task Generate a SQL query to answer the following question: `Which Garfield episode 2 has Garfield episode 1 as the first annual Garfield watchers test?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfiel...
SELECT "original_airdate" FROM "table1_1852270_6" WHERE "u_s_acres_episode"='Who Done It?';
## Task Generate a SQL query to answer the following question: `What is the original air date of the u.s. acres episode who done it?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfield_episode_1" text, "u...
SELECT "episode" FROM "table1_1852270_6" WHERE "garfield_episode_1"='The Worst Pizza in the History of Mankind';
## Task Generate a SQL query to answer the following question: `Which episode in Garfield episode 1 is the worst pizza in the history of mankind?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfield_episode_...
SELECT COUNT("original_airdate") FROM "table1_1852270_6" WHERE "garfield_episode_1"='Cute for Loot';
## Task Generate a SQL query to answer the following question: `How many original airdates is Garfield episode 1 is cute for loot?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfield_episode_1" text, "u_s...
SELECT "u_s_acres_episode" FROM "table1_1852270_6" WHERE "episode"='\"Show 79\"';
## Task Generate a SQL query to answer the following question: `Which u.s.acres episode has "show 79" as the episode?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfield_episode_1" text, "u_s_acres_episod...
SELECT COUNT("u_s_acres_episode") FROM "table1_1852270_6" WHERE "garfield_episode_2"='The Picnic Panic';
## Task Generate a SQL query to answer the following question: `How many u.s. episodes have Garfield episode 2 the picnic panic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_6" ( "episode" text, "garfield_episode_1" text, "u_s_a...
SELECT "garfield_episode_2" FROM "table1_1852270_2" WHERE "u_s_acres_episode"='Banana Nose';
## Task Generate a SQL query to answer the following question: `what is the garfield episode where us acres episode is banana nose?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_2" ( "episode" text, "garfield_episode_1" text, "u_...
SELECT "original_airdate" FROM "table1_1852270_2" WHERE "u_s_acres_episode"='Shell Shocked Sheldon';
## Task Generate a SQL query to answer the following question: `what is the original airdate for shell shocked sheldon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_2" ( "episode" text, "garfield_episode_1" text, "u_s_acres_epis...
SELECT "garfield_episode_2" FROM "table1_1852270_3" WHERE "garfield_episode_1"='Robodie';
## Task Generate a SQL query to answer the following question: `What is episode 2 for Robodie?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_3" ( "episode" text, "garfield_episode_1" text, "u_s_acres_episode" text, "garfield_ep...
SELECT "episode" FROM "table1_1852270_3" WHERE "garfield_episode_2"='Crime and Nourishment';
## Task Generate a SQL query to answer the following question: `What are the episodes for "Crime and Nourishment"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_3" ( "episode" text, "garfield_episode_1" text, "u_s_acres_episode" ...
SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='Change Of Mind';
## Task Generate a SQL query to answer the following question: `What is the garfield episode 2 when episode 1 is "change of mind"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_8" ( "episode" text, "garfield_episode_1" text, "u_...
SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='The Horror Hostess (Part 1)';
## Task Generate a SQL query to answer the following question: `What is the title of garfield episode 2 when "the horror hostess (part 1)" is episode 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_8" ( "episode" text, "garfield_e...
SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='Suburban Jungle';
## Task Generate a SQL query to answer the following question: `What is the name of episode 2 for garfield when episode 1 is "suburban jungle"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_8" ( "episode" text, "garfield_episode_1"...
SELECT "garfield_episode_2" FROM "table1_1852270_8" WHERE "garfield_episode_1"='The Horror Hostess (Part 1)';
## Task Generate a SQL query to answer the following question: `What is episode 2 of garfield when episode 1 is "the horror hostess (part 1)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1852270_8" ( "episode" text, "garfield_episode_1" ...
SELECT COUNT("tourism_receipts_2003_as_pct_of_exports") FROM "performance_indicators_for_international" WHERE "tourism_competitiveness_2011_ttci"='3.26';
## Task Generate a SQL query to answer the following question: `Name the tourism receipts 2003 for tourism competitiveness 3.26` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "performance_indicators_for_international" ( "country" text, "tourist_arr...
SELECT "tourism_receipts_2003_as_pct_of_gdp" FROM "performance_indicators_for_international" WHERE "country"='Colombia';
## Task Generate a SQL query to answer the following question: `Name the tourism receipts 2003 for colombia` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "performance_indicators_for_international" ( "country" text, "tourist_arrivals_2011_millions"...
SELECT COUNT("tourism_receipts_2011_us_per_capita") FROM "performance_indicators_for_international" WHERE "tourism_receipts_2003_as_pct_of_gdp"='13.5';
## Task Generate a SQL query to answer the following question: `Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "performance_indicators_for_international" ( "country" text...
SELECT "owner" FROM "radio" WHERE "branding"='Classic Hits 102.1 CJCY';
## Task Generate a SQL query to answer the following question: `When classic hits 102.1 cjcy is the branding who is the owner?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format...
SELECT "call_sign" FROM "radio" WHERE "format"='hot adult contemporary';
## Task Generate a SQL query to answer the following question: `When hot adult contemporary is the format what is the call sign?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "form...
SELECT COUNT("call_sign") FROM "radio" WHERE "owner"='Vista Radio';
## Task Generate a SQL query to answer the following question: `When vista radio is the owner how many call signs are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" ...
SELECT COUNT("format") FROM "radio" WHERE "frequency"='FM 97.3';
## Task Generate a SQL query to answer the following question: `When fm 97.3 is the frequency how many formats are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" tex...
SELECT "frequency" FROM "radio" WHERE "owner"='Vista Radio';
## Task Generate a SQL query to answer the following question: `When vista radio is the owner what is the frequency? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, ...
SELECT "team" FROM "managerial_changes" WHERE "date_of_appointment"='5 September 2008' AND "date_of_vacancy"='30 August 2008';
## Task Generate a SQL query to answer the following question: `Name the team for 5 september 2008 for date of vacancy for 30 august 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, ...
SELECT "date_of_vacancy" FROM "managerial_changes" WHERE "outgoing_manager"='Daniel Uberti';
## Task Generate a SQL query to answer the following question: `Name the date of vacancy for daniel uberti` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "...
SELECT "manner_of_departure" FROM "managerial_changes" WHERE "date_of_vacancy"='25 August 2008';
## Task Generate a SQL query to answer the following question: `Name the manner of departure for date of vacancy 25 august 2008` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of...