cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many days did Hawthorn play as a home team?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many days did Hawthorn play as a home team?`:
```sql
                SELECT COUNT("date") FROM "round_of_16" WHERE "home_team"='Hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What time was it when the home team's score was 10.7 (67)?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was it when the home team's score was 10.7 (67)?`:
```sql
                SELECT "time" FROM "round_of_16" WHERE "home_team_score"='10.7 (67)';
```
## Task
Generate a SQL query to answer the following question:
`What time was it when the away team's score was 5.4 (34)?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time was it when the away team's score was 5.4 (34)?`:
```sql
                SELECT "time" FROM "round_of_16" WHERE "away_team_score"='5.4 (34)';
```
## Task
Generate a SQL query to answer the following question:
`How many days was the away team's score 11.8 (74)?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many days was the away team's score 11.8 (74)?`:
```sql
                SELECT COUNT("date") FROM "round_of_16" WHERE "away_team_score"='11.8 (74)';
```
## Task
Generate a SQL query to answer the following question:
`The away team of Richmond played on what grounds?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `The away team of Richmond played on what grounds?`:
```sql
                SELECT "ground" FROM "round_of_16" WHERE "away_team"='Richmond';
```
## Task
Generate a SQL query to answer the following question:
`At what venues did the away team score 16.10 (106)?`

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

CREATE TABLE "round_of_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `At what venues did the away team score 16.10 (106)?`:
```sql
                SELECT "ground" FROM "round_of_14" WHERE "away_team_score"='16.10 (106)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score at the venue football park?`

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

CREATE TABLE "round_of_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score at the venue football park?`:
```sql
                SELECT "away_team_score" FROM "round_of_14" WHERE "ground"='Football Park';
```
## Task
Generate a SQL query to answer the following question:
`On what date did the home team score 14.12 (96)?`

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

CREATE TABLE "round_of_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did the home team score 14.12 (96)?`:
```sql
                SELECT "date" FROM "round_of_14" WHERE "home_team_score"='14.12 (96)';
```
## Task
Generate a SQL query to answer the following question:
`What are the scores for games where the home team is Adelaide?`

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

CREATE TABLE "round_of_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the scores for games where the home team is Adelaide?`:
```sql
                SELECT "home_team_score" FROM "round_of_14" WHERE "home_team"='Adelaide';
```
## Task
Generate a SQL query to answer the following question:
`On what dates where games played at Football Park?`

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

CREATE TABLE "round_of_14" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what dates where games played at Football Park?`:
```sql
                SELECT "date" FROM "round_of_14" WHERE "ground"='Football Park';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score against Collingwood?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team score against Collingwood?`:
```sql
                SELECT "home_team_score" FROM "1st_round" WHERE "away_team"='Collingwood';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team playing at Carlton?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team playing at Carlton?`:
```sql
                SELECT "away_team" FROM "1st_round" WHERE "home_team"='Carlton';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score against Richmond?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score against Richmond?`:
```sql
                SELECT "home_team_score" FROM "1st_round" WHERE "away_team"='Richmond';
```
## Task
Generate a SQL query to answer the following question:
`What was the maximum crowd size against St Kilda?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the maximum crowd size against St Kilda?`:
```sql
                SELECT MAX("crowd") FROM "1st_round" WHERE "away_team"='St Kilda';
```
## Task
Generate a SQL query to answer the following question:
`What to Footscray score at home?`

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

CREATE TABLE "1st_round" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What to Footscray score at home?`:
```sql
                SELECT "home_team_score" FROM "1st_round" WHERE "home_team"='Footscray';
```
## Task
Generate a SQL query to answer the following question:
`How many crowd sizes were recorded at the game when 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_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many crowd sizes were recorded at the game when the home team scored 7.8 (50)?`:
```sql
                SELECT COUNT("crowd") FROM "round_of_16" WHERE "home_team_score"='7.8 (50)';
```
## Task
Generate a SQL query to answer the following question:
`When the home team scored 7.8 (50), how many away team scores were recorded?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the home team scored 7.8 (50), how many away team scores were recorded?`:
```sql
                SELECT COUNT("away_team_score") FROM "round_of_16" 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 18.12 (120)?`

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

