cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`How many Liquidat (c) have a purpose of dual (machine & hand composition)?`

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

CREATE TABLE "type_metal_alloys_mentioned_in_the_uk_mo" (
  "sn_sb_pct" text,
  "liquidat_c" real,
  "solidat_c" real,
  "hardness_brinell" real,
  "purpose" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Liquidat (c) have a purpose of dual (machine & hand composition)?`:
```sql
                SELECT COUNT("liquidat_c") FROM "type_metal_alloys_mentioned_in_the_uk_mo" WHERE "purpose"='dual (machine & hand composition)';
```
## Task
Generate a SQL query to answer the following question:
`What was the record for the Chargers on Week 10?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record for the Chargers on Week 10?`:
```sql
                SELECT "record" FROM "schedule" WHERE "week"=10;
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game on week 4?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game on week 4?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"=4;
```
## Task
Generate a SQL query to answer the following question:
`How many weeks did a game happen on September 17, 2000?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many weeks did a game happen on September 17, 2000?`:
```sql
                SELECT COUNT("week") FROM "schedule" WHERE "date"='september 17, 2000';
```
## Task
Generate a SQL query to answer the following question:
`What was the result of the game against San Francisco 49ers before week 16?`

### 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,
  "game_site" text,
  "record" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result of the game against San Francisco 49ers before week 16?`:
```sql
                SELECT "result" FROM "schedule" WHERE "week"<16 AND "opponent"='san francisco 49ers';
```
## Task
Generate a SQL query to answer the following question:
`Who were semi-finalists in the event with a runner-up of Lisa Raymond?`

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

CREATE TABLE "february" (
  "week_of" text,
  "tier" text,
  "winner" text,
  "runner_up" text,
  "semi_finalists" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were semi-finalists in the event with a runner-up of Lisa Raymond?`:
```sql
                SELECT "semi_finalists" FROM "february" WHERE "runner_up"='lisa raymond';
```
## Task
Generate a SQL query to answer the following question:
`Which song by David Essex spent 2 weeks on top of the charts?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" real,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which song by David Essex spent 2 weeks on top of the charts?`:
```sql
                SELECT "song" FROM "see_also" WHERE "weeks_on_top"=2 AND "artist"='david essex';
```
## Task
Generate a SQL query to answer the following question:
`What is the Volume:Issue number of the George McCrae song that spent less than 2 weeks on top of the charts?`

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

CREATE TABLE "see_also" (
  "volume_issue" text,
  "issue_date_s" text,
  "weeks_on_top" real,
  "song" text,
  "artist" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Volume:Issue number of the George McCrae song that spent less than 2 weeks on top of the charts?`:
```sql
                SELECT "volume_issue" FROM "see_also" WHERE "weeks_on_top"<2 AND "artist"='george mccrae';
```
## Task
Generate a SQL query to answer the following question:
`Which venues closed in the 1990s?`

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

CREATE TABLE "defunct" (
  "venue" text,
  "location" text,
  "environment" text,
  "closed" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venues closed in the 1990s?`:
```sql
                SELECT "venue" FROM "defunct" WHERE "closed"='1990s';
```
## Task
Generate a SQL query to answer the following question:
`Which venues were closed because they were replaced?`

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

CREATE TABLE "defunct" (
  "venue" text,
  "location" text,
  "environment" text,
  "closed" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venues were closed because they were replaced?`:
```sql
                SELECT "location" FROM "defunct" WHERE "reason"='replaced';
```
## Task
Generate a SQL query to answer the following question:
`Which venue closed in 1996?`

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

CREATE TABLE "defunct" (
  "venue" text,
  "location" text,
  "environment" text,
  "closed" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue closed in 1996?`:
```sql
                SELECT "venue" FROM "defunct" WHERE "closed"='1996';
```
## Task
Generate a SQL query to answer the following question:
`What were the reasons that venues closed in the 1990s?`

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

CREATE TABLE "defunct" (
  "venue" text,
  "location" text,
  "environment" text,
  "closed" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `What were the reasons that venues closed in the 1990s?`:
```sql
                SELECT "reason" FROM "defunct" WHERE "closed"='1990s';
```
## Task
Generate a SQL query to answer the following question:
`Why did the Belk Gymnasium close?`

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

CREATE TABLE "defunct" (
  "venue" text,
  "location" text,
  "environment" text,
  "closed" text,
  "reason" text
);
### SQL
Given the database schema, here is the SQL query that answers `Why did the Belk Gymnasium close?`:
```sql
                SELECT "reason" FROM "defunct" WHERE "venue"='belk gymnasium';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Score that has the Home team of townsville crocodiles?`

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

CREATE TABLE "semi_finals" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "crowd" real,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Score that has the Home team of townsville crocodiles?`:
```sql
                SELECT "score" FROM "semi_finals" WHERE "home_team"='townsville crocodiles';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Venue that has the Away team of south dragons?`

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

CREATE TABLE "semi_finals" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "crowd" real,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Venue that has the Away team of south dragons?`:
```sql
                SELECT "venue" FROM "semi_finals" WHERE "away_team"='south dragons';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the lowest Crowd that has the Away team of melbourne tigers?`

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

CREATE TABLE "semi_finals" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "crowd" real,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the lowest Crowd that has the Away team of melbourne tigers?`:
```sql
                SELECT MIN("crowd") FROM "semi_finals" WHERE "away_team"='melbourne tigers';
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?`

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

CREATE TABLE "semi_finals" (
  "date" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "venue" text,
  "crowd" real,
  "box_score" text,
  "report" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?`:
```sql
                SELECT "away_team" FROM "semi_finals" WHERE "home_team"='south dragons' AND "score"='94-81';
```
## Task
Generate a SQL query to answer the following question:
`Which position has a pick # of 238 and a round above 3?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position has a pick # of 238 and a round above 3?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "round">3 AND "pick_num"=238;
```
## Task
Generate a SQL query to answer the following question:
`Which player went to Vanderbilt?`

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

CREATE TABLE "nfl_draft" (
  "round" real,
  "pick_num" real,
  "player" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player went to Vanderbilt?`:
```sql
                SELECT "player" FROM "nfl_draft" WHERE "college"='vanderbilt';
```
## Task
Generate a SQL query to answer the following question:
`How many grids had a Time/Retired of +4 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many grids had a Time/Retired of +4 laps?`:
```sql
                SELECT COUNT("grid") FROM "race" WHERE "time_retired"='+4 laps';
```
## Task
Generate a SQL query to answer the following question:
`How many laps had a constructor of toyota and a Time/Retired of +13.409?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps had a constructor of toyota and a Time/Retired of +13.409?`:
```sql
                SELECT COUNT("laps") FROM "race" WHERE "constructor"='toyota' AND "time_retired"='+13.409';
```
## Task
Generate a SQL query to answer the following question:
`What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the constructor when the laps were larger than 54, and the time/retired was +1 lap on a grid of 20?`:
```sql
                SELECT "constructor" FROM "race" WHERE "laps">54 AND "time_retired"='+1 lap' AND "grid"=20;
```
## Task
Generate a SQL query to answer the following question:
`How many grids had a constructor of renault and less than 4 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many grids had a constructor of renault and less than 4 laps?`:
```sql
                SELECT SUM("grid") FROM "race" WHERE "constructor"='renault' AND "laps"<4;
```
## Task
Generate a SQL query to answer the following question:
`Which census ranking is 57.06 km big?`

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

CREATE TABLE "communities" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which census ranking is 57.06 km big?`:
```sql
                SELECT "census_ranking" FROM "communities" WHERE "area_km_2"=57.06;
```
## Task
Generate a SQL query to answer the following question:
`Which status is 75.35 km2 and is named sussex?`

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

CREATE TABLE "communities" (
  "official_name" text,
  "status" text,
  "area_km_2" real,
  "population" real,
  "census_ranking" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which status is 75.35 km2 and is named sussex?`:
```sql
                SELECT "status" FROM "communities" WHERE "area_km_2"<75.35 AND "official_name"='sussex';
```
## Task
Generate a SQL query to answer the following question:
`What was the distance for the winner or 2nd Waterline?`

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

CREATE TABLE "1930_31_season_as_a_four_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the distance for the winner or 2nd Waterline?`:
```sql
                SELECT "distance" FROM "1930_31_season_as_a_four_year_old" WHERE "winner_or_2nd"='waterline';
```
## Task
Generate a SQL query to answer the following question:
`What is the result for the distance of 10f, and a winner or 2nd of Lampra?`

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

CREATE TABLE "1930_31_season_as_a_four_year_old" (
  "result" text,
  "race" text,
  "distance" text,
  "weight" real,
  "winner_or_2nd" text,
  "pos_n" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result for the distance of 10f, and a winner or 2nd of Lampra?`:
```sql
                SELECT "result" FROM "1930_31_season_as_a_four_year_old" WHERE "distance"='10f' AND "winner_or_2nd"='lampra';
```
## Task
Generate a SQL query to answer the following question:
`What is 1987, when 1986 is "1R"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1987, when 1986 is "1R"?`:
```sql
                SELECT "1987" FROM "singles_performance_timeline" WHERE "1986"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1986, when 1978 is "A", when 1979 is "A", and when 1980 is "1R"?`:
```sql
                SELECT "1986" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1979"='a' AND "1980"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is 1984, when 1979 is "1R"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1984, when 1979 is "1R"?`:
```sql
                SELECT "1984" FROM "singles_performance_timeline" WHERE "1979"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1982, when 1978 is "A", when 1985 is "4R", and when 1991 is "1R"?`:
```sql
                SELECT "1982" FROM "singles_performance_timeline" WHERE "1978"='a' AND "1985"='4r' AND "1991"='1r';
```
## Task
Generate a SQL query to answer the following question:
`What is 1989, when 1982 is "SF"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1989, when 1982 is "SF"?`:
```sql
                SELECT "1989" FROM "singles_performance_timeline" WHERE "1982"='sf';
```
## Task
Generate a SQL query to answer the following question:
`What is 1992, when 1990 is "Grand Slams"?`

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

CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "1978" text,
  "1979" text,
  "1980" text,
  "1982" text,
  "1983" text,
  "1984" text,
  "1985" text,
  "1986" text,
  "1987" text,
  "1988" text,
  "1989" text,
  "1990" text,
  "1991" text,
  "1992" text,
  "career_sr" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is 1992, when 1990 is "Grand Slams"?`:
```sql
                SELECT "1992" FROM "singles_performance_timeline" WHERE "1990"='grand slams';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance date of the game home team Shrewsbury Town played?`

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

CREATE TABLE "fourth_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 attendance date of the game home team Shrewsbury Town played?`:
```sql
                SELECT "attendance" FROM "fourth_round_proper" WHERE "home_team"='shrewsbury town';
```
## Task
Generate a SQL query to answer the following question:
`Who is the home team that attended on 7 February 1996 and had a tie no of 1?`

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

CREATE TABLE "fourth_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 `Who is the home team that attended on 7 February 1996 and had a tie no of 1?`:
```sql
                SELECT "home_team" FROM "fourth_round_proper" WHERE "attendance"='7 february 1996' AND "tie_no"='1';
```
## Task
Generate a SQL query to answer the following question:
`What is the final score of the game home team Bolton Wanderers played?`

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

CREATE TABLE "fourth_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 final score of the game home team Bolton Wanderers played?`:
```sql
                SELECT "score" FROM "fourth_round_proper" WHERE "home_team"='bolton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`Which round has an opponent of Freiburg?`

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

CREATE TABLE "european_cup_history" (
  "season" text,
  "competition" text,
  "round" text,
  "opponent" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round has an opponent of Freiburg?`:
```sql
                SELECT "round" FROM "european_cup_history" WHERE "opponent"='freiburg';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home when the opponent was slovan liberec?`

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

CREATE TABLE "european_cup_history" (
  "season" text,
  "competition" text,
  "round" text,
  "opponent" text,
  "home" text,
  "away" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home when the opponent was slovan liberec?`:
```sql
                SELECT "home" FROM "european_cup_history" WHERE "opponent"='slovan liberec';
```
## Task
Generate a SQL query to answer the following question:
`Which Game has a January larger than 18, and a Decision of valiquette?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "january" real,
  "opponent" text,
  "score" text,
  "decision" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Game has a January larger than 18, and a Decision of valiquette?`:
```sql
                SELECT MAX("game") FROM "schedule_and_results" WHERE "january">18 AND "decision"='valiquette';
```
## Task
Generate a SQL query to answer the following question:
`Who has a Game smaller than 43, and a Record of 23-14-3?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "january" real,
  "opponent" text,
  "score" text,
  "decision" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who has a Game smaller than 43, and a Record of 23-14-3?`:
```sql
                SELECT "opponent" FROM "schedule_and_results" WHERE "game"<43 AND "record"='23-14-3';
```
## Task
Generate a SQL query to answer the following question:
`What is the time for qual 2 that has the best time of 59.266?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time for qual 2 that has the best time of 59.266?`:
```sql
                SELECT "qual_2" FROM "qualifying_results" WHERE "best"='59.266';
```
## Task
Generate a SQL query to answer the following question:
`Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the driver for the Forsythe Racing team that has the best time of 1:00.099?`:
```sql
                SELECT "name" FROM "qualifying_results" WHERE "team"='forsythe racing' AND "best"='1:00.099';
```
## Task
Generate a SQL query to answer the following question:
`Justin Wilson has what has his best time?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `Justin Wilson has what has his best time?`:
```sql
                SELECT "best" FROM "qualifying_results" WHERE "name"='justin wilson';
```
## Task
Generate a SQL query to answer the following question:
`Team Rusport has the best of 59.654 and what qual 1?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `Team Rusport has the best of 59.654 and what qual 1?`:
```sql
                SELECT "qual_1" FROM "qualifying_results" WHERE "team"='rusport' AND "best"='59.654';
```
## Task
Generate a SQL query to answer the following question:
`Sébastien Bourdais of the team Newman/Haas Racing has what qual 1?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `Sébastien Bourdais of the team Newman/Haas Racing has what qual 1?`:
```sql
                SELECT "qual_1" FROM "qualifying_results" WHERE "team"='newman/haas racing' AND "name"='sébastien bourdais';
```
## Task
Generate a SQL query to answer the following question:
`What is Alex Tagliani's qual 1?`

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

CREATE TABLE "qualifying_results" (
  "name" text,
  "team" text,
  "qual_1" text,
  "qual_2" text,
  "best" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Alex Tagliani's qual 1?`:
```sql
                SELECT "qual_1" FROM "qualifying_results" WHERE "name"='alex tagliani';
```
## Task
Generate a SQL query to answer the following question:
`Which Bask has Soft of 18, and a Total larger than 35?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" real,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" real,
  "indoor_track" text,
  "outdoor_track" text,
  "volleyball" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Bask has Soft of 18, and a Total larger than 35?`:
```sql
                SELECT AVG("bask") FROM "women_s" WHERE "soft"='18' AND "total">35;
```
## Task
Generate a SQL query to answer the following question:
`Which Volleyball has a Golf of 2, and an Indoor track of 3?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" real,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" real,
  "indoor_track" text,
  "outdoor_track" text,
  "volleyball" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Volleyball has a Golf of 2, and an Indoor track of 3?`:
```sql
                SELECT "volleyball" FROM "women_s" WHERE "golf"='2' AND "indoor_track"='3';
```
## Task
Generate a SQL query to answer the following question:
`Which Bask has an Indoor track of 0, and a Swimming of 5?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" real,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" real,
  "indoor_track" text,
  "outdoor_track" text,
  "volleyball" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Bask has an Indoor track of 0, and a Swimming of 5?`:
```sql
                SELECT MIN("bask") FROM "women_s" WHERE "indoor_track"='0' AND "swimming"='5';
```
## Task
Generate a SQL query to answer the following question:
`Which Swimming has a Total larger than 35, and a Volleyball of 1?`

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

CREATE TABLE "women_s" (
  "school" text,
  "bask" real,
  "golf" text,
  "soccer" text,
  "soft" text,
  "swimming" text,
  "tennis" real,
  "indoor_track" text,
  "outdoor_track" text,
  "volleyball" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Swimming has a Total larger than 35, and a Volleyball of 1?`:
```sql
                SELECT "swimming" FROM "women_s" WHERE "total">35 AND "volleyball"='1';
```
## Task
Generate a SQL query to answer the following question:
`Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?`

### 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,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Date for scotiabank place with less than 20 points, game larger than 16, and an opponent of montreal canadiens?`:
```sql
                SELECT "date" FROM "game_log" WHERE "location"='scotiabank place' AND "points"<20 AND "game">16 AND "opponent"='montreal canadiens';
```
## Task
Generate a SQL query to answer the following question:
`Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?`

### 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,
  "location" text,
  "attendance" real,
  "record" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `Total games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?`:
```sql
                SELECT COUNT("game") FROM "game_log" WHERE "points"<15 AND "date"='november 15' AND "attendance">'13,722';
```
## Task
Generate a SQL query to answer the following question:
`What was the results on September 24, 1995?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the results on September 24, 1995?`:
```sql
                SELECT "result" FROM "schedule" WHERE "date"='september 24, 1995';
```
## Task
Generate a SQL query to answer the following question:
`What was the results against the Philadelphia Eagles?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the results against the Philadelphia Eagles?`:
```sql
                SELECT "result" FROM "schedule" WHERE "opponent"='philadelphia eagles';
```
## Task
Generate a SQL query to answer the following question:
`What is the date with 68,463 in attendance?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date with 68,463 in attendance?`:
```sql
                SELECT "date" FROM "schedule" WHERE "attendance"='68,463';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for week 15?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for week 15?`:
```sql
                SELECT "attendance" FROM "schedule" WHERE "week"=15;
```
## Task
Generate a SQL query to answer the following question:
`What is the name when winter is the transfer window?`

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

CREATE TABLE "in" (
  "name" text,
  "country" text,
  "type" text,
  "moving_from" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name when winter is the transfer window?`:
```sql
                SELECT "name" FROM "in" WHERE "transfer_window"='winter';
```
## Task
Generate a SQL query to answer the following question:
`What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun?`

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

CREATE TABLE "in" (
  "name" text,
  "country" text,
  "type" text,
  "moving_from" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun?`:
```sql
                SELECT "transfer_fee" FROM "in" WHERE "transfer_window"='summer' AND "type"='transfer' AND "country"='hun';
```
## Task
Generate a SQL query to answer the following question:
`What is the type when Rangers are the moving from?`

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

CREATE TABLE "in" (
  "name" text,
  "country" text,
  "type" text,
  "moving_from" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type when Rangers are the moving from?`:
```sql
                SELECT "type" FROM "in" WHERE "moving_from"='rangers';
```
## Task
Generate a SQL query to answer the following question:
`What is the type when McCormack is the name?`

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

CREATE TABLE "in" (
  "name" text,
  "country" text,
  "type" text,
  "moving_from" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type when McCormack is the name?`:
```sql
                SELECT "type" FROM "in" WHERE "name"='mccormack';
```
## Task
Generate a SQL query to answer the following question:
`What is the type when £120,000 is the transfer fee?`

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

CREATE TABLE "in" (
  "name" text,
  "country" text,
  "type" text,
  "moving_from" text,
  "transfer_window" text,
  "ends" real,
  "transfer_fee" text,
  "source" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type when £120,000 is the transfer fee?`:
```sql
                SELECT "type" FROM "in" WHERE "transfer_fee"='£120,000';
```
## Task
Generate a SQL query to answer the following question:
`What date is aston villa away?`

### 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,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date is aston villa away?`:
```sql
                SELECT "date" FROM "fifth_round_proper" WHERE "away_team"='aston villa';
```
## Task
Generate a SQL query to answer the following question:
`what date did tie number 5 occur?`

### 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,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `what date did tie number 5 occur?`:
```sql
                SELECT "date" FROM "fifth_round_proper" WHERE "tie_no"='5';
```
## Task
Generate a SQL query to answer the following question:
`Which tie number has Bolton Wanderers as away?`

### 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,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tie number has Bolton Wanderers as away?`:
```sql
                SELECT "tie_no" FROM "fifth_round_proper" WHERE "away_team"='bolton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`What round was the circuit portland international raceway?`

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

CREATE TABLE "schedule" (
  "round" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What round was the circuit portland international raceway?`:
```sql
                SELECT "round" FROM "schedule" WHERE "circuit"='portland international raceway';
```
## Task
Generate a SQL query to answer the following question:
`When was the circuit portland international raceway?`

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

CREATE TABLE "schedule" (
  "round" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was the circuit portland international raceway?`:
```sql
                SELECT "date" FROM "schedule" WHERE "circuit"='portland international raceway';
```
## Task
Generate a SQL query to answer the following question:
`Which round had a city/location of Toronto, Ontario?`

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

CREATE TABLE "schedule" (
  "round" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which round had a city/location of Toronto, Ontario?`:
```sql
                SELECT "round" FROM "schedule" WHERE "city_location"='toronto, ontario';
```
## Task
Generate a SQL query to answer the following question:
`For which location was the round smaller than 11 and the circuit streets of denver?`

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

CREATE TABLE "schedule" (
  "round" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `For which location was the round smaller than 11 and the circuit streets of denver?`:
```sql
                SELECT "city_location" FROM "schedule" WHERE "round"<11 AND "circuit"='streets of denver';
```
## Task
Generate a SQL query to answer the following question:
`What day was the location Cleveland, Ohio in Round 6?`

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

CREATE TABLE "schedule" (
  "round" real,
  "race_name" text,
  "circuit" text,
  "city_location" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What day was the location Cleveland, Ohio in Round 6?`:
```sql
                SELECT "date" FROM "schedule" WHERE "city_location"='cleveland, ohio' AND "round"=6;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of attendance for the games played at Los Angeles Rams?`

### 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 is the sum of attendance for the games played at Los Angeles Rams?`:
```sql
                SELECT SUM("attendance") FROM "schedule" WHERE "opponent"='at los angeles rams';
```
## Task
Generate a SQL query to answer the following question:
`In which week was the attendance 47,218?`

### 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 `In which week was the attendance 47,218?`:
```sql
                SELECT SUM("week") FROM "schedule" WHERE "attendance"='47,218';
```
## Task
Generate a SQL query to answer the following question:
`How many Decembers have calgary flames as the opponent?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "decision" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many Decembers have calgary flames as the opponent?`:
```sql
                SELECT COUNT("december") FROM "schedule_and_results" WHERE "opponent"='calgary flames';
```
## Task
Generate a SQL query to answer the following question:
`What game has valiquette as the decision, with @ los angeles kings as the opponent?`

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

CREATE TABLE "schedule_and_results" (
  "game" real,
  "december" real,
  "opponent" text,
  "score" text,
  "decision" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game has valiquette as the decision, with @ los angeles kings as the opponent?`:
```sql
                SELECT "game" FROM "schedule_and_results" WHERE "decision"='valiquette' AND "opponent"='@ los angeles kings';
```
## Task
Generate a SQL query to answer the following question:
`What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?`

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

CREATE TABLE "season_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010?`:
```sql
                SELECT MAX("tf1_num") FROM "season_3" WHERE "official_num">47 AND "air_date_france"='13 july 2010';
```
## Task
Generate a SQL query to answer the following question:
`What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of "sweet fabiola"?`

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

CREATE TABLE "season_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Original Beechwood Bunny Tale/Source material that has an Official # larger than 38, and a TF1 # larger than 50, and an English title of "sweet fabiola"?`:
```sql
                SELECT "original_beechwood_bunny_tale_source_material" FROM "season_3" WHERE "official_num">38 AND "tf1_num">50 AND "english_title"='\"sweet fabiola\"';
```
## Task
Generate a SQL query to answer the following question:
`What is the Official # that has a French title of "Pierre de Lune"?`

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

CREATE TABLE "season_3" (
  "official_num" real,
  "tf1_num" real,
  "french_title" text,
  "english_title" text,
  "air_date_france" text,
  "original_beechwood_bunny_tale_source_material" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Official # that has a French title of "Pierre de Lune"?`:
```sql
                SELECT "official_num" FROM "season_3" WHERE "french_title"='\"pierre de lune\"';
```
## Task
Generate a SQL query to answer the following question:
`What venue had SF?`

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

CREATE TABLE "scottish_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real,
  "scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue had SF?`:
```sql
                SELECT "venue" FROM "scottish_cup" WHERE "round"='sf';
```
## Task
Generate a SQL query to answer the following question:
`What venue has more than 50,715 attending?`

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

CREATE TABLE "scottish_cup" (
  "date" text,
  "round" text,
  "opponent" text,
  "venue" text,
  "result" text,
  "attendance" real,
  "scorers" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue has more than 50,715 attending?`:
```sql
                SELECT "venue" FROM "scottish_cup" WHERE "attendance">'50,715';
```