cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which guest performer has a track length of 5:49?`

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

CREATE TABLE "track_listing" (
  "title" text,
  "composer_s" text,
  "guest_performer" text,
  "producer_s" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which guest performer has a track length of 5:49?`:
```sql
                SELECT "guest_performer" FROM "track_listing" WHERE "time"='5:49';
```
## Task
Generate a SQL query to answer the following question:
`What was the score when philadelphia visited?`

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

CREATE TABLE "january" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score when philadelphia visited?`:
```sql
                SELECT "score" FROM "january" WHERE "visitor"='philadelphia';
```
## Task
Generate a SQL query to answer the following question:
`How many attended the game with weekes recording the decision?`

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

CREATE TABLE "january" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended the game with weekes recording the decision?`:
```sql
                SELECT "attendance" FROM "january" WHERE "decision"='weekes';
```
## Task
Generate a SQL query to answer the following question:
`What digital channel does Three Angels Broadcasting Network own?`

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

CREATE TABLE "tv_stations" (
  "channel" real,
  "digital_channel" text,
  "call_sign" text,
  "affiliation" text,
  "owner" text
);
### SQL
Given the database schema, here is the SQL query that answers `What digital channel does Three Angels Broadcasting Network own?`:
```sql
                SELECT "digital_channel" FROM "tv_stations" WHERE "owner"='three angels broadcasting network';
```
## Task
Generate a SQL query to answer the following question:
`What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6?`

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