CREATE TABLE "round_of_16" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score when the away team scored 18.12 (120)?`:
```sql
                SELECT "home_team_score" FROM "round_of_16" WHERE "away_team_score"='18.12 (120)';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for bundaberg rum stadium`

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

CREATE TABLE "group_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for bundaberg rum stadium`:
```sql
                SELECT "date" FROM "group_3" WHERE "ground"='Bundaberg Rum Stadium';
```
## Task
Generate a SQL query to answer the following question:
`Name the home team score for brisbane lions`

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

CREATE TABLE "group_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the home team score for brisbane lions`:
```sql
                SELECT "home_team_score" FROM "group_3" WHERE "home_team"='Brisbane Lions';
```
## Task
Generate a SQL query to answer the following question:
`Name the home team for football park`

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

CREATE TABLE "group_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the home team for football park`:
```sql
                SELECT "home_team" FROM "group_3" WHERE "ground"='Football Park';
```
## Task
Generate a SQL query to answer the following question:
`Name the away team score for carlton`

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

CREATE TABLE "group_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the away team score for carlton`:
```sql
                SELECT "away_team_score" FROM "group_3" WHERE "home_team"='Carlton';
```
## Task
Generate a SQL query to answer the following question:
`Name the date for adelaide for westpac stadium`

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

CREATE TABLE "group_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the date for adelaide for westpac stadium`:
```sql
                SELECT "date" FROM "group_3" WHERE "home_team"='Adelaide' AND "ground"='Westpac Stadium';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of ground for essendon`

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

CREATE TABLE "group_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of ground for essendon`:
```sql
                SELECT COUNT("ground") FROM "group_1" WHERE "home_team"='Essendon';
```
## Task
Generate a SQL query to answer the following question:
`Name the most crowd for essendon`

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

CREATE TABLE "group_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most crowd for essendon`:
```sql
                SELECT MAX("crowd") FROM "group_1" WHERE "away_team"='Essendon';
```
## Task
Generate a SQL query to answer the following question:
`When ground is manuka oval what is the home team score?`

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

CREATE TABLE "group_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `When ground is manuka oval what is the home team score?`:
```sql
                SELECT COUNT("home_team_score") FROM "group_2" WHERE "ground"='Manuka Oval';
```
## Task
Generate a SQL query to answer the following question:
`When the crowd was 8642 what was the away team's score?`

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

CREATE TABLE "group_2" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "date" text,
  "crowd" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the crowd was 8642 what was the away team's score?`:
```sql
                SELECT "away_team_score" FROM "group_2" WHERE "crowd"=8642;
```
## Task
Generate a SQL query to answer the following question:
`Which location had an attendance of 22537?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which location had an attendance of 22537?`:
```sql
                SELECT "ground" FROM "round_1" WHERE "crowd"=22537;
```
## Task
Generate a SQL query to answer the following question:
`When the away team's score was 0.12.5 (77), what was the home team's score?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the away team's score was 0.12.5 (77), what was the home team's score?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='0.12.5 (77)';
```
## Task
Generate a SQL query to answer the following question:
`When the away team's score was 2.10.7 (85), what was the home team's score?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the away team's score was 2.10.7 (85), what was the home team's score?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "away_team_score"='2.10.7 (85)';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team's score of at the game of telstra stadium?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team's score of at the game of telstra stadium?`:
```sql
                SELECT "away_team_score" FROM "round_1" WHERE "ground"='Telstra Stadium';
```
## Task
Generate a SQL query to answer the following question:
`When the away team was Carlton, who was the home team?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the away team was Carlton, who was the home team?`:
```sql
                SELECT "home_team" FROM "round_1" WHERE "away_team"='Carlton';
```
## Task
Generate a SQL query to answer the following question:
`What was the average for contestants with a swimsuit score of 8.266?`

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

