output
stringlengths
27
479
instruction
stringlengths
407
1.39k
SELECT "original_title" FROM "submissions" WHERE "film_title_used_in_nomination"='brecha en el silencio';
## Task Generate a SQL query to answer the following question: `What's the original title of the nomination title, "brecha en el silencio"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the original title of the nomination title, "brecha en el silencio"?`: ```sql
SELECT "year_ceremony" FROM "submissions" WHERE "film_title_used_in_nomination"='sangrador';
## Task Generate a SQL query to answer the following question: `What year has a nomination title of "sangrador"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What year has a nomination title of "sangrador"?`: ```sql
SELECT "year_ceremony" FROM "submissions" WHERE "original_title"='el tinte de la fama';
## Task Generate a SQL query to answer the following question: `What year has a original title of "el tinte de la fama"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What year has a original title of "el tinte de la fama"?`: ```sql
SELECT "result" FROM "submissions" WHERE "director"='elia schneider' AND "film_title_used_in_nomination"='punto y raya';
## Task Generate a SQL query to answer the following question: `What's the result for director elia schneider's punto y raya?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "submissions" ( "year_ceremony" text, "original_title" text, "film_title_used_in_nomination" text, "director" text, "result" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the result for director elia schneider's punto y raya?`: ```sql
SELECT "score_points" FROM "qualification" WHERE "total"='20';
## Task Generate a SQL query to answer the following question: `What is the score points when the total is 20?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score points when the total is 20?`: ```sql
SELECT "score_points" FROM "qualification" WHERE "event"='wc kerrville' AND "rank_points"='8';
## Task Generate a SQL query to answer the following question: `What is the score points in WC Kerrville, when rank was points of 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score points in WC Kerrville, when rank was points of 8?`: ```sql
SELECT "score_points" FROM "qualification" WHERE "total"='16';
## Task Generate a SQL query to answer the following question: `What is the score points when the total is 16?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score points when the total is 16?`: ```sql
SELECT "score_points" FROM "qualification" WHERE "rank_points"='3';
## Task Generate a SQL query to answer the following question: `What is the score points when the rank points is 3?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the score points when the rank points is 3?`: ```sql
SELECT "total" FROM "qualification" WHERE "score_points"='olympic bronze medalist';
## Task Generate a SQL query to answer the following question: `What is the total when the score points show Olympic bronze medalist?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "qualification" ( "shooter" text, "event" text, "rank_points" text, "score_points" text, "total" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the total when the score points show Olympic bronze medalist?`: ```sql
SELECT "winning_constructor" FROM "other_grands_prix" WHERE "circuit"='lasarte';
## Task Generate a SQL query to answer the following question: `What Winning constructor has a Circuit of lasarte?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Winning constructor has a Circuit of lasarte?`: ```sql
SELECT "date" FROM "other_grands_prix" WHERE "winning_driver"='ugo sivocci';
## Task Generate a SQL query to answer the following question: `What Date has a Winning driver of ugo sivocci?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Date has a Winning driver of ugo sivocci?`: ```sql
SELECT "report" FROM "other_grands_prix" WHERE "winning_driver"='mario razzauti';
## Task Generate a SQL query to answer the following question: `What Report has a Winning driver of mario razzauti?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Report has a Winning driver of mario razzauti?`: ```sql
SELECT "date" FROM "other_grands_prix" WHERE "circuit"='cremona';
## Task Generate a SQL query to answer the following question: `What Date has a Circuit of cremona?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Date has a Circuit of cremona?`: ```sql
SELECT "name" FROM "other_grands_prix" WHERE "winning_constructor"='ansaldo';
## Task Generate a SQL query to answer the following question: `What Name has a Winning constructor of ansaldo?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Name has a Winning constructor of ansaldo?`: ```sql
SELECT "winning_driver" FROM "other_grands_prix" WHERE "winning_constructor"='sunbeam';
## Task Generate a SQL query to answer the following question: `What Winning driver has a Winning constructor of sunbeam?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text ); ### SQL Given the database schema, here is the SQL query that answers `What Winning driver has a Winning constructor of sunbeam?`: ```sql
SELECT AVG("total") FROM "medals_table" WHERE "bronze"<0;
## Task Generate a SQL query to answer the following question: `What is the average total for 0 bronze?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "medals_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the average total for 0 bronze?`: ```sql
SELECT "time" FROM "track_listing" WHERE "composer_s"='roz' AND "title"='\"잘해봐 (good luck!!)\"';
## Task Generate a SQL query to answer the following question: `What is the time entry for the track composed by ROZ, with the title "잘해봐 (good luck!!)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the time entry for the track composed by ROZ, with the title "잘해봐 (good luck!!)"?`: ```sql
SELECT "time" FROM "track_listing" WHERE "title"='\"잘해봐 (good luck!!)\"';
## Task Generate a SQL query to answer the following question: `How long is the track "잘해봐 (good luck!!)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `How long is the track "잘해봐 (good luck!!)"?`: ```sql
SELECT "title" FROM "track_listing" WHERE "lyricist_s"='roz' AND "arranger_s"='yongmin lee';
## Task Generate a SQL query to answer the following question: `What is the title of the track with lyricist ROZ and arranger Yongmin Lee?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the title of the track with lyricist ROZ and arranger Yongmin Lee?`: ```sql
SELECT "lyricist_s" FROM "track_listing" WHERE "composer_s"='roz' AND "title"='\"요리왕 (cooking? cooking!)\"';
## Task Generate a SQL query to answer the following question: `Who was the lyricist for composer ROZ on title "요리왕 (cooking? cooking!)"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the lyricist for composer ROZ on title "요리왕 (cooking? cooking!)"?`: ```sql
SELECT "lyricist_s" FROM "track_listing" WHERE "composer_s"='haewon park';
## Task Generate a SQL query to answer the following question: `Who was the lyricist for composer Haewon Park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the lyricist for composer Haewon Park?`: ```sql
SELECT "time" FROM "track_listing" WHERE "arranger_s"='roz';
## Task Generate a SQL query to answer the following question: `What are the lengths of the tracks arranged by ROZ?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What are the lengths of the tracks arranged by ROZ?`: ```sql
SELECT "host_city" FROM "list_of_titleholders_and_runners_up" WHERE "2nd_runner_up"='woon yeow';
## Task Generate a SQL query to answer the following question: `What host city had a 2nd runner up of woon yeow?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); ### SQL Given the database schema, here is the SQL query that answers `What host city had a 2nd runner up of woon yeow?`: ```sql
SELECT SUM("year") FROM "list_of_titleholders_and_runners_up" WHERE "winner"='caroline lubrez';
## Task Generate a SQL query to answer the following question: `How many years did caroline lubrez win?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); ### SQL Given the database schema, here is the SQL query that answers `How many years did caroline lubrez win?`: ```sql
SELECT "winner" FROM "list_of_titleholders_and_runners_up" WHERE "year">2007 AND "1st_runner_up"='deyra cimen';
## Task Generate a SQL query to answer the following question: `Who won after 2007 when deyra cimen was the 1st runner up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); ### SQL Given the database schema, here is the SQL query that answers `Who won after 2007 when deyra cimen was the 1st runner up?`: ```sql
SELECT COUNT("year") FROM "list_of_titleholders_and_runners_up" WHERE "2nd_runner_up"='assel isabaeva';
## Task Generate a SQL query to answer the following question: `How many years was assel isabaeva the 2nd runner up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); ### SQL Given the database schema, here is the SQL query that answers `How many years was assel isabaeva the 2nd runner up?`: ```sql
SELECT "2nd_runner_up" FROM "list_of_titleholders_and_runners_up" WHERE "year">1994 AND "host_city"='istanbul' AND "1st_runner_up"='veronica laskaeva';
## Task Generate a SQL query to answer the following question: `Who was the 2nd runner up in istanbul after 1994 when veronica laskaeva was the 1st runner up?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "list_of_titleholders_and_runners_up" ( "host_city" text, "year" real, "winner" text, "1st_runner_up" text, "2nd_runner_up" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the 2nd runner up in istanbul after 1994 when veronica laskaeva was the 1st runner up?`: ```sql
SELECT MAX("area_km_2") FROM "parishes" WHERE "official_name"='stanley' AND "population">'1,817';
## Task Generate a SQL query to answer the following question: `Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?`: ```sql
SELECT COUNT("area_km_2") FROM "parishes" WHERE "population"='1,215';
## Task Generate a SQL query to answer the following question: `How much Area km 2 have a Population of 1,215?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `How much Area km 2 have a Population of 1,215?`: ```sql
SELECT "census_ranking" FROM "parishes" WHERE "population"<879 AND "area_km_2">537.62;
## Task Generate a SQL query to answer the following question: `Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Census Ranking has a Population smaller than 879, and an Area km 2 larger than 537.62?`: ```sql
SELECT "census_ranking" FROM "parishes" WHERE "area_km_2">753.06 AND "official_name"='stanley';
## Task Generate a SQL query to answer the following question: `Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Census Ranking has an Area km 2 larger than 753.06, and an Official Name of stanley?`: ```sql
SELECT MIN("area_km_2") FROM "parishes" WHERE "official_name"='southampton' AND "population">'1,601';
## Task Generate a SQL query to answer the following question: `Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); ### SQL Given the database schema, here is the SQL query that answers `Which Area km 2 has an Official Name of southampton, and a Population larger than 1,601?`: ```sql
SELECT MIN("lost") FROM "third_division_final_table" WHERE "team"='kirkby town' AND "goals_for">83;
## Task Generate a SQL query to answer the following question: `What is Kirkby Town's lowest lost with more than 83 goals?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Kirkby Town's lowest lost with more than 83 goals?`: ```sql
SELECT MIN("position") FROM "third_division_final_table" WHERE "points_1"='27 2' AND "drawn"<9;
## Task Generate a SQL query to answer the following question: `What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest position with points 1 of 27 2 and fewer than 9 drawn?`: ```sql
SELECT "goal_difference" FROM "third_division_final_table" WHERE "position"=15;
## Task Generate a SQL query to answer the following question: `What is the goal difference number with a position of 15?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "third_division_final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the goal difference number with a position of 15?`: ```sql
SELECT "original_album" FROM "disc_1" WHERE "english_translation"='\"with you\"';
## Task Generate a SQL query to answer the following question: `What is Original Album, when English Translation is "With You"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Original Album, when English Translation is "With You"?`: ```sql
SELECT "original_album" FROM "disc_1" WHERE "english_translation"='\"what else will i hear\"';
## Task Generate a SQL query to answer the following question: `What is the Original Album, when English Translation is "What Else Will I Hear"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the Original Album, when English Translation is "What Else Will I Hear"?`: ```sql
SELECT "english_translation" FROM "disc_1" WHERE "lyricist_s"='giorgos moukidis' AND "original_album"='ena (new edition)';
## Task Generate a SQL query to answer the following question: `What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is English Translation, when Lyricist(s) is "Giorgos Moukidis", and when Original Album is "Ena (New Edition)"`: ```sql
SELECT "original_album" FROM "disc_1" WHERE "time"='3:39';
## Task Generate a SQL query to answer the following question: `What is Original Album, when Time is "3:39"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Original Album, when Time is "3:39"?`: ```sql
SELECT "time" FROM "disc_1" WHERE "lyricist_s"='giorgos moukidis' AND "english_translation"='\"nowhere\"';
## Task Generate a SQL query to answer the following question: `What is Time, when Lyricist(s) is Giorgos Moukidis, and when English Translation is "Nowhere"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Time, when Lyricist(s) is Giorgos Moukidis, and when English Translation is "Nowhere"?`: ```sql
SELECT "time" FROM "disc_1" WHERE "composer_s"='kyriakos papadopoulos';
## Task Generate a SQL query to answer the following question: `What is Time, when Composer(s) is "Kyriakos Papadopoulos"?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "disc_1" ( "english_translation" text, "original_album" text, "lyricist_s" text, "composer_s" text, "time" text ); ### SQL Given the database schema, here is the SQL query that answers `What is Time, when Composer(s) is "Kyriakos Papadopoulos"?`: ```sql
SELECT "visitor" FROM "regular_season" WHERE "date"='march 27';
## Task Generate a SQL query to answer the following question: `Who was the visitor on March 27?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the visitor on March 27?`: ```sql
SELECT "score" FROM "regular_season" WHERE "date"='february 8';
## Task Generate a SQL query to answer the following question: `What was the score of the game on February 8?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score of the game on February 8?`: ```sql
SELECT "record" FROM "regular_season" WHERE "date"='december 4';
## Task Generate a SQL query to answer the following question: `What was their record on December 4?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was their record on December 4?`: ```sql
SELECT "score" FROM "regular_season" WHERE "home"='pittsburgh penguins' AND "date"='february 21';
## Task Generate a SQL query to answer the following question: `What was the score on February 21 when the home team was the Pittsburgh Penguins?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the score on February 21 when the home team was the Pittsburgh Penguins?`: ```sql
SELECT MIN("money") FROM "final_leaderboard" WHERE "to_par">26;
## Task Generate a SQL query to answer the following question: `WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?`: ```sql
SELECT "score" FROM "final_leaderboard" WHERE "money"=85 AND "player"='clarence hackney';
## Task Generate a SQL query to answer the following question: `WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE SCORE WITH $85 FOR CLARENCE HACKNEY?`: ```sql
SELECT MIN("money") FROM "final_leaderboard" WHERE "score"='74-74-76-74=298';
## Task Generate a SQL query to answer the following question: `WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" real ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE LOWEST MONEY WITH 74-74-76-74=298 SCORE?`: ```sql
SELECT MAX("week") FROM "schedule" WHERE "date"='september 14, 1980';
## Task Generate a SQL query to answer the following question: `What is the week number for the date of September 14, 1980?` ### 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 week number for the date of September 14, 1980?`: ```sql
SELECT "week" FROM "schedule" WHERE "result"='l 14–9';
## Task Generate a SQL query to answer the following question: `What week was the result l 14–9?` ### 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 week was the result l 14–9?`: ```sql
SELECT COUNT("week") FROM "schedule" WHERE "attendance"='44,132';
## Task Generate a SQL query to answer the following question: `What is the week number with attendance of 44,132?` ### 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 week number with attendance of 44,132?`: ```sql
SELECT "winner" FROM "race_calendar" WHERE "circuit"='eastern creek raceway';
## Task Generate a SQL query to answer the following question: `Who was the winner for the circuit Eastern Creek Raceway?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `Who was the winner for the circuit Eastern Creek Raceway?`: ```sql
SELECT "city_state" FROM "race_calendar" WHERE "winner"='darren hossack' AND "circuit"='phillip island grand prix circuit';
## Task Generate a SQL query to answer the following question: `What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the city for the winner Darren Hossack at the circuit of phillip island grand prix circuit?`: ```sql
SELECT "city_state" FROM "race_calendar" WHERE "circuit"='mallala motor sport park';
## Task Generate a SQL query to answer the following question: `What city was the circuit of mallala motor sport park?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text ); ### SQL Given the database schema, here is the SQL query that answers `What city was the circuit of mallala motor sport park?`: ```sql
SELECT "to_par" FROM "first_round" WHERE "place"='t1' AND "country"='india';
## Task Generate a SQL query to answer the following question: `Which To par has a Place of t1, and a Country of india?` ### 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 To par has a Place of t1, and a Country of india?`: ```sql
SELECT "place" FROM "first_round" WHERE "player"='brian gay';
## Task Generate a SQL query to answer the following question: `What is Brian Gay's place?` ### 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 Brian Gay's place?`: ```sql
SELECT "country" FROM "first_round" WHERE "score"<70 AND "place"='t3' AND "player"='andrés romero';
## Task Generate a SQL query to answer the following question: `Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?` ### 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 Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero?`: ```sql
SELECT "order_year" FROM "fleet_roster" WHERE "length_ft"='30' AND "model"='05.505';
## Task Generate a SQL query to answer the following question: `What order year has a 30 Length (ft.) and 05.505 model?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); ### SQL Given the database schema, here is the SQL query that answers `What order year has a 30 Length (ft.) and 05.505 model?`: ```sql
SELECT "builder" FROM "fleet_roster" WHERE "order_year"='2001-02';
## Task Generate a SQL query to answer the following question: `What builder has a 2001-02 order year?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); ### SQL Given the database schema, here is the SQL query that answers `What builder has a 2001-02 order year?`: ```sql
SELECT "order_year" FROM "fleet_roster" WHERE "builder"='obi' AND "length_ft"='30' AND "model"='05.505';
## Task Generate a SQL query to answer the following question: `What is the order year of obi builder and 05.505 model that is 30 feet long?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "fleet_roster" ( "order_year" text, "builder" text, "model" text, "length_ft" text, "engine_transmission" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the order year of obi builder and 05.505 model that is 30 feet long?`: ```sql
SELECT "career" FROM "season_goalscorers" WHERE "pct"<1 AND "player"='serhiy konovalov';
## Task Generate a SQL query to answer the following question: `What is the career of player serhiy konovalov, who has less than 1 pct.?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the career of player serhiy konovalov, who has less than 1 pct.?`: ```sql
SELECT "career" FROM "season_goalscorers" WHERE "player"='andriy husyn';
## Task Generate a SQL query to answer the following question: `What is the career of player andriy husyn?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_goalscorers" ( "player" text, "career" text, "goals_caps" text, "pct" real, "playing_status" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the career of player andriy husyn?`: ```sql
SELECT MIN("year") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "working_horses"='3900.1' AND "cows"<3852.1;
## Task Generate a SQL query to answer the following question: `What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?`: ```sql
SELECT "bulls" FROM "ukrainian_ssr_livestock_thousand_head" WHERE "oxen">113.8 AND "sheep_and_goats">4533.4 AND "cows"<3987 AND "total_horses">5056.5;
## Task Generate a SQL query to answer the following question: `What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?`: ```sql
SELECT COUNT("year") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "pigs"<2089.2;
## Task Generate a SQL query to answer the following question: `How many years had fewer than 2089.2 pigs?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real ); ### SQL Given the database schema, here is the SQL query that answers `How many years had fewer than 2089.2 pigs?`: ```sql
SELECT MIN("total_horses") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "total_cattle"<6274.1 AND "oxen"<156.5 AND "bulls"='40.0' AND "cows"<3377;
## Task Generate a SQL query to answer the following question: `What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real ); ### SQL Given the database schema, here is the SQL query that answers `What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?`: ```sql
SELECT MIN("sheep_and_goats") FROM "ukrainian_ssr_livestock_thousand_head" WHERE "year">1931 AND "cows"<2518 AND "total_horses">2604.8;
## Task Generate a SQL query to answer the following question: `What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "ukrainian_ssr_livestock_thousand_head" ( "year" real, "total_horses" real, "working_horses" text, "total_cattle" real, "oxen" real, "bulls" text, "cows" real, "pigs" real, "sheep_and_goats" real ); ### SQL Given the database schema, here is the SQL query that answers `What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses?`: ```sql
SELECT "decision" FROM "game_log" WHERE "record"='31-43-2';
## Task Generate a SQL query to answer the following question: `For the game ending with a record of 31-43-2, what was the decision?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `For the game ending with a record of 31-43-2, what was the decision?`: ```sql
SELECT "decision" FROM "game_log" WHERE "record"='28-35-1';
## Task Generate a SQL query to answer the following question: `For the game that ended with a record of 28-35-1, what was the decision?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `For the game that ended with a record of 28-35-1, what was the decision?`: ```sql
SELECT MAX("attendance") FROM "game_log" WHERE "opponent"='phoenix coyotes';
## Task Generate a SQL query to answer the following question: `WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?`: ```sql
SELECT "decision" FROM "game_log" WHERE "date"='november 28';
## Task Generate a SQL query to answer the following question: `WHAT IS THE DECISION FOR NOVEMBER 28?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "decision" text, "attendance" real, "record" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE DECISION FOR NOVEMBER 28?`: ```sql
SELECT "mission" FROM "resident_heads_of_missions" WHERE "location"='rome';
## Task Generate a SQL query to answer the following question: `what is the mission when the location is rome?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the mission when the location is rome?`: ```sql
SELECT "mission" FROM "resident_heads_of_missions" WHERE "head_of_mission"='pedro blandino';
## Task Generate a SQL query to answer the following question: `what is the mission when the head of mission is pedro blandino?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the mission when the head of mission is pedro blandino?`: ```sql
SELECT "location" FROM "resident_heads_of_missions" WHERE "type"='embassy' AND "head_of_mission"='josé manuel castillo';
## Task Generate a SQL query to answer the following question: `what is the location when the type is embassy and the head of mission is josé manuel castillo?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the location when the type is embassy and the head of mission is josé manuel castillo?`: ```sql
SELECT "location" FROM "resident_heads_of_missions" WHERE "type"='embassy' AND "mission"='panama';
## Task Generate a SQL query to answer the following question: `what is the location when the type is embassy and the mission is panama?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the location when the type is embassy and the mission is panama?`: ```sql
SELECT "mission" FROM "resident_heads_of_missions" WHERE "location"='brasilia';
## Task Generate a SQL query to answer the following question: `what is the mission when the location is brasilia?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the mission when the location is brasilia?`: ```sql
SELECT "type" FROM "resident_heads_of_missions" WHERE "position"='ambassador' AND "location"='rabat';
## Task Generate a SQL query to answer the following question: `what is the type when the position is ambassador and the location is rabat?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "resident_heads_of_missions" ( "mission" text, "location" text, "type" text, "head_of_mission" text, "position" text, "list" text ); ### SQL Given the database schema, here is the SQL query that answers `what is the type when the position is ambassador and the location is rabat?`: ```sql
SELECT "wins" FROM "season_by_season" WHERE "pct"='.848';
## Task Generate a SQL query to answer the following question: `How many wins when the pct, is .848?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); ### SQL Given the database schema, here is the SQL query that answers `How many wins when the pct, is .848?`: ```sql
SELECT "season" FROM "season_by_season" WHERE "losses"='34';
## Task Generate a SQL query to answer the following question: `Which season had 34 losses?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); ### SQL Given the database schema, here is the SQL query that answers `Which season had 34 losses?`: ```sql
SELECT "finish" FROM "season_by_season" WHERE "season"='playoffs';
## Task Generate a SQL query to answer the following question: `What was the finish in the playoffs season?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); ### SQL Given the database schema, here is the SQL query that answers `What was the finish in the playoffs season?`: ```sql
SELECT "wins" FROM "season_by_season" WHERE "league"='playoffs';
## Task Generate a SQL query to answer the following question: `What is the number of wins in the playoffs league?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the number of wins in the playoffs league?`: ```sql
SELECT "league" FROM "season_by_season" WHERE "losses"='0';
## Task Generate a SQL query to answer the following question: `What is the league with 0 losses?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "season_by_season" ( "season" text, "league" text, "finish" text, "wins" text, "losses" text, "pct" text ); ### SQL Given the database schema, here is the SQL query that answers `What is the league with 0 losses?`: ```sql
SELECT "place" FROM "third_round" WHERE "score"='72-66-75=213';
## Task Generate a SQL query to answer the following question: `In what place is the player with a score of 72-66-75=213?` ### 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 `In what place is the player with a score of 72-66-75=213?`: ```sql
SELECT "country" FROM "third_round" WHERE "score"='68-71-76=215';
## Task Generate a SQL query to answer the following question: `From what country is the player with a score of 68-71-76=215?` ### 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 `From what country is the player with a score of 68-71-76=215?`: ```sql
SELECT "player" FROM "third_round" WHERE "score"='68-69-73=210';
## Task Generate a SQL query to answer the following question: `Which player has a score of 68-69-73=210` ### 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 `Which player has a score of 68-69-73=210`: ```sql
SELECT "player" FROM "made_the_cut" WHERE "finish"='t66';
## Task Generate a SQL query to answer the following question: `Who has a finish of t66?` ### 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 `Who has a finish of t66?`: ```sql
SELECT SUM("total") FROM "made_the_cut" WHERE "player"='wayne grady';
## Task Generate a SQL query to answer the following question: `What is Wayne Grady's 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 is Wayne Grady's total?`: ```sql
SELECT "gr_ne" FROM "by_state" WHERE "rett"='0.6%' AND "state"='tyrol';
## Task Generate a SQL query to answer the following question: `What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); ### SQL Given the database schema, here is the SQL query that answers `What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?`: ```sql
SELECT "rett" FROM "by_state" WHERE "linke"='0.1%' AND "fritz"='1.3%';
## Task Generate a SQL query to answer the following question: `What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); ### SQL Given the database schema, here is the SQL query that answers `What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%?`: ```sql
SELECT "gr_ne" FROM "by_state" WHERE "fritz"='1.3%';
## Task Generate a SQL query to answer the following question: `What percent did GRÜNE get in the state where FRITZ got 1.3%?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); ### SQL Given the database schema, here is the SQL query that answers `What percent did GRÜNE get in the state where FRITZ got 1.3%?`: ```sql
SELECT "linke" FROM "by_state" WHERE "state"='tyrol';
## Task Generate a SQL query to answer the following question: `What percent did LINKE get in Tyrol?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); ### SQL Given the database schema, here is the SQL query that answers `What percent did LINKE get in Tyrol?`: ```sql
SELECT "stark" FROM "by_state" WHERE "state"='upper austria';
## Task Generate a SQL query to answer the following question: `What percent did STARK get in upper austria?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "by_state" ( "state" text, "gr_ne" text, "fritz" text, "rett" text, "linke" text, "stark" text ); ### SQL Given the database schema, here is the SQL query that answers `What percent did STARK get in upper austria?`: ```sql
SELECT MIN("against") FROM "1971" WHERE "date"='27/03/1971';
## Task Generate a SQL query to answer the following question: `What's the lowest against on 27/03/1971?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What's the lowest against on 27/03/1971?`: ```sql
SELECT "venue" FROM "1971" WHERE "against">14 AND "opposing_teams"='scotland' AND "status"='five nations';
## Task Generate a SQL query to answer the following question: `What venue has an against over 14, an opposing team of scotland, and a status of five nations?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "1971" ( "opposing_teams" text, "against" real, "date" text, "venue" text, "status" text ); ### SQL Given the database schema, here is the SQL query that answers `What venue has an against over 14, an opposing team of scotland, and a status of five nations?`: ```sql
SELECT "player" FROM "third_round" WHERE "place"='t4' AND "score"='71-74-66=211';
## Task Generate a SQL query to answer the following question: `What is the T4 Place Player with a Score of 71-74-66=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 is the T4 Place Player with a Score of 71-74-66=211?`: ```sql
SELECT "score" FROM "third_round" WHERE "to_par"='–1' AND "player"='henrik stenson';
## Task Generate a SQL query to answer the following question: `With a To par of –1, what is Player Henrik Stenson's 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 `With a To par of –1, what is Player Henrik Stenson's Score?`: ```sql
SELECT "to_par" FROM "third_round" WHERE "score"='73-67-68=208';
## Task Generate a SQL query to answer the following question: `What is the To par of the Player with a Score of 73-67-68=208?` ### 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 of the Player with a Score of 73-67-68=208?`: ```sql
SELECT "project_management" FROM "comparison_of_features" WHERE "blogs"='no' AND "xml_forms_management_and_workflow"='no' AND "enterprise_search"='no' AND "social_software"='no';
## Task Generate a SQL query to answer the following question: `WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?`: ```sql
SELECT "charting" FROM "comparison_of_features" WHERE "blogs"='no' AND "discussion"='no';
## Task Generate a SQL query to answer the following question: `WHAT CHARTING HAS NO BLOGS OR DISCUSSION?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT CHARTING HAS NO BLOGS OR DISCUSSION?`: ```sql
SELECT "social_software" FROM "comparison_of_features" WHERE "discussion"='no' AND "time_tracking"='no' AND "charting"='no';
## Task Generate a SQL query to answer the following question: `WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?` ### Database Schema This query will run on a database whose schema is represented in this string: CREATE TABLE "comparison_of_features" ( "name" text, "wikis" text, "web_publishing" text, "calendaring_software" text, "project_management" text, "workflow_system" text, "document_management" text, "list_management" text, "xml_forms_management_and_workflow" text, "discussion" text, "blogs" text, "surveys" text, "time_tracking" text, "business_intelligence" text, "charting" text, "bookmarking_tagging_rating_and_comments" text, "social_software" text, "enterprise_search" text, "office_suite" text ); ### SQL Given the database schema, here is the SQL query that answers `WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?`: ```sql