output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm';
## Task Generate a SQL query to answer the following question: `What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every TV network with a weekly schedule of Monday to Thursday @ 11:00 pm?`: ```sql
SELECT "country" FROM "international_broadcasts" WHERE "tv_network_s"='AXN India';
## Task Generate a SQL query to answer the following question: `What is every country with a TV network of AXN India?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every country with a TV network of AXN India?`: ```sql
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "country"='Norway';
## Task Generate a SQL query to answer the following question: `What is every weekly schedule in the country of Norway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every weekly schedule in the country of Norway?`: ```sql
SELECT "tv_network_s" FROM "international_broadcasts" WHERE "country"='Belgium';
## Task Generate a SQL query to answer the following question: `What is every TV network in Belgium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every TV network in Belgium?`: ```sql
SELECT "status" FROM "international_broadcasts" WHERE "weekly_schedule"='Monday to Thursday @ 11:00 pm';
## Task Generate a SQL query to answer the following question: `What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every status with a weekly schedule of Monday to Thursday @ 11:00 pm?`: ```sql
SELECT "weekly_schedule" FROM "international_broadcasts" WHERE "tv_network_s"='Viasat 4';
## Task Generate a SQL query to answer the following question: `What is every weekly schedule of TV network Viasat 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "international_broadcasts" ( "country" text, "tv_network_s" text, "series_premiere" text, "weekly_schedule" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every weekly schedule of TV network Viasat 4?`: ```sql
SELECT "prize_fund" FROM "final_results" WHERE "venue"='RWE-Sporthalle, Mülheim';
## Task Generate a SQL query to answer the following question: `How much was the prize money for rwe-sporthalle, mülheim ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_results" ( "year" real, "champion_average_in_final" text, "legs" text, "runner_up_average_in_final" text, "sponsor" text, "prize_fund" text, "champion" text, "runner_up" text, "venue" text ); ### SQL Given the database schema, here is the SQL query that answers `How much was the prize money for rwe-sporthalle, mülheim ?`: ```sql
SELECT COUNT("runner_up") FROM "final_results" WHERE "year"=2009;
## Task Generate a SQL query to answer the following question: `In 2009, how many were runner-up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_results" ( "year" real, "champion_average_in_final" text, "legs" text, "runner_up_average_in_final" text, "sponsor" text, "prize_fund" text, "champion" text, "runner_up" text, "venue" text ); ### SQL Given the database schema, here is the SQL query that answers `In 2009, how many were runner-up?`: ```sql
SELECT "champion" FROM "final_results" WHERE "venue"='Stadthalle Dinslaken, Dinslaken';
## Task Generate a SQL query to answer the following question: `How much does the champion get for stadthalle dinslaken, dinslaken?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_results" ( "year" real, "champion_average_in_final" text, "legs" text, "runner_up_average_in_final" text, "sponsor" text, "prize_fund" text, "champion" text, "runner_up" text, "venue" text ); ### SQL Given the database schema, here is the SQL query that answers `How much does the champion get for stadthalle dinslaken, dinslaken?`: ```sql
SELECT "po_4_3_a_pct" FROM "aqueous_solution" WHERE "h_2_po_4_a_pct"='94.5';
## Task Generate a SQL query to answer the following question: `what is [po 4 3− ]/[a] (%) where [h 2 po 4 − ]/[a] (%) is 94.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "aqueous_solution" ( "a_mol_l" text, "p_h" text, "h_3_po_4_a_pct" text, "h_2_po_4_a_pct" text, "hpo_4_2_a_pct" text, "po_4_3_a_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `what is [po 4 3− ]/[a] (%) where [h 2 po 4 − ]/[a] (%) is 94.5?`: ```sql
SELECT COUNT("a_mol_l") FROM "aqueous_solution" WHERE "hpo_4_2_a_pct"='0.612';
## Task Generate a SQL query to answer the following question: `what is the [a] (mol/l) where [hpo 4 2− ]/[a] (%) is 0.612?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "aqueous_solution" ( "a_mol_l" text, "p_h" text, "h_3_po_4_a_pct" text, "h_2_po_4_a_pct" text, "hpo_4_2_a_pct" text, "po_4_3_a_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the [a] (mol/l) where [hpo 4 2− ]/[a] (%) is 0.612?`: ```sql
SELECT "l2_cache" FROM "45_nm" WHERE "release_date"='September 2009' AND "part_number_s"='BY80607002529AF';
## Task Generate a SQL query to answer the following question: `When by80607002529af is the part number and september 2009 is the release date what is the l2 cache?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `When by80607002529af is the part number and september 2009 is the release date what is the l2 cache?`: ```sql
SELECT "socket" FROM "45_nm" WHERE "part_number_s"='BY80607002907AHBX80607I7720QM';
## Task Generate a SQL query to answer the following question: `When by80607002907ahbx80607i7720qm is the part number what is the socket?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `When by80607002907ahbx80607i7720qm is the part number what is the socket?`: ```sql
SELECT "mult" FROM "45_nm" WHERE "s_spec_number"='SLBLW(B1)';
## Task Generate a SQL query to answer the following question: `When slblw(b1) is the sspec number what is the mult.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `When slblw(b1) is the sspec number what is the mult.?`: ```sql
SELECT "release_price_usd" FROM "45_nm" WHERE "socket"='SocketG1';
## Task Generate a SQL query to answer the following question: `When socketg1 is the socket what is the release price in dollars?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "turbo" text, "cores" real, "l2_cache" text, "l3_cache" text, "i_o_bus" text, "mult" text, "memory" text, "voltage" text, "tdp" text, "socket" text, "release_date" text, "part_number_s" text, "release_price_usd" text ); ### SQL Given the database schema, here is the SQL query that answers `When socketg1 is the socket what is the release price in dollars?`: ```sql
SELECT MAX("opponents") FROM "schedule" WHERE "date"='Dec. 19';
## Task Generate a SQL query to answer the following question: `How many points did the opposing team score on Dec. 19, 1982?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "bills_points" real, "opponents" real, "record" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points did the opposing team score on Dec. 19, 1982?`: ```sql
SELECT "bills_originally_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "all_amendments_cosponsored"=0;
## Task Generate a SQL query to answer the following question: `How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real ); ### SQL Given the database schema, here is the SQL query that answers `How many bills where originally cosponsored in those years where the total of all amendments cosponsored was 0?`: ```sql
SELECT "all_bills_cosponsored" FROM "legislation_sponsored_by_john_mc_cain" WHERE "bills_originally_cosponsored"=113;
## Task Generate a SQL query to answer the following question: `How many bill cosponsored during those years where bills originally cosponsored is 113?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real ); ### SQL Given the database schema, here is the SQL query that answers `How many bill cosponsored during those years where bills originally cosponsored is 113?`: ```sql
SELECT MAX("all_bills_sponsored") FROM "legislation_sponsored_by_john_mc_cain";
## Task Generate a SQL query to answer the following question: `What is the greatest number of bills sponsored in any year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "legislation_sponsored_by_john_mc_cain" ( "years_covered" text, "all_bills_sponsored" real, "all_amendments_sponsored" real, "all_bills_cosponsored" real, "all_amendments_cosponsored" real, "bills_originally_cosponsored" real, "amendments_originally_cosponsored" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the greatest number of bills sponsored in any year?`: ```sql
SELECT MIN("cr_no") FROM "numbers_and_names";
## Task Generate a SQL query to answer the following question: `What is the lowest cr number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest cr number?`: ```sql
SELECT "built" FROM "numbers_and_names" WHERE "withdrawn"='2/1939';
## Task Generate a SQL query to answer the following question: `When 2/1939 is the withdrawn when was it built?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `When 2/1939 is the withdrawn when was it built?`: ```sql
SELECT "hr_no" FROM "numbers_and_names" WHERE "hr_name"='River Ness';
## Task Generate a SQL query to answer the following question: `When river ness is the hr name what is the hr number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `When river ness is the hr name what is the hr number?`: ```sql
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='(River Garry)';
## Task Generate a SQL query to answer the following question: `When (river garry) is the hr name how many builts are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `When (river garry) is the hr name how many builts are there?`: ```sql
SELECT MAX("cr_no") FROM "numbers_and_names";
## Task Generate a SQL query to answer the following question: `What is the highest cr number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest cr number?`: ```sql
SELECT COUNT("built") FROM "numbers_and_names" WHERE "hr_name"='River Ness';
## Task Generate a SQL query to answer the following question: `When river ness is the hr name how many builts are there?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "numbers_and_names" ( "hr_no" text, "hr_name" text, "cr_no" real, "lms_no" real, "built" text, "works" text, "withdrawn" text ); ### SQL Given the database schema, here is the SQL query that answers `When river ness is the hr name how many builts are there?`: ```sql
SELECT MAX("opponents") FROM "schedule" WHERE "opponent"='at Minnesota Vikings';
## Task Generate a SQL query to answer the following question: `How many opponents are at Minnesota Vikings?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "dolphins_points" real, "opponents" real, "record" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `How many opponents are at Minnesota Vikings?`: ```sql
SELECT "date" FROM "schedule" WHERE "opponent"='New England Patriots';
## Task Generate a SQL query to answer the following question: `What is the date when the opponent is the New England Patriots?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "dolphins_points" real, "opponents" real, "record" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the date when the opponent is the New England Patriots?`: ```sql
SELECT "date" FROM "schedule" WHERE "dolphins_points"=6;
## Task Generate a SQL query to answer the following question: `How many dates do the dolphins have 6 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "game" real, "date" text, "opponent" text, "result" text, "dolphins_points" real, "opponents" real, "record" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `How many dates do the dolphins have 6 points?`: ```sql
SELECT "country" FROM "western_open" WHERE "player"='Robert Allenby';
## Task Generate a SQL query to answer the following question: `What country does robert allenby represent?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_open" ( "year" real, "player" text, "country" text, "score" text, "to_par" text, "margin" real, "earnings" real ); ### SQL Given the database schema, here is the SQL query that answers `What country does robert allenby represent?`: ```sql
SELECT "to_par" FROM "western_open" WHERE "year"=1998;
## Task Generate a SQL query to answer the following question: `What score to par won in 1998?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_open" ( "year" real, "player" text, "country" text, "score" text, "to_par" text, "margin" real, "earnings" real ); ### SQL Given the database schema, here is the SQL query that answers `What score to par won in 1998?`: ```sql
SELECT "player" FROM "western_open" WHERE "score"='64-70-67-69=270';
## Task Generate a SQL query to answer the following question: `What player(s) had the score of 64-70-67-69=270?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_open" ( "year" real, "player" text, "country" text, "score" text, "to_par" text, "margin" real, "earnings" real ); ### SQL Given the database schema, here is the SQL query that answers `What player(s) had the score of 64-70-67-69=270?`: ```sql
SELECT "player" FROM "western_open" WHERE "score"='64-71-67-67=269';
## Task Generate a SQL query to answer the following question: `What players had teh score of 64-71-67-67=269?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_open" ( "year" real, "player" text, "country" text, "score" text, "to_par" text, "margin" real, "earnings" real ); ### SQL Given the database schema, here is the SQL query that answers `What players had teh score of 64-71-67-67=269?`: ```sql
SELECT MIN("year") FROM "western_open" WHERE "score"='68-66-68-71=273';
## Task Generate a SQL query to answer the following question: `What is the first yar that someone won with a score of 68-66-68-71=273?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "western_open" ( "year" real, "player" text, "country" text, "score" text, "to_par" text, "margin" real, "earnings" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the first yar that someone won with a score of 68-66-68-71=273?`: ```sql
SELECT COUNT("socialist") FROM "116_seats_needed_for_a_majority" WHERE "lead"='12.6%';
## Task Generate a SQL query to answer the following question: `How many socialist have a lead of 12.6%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "116_seats_needed_for_a_majority" ( "date_released" text, "polling_institute" text, "social_democratic" text, "socialist" text, "green_communist" text, "democratic_and_social_centre" text, "lead" text ); ### SQL Given the database schema, here is the SQL query that answers `How many socialist have a lead of 12.6%?`: ```sql
SELECT "ga" FROM "table1_1888157_1" WHERE "coach_es"='Bob Ferguson' AND "t"=6;
## Task Generate a SQL query to answer the following question: `What is every GA if coach is Bob Ferguson and T is 6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1888157_1" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every GA if coach is Bob Ferguson and T is 6?`: ```sql
SELECT MIN("sol") FROM "table1_1888157_1";
## Task Generate a SQL query to answer the following question: `What is the lowest SOL?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1888157_1" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest SOL?`: ```sql
SELECT MAX("ga") FROM "table1_1888157_1" WHERE "gf"=39;
## Task Generate a SQL query to answer the following question: `What is the highest GA when GF is 39?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1888157_1" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest GA when GF is 39?`: ```sql
SELECT "league" FROM "table1_1888157_1" WHERE "coach_es"='Jim Burton';
## Task Generate a SQL query to answer the following question: `What is every league for coach Jim Burton?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1888157_1" ( "season" text, "league" text, "division" text, "gp" real, "w" real, "l" real, "t" real, "otl" real, "sol" real, "pts" real, "pct" text, "gf" real, "ga" real, "pim" real, "coach_es" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What is every league for coach Jim Burton?`: ```sql
SELECT COUNT("record") FROM "regular_season" WHERE "score"='W 70-66';
## Task Generate a SQL query to answer the following question: `How many different records were there in the games that ended in w 70-66?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `How many different records were there in the games that ended in w 70-66?`: ```sql
SELECT "record" FROM "regular_season" WHERE "high_rebounds"='Dydek (10)';
## Task Generate a SQL query to answer the following question: `What was the record of the game in which Dydek (10) did the most high rebounds?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the record of the game in which Dydek (10) did the most high rebounds?`: ```sql
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Sales (17)';
## Task Generate a SQL query to answer the following question: `Who did the most high rebounds in the game where Sales (17) did the high points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Who did the most high rebounds in the game where Sales (17) did the high points?`: ```sql
SELECT "total_footage_remaining_from_missing_episodes_mm_ss" FROM "table1_1889619_5" WHERE "story_no"='018' AND "source"='Private individual';
## Task Generate a SQL query to answer the following question: `When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1889619_5" ( "doctor" text, "season" text, "story_no" text, "serial" text, "number_of_episodes" text, "total_footage_remaining_from_missing_episodes_mm_ss" text, "missing_episodes_with_recovered_footage" text, "country_territory" text, "source" text, "format" text, "total_footage_mm_ss" text ); ### SQL Given the database schema, here is the SQL query that answers `When a private individual is the source and 018 is the story number what is the total footage remaining from missing episodes (mm:ss)?`: ```sql
SELECT "country_territory" FROM "table1_1889619_5" WHERE "source"='BBC' AND "total_footage_remaining_from_missing_episodes_mm_ss"='01:18';
## Task Generate a SQL query to answer the following question: `When 01:18 is the total footage remaining from missing episodes (mm:ss) and bbc is the source what is the country/territory? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1889619_5" ( "doctor" text, "season" text, "story_no" text, "serial" text, "number_of_episodes" text, "total_footage_remaining_from_missing_episodes_mm_ss" text, "missing_episodes_with_recovered_footage" text, "country_territory" text, "source" text, "format" text, "total_footage_mm_ss" text ); ### SQL Given the database schema, here is the SQL query that answers `When 01:18 is the total footage remaining from missing episodes (mm:ss) and bbc is the source what is the country/territory? `: ```sql
SELECT "serial" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:21';
## Task Generate a SQL query to answer the following question: `When 00:21 is the total footage (mm:ss) what is the serial?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1889619_5" ( "doctor" text, "season" text, "story_no" text, "serial" text, "number_of_episodes" text, "total_footage_remaining_from_missing_episodes_mm_ss" text, "missing_episodes_with_recovered_footage" text, "country_territory" text, "source" text, "format" text, "total_footage_mm_ss" text ); ### SQL Given the database schema, here is the SQL query that answers `When 00:21 is the total footage (mm:ss) what is the serial?`: ```sql
SELECT "country_territory" FROM "table1_1889619_5" WHERE "story_no"='032' AND "missing_episodes_with_recovered_footage"='Episode 4';
## Task Generate a SQL query to answer the following question: `When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1889619_5" ( "doctor" text, "season" text, "story_no" text, "serial" text, "number_of_episodes" text, "total_footage_remaining_from_missing_episodes_mm_ss" text, "missing_episodes_with_recovered_footage" text, "country_territory" text, "source" text, "format" text, "total_footage_mm_ss" text ); ### SQL Given the database schema, here is the SQL query that answers `When episode 4 is the missing episode with recovered footage and the 032 is the story number what is the country/territory?`: ```sql
SELECT "story_no" FROM "table1_1889619_5" WHERE "total_footage_mm_ss"='00:02';
## Task Generate a SQL query to answer the following question: `When 00:02 is the total footage (mm:ss) what is the story number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1889619_5" ( "doctor" text, "season" text, "story_no" text, "serial" text, "number_of_episodes" text, "total_footage_remaining_from_missing_episodes_mm_ss" text, "missing_episodes_with_recovered_footage" text, "country_territory" text, "source" text, "format" text, "total_footage_mm_ss" text ); ### SQL Given the database schema, here is the SQL query that answers `When 00:02 is the total footage (mm:ss) what is the story number?`: ```sql
SELECT MIN("game") FROM "regular_season" WHERE "record"='8-3';
## Task Generate a SQL query to answer the following question: `Name the least game for 8-3` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the least game for 8-3`: ```sql
SELECT "opponent" FROM "regular_season" WHERE "record"='10-4';
## Task Generate a SQL query to answer the following question: `Name the opponent for record 10-4` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the opponent for record 10-4`: ```sql
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='7-1';
## Task Generate a SQL query to answer the following question: `Name the high rebounds for record 7-1` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the high rebounds for record 7-1`: ```sql
SELECT "game" FROM "regular_season" WHERE "date"='June 16';
## Task Generate a SQL query to answer the following question: `Name the game for june 16` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the game for june 16`: ```sql
SELECT "game" FROM "regular_season" WHERE "date"='June 7';
## Task Generate a SQL query to answer the following question: `Name the game for june 7` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the game for june 7`: ```sql
SELECT "high_rebounds" FROM "regular_season" WHERE "record"='19-6';
## Task Generate a SQL query to answer the following question: `Who did the high rebounds in the game with a 19-6 record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Who did the high rebounds in the game with a 19-6 record?`: ```sql
SELECT "location_attendance" FROM "regular_season" WHERE "record"='13-5';
## Task Generate a SQL query to answer the following question: `Where was the game with a 13-5 record played, and in front of how many people?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the game with a 13-5 record played, and in front of how many people?`: ```sql
SELECT "high_rebounds" FROM "regular_season" WHERE "high_points"='Douglas (28)';
## Task Generate a SQL query to answer the following question: `Who did the high rebounds in the game where Douglas (28) did the high points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Who did the high rebounds in the game where Douglas (28) did the high points?`: ```sql
SELECT "record" FROM "regular_season" WHERE "date"='July 1';
## Task Generate a SQL query to answer the following question: `What was the record on the game played on July 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the record on the game played on July 1?`: ```sql
SELECT COUNT("opponent") FROM "regular_season" WHERE "record"='17-6';
## Task Generate a SQL query to answer the following question: `How many opponents was a game with a record 17-6 played against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `How many opponents was a game with a record 17-6 played against?`: ```sql
SELECT "career" FROM "references" WHERE "matches"=60;
## Task Generate a SQL query to answer the following question: `What was the career duration of the bowler who played 60 matches?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "overs" text, "maidens" real, "runs" real, "wickets" real, "average" text, "best" text, "5w" real, "10w" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the career duration of the bowler who played 60 matches?`: ```sql
SELECT "best" FROM "references" WHERE "maidens"=547 AND "overs"='2755.1';
## Task Generate a SQL query to answer the following question: `What is the Best score if the Maidens is 547 and Overs is 2755.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "overs" text, "maidens" real, "runs" real, "wickets" real, "average" text, "best" text, "5w" real, "10w" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Best score if the Maidens is 547 and Overs is 2755.1?`: ```sql
SELECT "overs" FROM "references" WHERE "career"='1993-2007';
## Task Generate a SQL query to answer the following question: `What was the Overs score of the career played from 1993-2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "overs" text, "maidens" real, "runs" real, "wickets" real, "average" text, "best" text, "5w" real, "10w" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the Overs score of the career played from 1993-2007?`: ```sql
SELECT "best" FROM "references" WHERE "career"='1971-1984';
## Task Generate a SQL query to answer the following question: `What was the Best score during the game played from 1971-1984?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "references" ( "name" text, "career" text, "matches" real, "overs" text, "maidens" real, "runs" real, "wickets" real, "average" text, "best" text, "5w" real, "10w" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the Best score during the game played from 1971-1984?`: ```sql
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='Dydek (11)';
## Task Generate a SQL query to answer the following question: `When dydek (11) has the highest rebounds what is the date?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When dydek (11) has the highest rebounds what is the date?`: ```sql
SELECT "date" FROM "regular_season" WHERE "high_rebounds"='McWilliams-Franklin (8)';
## Task Generate a SQL query to answer the following question: `When mcwilliams-franklin (8) has the highest rebounds what is the date?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When mcwilliams-franklin (8) has the highest rebounds what is the date?`: ```sql
SELECT "high_points" FROM "regular_season" WHERE "high_rebounds"='Dydek (8)';
## Task Generate a SQL query to answer the following question: `When dydek (8) has the highest rebounds who has the highest amount of points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When dydek (8) has the highest rebounds who has the highest amount of points?`: ```sql
SELECT "location" FROM "regular_season" WHERE "score"='W 73-70';
## Task Generate a SQL query to answer the following question: `When w 73-70 is the score what is the location?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When w 73-70 is the score what is the location?`: ```sql
SELECT "score" FROM "regular_season" WHERE "record"='25-8';
## Task Generate a SQL query to answer the following question: `What was the score in the game that had a record of 25-8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score in the game that had a record of 25-8?`: ```sql
SELECT MIN("game") FROM "regular_season" WHERE "date"='August 20';
## Task Generate a SQL query to answer the following question: `What was # of the first game played on August 20?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was # of the first game played on August 20?`: ```sql
SELECT COUNT("high_points") FROM "regular_season" WHERE "location"='MCI Center';
## Task Generate a SQL query to answer the following question: `What were the high points for the game played at the MCI Center?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What were the high points for the game played at the MCI Center?`: ```sql
SELECT "location" FROM "regular_season" WHERE "record"='19-6';
## Task Generate a SQL query to answer the following question: `Where was the game played that had a record of 19-6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Where was the game played that had a record of 19-6?`: ```sql
SELECT MAX("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Barurumea Ridge';
## Task Generate a SQL query to answer the following question: `What is the col (m) of the Barurumea Ridge peak? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the col (m) of the Barurumea Ridge peak? `: ```sql
SELECT MAX("elevation_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wilhelm';
## Task Generate a SQL query to answer the following question: `What is the elevation (m) of the Mount Wilhelm peak? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the elevation (m) of the Mount Wilhelm peak? `: ```sql
SELECT MIN("col_m") FROM "the_31_s_ultra_prominent_summit_of_papua" WHERE "peak"='Bewani Mountains High Point';
## Task Generate a SQL query to answer the following question: `What is the col (m) of the Bewani Mountains High Point peak? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the col (m) of the Bewani Mountains High Point peak? `: ```sql
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Wondiwoi';
## Task Generate a SQL query to answer the following question: `When mount wondiwoi is the peak what is the island?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `When mount wondiwoi is the peak what is the island?`: ```sql
SELECT "island" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier';
## Task Generate a SQL query to answer the following question: `When mount gauttier is the peak what is the island?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `When mount gauttier is the peak what is the island?`: ```sql
SELECT MAX("elevation_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Kobowre';
## Task Generate a SQL query to answer the following question: `When mount kobowre is the peak what is the highest elevation in meters?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `When mount kobowre is the peak what is the highest elevation in meters?`: ```sql
SELECT MAX("prominence_m") FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "peak"='Mount Gauttier';
## Task Generate a SQL query to answer the following question: `When mount gauttier is the peak what is the highest prominence in meters?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `When mount gauttier is the peak what is the highest prominence in meters?`: ```sql
SELECT "country" FROM "the_12_s_ultra_prominent_summit_of_papua" WHERE "col_m"=44;
## Task Generate a SQL query to answer the following question: `When 44 is the col in meters what is the country?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_12_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `When 44 is the col in meters what is the country?`: ```sql
SELECT "release_date" FROM "studio" WHERE "albumnum"='2nd';
## Task Generate a SQL query to answer the following question: `Name the release date for album # 2nd` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the release date for album # 2nd`: ```sql
SELECT "label" FROM "studio" WHERE "english_title"='Grown Up Overnight';
## Task Generate a SQL query to answer the following question: `Name the label for grown up overnight` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the label for grown up overnight`: ```sql
SELECT "label" FROM "studio" WHERE "chinese_traditional"='情歌沒有告訴你';
## Task Generate a SQL query to answer the following question: `Name the label for traditional chinese 情歌沒有告訴你` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the label for traditional chinese 情歌沒有告訴你`: ```sql
SELECT COUNT("chinese_traditional") FROM "studio" WHERE "albumnum"='6th';
## Task Generate a SQL query to answer the following question: `Name the number of traditional chinese for album number 6th` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the number of traditional chinese for album number 6th`: ```sql
SELECT "chinese_traditional" FROM "studio" WHERE "chinese_simplified"='美丽人生';
## Task Generate a SQL query to answer the following question: `Name the chinese traditional for 美丽人生` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the chinese traditional for 美丽人生`: ```sql
SELECT "english_title" FROM "studio" WHERE "albumnum"='2nd';
## Task Generate a SQL query to answer the following question: `Name the english title for album # 2nd` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "studio" ( "albumnum" text, "english_title" text, "chinese_traditional" text, "chinese_simplified" text, "release_date" text, "label" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the english title for album # 2nd`: ```sql
SELECT COUNT("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='嬰幼兒配方乳粉2段基粉';
## Task Generate a SQL query to answer the following question: `How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tests_conducted_by_aqsiq" ( "producer" text, "product" text, "samples_taken" real, "samples_failed" real, "melamine_content_mg_kg" text ); ### SQL Given the database schema, here is the SQL query that answers `How many samples were taken of 嬰幼兒配方乳粉2段基粉 ?`: ```sql
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='磊磊牌嬰幼兒配方乳粉';
## Task Generate a SQL query to answer the following question: `What are the producers of 磊磊牌嬰幼兒配方乳粉 ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tests_conducted_by_aqsiq" ( "producer" text, "product" text, "samples_taken" real, "samples_failed" real, "melamine_content_mg_kg" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the producers of 磊磊牌嬰幼兒配方乳粉 ?`: ```sql
SELECT MIN("samples_taken") FROM "tests_conducted_by_aqsiq" WHERE "product"='蒙牛牌嬰幼兒配方乳粉';
## Task Generate a SQL query to answer the following question: `What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tests_conducted_by_aqsiq" ( "producer" text, "product" text, "samples_taken" real, "samples_failed" real, "melamine_content_mg_kg" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the smallest amount sampled of product 蒙牛牌嬰幼兒配方乳粉 ?`: ```sql
SELECT "producer" FROM "tests_conducted_by_aqsiq" WHERE "product"='金必氏牌嬰幼兒配方乳粉';
## Task Generate a SQL query to answer the following question: `Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tests_conducted_by_aqsiq" ( "producer" text, "product" text, "samples_taken" real, "samples_failed" real, "melamine_content_mg_kg" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the producer of 金必氏牌嬰幼兒配方乳粉 ?`: ```sql
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "life_expectancy_females"='73.3';
## Task Generate a SQL query to answer the following question: `How many live births per year are there in the period where the life expectancy for females is 73.3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `How many live births per year are there in the period where the life expectancy for females is 73.3?`: ```sql
SELECT "cdr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='61.5';
## Task Generate a SQL query to answer the following question: `What's the CDR for the period where the life expectancy is 61.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the CDR for the period where the life expectancy is 61.5?`: ```sql
SELECT "imr" FROM "table1_18950570_2" WHERE "life_expectancy_total"='69.3';
## Task Generate a SQL query to answer the following question: `What's the IMR for the period with a life expectancy of 69.3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the IMR for the period with a life expectancy of 69.3?`: ```sql
SELECT "cbr" FROM "table1_18950570_2" WHERE "deaths_per_year"='1 058 000';
## Task Generate a SQL query to answer the following question: `What's the CBR for the period with 1 058 000 deaths per year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the CBR for the period with 1 058 000 deaths per year?`: ```sql
SELECT "live_births_per_year" FROM "table1_18950570_2" WHERE "deaths_per_year"='998 000';
## Task Generate a SQL query to answer the following question: `How many births per year are there for the period with 998 000 deaths per year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `How many births per year are there for the period with 998 000 deaths per year?`: ```sql
SELECT "tfr" FROM "table1_18950570_2" WHERE "nc"='13.4';
## Task Generate a SQL query to answer the following question: `What's the TFR for the period with NC of 13.4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_2" ( "period" text, "live_births_per_year" text, "deaths_per_year" text, "natural_change_per_year" text, "cbr" text, "cdr" text, "nc" text, "tfr" text, "imr" real, "life_expectancy_total" text, "life_expectancy_males" text, "life_expectancy_females" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the TFR for the period with NC of 13.4?`: ```sql
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "prominence_m"=3755;
## Task Generate a SQL query to answer the following question: `What is the highest value for col(m) when prominence(m) is 3755?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest value for col(m) when prominence(m) is 3755?`: ```sql
SELECT MAX("col_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "island"='North Island';
## Task Generate a SQL query to answer the following question: `What is the highest value for col(m) at North Island?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest value for col(m) at North Island?`: ```sql
SELECT MIN("elevation_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "peak"='Mount Taylor';
## Task Generate a SQL query to answer the following question: `What is the lowest elevation(m) for the peak Mount Taylor?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest elevation(m) for the peak Mount Taylor?`: ```sql
SELECT COUNT("prominence_m") FROM "the_ten_s_ultra_prominent_summit_of_the_" WHERE "rank"=5;
## Task Generate a SQL query to answer the following question: `How many values of prominence(m) occur at rank 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "the_ten_s_ultra_prominent_summit_of_the_" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); ### SQL Given the database schema, here is the SQL query that answers `How many values of prominence(m) occur at rank 5?`: ```sql
SELECT "brazil_100pct_percent_of_the_population" FROM "table1_18950570_4" WHERE "age_group"='15-17';
## Task Generate a SQL query to answer the following question: `what ae all of the brazil 100% where the age group is 15-17?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_18950570_4" ( "age_group" text, "brazil_100pct_percent_of_the_population" text, "white_47_73pct_percent_in_the_race_percent_in_the_age_group" text, "black_7_61pct_percent_in_the_race_percent_in_the_age_group" text, "yellow_1_09pct_percent_in_the_race_percent_in_the_age_group" text, "brown_multiracial_43_13pct_percent_in_the_race_percent_in_the_age_group" text, "indians_0_43pct_percent_in_the_race_percent_in_the_age_group" text, "unspecified_0_0034pct" text ); ### SQL Given the database schema, here is the SQL query that answers `what ae all of the brazil 100% where the age group is 15-17?`: ```sql
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "size_cents"=560 AND "just_ratio"='11:8';
## Task Generate a SQL query to answer the following question: `If the just ratio is 11:8 and the cents size is 560, what is the interval name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "size_of_intervals_in_15_equal_temperamen" ( "interval_name" text, "size_steps" real, "size_cents" real, "just_ratio" text, "just_cents" text, "error" text, "audio" text ); ### SQL Given the database schema, here is the SQL query that answers `If the just ratio is 11:8 and the cents size is 560, what is the interval name?`: ```sql
SELECT "just_ratio" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='84.46';
## Task Generate a SQL query to answer the following question: `If the just cents is 84.46, what is the just ratio?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "size_of_intervals_in_15_equal_temperamen" ( "interval_name" text, "size_steps" real, "size_cents" real, "just_ratio" text, "just_cents" text, "error" text, "audio" text ); ### SQL Given the database schema, here is the SQL query that answers `If the just cents is 84.46, what is the just ratio?`: ```sql
SELECT "interval_name" FROM "size_of_intervals_in_15_equal_temperamen" WHERE "just_cents"='701.96';
## Task Generate a SQL query to answer the following question: `If the just cents is 701.96, what is the interval name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "size_of_intervals_in_15_equal_temperamen" ( "interval_name" text, "size_steps" real, "size_cents" real, "just_ratio" text, "just_cents" text, "error" text, "audio" text ); ### SQL Given the database schema, here is the SQL query that answers `If the just cents is 701.96, what is the interval name?`: ```sql