CREATE TABLE "final_competition_scores" (
  "country" text,
  "preliminary" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average for contestants with a swimsuit score of 8.266?`:
```sql
                SELECT "average" FROM "final_competition_scores" WHERE "swimsuit"='8.266';
```
## Task
Generate a SQL query to answer the following question:
`What are the interview scores for contestants whose average is 9.090?`

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

CREATE TABLE "final_competition_scores" (
  "country" text,
  "preliminary" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the interview scores for contestants whose average is 9.090?`:
```sql
                SELECT "interview" FROM "final_competition_scores" WHERE "average"='9.090';
```
## Task
Generate a SQL query to answer the following question:
`What are the average scores of contestants whose home state is Pennsylvania?`

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

CREATE TABLE "final_competition_scores" (
  "country" text,
  "preliminary" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the average scores of contestants whose home state is Pennsylvania?`:
```sql
                SELECT "average" FROM "final_competition_scores" WHERE "country"='Pennsylvania';
```
## Task
Generate a SQL query to answer the following question:
`What are the evening gown scores of contestants whose average is 9.266?`

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

CREATE TABLE "final_competition_scores" (
  "country" text,
  "preliminary" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the evening gown scores of contestants whose average is 9.266?`:
```sql
                SELECT "evening_gown" FROM "final_competition_scores" WHERE "average"='9.266';
```
## Task
Generate a SQL query to answer the following question:
`What are the average scores of contestants whose interview score is 8.011?`

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

CREATE TABLE "final_competition_scores" (
  "country" text,
  "preliminary" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the average scores of contestants whose interview score is 8.011?`:
```sql
                SELECT "average" FROM "final_competition_scores" WHERE "interview"='8.011';
```
## Task
Generate a SQL query to answer the following question:
`What are the home team scores when richmond is the home team?`

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

CREATE TABLE "week_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the home team scores when richmond is the home team?`:
```sql
                SELECT "home_team_score" FROM "week_1" WHERE "home_team"='Richmond';
```
## Task
Generate a SQL query to answer the following question:
`What are the home team scores when fremantle is the away team?`

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

CREATE TABLE "week_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the home team scores when fremantle is the away team?`:
```sql
                SELECT "home_team_score" FROM "week_1" WHERE "away_team"='Fremantle';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd when essendon is the home team?`

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

CREATE TABLE "week_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest crowd when essendon is the home team?`:
```sql
                SELECT MAX("crowd") FROM "week_1" WHERE "home_team"='Essendon';
```
## Task
Generate a SQL query to answer the following question:
`Who are the away teams when subiaco oval was the grounds?`

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

CREATE TABLE "week_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the away teams when subiaco oval was the grounds?`:
```sql
                SELECT "away_team" FROM "week_1" WHERE "ground"='Subiaco Oval';
```
## Task
Generate a SQL query to answer the following question:
`Who were the away teams when the home team scored 1.8.0.5 (62)?`

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

CREATE TABLE "week_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the away teams when the home team scored 1.8.0.5 (62)?`:
```sql
                SELECT "away_team" FROM "week_1" WHERE "home_team_score"='1.8.0.5 (62)';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team when the away team is Carlton?`

### 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,
  "ground" 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 is Carlton?`:
```sql
                SELECT "home_team" FROM "round_3" WHERE "away_team"='Carlton';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score where the home team is Fremantle?`

### 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,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team score where the home team is Fremantle?`:
```sql
                SELECT "home_team_score" FROM "round_3" WHERE "home_team"='Fremantle';
```
## Task
Generate a SQL query to answer the following question:
`What was the away team score for the game with a crowd of 5391?`

### 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,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the away team score for the game with a crowd of 5391?`:
```sql
                SELECT "away_team_score" FROM "round_3" WHERE "crowd"=5391;
```
## Task
Generate a SQL query to answer the following question:
`What date was Adelaide the home team?`

### 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,
  "ground" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was Adelaide the home team?`:
```sql
                SELECT "date" FROM "round_3" WHERE "home_team"='Adelaide';
```
## Task
Generate a SQL query to answer the following question:
`How many locations does Elon University have?`

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

CREATE TABLE "member_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text,
  "home_rink" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many locations does Elon University have?`:
```sql
                SELECT COUNT("location") FROM "member_teams" WHERE "institution"='Elon University';
```
## Task
Generate a SQL query to answer the following question:
`Private/Catholic school's minimum enrollment is?`

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

CREATE TABLE "member_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text,
  "home_rink" text
);
### SQL
Given the database schema, here is the SQL query that answers `Private/Catholic school's minimum enrollment is?`:
```sql
                SELECT MIN("enrollment") FROM "member_teams" WHERE "affiliation"='Private/Catholic';
```
## Task
Generate a SQL query to answer the following question:
`Which school has the mascot of the Colonials?`

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

CREATE TABLE "member_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text,
  "home_rink" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which school has the mascot of the Colonials?`:
```sql
                SELECT "institution" FROM "member_teams" WHERE "team_nickname"='Colonials';
```
## Task
Generate a SQL query to answer the following question:
`What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?`

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

CREATE TABLE "250_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the socket location for sSPEC number sl3f7(kc0)sl3fj(kc0)?`:
```sql
                SELECT "socket" FROM "250_nm" WHERE "s_spec_number"='SL3F7(kC0)SL3FJ(kC0)';
```
## Task
Generate a SQL query to answer the following question:
`What is the release date of part 80525py500512bx80525u500512bx80525u500512e?`

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

CREATE TABLE "250_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the release date of part 80525py500512bx80525u500512bx80525u500512e?`:
```sql
                SELECT "release_date" FROM "250_nm" WHERE "part_number_s"='80525PY500512BX80525U500512BX80525U500512E';
```
## Task
Generate a SQL query to answer the following question:
`How many release prices are there for the Pentium iii 550?`

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

CREATE TABLE "250_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many release prices are there for the Pentium iii 550?`:
```sql
                SELECT COUNT("release_price_usd") FROM "250_nm" WHERE "model_number"='Pentium III 550';
```
## Task
Generate a SQL query to answer the following question:
`What is the model number with a release price of $496?`

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

CREATE TABLE "250_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the model number with a release price of $496?`:
```sql
                SELECT "model_number" FROM "250_nm" WHERE "release_price_usd"='$496';
```
## Task
Generate a SQL query to answer the following question:
`What is the l2 cache for the model with a release price of $669?`

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

CREATE TABLE "250_nm" (
  "model_number" text,
  "s_spec_number" text,
  "frequency" text,
  "l2_cache" text,
  "fsb" text,
  "mult" text,
  "voltage" text,
  "tdp" text,
  "socket" text,
  "release_date" text,
  "part_number_s" text,
  "release_price_usd" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the l2 cache for the model with a release price of $669?`:
```sql
                SELECT "l2_cache" FROM "250_nm" WHERE "release_price_usd"='$669';
```
## Task
Generate a SQL query to answer the following question:
`What day(s) did they play on week 2?`

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

CREATE TABLE "table1_1639689_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What day(s) did they play on week 2?`:
```sql
                SELECT "date" FROM "table1_1639689_2" WHERE "week"=2;
```
## Task
Generate a SQL query to answer the following question:
`What was the kickoff time on monday, may 13?`

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

CREATE TABLE "table1_1639689_2" (
  "week" real,
  "date" text,
  "kickoff" text,
  "opponent" text,
  "final_score" text,
  "team_record" text,
  "game_site" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the kickoff time on monday, may 13?`:
```sql
                SELECT "kickoff" FROM "table1_1639689_2" WHERE "date"='Monday, May 13';
```
## Task
Generate a SQL query to answer the following question:
`what is the latest episode in season 2 directed by jamie babbit?`

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

CREATE TABLE "table1_16390576_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the latest episode in season 2 directed by jamie babbit?`:
```sql
                SELECT MAX("no_in_season") FROM "table1_16390576_3" WHERE "directed_by"='Jamie Babbit';
```
## Task
Generate a SQL query to answer the following question:
`what is the number of the episode titled "magic jordan"?`

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

CREATE TABLE "table1_16390576_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of the episode titled "magic jordan"?`:
```sql
                SELECT MIN("no_in_series") FROM "table1_16390576_3" WHERE "title"='\"Magic Jordan\"';
```
## Task
Generate a SQL query to answer the following question:
`what are the air dates for episodes with the production code 08-02-214`

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

CREATE TABLE "table1_16390576_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `what are the air dates for episodes with the production code 08-02-214`:
```sql
                SELECT "original_air_date" FROM "table1_16390576_3" WHERE "production_code"='08-02-214';
```
## Task
Generate a SQL query to answer the following question:
`what is the title of episode 28`

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

CREATE TABLE "table1_16390576_3" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the title of episode 28`:
```sql
                SELECT "title" FROM "table1_16390576_3" WHERE "no_in_series"=28;
```
## Task
Generate a SQL query to answer the following question:
`What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?`:
```sql
                SELECT "dpi" FROM "typical_duplex_scanners" WHERE "dimensions_mm"='280 x 95 x 40';
```
## Task
Generate a SQL query to answer the following question:
`What is the maximum pages per minute for the Xerox Travel Scanner 100?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the maximum pages per minute for the Xerox Travel Scanner 100?`:
```sql
                SELECT MAX("pages_per_minute_color") FROM "typical_duplex_scanners" WHERE "product"='Xerox Travel Scanner 100';
```
## Task
Generate a SQL query to answer the following question:
`What interface is used on the scanner that has a 36 pages per minute?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What interface is used on the scanner that has a 36 pages per minute?`:
```sql
                SELECT "interface" FROM "typical_duplex_scanners" WHERE "pages_per_minute_color"=36;
```
## Task
Generate a SQL query to answer the following question:
`What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the mm dimensions of the Plustek Mobileoffice D28 Corporate?`:
```sql
                SELECT "dimensions_mm" FROM "typical_duplex_scanners" WHERE "product"='Plustek MobileOffice D28 Corporate';
```
## Task
Generate a SQL query to answer the following question:
`What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?`:
```sql
                SELECT "dimensions_mm" FROM "typical_duplex_scanners" WHERE "product"='Fujitsu fi-6130 A4 Series Scanner';
```
## Task
Generate a SQL query to answer the following question:
`What is the dpi for the scanner with a max page size of 216mm x 355mm?`

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

CREATE TABLE "typical_duplex_scanners" (
  "product" text,
  "dimensions_mm" text,
  "dpi" real,
  "pages_per_minute_color" real,
  "max_page_size" text,
  "interface" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the dpi for the scanner with a max page size of 216mm x 355mm?`:
```sql
                SELECT "dpi" FROM "typical_duplex_scanners" WHERE "max_page_size"='216mm x 355mm';
```
## Task
Generate a SQL query to answer the following question:
`which country won swimming track & field when lexington won swimming and madison won volleyball`

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `which country won swimming track & field when lexington won swimming and madison won volleyball`:
```sql
                SELECT "track_field" FROM "girls_league_championships" WHERE "swimming"='Lexington' AND "volleyball"='Madison';
```
## Task
Generate a SQL query to answer the following question:
`how many teams won at golf when wooster won soccer`

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many teams won at golf when wooster won soccer`:
```sql
                SELECT COUNT("golf") FROM "girls_league_championships" WHERE "soccer"='Wooster';
```
## Task
Generate a SQL query to answer the following question:
`Who won soccer when madison won volleyball, lexington won cross country and orrville won softball `

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won soccer when madison won volleyball, lexington won cross country and orrville won softball `:
```sql
                SELECT "soccer" FROM "girls_league_championships" WHERE "volleyball"='Madison' AND "cross_country"='Lexington' AND "softball"='Orrville';
```
## Task
Generate a SQL query to answer the following question:
`Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12`

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won volleyball when west holmes won basketball and wooster won swimming in 2011-12`:
```sql
                SELECT "volleyball" FROM "girls_league_championships" WHERE "basketball"='West Holmes' AND "swimming"='Wooster' AND "school_year"='2011-12';
```
## Task
Generate a SQL query to answer the following question:
`who won tennis when ashland won softball and wooster won volleybal`

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `who won tennis when ashland won softball and wooster won volleybal`:
```sql
                SELECT "tennis" FROM "girls_league_championships" WHERE "softball"='Ashland' AND "volleyball"='Wooster';
```
## Task
Generate a SQL query to answer the following question:
`who won basketball when ashland won track & field and cross country`

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

CREATE TABLE "girls_league_championships" (
  "school_year" text,
  "volleyball" text,
  "cross_country" text,
  "soccer" text,
  "tennis" text,
  "golf" text,
  "basketball" text,
  "swimming" text,
  "softball" text,
  "track_field" text
);
### SQL
Given the database schema, here is the SQL query that answers `who won basketball when ashland won track & field and cross country`:
```sql
                SELECT "basketball" FROM "girls_league_championships" WHERE "track_field"='Ashland' AND "cross_country"='Ashland';
```
## Task
Generate a SQL query to answer the following question:
`What is the location of the school established in 1923`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location of the school established in 1923`:
```sql
                SELECT "location" FROM "american_division" WHERE "established"=1923;
```
## Task
Generate a SQL query to answer the following question:
`Total enrollment at the school with the nickname Blue Hens`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `Total enrollment at the school with the nickname Blue Hens`:
```sql
                SELECT COUNT("enrollment") FROM "american_division" WHERE "nickname"='Blue Hens';
```
## Task
Generate a SQL query to answer the following question:
`Nickname of the school established in 1773`

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

CREATE TABLE "american_division" (
  "institution" text,
  "location" text,
  "nickname" text,
  "enrollment" real,
  "established" real
);
### SQL
Given the database schema, here is the SQL query that answers `Nickname of the school established in 1773`:
```sql
                SELECT "nickname" FROM "american_division" WHERE "established"=1773;
```