output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "english" FROM "effects_of_the_high_german_consonant_shi" WHERE "german"='leben';
## Task Generate a SQL query to answer the following question: `Which English has German of leben?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which English has German of leben?`: ```sql
SELECT "plautdietsch" FROM "effects_of_the_high_german_consonant_shi" WHERE "dutch"='maken';
## Task Generate a SQL query to answer the following question: `Which Plautdietsch has Dutch of maken?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Plautdietsch has Dutch of maken?`: ```sql
SELECT "english" FROM "effects_of_the_high_german_consonant_shi" WHERE "dutch"='tong';
## Task Generate a SQL query to answer the following question: `Which English has Dutch of tong?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which English has Dutch of tong?`: ```sql
SELECT "english" FROM "effects_of_the_high_german_consonant_shi" WHERE "plautdietsch"='aupel';
## Task Generate a SQL query to answer the following question: `Which English has Plautdietsch of aupel?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which English has Plautdietsch of aupel?`: ```sql
SELECT "plautdietsch" FROM "effects_of_the_high_german_consonant_shi" WHERE "low_german"='doon';
## Task Generate a SQL query to answer the following question: `Which Plautdietsch has Low German of doon?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Plautdietsch has Low German of doon?`: ```sql
SELECT "english" FROM "effects_of_the_high_german_consonant_shi" WHERE "dutch"='maken';
## Task Generate a SQL query to answer the following question: `Which English has Dutch of maken?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "effects_of_the_high_german_consonant_shi" ( "german" text, "low_german" text, "plautdietsch" text, "dutch" text, "english" text ); ### SQL Given the database schema, here is the SQL query that answers `Which English has Dutch of maken?`: ```sql
SELECT "country" FROM "missed_the_cut" WHERE "year_s_won"='1988';
## Task Generate a SQL query to answer the following question: `Can you tell me the Country that has the Year(s) Won of 1988?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Country that has the Year(s) Won of 1988?`: ```sql
SELECT AVG("total") FROM "missed_the_cut" WHERE "to_par"<10 AND "country"='south korea';
## Task Generate a SQL query to answer the following question: `Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea?`: ```sql
SELECT "year_s_won" FROM "missed_the_cut" WHERE "country"='united states' AND "total">152;
## Task Generate a SQL query to answer the following question: `Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152?`: ```sql
SELECT "year_s_won" FROM "missed_the_cut" WHERE "to_par">5 AND "total"<155 AND "country"='united states';
## Task Generate a SQL query to answer the following question: `Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); ### SQL Given the database schema, here is the SQL query that answers `Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states?`: ```sql
SELECT "player" FROM "made_the_cut" WHERE "total">293 AND "year_s_won"='1989';
## Task Generate a SQL query to answer the following question: `What golfer has a greater than 293 total, and won in 1989?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); ### SQL Given the database schema, here is the SQL query that answers `What golfer has a greater than 293 total, and won in 1989?`: ```sql
SELECT MAX("total") FROM "made_the_cut" WHERE "to_par"='+3';
## Task Generate a SQL query to answer the following question: `What is the maximum total when the To par is +3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the maximum total when the To par is +3?`: ```sql
SELECT "player" FROM "made_the_cut" WHERE "total"=281;
## Task Generate a SQL query to answer the following question: `What golfer has 281 as their total?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); ### SQL Given the database schema, here is the SQL query that answers `What golfer has 281 as their total?`: ```sql
SELECT MAX("capacity") FROM "pirveli_liga_2011_12" WHERE "stadium"='tsentral stadium (batumi)';
## Task Generate a SQL query to answer the following question: `What is the highest capacity of the tsentral stadium (batumi)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pirveli_liga_2011_12" ( "clubs" text, "position_2010_11" text, "region" text, "stadium" text, "capacity" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the highest capacity of the tsentral stadium (batumi)?`: ```sql
SELECT "clubs" FROM "pirveli_liga_2011_12" WHERE "stadium"='evgrapi shevardnadze stadium';
## Task Generate a SQL query to answer the following question: `What clubs are in the evgrapi shevardnadze stadium?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pirveli_liga_2011_12" ( "clubs" text, "position_2010_11" text, "region" text, "stadium" text, "capacity" real ); ### SQL Given the database schema, here is the SQL query that answers `What clubs are in the evgrapi shevardnadze stadium?`: ```sql
SELECT "stadium" FROM "pirveli_liga_2011_12" WHERE "clubs"='zooveti tbilisi';
## Task Generate a SQL query to answer the following question: `What is the stadium of the zooveti tbilisi club?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "pirveli_liga_2011_12" ( "clubs" text, "position_2010_11" text, "region" text, "stadium" text, "capacity" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the stadium of the zooveti tbilisi club?`: ```sql
SELECT "college" FROM "notable_undrafted_players" WHERE "player"='jim leonhard category:articles with hcards';
## Task Generate a SQL query to answer the following question: `What college had Jim Leonhard Category:articles with hcards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); ### SQL Given the database schema, here is the SQL query that answers `What college had Jim Leonhard Category:articles with hcards?`: ```sql
SELECT "original_nfl_team" FROM "notable_undrafted_players" WHERE "player"='rashied davis category:articles with hcards';
## Task Generate a SQL query to answer the following question: `Who's the original team for Rashied Davis Category:articles with hcards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); ### SQL Given the database schema, here is the SQL query that answers `Who's the original team for Rashied Davis Category:articles with hcards?`: ```sql
SELECT "college" FROM "notable_undrafted_players" WHERE "player"='lance moore category:articles with hcards';
## Task Generate a SQL query to answer the following question: `What college has Lance Moore Category:articles with hcards?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); ### SQL Given the database schema, here is the SQL query that answers `What college has Lance Moore Category:articles with hcards?`: ```sql
SELECT "original_nfl_team" FROM "notable_undrafted_players" WHERE "pos"='s' AND "college"='georgia tech';
## Task Generate a SQL query to answer the following question: `What's the original NFL team when the POS is S and college is Georgia Tech?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the original NFL team when the POS is S and college is Georgia Tech?`: ```sql
SELECT "date_of_birth" FROM "allegations_of_children_born_to_alleged_" WHERE "child"='oliver buell';
## Task Generate a SQL query to answer the following question: `What is the date of birth of Oliver Buell's child?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allegations_of_children_born_to_alleged_" ( "child" text, "date_of_birth" text, "mother" text, "father" text, "dna_testing_status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the date of birth of Oliver Buell's child?`: ```sql
SELECT "father" FROM "allegations_of_children_born_to_alleged_" WHERE "date_of_birth"='january 2, 1842';
## Task Generate a SQL query to answer the following question: `Who is the father that was born on January 2, 1842?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allegations_of_children_born_to_alleged_" ( "child" text, "date_of_birth" text, "mother" text, "father" text, "dna_testing_status" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the father that was born on January 2, 1842?`: ```sql
SELECT "father" FROM "allegations_of_children_born_to_alleged_" WHERE "mother"='presendia huntington buell';
## Task Generate a SQL query to answer the following question: `Who is the father of the child whose mother is Presendia Huntington Buell?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "allegations_of_children_born_to_alleged_" ( "child" text, "date_of_birth" text, "mother" text, "father" text, "dna_testing_status" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the father of the child whose mother is Presendia Huntington Buell?`: ```sql
SELECT "place" FROM "second_round" WHERE "score"='69-69=138' AND "country"='germany';
## Task Generate a SQL query to answer the following question: `What was the place in Germany with a score of 69-69=138?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the place in Germany with a score of 69-69=138?`: ```sql
SELECT "country" FROM "second_round" WHERE "place"='t6' AND "player"='eduardo romero';
## Task Generate a SQL query to answer the following question: `What is the country that has a place of T6 that Eduardo Romero plays for?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the country that has a place of T6 that Eduardo Romero plays for?`: ```sql
SELECT "to_par" FROM "second_round" WHERE "country"='scotland';
## Task Generate a SQL query to answer the following question: `What is the to par for Scotland?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the to par for Scotland?`: ```sql
SELECT "score" FROM "second_round" WHERE "player"='darren clarke';
## Task Generate a SQL query to answer the following question: `What is the score for Darren Clarke?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score for Darren Clarke?`: ```sql
SELECT "country" FROM "second_round" WHERE "place"='t6' AND "score"='69-69=138' AND "player"='niclas fasth';
## Task Generate a SQL query to answer the following question: `What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the country that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played?`: ```sql
SELECT COUNT("losses") FROM "2009_ladder_and_finals" WHERE "against"=1017 AND "wins">12;
## Task Generate a SQL query to answer the following question: `What's the total losses that has more than 12 wins and 1017 against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2009_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the total losses that has more than 12 wins and 1017 against?`: ```sql
SELECT MAX("wins") FROM "2009_ladder_and_finals" WHERE "benalla_dfl"='tatong';
## Task Generate a SQL query to answer the following question: `What's the most wins of Tatong?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2009_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the most wins of Tatong?`: ```sql
SELECT MAX("byes") FROM "2009_ladder_and_finals" WHERE "benalla_dfl"='longwood' AND "against"<1944;
## Task Generate a SQL query to answer the following question: `What's the most number of byes for Longwood having less than 1944 against?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2009_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the most number of byes for Longwood having less than 1944 against?`: ```sql
SELECT MIN("against") FROM "2009_ladder_and_finals" WHERE "draws"<0;
## Task Generate a SQL query to answer the following question: `What is the smallest number against when the draws are less than 0?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2009_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the smallest number against when the draws are less than 0?`: ```sql
SELECT AVG("byes") FROM "2009_ladder_and_finals" WHERE "benalla_dfl"='bonnie doon' AND "wins">16;
## Task Generate a SQL query to answer the following question: `What are the average byes of Bonnie Doon having more than 16 wins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2009_ladder_and_finals" ( "benalla_dfl" text, "wins" real, "losses" real, "draws" real, "byes" real, "against" real ); ### SQL Given the database schema, here is the SQL query that answers `What are the average byes of Bonnie Doon having more than 16 wins?`: ```sql
SELECT "club" FROM "girone_b" WHERE "city"='rovigo';
## Task Generate a SQL query to answer the following question: `What is Rovigo's Club?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girone_b" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Rovigo's Club?`: ```sql
SELECT "2007_08_season" FROM "girone_b" WHERE "club"='a.s. gubbio 1910';
## Task Generate a SQL query to answer the following question: `What 2007-08 had A.S. Gubbio 1910 Club?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "girone_b" ( "club" text, "city" text, "stadium" text, "capacity" real, "2007_08_season" text ); ### SQL Given the database schema, here is the SQL query that answers `What 2007-08 had A.S. Gubbio 1910 Club?`: ```sql
SELECT "country" FROM "made_the_cut" WHERE "total"=295;
## Task Generate a SQL query to answer the following question: `Which country had a total of 295?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real, "finish" text ); ### SQL Given the database schema, here is the SQL query that answers `Which country had a total of 295?`: ```sql
SELECT "date" FROM "third_round_proper" WHERE "home_team"='west ham united';
## Task Generate a SQL query to answer the following question: `On what Date is West Ham United the Home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `On what Date is West Ham United the Home team?`: ```sql
SELECT "date" FROM "third_round_proper" WHERE "score"='4–1';
## Task Generate a SQL query to answer the following question: `On what Date was the Score 4–1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `On what Date was the Score 4–1?`: ```sql
SELECT "away_team" FROM "third_round_proper" WHERE "tie_no"='1';
## Task Generate a SQL query to answer the following question: `What is the Away team of Tie no 1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 the Away team of Tie no 1?`: ```sql
SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='crystal palace';
## Task Generate a SQL query to answer the following question: `What is the Tie no when Crystal Palace is the Away team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 the Tie no when Crystal Palace is the Away team?`: ```sql
SELECT "home_team" FROM "third_round_proper" WHERE "tie_no"='11';
## Task Generate a SQL query to answer the following question: `What is the Home team of Tie no 11?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 the Home team of Tie no 11?`: ```sql
SELECT "date" FROM "third_round_proper" WHERE "home_team"='west ham united';
## Task Generate a SQL query to answer the following question: `On what Date is West Ham United the Home team?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `On what Date is West Ham United the Home team?`: ```sql
SELECT "week_4" FROM "2004" WHERE "week_1"='sheila levell';
## Task Generate a SQL query to answer the following question: `What kind of Week 4 has a Week 1 of sheila levell?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `What kind of Week 4 has a Week 1 of sheila levell?`: ```sql
SELECT "week_2" FROM "2004" WHERE "week_4"='araya robinson';
## Task Generate a SQL query to answer the following question: `What kind of Week 2 has a Week 4 of araya robinson?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `What kind of Week 2 has a Week 4 of araya robinson?`: ```sql
SELECT "week_4" FROM "2004" WHERE "week_2"='tiffany logan';
## Task Generate a SQL query to answer the following question: `What kind of Week 4 has a Week 2 of tiffany logan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `What kind of Week 4 has a Week 2 of tiffany logan?`: ```sql
SELECT "week_5" FROM "2004" WHERE "week_1"='mandy ashford';
## Task Generate a SQL query to answer the following question: `what kind of Week 5 that has a Week 1 of mandy ashford?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `what kind of Week 5 that has a Week 1 of mandy ashford?`: ```sql
SELECT "week_2" FROM "2004" WHERE "week_1"='mandy ashford';
## Task Generate a SQL query to answer the following question: `What kind of Week 2 that has a Week 1 of mandy ashford?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `What kind of Week 2 that has a Week 1 of mandy ashford?`: ```sql
SELECT "week_2" FROM "2004" WHERE "week_1"='mackenzie ryan';
## Task Generate a SQL query to answer the following question: `What Week 2 that has a Week 1 of mackenzie ryan?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2004" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `What Week 2 that has a Week 1 of mackenzie ryan?`: ```sql
SELECT "name" FROM "russia" WHERE "weight"='head coach: aleksandr kabanov';
## Task Generate a SQL query to answer the following question: `What is the name when weight shows head coach: Aleksandr Kabanov?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "russia" ( "name" text, "pos" text, "height" text, "weight" text, "date_of_birth" text, "club" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the name when weight shows head coach: Aleksandr Kabanov?`: ```sql
SELECT "park_and_ride_lot" FROM "stations" WHERE "station_name"='temple square';
## Task Generate a SQL query to answer the following question: `What is the park & ride lot for the Temple Square station?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station_name" text, "opening_year" text, "municipality" text, "park_and_ride_lot" text, "free_fare_zone" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the park & ride lot for the Temple Square station?`: ```sql
SELECT "park_and_ride_lot" FROM "stations" WHERE "station_name"='temple square';
## Task Generate a SQL query to answer the following question: `For the Temple Square station, what is the park & ride lot name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station_name" text, "opening_year" text, "municipality" text, "park_and_ride_lot" text, "free_fare_zone" text ); ### SQL Given the database schema, here is the SQL query that answers `For the Temple Square station, what is the park & ride lot name?`: ```sql
SELECT "station_name" FROM "stations" WHERE "opening_year"='2013' AND "park_and_ride_lot"='no';
## Task Generate a SQL query to answer the following question: `Which station was opened in 2013, with no park & ride lot?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station_name" text, "opening_year" text, "municipality" text, "park_and_ride_lot" text, "free_fare_zone" text ); ### SQL Given the database schema, here is the SQL query that answers `Which station was opened in 2013, with no park & ride lot?`: ```sql
SELECT "free_fare_zone" FROM "stations" WHERE "station_name"='arena';
## Task Generate a SQL query to answer the following question: `Where is the free fare zone for the Arena station?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "stations" ( "station_name" text, "opening_year" text, "municipality" text, "park_and_ride_lot" text, "free_fare_zone" text ); ### SQL Given the database schema, here is the SQL query that answers `Where is the free fare zone for the Arena station?`: ```sql
SELECT "statistic" FROM "individual_single_game_records" WHERE "name"='calvin abueva calvin abueva';
## Task Generate a SQL query to answer the following question: `Calvin Abueva Calvin Abueva had what statistic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `Calvin Abueva Calvin Abueva had what statistic?`: ```sql
SELECT "statistic" FROM "individual_single_game_records" WHERE "opponent"='ssc-r';
## Task Generate a SQL query to answer the following question: `When the opposing team was SSC-R what was the statistic?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `When the opposing team was SSC-R what was the statistic?`: ```sql
SELECT "name" FROM "individual_single_game_records" WHERE "opponent"='ssc-r';
## Task Generate a SQL query to answer the following question: `When SSC-R is the opponent what is the name?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `When SSC-R is the opponent what is the name?`: ```sql
SELECT "stage" FROM "individual_single_game_records" WHERE "statistic"='most points';
## Task Generate a SQL query to answer the following question: `With a statistic of most points, what is the stage?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `With a statistic of most points, what is the stage?`: ```sql
SELECT "total" FROM "individual_single_game_records" WHERE "opponent"='csb uphds';
## Task Generate a SQL query to answer the following question: `When the opposing team was CSB UPHDS what was the total?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `When the opposing team was CSB UPHDS what was the total?`: ```sql
SELECT "name" FROM "individual_single_game_records" WHERE "statistic"='most assists';
## Task Generate a SQL query to answer the following question: `Who had the statistic of most assists?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "individual_single_game_records" ( "statistic" text, "name" text, "total" text, "school" text, "opponent" text, "stage" text ); ### SQL Given the database schema, here is the SQL query that answers `Who had the statistic of most assists?`: ```sql
SELECT "swimmer" FROM "records" WHERE "year"<2011 AND "time"='53.06';
## Task Generate a SQL query to answer the following question: `What is Swimmer, when Year is less than 2011, and when Time is "53.06"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "records" ( "event" text, "time" text, "swimmer" text, "school" text, "year" real ); ### SQL Given the database schema, here is the SQL query that answers `What is Swimmer, when Year is less than 2011, and when Time is "53.06"?`: ```sql
SELECT "school" FROM "records" WHERE "event"='100 backstroke';
## Task Generate a SQL query to answer the following question: `What is School, when Event is "100 Backstroke"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "records" ( "event" text, "time" text, "swimmer" text, "school" text, "year" real ); ### SQL Given the database schema, here is the SQL query that answers `What is School, when Event is "100 Backstroke"?`: ```sql
SELECT "school" FROM "records" WHERE "year"<2013 AND "event"='100 breaststroke';
## Task Generate a SQL query to answer the following question: `What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "records" ( "event" text, "time" text, "swimmer" text, "school" text, "year" real ); ### SQL Given the database schema, here is the SQL query that answers `What is School, when Year is less than 2013, and when Event is "100 Breaststroke"?`: ```sql
SELECT "time" FROM "records" WHERE "year">2011 AND "event"='800 freestyle relay';
## Task Generate a SQL query to answer the following question: `What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "records" ( "event" text, "time" text, "swimmer" text, "school" text, "year" real ); ### SQL Given the database schema, here is the SQL query that answers `What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"?`: ```sql
SELECT "year" FROM "records" WHERE "time"='1:47.55';
## Task Generate a SQL query to answer the following question: `What is Year, when Time is "1:47.55"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "records" ( "event" text, "time" text, "swimmer" text, "school" text, "year" real ); ### SQL Given the database schema, here is the SQL query that answers `What is Year, when Time is "1:47.55"?`: ```sql
SELECT "surface" FROM "singles_11_5_6" WHERE "opponent_in_the_final"='yaroslava shvedova';
## Task Generate a SQL query to answer the following question: `What is the Surface of the match against Yaroslava Shvedova?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_11_5_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Surface of the match against Yaroslava Shvedova?`: ```sql
SELECT "surface" FROM "singles_11_5_6" WHERE "score_in_the_final"='5–7, 6–7 (2–7)';
## Task Generate a SQL query to answer the following question: `What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_11_5_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Surface of the match with a Score in the final of 5–7, 6–7 (2–7)?`: ```sql
SELECT "opponent_in_the_final" FROM "singles_11_5_6" WHERE "surface"='clay' AND "score_in_the_final"='4–6, 3–6';
## Task Generate a SQL query to answer the following question: `Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_11_5_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); ### SQL Given the database schema, here is the SQL query that answers `Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6?`: ```sql
SELECT "date" FROM "singles_11_5_6" WHERE "surface"='clay' AND "score_in_the_final"='6–2, 7–5';
## Task Generate a SQL query to answer the following question: `On what Date is the match played on Clay Surface with a Score in the final of 6–2, 7–5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "singles_11_5_6" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); ### SQL Given the database schema, here is the SQL query that answers `On what Date is the match played on Clay Surface with a Score in the final of 6–2, 7–5?`: ```sql
SELECT "nhl_team" FROM "draft_picks" WHERE "nationality"='finland';
## Task Generate a SQL query to answer the following question: `WHAT IS THE NHL TEAM OF FINLAND?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "draft_picks" ( "round" real, "player" text, "nationality" text, "nhl_team" text, "college_junior_club_team_league" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE NHL TEAM OF FINLAND?`: ```sql
SELECT AVG("to_iran") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "survived"<9 AND "aircraft"='ussr an-26' AND "damaged">3;
## Task Generate a SQL query to answer the following question: `What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "iraqi_air_force_strength_at_start_of_war" ( "aircraft" text, "1990" real, "destroyed" real, "damaged" real, "to_iran" real, "survived" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the to Iran with fewer than 9 survivors, more than 3 damaged, and an ussr an-26 aircraft?`: ```sql
SELECT AVG("destroyed") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "1990">12 AND "damaged">1 AND "to_iran"<4 AND "survived"=6;
## Task Generate a SQL query to answer the following question: `What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "iraqi_air_force_strength_at_start_of_war" ( "aircraft" text, "1990" real, "destroyed" real, "damaged" real, "to_iran" real, "survived" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran less than 4?`: ```sql
SELECT AVG("survived") FROM "iraqi_air_force_strength_at_start_of_war" WHERE "to_iran"<1 AND "aircraft"='brazil tucano' AND "destroyed">1;
## Task Generate a SQL query to answer the following question: `What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "iraqi_air_force_strength_at_start_of_war" ( "aircraft" text, "1990" real, "destroyed" real, "damaged" real, "to_iran" real, "survived" real ); ### SQL Given the database schema, here is the SQL query that answers `What's the average survived with a to Iran less than 1, more than 1 destroyed, and a brazil tucano aircraft?`: ```sql
SELECT "home_team" FROM "replays" WHERE "attendance"='568';
## Task Generate a SQL query to answer the following question: `What home team played when there was an attendance of 568?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What home team played when there was an attendance of 568?`: ```sql
SELECT "away_team" FROM "replays" WHERE "home_team"='horsham';
## Task Generate a SQL query to answer the following question: `What away team did Horsham play?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What away team did Horsham play?`: ```sql
SELECT "home_team" FROM "replays" WHERE "away_team"='hinckley united';
## Task Generate a SQL query to answer the following question: `What home team played Hinckley United?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "replays" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); ### SQL Given the database schema, here is the SQL query that answers `What home team played Hinckley United?`: ```sql
SELECT SUM("pts") FROM "complete_formula_one_results" WHERE "engine"='ferrari tipo 033 v6 tc' AND "year">1987;
## Task Generate a SQL query to answer the following question: `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "pts" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?`: ```sql
SELECT "team_chassis" FROM "complete_formula_one_results" WHERE "year">1987;
## Task Generate a SQL query to answer the following question: `Which Team/Chassis has a Year larger than 1987?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "pts" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Team/Chassis has a Year larger than 1987?`: ```sql
SELECT MAX("pts") FROM "complete_formula_one_results" WHERE "engine"='ferrari tipo 033 v6 tc' AND "year"<1987;
## Task Generate a SQL query to answer the following question: `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year smaller than 1987?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "pts" real ); ### SQL Given the database schema, here is the SQL query that answers `How many points have an Engine of ferrari tipo 033 v6 tc, and a Year smaller than 1987?`: ```sql
SELECT "team_chassis" FROM "complete_formula_one_results" WHERE "pts"<65;
## Task Generate a SQL query to answer the following question: `Which Team/Chassis has less than 65 points?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "complete_formula_one_results" ( "year" real, "team_chassis" text, "engine" text, "tyres" text, "pts" real ); ### SQL Given the database schema, here is the SQL query that answers `Which Team/Chassis has less than 65 points?`: ```sql
SELECT "score" FROM "third_round_proper" WHERE "tie_no"='32';
## Task Generate a SQL query to answer the following question: `What is the score if the Tie no is 32?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 the score if the Tie no is 32?`: ```sql
SELECT "tie_no" FROM "third_round_proper" WHERE "home_team"='scunthorpe united';
## Task Generate a SQL query to answer the following question: `What is the Tie no for Scunthorpe United?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 the Tie no for Scunthorpe United?`: ```sql
SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='stoke city';
## Task Generate a SQL query to answer the following question: `Which home team played against Stoke City?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `Which home team played against Stoke City?`: ```sql
SELECT "away_team" FROM "third_round_proper" WHERE "tie_no"='14';
## Task Generate a SQL query to answer the following question: `Which away team has a Tie no of 14?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `Which away team has a Tie no of 14?`: ```sql
SELECT "date" FROM "third_round_proper" WHERE "home_team"='watford' AND "tie_no"='2';
## Task Generate a SQL query to answer the following question: `On what date does Watford have a Tie no of 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_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 `On what date does Watford have a Tie no of 2?`: ```sql
SELECT "l1_cache" FROM "ultra_low_voltage_processors" WHERE "fsb_speed"='800mhz' AND "clock_speed"='1.2ghz';
## Task Generate a SQL query to answer the following question: `Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ultra_low_voltage_processors" ( "model_number" text, "clock_speed" text, "l1_cache" text, "l2_cache" text, "fsb_speed" text, "clock_multiplier" text, "idle_power" text, "socket" text, "cores" real, "release_date" text ); ### SQL Given the database schema, here is the SQL query that answers `Which L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?`: ```sql
SELECT "score" FROM "third_round" WHERE "player"='tom kite';
## Task Generate a SQL query to answer the following question: `What is the score of Player Tom Kite?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score of Player Tom Kite?`: ```sql
SELECT "to_par" FROM "third_round" WHERE "score"='69-69-73=211';
## Task Generate a SQL query to answer the following question: `What is the To Par that has a 69-69-73=211 score?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the To Par that has a 69-69-73=211 score?`: ```sql
SELECT "to_par" FROM "third_round" WHERE "place"='t1' AND "score"='66-71-66=203';
## Task Generate a SQL query to answer the following question: `What is the Top that has a 66-71-66=203 score and a place of t1?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Top that has a 66-71-66=203 score and a place of t1?`: ```sql
SELECT "player" FROM "third_round" WHERE "to_par"='+1' AND "score"='71-67-73=211';
## Task Generate a SQL query to answer the following question: `What player has a To Par of +1 with a score of 71-67-73=211?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); ### SQL Given the database schema, here is the SQL query that answers `What player has a To Par of +1 with a score of 71-67-73=211?`: ```sql
SELECT "player" FROM "final_round" WHERE "score"='72-68-78-71=289';
## Task Generate a SQL query to answer the following question: `Which Player has a Score of 72-68-78-71=289?` ### 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 `Which Player has a Score of 72-68-78-71=289?`: ```sql
SELECT "place" FROM "first_round" WHERE "score"=66;
## Task Generate a SQL query to answer the following question: `What is the Place for the 66 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 is the Place for the 66 Score?`: ```sql
SELECT "country" FROM "first_round" WHERE "score"=67 AND "player"='phil mickelson';
## Task Generate a SQL query to answer the following question: `What Country has a 67 score by Phil Mickelson?` ### 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 Country has a 67 score by Phil Mickelson?`: ```sql
SELECT "week_5" FROM "2002" WHERE "week_3"='cathi o''malley';
## Task Generate a SQL query to answer the following question: `When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2002" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `When Cathi O'Malley was featured in Week 3, who was the cyber girl for Week 5?`: ```sql
SELECT "week_2" FROM "2002" WHERE "week_3"='star zemba';
## Task Generate a SQL query to answer the following question: `When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2002" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `When Star Zemba was featured in Week 3, who was the cyber girl for Week 2?`: ```sql
SELECT "week_3" FROM "2002" WHERE "week_2"='heather christensen';
## Task Generate a SQL query to answer the following question: `When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2002" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `When Heather Christensen was featured in Week 2, who was the cyber girl for Week 3?`: ```sql
SELECT "week_5" FROM "2002" WHERE "week_2"='audra lynn';
## Task Generate a SQL query to answer the following question: `When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "2002" ( "week_1" text, "week_2" text, "week_3" text, "week_4" text, "week_5" text ); ### SQL Given the database schema, here is the SQL query that answers `When Audra Lynn was featured in Week 2, who was the cyber girl for Week 5?`: ```sql
SELECT "agg" FROM "qualifying_round" WHERE "team_1"='tirana';
## Task Generate a SQL query to answer the following question: `What is Agg., when Team 1 is "Tirana"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Agg., when Team 1 is "Tirana"?`: ```sql
SELECT "2nd_leg" FROM "qualifying_round" WHERE "team_2"='dunaferr';
## Task Generate a SQL query to answer the following question: `What is 2nd Leg, when Team 2 is "Dunaferr"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualifying_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); ### SQL Given the database schema, here is the SQL query that answers `What is 2nd Leg, when Team 2 is "Dunaferr"?`: ```sql
SELECT "elimination" FROM "six_man_elimination_tag_team_match" WHERE "time"='13:43';
## Task Generate a SQL query to answer the following question: `What is the elimination number for the time 13:43?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the elimination number for the time 13:43?`: ```sql
SELECT "elimination" FROM "six_man_elimination_tag_team_match" WHERE "eliminated_by"='sonjay dutt';
## Task Generate a SQL query to answer the following question: `What Elimination number is listed againt Eliminated by Sonjay Dutt?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "six_man_elimination_tag_team_match" ( "elimination" text, "wrestler" text, "eliminated_by" text, "elimination_move" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What Elimination number is listed againt Eliminated by Sonjay Dutt?`: ```sql