output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "primary_conference" FROM "division_ii" WHERE "institution"='Gonzaga University';
## Task Generate a SQL query to answer the following question: `What conference does Gonzaga University play in?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `What conference does Gonzaga University play in?`: ```sql
SELECT COUNT("founded") FROM "division_ii" WHERE "location"='Tacoma, Washington';
## Task Generate a SQL query to answer the following question: `How many Universities were founded in Tacoma, Washington?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `How many Universities were founded in Tacoma, Washington?`: ```sql
SELECT "institution" FROM "division_ii" WHERE "team_nickname"='Wildcats';
## Task Generate a SQL query to answer the following question: `Which school's team has the nickname of the Wildcats?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Which school's team has the nickname of the Wildcats?`: ```sql
SELECT MIN("founded") FROM "division_ii" WHERE "location"='Ellensburg, Washington';
## Task Generate a SQL query to answer the following question: `What year was the university that is located in Ellensburg, Washington established?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `What year was the university that is located in Ellensburg, Washington established?`: ```sql
SELECT "location" FROM "division_ii" WHERE "team_nickname"='Wolves';
## Task Generate a SQL query to answer the following question: `Where is the university located that's nicknamed the Wolves?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "division_ii" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Where is the university located that's nicknamed the Wolves?`: ```sql
SELECT COUNT("viewers") FROM "u_s_standard_ratings" WHERE "share"=7 AND "weekly_rank"='64';
## Task Generate a SQL query to answer the following question: `What is the total number of viewers where the share is 7 and the week rank is 64?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number of viewers where the share is 7 and the week rank is 64?`: ```sql
SELECT COUNT("num") FROM "u_s_standard_ratings" WHERE "share">7.0;
## Task Generate a SQL query to answer the following question: `How many episodes have a share bigger than 7.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes have a share bigger than 7.0?`: ```sql
SELECT COUNT("num") FROM "u_s_standard_ratings" WHERE "weekly_rank"='TBA' AND "timeslot"='8:00 P.M.';
## Task Generate a SQL query to answer the following question: `How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text ); ### SQL Given the database schema, here is the SQL query that answers `How many episodes have a weekly rank tba and are broadcast at 8:00 p.m.?`: ```sql
SELECT "timeslot" FROM "u_s_standard_ratings" WHERE "air_date"='February 22, 2008';
## Task Generate a SQL query to answer the following question: `What are the timeslot(s) for broadcast on February 22, 2008?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the timeslot(s) for broadcast on February 22, 2008?`: ```sql
SELECT COUNT("air_date") FROM "u_s_standard_ratings" WHERE "weekly_rank"='73';
## Task Generate a SQL query to answer the following question: `What broadcast dates have a weekly rank of 73?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "u_s_standard_ratings" ( "num" real, "air_date" text, "timeslot" text, "rating" text, "share" real, "18_49" text, "viewers" text, "weekly_rank" text ); ### SQL Given the database schema, here is the SQL query that answers `What broadcast dates have a weekly rank of 73?`: ```sql
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "team"='St. Johnstone';
## Task Generate a SQL query to answer the following question: `When was the date of appointment for St. Johnstone's manager? ` ### 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, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the date of appointment for St. Johnstone's manager? `: ```sql
SELECT "outgoing_manager" FROM "managerial_changes" WHERE "team"='Aberdeen';
## Task Generate a SQL query to answer the following question: `Who was the outgoing manager for Aberdeen? ` ### 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, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the outgoing manager for Aberdeen? `: ```sql
SELECT "date_of_appointment" FROM "managerial_changes" WHERE "outgoing_manager"='Wim Jansen';
## Task Generate a SQL query to answer the following question: `When was the date of appointment for the manager replacing Wim Jansen? ` ### 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, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the date of appointment for the manager replacing Wim Jansen? `: ```sql
SELECT COUNT("citrate") FROM "usage" WHERE "species"='Salmonella spp.';
## Task Generate a SQL query to answer the following question: `What is the result for salmonella spp. if you use citrate?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the result for salmonella spp. if you use citrate?`: ```sql
SELECT "species" FROM "usage" WHERE "voges_proskauer"='Negative' AND "indole"='Negative';
## Task Generate a SQL query to answer the following question: `Which species show a negative result with both voges-proskauer and indole?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text ); ### SQL Given the database schema, here is the SQL query that answers `Which species show a negative result with both voges-proskauer and indole?`: ```sql
SELECT "voges_proskauer" FROM "usage" WHERE "citrate"='Positive';
## Task Generate a SQL query to answer the following question: `What are the results for testing the species with voges-proskauer when citrate yields a positive result?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the results for testing the species with voges-proskauer when citrate yields a positive result?`: ```sql
SELECT "indole" FROM "usage" WHERE "species"='Proteus mirabilis';
## Task Generate a SQL query to answer the following question: `What is the result of proteus mirabilis tested with indole?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "usage" ( "species" text, "indole" text, "methyl_red" text, "voges_proskauer" text, "citrate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the result of proteus mirabilis tested with indole?`: ```sql
SELECT "originalairdate" FROM "table1_16090262_1" WHERE "tv_broadcast"='S07E04';
## Task Generate a SQL query to answer the following question: `When was the show originally aired that had a TV broadcast of S07E04?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the show originally aired that had a TV broadcast of S07E04?`: ```sql
SELECT "title" FROM "table1_16090262_1" WHERE "no_in_season"=4;
## Task Generate a SQL query to answer the following question: `Which title was No. 4 in season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Which title was No. 4 in season?`: ```sql
SELECT "directed_by" FROM "table1_16090262_1" WHERE "tv_broadcast"='S07E04';
## Task Generate a SQL query to answer the following question: `Who directed the show that had a TV broadcast of S07E04?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16090262_1" ( "no_in_series" real, "no_in_season" real, "title" text, "directed_by" text, "written_by" text, "originalairdate" text, "tv_broadcast" text ); ### SQL Given the database schema, here is the SQL query that answers `Who directed the show that had a TV broadcast of S07E04?`: ```sql
SELECT "season" FROM "by_season" WHERE "3rd_place"='Unicaja Málaga';
## Task Generate a SQL query to answer the following question: `What seasons did unicaja málaga finish in 3rd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text ); ### SQL Given the database schema, here is the SQL query that answers `What seasons did unicaja málaga finish in 3rd?`: ```sql
SELECT "3rd_place" FROM "by_season" WHERE "4th_place"='Limoges';
## Task Generate a SQL query to answer the following question: `What teams finished 3rd when limoges finished 4th?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text ); ### SQL Given the database schema, here is the SQL query that answers `What teams finished 3rd when limoges finished 4th?`: ```sql
SELECT "1st_place" FROM "by_season" WHERE "3rd_place"='TAU Cerámica';
## Task Generate a SQL query to answer the following question: `What team finished in 1st when tau cerámica was in 3rd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text ); ### SQL Given the database schema, here is the SQL query that answers `What team finished in 1st when tau cerámica was in 3rd?`: ```sql
SELECT "3rd_place" FROM "by_season" WHERE "2nd_place"='Panathinaikos';
## Task Generate a SQL query to answer the following question: `What teams finished in 3rd when panathinaikos finished 2nd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "1st_place" text, "2nd_place" text, "3rd_place" text, "4th_place" text ); ### SQL Given the database schema, here is the SQL query that answers `What teams finished in 3rd when panathinaikos finished 2nd?`: ```sql
SELECT "mid_atlantic_south_washington_d_c" FROM "table1_16105186_2" WHERE "alaska_juneau"='90 g/mi (56 g/km)' AND "california_san_francisco"='110 g/mi (68 g/km)';
## Task Generate a SQL query to answer the following question: `What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the emission rating in Mid-Atlantic South for the vehicle that was rated 90 g/mi (56 g/km) in Alaska and 110 g/mi (68 g/km) in California?`: ```sql
SELECT "mid_atlantic_south_washington_d_c" FROM "table1_16105186_2" WHERE "midwest_des_moines"='300 g/mi (186 g/km)';
## Task Generate a SQL query to answer the following question: `What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the emission rating in Mid-Atlantic South for the vehicle that was rated 300 g/mi (186 g/km) in the Midwest?`: ```sql
SELECT "u_s_national_average_electric_mix" FROM "table1_16105186_2" WHERE "midwest_des_moines"='280 g/mi (174 g/km)';
## Task Generate a SQL query to answer the following question: `What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the US national average electric mix rating for the vehicle that was rated 280 g/mi (174 g/km) in the Midwest?`: ```sql
SELECT COUNT("california_san_francisco") FROM "table1_16105186_2" WHERE "vehicle"='Ford Focus Electric';
## Task Generate a SQL query to answer the following question: `How many Ford Focus electric vehicle emission test scores were recorded in California?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text ); ### SQL Given the database schema, here is the SQL query that answers `How many Ford Focus electric vehicle emission test scores were recorded in California?`: ```sql
SELECT "california_san_francisco" FROM "table1_16105186_2" WHERE "alaska_juneau"='80 g/mi (50 g/km)' AND "southeast_atlanta"='250 g/mi (155 g/km)';
## Task Generate a SQL query to answer the following question: `What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16105186_2" ( "vehicle" text, "epa_rated_all_electric_range" text, "epa_rated_combined_fuel_economy" text, "alaska_juneau" text, "california_san_francisco" text, "mid_atlantic_south_washington_d_c" text, "u_s_national_average_electric_mix" text, "southeast_atlanta" text, "midwest_des_moines" text, "rocky_mountains_denver" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?`: ```sql
SELECT MIN("attendance") FROM "game_log";
## Task Generate a SQL query to answer the following question: `What was the lowest no. of attendance on record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the lowest no. of attendance on record?`: ```sql
SELECT "date" FROM "game_log" WHERE "attendance"<6427.0;
## Task Generate a SQL query to answer the following question: `When was the game played if the attendance is less than 6427.0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the game played if the attendance is less than 6427.0?`: ```sql
SELECT "attendance" FROM "game_log" WHERE "date"='January 9, 1988';
## Task Generate a SQL query to answer the following question: `How many were in attendance during the game on January 9, 1988?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "num" real, "date" text, "at_vs" text, "opponent" text, "score" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `How many were in attendance during the game on January 9, 1988?`: ```sql
SELECT "headquarters" FROM "external_links" WHERE "code"='HY';
## Task Generate a SQL query to answer the following question: `Where is the headquarters of the place whose abbreviation is hy?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text ); ### SQL Given the database schema, here is the SQL query that answers `Where is the headquarters of the place whose abbreviation is hy?`: ```sql
SELECT "headquarters" FROM "external_links" WHERE "population_2011"=3811738;
## Task Generate a SQL query to answer the following question: `Where is the headquarters of the place whose population in 2011 was 3811738?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text ); ### SQL Given the database schema, here is the SQL query that answers `Where is the headquarters of the place whose population in 2011 was 3811738?`: ```sql
SELECT MIN("population_2011") FROM "external_links" WHERE "district"='Prakasam';
## Task Generate a SQL query to answer the following question: `What was the minimum population in 2011 of the district of Prakasam?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the minimum population in 2011 of the district of Prakasam?`: ```sql
SELECT "code" FROM "external_links" WHERE "district"='Mahbubnagar';
## Task Generate a SQL query to answer the following question: `What is the abbreviation of the district of Mahbubnagar?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the abbreviation of the district of Mahbubnagar?`: ```sql
SELECT "population_2011" FROM "external_links" WHERE "district"='East Godavari';
## Task Generate a SQL query to answer the following question: `What is the 2011 population of the district of East Godavari?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "external_links" ( "code" text, "district" text, "headquarters" text, "population_2011" real, "area_km" real, "density_km" real, "official_website" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the 2011 population of the district of East Godavari?`: ```sql
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "gdp_per_capita_nominal"=2874;
## Task Generate a SQL query to answer the following question: `What is the adjusted GDP when the nominal GDP per capita is 2874?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the adjusted GDP when the nominal GDP per capita is 2874?`: ```sql
SELECT "gdp_per_capita_adjusted" FROM "table1_1610496_3" WHERE "population_millions"='37.376';
## Task Generate a SQL query to answer the following question: `What is the adjusted GDP per capita when the population is 37.376 million?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the adjusted GDP per capita when the population is 37.376 million?`: ```sql
SELECT MIN("gdp_per_capita_nominal") FROM "table1_1610496_3" WHERE "population_millions"='63.056';
## Task Generate a SQL query to answer the following question: `What is the nominal GDP per capita when the population is 63.056 million?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the nominal GDP per capita when the population is 63.056 million?`: ```sql
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "population_millions"='5.141';
## Task Generate a SQL query to answer the following question: `What is the adjusted GDP when the population is 5.141 million?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the adjusted GDP when the population is 5.141 million?`: ```sql
SELECT "population_millions" FROM "table1_1610496_3" WHERE "gdp_adjusted_billions"='492';
## Task Generate a SQL query to answer the following question: `What is the population in millions when the adjusted GDP is 492 billion?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the population in millions when the adjusted GDP is 492 billion?`: ```sql
SELECT "gdp_adjusted_billions" FROM "table1_1610496_3" WHERE "gdp_nominal_billions"='8.43';
## Task Generate a SQL query to answer the following question: `What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1610496_3" ( "year" real, "gdp_nominal_billions" text, "gdp_adjusted_billions" text, "population_millions" text, "gdp_per_capita_nominal" real, "gdp_per_capita_adjusted" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the adjusted GDP when the nominal GDP is 8.43 (in billions)?`: ```sql
SELECT "operating_profit_s_m" FROM "singapore_airlines_group_financial_highl" WHERE "expenditure_s_m"='12,127.8';
## Task Generate a SQL query to answer the following question: `What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the opearint profit (s$m) associated with an expenditure (s$m) of 12,127.8?`: ```sql
SELECT "expenditure_s_m" FROM "singapore_airlines_group_financial_highl" WHERE "operating_profit_s_m"='717.1';
## Task Generate a SQL query to answer the following question: `What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1?`: ```sql
SELECT COUNT("profit_before_taxation_s_m") FROM "singapore_airlines_group_financial_highl" WHERE "operating_profit_s_m"='717.1';
## Task Generate a SQL query to answer the following question: `How many years was the operating profit (s$m) 717.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singapore_airlines_group_financial_highl" ( "year_ended" text, "revenue_s_m" text, "expenditure_s_m" text, "operating_profit_s_m" text, "profit_before_taxation_s_m" text, "profit_attributable_to_equity_holders_s_m" text, "eps_after_tax_diluted_cents" text ); ### SQL Given the database schema, here is the SQL query that answers `How many years was the operating profit (s$m) 717.1?`: ```sql
SELECT "simplified_characters" FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='ch''ing-yüan … i-ma';
## Task Generate a SQL query to answer the following question: `Name the simplified characters for wade giles is ch'ing-yüan … i-ma` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the simplified characters for wade giles is ch'ing-yüan … i-ma`: ```sql
SELECT "pinyin" FROM "development_of_chinese_mind_monkey_terms" WHERE "date_ce"='657';
## Task Generate a SQL query to answer the following question: `Name the pinyin for 657 date` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the pinyin for 657 date`: ```sql
SELECT "text" FROM "development_of_chinese_mind_monkey_terms" WHERE "simplified_characters"='心猿意马';
## Task Generate a SQL query to answer the following question: `Name the text for 心猿意马` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the text for 心猿意马`: ```sql
SELECT "simplified_characters" FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='hsin-yüan … i-ma';
## Task Generate a SQL query to answer the following question: `Name the simplified charaacters being hsin-yüan … i-ma` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the simplified charaacters being hsin-yüan … i-ma`: ```sql
SELECT COUNT("pinyin") FROM "development_of_chinese_mind_monkey_terms" WHERE "wade_giles"='hsin-yüan-i-ma';
## Task Generate a SQL query to answer the following question: `Name the total number of pinyin for hsin-yüan-i-ma` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of pinyin for hsin-yüan-i-ma`: ```sql
SELECT "date_ce" FROM "development_of_chinese_mind_monkey_terms" WHERE "pinyin"='qíngyuán … yìmǎ';
## Task Generate a SQL query to answer the following question: `Name the date for qíngyuán … yìmǎ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "development_of_chinese_mind_monkey_terms" ( "date_ce" text, "text" text, "simplified_characters" text, "traditional_characters" text, "pinyin" text, "wade_giles" text, "literal_meaning" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the date for qíngyuán … yìmǎ`: ```sql
SELECT "line" FROM "services" WHERE "service_pattern"='Fast to Norwood Junction';
## Task Generate a SQL query to answer the following question: `Which line offers Fast to Norwood Junction?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text ); ### SQL Given the database schema, here is the SQL query that answers `Which line offers Fast to Norwood Junction?`: ```sql
SELECT "operator" FROM "services" WHERE "destination"='Highbury & Islington';
## Task Generate a SQL query to answer the following question: `Who is the operator to Highbury & Islington?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the operator to Highbury & Islington?`: ```sql
SELECT COUNT("frequency_per_hour") FROM "services" WHERE "service_pattern"='Next station';
## Task Generate a SQL query to answer the following question: `How many frequency figures are given for next station service pattern?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text ); ### SQL Given the database schema, here is the SQL query that answers `How many frequency figures are given for next station service pattern?`: ```sql
SELECT "operator" FROM "services" WHERE "destination"='Dalston Junction';
## Task Generate a SQL query to answer the following question: `Who is the operator to destination Dalston Junction?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "services" ( "platform" real, "frequency_per_hour" real, "destination" text, "service_pattern" text, "operator" text, "line" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the operator to destination Dalston Junction?`: ```sql
SELECT COUNT("no") FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
## Task Generate a SQL query to answer the following question: `How many tournament wins were at Volvo Masters Andalucia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `How many tournament wins were at Volvo Masters Andalucia?`: ```sql
SELECT "runner_s_up" FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
## Task Generate a SQL query to answer the following question: `Who was the runner up at the Volvo Masters Andalucia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the runner up at the Volvo Masters Andalucia?`: ```sql
SELECT "tournament" FROM "table1_1615980_4" WHERE "winning_score"='68-67-65-66=266';
## Task Generate a SQL query to answer the following question: `In what tournament was the winning score 68-67-65-66=266?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_1615980_4" ( "no" real, "date" text, "tournament" text, "winning_score" text, "to_par" text, "margin_of_victory" text, "runner_s_up" text ); ### SQL Given the database schema, here is the SQL query that answers `In what tournament was the winning score 68-67-65-66=266?`: ```sql
SELECT "joined" FROM "former_conference_members" WHERE "nickname"='Blue Hose';
## Task Generate a SQL query to answer the following question: `Name the joined for blue hose` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the joined for blue hose`: ```sql
SELECT MAX("founded") FROM "former_conference_members" WHERE "nickname"='Blue Hose';
## Task Generate a SQL query to answer the following question: `Name the maximum founded for blue hose` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the maximum founded for blue hose`: ```sql
SELECT MAX("enrollment") FROM "former_conference_members" WHERE "institution"='St. Andrews University';
## Task Generate a SQL query to answer the following question: `Name the maximum enrollment for st. andrews university` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the maximum enrollment for st. andrews university`: ```sql
SELECT "current_conference" FROM "former_conference_members" WHERE "left"='1974, 1989';
## Task Generate a SQL query to answer the following question: `Name the current conference for 1974, 1989` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "former_conference_members" ( "institution" text, "location" text, "founded" real, "type" text, "enrollment" real, "nickname" text, "joined" text, "left" text, "current_conference" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the current conference for 1974, 1989`: ```sql
SELECT COUNT("series_num") FROM "table1_16175064_3" WHERE "writer_s"='Alexa Wyatt';
## Task Generate a SQL query to answer the following question: `What is the total number of episodes where alexa wyatt is the writer?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number of episodes where alexa wyatt is the writer?`: ```sql
SELECT "director_s" FROM "table1_16175064_3" WHERE "writer_s"='Chris Hawkshaw';
## Task Generate a SQL query to answer the following question: `Who is the director when Chris Hawkshaw is the writer?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the director when Chris Hawkshaw is the writer?`: ```sql
SELECT "season_num" FROM "table1_16175064_3" WHERE "director_s"='Donald Crombie' AND "series_num"=40;
## Task Generate a SQL query to answer the following question: `What is the season number of the episode directed by Donald Crombie and the series number is 40?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175064_3" ( "season_num" real, "series_num" real, "title" text, "director_s" text, "writer_s" text, "original_airdate" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the season number of the episode directed by Donald Crombie and the series number is 40?`: ```sql
SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Super Mario 64 DS';
## Task Generate a SQL query to answer the following question: `What is the released date for Super Mario 64 DS?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the released date for Super Mario 64 DS?`: ```sql
SELECT "game_modes" FROM "i_que_ds" WHERE "released_date"='2007';
## Task Generate a SQL query to answer the following question: `What are the game modes for the game released in 2007?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the game modes for the game released in 2007?`: ```sql
SELECT COUNT("western_title") FROM "i_que_ds" WHERE "chinese_title"='摸摸耀西-云中漫步';
## Task Generate a SQL query to answer the following question: `How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text ); ### SQL Given the database schema, here is the SQL query that answers `How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?`: ```sql
SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Polarium';
## Task Generate a SQL query to answer the following question: `What was the released date of Polarium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the released date of Polarium?`: ```sql
SELECT "game_modes" FROM "i_que_ds" WHERE "pinyin"='Zhígǎn Yī Bǐ';
## Task Generate a SQL query to answer the following question: `What game modes are there when the pinyin is zhígǎn yī bǐ ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "i_que_ds" ( "western_title" text, "chinese_title" text, "pinyin" text, "released_date" text, "genre" text, "game_modes" text ); ### SQL Given the database schema, here is the SQL query that answers `What game modes are there when the pinyin is zhígǎn yī bǐ ?`: ```sql
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='6 children' AND "allowed_recipients"='no data';
## Task Generate a SQL query to answer the following question: `What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?`: ```sql
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='12 children to 6 families (2 per family)';
## Task Generate a SQL query to answer the following question: `What are donor payments in the country where there are 12 children to 6 families (2 per family)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `What are donor payments in the country where there are 12 children to 6 families (2 per family)?`: ```sql
SELECT "donor_payment" FROM "table1_16175217_1" WHERE "country"='Belgium';
## Task Generate a SQL query to answer the following question: `What is the donor payment in Belgium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the donor payment in Belgium?`: ```sql
SELECT "country" FROM "table1_16175217_1" WHERE "children_per_donor"='8 children' AND "donor_payment"='no data';
## Task Generate a SQL query to answer the following question: `What is the country where there are 8 children per donor and no data for donor payments?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the country where there are 8 children per donor and no data for donor payments?`: ```sql
SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='Married or in cohabitation';
## Task Generate a SQL query to answer the following question: `What are the children per donor in the country where the allowed recipients are married or in cohabitation?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the children per donor in the country where the allowed recipients are married or in cohabitation?`: ```sql
SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='no data';
## Task Generate a SQL query to answer the following question: `List the possible children per donor levels for countries where the allowed recipients is no data.` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "table1_16175217_1" ( "country" text, "donor_payment" text, "children_per_donor" text, "donor_anonymity" text, "allowed_recipients" text ); ### SQL Given the database schema, here is the SQL query that answers `List the possible children per donor levels for countries where the allowed recipients is no data.`: ```sql
SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_neutral_site"='MU, 2-1';
## Task Generate a SQL query to answer the following question: `Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text ); ### SQL Given the database schema, here is the SQL query that answers `Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?`: ```sql
SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponents_venue"='UI, 4-1';
## Task Generate a SQL query to answer the following question: `Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text ); ### SQL Given the database schema, here is the SQL query that answers `Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How`: ```sql
SELECT COUNT("last_5_meetings") FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='MU, 21-19';
## Task Generate a SQL query to answer the following question: `How many times did the team achieve an overrall record of mu, 21-19?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text ); ### SQL Given the database schema, here is the SQL query that answers `How many times did the team achieve an overrall record of mu, 21-19?`: ```sql
SELECT "at_neutral_site" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='UI, 27-16';
## Task Generate a SQL query to answer the following question: `What is the record at the neutral site for when the overall record is ui, 27-16?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the record at the neutral site for when the overall record is ui, 27-16?`: ```sql
SELECT "at_opponents_venue" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "last_5_meetings"='MU, 4-1' AND "at_neutral_site"='Tied, 0-0';
## Task Generate a SQL query to answer the following question: `What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_other_opponents_at_least_15_ga" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?`: ```sql
SELECT "stamp_duty_reserve_tax" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.79';
## Task Generate a SQL query to answer the following question: `What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?`: ```sql
SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "standard_stamp_duty"='367';
## Task Generate a SQL query to answer the following question: `When the standard stamp duty is 367 what is the percentage over gdp?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `When the standard stamp duty is 367 what is the percentage over gdp?`: ```sql
SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "stamp_duty_reserve_tax"='3,669';
## Task Generate a SQL query to answer the following question: `When the stamp duty reserve tax is 3,669 what is the percentage over gdp?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `When the stamp duty reserve tax is 3,669 what is the percentage over gdp?`: ```sql
SELECT "year" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.65';
## Task Generate a SQL query to answer the following question: `During what years are the percentage over total tax revenue is 0.65?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "revenues_from_stamp_duties" ( "year" text, "stamp_duty_reserve_tax" text, "standard_stamp_duty" text, "standard_duties_total_revenue_in_million" real, "over_total_tax_revenue_in_pct" text, "over_gdp_in_pct" text ); ### SQL Given the database schema, here is the SQL query that answers `During what years are the percentage over total tax revenue is 0.65?`: ```sql
SELECT COUNT("at_opponents_venue") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Oklahoma';
## Task Generate a SQL query to answer the following question: `Name the total number of opponets venue for oklahoma` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_big_12_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "during_time_in_big_12" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of opponets venue for oklahoma`: ```sql
SELECT COUNT("last_5_meetings") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Texas Tech';
## Task Generate a SQL query to answer the following question: `Name the total number of last 5 meetings for texas tech` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_big_12_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "during_time_in_big_12" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of last 5 meetings for texas tech`: ```sql
SELECT COUNT("series_sorted") FROM "series_1" WHERE "released"='April 2010';
## Task Generate a SQL query to answer the following question: `Name the total number of series sorted for when released is april 2010` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the total number of series sorted for when released is april 2010`: ```sql
SELECT "author" FROM "series_1" WHERE "series_sorted"='6Y/AE';
## Task Generate a SQL query to answer the following question: `Name the author for 6y/ae` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the author for 6y/ae`: ```sql
SELECT "author" FROM "series_1" WHERE "featuring"='Peri' AND "released"='April 2010';
## Task Generate a SQL query to answer the following question: `Name the author for peri and april 2010` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the author for peri and april 2010`: ```sql
SELECT "released" FROM "series_1" WHERE "author"='Pat Mills';
## Task Generate a SQL query to answer the following question: `Name the released for pat mills` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the released for pat mills`: ```sql
SELECT "featuring" FROM "series_1" WHERE "author"='Pat Mills';
## Task Generate a SQL query to answer the following question: `Name the featuring for pat mills` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "series_1" ( "num" real, "series_sorted" text, "title" text, "author" text, "doctor" text, "featuring" text, "released" text ); ### SQL Given the database schema, here is the SQL query that answers `Name the featuring for pat mills`: ```sql
SELECT "last_5_meetings" FROM "record_vs_sec_opponents" WHERE "overall_record"='UM, 2-1';
## Task Generate a SQL query to answer the following question: `What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?`: ```sql
SELECT "overall_record" FROM "record_vs_sec_opponents" WHERE "at_opponents_venue"='UF, 1-0';
## Task Generate a SQL query to answer the following question: `What is the record of wins/losses that were played at opponents venue (uf, 1-0)` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the record of wins/losses that were played at opponents venue (uf, 1-0)`: ```sql
SELECT "missouri_vs" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
## Task Generate a SQL query to answer the following question: `Who are the opponents of Missouri that have an overall record of MU, 3-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text ); ### SQL Given the database schema, here is the SQL query that answers `Who are the opponents of Missouri that have an overall record of MU, 3-1?`: ```sql
SELECT "at_columbia" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
## Task Generate a SQL query to answer the following question: `What is the record at Columbia for the team overall record of MU, 3-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "record_vs_sec_opponents" ( "missouri_vs" text, "overall_record" text, "at_columbia" text, "at_opponents_venue" text, "at_neutral_site" text, "last_5_meetings" text, "last_10_meetings" text, "current_streak" text, "since_joining_sec" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the record at Columbia for the team overall record of MU, 3-1?`: ```sql
SELECT COUNT("length_feet") FROM "tunnels" WHERE "length_meters"='106.1';
## Task Generate a SQL query to answer the following question: `How many feet in length are there when the length is 106.1 meters? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text ); ### SQL Given the database schema, here is the SQL query that answers `How many feet in length are there when the length is 106.1 meters? `: ```sql
SELECT MIN("length_feet") FROM "tunnels" WHERE "km_from_kingston"='105.4';
## Task Generate a SQL query to answer the following question: `When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text ); ### SQL Given the database schema, here is the SQL query that answers `When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? `: ```sql
SELECT "parish" FROM "tunnels" WHERE "length_meters"='51.8';
## Task Generate a SQL query to answer the following question: `Which parishes have a railroad length of 51.8 meters? ` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "tunnels" ( "no" real, "name" text, "mi_from_kingston" text, "km_from_kingston" text, "parish" text, "length_feet" real, "length_meters" text ); ### SQL Given the database schema, here is the SQL query that answers `Which parishes have a railroad length of 51.8 meters? `: ```sql