cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How long is the diameter that has a longitude of 8.0e?`

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

CREATE TABLE "farra" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `How long is the diameter that has a longitude of 8.0e?`:
```sql
                SELECT "diameter_km" FROM "farra" WHERE "longitude"='8.0e';
```
## Task
Generate a SQL query to answer the following question:
`What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s?`

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

CREATE TABLE "farra" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `What name was given in 1994 when the diameter (km) was larger than 125 and the latitude was 30.0s?`:
```sql
                SELECT "name" FROM "farra" WHERE "year_named"=1994 AND "diameter_km">125 AND "latitude"='30.0s';
```
## Task
Generate a SQL query to answer the following question:
`What is the longitude of Carmenta Farra in 1994?`

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

CREATE TABLE "farra" (
  "name" text,
  "latitude" text,
  "longitude" text,
  "diameter_km" real,
  "year_named" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the longitude of Carmenta Farra in 1994?`:
```sql
                SELECT "longitude" FROM "farra" WHERE "year_named"=1994 AND "name"='carmenta farra';
```
## Task
Generate a SQL query to answer the following question:
`Name the No. 5 which has a No. 6 of ethan, and a No. 4 of william, and a No. 9 of john?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the No. 5 which has a No. 6 of ethan, and a No. 4 of william, and a No. 9 of john?`:
```sql
                SELECT "no_5" FROM "male_names" WHERE "no_6"='ethan' AND "no_4"='william' AND "no_9"='john';
```
## Task
Generate a SQL query to answer the following question:
`Name the  No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the  No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan?`:
```sql
                SELECT "no_2" FROM "male_names" WHERE "no_3"='jacob' AND "no_10"='wyatt' AND "no_6"='ethan';
```
## Task
Generate a SQL query to answer the following question:
`Name the No. 3 which has a No. 7 of logan, and a No. 5 of jackson?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the No. 3 which has a No. 7 of logan, and a No. 5 of jackson?`:
```sql
                SELECT "no_3" FROM "male_names" WHERE "no_7"='logan' AND "no_5"='jackson';
```
## Task
Generate a SQL query to answer the following question:
`Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the No. 5 which has a No. 8 of logan, and a No. 10 of ethan, and a No. 4 of jacob?`:
```sql
                SELECT "no_5" FROM "male_names" WHERE "no_8"='logan' AND "no_10"='ethan' AND "no_4"='jacob';
```
## Task
Generate a SQL query to answer the following question:
`Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the No. 8 which has a No. 4 of benjamin, and a No. 3 of liam?`:
```sql
                SELECT "no_8" FROM "male_names" WHERE "no_4"='benjamin' AND "no_3"='liam';
```
## Task
Generate a SQL query to answer the following question:
`Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?`

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

