cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Record for week 12?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "nfl_recap" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record for week 12?`:
```sql
                SELECT "record" FROM "regular_season" WHERE "week"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the Opponent with a time of 2:05 p.m., and the results were w 26–20?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "nfl_recap" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Opponent with a time of 2:05 p.m., and the results were w 26–20?`:
```sql
                SELECT "opponent" FROM "regular_season" WHERE "time"='2:05 p.m.' AND "result"='w 26–20';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Week for october 12, 2008?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "regular_season" (
  "week" real,
  "date" text,
  "time" text,
  "opponent" text,
  "result" text,
  "game_site" text,
  "nfl_recap" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Week for october 12, 2008?`:
```sql
                SELECT MAX("week") FROM "regular_season" WHERE "date"='october 12, 2008';
```
## Task
Generate a SQL query to answer the following question:
`Which team has 1 as the drawn, with 2 as the lost?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has 1 as the drawn, with 2 as the lost?`:
```sql
                SELECT "team" FROM "campeonato_paulista" WHERE "drawn"=1 AND "lost"=2;
```
## Task
Generate a SQL query to answer the following question:
`How many drawns have 7 for the lost?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many drawns have 7 for the lost?`:
```sql
                SELECT SUM("drawn") FROM "campeonato_paulista" WHERE "lost"=7;
```
## Task
Generate a SQL query to answer the following question:
`What is the average played that has a drawn greater than 1, with an against greater than 16?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "campeonato_paulista" (
  "position" real,
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "difference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average played that has a drawn greater than 1, with an against greater than 16?`:
```sql
                SELECT AVG("played") FROM "campeonato_paulista" WHERE "drawn">1 AND "against">16;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Maidens with a number of Matches that is 2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "first_class_bowling_statistics" (
  "player" text,
  "matches" real,
  "overs" real,
  "maidens" real,
  "runs" real,
  "wickets" real,
  "average" text,
  "economy" real,
  "best_bowling" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Maidens with a number of Matches that is 2?`:
```sql
                SELECT SUM("maidens") FROM "first_class_bowling_statistics" WHERE "matches"=2;
```
## Task
Generate a SQL query to answer the following question:
`Ranking higher than 2, what Team has Player Paolo Maldini?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "men" (
  "rank" real,
  "name" text,
  "team" text,
  "country" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Ranking higher than 2, what Team has Player Paolo Maldini?`:
```sql
                SELECT "team" FROM "men" WHERE "rank">2 AND "name"='paolo maldini';
```
## Task
Generate a SQL query to answer the following question:
`What Country is in Rank 2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "men" (
  "rank" real,
  "name" text,
  "team" text,
  "country" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Country is in Rank 2?`:
```sql
                SELECT "country" FROM "men" WHERE "rank"=2;
```
## Task
Generate a SQL query to answer the following question:
`What date was Leo Mainoldi (24) the leading scorer?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was Leo Mainoldi (24) the leading scorer?`:
```sql
                SELECT "date" FROM "march" WHERE "leading_scorer"='leo mainoldi (24)';
```
## Task
Generate a SQL query to answer the following question:
`Who is the visitor with the 14-10 record?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the visitor with the 14-10 record?`:
```sql
                SELECT "visitor" FROM "march" WHERE "record"='14-10';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of the 73-82 score?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of the 73-82 score?`:
```sql
                SELECT "record" FROM "march" WHERE "score"='73-82';
```
## Task
Generate a SQL query to answer the following question:
`Who is the leading scorer of the Villa De Los Barrios visitor?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the leading scorer of the Villa De Los Barrios visitor?`:
```sql
                SELECT "leading_scorer" FROM "march" WHERE "visitor"='villa de los barrios';
```
## Task
Generate a SQL query to answer the following question:
`Who is the visitor with a 14-10 record?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the visitor with a 14-10 record?`:
```sql
                SELECT "visitor" FROM "march" WHERE "record"='14-10';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the team with the 14-9 record?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "march" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "leading_scorer" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the team with the 14-9 record?`:
```sql
                SELECT "score" FROM "march" WHERE "record"='14-9';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game with 6 goals?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date of the game with 6 goals?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "goal"=6;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest number of goals for a game held at Hannover?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest number of goals for a game held at Hannover?`:
```sql
                SELECT MAX("goal") FROM "international_goals" WHERE "venue"='hannover';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game with more than 12 goals at Pasadena?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "goal" real,
  "date" text,
  "venue" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game with more than 12 goals at Pasadena?`:
```sql
                SELECT "result" FROM "international_goals" WHERE "goal">12 AND "venue"='pasadena';
```
## Task
Generate a SQL query to answer the following question:
`What round was Andre Fluellen drafted as a Defensive Tackle?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round was Andre Fluellen drafted as a Defensive Tackle?`:
```sql
                SELECT COUNT("round") FROM "2008_draft" WHERE "position"='defensive tackle' AND "player"='andre fluellen';
```
## Task
Generate a SQL query to answer the following question:
`After Round 5, which player was drafted for Defensive Tackle?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `After Round 5, which player was drafted for Defensive Tackle?`:
```sql
                SELECT "player" FROM "2008_draft" WHERE "round">5 AND "position"='defensive tackle';
```
## Task
Generate a SQL query to answer the following question:
`What was the earliest Round for Central Florida?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2008_draft" (
  "round" real,
  "pick" text,
  "player" text,
  "position" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the earliest Round for Central Florida?`:
```sql
                SELECT MIN("round") FROM "2008_draft" WHERE "team"='central florida';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the label Dos or Die Recordings?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the label Dos or Die Recordings?`:
```sql
                SELECT "date" FROM "release_history" WHERE "label"='dos or die recordings';
```
## Task
Generate a SQL query to answer the following question:
`What is the label for 2002, in Germany, Catalog Dos 195?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the label for 2002, in Germany, Catalog Dos 195?`:
```sql
                SELECT "label" FROM "release_history" WHERE "date"='2002' AND "region"='germany' AND "catalog"='dos 195';
```
## Task
Generate a SQL query to answer the following question:
`What region has a 2002 date, and a Catalog dos 195?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "release_history" (
  "region" text,
  "date" text,
  "label" text,
  "format" text,
  "catalog" text
);
### SQL
Given the database schema, here is the SQL query that answers `What region has a 2002 date, and a Catalog dos 195?`:
```sql
                SELECT "region" FROM "release_history" WHERE "date"='2002' AND "catalog"='dos 195';
```
## Task
Generate a SQL query to answer the following question:
`What is the Winners when the United States is the runner-up at st. germain golf club?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "year" real,
  "venue" text,
  "location" text,
  "winners" text,
  "runners_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Winners when the United States is the runner-up at st. germain golf club?`:
```sql
                SELECT "winners" FROM "results" WHERE "runners_up"='united states' AND "venue"='st. germain golf club';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Year when Australia was the runner-up at victoria golf club?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "year" real,
  "venue" text,
  "location" text,
  "winners" text,
  "runners_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Year when Australia was the runner-up at victoria golf club?`:
```sql
                SELECT AVG("year") FROM "results" WHERE "runners_up"='australia' AND "venue"='victoria golf club';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when France was the runner-up at club de campo?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "year" real,
  "venue" text,
  "location" text,
  "winners" text,
  "runners_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when France was the runner-up at club de campo?`:
```sql
                SELECT "location" FROM "results" WHERE "runners_up"='france' AND "venue"='club de campo';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when Canada was the runner-up and Australia was the winner?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "results" (
  "year" real,
  "venue" text,
  "location" text,
  "winners" text,
  "runners_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when Canada was the runner-up and Australia was the winner?`:
```sql
                SELECT "location" FROM "results" WHERE "runners_up"='canada' AND "winners"='australia';
```
## Task
Generate a SQL query to answer the following question:
`What is the Name of the Space Telescope Terminated on March 1993?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "visible" (
  "name" text,
  "space_agency" text,
  "launch_date" text,
  "terminated" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Name of the Space Telescope Terminated on March 1993?`:
```sql
                SELECT "name" FROM "visible" WHERE "terminated"='march 1993';
```
## Task
Generate a SQL query to answer the following question:
`What is Party, when Opinion Research Centre (OPC) is 1.5%?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Party, when Opinion Research Centre (OPC) is 1.5%?`:
```sql
                SELECT "party" FROM "opinion_poll_summary" WHERE "opinion_research_centre_opc"='1.5%';
```
## Task
Generate a SQL query to answer the following question:
`What is Marplan, when Gallup is 1.5%`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Marplan, when Gallup is 1.5%`:
```sql
                SELECT "marplan" FROM "opinion_poll_summary" WHERE "gallup"='1.5%';
```
## Task
Generate a SQL query to answer the following question:
`What is Opinion Research Centre (OPC), when Party is Conservative?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Opinion Research Centre (OPC), when Party is Conservative?`:
```sql
                SELECT "opinion_research_centre_opc" FROM "opinion_poll_summary" WHERE "party"='conservative';
```
## Task
Generate a SQL query to answer the following question:
`What is Harris, when Marplan is 1.3%`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "opinion_poll_summary" (
  "party" text,
  "marplan" text,
  "gallup" text,
  "national_opinion_polls_nop" text,
  "opinion_research_centre_opc" text,
  "harris" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Harris, when Marplan is 1.3%`:
```sql
                SELECT "harris" FROM "opinion_poll_summary" WHERE "marplan"='1.3%';
```
## Task
Generate a SQL query to answer the following question:
`What are the fewest points that Roger Dutton/Tony Wright have received?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What are the fewest points that Roger Dutton/Tony Wright have received?`:
```sql
                SELECT MIN("points") FROM "1972_isle_of_man_sidecar_500cc_tt_final_" WHERE "rider"='roger dutton/tony wright';
```
## Task
Generate a SQL query to answer the following question:
`How fast does the BMW with 6 points go?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "1972_isle_of_man_sidecar_500cc_tt_final_" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `How fast does the BMW with 6 points go?`:
```sql
                SELECT "speed" FROM "1972_isle_of_man_sidecar_500cc_tt_final_" WHERE "machine"='bmw' AND "points"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the average draw for Desi Dobreva, was it less than 6?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "final_wildcards" (
  "draw" real,
  "artist" text,
  "song" text,
  "televote" text,
  "place" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average draw for Desi Dobreva, was it less than 6?`:
```sql
                SELECT AVG("draw") FROM "final_wildcards" WHERE "artist"='desi dobreva' AND "place"<6;
```
## Task
Generate a SQL query to answer the following question:
`What was the first leg score for the match that had AS Police as team 2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 was the first leg score for the match that had AS Police as team 2?`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "team_2"='as police';
```
## Task
Generate a SQL query to answer the following question:
`Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 `Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0?`:
```sql
                SELECT "team_2" FROM "second_round" WHERE "1st_leg"='2-0' AND "team_1"='iwuanyanwu nationale';
```
## Task
Generate a SQL query to answer the following question:
`What was the 2nd leg score for the tie that had a 5-0 first leg score?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 was the 2nd leg score for the tie that had a 5-0 first leg score?`:
```sql
                SELECT "2nd_leg" FROM "second_round" WHERE "1st_leg"='5-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the team 1 for the tie that had a first leg score of 2-3?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 was the team 1 for the tie that had a first leg score of 2-3?`:
```sql
                SELECT "team_1" FROM "second_round" WHERE "1st_leg"='2-3';
```
## Task
Generate a SQL query to answer the following question:
`Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 `Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2?`:
```sql
                SELECT "team_1" FROM "second_round" WHERE "2nd_leg"='1-2' AND "1st_leg"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`What was the first leg score for the match that had a 0-2 2nd leg score?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "second_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 was the first leg score for the match that had a 0-2 2nd leg score?`:
```sql
                SELECT "1st_leg" FROM "second_round" WHERE "2nd_leg"='0-2';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the Outstanding director of a musical category?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2000_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the Outstanding director of a musical category?`:
```sql
                SELECT "result" FROM "2000_broadway_revival" WHERE "category"='outstanding director of a musical';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the Award of Drama desk award nominee Tom Hewitt.`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2000_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the Award of Drama desk award nominee Tom Hewitt.`:
```sql
                SELECT "result" FROM "2000_broadway_revival" WHERE "award"='drama desk award' AND "nominee"='tom hewitt';
```
## Task
Generate a SQL query to answer the following question:
`What year was best costume design the award category?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "2000_broadway_revival" (
  "year" real,
  "award" text,
  "category" text,
  "nominee" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year was best costume design the award category?`:
```sql
                SELECT "year" FROM "2000_broadway_revival" WHERE "category"='best costume design';
```
## Task
Generate a SQL query to answer the following question:
`Which accolade has USA as the country, with a year less than 2009?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which accolade has USA as the country, with a year less than 2009?`:
```sql
                SELECT "accolade" FROM "accolades" WHERE "country"='usa' AND "year"<2009;
```
## Task
Generate a SQL query to answer the following question:
`How many years have an accolade of 50 best albums of the year, with #3 as the rank?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many years have an accolade of 50 best albums of the year, with #3 as the rank?`:
```sql
                SELECT SUM("year") FROM "accolades" WHERE "accolade"='50 best albums of the year' AND "rank"='#3';
```
## Task
Generate a SQL query to answer the following question:
`Which rank has canada as the country?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "accolades" (
  "publication" text,
  "country" text,
  "accolade" text,
  "year" real,
  "rank" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which rank has canada as the country?`:
```sql
                SELECT "rank" FROM "accolades" WHERE "country"='canada';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the Guest Host for Episode Number of 5?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "series_7" (
  "episode_number" real,
  "air_date" text,
  "guest_host" text,
  "musical_guest_song_performed" text,
  "coat_of_cash_wearing_celebrity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the Guest Host for Episode Number of 5?`:
```sql
                SELECT "guest_host" FROM "series_7" WHERE "episode_number"=5;
```
## Task
Generate a SQL query to answer the following question:
`What is the Guest Host for the episode on 8 june 2008?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "series_7" (
  "episode_number" real,
  "air_date" text,
  "guest_host" text,
  "musical_guest_song_performed" text,
  "coat_of_cash_wearing_celebrity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Guest Host for the episode on 8 june 2008?`:
```sql
                SELECT "guest_host" FROM "series_7" WHERE "air_date"='8 june 2008';
```
## Task
Generate a SQL query to answer the following question:
`What is the Musical Guest (Song performed) for the episode aired on 13 july 2008?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "series_7" (
  "episode_number" real,
  "air_date" text,
  "guest_host" text,
  "musical_guest_song_performed" text,
  "coat_of_cash_wearing_celebrity" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Musical Guest (Song performed) for the episode aired on 13 july 2008?`:
```sql
                SELECT "musical_guest_song_performed" FROM "series_7" WHERE "air_date"='13 july 2008';
```
## Task
Generate a SQL query to answer the following question:
`What was the score for the 2014 FIFA World Cup Qualification (UEFA)?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score for the 2014 FIFA World Cup Qualification (UEFA)?`:
```sql
                SELECT "score" FROM "international_goals" WHERE "competition"='2014 fifa world cup qualification (uefa)';
```
## Task
Generate a SQL query to answer the following question:
`What was the kickoff time for week 11's game?`

### 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,
  "kickoff_time" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the kickoff time for week 11's game?`:
```sql
                SELECT "kickoff_time" FROM "schedule" WHERE "week"=11;
```
## Task
Generate a SQL query to answer the following question:
`When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "senior_major_winners" (
  "year" real,
  "senior_pga_championship" text,
  "the_tradition" text,
  "senior_players_championship" text,
  "u_s_senior_open" text,
  "senior_british_open" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?`:
```sql
                SELECT "the_tradition" FROM "senior_major_winners" WHERE "year">1998 AND "senior_players_championship"='mark o''meara';
```
## Task
Generate a SQL query to answer the following question:
`Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "senior_major_winners" (
  "year" real,
  "senior_pga_championship" text,
  "the_tradition" text,
  "senior_players_championship" text,
  "u_s_senior_open" text,
  "senior_british_open" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987?`:
```sql
                SELECT "the_tradition" FROM "senior_major_winners" WHERE "senior_british_open"='founded in 1987' AND "u_s_senior_open"='roberto devicenzo';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "senior_major_winners" (
  "year" real,
  "senior_pga_championship" text,
  "the_tradition" text,
  "senior_players_championship" text,
  "u_s_senior_open" text,
  "senior_british_open" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship?`:
```sql
                SELECT "senior_british_open" FROM "senior_major_winners" WHERE "senior_pga_championship"='hale irwin (3/7)';
```
## Task
Generate a SQL query to answer the following question:
`When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "senior_major_winners" (
  "year" real,
  "senior_pga_championship" text,
  "the_tradition" text,
  "senior_players_championship" text,
  "u_s_senior_open" text,
  "senior_british_open" text
);
### SQL
Given the database schema, here is the SQL query that answers `When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship?`:
```sql
                SELECT "senior_pga_championship" FROM "senior_major_winners" WHERE "senior_british_open"='tom watson (5/6)';
```
## Task
Generate a SQL query to answer the following question:
`Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "points_for">19 AND "opponent"='philadelphia eagles' AND "points_against">7;
```
## Task
Generate a SQL query to answer the following question:
`Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "result" text,
  "record" text,
  "opponent" text,
  "points_for" real,
  "points_against" real,
  "first_downs" real,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "first_downs"<26 AND "opponent"='los angeles rams' AND "points_for">28;
```
## Task
Generate a SQL query to answer the following question:
`Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_scorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?`:
```sql
                SELECT MAX("league_cup") FROM "top_scorers_in_order_of_league_goals" WHERE "fa_cup"=5 AND "club"='boston united' AND "league"<16;
```
## Task
Generate a SQL query to answer the following question:
`How many Total that has a FA Trophy of 0 and a Player of charlie butler?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_scorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Total that has a FA Trophy of 0 and a Player of charlie butler?`:
```sql
                SELECT COUNT("total") FROM "top_scorers_in_order_of_league_goals" WHERE "fa_trophy"=0 AND "player"='charlie butler';
```
## Task
Generate a SQL query to answer the following question:
`How many  FA Trophy has a Player of mario walsh and a League larger than 17?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "top_scorers_in_order_of_league_goals" (
  "player" text,
  "club" text,
  "league" real,
  "fa_cup" real,
  "fa_trophy" real,
  "league_cup" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many  FA Trophy has a Player of mario walsh and a League larger than 17?`:
```sql
                SELECT AVG("fa_trophy") FROM "top_scorers_in_order_of_league_goals" WHERE "player"='mario walsh' AND "league">17;
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the winning match on Oct 28, 1962?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "pga_tour_wins_12" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the winning match on Oct 28, 1962?`:
```sql
                SELECT "winning_score" FROM "pga_tour_wins_12" WHERE "date"='oct 28, 1962';
```
## Task
Generate a SQL query to answer the following question:
`By how many strokes did Lema beat Jack Nicklaus?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "pga_tour_wins_12" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `By how many strokes did Lema beat Jack Nicklaus?`:
```sql
                SELECT "margin_of_victory" FROM "pga_tour_wins_12" WHERE "runner_s_up"='jack nicklaus';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner-up on Jan 19, 1964?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "pga_tour_wins_12" (
  "date" text,
  "tournament" text,
  "winning_score" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner-up on Jan 19, 1964?`:
```sql
                SELECT "runner_s_up" FROM "pga_tour_wins_12" WHERE "date"='jan 19, 1964';
```
## Task
Generate a SQL query to answer the following question:
`How many Rebounds did Maccabi Tel Aviv Team get after Game 6?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Rebounds did Maccabi Tel Aviv Team get after Game 6?`:
```sql
                SELECT COUNT("rebounds") FROM "rebounds" WHERE "team"='maccabi tel aviv' AND "games">6;
```
## Task
Generate a SQL query to answer the following question:
`How many Games for the player with Rebounds from Efes Pilsen?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Games for the player with Rebounds from Efes Pilsen?`:
```sql
                SELECT "games" FROM "rebounds" WHERE "team"='efes pilsen';
```
## Task
Generate a SQL query to answer the following question:
`How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "rebounds" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "rebounds" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?`:
```sql
                SELECT SUM("games") FROM "rebounds" WHERE "team"='lietuvos rytas vilnius' AND "rebounds"<43;
```
## Task
Generate a SQL query to answer the following question:
`Who is The Author of zhou clarke zhang?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is The Author of zhou clarke zhang?`:
```sql
                SELECT "name" FROM "newly_named_birds" WHERE "authors"='zhou clarke zhang';
```
## Task
Generate a SQL query to answer the following question:
`What is the Status of primitive confuciusornithid .?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Status of primitive confuciusornithid .?`:
```sql
                SELECT "status" FROM "newly_named_birds" WHERE "notes"='primitive confuciusornithid .';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of gao chiappe meng o'connor wang cheng liu?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of gao chiappe meng o'connor wang cheng liu?`:
```sql
                SELECT "name" FROM "newly_named_birds" WHERE "authors"='gao chiappe meng o''connor wang cheng liu';
```
## Task
Generate a SQL query to answer the following question:
`Where has a Name of zhongornis?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where has a Name of zhongornis?`:
```sql
                SELECT "location" FROM "newly_named_birds" WHERE "name"='zhongornis';
```
## Task
Generate a SQL query to answer the following question:
`Which Notes has Authors of zhou clarke zhang?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Notes has Authors of zhou clarke zhang?`:
```sql
                SELECT "notes" FROM "newly_named_birds" WHERE "authors"='zhou clarke zhang';
```
## Task
Generate a SQL query to answer the following question:
`Which First season of current spell is the lowest one that has a First season larger than 2005, and a Number of seasons in Superettan smaller than 8, and a Club of syrianska fc?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_clubs_2014_season" (
  "club" text,
  "position_in_2013" text,
  "first_season" real,
  "first_season_of_current_spell" real,
  "number_of_seasons_in_superettan" real,
  "number_of_seasons_in_second_tier" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which First season of current spell is the lowest one that has a First season larger than 2005, and a Number of seasons in Superettan smaller than 8, and a Club of syrianska fc?`:
```sql
                SELECT MIN("first_season_of_current_spell") FROM "current_clubs_2014_season" WHERE "first_season">2005 AND "number_of_seasons_in_superettan"<8 AND "club"='syrianska fc';
```
## Task
Generate a SQL query to answer the following question:
`Which Number of seasons in second tier has a First season of 2000, and a First season of current spell of 2014?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_clubs_2014_season" (
  "club" text,
  "position_in_2013" text,
  "first_season" real,
  "first_season_of_current_spell" real,
  "number_of_seasons_in_superettan" real,
  "number_of_seasons_in_second_tier" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Number of seasons in second tier has a First season of 2000, and a First season of current spell of 2014?`:
```sql
                SELECT "number_of_seasons_in_second_tier" FROM "current_clubs_2014_season" WHERE "first_season"=2000 AND "first_season_of_current_spell"=2014;
```
## Task
Generate a SQL query to answer the following question:
`Which First season of current spell is the highest one that has a Position in 2013 of 9th, and a Number of seasons in second tier larger than 14?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "current_clubs_2014_season" (
  "club" text,
  "position_in_2013" text,
  "first_season" real,
  "first_season_of_current_spell" real,
  "number_of_seasons_in_superettan" real,
  "number_of_seasons_in_second_tier" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which First season of current spell is the highest one that has a Position in 2013 of 9th, and a Number of seasons in second tier larger than 14?`:
```sql
                SELECT MAX("first_season_of_current_spell") FROM "current_clubs_2014_season" WHERE "position_in_2013"='9th' AND "number_of_seasons_in_second_tier">14;
```
## Task
Generate a SQL query to answer the following question:
`What was the ranking of Beirasar Rosalía, the year they played 32 games?`

### Database Schema
This query will run on a database whose schema is represented in this string:

CREATE TABLE "points" (
  "rank" real,
  "name" text,
  "team" text,
  "games" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the ranking of Beirasar Rosalía, the year they played 32 games?`:
```sql
                SELECT MAX("rank") FROM "points" WHERE "team"='beirasar rosalía' AND "games"<32;
```