cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What was the result under interim head coach, Gary Darnell?`

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

CREATE TABLE "coaching_changes" (
  "team" text,
  "bowl" text,
  "season_coach" text,
  "interim_head_coach" text,
  "result" text,
  "2008_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result under interim head coach, Gary Darnell?`:
```sql
                SELECT "result" FROM "coaching_changes" WHERE "interim_head_coach"='gary darnell';
```
## Task
Generate a SQL query to answer the following question:
`What was the result in 2008 under head coach Mike Sherman?`

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

CREATE TABLE "coaching_changes" (
  "team" text,
  "bowl" text,
  "season_coach" text,
  "interim_head_coach" text,
  "result" text,
  "2008_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result in 2008 under head coach Mike Sherman?`:
```sql
                SELECT "result" FROM "coaching_changes" WHERE "2008_head_coach"='mike sherman';
```
## Task
Generate a SQL query to answer the following question:
`What team has a bowl of humanitarian?`

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

CREATE TABLE "coaching_changes" (
  "team" text,
  "bowl" text,
  "season_coach" text,
  "interim_head_coach" text,
  "result" text,
  "2008_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team has a bowl of humanitarian?`:
```sql
                SELECT "team" FROM "coaching_changes" WHERE "bowl"='humanitarian';
```
## Task
Generate a SQL query to answer the following question:
`What is the result under the season coach Rich Rodriguez?`

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

CREATE TABLE "coaching_changes" (
  "team" text,
  "bowl" text,
  "season_coach" text,
  "interim_head_coach" text,
  "result" text,
  "2008_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result under the season coach Rich Rodriguez?`:
```sql
                SELECT "result" FROM "coaching_changes" WHERE "season_coach"='rich rodriguez';
```
## Task
Generate a SQL query to answer the following question:
`Who is the 2008 head coach of UCLA?`

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

CREATE TABLE "coaching_changes" (
  "team" text,
  "bowl" text,
  "season_coach" text,
  "interim_head_coach" text,
  "result" text,
  "2008_head_coach" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the 2008 head coach of UCLA?`:
```sql
                SELECT "2008_head_coach" FROM "coaching_changes" WHERE "team"='ucla';
```
## Task
Generate a SQL query to answer the following question:
`In what score did the match against Marcos Daniel end?`

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

CREATE TABLE "challengers_and_futures_17" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what score did the match against Marcos Daniel end?`:
```sql
                SELECT "score" FROM "challengers_and_futures_17" WHERE "opponent_in_the_final"='marcos daniel';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of the game played on a clay surface on June 6, 2005?`

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

CREATE TABLE "challengers_and_futures_17" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of the game played on a clay surface on June 6, 2005?`:
```sql
                SELECT "score" FROM "challengers_and_futures_17" WHERE "surface"='clay' AND "date"='june 6, 2005';
```
## Task
Generate a SQL query to answer the following question:
`On what date did the match against Flavio Cipolla, played on a clay surface, occur?`

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

CREATE TABLE "challengers_and_futures_17" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent_in_the_final" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did the match against Flavio Cipolla, played on a clay surface, occur?`:
```sql
                SELECT "date" FROM "challengers_and_futures_17" WHERE "surface"='clay' AND "opponent_in_the_final"='flavio cipolla';
```
## Task
Generate a SQL query to answer the following question:
`Which home team had a home team score of 15.8 (98)?`

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

CREATE TABLE "round_6" (
  "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 home team had a home team score of 15.8 (98)?`:
```sql
                SELECT "home_team" FROM "round_6" WHERE "home_team_score"='15.8 (98)';
```
## Task
Generate a SQL query to answer the following question:
`What was Fitzroy's score when they were the home team?`

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

CREATE TABLE "round_6" (
  "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 Fitzroy's score when they were the home team?`:
```sql
                SELECT "home_team_score" FROM "round_6" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the away team had a score of 11.18 (84)?`

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

CREATE TABLE "round_6" (
  "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 `Who was the home team when the away team had a score of 11.18 (84)?`:
```sql
                SELECT "home_team" FROM "round_6" WHERE "away_team_score"='11.18 (84)';
```
## Task
Generate a SQL query to answer the following question:
`Where was the Hawthorn game played?`

### 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 `Where was the Hawthorn game played?`:
```sql
                SELECT "venue" FROM "round_7" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What was the away teams score at 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 `What was the away teams score at 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 Rider finished with a speed of 81.91mph?`

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

CREATE TABLE "1971_isle_of_man_sidecar_750cc_tt_final_" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rider finished with a speed of 81.91mph?`:
```sql
                SELECT "rider" FROM "1971_isle_of_man_sidecar_750cc_tt_final_" WHERE "speed"='81.91mph';
```
## Task
Generate a SQL query to answer the following question:
`Which Rider finished with a speed of 80.18mph?`

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

CREATE TABLE "1971_isle_of_man_sidecar_750cc_tt_final_" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rider finished with a speed of 80.18mph?`:
```sql
                SELECT "rider" FROM "1971_isle_of_man_sidecar_750cc_tt_final_" WHERE "speed"='80.18mph';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team's score at princes park?`

### 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 home team's score at princes park?`:
```sql
                SELECT "home_team_score" FROM "round_13" WHERE "venue"='princes park';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd when the home team scores 16.16 (112)?`

### 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 largest crowd when the home team scores 16.16 (112)?`:
```sql
                SELECT MAX("crowd") FROM "round_13" WHERE "home_team_score"='16.16 (112)';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue for the Footscray home team?`

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

CREATE TABLE "round_5" (
  "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 venue for the Footscray home team?`:
```sql
                SELECT "venue" FROM "round_5" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`Which home team's venue is Windy Hill?`

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

CREATE TABLE "round_5" (
  "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 home team's venue is Windy Hill?`:
```sql
                SELECT "home_team" FROM "round_5" WHERE "venue"='windy hill';
```
## Task
Generate a SQL query to answer the following question:
`What is the score for Hawthorn as an away team?`

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

CREATE TABLE "round_5" (
  "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 score for Hawthorn as an away team?`:
```sql
                SELECT "away_team_score" FROM "round_5" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the away team when the home team is Essendon?`

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

CREATE TABLE "round_5" (
  "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 score of the away team when the home team is Essendon?`:
```sql
                SELECT "away_team_score" FROM "round_5" WHERE "home_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What date was the Home team fitzroy?`

### 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 date was the Home team fitzroy?`:
```sql
                SELECT "date" FROM "round_2" WHERE "home_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd when st kilda was the away team?`

### 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 largest crowd when st kilda was the away team?`:
```sql
                SELECT MAX("crowd") FROM "round_2" WHERE "away_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of essendon when they were the away team?`

### 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 was the score of essendon when they were the away team?`:
```sql
                SELECT "away_team_score" FROM "round_2" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team when there were more than 13,000 in the crowd at brunswick street oval?`

### 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 home team when there were more than 13,000 in the crowd at brunswick street oval?`:
```sql
                SELECT "home_team" FROM "round_2" WHERE "crowd">'13,000' AND "venue"='brunswick street oval';
```
## Task
Generate a SQL query to answer the following question:
`What away team played when the home team scoreed 5.7 (37)?`

### 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 away team played when the home team scoreed 5.7 (37)?`:
```sql
                SELECT "away_team" FROM "round_2" WHERE "home_team_score"='5.7 (37)';
```
## Task
Generate a SQL query to answer the following question:
`What home team played at the western oval?`

### 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 home team played at the western oval?`:
```sql
                SELECT "home_team" FROM "round_2" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`Which mid-hill zone has a slightly warm temperature?`

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

CREATE TABLE "references" (
  "particulars_and_characteristics" text,
  "shivalik_zone" text,
  "mid_hill_zone" text,
  "high_hill_zone" text,
  "trance_n_himalaya_zone" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which mid-hill zone has a slightly warm temperature?`:
```sql
                SELECT "high_hill_zone" FROM "references" WHERE "mid_hill_zone"='slightly warm temperature';
```
## Task
Generate a SQL query to answer the following question:
`Which one took place on December 3, 1995?`

### 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 `Which one took place on December 3, 1995?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='december 3, 1995';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent of the New Orleans Saints?`

### 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 `Who was the opponent of the New Orleans Saints?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='new orleans saints';
```
## Task
Generate a SQL query to answer the following question:
`What grid has 23 laps done by Josh Brookes?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What grid has 23 laps done by Josh Brookes?`:
```sql
                SELECT "grid" FROM "superbike_race_1_classification" WHERE "laps"=23 AND "rider"='josh brookes';
```
## Task
Generate a SQL query to answer the following question:
`What is noriyuki haga's time?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is noriyuki haga's time?`:
```sql
                SELECT "time" FROM "superbike_race_1_classification" WHERE "rider"='noriyuki haga';
```
## Task
Generate a SQL query to answer the following question:
`What laps have a Time of +28.778?`

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

CREATE TABLE "superbike_race_1_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What laps have a Time of +28.778?`:
```sql
                SELECT "laps" FROM "superbike_race_1_classification" WHERE "time"='+28.778';
```
## Task
Generate a SQL query to answer the following question:
`Where was the game held where Hawthorn was the away team?`

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

CREATE TABLE "round_17" (
  "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 held where Hawthorn was the away team?`:
```sql
                SELECT "venue" FROM "round_17" WHERE "away_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What was the date of the game when Richmond was the home team?`

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

CREATE TABLE "round_17" (
  "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 date of the game when Richmond was the home team?`:
```sql
                SELECT "date" FROM "round_17" WHERE "home_team"='richmond';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team at the game played at Kardinia Park?`

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

CREATE TABLE "round_17" (
  "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 `Who was the home team at the game played at Kardinia Park?`:
```sql
                SELECT "home_team" FROM "round_17" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team score when the venue was Western Oval?`

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

CREATE TABLE "round_10" (
  "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 when the venue was Western Oval?`:
```sql
                SELECT "away_team_score" FROM "round_10" WHERE "venue"='western oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game with an away team score of 6.12 (48)?`

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

CREATE TABLE "round_10" (
  "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 date of the game with an away team score of 6.12 (48)?`:
```sql
                SELECT "date" FROM "round_10" WHERE "away_team_score"='6.12 (48)';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team when the away team score is 8.17 (65)?`

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

CREATE TABLE "round_10" (
  "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 when the away team score is 8.17 (65)?`:
```sql
                SELECT "away_team" FROM "round_10" WHERE "away_team_score"='8.17 (65)';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game when the venue is MCG?`

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

CREATE TABLE "round_10" (
  "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 date of the game when the venue is MCG?`:
```sql
                SELECT "date" FROM "round_10" WHERE "venue"='mcg';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score when the away team is Essendon?`

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

CREATE TABLE "round_10" (
  "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 home team score when the away team is Essendon?`:
```sql
                SELECT "home_team_score" FROM "round_10" WHERE "away_team"='essendon';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the away team whose venue is Kardinia Park?`

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

CREATE TABLE "round_10" (
  "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 name of the away team whose venue is Kardinia Park?`:
```sql
                SELECT "away_team" FROM "round_10" WHERE "venue"='kardinia park';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when they were on a bye week?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when they were on a bye week?`:
```sql
                SELECT "result" FROM "schedule" WHERE "stadium"='bye week';
```
## Task
Generate a SQL query to answer the following question:
`What was the result when the attendance was 25,418?`

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

CREATE TABLE "schedule" (
  "week" real,
  "opponent" text,
  "result" text,
  "stadium" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result when the attendance was 25,418?`:
```sql
                SELECT "result" FROM "schedule" WHERE "attendance"='25,418';
```
## Task
Generate a SQL query to answer the following question:
`Which of the Latest version was released on Release date 1987-12-09?`

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

CREATE TABLE "dos_shells" (
  "name" text,
  "release_date" text,
  "latest_version" text,
  "status_support" text,
  "source_model" text,
  "architecture" text,
  "target_market" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the Latest version was released on Release date 1987-12-09?`:
```sql
                SELECT "latest_version" FROM "dos_shells" WHERE "release_date"='1987-12-09';
```
## Task
Generate a SQL query to answer the following question:
`Which Source model has a 16-bit* Architecture?`

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

CREATE TABLE "dos_shells" (
  "name" text,
  "release_date" text,
  "latest_version" text,
  "status_support" text,
  "source_model" text,
  "architecture" text,
  "target_market" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Source model has a 16-bit* Architecture?`:
```sql
                SELECT "source_model" FROM "dos_shells" WHERE "architecture"='16-bit*';
```
## Task
Generate a SQL query to answer the following question:
`Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20?`

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

CREATE TABLE "dos_shells" (
  "name" text,
  "release_date" text,
  "latest_version" text,
  "status_support" text,
  "source_model" text,
  "architecture" text,
  "target_market" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20?`:
```sql
                SELECT "latest_version" FROM "dos_shells" WHERE "architecture"='16-bit' AND "release_date"='1985-11-20';
```
## Task
Generate a SQL query to answer the following question:
`Which Architecture was released on Release date 1988-05-27?`

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

CREATE TABLE "dos_shells" (
  "name" text,
  "release_date" text,
  "latest_version" text,
  "status_support" text,
  "source_model" text,
  "architecture" text,
  "target_market" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Architecture was released on Release date 1988-05-27?`:
```sql
                SELECT "architecture" FROM "dos_shells" WHERE "release_date"='1988-05-27';
```
## Task
Generate a SQL query to answer the following question:
`Which Source model has a Release date of 1992-04-06?`

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

CREATE TABLE "dos_shells" (
  "name" text,
  "release_date" text,
  "latest_version" text,
  "status_support" text,
  "source_model" text,
  "architecture" text,
  "target_market" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Source model has a Release date of 1992-04-06?`:
```sql
                SELECT "source_model" FROM "dos_shells" WHERE "release_date"='1992-04-06';
```
## Task
Generate a SQL query to answer the following question:
`Who is the away side when collingwood is at home?`

### 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,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the away side when collingwood is at home?`:
```sql
                SELECT "away_team" FROM "round_18" WHERE "home_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team at arden street oval?`

### 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,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team at arden street oval?`:
```sql
                SELECT "home_team" FROM "round_18" WHERE "venue"='arden street oval';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team that scores 12.10 (82)?`

### 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,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the home team that scores 12.10 (82)?`:
```sql
                SELECT "home_team" FROM "round_18" WHERE "home_team_score"='12.10 (82)';
```
## Task
Generate a SQL query to answer the following question:
`What is the WPW freq with a day power of 250?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "day_power_w" real,
  "night_power" real,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the WPW freq with a day power of 250?`:
```sql
                SELECT SUM("freq") FROM "am" WHERE "owner"='wpw' AND "day_power_w">250;
```
## Task
Generate a SQL query to answer the following question:
`What is the Triad frew with a day power of 5,000?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "day_power_w" real,
  "night_power" real,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Triad frew with a day power of 5,000?`:
```sql
                SELECT COUNT("freq") FROM "am" WHERE "day_power_w"='5,000' AND "owner"='triad';
```
## Task
Generate a SQL query to answer the following question:
`Is WPEO in stereo?`

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

CREATE TABLE "am" (
  "freq" real,
  "call" text,
  "city" text,
  "owner" text,
  "day_power_w" real,
  "night_power" real,
  "format" text,
  "stereo" text
);
### SQL
Given the database schema, here is the SQL query that answers `Is WPEO in stereo?`:
```sql
                SELECT "stereo" FROM "am" WHERE "call"='wpeo';
```
## Task
Generate a SQL query to answer the following question:
`What is Park Tae-Hwan's final time?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "nationality" text,
  "100m" real,
  "150m" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Park Tae-Hwan's final time?`:
```sql
                SELECT "time" FROM "final" WHERE "name"='park tae-hwan';
```
## Task
Generate a SQL query to answer the following question:
`What was the largest crowd for an away Carlton game?`

### 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 was the largest crowd for an away Carlton game?`:
```sql
                SELECT MAX("crowd") FROM "round_2" WHERE "away_team"='carlton';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team for the game played at Corio Oval?`

### 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 `Who was the home team for the game played at Corio Oval?`:
```sql
                SELECT "home_team" FROM "round_2" WHERE "venue"='corio oval';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team for the game where the away team scored 16.8 (104) and the crowd was over 12,000?`

### 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 `Who was the home team for the game where the away team scored 16.8 (104) and the crowd was over 12,000?`:
```sql
                SELECT "home_team" FROM "round_2" WHERE "crowd">'12,000' AND "away_team_score"='16.8 (104)';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size at the game where the home team scored 12.17 (89)?`

### 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 was the crowd size at the game where the home team scored 12.17 (89)?`:
```sql
                SELECT AVG("crowd") FROM "round_2" WHERE "home_team_score"='12.17 (89)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Euro for a ticket with a Price per "Within" Day of &0 8?`

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

CREATE TABLE "durations_and_prices" (
  "valid" text,
  "within" text,
  "price_in_euro" real,
  "price_per_valid_day" text,
  "price_per_within_day" text,
  "area" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Euro for a ticket with a Price per "Within" Day of &0 8?`:
```sql
                SELECT SUM("price_in_euro") FROM "durations_and_prices" WHERE "price_per_within_day"='&0 8';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Euro for a ticket with a price per valid day of & 34?`

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

CREATE TABLE "durations_and_prices" (
  "valid" text,
  "within" text,
  "price_in_euro" real,
  "price_per_valid_day" text,
  "price_per_within_day" text,
  "area" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Euro for a ticket with a price per valid day of & 34?`:
```sql
                SELECT MIN("price_in_euro") FROM "durations_and_prices" WHERE "price_per_valid_day"='& 34';
```
## Task
Generate a SQL query to answer the following question:
`The safety position is represented in the draft by which colleges?`

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

CREATE TABLE "2001_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `The safety position is represented in the draft by which colleges?`:
```sql
                SELECT "college" FROM "2001_new_england_patriots_draft_selectio" WHERE "position"='safety';
```
## Task
Generate a SQL query to answer the following question:
`In how many rounds of the draft was there a college from Georgia involved?`

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

CREATE TABLE "2001_new_england_patriots_draft_selectio" (
  "round" real,
  "overall" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `In how many rounds of the draft was there a college from Georgia involved?`:
```sql
                SELECT COUNT("round") FROM "2001_new_england_patriots_draft_selectio" WHERE "college"='georgia';
```
## Task
Generate a SQL query to answer the following question:
`What is the Time of Driver Jan Heylen (r)?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time of Driver Jan Heylen (r)?`:
```sql
                SELECT "time_retired" FROM "race" WHERE "driver"='jan heylen (r)';
```
## Task
Generate a SQL query to answer the following question:
`What Grid has Driver Cristiano da Matta?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What Grid has Driver Cristiano da Matta?`:
```sql
                SELECT "grid" FROM "race" WHERE "driver"='cristiano da matta';
```
## Task
Generate a SQL query to answer the following question:
`Which Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team?`:
```sql
                SELECT "driver" FROM "race" WHERE "laps"<84 AND "points">9 AND "team"='rocketsports racing';
```
## Task
Generate a SQL query to answer the following question:
`Which team has less than 73 laps and a gearbox time?`

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

CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which team has less than 73 laps and a gearbox time?`:
```sql
                SELECT "team" FROM "race" WHERE "laps"<73 AND "time_retired"='gearbox';
```
## Task
Generate a SQL query to answer the following question:
`What is the car with the lowest extinct year that has a NBR class of 32?`

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

CREATE TABLE "locomotives" (
  "nbr_class" real,
  "type" text,
  "introduced" real,
  "driving_wheel" text,
  "total" real,
  "extinct" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the car with the lowest extinct year that has a NBR class of 32?`:
```sql
                SELECT MIN("extinct") FROM "locomotives" WHERE "nbr_class"=32;
```
## Task
Generate a SQL query to answer the following question:
`What is the home team that played at Corio Oval?`

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

CREATE TABLE "round_9" (
  "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 home team that played at Corio Oval?`:
```sql
                SELECT "home_team" FROM "round_9" WHERE "venue"='corio oval';
```
## Task
Generate a SQL query to answer the following question:
`At which venue did the home team score 12.15 (87)?`

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

CREATE TABLE "round_9" (
  "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 `At which venue did the home team score 12.15 (87)?`:
```sql
                SELECT "venue" FROM "round_9" WHERE "home_team_score"='12.15 (87)';
```
## Task
Generate a SQL query to answer the following question:
`At which venue did the away team score 15.9 (99)?`

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

CREATE TABLE "round_9" (
  "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 `At which venue did the away team score 15.9 (99)?`:
```sql
                SELECT "venue" FROM "round_9" WHERE "away_team_score"='15.9 (99)';
```
## Task
Generate a SQL query to answer the following question:
`On which date was St Kilda the home team?`

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

CREATE TABLE "round_9" (
  "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 which date was St Kilda the home team?`:
```sql
                SELECT "date" FROM "round_9" WHERE "home_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What is the Austin record of Kansas State?`

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

CREATE TABLE "all_time_series_records_against_big_12_m" (
  "texas_vs" text,
  "overall_record" text,
  "at_austin" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Austin record of Kansas State?`:
```sql
                SELECT "at_austin" FROM "all_time_series_records_against_big_12_m" WHERE "texas_vs"='kansas state';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the last 5 meetings for a team with an L 1 streak?`

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

CREATE TABLE "all_time_series_records_against_big_12_m" (
  "texas_vs" text,
  "overall_record" text,
  "at_austin" text,
  "at_opponent_s_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the last 5 meetings for a team with an L 1 streak?`:
```sql
                SELECT "last_5_meetings" FROM "all_time_series_records_against_big_12_m" WHERE "current_streak"='l 1';
```
## Task
Generate a SQL query to answer the following question:
`Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6?`

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

CREATE TABLE "doubles_titles_8" (
  "outcome" text,
  "date" real,
  "tournament" text,
  "surface" text,
  "partner" text,
  "opponents_in_the_final" text,
  "score_in_the_final" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6?`:
```sql
                SELECT "partner" FROM "doubles_titles_8" WHERE "date">1971 AND "outcome"='runner-up' AND "score_in_the_final"='3–6, 3–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the first year that Mario Lemieux from Canada won playing center?`

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

CREATE TABLE "notes" (
  "year" real,
  "player" text,
  "country" text,
  "team" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first year that Mario Lemieux from Canada won playing center?`:
```sql
                SELECT MIN("year") FROM "notes" WHERE "country"='canada' AND "position"='center' AND "player"='mario lemieux';
```
## Task
Generate a SQL query to answer the following question:
`What country did mario lemieux play for in 1994?`

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

CREATE TABLE "notes" (
  "year" real,
  "player" text,
  "country" text,
  "team" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country did mario lemieux play for in 1994?`:
```sql
                SELECT "country" FROM "notes" WHERE "player"='mario lemieux' AND "year"=1994;
```
## Task
Generate a SQL query to answer the following question:
`What player played center in 2010?`

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

CREATE TABLE "notes" (
  "year" real,
  "player" text,
  "country" text,
  "team" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What player played center in 2010?`:
```sql
                SELECT "player" FROM "notes" WHERE "position"='center' AND "year"=2010;
```
## Task
Generate a SQL query to answer the following question:
`What is the drop number on 10/02/2007?`

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

CREATE TABLE "most_points_in_a_match" (
  "player" text,
  "tries" text,
  "conv" text,
  "pens" text,
  "drop" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drop number on 10/02/2007?`:
```sql
                SELECT "drop" FROM "most_points_in_a_match" WHERE "date"='10/02/2007';
```