CREATE TABLE "male_names" (
  "region_year" text,
  "no_1" text,
  "no_2" text,
  "no_3" text,
  "no_4" text,
  "no_5" text,
  "no_6" text,
  "no_7" text,
  "no_8" text,
  "no_9" text,
  "no_10" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?`:
```sql
                SELECT "no_10" FROM "male_names" WHERE "no_8"='jackson' AND "no_9"='jayden';
```
## Task
Generate a SQL query to answer the following question:
`What was the date for Ron Paul as republican and a sample sized less than 472?`

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

CREATE TABLE "new_mexico" (
  "poll_source" text,
  "sample_size" real,
  "date" text,
  "democrat" text,
  "republican" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the date for Ron Paul as republican and a sample sized less than 472?`:
```sql
                SELECT "date" FROM "new_mexico" WHERE "sample_size"<472 AND "republican"='ron paul';
```
## Task
Generate a SQL query to answer the following question:
`Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?`

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

CREATE TABLE "new_mexico" (
  "poll_source" text,
  "sample_size" real,
  "date" text,
  "democrat" text,
  "republican" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?`:
```sql
                SELECT "democrat" FROM "new_mexico" WHERE "sample_size"<495 AND "republican"='mike huckabee';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance in week 9?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance in week 9?`:
```sql
                SELECT AVG("attendance") FROM "schedule" WHERE "week"=9;
```
## Task
Generate a SQL query to answer the following question:
`What week had attendance of 52,714?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What week had attendance of 52,714?`:
```sql
                SELECT MAX("week") FROM "schedule" WHERE "attendance"='52,714';
```
## Task
Generate a SQL query to answer the following question:
`what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?`

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

CREATE TABLE "summer_paralympics" (
  "event" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?`:
```sql
                SELECT AVG("gold") FROM "summer_paralympics" WHERE "silver"=1 AND "event"='2000 summer paralympics' AND "bronze">3;
```
## Task
Generate a SQL query to answer the following question:
`how many times is bronze 2 and gold more than 3?`

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

CREATE TABLE "summer_paralympics" (
  "event" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `how many times is bronze 2 and gold more than 3?`:
```sql
                SELECT COUNT("total") FROM "summer_paralympics" WHERE "bronze"=2 AND "gold">3;
```
## Task
Generate a SQL query to answer the following question:
`what is the highest gold when silver is 1 and bronze is less than 0?`

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

CREATE TABLE "summer_paralympics" (
  "event" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest gold when silver is 1 and bronze is less than 0?`:
```sql
                SELECT MAX("gold") FROM "summer_paralympics" WHERE "silver"=1 AND "bronze"<0;
```
## Task
Generate a SQL query to answer the following question:
`what is the highest bronze when silver is less than 1 and gold is more than 0?`

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

CREATE TABLE "summer_paralympics" (
  "event" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the highest bronze when silver is less than 1 and gold is more than 0?`:
```sql
                SELECT MAX("bronze") FROM "summer_paralympics" WHERE "silver"<1 AND "gold">0;
```
## Task
Generate a SQL query to answer the following question:
`what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?`

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

CREATE TABLE "summer_paralympics" (
  "event" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the most silver when the event is 2008 summer paralympics and bronze is less than 1?`:
```sql
                SELECT MAX("silver") FROM "summer_paralympics" WHERE "event"='2008 summer paralympics' AND "bronze"<1;
```
## Task
Generate a SQL query to answer the following question:
`Which Album title has a Title of 滑板?`

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

CREATE TABLE "discography" (
  "release_date" text,
  "album_title" text,
  "record_label" text,
  "disc_number" text,
  "track_number" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Album title has a Title of 滑板?`:
```sql
                SELECT "album_title" FROM "discography" WHERE "title"='滑板';
```
## Task
Generate a SQL query to answer the following question:
`Which Record label has a Title of 诀别诗?`

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

CREATE TABLE "discography" (
  "release_date" text,
  "album_title" text,
  "record_label" text,
  "disc_number" text,
  "track_number" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Record label has a Title of 诀别诗?`:
```sql
                SELECT "record_label" FROM "discography" WHERE "title"='诀别诗';
```
## Task
Generate a SQL query to answer the following question:
`Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?`

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

CREATE TABLE "discography" (
  "release_date" text,
  "album_title" text,
  "record_label" text,
  "disc_number" text,
  "track_number" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Track number has a Album title of 文武双全升级版, and a Title of 老爸你别装酷?`:
```sql
                SELECT "track_number" FROM "discography" WHERE "album_title"='文武双全升级版' AND "title"='老爸你别装酷';
```
## Task
Generate a SQL query to answer the following question:
`What kind of Disc number has a Track number of 02 on 7 september 2004?`

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

CREATE TABLE "discography" (
  "release_date" text,
  "album_title" text,
  "record_label" text,
  "disc_number" text,
  "track_number" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `What kind of Disc number has a Track number of 02 on 7 september 2004?`:
```sql
                SELECT "disc_number" FROM "discography" WHERE "track_number"='02' AND "release_date"='7 september 2004';
```
## Task
Generate a SQL query to answer the following question:
`Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?`

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

CREATE TABLE "discography" (
  "release_date" text,
  "album_title" text,
  "record_label" text,
  "disc_number" text,
  "track_number" text,
  "title" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?`:
```sql
                SELECT "title" FROM "discography" WHERE "track_number"='07' AND "record_label"='emi' AND "release_date"='21 april 2006';
```
## Task
Generate a SQL query to answer the following question:
`WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT'S THE TIE NUMBER WITH AN AWAY TEAM OF WREXHAM?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='wrexham';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AWAY TEAM WITH HOME OF LEICESTER CITY?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='leicester city';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "home_team"='leeds united';
```
## Task
Generate a SQL query to answer the following question:
`WHAT IS THE AWAY TEAM WITH A TIE NUMBER 1?`

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

CREATE TABLE "fifth_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `WHAT IS THE AWAY TEAM WITH A TIE NUMBER 1?`:
```sql
                SELECT "away_team" FROM "fifth_round_proper" WHERE "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?`

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

CREATE TABLE "fourth_division" (
  "club" text,
  "league_goals" text,
  "fa_cup_goals" text,
  "league_cup_goals" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Total has a Club of darlington, and a League goals of 13, and a League Cup goals of 1?`:
```sql
                SELECT SUM("total") FROM "fourth_division" WHERE "club"='darlington' AND "league_goals"='13' AND "league_cup_goals"='1';
```
## Task
Generate a SQL query to answer the following question:
`Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?`

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

CREATE TABLE "fourth_division" (
  "club" text,
  "league_goals" text,
  "fa_cup_goals" text,
  "league_cup_goals" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?`:
```sql
                SELECT "club" FROM "fourth_division" WHERE "league_cup_goals"='0' AND "fa_cup_goals"='1' AND "total">11 AND "league_goals"='13';
```
## Task
Generate a SQL query to answer the following question:
`Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?`

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

CREATE TABLE "fourth_division" (
  "club" text,
  "league_goals" text,
  "fa_cup_goals" text,
  "league_cup_goals" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0?`:
```sql
                SELECT "league_cup_goals" FROM "fourth_division" WHERE "total">14 AND "league_goals"='14' AND "fa_cup_goals"='0';
```
## Task
Generate a SQL query to answer the following question:
`Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?`

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

CREATE TABLE "fourth_division" (
  "club" text,
  "league_goals" text,
  "fa_cup_goals" text,
  "league_cup_goals" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?`:
```sql
                SELECT AVG("total") FROM "fourth_division" WHERE "fa_cup_goals"='1' AND "league_goals"='4 + 7';
```
## Task
Generate a SQL query to answer the following question:
`What event had a win, record of 8-1 and n/a round?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event had a win, record of 8-1 and n/a round?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "res"='win' AND "round"='n/a' AND "record"='8-1';
```
## Task
Generate a SQL query to answer the following question:
`What event was the opponent Karl Knothe and had a submission (rear naked choke)?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What event was the opponent Karl Knothe and had a submission (rear naked choke)?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "method"='submission (rear naked choke)' AND "opponent"='karl knothe';
```
## Task
Generate a SQL query to answer the following question:
`What's the record for the match when the res was a win and the method was a decision?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record for the match when the res was a win and the method was a decision?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "method"='decision' AND "res"='win';
```
## Task
Generate a SQL query to answer the following question:
`What round had a record of 4-1?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round had a record of 4-1?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='4-1';
```
## Task
Generate a SQL query to answer the following question:
`What's the record of the UCS 2 - Battle at the Barn when the round was n/a?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the record of the UCS 2 - Battle at the Barn when the round was n/a?`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "round"='n/a' AND "event"='ucs 2 - battle at the barn';
```
## Task
Generate a SQL query to answer the following question:
`What round had a record of 8-2?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round had a record of 8-2?`:
```sql
                SELECT "round" FROM "mixed_martial_arts_record" WHERE "record"='8-2';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent when the record is 17-19-4?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opponent when the record is 17-19-4?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='17-19-4';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of game 37?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of game 37?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=37;
```
## Task
Generate a SQL query to answer the following question:
`What is the record on 1/17/1980?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record on 1/17/1980?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='1/17/1980';
```
## Task
Generate a SQL query to answer the following question:
`What date was game number 3?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date was game number 3?`:
```sql
                SELECT "date" FROM "game_log" WHERE "game"=3;
```
## Task
Generate a SQL query to answer the following question:
`What is the record when George Hill (11) had the high rebounds?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record when George Hill (11) had the high rebounds?`:
```sql
                SELECT "record" FROM "game_log" WHERE "high_rebounds"='george hill (11)';
```
## Task
Generate a SQL query to answer the following question:
`What number game happened on November 19?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What number game happened on November 19?`:
```sql
                SELECT MAX("game") FROM "game_log" WHERE "date"='november 19';
```
## Task
Generate a SQL query to answer the following question:
`Who had the high rebounds for game 12?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who had the high rebounds for game 12?`:
```sql
                SELECT "high_rebounds" FROM "game_log" WHERE "game"=12;
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the manager in the city of Osijek?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the manager in the city of Osijek?`:
```sql
                SELECT "manager" FROM "summaries" WHERE "home_city"='osijek';
```
## Task
Generate a SQL query to answer the following question:
`What is the team at Stadion Maksimir?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team at Stadion Maksimir?`:
```sql
                SELECT "team" FROM "summaries" WHERE "stadium"='stadion maksimir';
```
## Task
Generate a SQL query to answer the following question:
`What is the home city when the stadium was Gradski Stadion U Poljudu?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home city when the stadium was Gradski Stadion U Poljudu?`:
```sql
                SELECT "home_city" FROM "summaries" WHERE "stadium"='gradski stadion u poljudu';
```
## Task
Generate a SQL query to answer the following question:
`What is the home city when Mladen Frančić is the manager?`

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

CREATE TABLE "summaries" (
  "team" text,
  "manager" text,
  "home_city" text,
  "stadium" text,
  "capacity" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home city when Mladen Frančić is the manager?`:
```sql
                SELECT "home_city" FROM "summaries" WHERE "manager"='mladen frančić';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the attendance was 80,079?`

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

CREATE TABLE "1998" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the attendance was 80,079?`:
```sql
                SELECT "opponent" FROM "1998" WHERE "attendance"='80,079';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when the attendance was 31,002?`

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

CREATE TABLE "1998" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when the attendance was 31,002?`:
```sql
                SELECT "opponent" FROM "1998" WHERE "attendance"='31,002';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent when they played at the legion field • birmingham, al site?`

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

CREATE TABLE "1998" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent when they played at the legion field • birmingham, al site?`:
```sql
                SELECT "opponent" FROM "1998" WHERE "site"='legion field • birmingham, al';
```
## Task
Generate a SQL query to answer the following question:
`On which site was the game against Louisville played?`

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

CREATE TABLE "1998" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which site was the game against Louisville played?`:
```sql
                SELECT "site" FROM "1998" WHERE "opponent"='louisville';
```
## Task
Generate a SQL query to answer the following question:
`What was the total attendance on September 12?`

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

CREATE TABLE "1998" (
  "date" text,
  "opponent" text,
  "site" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the total attendance on September 12?`:
```sql
                SELECT "attendance" FROM "1998" WHERE "date"='september 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?`

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

CREATE TABLE "anime" (
  "series" text,
  "title" text,
  "broadcasts_tv_1" real,
  "episodes_tv_extra_2" text,
  "directors" text,
  "aired_in_japan_3" text,
  "us_release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of Broadcasts (TV) 1, when Series is "3 4", and when US Release Date is "27 December 2006"?`:
```sql
                SELECT SUM("broadcasts_tv_1") FROM "anime" WHERE "series"='3 4' AND "us_release_date"='27 december 2006';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of Broadcasts (TV) 1, when Aired in Japan 3 is "5 January 2003 to 30 March 2003"?`

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

CREATE TABLE "anime" (
  "series" text,
  "title" text,
  "broadcasts_tv_1" real,
  "episodes_tv_extra_2" text,
  "directors" text,
  "aired_in_japan_3" text,
  "us_release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of Broadcasts (TV) 1, when Aired in Japan 3 is "5 January 2003 to 30 March 2003"?`:
```sql
                SELECT COUNT("broadcasts_tv_1") FROM "anime" WHERE "aired_in_japan_3"='5 january 2003 to 30 march 2003';
```
## Task
Generate a SQL query to answer the following question:
`What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"?`

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

CREATE TABLE "anime" (
  "series" text,
  "title" text,
  "broadcasts_tv_1" real,
  "episodes_tv_extra_2" text,
  "directors" text,
  "aired_in_japan_3" text,
  "us_release_date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Episodes (TV+extra) 2, when Broadcasts (TV) 1 is less than 13, and when Directors is "Shigehito Takayanagi"?`:
```sql
                SELECT "episodes_tv_extra_2" FROM "anime" WHERE "broadcasts_tv_1"<13 AND "directors"='shigehito takayanagi';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest pick when the position was OF with the Chicago White Sox?`

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

CREATE TABLE "first_round_selections" (
  "pick" real,
  "player" text,
  "team" text,
  "position" text,
  "hometown_school" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest pick when the position was OF with the Chicago White Sox?`:
```sql
                SELECT MIN("pick") FROM "first_round_selections" WHERE "position"='of' AND "team"='chicago white sox';
```
## Task
Generate a SQL query to answer the following question:
`What is the affiliation of the University of Maryland?`

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

CREATE TABLE "2013_2014_teams" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the affiliation of the University of Maryland?`:
```sql
                SELECT "affiliation" FROM "2013_2014_teams" WHERE "school"='university of maryland';
```
## Task
Generate a SQL query to answer the following question:
`What school has the nickname of Cardinals?`

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

CREATE TABLE "2013_2014_teams" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What school has the nickname of Cardinals?`:
```sql
                SELECT MIN("founded") FROM "2013_2014_teams" WHERE "nickname"='cardinals';
```
## Task
Generate a SQL query to answer the following question:
`What is the nickname of the school located in Fairfax, VA?`

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

CREATE TABLE "2013_2014_teams" (
  "school" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "nickname" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nickname of the school located in Fairfax, VA?`:
```sql
                SELECT "nickname" FROM "2013_2014_teams" WHERE "location"='fairfax, va';
```
## Task
Generate a SQL query to answer the following question:
`What is "house", when "four" is "opat"?`

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

CREATE TABLE "vocabulary_comparison" (
  "english" text,
  "three" text,
  "four" text,
  "person" text,
  "house" text,
  "coconut" text,
  "what" text,
  "fire" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is "house", when "four" is "opat"?`:
```sql
                SELECT "house" FROM "vocabulary_comparison" WHERE "four"='opat';
```
## Task
Generate a SQL query to answer the following question:
`What is "house", when "what" is "ano", and when "three" is "tulo"?`

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

CREATE TABLE "vocabulary_comparison" (
  "english" text,
  "three" text,
  "four" text,
  "person" text,
  "house" text,
  "coconut" text,
  "what" text,
  "fire" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is "house", when "what" is "ano", and when "three" is "tulo"?`:
```sql
                SELECT "house" FROM "vocabulary_comparison" WHERE "what"='ano' AND "three"='tulo';
```
## Task
Generate a SQL query to answer the following question:
`What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?`

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

CREATE TABLE "vocabulary_comparison" (
  "english" text,
  "three" text,
  "four" text,
  "person" text,
  "house" text,
  "coconut" text,
  "what" text,
  "fire" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?`:
```sql
                SELECT "english" FROM "vocabulary_comparison" WHERE "house"='balay' AND "three"='tatlo' AND "four"='apat';
```
## Task
Generate a SQL query to answer the following question:
`What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?`

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

CREATE TABLE "vocabulary_comparison" (
  "english" text,
  "three" text,
  "four" text,
  "person" text,
  "house" text,
  "coconut" text,
  "what" text,
  "fire" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?`:
```sql
                SELECT "what" FROM "vocabulary_comparison" WHERE "person"='tawo' AND "three"='tuyo' AND "coconut"='niyog';
```
## Task
Generate a SQL query to answer the following question:
`What is the language, when "what" is "ango"?`

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

CREATE TABLE "vocabulary_comparison" (
  "english" text,
  "three" text,
  "four" text,
  "person" text,
  "house" text,
  "coconut" text,
  "what" text,
  "fire" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the language, when "what" is "ango"?`:
```sql
                SELECT "english" FROM "vocabulary_comparison" WHERE "what"='ango';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent for the game played on august 20, 2006?`

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

CREATE TABLE "singles_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opponent for the game played on august 20, 2006?`:
```sql
                SELECT "opponent" FROM "singles_7" WHERE "date"='august 20, 2006';
```
## Task
Generate a SQL query to answer the following question:
`On which Surface will Estrella Cabeza Candela play?`

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

CREATE TABLE "singles_7" (
  "date" text,
  "tournament" text,
  "surface" text,
  "opponent" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `On which Surface will Estrella Cabeza Candela play?`:
```sql
                SELECT "surface" FROM "singles_7" WHERE "opponent"='estrella cabeza candela';
```
## Task
Generate a SQL query to answer the following question:
`What was the opponent on December 16, 1989?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the opponent on December 16, 1989?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='december 16, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest attendance on November 12, 1989?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest attendance on November 12, 1989?`:
```sql
                SELECT MAX("attendance") FROM "schedule" WHERE "date"='november 12, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What was the week on December 10, 1989?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the week on December 10, 1989?`:
```sql
                SELECT "week" FROM "schedule" WHERE "date"='december 10, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What is the league position number when the attendance was 14,673 with a match day larger than 26?`

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

CREATE TABLE "scottish_premier_league" (
  "match_day" real,
  "date" text,
  "opponent" text,
  "score" text,
  "league_position" real,
  "attendance" real,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the league position number when the attendance was 14,673 with a match day larger than 26?`:
```sql
                SELECT COUNT("league_position") FROM "scottish_premier_league" WHERE "attendance"='14,673' AND "match_day">26;
```
## Task
Generate a SQL query to answer the following question:
`Which men's singles has mixed doubles with Kevin Cao Melody Liang?`

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

CREATE TABLE "previous_winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which men's singles has mixed doubles with Kevin Cao Melody Liang?`:
```sql
                SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='kevin cao melody liang';
```
## Task
Generate a SQL query to answer the following question:
`Which men's singles has mixed doubles with Chen Hung-Ling Chou Chia-Chi?`

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

CREATE TABLE "previous_winners" (
  "year" real,
  "men_s_singles" text,
  "women_s_singles" text,
  "men_s_doubles" text,
  "women_s_doubles" text,
  "mixed_doubles" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which men's singles has mixed doubles with Chen Hung-Ling Chou Chia-Chi?`:
```sql
                SELECT "men_s_singles" FROM "previous_winners" WHERE "mixed_doubles"='chen hung-ling chou chia-chi';
```
## Task
Generate a SQL query to answer the following question:
`What attendance is dated february 27?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What attendance is dated february 27?`:
```sql
                SELECT AVG("attendance") FROM "game_log" WHERE "date"='february 27';
```
## Task
Generate a SQL query to answer the following question:
`What date has 37 points?`

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

CREATE TABLE "game_log" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What date has 37 points?`:
```sql
                SELECT "date" FROM "game_log" WHERE "points"=37;
```
## Task
Generate a SQL query to answer the following question:
`Who was the Team that was played against on February 24 and a game after game 55?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the Team that was played against on February 24 and a game after game 55?`:
```sql
                SELECT "team" FROM "season_schedule" WHERE "game">55 AND "date"='february 24';
```
## Task
Generate a SQL query to answer the following question:
`what is the name when the lane is less than 4 and mark is 52.64?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the name when the lane is less than 4 and mark is 52.64?`:
```sql
                SELECT "name" FROM "heats" WHERE "lane"<4 AND "mark"='52.64';
```
## Task
Generate a SQL query to answer the following question:
`what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?`

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

CREATE TABLE "heats" (
  "heat" real,
  "lane" real,
  "name" text,
  "country" text,
  "mark" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?`:
```sql
                SELECT COUNT("lane") FROM "heats" WHERE "heat"=3 AND "name"='cxhristy ekpukhon ihunaegbo';
```
## Task
Generate a SQL query to answer the following question:
`Name the Score which has a Time of 18:00 and a Venue of african union?`

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

CREATE TABLE "group_1" (
  "match_no" real,
  "date" text,
  "time" text,
  "score" text,
  "venue" text,
  "match_report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Score which has a Time of 18:00 and a Venue of african union?`:
```sql
                SELECT "score" FROM "group_1" WHERE "time"='18:00' AND "venue"='african union';
```