CREATE TABLE "runner_ups_5" (
  "year" real,
  "championship" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Championship has Scores of 6–3, 2–6, 3–6, 6–3, 3–6?`:
```sql
                SELECT "championship" FROM "runner_ups_5" WHERE "score"='6–3, 2–6, 3–6, 6–3, 3–6';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game where Geelong was the away team?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game where Geelong was the away team?`:
```sql
                SELECT "date" FROM "round_15" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team of the game where Geelong was the away team?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team of the game where Geelong was the away team?`:
```sql
                SELECT "home_team" FROM "round_15" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue of the game where Geelong was the away team?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue of the game where Geelong was the away team?`:
```sql
                SELECT "venue" FROM "round_15" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game where St Kilda is the home team?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game where St Kilda is the home team?`:
```sql
                SELECT "date" FROM "round_15" WHERE "home_team"='st kilda';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team's score of the game where South Melbourne is the away team?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team's score of the game where South Melbourne is the away team?`:
```sql
                SELECT "home_team_score" FROM "round_15" WHERE "away_team"='south melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team's score of the game where the away team is Geelong?`

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

CREATE TABLE "round_15" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the away team's score of the game where the away team is Geelong?`:
```sql
                SELECT "away_team_score" FROM "round_15" WHERE "away_team"='geelong';
```
## Task
Generate a SQL query to answer the following question:
`Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which venue hosted the 2004 AFC Asian Cup qualification on November 18, 2003?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "competition"='2004 afc asian cup qualification' AND "date"='november 18, 2003';
```
## Task
Generate a SQL query to answer the following question:
`On what date did a friendly competition, hosted in Dubai, result in a draw?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did a friendly competition, hosted in Dubai, result in a draw?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "result"='draw' AND "competition"='friendly' AND "venue"='dubai';
```
## Task
Generate a SQL query to answer the following question:
`What venue hosted a match with a 3-0 score on December 7, 2002?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What venue hosted a match with a 3-0 score on December 7, 2002?`:
```sql
                SELECT "venue" FROM "international_goals" WHERE "score"='3-0' AND "date"='december 7, 2002';
```
## Task
Generate a SQL query to answer the following question:
`What competition resulted in 2-0 score, hosted in Amman?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `What competition resulted in 2-0 score, hosted in Amman?`:
```sql
                SELECT "competition" FROM "international_goals" WHERE "score"='2-0' AND "venue"='amman';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Kuwait City a venue?`

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

CREATE TABLE "international_goals" (
  "date" text,
  "venue" text,
  "score" text,
  "result" text,
  "competition" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Kuwait City a venue?`:
```sql
                SELECT "date" FROM "international_goals" WHERE "venue"='kuwait city';
```
## Task
Generate a SQL query to answer the following question:
`Who did the Mariners play when their record was 26–32?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who did the Mariners play when their record was 26–32?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "record"='26–32';
```
## Task
Generate a SQL query to answer the following question:
`What Away team had a score of 12.11 (83)?`

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

CREATE TABLE "round_11" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Away team had a score of 12.11 (83)?`:
```sql
                SELECT "away_team" FROM "round_11" WHERE "away_team_score"='12.11 (83)';
```
## Task
Generate a SQL query to answer the following question:
`What was the Vanwall time/retired with 49 laps?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Vanwall time/retired with 49 laps?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "laps"=49 AND "constructor"='vanwall';
```
## Task
Generate a SQL query to answer the following question:
`How many laps did the grid 1 engine have?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many laps did the grid 1 engine have?`:
```sql
                SELECT SUM("laps") FROM "classification" WHERE "time_retired"='engine' AND "grid"=1;
```
## Task
Generate a SQL query to answer the following question:
`What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest lap for Luigi Piotti with more than 13 grid and a time/retired engine?`:
```sql
                SELECT MAX("laps") FROM "classification" WHERE "grid">13 AND "time_retired"='engine' AND "driver"='luigi piotti';
```
## Task
Generate a SQL query to answer the following question:
`What Cornerback has the lowest Pick # and Round of less than 1?`

### 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 `What Cornerback has the lowest Pick # and Round of less than 1?`:
```sql
                SELECT MIN("pick_num") FROM "nfl_draft" WHERE "position"='cornerback' AND "round"<1;
```
## Task
Generate a SQL query to answer the following question:
`What is the Position of Pick #77?`

### 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 `What is the Position of Pick #77?`:
```sql
                SELECT "position" FROM "nfl_draft" WHERE "pick_num"=77;
```
## Task
Generate a SQL query to answer the following question:
`How many attended the game on August 12?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many attended the game on August 12?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "date"='august 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the largest crowd with Home team of hawthorn?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the largest crowd with Home team of hawthorn?`:
```sql
                SELECT MAX("crowd") FROM "round_6" WHERE "home_team"='hawthorn';
```
## Task
Generate a SQL query to answer the following question:
`What away team score also has a Home team score of 12.15 (87)?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What away team score also has a Home team score of 12.15 (87)?`:
```sql
                SELECT "away_team_score" FROM "round_6" WHERE "home_team_score"='12.15 (87)';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team score with Fitzroy as away team?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team score with Fitzroy as away team?`:
```sql
                SELECT "home_team_score" FROM "round_6" WHERE "away_team"='fitzroy';
```
## Task
Generate a SQL query to answer the following question:
`What is glenferrie oval's home team?`

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

CREATE TABLE "round_6" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is glenferrie oval's home team?`:
```sql
                SELECT "home_team" FROM "round_6" WHERE "venue"='glenferrie oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the Super G value for the season that has an Overall score of 16?`

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

CREATE TABLE "season_standings" (
  "season" real,
  "overall" text,
  "slalom" text,
  "super_g" text,
  "downhill" text,
  "combined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Super G value for the season that has an Overall score of 16?`:
```sql
                SELECT "super_g" FROM "season_standings" WHERE "overall"='16';
```
## Task
Generate a SQL query to answer the following question:
`What is the oldest season that had a listed Super G score of 33?`

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

CREATE TABLE "season_standings" (
  "season" real,
  "overall" text,
  "slalom" text,
  "super_g" text,
  "downhill" text,
  "combined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the oldest season that had a listed Super G score of 33?`:
```sql
                SELECT MIN("season") FROM "season_standings" WHERE "super_g"='33';
```
## Task
Generate a SQL query to answer the following question:
`What year's Season had an Overall of 77?`

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

CREATE TABLE "season_standings" (
  "season" real,
  "overall" text,
  "slalom" text,
  "super_g" text,
  "downhill" text,
  "combined" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year's Season had an Overall of 77?`:
```sql
                SELECT "season" FROM "season_standings" WHERE "overall"='77';
```
## Task
Generate a SQL query to answer the following question:
`What is the high rank for players earning over $533,929?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the high rank for players earning over $533,929?`:
```sql
                SELECT MAX("rank") FROM "leaders" WHERE "earnings">'533,929';
```
## Task
Generate a SQL query to answer the following question:
`What player has 3 wins and ranks above 3rd?`

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

CREATE TABLE "leaders" (
  "rank" real,
  "player" text,
  "country" text,
  "earnings" real,
  "events" real,
  "wins" real
);
### SQL
Given the database schema, here is the SQL query that answers `What player has 3 wins and ranks above 3rd?`:
```sql
                SELECT "player" FROM "leaders" WHERE "wins"=3 AND "rank">3;
```
## Task
Generate a SQL query to answer the following question:
`What is the Time/Retired for emerson fittipaldi?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Time/Retired for emerson fittipaldi?`:
```sql
                SELECT "time_retired" FROM "classification" WHERE "driver"='emerson fittipaldi';
```
## Task
Generate a SQL query to answer the following question:
`What is the long for the player with 26 carries?`

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

CREATE TABLE "running_backs" (
  "player" text,
  "car" real,
  "yards" text,
  "avg" text,
  "td_s" real,
  "long" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the long for the player with 26 carries?`:
```sql
                SELECT "long" FROM "running_backs" WHERE "car"=26;
```
## Task
Generate a SQL query to answer the following question:
`How many carries for the player with a 2 yard long?`

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

CREATE TABLE "running_backs" (
  "player" text,
  "car" real,
  "yards" text,
  "avg" text,
  "td_s" real,
  "long" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many carries for the player with a 2 yard long?`:
```sql
                SELECT COUNT("car") FROM "running_backs" WHERE "long"='2';
```
## Task
Generate a SQL query to answer the following question:
`What is the long for the player with under 30 carries and 0 yards?`

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

CREATE TABLE "running_backs" (
  "player" text,
  "car" real,
  "yards" text,
  "avg" text,
  "td_s" real,
  "long" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the long for the player with under 30 carries and 0 yards?`:
```sql
                SELECT "long" FROM "running_backs" WHERE "car"<30 AND "yards"='0';
```
## Task
Generate a SQL query to answer the following question:
`How many wins were there in the 2000 season in the central division with less than 81 losses?`

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

CREATE TABLE "seasons" (
  "mlb_season" text,
  "reds_season" real,
  "league" text,
  "division" text,
  "finish" text,
  "wins" real,
  "losses" real,
  "winpct" real,
  "gb_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many wins were there in the 2000 season in the central division with less than 81 losses?`:
```sql
                SELECT AVG("wins") FROM "seasons" WHERE "division"='central' AND "reds_season"<2000 AND "losses"<81;
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest percentages of wins in 1989 with a GB [c] of 17?`

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

CREATE TABLE "seasons" (
  "mlb_season" text,
  "reds_season" real,
  "league" text,
  "division" text,
  "finish" text,
  "wins" real,
  "losses" real,
  "winpct" real,
  "gb_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest percentages of wins in 1989 with a GB [c] of 17?`:
```sql
                SELECT MIN("winpct") FROM "seasons" WHERE "gb_c"='17' AND "reds_season"=1989;
```
## Task
Generate a SQL query to answer the following question:
`How many losses did the 1943 MLB have?`

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

CREATE TABLE "seasons" (
  "mlb_season" text,
  "reds_season" real,
  "league" text,
  "division" text,
  "finish" text,
  "wins" real,
  "losses" real,
  "winpct" real,
  "gb_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many losses did the 1943 MLB have?`:
```sql
                SELECT AVG("losses") FROM "seasons" WHERE "mlb_season"='1943';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?`

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

CREATE TABLE "seasons" (
  "mlb_season" text,
  "reds_season" real,
  "league" text,
  "division" text,
  "finish" text,
  "wins" real,
  "losses" real,
  "winpct" real,
  "gb_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?`:
```sql
                SELECT MIN("wins") FROM "seasons" WHERE "finish"='7th' AND "winpct">0.429 AND "reds_season"<1915;
```
## Task
Generate a SQL query to answer the following question:
`In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]?`

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

CREATE TABLE "seasons" (
  "mlb_season" text,
  "reds_season" real,
  "league" text,
  "division" text,
  "finish" text,
  "wins" real,
  "losses" real,
  "winpct" real,
  "gb_c" text
);
### SQL
Given the database schema, here is the SQL query that answers `In 1900 with 62 wins and a win percentage less than 0.457, what was the GB [c]?`:
```sql
                SELECT "gb_c" FROM "seasons" WHERE "winpct"<0.457 AND "wins"=62 AND "reds_season"=1900;
```
## Task
Generate a SQL query to answer the following question:
`Which record has a score of 7–6 (12)?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which record has a score of 7–6 (12)?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='7–6 (12)';
```
## Task
Generate a SQL query to answer the following question:
`On what date was the record 59–59?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was the record 59–59?`:
```sql
                SELECT "date" FROM "game_log" WHERE "record"='59–59';
```
## Task
Generate a SQL query to answer the following question:
`What loss occurred on August 21?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What loss occurred on August 21?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "date"='august 21';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest 1985 value that has a 1990 value of 93?`

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

CREATE TABLE "provincial_percentage_share_of_average_c" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest 1985 value that has a 1990 value of 93?`:
```sql
                SELECT MAX("1985") FROM "provincial_percentage_share_of_average_c" WHERE "1990"=93;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?`

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

CREATE TABLE "provincial_percentage_share_of_average_c" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?`:
```sql
                SELECT MAX("2000") FROM "provincial_percentage_share_of_average_c" WHERE "2010"=82 AND "2005"<74;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67?`

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

CREATE TABLE "provincial_percentage_share_of_average_c" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1995 value with a Jiangxi year and a 2008 value bigger than 67?`:
```sql
                SELECT SUM("1995") FROM "provincial_percentage_share_of_average_c" WHERE "year"='jiangxi' AND "2008">67;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?`

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

CREATE TABLE "provincial_percentage_share_of_average_c" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest 2009 value with a 2010 value of 141 and a 1985 value bigger than 165?`:
```sql
                SELECT MIN("2009") FROM "provincial_percentage_share_of_average_c" WHERE "2010"=141 AND "1985">165;
```
## Task
Generate a SQL query to answer the following question:
`What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80?`

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

CREATE TABLE "provincial_percentage_share_of_average_c" (
  "year" text,
  "2010" real,
  "2009" real,
  "2008" real,
  "2005" real,
  "2000" real,
  "1995" real,
  "1990" real,
  "1985" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the 1995 value with a 2005 value bigger than 74, a 2008 value of 84, and a 2000 value less than 80?`:
```sql
                SELECT SUM("1995") FROM "provincial_percentage_share_of_average_c" WHERE "2005">74 AND "2008"=84 AND "2000"<80;
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the election where Sir Christopher William Codrington was elected as First Member and Robert Stayner Holford as the Second Member?`

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

CREATE TABLE "members_of_parliament" (
  "election" text,
  "1st_member" text,
  "1st_party" text,
  "2nd_member" text,
  "2nd_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the election where Sir Christopher William Codrington was elected as First Member and Robert Stayner Holford as the Second Member?`:
```sql
                SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_member"='robert stayner holford';
```
## Task
Generate a SQL query to answer the following question:
`What is the Second Party where Sir Christopher William Codrington is the First Member and Hon. Francis Charteris is the Second Member?`

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

CREATE TABLE "members_of_parliament" (
  "election" text,
  "1st_member" text,
  "1st_party" text,
  "2nd_member" text,
  "2nd_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Second Party where Sir Christopher William Codrington is the First Member and Hon. Francis Charteris is the Second Member?`:
```sql
                SELECT "2nd_party" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_member"='hon. francis charteris';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the election where Sir Christopher William Codrington is elected First Member and the second party is Conservative?`

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

CREATE TABLE "members_of_parliament" (
  "election" text,
  "1st_member" text,
  "1st_party" text,
  "2nd_member" text,
  "2nd_party" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the election where Sir Christopher William Codrington is elected First Member and the second party is Conservative?`:
```sql
                SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='sir christopher william codrington' AND "2nd_party"='conservative';
```
## Task
Generate a SQL query to answer the following question:
`What label is after 2004?`

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

CREATE TABLE "compilations" (
  "year" real,
  "tracks" text,
  "title" text,
  "format_special_notes" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What label is after 2004?`:
```sql
                SELECT "label" FROM "compilations" WHERE "year">2004;
```
## Task
Generate a SQL query to answer the following question:
`What is the Format and Special Notes for of the pact: ...of the gods?`

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

CREATE TABLE "compilations" (
  "year" real,
  "tracks" text,
  "title" text,
  "format_special_notes" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Format and Special Notes for of the pact: ...of the gods?`:
```sql
                SELECT "format_special_notes" FROM "compilations" WHERE "title"='the pact: ...of the gods';
```
## Task
Generate a SQL query to answer the following question:
`What movie has noxialicht as a track?`

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

CREATE TABLE "compilations" (
  "year" real,
  "tracks" text,
  "title" text,
  "format_special_notes" text,
  "label" text
);
### SQL
Given the database schema, here is the SQL query that answers `What movie has noxialicht as a track?`:
```sql
                SELECT "title" FROM "compilations" WHERE "tracks"='noxialicht';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest gold medals of a rank 12 team?`

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

CREATE TABLE "medal_table_2006_2009" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest gold medals of a rank 12 team?`:
```sql
                SELECT MIN("gold") FROM "medal_table_2006_2009" WHERE "rank"='12';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals?`

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

CREATE TABLE "medal_table_2006_2009" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals?`:
```sql
                SELECT COUNT("bronze") FROM "medal_table_2006_2009" WHERE "silver">8 AND "total"=50;
```
## Task
Generate a SQL query to answer the following question:
`What is the average gold medals Uzbekistan, which has less than 24 total medals, has?`

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

CREATE TABLE "medal_table_2006_2009" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average gold medals Uzbekistan, which has less than 24 total medals, has?`:
```sql
                SELECT AVG("gold") FROM "medal_table_2006_2009" WHERE "nation"='uzbekistan' AND "total"<24;
```
## Task
Generate a SQL query to answer the following question:
`Which open cup was after 1993?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which open cup was after 1993?`:
```sql
                SELECT "open_cup" FROM "year_by_year" WHERE "year">1993;
```
## Task
Generate a SQL query to answer the following question:
`Which year had playoffs of champion?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year had playoffs of champion?`:
```sql
                SELECT AVG("year") FROM "year_by_year" WHERE "playoffs"='champion';
```
## Task
Generate a SQL query to answer the following question:
`What divisions was in the year 1993?`

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

CREATE TABLE "year_by_year" (
  "year" real,
  "division" text,
  "league" text,
  "reg_season" text,
  "playoffs" text,
  "open_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `What divisions was in the year 1993?`:
```sql
                SELECT "division" FROM "year_by_year" WHERE "year"=1993;
```
## Task
Generate a SQL query to answer the following question:
`Which UK base has 441st tcg Troop carrier group and 14 as their seir serial?`

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

CREATE TABLE "air_movement_table_mission_albany" (
  "serial" text,
  "airborne_unit" text,
  "troop_carrier_group" text,
  "num_of_c_47s" real,
  "uk_base" text,
  "drop_zone" text,
  "drop_zone_time" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which UK base has 441st tcg Troop carrier group and 14 as their seir serial?`:
```sql
                SELECT "uk_base" FROM "air_movement_table_mission_albany" WHERE "troop_carrier_group"='441st tcg' AND "serial"='14';
```
## Task
Generate a SQL query to answer the following question:
`What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s?`

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

CREATE TABLE "air_movement_table_mission_albany" (
  "serial" text,
  "airborne_unit" text,
  "troop_carrier_group" text,
  "num_of_c_47s" real,
  "uk_base" text,
  "drop_zone" text,
  "drop_zone_time" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s?`:
```sql
                SELECT "drop_zone_time" FROM "air_movement_table_mission_albany" WHERE "troop_carrier_group"='439th tcg' AND "num_of_c_47s">36;
```
## Task
Generate a SQL query to answer the following question:
`What was the grid placement for the Maserati that completed 14 laps?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the grid placement for the Maserati that completed 14 laps?`:
```sql
                SELECT "grid" FROM "classification" WHERE "constructor"='maserati' AND "laps"=14;
```
## Task
Generate a SQL query to answer the following question:
`What company built the car driven by Tony Brooks?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What company built the car driven by Tony Brooks?`:
```sql
                SELECT "constructor" FROM "classification" WHERE "driver"='tony brooks';
```
## Task
Generate a SQL query to answer the following question:
`What is the score on the date of May 2?`

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

CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score on the date of May 2?`:
```sql
                SELECT "score" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='may 2';
```
## Task
Generate a SQL query to answer the following question:
`What city was a visitor on the date of April 30?`

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

CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city was a visitor on the date of April 30?`:
```sql
                SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='april 30';
```
## Task
Generate a SQL query to answer the following question:
`On the date of April 22, which city was a visitor?`

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

CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On the date of April 22, which city was a visitor?`:
```sql
                SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "date"='april 22';
```
## Task
Generate a SQL query to answer the following question:
`What visitor has Ottawa as a home and a date of April 26?`

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

CREATE TABLE "eastern_conference_quarter_finals_vs_1_n" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What visitor has Ottawa as a home and a date of April 26?`:
```sql
                SELECT "visitor" FROM "eastern_conference_quarter_finals_vs_1_n" WHERE "home"='ottawa' AND "date"='april 26';
```
## Task
Generate a SQL query to answer the following question:
`What is Paino Hehea's date of birth?`

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

CREATE TABLE "2007_rugby_world_cup_squads" (
  "player" text,
  "position" text,
  "date_of_birth_age" text,
  "caps" real,
  "club_province" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Paino Hehea's date of birth?`:
```sql
                SELECT "date_of_birth_age" FROM "2007_rugby_world_cup_squads" WHERE "player"='paino hehea';
```
## Task
Generate a SQL query to answer the following question:
`I want to know the location that has a record of 3-0`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want to know the location that has a record of 3-0`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "record"='3-0';
```
## Task
Generate a SQL query to answer the following question:
`Tell me the record for round more than 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Tell me the record for round more than 1`:
```sql
                SELECT "record" FROM "mixed_martial_arts_record" WHERE "round">1;
```
## Task
Generate a SQL query to answer the following question:
`I want to know the method for opponent of jerry bohlander`

### 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" real,
  "time" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `I want to know the method for opponent of jerry bohlander`:
```sql
                SELECT "method" FROM "mixed_martial_arts_record" WHERE "opponent"='jerry bohlander';
```
## Task
Generate a SQL query to answer the following question:
`Who belongs to the Bologna Milan club?`

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

CREATE TABLE "serie_a" (
  "season" text,
  "player" text,
  "nationality" text,
  "club" text,
  "goals" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who belongs to the Bologna Milan club?`:
```sql
                SELECT "player" FROM "serie_a" WHERE "club"='bologna milan';
```
## Task
Generate a SQL query to answer the following question:
`Who is the opponent on June 6?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "home_away" text,
  "field" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the opponent on June 6?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "date"='june 6';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game at Commerce Bank Ballpark?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "home_away" text,
  "field" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game at Commerce Bank Ballpark?`:
```sql
                SELECT "date" FROM "schedule" WHERE "field"='commerce bank ballpark';
```
## Task
Generate a SQL query to answer the following question:
`What is the result of the game at Bishop Kearney Field on August 2?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "home_away" text,
  "field" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the result of the game at Bishop Kearney Field on August 2?`:
```sql
                SELECT "result" FROM "schedule" WHERE "field"='bishop kearney field' AND "date"='august 2';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent of the game at Homewood field?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "home_away" text,
  "field" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent of the game at Homewood field?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "field"='homewood field';
```
## Task
Generate a SQL query to answer the following question:
`What is the time of the rider with a speed of 102.962mph?`

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

CREATE TABLE "newcomers_race_a" (
  "rank" real,
  "rider" text,
  "team" text,
  "speed" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time of the rider with a speed of 102.962mph?`:
```sql
                SELECT "time" FROM "newcomers_race_a" WHERE "speed"='102.962mph';
```