cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`On what date did an away team score 22.17 (149)?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did an away team score 22.17 (149)?`:
```sql
                SELECT "date" FROM "round_13" WHERE "away_team_score"='22.17 (149)';
```
## Task
Generate a SQL query to answer the following question:
`In what Venue was the Away Team Score 19.13 (127)?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what Venue was the Away Team Score 19.13 (127)?`:
```sql
                SELECT "venue" FROM "round_13" WHERE "away_team_score"='19.13 (127)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Away Team Score of the Hawthorn Home Team?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Away Team Score of the Hawthorn Home Team?`:
```sql
                SELECT "away_team_score" FROM "round_13" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the Away Team Score of the Collingwood Home Team?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Away Team Score of the Collingwood Home Team?`:
```sql
                SELECT "away_team_score" FROM "round_13" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What Away Team's venue is Arden Street Oval?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Away Team's venue is Arden Street Oval?`:
```sql
                SELECT "away_team" FROM "round_13" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`Name the least Laps for accident and gird more than 13`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least Laps for accident and gird more than 13`:
```sql
                SELECT MIN("laps") FROM "classification" WHERE "time_retired"='accident' AND "grid">13;
```
## Task
Generate a SQL query to answer the following question:
`Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the lowest Grid for engine and driver of emerson fittipaldi with more laps than 70`:
```sql
                SELECT MIN("grid") FROM "classification" WHERE "time_retired"='engine' AND "driver"='emerson fittipaldi' AND "laps">70;
```
## Task
Generate a SQL query to answer the following question:
`What the score when Richmond played at home and the crowd was larger than 15,184?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What the score when Richmond played at home and the crowd was larger than 15,184?`:
```sql
                SELECT "home_team_score" FROM "round_16" WHERE "crowd">'15,184' AND "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`In what venue was the away team South Melbourne?`

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

CREATE TABLE "round_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what venue was the away team South Melbourne?`:
```sql
                SELECT "venue" FROM "round_16" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Where did the away team Carlton play?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did the away team Carlton play?`:
```sql
                SELECT "venue" FROM "round_12" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`What home team played against Richmond?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What home team played against Richmond?`:
```sql
                SELECT "home_team" FROM "round_12" WHERE "away_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`What is the smallest crowd size for punt road oval?`

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

CREATE TABLE "round_12" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the smallest crowd size for punt road oval?`:
```sql
                SELECT MIN("crowd") FROM "round_12" WHERE "venue"='punt road oval';
```
## Task
Generate a SQL query to answer the following question:
`Where did a home team score 23.20 (158)?`

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

CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did a home team score 23.20 (158)?`:
```sql
                SELECT "venue" FROM "round_22" WHERE "home_team_score"='23.20 (158)';
```
## Task
Generate a SQL query to answer the following question:
`Which team scored 11.17 (83) while away?`

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

CREATE TABLE "round_22" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team scored 11.17 (83) while away?`:
```sql
                SELECT "away_team" FROM "round_22" WHERE "away_team_score"='11.17 (83)';
```
## Task
Generate a SQL query to answer the following question:
`Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%?`

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

CREATE TABLE "references" (
  "village_german" text,
  "village_slovenian" text,
  "number_of_people_1991" real,
  "percent_of_slovenes_1991" text,
  "percent_of_slovenes_1951" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Number of people 1991 has a Percent of Slovenes 1991 of 14.4%?`:
```sql
                SELECT MAX("number_of_people_1991") FROM "references" WHERE "percent_of_slovenes_1991"='14.4%';
```
## Task
Generate a SQL query to answer the following question:
`Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg?`

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

