output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT AVG("losses") FROM "torneo_apertura" WHERE "scored"=9 AND "points">8;
## Task Generate a SQL query to answer the following question: `Which Losses has Scored of 9, and Points larger than 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "torneo_apertura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Losses has Scored of 9, and Points larger than 8?`: ```sql
SELECT COUNT("podium") FROM "by_season" WHERE "race"=14 AND "f_lap">1;
## Task Generate a SQL query to answer the following question: `On Race 14 when the FLap is larger than 1, what is the podium number?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); ### SQL Given the database schema, here is the SQL query that answers `On Race 14 when the FLap is larger than 1, what is the podium number?`: ```sql
SELECT "pole" FROM "by_season" WHERE "f_lap"<15 AND "podium">11;
## Task Generate a SQL query to answer the following question: `When the Flap is less than 15 and the podium is larger than 11, what is the pole?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); ### SQL Given the database schema, here is the SQL query that answers `When the Flap is less than 15 and the podium is larger than 11, what is the pole?`: ```sql
SELECT "f_lap" FROM "by_season" WHERE "pole">0 AND "podium"<44 AND "race"<16;
## Task Generate a SQL query to answer the following question: `When the pole is larger than 0 and the podium is less than 44, with a race number less than 16, what is the FLap?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_season" ( "season" text, "race" real, "podium" real, "pole" real, "f_lap" real ); ### SQL Given the database schema, here is the SQL query that answers `When the pole is larger than 0 and the podium is less than 44, with a race number less than 16, what is the FLap?`: ```sql
SELECT AVG("week") FROM "schedule" WHERE "opponent"='minnesota vikings';
## Task Generate a SQL query to answer the following question: `What is the average Week, when Opponent is Minnesota Vikings?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the average Week, when Opponent is Minnesota Vikings?`: ```sql
SELECT "opponent" FROM "schedule" WHERE "attendance"='58,836';
## Task Generate a SQL query to answer the following question: `What is Opponent, when Attendance is 58,836?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Opponent, when Attendance is 58,836?`: ```sql
SELECT "engine" FROM "complete_formula_one_world_championship_" WHERE "points"='47' AND "tyres"='f' AND "entrant"='rob walker racing team';
## Task Generate a SQL query to answer the following question: `Which engine of Rob Walker Racing Team has 47 points and F tyres?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "tyres" text, "points" text ); ### SQL Given the database schema, here is the SQL query that answers `Which engine of Rob Walker Racing Team has 47 points and F tyres?`: ```sql
SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "points"='49' AND "chassis"='mclaren m7a';
## Task Generate a SQL query to answer the following question: `Which entrant has 49 points and a Mclaren M7A chassis?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "tyres" text, "points" text ); ### SQL Given the database schema, here is the SQL query that answers `Which entrant has 49 points and a Mclaren M7A chassis?`: ```sql
SELECT "points" FROM "complete_formula_one_world_championship_" WHERE "entrant"='bob gerard racing' AND "year"=1965;
## Task Generate a SQL query to answer the following question: `How many points did Bob Gerard Racing have in 1965?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "tyres" text, "points" text ); ### SQL Given the database schema, here is the SQL query that answers `How many points did Bob Gerard Racing have in 1965?`: ```sql
SELECT "entrant" FROM "complete_formula_one_world_championship_" WHERE "year"<1965 AND "chassis"='brabham bt10';
## Task Generate a SQL query to answer the following question: `Which entrant had a Brabham BT10 chassis before 1965?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "tyres" text, "points" text ); ### SQL Given the database schema, here is the SQL query that answers `Which entrant had a Brabham BT10 chassis before 1965?`: ```sql
SELECT "attendance" FROM "schedule" WHERE "date"='september 28, 1997';
## Task Generate a SQL query to answer the following question: `What is the Attendance on September 28, 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Attendance on September 28, 1997?`: ```sql
SELECT "opponent" FROM "schedule" WHERE "date"='august 31, 1997';
## Task Generate a SQL query to answer the following question: `What was the Opponent on August 31, 1997?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Opponent on August 31, 1997?`: ```sql
SELECT "attendance" FROM "schedule" WHERE "week"=10;
## Task Generate a SQL query to answer the following question: `What was the Attendance on Week 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the Attendance on Week 10?`: ```sql
SELECT SUM("points") FROM "final_standings" WHERE "home"='pittsburgh' AND "score"='1–7';
## Task Generate a SQL query to answer the following question: `How many Points have a Home of pittsburgh, and a Score of 1–7?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_standings" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `How many Points have a Home of pittsburgh, and a Score of 1–7?`: ```sql
SELECT "visitor" FROM "final_standings" WHERE "attendance">'10,959' AND "points">24;
## Task Generate a SQL query to answer the following question: `Which Visitor has an Attendance larger than 10,959, and Points larger than 24?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_standings" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Visitor has an Attendance larger than 10,959, and Points larger than 24?`: ```sql
SELECT "date" FROM "final_standings" WHERE "record"='7–7–1';
## Task Generate a SQL query to answer the following question: `Which Date has a Record of 7–7–1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_standings" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Date has a Record of 7–7–1?`: ```sql
SELECT "date" FROM "final_standings" WHERE "record"='11–10–2';
## Task Generate a SQL query to answer the following question: `Which Date has a Record of 11–10–2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_standings" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Date has a Record of 11–10–2?`: ```sql
SELECT "position" FROM "career_summary" WHERE "podiums"='3' AND "f_laps"='4';
## Task Generate a SQL query to answer the following question: `Which position had 3 podiums and F/laps of 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `Which position had 3 podiums and F/laps of 4?`: ```sql
SELECT "races" FROM "career_summary" WHERE "poles"='0' AND "team"='asm';
## Task Generate a SQL query to answer the following question: `What is the number of races associated with Team ASM and 0 poles?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of races associated with Team ASM and 0 poles?`: ```sql
SELECT "team" FROM "career_summary" WHERE "races"='1' AND "f_laps"='1' AND "series"='24 hours of nurburgring';
## Task Generate a SQL query to answer the following question: `Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `Which team had 1 race, 1 F/lap and in the series 24 hours of Nurburgring?`: ```sql
SELECT "podiums" FROM "career_summary" WHERE "wins"='4';
## Task Generate a SQL query to answer the following question: `What is the number of podiums associated with 4 wins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of podiums associated with 4 wins?`: ```sql
SELECT "races" FROM "career_summary" WHERE "position"='4th' AND "podiums"='7';
## Task Generate a SQL query to answer the following question: `What is the number of races associated with 7 podiums and a position of 4th?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of races associated with 7 podiums and a position of 4th?`: ```sql
SELECT "f_laps" FROM "career_summary" WHERE "position"='3rd';
## Task Generate a SQL query to answer the following question: `What is the F/Laps value associated with a position of 3rd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "position" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the F/Laps value associated with a position of 3rd?`: ```sql
SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "time"='0:20';
## Task Generate a SQL query to answer the following question: `Can you tell me the Opponent that has the Time of 0:20?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Opponent that has the Time of 0:20?`: ```sql
SELECT "time" FROM "mixed_martial_arts_record" WHERE "opponent"='phil baroni';
## Task Generate a SQL query to answer the following question: `Can you tell me the Time that has the Opponent of phil baroni?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Time that has the Opponent of phil baroni?`: ```sql
SELECT MIN("round") FROM "mixed_martial_arts_record" WHERE "location"='indiana, united states' AND "method"='submission (guillotine choke)';
## Task Generate a SQL query to answer the following question: `Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?`: ```sql
SELECT "built" FROM "see_also" WHERE "location"='la vista';
## Task Generate a SQL query to answer the following question: `When was la vista built?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `When was la vista built?`: ```sql
SELECT "built" FROM "see_also" WHERE "name"='sargent bridge';
## Task Generate a SQL query to answer the following question: `When was the sargent bridge built?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `When was the sargent bridge built?`: ```sql
SELECT "location" FROM "see_also" WHERE "county"='platte';
## Task Generate a SQL query to answer the following question: `What's the location for the country of platte?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the location for the country of platte?`: ```sql
SELECT "listed" FROM "see_also" WHERE "county"='nuckolls';
## Task Generate a SQL query to answer the following question: `what is the listing date for nuckolls county?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the listing date for nuckolls county?`: ```sql
SELECT "listed" FROM "see_also" WHERE "county"='antelope' AND "location"='royal' AND "name"='verdigris creek bridge';
## Task Generate a SQL query to answer the following question: `what's the listing date for the verdigris creek bridge in royal of antelope county?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `what's the listing date for the verdigris creek bridge in royal of antelope county?`: ```sql
SELECT "county" FROM "see_also" WHERE "listed"='1992-06-29' AND "name"='republican river bridge';
## Task Generate a SQL query to answer the following question: `what's the county name for the republican river bridge listed on 1992-06-29?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "see_also" ( "name" text, "built" text, "listed" text, "location" text, "county" text ); ### SQL Given the database schema, here is the SQL query that answers `what's the county name for the republican river bridge listed on 1992-06-29?`: ```sql
SELECT "country" FROM "final_round" WHERE "money">'3,600' AND "player"='tom watson';
## Task Generate a SQL query to answer the following question: `what is the country when the money ($) is more than 3,600 and player is tom watson?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the country when the money ($) is more than 3,600 and player is tom watson?`: ```sql
SELECT "to_par" FROM "final_round" WHERE "place"='t10' AND "score"='72-74-71-69=286';
## Task Generate a SQL query to answer the following question: `what is the to par when the place is t10 and the score is 72-74-71-69=286?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the to par when the place is t10 and the score is 72-74-71-69=286?`: ```sql
SELECT "to_par" FROM "final_round" WHERE "player"='hale irwin';
## Task Generate a SQL query to answer the following question: `what is the to par when the player is hale irwin?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the to par when the player is hale irwin?`: ```sql
SELECT "to_par" FROM "final_round" WHERE "player"='dave hill';
## Task Generate a SQL query to answer the following question: `what is the to par for Dave hill?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the to par for Dave hill?`: ```sql
SELECT "place" FROM "final_round" WHERE "score"='68-67-73-68=276';
## Task Generate a SQL query to answer the following question: `what is the place when the score is 68-67-73-68=276?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the place when the score is 68-67-73-68=276?`: ```sql
SELECT "date" FROM "schedule" WHERE "week"<13 AND "opponent"='green bay packers';
## Task Generate a SQL query to answer the following question: `Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?`: ```sql
SELECT AVG("attendance") FROM "schedule" WHERE "opponent"='new orleans saints' AND "week">12;
## Task Generate a SQL query to answer the following question: `Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?`: ```sql
SELECT "attendance" FROM "schedule" WHERE "opponent"='new york giants';
## Task Generate a SQL query to answer the following question: `Can you tell me the Attendance that has the Opponent of new york giants?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Attendance that has the Opponent of new york giants?`: ```sql
SELECT "density_hab_km" FROM "demographics" WHERE "population_censo_2007_hab"='336.293*';
## Task Generate a SQL query to answer the following question: `What is the density (hab/km²) with a population censo 2007(hab) of 336.293*?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "demographics" ( "municipalities_of_the_city" text, "area_km" text, "population_censo_2007_hab" text, "population_under_1_year_old_censo_2007_hab" text, "households_2007" text, "density_hab_km" text, "elevation_msnm" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the density (hab/km²) with a population censo 2007(hab) of 336.293*?`: ```sql
SELECT "population_under_1_year_old_censo_2007_hab" FROM "demographics" WHERE "population_censo_2007_hab"='112.054*';
## Task Generate a SQL query to answer the following question: `What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "demographics" ( "municipalities_of_the_city" text, "area_km" text, "population_censo_2007_hab" text, "population_under_1_year_old_censo_2007_hab" text, "households_2007" text, "density_hab_km" text, "elevation_msnm" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?`: ```sql
SELECT "density_hab_km" FROM "demographics" WHERE "population_under_1_year_old_censo_2007_hab"='* data from the census taken by the inei';
## Task Generate a SQL query to answer the following question: `What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "demographics" ( "municipalities_of_the_city" text, "area_km" text, "population_censo_2007_hab" text, "population_under_1_year_old_censo_2007_hab" text, "households_2007" text, "density_hab_km" text, "elevation_msnm" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the density (hab/km²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?`: ```sql
SELECT "elevation_msnm" FROM "demographics" WHERE "population_censo_2007_hab"='77.392*';
## Task Generate a SQL query to answer the following question: `What is the elevation msnm for a population censo 2007(hab) of 77.392*?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "demographics" ( "municipalities_of_the_city" text, "area_km" text, "population_censo_2007_hab" text, "population_under_1_year_old_censo_2007_hab" text, "households_2007" text, "density_hab_km" text, "elevation_msnm" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the elevation msnm for a population censo 2007(hab) of 77.392*?`: ```sql
SELECT "report" FROM "round_13" WHERE "away_team"='townsville crocodiles';
## Task Generate a SQL query to answer the following question: `What's the report about townsville crocodiles as an away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "round_13" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "crowd" real, "box_score" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the report about townsville crocodiles as an away team?`: ```sql
SELECT "record" FROM "schedule_and_results" WHERE "game"=67;
## Task Generate a SQL query to answer the following question: `What's the record of game 67?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "march" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the record of game 67?`: ```sql
SELECT "score" FROM "schedule_and_results" WHERE "game">68 AND "opponent"='boston bruins';
## Task Generate a SQL query to answer the following question: `What's the score of the game against the Boston Bruins and after game 68?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule_and_results" ( "game" real, "march" real, "opponent" text, "score" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the score of the game against the Boston Bruins and after game 68?`: ```sql
SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "crude_death_rate_per_1000"=10;
## Task Generate a SQL query to answer the following question: `what is the natural change (per 1000) when the crude death rate (per 1000) is 10?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "births_and_deaths" ( "average_population_x_1000" text, "live_births_1" text, "deaths_1" text, "natural_change_1" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the natural change (per 1000) when the crude death rate (per 1000) is 10?`: ```sql
SELECT SUM("crude_birth_rate_per_1000") FROM "births_and_deaths" WHERE "live_births_1"='356 013';
## Task Generate a SQL query to answer the following question: `what is the crude birth rate (per 1000) when the live births 1 is 356 013?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "births_and_deaths" ( "average_population_x_1000" text, "live_births_1" text, "deaths_1" text, "natural_change_1" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the crude birth rate (per 1000) when the live births 1 is 356 013?`: ```sql
SELECT "natural_change_per_1000" FROM "births_and_deaths" WHERE "live_births_1"='278 977';
## Task Generate a SQL query to answer the following question: `what is the natural change (per 1000) when the live births 1 is 278 977?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "births_and_deaths" ( "average_population_x_1000" text, "live_births_1" text, "deaths_1" text, "natural_change_1" text, "crude_birth_rate_per_1000" real, "crude_death_rate_per_1000" real, "natural_change_per_1000" real ); ### SQL Given the database schema, here is the SQL query that answers `what is the natural change (per 1000) when the live births 1 is 278 977?`: ```sql
SELECT "player" FROM "first_round" WHERE "to_par"='e' AND "country"='united states';
## Task Generate a SQL query to answer the following question: `Which Player has a To par of e, and a Country of united states?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Player has a To par of e, and a Country of united states?`: ```sql
SELECT "place" FROM "first_round" WHERE "score"<72 AND "to_par"='−1' AND "country"='spain';
## Task Generate a SQL query to answer the following question: `Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?`: ```sql
SELECT "score" FROM "first_round" WHERE "player"='john huston';
## Task Generate a SQL query to answer the following question: `What was john huston's score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What was john huston's score?`: ```sql
SELECT "to_par" FROM "first_round" WHERE "player"='willie wood';
## Task Generate a SQL query to answer the following question: `What was willie wood's to par?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What was willie wood's to par?`: ```sql
SELECT "prize" FROM "season_2" WHERE "winner"='dominik nitsche';
## Task Generate a SQL query to answer the following question: `What is the Prize amount of Winner Dominik Nitsche?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_2" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Prize amount of Winner Dominik Nitsche?`: ```sql
SELECT "winner" FROM "season_2" WHERE "city"='nuevo vallarta';
## Task Generate a SQL query to answer the following question: `What is the Winner of the Event in Nuevo Vallarta?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_2" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Winner of the Event in Nuevo Vallarta?`: ```sql
SELECT "date" FROM "season_2" WHERE "city"='punta del este';
## Task Generate a SQL query to answer the following question: `What is the Date of the Event in Punta del Este?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_2" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Date of the Event in Punta del Este?`: ```sql
SELECT "date" FROM "season_2" WHERE "prize"='$141,426';
## Task Generate a SQL query to answer the following question: `What is the Date of the Event with a Prize of $141,426?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_2" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Date of the Event with a Prize of $141,426?`: ```sql
SELECT "title" FROM "list_of_state_leaders_in_840s_bc" WHERE "name"='ahaziah';
## Task Generate a SQL query to answer the following question: `What is the title of ahaziah?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_state_leaders_in_840s_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the title of ahaziah?`: ```sql
SELECT "type" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='king';
## Task Generate a SQL query to answer the following question: `What is the type of the king title?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_state_leaders_in_840s_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the type of the king title?`: ```sql
SELECT "name" FROM "list_of_state_leaders_in_840s_bc" WHERE "title"='queen regnant';
## Task Generate a SQL query to answer the following question: `What is the name of the queen regnant?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_state_leaders_in_840s_bc" ( "type" text, "name" text, "title" text, "royal_house" text, "from" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name of the queen regnant?`: ```sql
SELECT COUNT("grid") FROM "250cc_classification" WHERE "rider"='aleix espargaro';
## Task Generate a SQL query to answer the following question: `What is the total number of Grid, when Rider is Aleix Espargaro?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number of Grid, when Rider is Aleix Espargaro?`: ```sql
SELECT "rider" FROM "250cc_classification" WHERE "grid"<16 AND "manufacturer"='aprilia' AND "time"='+28.288';
## Task Generate a SQL query to answer the following question: `What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?`: ```sql
SELECT AVG("laps") FROM "250cc_classification" WHERE "grid"=15;
## Task Generate a SQL query to answer the following question: `What is the average Laps, when Grid is 15?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average Laps, when Grid is 15?`: ```sql
SELECT "manufacturer" FROM "250cc_classification" WHERE "laps"=26 AND "rider"='aleix espargaro';
## Task Generate a SQL query to answer the following question: `What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?`: ```sql
SELECT "home_team" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "tie_no"='1';
## Task Generate a SQL query to answer the following question: `What is Home Team, when Date is "13 March 1985", and when Tie No is "1"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Home Team, when Date is "13 March 1985", and when Tie No is "1"?`: ```sql
SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='ipswich town';
## Task Generate a SQL query to answer the following question: `What is Date, when Away Team is "Ipswich Town"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Ipswich Town"?`: ```sql
SELECT "tie_no" FROM "sixth_round_proper" WHERE "away_team"='millwall';
## Task Generate a SQL query to answer the following question: `What is Tie No, when Away Team is "Millwall"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Tie No, when Away Team is "Millwall"?`: ```sql
SELECT "score" FROM "sixth_round_proper" WHERE "date"='13 march 1985' AND "away_team"='millwall';
## Task Generate a SQL query to answer the following question: `What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?`: ```sql
SELECT "date" FROM "sixth_round_proper" WHERE "away_team"='liverpool';
## Task Generate a SQL query to answer the following question: `What is Date, when Away Team is "Liverpool"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Date, when Away Team is "Liverpool"?`: ```sql
SELECT "score" FROM "sixth_round_proper" WHERE "home_team"='manchester united';
## Task Generate a SQL query to answer the following question: `What is Score, when Home Team is "Manchester United"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "sixth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Score, when Home Team is "Manchester United"?`: ```sql
SELECT "team" FROM "game_log" WHERE "high_rebounds"='carl landry (11)';
## Task Generate a SQL query to answer the following question: `What is Team, when High Rebounds is "Carl Landry (11)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" 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 is Team, when High Rebounds is "Carl Landry (11)"?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='rafer alston (7)' AND "high_rebounds"='yao ming (13)';
## Task Generate a SQL query to answer the following question: `What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" 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 is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?`: ```sql
SELECT "score" FROM "game_log" WHERE "team"='@ memphis';
## Task Generate a SQL query to answer the following question: `What is Score, when Team is "@ Memphis"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" 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 is Score, when Team is "@ Memphis"?`: ```sql
SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "race"='ajc craven plate (wfa)';
## Task Generate a SQL query to answer the following question: `What is the result of the ajc craven plate (wfa) race?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the result of the ajc craven plate (wfa) race?`: ```sql
SELECT "distance" FROM "1929_30_season_as_a_three_year_old" WHERE "winner_or_2nd"='amounis' AND "pos_n"='2nd';
## Task Generate a SQL query to answer the following question: `What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the distance of the race with amounis as the winner or 2nd and a 2nd pos'n?`: ```sql
SELECT "result" FROM "1929_30_season_as_a_three_year_old" WHERE "weight">8.1 AND "race"='sajc king''s cup';
## Task Generate a SQL query to answer the following question: `What is the result of the sajc king's cup race, which has a weight heavier than 8.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the result of the sajc king's cup race, which has a weight heavier than 8.1?`: ```sql
SELECT "winner_or_2nd" FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='2nd' AND "weight"<8.1;
## Task Generate a SQL query to answer the following question: `What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the winner or 2nd of the race with a 2nd pos'n and a weight lighter than 8.1?`: ```sql
SELECT SUM("weight") FROM "1929_30_season_as_a_three_year_old" WHERE "pos_n"='1st' AND "distance"='8f';
## Task Generate a SQL query to answer the following question: `What is the sum of the weight of the race with a 1st pos'n and a 8f distance?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the sum of the weight of the race with a 1st pos'n and a 8f distance?`: ```sql
SELECT "race" FROM "1929_30_season_as_a_three_year_old" WHERE "distance"='10f' AND "winner_or_2nd"='mollison';
## Task Generate a SQL query to answer the following question: `What is the race with a 10f distance and mollison as the winner or 2nd?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1929_30_season_as_a_three_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the race with a 10f distance and mollison as the winner or 2nd?`: ```sql
SELECT MAX("bushnum") FROM "by_county" WHERE "bushpct"='32.40%' AND "total"<'5,126';
## Task Generate a SQL query to answer the following question: `What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_county" ( "county" text, "total" real, "gorenum" real, "gorepct" text, "bushnum" real, "bushpct" text, "othersnum" real, "otherspct" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?`: ```sql
SELECT "location_attendance" FROM "game_log" WHERE "score"='w 117–109 (ot)';
## Task Generate a SQL query to answer the following question: `What is the location and attendance when the score as w 117–109 (ot)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "game" real, "date" text, "team" 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 is the location and attendance when the score as w 117–109 (ot)?`: ```sql
SELECT "last_10_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponent_s_venue"='mu, 11-7';
## Task Generate a SQL query to answer the following question: `What were the last 10 meetings when the opponent's venue was mu, 11-7?` ### 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_opponent_s_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 were the last 10 meetings when the opponent's venue was mu, 11-7?`: ```sql
SELECT "last_5_meetings" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_columbia"='mu, 4-2';
## Task Generate a SQL query to answer the following question: `What were the last 5 meetings when Columbia was mu, 4-2?` ### 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_opponent_s_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 were the last 5 meetings when Columbia was mu, 4-2?`: ```sql
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "time"='5:36';
## Task Generate a SQL query to answer the following question: `What is the total number of rounds at 5:36?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number of rounds at 5:36?`: ```sql
SELECT COUNT("round") FROM "mixed_martial_arts_record" WHERE "record"='4-0';
## Task Generate a SQL query to answer the following question: `What is the total number of rounds with a 4-0 record?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total number of rounds with a 4-0 record?`: ```sql
SELECT "districts" FROM "by_population" WHERE "province"='piura';
## Task Generate a SQL query to answer the following question: `Which district is in the province of Piura?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_population" ( "province" text, "population" real, "region" text, "name_of_city" text, "districts" real ); ### SQL Given the database schema, here is the SQL query that answers `Which district is in the province of Piura?`: ```sql
SELECT SUM("population") FROM "by_population" WHERE "name_of_city"='chimbote';
## Task Generate a SQL query to answer the following question: `What is the population of Chimbote?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_population" ( "province" text, "population" real, "region" text, "name_of_city" text, "districts" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the population of Chimbote?`: ```sql
SELECT "result" FROM "schedule" WHERE "opponent"='at detroit lions';
## Task Generate a SQL query to answer the following question: `What is the result of the game that was played at Detroit Lions?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the result of the game that was played at Detroit Lions?`: ```sql
SELECT AVG("series_num") FROM "season_1_1996_97" WHERE "directed_by"='milan cheylov' AND "written_by"='will dixon';
## Task Generate a SQL query to answer the following question: `What series number was directed by milan cheylov and written by will dixon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_1_1996_97" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); ### SQL Given the database schema, here is the SQL query that answers `What series number was directed by milan cheylov and written by will dixon?`: ```sql
SELECT MIN("series_num") FROM "season_1_1996_97" WHERE "original_air_date"='november 30, 1996';
## Task Generate a SQL query to answer the following question: `What series # had an original air date of november 30, 1996?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_1_1996_97" ( "series_num" real, "title" text, "directed_by" text, "written_by" text, "original_air_date" text ); ### SQL Given the database schema, here is the SQL query that answers `What series # had an original air date of november 30, 1996?`: ```sql
SELECT "part_4" FROM "northwest_germanic" WHERE "part_3"='*hleupun';
## Task Generate a SQL query to answer the following question: `What was part 4 when part 3 was *hleupun?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was part 4 when part 3 was *hleupun?`: ```sql
SELECT "class" FROM "northwest_germanic" WHERE "part_2"='*hēt';
## Task Generate a SQL query to answer the following question: `What was the class when part 2 was *hēt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the class when part 2 was *hēt?`: ```sql
SELECT "class" FROM "northwest_germanic" WHERE "part_4"='*rādanaz';
## Task Generate a SQL query to answer the following question: `What was the class when part 4 was *rādanaz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the class when part 4 was *rādanaz?`: ```sql
SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*blōtanaz';
## Task Generate a SQL query to answer the following question: `What was part 2 when part 4 was *blōtanaz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was part 2 when part 4 was *blōtanaz?`: ```sql
SELECT "part_2" FROM "northwest_germanic" WHERE "part_4"='*haldanaz';
## Task Generate a SQL query to answer the following question: `What was part 2 when part 4 was *haldanaz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was part 2 when part 4 was *haldanaz?`: ```sql
SELECT "class" FROM "northwest_germanic" WHERE "part_3"='*heldun';
## Task Generate a SQL query to answer the following question: `What was the class when part 3 was *heldun?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "northwest_germanic" ( "class" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the class when part 3 was *heldun?`: ```sql
SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal';
## Task Generate a SQL query to answer the following question: `What is the Round din Ullevaal?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "royal_league_2005" ( "date" text, "venue" text, "opponents" text, "score" text, "round" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Round din Ullevaal?`: ```sql
SELECT "round" FROM "royal_league_2005" WHERE "venue"='ullevaal';
## Task Generate a SQL query to answer the following question: `What Round is in Ullevaal?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "royal_league_2005" ( "date" text, "venue" text, "opponents" text, "score" text, "round" text ); ### SQL Given the database schema, here is the SQL query that answers `What Round is in Ullevaal?`: ```sql
SELECT "venue" FROM "royal_league_2005" WHERE "score"='1-1';
## Task Generate a SQL query to answer the following question: `In what Venue was the Score 1-1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "royal_league_2005" ( "date" text, "venue" text, "opponents" text, "score" text, "round" text ); ### SQL Given the database schema, here is the SQL query that answers `In what Venue was the Score 1-1?`: ```sql