cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and  Jose Joaquin Rojas Gil?`

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

CREATE TABLE "jersey_progress_chart" (
  "stage_winner" text,
  "general_classification_yellow_jersey" text,
  "mountains_classification_green_jersey" text,
  "points_classification_navy_blue_jersey" text,
  "intermediate_sprints_classification_red_jersey" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Intermediate Sprints Classification Red Jersey that has a Green Jersey of Murilo Antonio Fischer, and  Jose Joaquin Rojas Gil?`:
```sql
                SELECT "intermediate_sprints_classification_red_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='murilo antonio fischer' AND "points_classification_navy_blue_jersey"='jose joaquin rojas gil';
```
## Task
Generate a SQL query to answer the following question:
`What is General Classification Yellow Jersey that has a  Murilo Antonio Fischer, and  Lampre-Fondital?`

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

CREATE TABLE "jersey_progress_chart" (
  "stage_winner" text,
  "general_classification_yellow_jersey" text,
  "mountains_classification_green_jersey" text,
  "points_classification_navy_blue_jersey" text,
  "intermediate_sprints_classification_red_jersey" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is General Classification Yellow Jersey that has a  Murilo Antonio Fischer, and  Lampre-Fondital?`:
```sql
                SELECT "general_classification_yellow_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='murilo antonio fischer' AND "team_classification"='lampre-fondital';
```
## Task
Generate a SQL query to answer the following question:
`What is the Points Classification Navy Blue Jersey that has  Yoann le Boulanger, and  Gerolsteiner?`

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

CREATE TABLE "jersey_progress_chart" (
  "stage_winner" text,
  "general_classification_yellow_jersey" text,
  "mountains_classification_green_jersey" text,
  "points_classification_navy_blue_jersey" text,
  "intermediate_sprints_classification_red_jersey" text,
  "team_classification" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Points Classification Navy Blue Jersey that has  Yoann le Boulanger, and  Gerolsteiner?`:
```sql
                SELECT "points_classification_navy_blue_jersey" FROM "jersey_progress_chart" WHERE "mountains_classification_green_jersey"='yoann le boulanger' AND "team_classification"='gerolsteiner';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance on April 7?`

### 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 `What was the attendance on April 7?`:
```sql
                SELECT SUM("attendance") FROM "game_log" WHERE "date"='april 7';
```
## Task
Generate a SQL query to answer the following question:
`Who wins the Northumberland Senior Cup, when the Northumberland Women's Cup is won by Whitley Bay Women, and when the Northumberland Senior Benevolent Bowl is won by Alnwick Town?`

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

CREATE TABLE "list_of_recent_northumberland_cup_winner" (
  "season" text,
  "northumberland_senior_cup" text,
  "northumberland_senior_benevolent_bowl" text,
  "northumberland_minor_cup" text,
  "northumberland_women_s_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who wins the Northumberland Senior Cup, when the Northumberland Women's Cup is won by Whitley Bay Women, and when the Northumberland Senior Benevolent Bowl is won by Alnwick Town?`:
```sql
                SELECT "northumberland_senior_cup" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_women_s_cup"='whitley bay women' AND "northumberland_senior_benevolent_bowl"='alnwick town';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'?`

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

CREATE TABLE "list_of_recent_northumberland_cup_winner" (
  "season" text,
  "northumberland_senior_cup" text,
  "northumberland_senior_benevolent_bowl" text,
  "northumberland_minor_cup" text,
  "northumberland_women_s_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Minor Cup was won by Whitley Bay 'a'?`:
```sql
                SELECT "northumberland_senior_benevolent_bowl" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_minor_cup"='whitley bay ''a''';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Women's Cup was won by Blyth Spartans Ladies?`

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

CREATE TABLE "list_of_recent_northumberland_cup_winner" (
  "season" text,
  "northumberland_senior_cup" text,
  "northumberland_senior_benevolent_bowl" text,
  "northumberland_minor_cup" text,
  "northumberland_women_s_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Northumberland Senior Benevolent Bowl, when the Northumberland Women's Cup was won by Blyth Spartans Ladies?`:
```sql
                SELECT "northumberland_senior_benevolent_bowl" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_women_s_cup"='blyth spartans ladies';
```
## Task
Generate a SQL query to answer the following question:
`Who won the Northumberland Women's Cup when the Northumberland Senior Benevolent Bowl was won by Percy Main Amateurs?`

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

CREATE TABLE "list_of_recent_northumberland_cup_winner" (
  "season" text,
  "northumberland_senior_cup" text,
  "northumberland_senior_benevolent_bowl" text,
  "northumberland_minor_cup" text,
  "northumberland_women_s_cup" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won the Northumberland Women's Cup when the Northumberland Senior Benevolent Bowl was won by Percy Main Amateurs?`:
```sql
                SELECT "northumberland_women_s_cup" FROM "list_of_recent_northumberland_cup_winner" WHERE "northumberland_senior_benevolent_bowl"='percy main amateurs';
```
## Task
Generate a SQL query to answer the following question:
`What was the film nomination in the Netherlands?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the film nomination in the Netherlands?`:
```sql
                SELECT "film_title_used_in_nomination" FROM "references" WHERE "country"='netherlands';
```
## Task
Generate a SQL query to answer the following question:
`Who directed Turks Fruit?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed Turks Fruit?`:
```sql
                SELECT "director" FROM "references" WHERE "original_title"='turks fruit';
```
## Task
Generate a SQL query to answer the following question:
`What director is from Poland?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `What director is from Poland?`:
```sql
                SELECT "director" FROM "references" WHERE "country"='poland';
```
## Task
Generate a SQL query to answer the following question:
`Who directed the Romanian film?`

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

CREATE TABLE "references" (
  "country" text,
  "film_title_used_in_nomination" text,
  "language" text,
  "original_title" text,
  "director" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who directed the Romanian film?`:
```sql
                SELECT "director" FROM "references" WHERE "language"='romanian';
```
## Task
Generate a SQL query to answer the following question:
`What placement gets more than $400?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What placement gets more than $400?`:
```sql
                SELECT "place" FROM "final_leaderboard" WHERE "money">400;
```
## Task
Generate a SQL query to answer the following question:
`What's the average payout of toney penna with a +2 par?`

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

CREATE TABLE "final_leaderboard" (
  "place" text,
  "player" text,
  "country" text,
  "score" text,
  "to_par" text,
  "money" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average payout of toney penna with a +2 par?`:
```sql
                SELECT AVG("money") FROM "final_leaderboard" WHERE "to_par"='+2' AND "player"='toney penna';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance number of the game on April 16?`

### 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 `What is the attendance number of the game on April 16?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "date"='april 16';
```
## Task
Generate a SQL query to answer the following question:
`What was the average pick of northwestern state college under round 3?`

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

CREATE TABLE "1981_kansas_city_chiefs_season" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the average pick of northwestern state college under round 3?`:
```sql
                SELECT AVG("pick") FROM "1981_kansas_city_chiefs_season" WHERE "round"<3 AND "college"='northwestern state';
```
## Task
Generate a SQL query to answer the following question:
`Rutgers college holds what position?`

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

CREATE TABLE "1981_kansas_city_chiefs_season" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Rutgers college holds what position?`:
```sql
                SELECT "position" FROM "1981_kansas_city_chiefs_season" WHERE "college"='rutgers';
```
## Task
Generate a SQL query to answer the following question:
`In what round smaller than 10, was the center les studdard picked in?`

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

CREATE TABLE "1981_kansas_city_chiefs_season" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what round smaller than 10, was the center les studdard picked in?`:
```sql
                SELECT MIN("pick") FROM "1981_kansas_city_chiefs_season" WHERE "position"='center' AND "name"='les studdard' AND "round"<10;
```
## Task
Generate a SQL query to answer the following question:
`Which college had rounds smaller than 2?`

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

CREATE TABLE "1981_kansas_city_chiefs_season" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which college had rounds smaller than 2?`:
```sql
                SELECT "college" FROM "1981_kansas_city_chiefs_season" WHERE "round"<2;
```
## Task
Generate a SQL query to answer the following question:
`What record was reached with a score of 7 - 2?`

### 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,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What record was reached with a score of 7 - 2?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='7 - 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the club with a rank of 5?`

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

CREATE TABLE "most_games_for_each_club" (
  "rank" text,
  "games" text,
  "player" text,
  "club" text,
  "career_span" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the club with a rank of 5?`:
```sql
                SELECT "club" FROM "most_games_for_each_club" WHERE "rank"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank that shows 276 games?`

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

CREATE TABLE "most_games_for_each_club" (
  "rank" text,
  "games" text,
  "player" text,
  "club" text,
  "career_span" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank that shows 276 games?`:
```sql
                SELECT "rank" FROM "most_games_for_each_club" WHERE "games"='276';
```
## Task
Generate a SQL query to answer the following question:
`What is the rank that shows 426 games?`

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

CREATE TABLE "most_games_for_each_club" (
  "rank" text,
  "games" text,
  "player" text,
  "club" text,
  "career_span" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the rank that shows 426 games?`:
```sql
                SELECT "rank" FROM "most_games_for_each_club" WHERE "games"='426';
```
## Task
Generate a SQL query to answer the following question:
`What is the number of games for Roger Merrett?`

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

CREATE TABLE "most_games_for_each_club" (
  "rank" text,
  "games" text,
  "player" text,
  "club" text,
  "career_span" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the number of games for Roger Merrett?`:
```sql
                SELECT "games" FROM "most_games_for_each_club" WHERE "player"='roger merrett';
```
## Task
Generate a SQL query to answer the following question:
`What Engine had a Finish of 27?`

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

CREATE TABLE "indianapolis_500" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Engine had a Finish of 27?`:
```sql
                SELECT "engine" FROM "indianapolis_500" WHERE "finish"='27';
```
## Task
Generate a SQL query to answer the following question:
`What Engine had a chassis of March 85c?`

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

CREATE TABLE "indianapolis_500" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Engine had a chassis of March 85c?`:
```sql
                SELECT "engine" FROM "indianapolis_500" WHERE "chassis"='march 85c';
```
## Task
Generate a SQL query to answer the following question:
`What Engine has a Finish of 21?`

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

CREATE TABLE "indianapolis_500" (
  "year" real,
  "chassis" text,
  "engine" text,
  "start" text,
  "finish" text,
  "entrant" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Engine has a Finish of 21?`:
```sql
                SELECT "engine" FROM "indianapolis_500" WHERE "finish"='21';
```
## Task
Generate a SQL query to answer the following question:
`On what platform does Mindark publish?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what platform does Mindark publish?`:
```sql
                SELECT "platform" FROM "cry_engine_2" WHERE "publisher"='mindark';
```
## Task
Generate a SQL query to answer the following question:
`What year did Avatar Reality release a game?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Avatar Reality release a game?`:
```sql
                SELECT "year" FROM "cry_engine_2" WHERE "developer"='avatar reality';
```
## Task
Generate a SQL query to answer the following question:
`What publisher created Crysis Warhead?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `What publisher created Crysis Warhead?`:
```sql
                SELECT "publisher" FROM "cry_engine_2" WHERE "title"='crysis warhead';
```
## Task
Generate a SQL query to answer the following question:
`For what platform does Mindark publish?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `For what platform does Mindark publish?`:
```sql
                SELECT "platform" FROM "cry_engine_2" WHERE "publisher"='mindark';
```
## Task
Generate a SQL query to answer the following question:
`What publisher does Paleo Entertainment develop for?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `What publisher does Paleo Entertainment develop for?`:
```sql
                SELECT "publisher" FROM "cry_engine_2" WHERE "developer"='paleo entertainment';
```
## Task
Generate a SQL query to answer the following question:
`Who was the developer for Vigilance?`

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

CREATE TABLE "cry_engine_2" (
  "title" text,
  "year" text,
  "developer" text,
  "publisher" text,
  "platform" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the developer for Vigilance?`:
```sql
                SELECT "developer" FROM "cry_engine_2" WHERE "title"='vigilance';
```
## Task
Generate a SQL query to answer the following question:
`Which player's home town is Swift Current, AB?`

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

CREATE TABLE "2013_2014_roster" (
  "number" text,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "home_town" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player's home town is Swift Current, AB?`:
```sql
                SELECT "player" FROM "2013_2014_roster" WHERE "home_town"='swift current, ab';
```
## Task
Generate a SQL query to answer the following question:
`Which position does number 23 play?`

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

CREATE TABLE "2013_2014_roster" (
  "number" text,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "home_town" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position does number 23 play?`:
```sql
                SELECT "position" FROM "2013_2014_roster" WHERE "number"='23';
```
## Task
Generate a SQL query to answer the following question:
`Which number plays the skaters position?`

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

CREATE TABLE "2013_2014_roster" (
  "number" text,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "home_town" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which number plays the skaters position?`:
```sql
                SELECT "number" FROM "2013_2014_roster" WHERE "position"='skaters';
```
## Task
Generate a SQL query to answer the following question:
`How much does number 26 weigh?`

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

CREATE TABLE "2013_2014_roster" (
  "number" text,
  "player" text,
  "position" text,
  "height" text,
  "weight" text,
  "home_town" text
);
### SQL
Given the database schema, here is the SQL query that answers `How much does number 26 weigh?`:
```sql
                SELECT "weight" FROM "2013_2014_roster" WHERE "number"='26';
```
## Task
Generate a SQL query to answer the following question:
`Which family has a Name of humpback whale?`

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

CREATE TABLE "cetacea" (
  "name" text,
  "species_authority" text,
  "order" text,
  "family" text,
  "red_list" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which family has a Name of humpback whale?`:
```sql
                SELECT "family" FROM "cetacea" WHERE "name"='humpback whale';
```
## Task
Generate a SQL query to answer the following question:
`Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804?`

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

CREATE TABLE "cetacea" (
  "name" text,
  "species_authority" text,
  "order" text,
  "family" text,
  "red_list" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804?`:
```sql
                SELECT "name" FROM "cetacea" WHERE "red_list">0 AND "species_authority"='balaenoptera acutorostrata lacépède, 1804';
```
## Task
Generate a SQL query to answer the following question:
`Which Species/Authority has a Name of true's beaked whale?`

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

CREATE TABLE "cetacea" (
  "name" text,
  "species_authority" text,
  "order" text,
  "family" text,
  "red_list" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Species/Authority has a Name of true's beaked whale?`:
```sql
                SELECT "species_authority" FROM "cetacea" WHERE "name"='true''s beaked whale';
```
## Task
Generate a SQL query to answer the following question:
`What engine has 2 points?`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What engine has 2 points?`:
```sql
                SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "points"='2';
```
## Task
Generate a SQL query to answer the following question:
`What tyres are associated with a year after 1974 and 5 points?`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tyres are associated with a year after 1974 and 5 points?`:
```sql
                SELECT "tyres" FROM "complete_world_championship_formula_one_" WHERE "year">1974 AND "points"='5';
```
## Task
Generate a SQL query to answer the following question:
`What is the engine(s) on the car before 1978 with ensign n177 chassis?`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the engine(s) on the car before 1978 with ensign n177 chassis?`:
```sql
                SELECT "engine_s" FROM "complete_world_championship_formula_one_" WHERE "chassis"='ensign n177' AND "year"<1978;
```
## Task
Generate a SQL query to answer the following question:
`What tyres have 1 point and an ensign n177 chassis?`

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

CREATE TABLE "complete_world_championship_formula_one_" (
  "year" real,
  "chassis" text,
  "engine_s" text,
  "tyres" text,
  "points" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tyres have 1 point and an ensign n177 chassis?`:
```sql
                SELECT "tyres" FROM "complete_world_championship_formula_one_" WHERE "points"='1' AND "chassis"='ensign n177';
```
## Task
Generate a SQL query to answer the following question:
`Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?`

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

CREATE TABLE "complete_formula_one_results" (
  "year" real,
  "entrant" text,
  "chassis" text,
  "engine" text,
  "pts" real
);
### SQL
Given the database schema, here is the SQL query that answers `Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?`:
```sql
                SELECT "entrant" FROM "complete_formula_one_results" WHERE "year"<1987 AND "engine"='bmw straight-4 (t/c)' AND "pts">2;
```
## Task
Generate a SQL query to answer the following question:
`What did Ku Hyo-Jin rank?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did Ku Hyo-Jin rank?`:
```sql
                SELECT COUNT("rank") FROM "semifinal_1" WHERE "name"='ku hyo-jin';
```
## Task
Generate a SQL query to answer the following question:
`What was the rank of the person who swam in Lane 7 with a time of 2:25.86?`

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

CREATE TABLE "semifinal_1" (
  "rank" real,
  "lane" real,
  "name" text,
  "nationality" text,
  "time" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the rank of the person who swam in Lane 7 with a time of 2:25.86?`:
```sql
                SELECT SUM("rank") FROM "semifinal_1" WHERE "time"='2:25.86' AND "lane"<7;
```
## Task
Generate a SQL query to answer the following question:
`Which Laid down has a Ship of fearless?`

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

CREATE TABLE "f_class" (
  "ship" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Laid down has a Ship of fearless?`:
```sql
                SELECT "laid_down" FROM "f_class" WHERE "ship"='fearless';
```
## Task
Generate a SQL query to answer the following question:
`Which ship has a Pennant number of h.69?`

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

CREATE TABLE "f_class" (
  "ship" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which ship has a Pennant number of h.69?`:
```sql
                SELECT "ship" FROM "f_class" WHERE "pennant_number"='h.69';
```
## Task
Generate a SQL query to answer the following question:
`Which Launched has Commissioned 6 june 1935?`

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

CREATE TABLE "f_class" (
  "ship" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Launched has Commissioned 6 june 1935?`:
```sql
                SELECT "launched" FROM "f_class" WHERE "commissioned"='6 june 1935';
```
## Task
Generate a SQL query to answer the following question:
`What launch has a Ship of fearless?`

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

CREATE TABLE "f_class" (
  "ship" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `What launch has a Ship of fearless?`:
```sql
                SELECT "launched" FROM "f_class" WHERE "ship"='fearless';
```
## Task
Generate a SQL query to answer the following question:
`Which commission was launched 28 june 1934, and has a Pennant number of h.78?`

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

CREATE TABLE "f_class" (
  "ship" text,
  "pennant_number" text,
  "laid_down" text,
  "launched" text,
  "commissioned" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which commission was launched 28 june 1934, and has a Pennant number of h.78?`:
```sql
                SELECT "commissioned" FROM "f_class" WHERE "launched"='28 june 1934' AND "pennant_number"='h.78';
```
## Task
Generate a SQL query to answer the following question:
`Which year has a Round of 17?`

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

CREATE TABLE "highest_scores_for_each_quarter" (
  "quarter" text,
  "score" text,
  "club" text,
  "opponent" text,
  "year" text,
  "round" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which year has a Round of 17?`:
```sql
                SELECT "year" FROM "highest_scores_for_each_quarter" WHERE "round"='17';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Club of essendon, and a Score of 13.4.82?`

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

CREATE TABLE "highest_scores_for_each_quarter" (
  "quarter" text,
  "score" text,
  "club" text,
  "opponent" text,
  "year" text,
  "round" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Club of essendon, and a Score of 13.4.82?`:
```sql
                SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "club"='essendon' AND "score"='13.4.82';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Score of 15.4.94?`

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

CREATE TABLE "highest_scores_for_each_quarter" (
  "quarter" text,
  "score" text,
  "club" text,
  "opponent" text,
  "year" text,
  "round" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Score of 15.4.94?`:
```sql
                SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "score"='15.4.94';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Round of 12?`

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

CREATE TABLE "highest_scores_for_each_quarter" (
  "quarter" text,
  "score" text,
  "club" text,
  "opponent" text,
  "year" text,
  "round" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which opponent has a Round of 12?`:
```sql
                SELECT "opponent" FROM "highest_scores_for_each_quarter" WHERE "round"='12';
```
## Task
Generate a SQL query to answer the following question:
`Which Quarter has a Round of 17?`

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

CREATE TABLE "highest_scores_for_each_quarter" (
  "quarter" text,
  "score" text,
  "club" text,
  "opponent" text,
  "year" text,
  "round" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Quarter has a Round of 17?`:
```sql
                SELECT "quarter" FROM "highest_scores_for_each_quarter" WHERE "round"='17';
```
## Task
Generate a SQL query to answer the following question:
`When was moray firth built?`

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

CREATE TABLE "references" (
  "br_no" real,
  "name" text,
  "builder" text,
  "whenbuilt" text,
  "withdrawn" text
);
### SQL
Given the database schema, here is the SQL query that answers `When was moray firth built?`:
```sql
                SELECT "whenbuilt" FROM "references" WHERE "name"='moray firth';
```
## Task
Generate a SQL query to answer the following question:
`Name the withdrawn for charles dickens`

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

CREATE TABLE "references" (
  "br_no" real,
  "name" text,
  "builder" text,
  "whenbuilt" text,
  "withdrawn" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the withdrawn for charles dickens`:
```sql
                SELECT "withdrawn" FROM "references" WHERE "name"='charles dickens';
```
## Task
Generate a SQL query to answer the following question:
`Which loss has an Attendance larger than 20,841, and a Date of july 9?`

### 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 `Which loss has an Attendance larger than 20,841, and a Date of july 9?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "attendance">'20,841' AND "date"='july 9';
```
## Task
Generate a SQL query to answer the following question:
`Which opponent has a Date of july 27?`

### 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 `Which opponent has a Date of july 27?`:
```sql
                SELECT "opponent" FROM "game_log" WHERE "date"='july 27';
```
## Task
Generate a SQL query to answer the following question:
`What Venue held the World Race Walking Cup tourney before 2008?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Venue held the World Race Walking Cup tourney before 2008?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "year"<2008 AND "tournament"='world race walking cup';
```
## Task
Generate a SQL query to answer the following question:
`What tournement was held in Helsinki, Finland in 2005?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What tournement was held in Helsinki, Finland in 2005?`:
```sql
                SELECT "event" FROM "achievements" WHERE "venue"='helsinki, finland';
```
## Task
Generate a SQL query to answer the following question:
`What Venue held the Olympic games in 2012?`

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

CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
### SQL
Given the database schema, here is the SQL query that answers `What Venue held the Olympic games in 2012?`:
```sql
                SELECT "venue" FROM "achievements" WHERE "tournament"='olympic games' AND "year"=2012;
```
## Task
Generate a SQL query to answer the following question:
`What's the website for the yamagata international documentary film festival?`

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

CREATE TABLE "asia" (
  "name" text,
  "est" real,
  "city" text,
  "country" text,
  "website" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the website for the yamagata international documentary film festival?`:
```sql
                SELECT "website" FROM "asia" WHERE "name"='yamagata international documentary film festival';
```
## Task
Generate a SQL query to answer the following question:
`How did Johnnie Parsons finish when his qualifying time was 135.328?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `How did Johnnie Parsons finish when his qualifying time was 135.328?`:
```sql
                SELECT "rank" FROM "indy_500_results" WHERE "qual"='135.328';
```
## Task
Generate a SQL query to answer the following question:
`What was Johnnie Parsons rank when he completed over 200 laps?`

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

CREATE TABLE "indy_500_results" (
  "year" text,
  "start" text,
  "qual" text,
  "rank" text,
  "finish" text,
  "laps" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was Johnnie Parsons rank when he completed over 200 laps?`:
```sql
                SELECT "rank" FROM "indy_500_results" WHERE "laps">200;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?`:
```sql
                SELECT "podiums" FROM "career_summary" WHERE "wins"='2' AND "season"=2008;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?`:
```sql
                SELECT "position" FROM "career_summary" WHERE "series"='macau grand prix' AND "season"<2007;
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Wins when the Position is 7th?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Wins when the Position is 7th?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "position"='7th';
```
## Task
Generate a SQL query to answer the following question:
`What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?`:
```sql
                SELECT "series" FROM "career_summary" WHERE "season">2008 AND "podiums"='3' AND "position"='8th';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?`:
```sql
                SELECT "podiums" FROM "career_summary" WHERE "season">2008 AND "series"='gp2 asia series';
```
## Task
Generate a SQL query to answer the following question:
`What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "wins" text,
  "podiums" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?`:
```sql
                SELECT "wins" FROM "career_summary" WHERE "series"='gp2 series' AND "season"<2009;
```
## Task
Generate a SQL query to answer the following question:
`What was the loss of the game against the Indians when the record was 15-15?`

### 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 `What was the loss of the game against the Indians when the record was 15-15?`:
```sql
                SELECT "loss" FROM "game_log" WHERE "opponent"='indians' AND "record"='15-15';
```
## Task
Generate a SQL query to answer the following question:
`What is the total attendance for games when the record was 23-23?`

### 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 `What is the total attendance for games when the record was 23-23?`:
```sql
                SELECT COUNT("attendance") FROM "game_log" WHERE "record"='23-23';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13?`

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

CREATE TABLE "seasons_since_1970" (
  "division" text,
  "drawn" real,
  "lost" real,
  "points" real,
  "league_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13?`:
```sql
                SELECT COUNT("points") FROM "seasons_since_1970" WHERE "division"='conference' AND "league_pos"='9th' AND "lost"<13;
```
## Task
Generate a SQL query to answer the following question:
`What is the drawn result with a league position of 15th and a lost result that is more than 17?`

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

CREATE TABLE "seasons_since_1970" (
  "division" text,
  "drawn" real,
  "lost" real,
  "points" real,
  "league_pos" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the drawn result with a league position of 15th and a lost result that is more than 17?`:
```sql
                SELECT SUM("drawn") FROM "seasons_since_1970" WHERE "league_pos"='15th' AND "lost">17;
```
## Task
Generate a SQL query to answer the following question:
`Name the 2014 which has a 2003-04 of did not participate and a 2005 of did not participate`

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

CREATE TABLE "competition_timeline" (
  "competition" text,
  "1993_94" text,
  "1994_95" text,
  "1995_96" text,
  "1996_97" text,
  "1997_98" text,
  "1998_99" text,
  "1999_2000" text,
  "2000_01" text,
  "2001_02" text,
  "2002_03" text,
  "2003_04" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text,
  "2014" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the 2014 which has a 2003-04 of did not participate and a 2005 of did not participate`:
```sql
                SELECT "2014" FROM "competition_timeline" WHERE "2003_04"='did not participate' AND "2005"='did not participate';
```