CREATE TABLE "references" (
  "village_german" text,
  "village_slovenian" text,
  "number_of_people_1991" real,
  "percent_of_slovenes_1991" text,
  "percent_of_slovenes_1951" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Percent of Slovenes 1951 has a Number of people 1991 larger than 8, and a Village (German) of plöschenberg?`:
```sql
                SELECT "percent_of_slovenes_1951" FROM "references" WHERE "number_of_people_1991">8 AND "village_german"='plöschenberg';
```
## Task
Generate a SQL query to answer the following question:
`Where was Collingwood's away game played?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was Collingwood's away game played?`:
```sql
                SELECT "venue" FROM "round_14" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score in the game that the away team scored 10.17 (77)?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score in the game that the away team scored 10.17 (77)?`:
```sql
                SELECT "home_team_score" FROM "round_14" WHERE "away_team_score"='10.17 (77)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score at Western Oval?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score at Western Oval?`:
```sql
                SELECT "away_team_score" FROM "round_14" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`When did Collingwood play an away game?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When did Collingwood play an away game?`:
```sql
                SELECT "date" FROM "round_14" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`How many people attended the game that the Away team scored 10.17 (77) points in?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many people attended the game that the Away team scored 10.17 (77) points in?`:
```sql
                SELECT COUNT("crowd") FROM "round_14" WHERE "away_team_score"='10.17 (77)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game played when the home team score was 11.9 (75)?`

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

CREATE TABLE "round_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the game played when the home team score was 11.9 (75)?`:
```sql
                SELECT "venue" FROM "round_14" WHERE "home_team_score"='11.9 (75)';
```
## Task
Generate a SQL query to answer the following question:
`What team is based at junction oval?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team is based at junction oval?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the team set at junction oval?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team set at junction oval?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team that scored 20.21 (141)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team that scored 20.21 (141)?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "home_team_score"='20.21 (141)';
```
## Task
Generate a SQL query to answer the following question:
`How big was the crowd in a game that had the home team score 18.19 (127)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `How big was the crowd in a game that had the home team score 18.19 (127)?`:
```sql
                SELECT COUNT("crowd") FROM "round_3" WHERE "home_team_score"='18.19 (127)';
```
## Task
Generate a SQL query to answer the following question:
`What was the place that had the home team score 16.19 (115)?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the place that had the home team score 16.19 (115)?`:
```sql
                SELECT "venue" FROM "round_3" WHERE "home_team_score"='16.19 (115)';
```
## Task
Generate a SQL query to answer the following question:
`What driver has a grid under 12 with a Time/Retired of + 3 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What driver has a grid under 12 with a Time/Retired of + 3 laps?`:
```sql
                SELECT "driver" FROM "race" WHERE "grid"<12 AND "time_retired"='+ 3 laps';
```
## Task
Generate a SQL query to answer the following question:
`What is the high grid for osella - alfa romeo, and a Laps larger than 61?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high grid for osella - alfa romeo, and a Laps larger than 61?`:
```sql
                SELECT MAX("grid") FROM "race" WHERE "constructor"='osella - alfa romeo' AND "laps">61;
```
## Task
Generate a SQL query to answer the following question:
`How many picks does Matt Moran have altogether after round 6?`

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

CREATE TABLE "1985_nfl_draft" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many picks does Matt Moran have altogether after round 6?`:
```sql
                SELECT COUNT("pick") FROM "1985_nfl_draft" WHERE "name"='matt moran' AND "round">6;
```
## Task
Generate a SQL query to answer the following question:
`What position after round 8 has a pick less than 270?`

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

CREATE TABLE "1985_nfl_draft" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position after round 8 has a pick less than 270?`:
```sql
                SELECT "position" FROM "1985_nfl_draft" WHERE "round">8 AND "pick"<270;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of rounds that UCLA has?`

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

CREATE TABLE "1985_nfl_draft" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of rounds that UCLA has?`:
```sql
                SELECT COUNT("round") FROM "1985_nfl_draft" WHERE "school"='ucla';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest round for Georgia Tech?`

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

CREATE TABLE "1985_nfl_draft" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest round for Georgia Tech?`:
```sql
                SELECT MIN("round") FROM "1985_nfl_draft" WHERE "school"='georgia tech';
```
## Task
Generate a SQL query to answer the following question:
`What is the average round for Georgia Tech with a pick greater than 103?`

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

CREATE TABLE "1985_nfl_draft" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average round for Georgia Tech with a pick greater than 103?`:
```sql
                SELECT AVG("round") FROM "1985_nfl_draft" WHERE "school"='georgia tech' AND "pick">103;
```
## Task
Generate a SQL query to answer the following question:
`Which player is featured for 2001-2002?`

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

CREATE TABLE "girls_basketball_players_and_coaches_of_" (
  "year" text,
  "player" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is featured for 2001-2002?`:
```sql
                SELECT "player" FROM "girls_basketball_players_and_coaches_of_" WHERE "year"='2001-2002';
```
## Task
Generate a SQL query to answer the following question:
`Which player is from Queens, NY?`

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

CREATE TABLE "girls_basketball_players_and_coaches_of_" (
  "year" text,
  "player" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is from Queens, NY?`:
```sql
                SELECT "player" FROM "girls_basketball_players_and_coaches_of_" WHERE "hometown"='queens, ny';
```
## Task
Generate a SQL query to answer the following question:
`Where did Maya Moore attend school?`

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

CREATE TABLE "girls_basketball_players_and_coaches_of_" (
  "year" text,
  "player" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where did Maya Moore attend school?`:
```sql
                SELECT "school" FROM "girls_basketball_players_and_coaches_of_" WHERE "player"='maya moore';
```
## Task
Generate a SQL query to answer the following question:
`What is the difference with a loss smaller than 5 and points lower than 32?`

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

CREATE TABLE "torneo_clausura_closing_tournament" (
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "diff" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the difference with a loss smaller than 5 and points lower than 32?`:
```sql
                SELECT COUNT("diff") FROM "torneo_clausura_closing_tournament" WHERE "lost"<5 AND "points"<32;
```
## Task
Generate a SQL query to answer the following question:
`Which loss had a player lower than 18?`

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

CREATE TABLE "torneo_clausura_closing_tournament" (
  "team" text,
  "points" real,
  "played" real,
  "drawn" real,
  "lost" real,
  "against" real,
  "diff" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which loss had a player lower than 18?`:
```sql
                SELECT MIN("lost") FROM "torneo_clausura_closing_tournament" WHERE "played"<18;
```
## Task
Generate a SQL query to answer the following question:
`Who won the 2012 game that had a score of 15–0?`

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

CREATE TABLE "2010s_raiders_5_2" (
  "year" real,
  "date" text,
  "winner" text,
  "result" text,
  "loser" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the 2012 game that had a score of 15–0?`:
```sql
                SELECT "winner" FROM "2010s_raiders_5_2" WHERE "year"=2012 AND "result"='15–0';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the week for result of l 31-27, and an Attendance smaller than 85,865`

### 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 `Tell me the week for result of l 31-27, and an Attendance smaller than 85,865`:
```sql
                SELECT AVG("week") FROM "schedule" WHERE "result"='l 31-27' AND "attendance"<'85,865';
```
## Task
Generate a SQL query to answer the following question:
`I want the date for week less than 5 and attendance more than 43,922 with a result of w 21-7`

### 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 `I want the date for week less than 5 and attendance more than 43,922 with a result of w 21-7`:
```sql
                SELECT "date" FROM "schedule" WHERE "week"<5 AND "attendance">'43,922' AND "result"='w 21-7';
```
## Task
Generate a SQL query to answer the following question:
`Who had notes of Prizzi's Honor?`

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

CREATE TABLE "list_of_superlative_academy_award_winner" (
  "superlative" text,
  "director" text,
  "record_set" text,
  "year" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had notes of Prizzi's Honor?`:
```sql
                SELECT "director" FROM "list_of_superlative_academy_award_winner" WHERE "notes"='prizzi''s honor';
```
## Task
Generate a SQL query to answer the following question:
`What Superlative had a record set of 12 nominations?`

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

CREATE TABLE "list_of_superlative_academy_award_winner" (
  "superlative" text,
  "director" text,
  "record_set" text,
  "year" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Superlative had a record set of 12 nominations?`:
```sql
                SELECT "superlative" FROM "list_of_superlative_academy_award_winner" WHERE "record_set"='12 nominations';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of laps completed by driver Joe Nemechek?`

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

CREATE TABLE "race_results" (
  "driver" text,
  "car_num" real,
  "make" text,
  "points" text,
  "laps" real,
  "winnings" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of laps completed by driver Joe Nemechek?`:
```sql
                SELECT MAX("laps") FROM "race_results" WHERE "driver"='joe nemechek';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score when they played at Victoria Park?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team score when they played at Victoria Park?`:
```sql
                SELECT "home_team_score" FROM "round_18" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team score when the home team score was 11.18 (84)?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team score when the home team score was 11.18 (84)?`:
```sql
                SELECT "away_team_score" FROM "round_18" WHERE "home_team_score"='11.18 (84)';
```
## Task
Generate a SQL query to answer the following question:
`What was the venue when the home team was Fitzroy?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the venue when the home team was Fitzroy?`:
```sql
                SELECT "venue" FROM "round_18" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What team was the home team when the home team score was 12.16 (88)?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the home team when the home team score was 12.16 (88)?`:
```sql
                SELECT "home_team" FROM "round_18" WHERE "home_team_score"='12.16 (88)';
```
## Task
Generate a SQL query to answer the following question:
`What team was the away team when the home team score was 16.11 (107)?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the away team when the home team score was 16.11 (107)?`:
```sql
                SELECT "away_team" FROM "round_18" WHERE "home_team_score"='16.11 (107)';
```
## Task
Generate a SQL query to answer the following question:
`What is the date for proposed for revere textile prints corporation`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date for proposed for revere textile prints corporation`:
```sql
                SELECT "proposed" FROM "superfund_sites" WHERE "name"='revere textile prints corporation';
```
## Task
Generate a SQL query to answer the following question:
`What is the deleted for tolland?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the deleted for tolland?`:
```sql
                SELECT "deleted" FROM "superfund_sites" WHERE "county"='tolland';
```
## Task
Generate a SQL query to answer the following question:
`What venue has the away side scoring 16.14 (110)?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue has the away side scoring 16.14 (110)?`:
```sql
                SELECT "venue" FROM "round_2" WHERE "away_team_score"='16.14 (110)';
```
## Task
Generate a SQL query to answer the following question:
`What is the away side score when hawthorn is the home side?`

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

CREATE TABLE "round_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the away side score when hawthorn is the home side?`:
```sql
                SELECT "away_team_score" FROM "round_2" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the average lap total for grids under 19 and a Time/Retired of +4 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average lap total for grids under 19 and a Time/Retired of +4 laps?`:
```sql
                SELECT AVG("laps") FROM "race" WHERE "time_retired"='+4 laps' AND "grid"<19;
```
## Task
Generate a SQL query to answer the following question:
`Who drive over 43 laps in grid 5?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who drive over 43 laps in grid 5?`:
```sql
                SELECT "driver" FROM "race" WHERE "laps">43 AND "grid"=5;
```
## Task
Generate a SQL query to answer the following question:
`What team played away in the game that the home team scored 7.8 (50)?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team played away in the game that the home team scored 7.8 (50)?`:
```sql
                SELECT "away_team" FROM "round_4" WHERE "home_team_score"='7.8 (50)';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score when the away team scored 6.8 (44)?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score when the away team scored 6.8 (44)?`:
```sql
                SELECT "home_team_score" FROM "round_4" WHERE "away_team_score"='6.8 (44)';
```
## Task
Generate a SQL query to answer the following question:
`Which Away team score has a Venue of princes park?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away team score has a Venue of princes park?`:
```sql
                SELECT "away_team_score" FROM "round_7" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`Which Away team score has a Home team of melbourne?`

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

CREATE TABLE "round_7" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Away team score has a Home team of melbourne?`:
```sql
                SELECT "away_team_score" FROM "round_7" WHERE "home_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What genre is revolving doors of vengeance 酒店風雲?`

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

CREATE TABLE "second_line_series" (
  "airing_date" text,
  "english_title_chinese_title" text,
  "number_of_episodes" real,
  "genre" text,
  "official_website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What genre is revolving doors of vengeance 酒店風雲?`:
```sql
                SELECT "genre" FROM "second_line_series" WHERE "english_title_chinese_title"='revolving doors of vengeance 酒店風雲';
```
## Task
Generate a SQL query to answer the following question:
`What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?`

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

CREATE TABLE "second_line_series" (
  "airing_date" text,
  "english_title_chinese_title" text,
  "number_of_episodes" real,
  "genre" text,
  "official_website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?`:
```sql
                SELECT "english_title_chinese_title" FROM "second_line_series" WHERE "genre"='modern drama' AND "number_of_episodes"=20 AND "airing_date"='26 sep- 21 oct';
```
## Task
Generate a SQL query to answer the following question:
`What is the D48 when the D 50 O is d 31?`

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

CREATE TABLE "senate_composition_as_a_result_of_the_el" (
  "d_41" text,
  "d_42" text,
  "d_43" text,
  "d_44" text,
  "d_45" text,
  "d_46" text,
  "d_47" text,
  "d_48" text,
  "d_49" text,
  "d_50_o" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the D48 when the D 50 O is d 31?`:
```sql
                SELECT "d_48" FROM "senate_composition_as_a_result_of_the_el" WHERE "d_50_o"='d 31';
```
## Task
Generate a SQL query to answer the following question:
`What was Catalogue tojp 60121-22's Date?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Catalogue tojp 60121-22's Date?`:
```sql
                SELECT "date" FROM "release_details" WHERE "catalogue"='tojp 60121-22';
```
## Task
Generate a SQL query to answer the following question:
`What was the Date of Country of United States?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Date of Country of United States?`:
```sql
                SELECT "date" FROM "release_details" WHERE "country"='united states';
```
## Task
Generate a SQL query to answer the following question:
`What Catalogue is Dated 14 november 2003, with the Format compact disc?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Catalogue is Dated 14 november 2003, with the Format compact disc?`:
```sql
                SELECT "catalogue" FROM "release_details" WHERE "date"='14 november 2003' AND "format"='compact disc';
```
## Task
Generate a SQL query to answer the following question:
`What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Label for Date of 14 November 2003, and Catalogue tojp 60121-22?`:
```sql
                SELECT "label" FROM "release_details" WHERE "date"='14 november 2003' AND "catalogue"='tojp 60121-22';
```
## Task
Generate a SQL query to answer the following question:
`What Label was Catalogued tojp 60121-22?`

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

CREATE TABLE "release_details" (
  "country" text,
  "date" text,
  "label" text,
  "format" text,
  "catalogue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Label was Catalogued tojp 60121-22?`:
```sql
                SELECT "label" FROM "release_details" WHERE "catalogue"='tojp 60121-22';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for Norway on 23 august 1981?`

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

CREATE TABLE "men" (
  "event" text,
  "record" text,
  "athlete" text,
  "nationality" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for Norway on 23 august 1981?`:
```sql
                SELECT "record" FROM "men" WHERE "nationality"='norway' AND "date"='23 august 1981';
```
## Task
Generate a SQL query to answer the following question:
`What is the record for the 20000 m walk?`

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

CREATE TABLE "men" (
  "event" text,
  "record" text,
  "athlete" text,
  "nationality" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record for the 20000 m walk?`:
```sql
                SELECT "record" FROM "men" WHERE "event"='20000 m walk';
```
## Task
Generate a SQL query to answer the following question:
`When was the Bye week?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the Bye week?`:
```sql
                SELECT "date" FROM "schedule" WHERE "result"='bye';
```
## Task
Generate a SQL query to answer the following question:
`Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS?`

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

CREATE TABLE "winning_head_of_the_river_championship_e" (
  "crew" real,
  "open_1st_viii" text,
  "open_2nd_viii" text,
  "open_3rd_viii" text,
  "u16_1st_viii" text,
  "u16_2nd_viii" text,
  "u16_3rd_viii" text,
  "u15_1st_quad" text,
  "u15_2nd_quad" text,
  "u15_3rd_quad" text,
  "u15_4th_quad" text,
  "u15_5th_quad" text,
  "u15_6th_quad" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Open 2nd VIII had a U15 6th Quad of BGS and a U16 1st VII of TSS?`:
```sql
                SELECT "open_2nd_viii" FROM "winning_head_of_the_river_championship_e" WHERE "u15_6th_quad"='bgs' AND "u16_1st_viii"='tss';
```
## Task
Generate a SQL query to answer the following question:
`What U15 3rd Quad has a U15 2nd Quad of ACGS?`

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

CREATE TABLE "winning_head_of_the_river_championship_e" (
  "crew" real,
  "open_1st_viii" text,
  "open_2nd_viii" text,
  "open_3rd_viii" text,
  "u16_1st_viii" text,
  "u16_2nd_viii" text,
  "u16_3rd_viii" text,
  "u15_1st_quad" text,
  "u15_2nd_quad" text,
  "u15_3rd_quad" text,
  "u15_4th_quad" text,
  "u15_5th_quad" text,
  "u15_6th_quad" text
);
### SQL
Given the database schema, here is the SQL query that answers `What U15 3rd Quad has a U15 2nd Quad of ACGS?`:
```sql
                SELECT "u15_3rd_quad" FROM "winning_head_of_the_river_championship_e" WHERE "u15_2nd_quad"='acgs';
```
## Task
Generate a SQL query to answer the following question:
`Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT?`

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

CREATE TABLE "winning_head_of_the_river_championship_e" (
  "crew" real,
  "open_1st_viii" text,
  "open_2nd_viii" text,
  "open_3rd_viii" text,
  "u16_1st_viii" text,
  "u16_2nd_viii" text,
  "u16_3rd_viii" text,
  "u15_1st_quad" text,
  "u15_2nd_quad" text,
  "u15_3rd_quad" text,
  "u15_4th_quad" text,
  "u15_5th_quad" text,
  "u15_6th_quad" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which U15 4th Quad had a U15 3rd Quad of BBC and U15 6th Quad of GT?`:
```sql
                SELECT "u15_4th_quad" FROM "winning_head_of_the_river_championship_e" WHERE "u15_3rd_quad"='bbc' AND "u15_6th_quad"='gt';
```
## Task
Generate a SQL query to answer the following question:
`Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?`

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

CREATE TABLE "winning_head_of_the_river_championship_e" (
  "crew" real,
  "open_1st_viii" text,
  "open_2nd_viii" text,
  "open_3rd_viii" text,
  "u16_1st_viii" text,
  "u16_2nd_viii" text,
  "u16_3rd_viii" text,
  "u15_1st_quad" text,
  "u15_2nd_quad" text,
  "u15_3rd_quad" text,
  "u15_4th_quad" text,
  "u15_5th_quad" text,
  "u15_6th_quad" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which U15 1st Quad had an Open 3rd VIII of BBC and U16 3rd VIII of BBC?`:
```sql
                SELECT "u15_1st_quad" FROM "winning_head_of_the_river_championship_e" WHERE "open_3rd_viii"='bbc' AND "u16_3rd_viii"='bbc';
```
## Task
Generate a SQL query to answer the following question:
`What was the nationality of the athlete with a final result of 4.50?`

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

CREATE TABLE "final" (
  "athlete" text,
  "nationality" text,
  "3_60" text,
  "3_80" text,
  "3_95" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the nationality of the athlete with a final result of 4.50?`:
```sql
                SELECT "nationality" FROM "final" WHERE "result"='4.50';
```
## Task
Generate a SQL query to answer the following question:
`What was the athlete with a final result of 4.30?`

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

CREATE TABLE "final" (
  "athlete" text,
  "nationality" text,
  "3_60" text,
  "3_80" text,
  "3_95" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the athlete with a final result of 4.30?`:
```sql
                SELECT "athlete" FROM "final" WHERE "result"='4.30';
```
## Task
Generate a SQL query to answer the following question:
`Which country has the Highest mountain of rettlkirchspitze?`

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

CREATE TABLE "alpine_club_classification" (
  "ave_no" text,
  "name" text,
  "country" text,
  "highest_mountain" text,
  "height_m" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has the Highest mountain of rettlkirchspitze?`:
```sql
                SELECT "country" FROM "alpine_club_classification" WHERE "highest_mountain"='rettlkirchspitze';
```