cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Name the total number of period for yvon le roux`

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

CREATE TABLE "l" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of period for yvon le roux`:
```sql
                SELECT COUNT("period") FROM "l" WHERE "name"='Yvon Le Roux';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for michel llodra`

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

CREATE TABLE "l" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for michel llodra`:
```sql
                SELECT "period" FROM "l" WHERE "name"='Michel Llodra';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of position for democratic republic of the congo`

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

CREATE TABLE "l" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of position for democratic republic of the congo`:
```sql
                SELECT COUNT("position") FROM "l" WHERE "nationality"='Democratic Republic of the Congo';
```
## Task
Generate a SQL query to answer the following question:
`How many names correspond to the value 101 for appearances?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many names correspond to the value 101 for appearances?`:
```sql
                SELECT COUNT("name") FROM "m" WHERE "appearances"=101;
```
## Task
Generate a SQL query to answer the following question:
`What positions correspond to the name Thierry Morin?`

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

CREATE TABLE "m" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What positions correspond to the name Thierry Morin?`:
```sql
                SELECT "position" FROM "m" WHERE "name"='Thierry Morin';
```
## Task
Generate a SQL query to answer the following question:
`What time period had appearances of 219?`

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

CREATE TABLE "j" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What time period had appearances of 219?`:
```sql
                SELECT "period" FROM "j" WHERE "appearances"=219;
```
## Task
Generate a SQL query to answer the following question:
`How many periods had 15 goals?`

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

CREATE TABLE "j" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many periods had 15 goals?`:
```sql
                SELECT COUNT("period") FROM "j" WHERE "goals"=15;
```
## Task
Generate a SQL query to answer the following question:
`at least how many times was Pierre Vermeulen at a game?`

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

CREATE TABLE "v" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `at least how many times was Pierre Vermeulen at a game?`:
```sql
                SELECT MIN("appearances") FROM "v" WHERE "name"='Pierre Vermeulen';
```
## Task
Generate a SQL query to answer the following question:
`What country is Richard Vanquelef from?`

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

CREATE TABLE "v" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is Richard Vanquelef from?`:
```sql
                SELECT "nationality" FROM "v" WHERE "name"='Richard Vanquelef';
```
## Task
Generate a SQL query to answer the following question:
`What country is Pierre Vermeulen from?`

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

CREATE TABLE "v" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What country is Pierre Vermeulen from?`:
```sql
                SELECT "nationality" FROM "v" WHERE "name"='Pierre Vermeulen';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of appearances for yugoslavia`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of appearances for yugoslavia`:
```sql
                SELECT COUNT("appearances") FROM "s" WHERE "nationality"='Yugoslavia';
```
## Task
Generate a SQL query to answer the following question:
`Name the nationality for defender 201`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the nationality for defender 201`:
```sql
                SELECT "nationality" FROM "s" WHERE "position"='Defender' AND "appearances"=201;
```
## Task
Generate a SQL query to answer the following question:
`Name the goals for daniel sanchez`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the goals for daniel sanchez`:
```sql
                SELECT "goals" FROM "s" WHERE "name"='Daniel Sanchez';
```
## Task
Generate a SQL query to answer the following question:
`Name the most goals for algeria`

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

CREATE TABLE "s" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most goals for algeria`:
```sql
                SELECT MIN("goals") FROM "s" WHERE "nationality"='Algeria';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest score.`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest score.`:
```sql
                SELECT MIN("goals") FROM "t";
```
## Task
Generate a SQL query to answer the following question:
`List the minimum impressions for sammy traoré`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the minimum impressions for sammy traoré`:
```sql
                SELECT MIN("appearances") FROM "t" WHERE "name"='Sammy Traoré';
```
## Task
Generate a SQL query to answer the following question:
`During what years did nabatingue toko play. `

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what years did nabatingue toko play. `:
```sql
                SELECT "period" FROM "t" WHERE "name"='Nabatingue Toko';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of goals for mauricio pochettino`

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

CREATE TABLE "p" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of goals for mauricio pochettino`:
```sql
                SELECT COUNT("goals") FROM "p" WHERE "name"='Mauricio Pochettino';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for michel prost`

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

CREATE TABLE "p" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for michel prost`:
```sql
                SELECT "period" FROM "p" WHERE "name"='Michel Prost';
```
## Task
Generate a SQL query to answer the following question:
`Name the goals for mauricio pochettino`

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

CREATE TABLE "p" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the goals for mauricio pochettino`:
```sql
                SELECT "goals" FROM "p" WHERE "name"='Mauricio Pochettino';
```
## Task
Generate a SQL query to answer the following question:
`Name the period for appearances being 380`

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

CREATE TABLE "a" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the period for appearances being 380`:
```sql
                SELECT "period" FROM "a" WHERE "appearances"=380;
```
## Task
Generate a SQL query to answer the following question:
`Name the appearances for bernard allou`

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

CREATE TABLE "a" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the appearances for bernard allou`:
```sql
                SELECT "appearances" FROM "a" WHERE "name"='Bernard Allou';
```
## Task
Generate a SQL query to answer the following question:
`Name the most appearances for bernard allou`

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

CREATE TABLE "a" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most appearances for bernard allou`:
```sql
                SELECT MAX("appearances") FROM "a" WHERE "name"='Bernard Allou';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest number of goals scored`

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

CREATE TABLE "f" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest number of goals scored`:
```sql
                SELECT MAX("goals") FROM "f";
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest number of appearances a player had`

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

CREATE TABLE "f" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest number of appearances a player had`:
```sql
                SELECT MIN("appearances") FROM "f";
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of Louis floch`

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

CREATE TABLE "f" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of Louis floch`:
```sql
                SELECT "nationality" FROM "f" WHERE "name"='Louis Floch';
```
## Task
Generate a SQL query to answer the following question:
`Which player had 252 appearances`

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

CREATE TABLE "f" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player had 252 appearances`:
```sql
                SELECT "name" FROM "f" WHERE "appearances"=252;
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of the player who scored 13 goals`

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

CREATE TABLE "f" (
  "name" text,
  "position" text,
  "period" text,
  "appearances" real,
  "goals" real,
  "nationality" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of the player who scored 13 goals`:
```sql
                SELECT "nationality" FROM "f" WHERE "goals"=13;
```
## Task
Generate a SQL query to answer the following question:
`how many time is the final record is 9–16–5?`

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

CREATE TABLE "year_by_year" (
  "season" real,
  "regular_season" text,
  "playoffs" text,
  "u_s_open_cup" text,
  "concacaf" text,
  "final_record" text
);
### SQL
Given the database schema, here is the SQL query that answers `how many time is the final record is 9–16–5?`:
```sql
                SELECT COUNT("season") FROM "year_by_year" WHERE "final_record"='9–16–5';
```
## Task
Generate a SQL query to answer the following question:
`What station was sent on flight up and was launched on 23 July 1980 18:33:03?`

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

CREATE TABLE "station_crews" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `What station was sent on flight up and was launched on 23 July 1980 18:33:03?`:
```sql
                SELECT "flight_up" FROM "station_crews" WHERE "launch_date"='23 July 1980 18:33:03';
```
## Task
Generate a SQL query to answer the following question:
`Who were the crews on the flight up of Soyuz T-3?`

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

CREATE TABLE "station_crews" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who were the crews on the flight up of Soyuz T-3?`:
```sql
                SELECT "crew" FROM "station_crews" WHERE "flight_up"='Soyuz T-3';
```
## Task
Generate a SQL query to answer the following question:
`How many days were the station of Soyuz 35 in flight down were in orbit?`

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

CREATE TABLE "station_crews" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many days were the station of Soyuz 35 in flight down were in orbit?`:
```sql
                SELECT "duration_days" FROM "station_crews" WHERE "flight_down"='Soyuz 35';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of gn divisions for mannar`

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of gn divisions for mannar`:
```sql
                SELECT COUNT("gn_divisions") FROM "table1_24574438_1" WHERE "ds_division"='Mannar';
```
## Task
Generate a SQL query to answer the following question:
`Name the sinhalese for manthai west`

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sinhalese for manthai west`:
```sql
                SELECT MAX("sinhalese") FROM "table1_24574438_1" WHERE "ds_division"='Manthai West';
```
## Task
Generate a SQL query to answer the following question:
`Name the least indian tamil for population density being 240`

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least indian tamil for population density being 240`:
```sql
                SELECT MIN("indian_tamil") FROM "table1_24574438_1" WHERE "population_density_km_2"=240;
```
## Task
Generate a SQL query to answer the following question:
`Name the popultion density being manthai west`

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the popultion density being manthai west`:
```sql
                SELECT "population_density_km_2" FROM "table1_24574438_1" WHERE "ds_division"='Manthai West';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of sinhalese for indian tamil being 177`

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of sinhalese for indian tamil being 177`:
```sql
                SELECT COUNT("sinhalese") FROM "table1_24574438_1" WHERE "indian_tamil"=177;
```
## Task
Generate a SQL query to answer the following question:
`Name the least area `

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

CREATE TABLE "table1_24574438_1" (
  "ds_division" text,
  "main_town" text,
  "gn_divisions" real,
  "area_km_2" real,
  "sri_lankan_tamil" real,
  "sri_lankan_moors" real,
  "sinhalese" real,
  "indian_tamil" real,
  "other" real,
  "total" real,
  "population_density_km_2" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least area `:
```sql
                SELECT MIN("area_km_2") FROM "table1_24574438_1";
```
## Task
Generate a SQL query to answer the following question:
`When westcott is in division one how many leagues are in division 5?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When westcott is in division one how many leagues are in division 5?`:
```sql
                SELECT COUNT("division_five") FROM "recent_champions" WHERE "division_one"='Westcott';
```
## Task
Generate a SQL query to answer the following question:
`When godstone is in division five who is in division four?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When godstone is in division five who is in division four?`:
```sql
                SELECT "division_four" FROM "recent_champions" WHERE "division_five"='Godstone';
```
## Task
Generate a SQL query to answer the following question:
`When the wallington new foresters are in division four what is the season?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the wallington new foresters are in division four what is the season?`:
```sql
                SELECT "season" FROM "recent_champions" WHERE "division_four"='Wallington New Foresters';
```
## Task
Generate a SQL query to answer the following question:
`When racing epsom is in division two how many seasons are there?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When racing epsom is in division two how many seasons are there?`:
```sql
                SELECT COUNT("season") FROM "recent_champions" WHERE "division_two"='Racing Epsom';
```
## Task
Generate a SQL query to answer the following question:
`When westcott 1935 is in division two how many leagues are in division three?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When westcott 1935 is in division two how many leagues are in division three?`:
```sql
                SELECT COUNT("division_three") FROM "recent_champions" WHERE "division_two"='Westcott 1935';
```
## Task
Generate a SQL query to answer the following question:
`When real holmesdale reserves is division four who is in division one?`

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

CREATE TABLE "recent_champions" (
  "season" text,
  "premier_division" text,
  "division_one" text,
  "division_two" text,
  "division_three" text,
  "division_four" text,
  "division_five" text
);
### SQL
Given the database schema, here is the SQL query that answers `When real holmesdale reserves is division four who is in division one?`:
```sql
                SELECT "division_one" FROM "recent_champions" WHERE "division_four"='Real Holmesdale Reserves';
```
## Task
Generate a SQL query to answer the following question:
`When salyut 7 – ve-4 – eva 1 is the spacecraft, what is the duration?`

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

CREATE TABLE "spacewalks" (
  "spacecraft" text,
  "spacewalker" text,
  "start_utc" text,
  "end_utc" text,
  "duration" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `When salyut 7 – ve-4 – eva 1 is the spacecraft, what is the duration?`:
```sql
                SELECT "duration" FROM "spacewalks" WHERE "spacecraft"='Salyut 7 – VE-4 – EVA 1';
```
## Task
Generate a SQL query to answer the following question:
`When first woman eva is the comment what is the end -utc?`

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

CREATE TABLE "spacewalks" (
  "spacecraft" text,
  "spacewalker" text,
  "start_utc" text,
  "end_utc" text,
  "duration" text,
  "comments" text
);
### SQL
Given the database schema, here is the SQL query that answers `When first woman eva is the comment what is the end -utc?`:
```sql
                SELECT "end_utc" FROM "spacewalks" WHERE "comments"='First woman EVA';
```
## Task
Generate a SQL query to answer the following question:
`What series did the racer earn 68 points in?`

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

CREATE TABLE "career_results" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What series did the racer earn 68 points in?`:
```sql
                SELECT "series" FROM "career_results" WHERE "points"='68';
```
## Task
Generate a SQL query to answer the following question:
`Name the duration for georgi grechko`

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

CREATE TABLE "expeditions" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the duration for georgi grechko`:
```sql
                SELECT "duration_days" FROM "expeditions" WHERE "crew"='Georgi Grechko';
```
## Task
Generate a SQL query to answer the following question:
`Name the flight up for 10 december 1982 19:02:36 utc`

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

CREATE TABLE "expeditions" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the flight up for 10 december 1982 19:02:36 utc`:
```sql
                SELECT "flight_up" FROM "expeditions" WHERE "landing_date"='10 December 1982 19:02:36 UTC';
```
## Task
Generate a SQL query to answer the following question:
`Name the launch date for  vladimir lyakhov , aleksandr pavlovich aleksandrov`

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

CREATE TABLE "expeditions" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the launch date for  vladimir lyakhov , aleksandr pavlovich aleksandrov`:
```sql
                SELECT "launch_date" FROM "expeditions" WHERE "crew"='Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov';
```
## Task
Generate a SQL query to answer the following question:
`Name the flight down for vladimir vasyutin , alexander volkov`

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

CREATE TABLE "expeditions" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the flight down for vladimir vasyutin , alexander volkov`:
```sql
                SELECT "flight_down" FROM "expeditions" WHERE "crew"='Vladimir Vasyutin , Alexander Volkov';
```
## Task
Generate a SQL query to answer the following question:
`Name the duration for  vladimir vasyutin , alexander volkov`

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

CREATE TABLE "expeditions" (
  "expedition" text,
  "crew" text,
  "launch_date" text,
  "flight_up" text,
  "landing_date" text,
  "flight_down" text,
  "duration_days" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the duration for  vladimir vasyutin , alexander volkov`:
```sql
                SELECT COUNT("duration_days") FROM "expeditions" WHERE "crew"='Vladimir Vasyutin , Alexander Volkov';
```
## Task
Generate a SQL query to answer the following question:
`What team was he on the year he had 38 points? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was he on the year he had 38 points? `:
```sql
                SELECT "team" FROM "career_summary" WHERE "points"=38;
```
## Task
Generate a SQL query to answer the following question:
`What was the least amount of wins when he had 10 poles? `

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" real,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the least amount of wins when he had 10 poles? `:
```sql
                SELECT MIN("wins") FROM "career_summary" WHERE "poles"=10;
```
## Task
Generate a SQL query to answer the following question:
`Name the team for 22 points`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the team for 22 points`:
```sql
                SELECT "team" FROM "career_summary" WHERE "points"='22';
```
## Task
Generate a SQL query to answer the following question:
`Name the f/laps for gp2 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,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the f/laps for gp2 series`:
```sql
                SELECT "f_laps" FROM "career_summary" WHERE "series"='GP2 Series';
```
## Task
Generate a SQL query to answer the following question:
`Name the most wins`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most wins`:
```sql
                SELECT MIN("wins") FROM "career_summary";
```
## Task
Generate a SQL query to answer the following question:
`Name the least races for carlin`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least races for carlin`:
```sql
                SELECT MIN("races") FROM "career_summary" WHERE "team"='Carlin';
```
## Task
Generate a SQL query to answer the following question:
`Name the position for 0 podiums and carlin team`

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

CREATE TABLE "career_summary" (
  "season" real,
  "series" text,
  "team" text,
  "races" real,
  "wins" real,
  "poles" real,
  "f_laps" real,
  "podiums" real,
  "points" text,
  "position" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the position for 0 podiums and carlin team`:
```sql
                SELECT "position" FROM "career_summary" WHERE "podiums"=0 AND "team"='Carlin';
```
## Task
Generate a SQL query to answer the following question:
`Name the name in syriac for 500 believers`

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

CREATE TABLE "topographical_survey" (
  "name_of_village" text,
  "name_in_syriac" text,
  "number_of_believers" real,
  "number_of_priests" real,
  "number_of_churches" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the name in syriac for 500 believers`:
```sql
                SELECT "name_in_syriac" FROM "topographical_survey" WHERE "number_of_believers"=500;
```
## Task
Generate a SQL query to answer the following question:
`Name the least number of believers`

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

CREATE TABLE "topographical_survey" (
  "name_of_village" text,
  "name_in_syriac" text,
  "number_of_believers" real,
  "number_of_priests" real,
  "number_of_churches" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the least number of believers`:
```sql
                SELECT MIN("number_of_believers") FROM "topographical_survey";
```
## Task
Generate a SQL query to answer the following question:
`Name the most number of believers for ܓܘܝܠܢ`

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

CREATE TABLE "topographical_survey" (
  "name_of_village" text,
  "name_in_syriac" text,
  "number_of_believers" real,
  "number_of_priests" real,
  "number_of_churches" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number of believers for ܓܘܝܠܢ`:
```sql
                SELECT MAX("number_of_believers") FROM "topographical_survey" WHERE "name_in_syriac"='ܓܘܝܠܢ';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of believers for khosrowa`

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

CREATE TABLE "topographical_survey" (
  "name_of_village" text,
  "name_in_syriac" text,
  "number_of_believers" real,
  "number_of_priests" real,
  "number_of_churches" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of believers for khosrowa`:
```sql
                SELECT "number_of_believers" FROM "topographical_survey" WHERE "name_of_village"='Khosrowa';
```
## Task
Generate a SQL query to answer the following question:
`Name the number of believers for patavur`

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

CREATE TABLE "topographical_survey" (
  "name_of_village" text,
  "name_in_syriac" text,
  "number_of_believers" real,
  "number_of_priests" real,
  "number_of_churches" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the number of believers for patavur`:
```sql
                SELECT COUNT("number_of_believers") FROM "topographical_survey" WHERE "name_of_village"='Patavur';
```
## Task
Generate a SQL query to answer the following question:
`The local title "Live to Dance" was aired in which channel?`

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

CREATE TABLE "table1_24598274_20" (
  "country" text,
  "local_title" text,
  "presenter_s" text,
  "judges" text,
  "channel" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `The local title "Live to Dance" was aired in which channel?`:
```sql
                SELECT "channel" FROM "table1_24598274_20" WHERE "local_title"='Live to Dance';
```
## Task
Generate a SQL query to answer the following question:
`Which country did Johanna Klum presented the show?`

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

CREATE TABLE "table1_24598274_20" (
  "country" text,
  "local_title" text,
  "presenter_s" text,
  "judges" text,
  "channel" text,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which country did Johanna Klum presented the show?`:
```sql
                SELECT "country" FROM "table1_24598274_20" WHERE "presenter_s"='Johanna Klum';
```
## Task
Generate a SQL query to answer the following question:
`Name the most released for the in crowd`

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

CREATE TABLE "tracklist" (
  "artist_band" text,
  "song" text,
  "disney_affiliated" text,
  "released" real,
  "us_exclusive" text,
  "eu_exclusive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most released for the in crowd`:
```sql
                SELECT MAX("released") FROM "tracklist" WHERE "song"='The In Crowd';
```
## Task
Generate a SQL query to answer the following question:
`Name the most released for apologize`

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

CREATE TABLE "tracklist" (
  "artist_band" text,
  "song" text,
  "disney_affiliated" text,
  "released" real,
  "us_exclusive" text,
  "eu_exclusive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most released for apologize`:
```sql
                SELECT MAX("released") FROM "tracklist" WHERE "song"='Apologize';
```
## Task
Generate a SQL query to answer the following question:
`Name the most released for right here, right now`

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

CREATE TABLE "tracklist" (
  "artist_band" text,
  "song" text,
  "disney_affiliated" text,
  "released" real,
  "us_exclusive" text,
  "eu_exclusive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most released for right here, right now`:
```sql
                SELECT MAX("released") FROM "tracklist" WHERE "song"='Right Here, Right Now';
```
## Task
Generate a SQL query to answer the following question:
`Name the us exclusive for miley cyrus`

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

CREATE TABLE "tracklist" (
  "artist_band" text,
  "song" text,
  "disney_affiliated" text,
  "released" real,
  "us_exclusive" text,
  "eu_exclusive" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the us exclusive for miley cyrus`:
```sql
                SELECT "us_exclusive" FROM "tracklist" WHERE "artist_band"='Miley Cyrus';
```
## Task
Generate a SQL query to answer the following question:
`When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?`

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?`:
```sql
                SELECT COUNT("clean_electric_grid_california_san_francisco") FROM "table1_24620684_2" WHERE "vehicle"='BMW ActiveE';
```
## Task
Generate a SQL query to answer the following question:
`When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? `

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type? `:
```sql
                SELECT "vehicle" FROM "table1_24620684_2" WHERE "epa_rated_combined_fuel_economy"='102 mpg-e (33kW-hrs/100mi)';
```
## Task
Generate a SQL query to answer the following question:
`When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?`

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?`:
```sql
                SELECT COUNT("vehicle") FROM "table1_24620684_2" WHERE "clean_electric_grid_california_san_francisco"='100 g/mi (62 g/km)';
```
## Task
Generate a SQL query to answer the following question:
`When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?`

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?`:
```sql
                SELECT "u_s_national_average_electric_mix" FROM "table1_24620684_2" WHERE "dirty_electric_grid_rocky_mountains_denver"='380 g/mi (236 g/km)';
```
## Task
Generate a SQL query to answer the following question:
`When bmw activee is the vehicle type what is the u.s national average electric mix?`

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When bmw activee is the vehicle type what is the u.s national average electric mix?`:
```sql
                SELECT "u_s_national_average_electric_mix" FROM "table1_24620684_2" WHERE "vehicle"='BMW ActiveE';
```
## Task
Generate a SQL query to answer the following question:
`When  87 mpg-e (39kw-hrs/100mi) is the  epa rated combined fuel economy how many operating modes are there?`

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

CREATE TABLE "table1_24620684_2" (
  "vehicle" text,
  "operating_mode" text,
  "epa_rated_all_electric_range" text,
  "epa_rated_combined_fuel_economy" text,
  "clean_electric_grid_california_san_francisco" text,
  "u_s_national_average_electric_mix" text,
  "dirty_electric_grid_rocky_mountains_denver" text
);
### SQL
Given the database schema, here is the SQL query that answers `When  87 mpg-e (39kw-hrs/100mi) is the  epa rated combined fuel economy how many operating modes are there?`:
```sql
                SELECT COUNT("operating_mode") FROM "table1_24620684_2" WHERE "epa_rated_combined_fuel_economy"='87 mpg-e (39kW-hrs/100mi)';
```
## Task
Generate a SQL query to answer the following question:
`Name the opponents for 6–2, 3–6, 6–3`

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

CREATE TABLE "wta_tier_i_19_finals_13_titles_6_runner_" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the opponents for 6–2, 3–6, 6–3`:
```sql
                SELECT "opponents" FROM "wta_tier_i_19_finals_13_titles_6_runner_" WHERE "score"='6–2, 3–6, 6–3';
```
## Task
Generate a SQL query to answer the following question:
`Name the championship for outcome being winner for  7–5, 4–6, 6–1`

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

CREATE TABLE "wta_tier_i_19_finals_13_titles_6_runner_" (
  "outcome" text,
  "year" real,
  "championship" text,
  "surface" text,
  "partner" text,
  "opponents" text,
  "score" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the championship for outcome being winner for  7–5, 4–6, 6–1`:
```sql
                SELECT "championship" FROM "wta_tier_i_19_finals_13_titles_6_runner_" WHERE "outcome"='Winner' AND "score"='7–5, 4–6, 6–1';
```