cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which Position has a College of colorado?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a College of colorado?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "college"='colorado';
```
## Task
Generate a SQL query to answer the following question:
`Which College has an Overall larger than 211, a Position of db, and a Name of carl charon?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College has an Overall larger than 211, a Position of db, and a Name of carl charon?`:
```sql
                SELECT "college" FROM "washington_redskins_draft_history" WHERE "overall">211 AND "position"='db' AND "name"='carl charon';
```
## Task
Generate a SQL query to answer the following question:
`Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8?`:
```sql
                SELECT SUM("overall") FROM "washington_redskins_draft_history" WHERE "college"='michigan state' AND "position"='fb' AND "round">8;
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a College of arizona?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a College of arizona?`:
```sql
                SELECT MIN("round") FROM "washington_redskins_draft_history" WHERE "college"='arizona';
```
## Task
Generate a SQL query to answer the following question:
`Which Overall has a Round of 7?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Overall has a Round of 7?`:
```sql
                SELECT MIN("overall") FROM "washington_redskins_draft_history" WHERE "round"=7;
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Pick larger than 1?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "overall" real,
  "name" text,
  "position" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Pick larger than 1?`:
```sql
                SELECT SUM("round") FROM "washington_redskins_draft_history" WHERE "pick">1;
```
## Task
Generate a SQL query to answer the following question:
`In italy, when the stolen ends were 10 and blank ends were under 14, what's the lowest ends won?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `In italy, when the stolen ends were 10 and blank ends were under 14, what's the lowest ends won?`:
```sql
                SELECT MIN("ends_won") FROM "round_robin" WHERE "stolen_ends"=10 AND "locale"='italy' AND "blank_ends"<14;
```
## Task
Generate a SQL query to answer the following question:
`When ends won were below 57 but stolen ends are more than 14, what's the highest blank ends found?`

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

CREATE TABLE "round_robin" (
  "locale" text,
  "skip" text,
  "ends_won" real,
  "ends_lost" real,
  "blank_ends" real,
  "stolen_ends" real,
  "shot_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `When ends won were below 57 but stolen ends are more than 14, what's the highest blank ends found?`:
```sql
                SELECT MAX("blank_ends") FROM "round_robin" WHERE "stolen_ends">14 AND "ends_won"<57;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest value for N, Golosov, when Constellation is G, and when Largest Component, Fractional Share is greater than 0.15?`

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

CREATE TABLE "values" (
  "constellation" text,
  "largest_component_fractional_share" real,
  "other_components_fractional_shares" text,
  "n_laakso_taagepera" real,
  "n_golosov" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest value for N, Golosov, when Constellation is G, and when Largest Component, Fractional Share is greater than 0.15?`:
```sql
                SELECT MAX("n_golosov") FROM "values" WHERE "constellation"='g' AND "largest_component_fractional_share">0.15;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the values for N, Laakso-Taagepera, when Largest Component, Fractional Share is 0.35000000000000003, and when Constellation is E?`

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

CREATE TABLE "values" (
  "constellation" text,
  "largest_component_fractional_share" real,
  "other_components_fractional_shares" text,
  "n_laakso_taagepera" real,
  "n_golosov" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the values for N, Laakso-Taagepera, when Largest Component, Fractional Share is 0.35000000000000003, and when Constellation is E?`:
```sql
                SELECT SUM("n_laakso_taagepera") FROM "values" WHERE "largest_component_fractional_share"=0.35000000000000003 AND "constellation"='e';
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of the values for Largest Component, Fractional Share, when Constellation is E, and when N, Golosov is greater than 2.9?`

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

CREATE TABLE "values" (
  "constellation" text,
  "largest_component_fractional_share" real,
  "other_components_fractional_shares" text,
  "n_laakso_taagepera" real,
  "n_golosov" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of the values for Largest Component, Fractional Share, when Constellation is E, and when N, Golosov is greater than 2.9?`:
```sql
                SELECT SUM("largest_component_fractional_share") FROM "values" WHERE "constellation"='e' AND "n_golosov">2.9;
```
## Task
Generate a SQL query to answer the following question:
`What is the average Largest Component, Fractional Share, when N, Laakso-Taagepera is 1.98, and when N, Golosov is greater than 1.82?`

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

CREATE TABLE "values" (
  "constellation" text,
  "largest_component_fractional_share" real,
  "other_components_fractional_shares" text,
  "n_laakso_taagepera" real,
  "n_golosov" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Largest Component, Fractional Share, when N, Laakso-Taagepera is 1.98, and when N, Golosov is greater than 1.82?`:
```sql
                SELECT AVG("largest_component_fractional_share") FROM "values" WHERE "n_laakso_taagepera"=1.98 AND "n_golosov">1.82;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest value for N, Golosov, when N, Laakso-Taagepera is greater than 10.64?`

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

CREATE TABLE "values" (
  "constellation" text,
  "largest_component_fractional_share" real,
  "other_components_fractional_shares" text,
  "n_laakso_taagepera" real,
  "n_golosov" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest value for N, Golosov, when N, Laakso-Taagepera is greater than 10.64?`:
```sql
                SELECT MIN("n_golosov") FROM "values" WHERE "n_laakso_taagepera">10.64;
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance record for Leicester City?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance record for Leicester City?`:
```sql
                SELECT "attendance" FROM "third_round_proper" WHERE "home_team"='leicester city';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance for Arsenal?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance for Arsenal?`:
```sql
                SELECT "attendance" FROM "third_round_proper" WHERE "home_team"='arsenal';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team against the Bolton Wanderers?`

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

CREATE TABLE "third_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team against the Bolton Wanderers?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='bolton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`Who was the opponent of the match in South Dakota, United States which has 2 rounds?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "round" real,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the opponent of the match in South Dakota, United States which has 2 rounds?`:
```sql
                SELECT "opponent" FROM "mixed_martial_arts_record" WHERE "round"=2 AND "location"='south dakota, united states';
```
## Task
Generate a SQL query to answer the following question:
`What is the total ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches?`

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

CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches?`:
```sql
                SELECT COUNT("total_at_ms") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "off_site_at_ms">3672 AND "number_of_branches"<1685;
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of branches when the on-site ATMS is 1548, and the off-site ATMs is bigger than 3672?`

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

CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of branches when the on-site ATMS is 1548, and the off-site ATMs is bigger than 3672?`:
```sql
                SELECT SUM("number_of_branches") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "on_site_at_ms"=1548 AND "off_site_at_ms">3672;
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883?`

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

CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum total ATMs with new private sector banks as the bank type, and the on-site ATMs are greater than 1883?`:
```sql
                SELECT MIN("total_at_ms") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "bank_type"='new private sector banks' AND "on_site_at_ms">1883;
```
## Task
Generate a SQL query to answer the following question:
`What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?`

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

CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the mean on-site ATMS that have off-site ATMs of 1567, and the total number of ATMs less than 4772?`:
```sql
                SELECT AVG("on_site_at_ms") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "off_site_at_ms"=1567 AND "total_at_ms"<4772;
```
## Task
Generate a SQL query to answer the following question:
`With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs?`

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

CREATE TABLE "branches_and_at_ms_of_scheduled_commerci" (
  "bank_type" text,
  "number_of_branches" real,
  "on_site_at_ms" real,
  "off_site_at_ms" real,
  "total_at_ms" real
);
### SQL
Given the database schema, here is the SQL query that answers `With foreign banks as the bank type, and on-site ATMS less than 218, what is the average off-site ATMs?`:
```sql
                SELECT AVG("off_site_at_ms") FROM "branches_and_at_ms_of_scheduled_commerci" WHERE "bank_type"='foreign banks' AND "on_site_at_ms"<218;
```
## Task
Generate a SQL query to answer the following question:
`What is Effect, when Weapon is "35mm/Small arms fire"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Effect, when Weapon is "35mm/Small arms fire"?`:
```sql
                SELECT "effect" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "weapon"='35mm/small arms fire';
```
## Task
Generate a SQL query to answer the following question:
`What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Date, when Effect is "Shot Down", and when Place is "South of Stanley Airport"?`:
```sql
                SELECT "date" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "effect"='shot down' AND "place"='south of stanley airport';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Weapon is "35mm fire", and when Date is "27 May 1982"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when Weapon is "35mm fire", and when Date is "27 May 1982"?`:
```sql
                SELECT "place" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "weapon"='35mm fire' AND "date"='27 may 1982';
```
## Task
Generate a SQL query to answer the following question:
`What is Pilot, when Place is "Goose Green", and when Date is "27 May 1982"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pilot, when Place is "Goose Green", and when Date is "27 May 1982"?`:
```sql
                SELECT "pilot" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "place"='goose green' AND "date"='27 may 1982';
```
## Task
Generate a SQL query to answer the following question:
`What is Place, when Weapon is "35mm/Small arms fire"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Place, when Weapon is "35mm/Small arms fire"?`:
```sql
                SELECT "place" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "weapon"='35mm/small arms fire';
```
## Task
Generate a SQL query to answer the following question:
`What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?`

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

CREATE TABLE "enemy_aircraft_shot_down_or_disabled_by_" (
  "pilot" text,
  "date" text,
  "place" text,
  "weapon" text,
  "effect" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?`:
```sql
                SELECT "pilot" FROM "enemy_aircraft_shot_down_or_disabled_by_" WHERE "weapon"='35mm fire' AND "date"='4 may 1982';
```
## Task
Generate a SQL query to answer the following question:
`Where is the player from that has a Jersey Number(s) greater than 0 in the year 2003?`

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

CREATE TABLE "o" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where is the player from that has a Jersey Number(s) greater than 0 in the year 2003?`:
```sql
                SELECT "from" FROM "o" WHERE "jersey_number_s">0 AND "years"='2003';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player with a Jersey Number(s) greater than 30?`

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

CREATE TABLE "o" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player with a Jersey Number(s) greater than 30?`:
```sql
                SELECT "player" FROM "o" WHERE "jersey_number_s">30;
```
## Task
Generate a SQL query to answer the following question:
`What is the Years of the player with Jersey Number(s) of 44?`

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

CREATE TABLE "o" (
  "player" text,
  "nationality" text,
  "jersey_number_s" real,
  "position" text,
  "years" text,
  "from" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Years of the player with Jersey Number(s) of 44?`:
```sql
                SELECT "years" FROM "o" WHERE "jersey_number_s"=44;
```
## Task
Generate a SQL query to answer the following question:
`What was the population in North Jeolla?`

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

CREATE TABLE "south_korea_rok" (
  "city" text,
  "korean" text,
  "hanja" text,
  "province" text,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the population in North Jeolla?`:
```sql
                SELECT "population_2010" FROM "south_korea_rok" WHERE "province"='north jeolla';
```
## Task
Generate a SQL query to answer the following question:
`What's Korean for 南楊州 Hanja?`

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

CREATE TABLE "south_korea_rok" (
  "city" text,
  "korean" text,
  "hanja" text,
  "province" text,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's Korean for 南楊州 Hanja?`:
```sql
                SELECT "korean" FROM "south_korea_rok" WHERE "hanja"='南楊州';
```
## Task
Generate a SQL query to answer the following question:
`What's the Korean word for Pohang?`

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

CREATE TABLE "south_korea_rok" (
  "city" text,
  "korean" text,
  "hanja" text,
  "province" text,
  "population_2010" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Korean word for Pohang?`:
```sql
                SELECT "korean" FROM "south_korea_rok" WHERE "city"='pohang';
```
## Task
Generate a SQL query to answer the following question:
`What's the team nickname of the private/catholic school whose enrollment is larger than 3,490?`

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

CREATE TABLE "former_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the team nickname of the private/catholic school whose enrollment is larger than 3,490?`:
```sql
                SELECT "team_nickname" FROM "former_teams" WHERE "affiliation"='private/catholic' AND "enrollment">'3,490';
```
## Task
Generate a SQL query to answer the following question:
`What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?`

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

CREATE TABLE "former_teams" (
  "institution" text,
  "location" text,
  "founded" real,
  "affiliation" text,
  "enrollment" real,
  "team_nickname" text,
  "primary_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?`:
```sql
                SELECT SUM("enrollment") FROM "former_teams" WHERE "location"='buffalo, new york' AND "affiliation"='public' AND "founded">1846;
```
## Task
Generate a SQL query to answer the following question:
`What year did Bangkok University and Chunnam Dragons have a score of 0-0?`

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

CREATE TABLE "results" (
  "season" real,
  "team_1" text,
  "score" text,
  "team_2" text,
  "venue" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Bangkok University and Chunnam Dragons have a score of 0-0?`:
```sql
                SELECT SUM("season") FROM "results" WHERE "team_1"='bangkok university' AND "score"='0-0' AND "team_2"='chunnam dragons';
```
## Task
Generate a SQL query to answer the following question:
`What is the transfer window for Christian Nerlinger?`

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

CREATE TABLE "out" (
  "nat" text,
  "name" text,
  "moving_to" text,
  "type" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the transfer window for Christian Nerlinger?`:
```sql
                SELECT "transfer_window" FROM "out" WHERE "name"='christian nerlinger';
```
## Task
Generate a SQL query to answer the following question:
`What is the name for the end of contract because they're moving to Falkirk?`

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

CREATE TABLE "out" (
  "nat" text,
  "name" text,
  "moving_to" text,
  "type" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name for the end of contract because they're moving to Falkirk?`:
```sql
                SELECT "name" FROM "out" WHERE "type"='end of contract' AND "moving_to"='falkirk';
```
## Task
Generate a SQL query to answer the following question:
`What type of transfer window is winter in Ita?`

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

CREATE TABLE "out" (
  "nat" text,
  "name" text,
  "moving_to" text,
  "type" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What type of transfer window is winter in Ita?`:
```sql
                SELECT "type" FROM "out" WHERE "transfer_window"='winter' AND "nat"='ita';
```
## Task
Generate a SQL query to answer the following question:
`What is the type of loan and the transfer fee loan?`

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

CREATE TABLE "out" (
  "nat" text,
  "name" text,
  "moving_to" text,
  "type" text,
  "transfer_window" text,
  "transfer_fee" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the type of loan and the transfer fee loan?`:
```sql
                SELECT "nat" FROM "out" WHERE "type"='loan' AND "transfer_fee"='loan';
```
## Task
Generate a SQL query to answer the following question:
`On what date did a streak start on November 14?`

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

CREATE TABLE "season_schedule" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "record" text,
  "streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date did a streak start on November 14?`:
```sql
                SELECT "streak" FROM "season_schedule" WHERE "date"='november 14';
```
## Task
Generate a SQL query to answer the following question:
`What was the score of game 36?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "opponent" text,
  "score" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score of game 36?`:
```sql
                SELECT "score" FROM "game_log" WHERE "game"=36;
```
## Task
Generate a SQL query to answer the following question:
`Where was the third bridge over panama canal?`

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

CREATE TABLE "cable_stayed_bridges_under_construction_" (
  "name" text,
  "location" text,
  "country" text,
  "longest_span" text,
  "pylons" real
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the third bridge over panama canal?`:
```sql
                SELECT "location" FROM "cable_stayed_bridges_under_construction_" WHERE "name"='third bridge over panama canal';
```
## Task
Generate a SQL query to answer the following question:
`Name the Comp which has a Name of smith?`

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

CREATE TABLE "passing" (
  "name" text,
  "rating" real,
  "comp" real,
  "long" real,
  "yds_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the Comp which has a Name of smith?`:
```sql
                SELECT "comp" FROM "passing" WHERE "name"='smith';
```
## Task
Generate a SQL query to answer the following question:
`Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100?`

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

CREATE TABLE "passing" (
  "name" text,
  "rating" real,
  "comp" real,
  "long" real,
  "yds_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100?`:
```sql
                SELECT SUM("comp") FROM "passing" WHERE "yds_game"<209.5 AND "name"='brytus' AND "rating"<100;
```
## Task
Generate a SQL query to answer the following question:
`Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?`

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

CREATE TABLE "passing" (
  "name" text,
  "rating" real,
  "comp" real,
  "long" real,
  "yds_game" real
);
### SQL
Given the database schema, here is the SQL query that answers `Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?`:
```sql
                SELECT MAX("comp") FROM "passing" WHERE "yds_game">0 AND "name"='bostick' AND "rating"<91.77;
```
## Task
Generate a SQL query to answer the following question:
`Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert?`

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

CREATE TABLE "first_round" (
  "place" text,
  "player" text,
  "country" text,
  "score" real,
  "to_par" text
);
### SQL
Given the database schema, here is the SQL query that answers `Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert?`:
```sql
                SELECT SUM("score") FROM "first_round" WHERE "place"='t5' AND "country"='united states' AND "player"='jeff maggert';
```
## Task
Generate a SQL query to answer the following question:
`Which event had a decision method?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which event had a decision method?`:
```sql
                SELECT "event" FROM "mixed_martial_arts_record" WHERE "method"='decision';
```
## Task
Generate a SQL query to answer the following question:
`Where was the method of tko?`

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

CREATE TABLE "mixed_martial_arts_record" (
  "res" text,
  "record" text,
  "opponent" text,
  "method" text,
  "event" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where was the method of tko?`:
```sql
                SELECT "location" FROM "mixed_martial_arts_record" WHERE "method"='tko';
```
## Task
Generate a SQL query to answer the following question:
`What is the time of kenya, which is ranked 2?`

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

CREATE TABLE "top_10_men" (
  "rank" text,
  "time" text,
  "athlete" text,
  "nation" text,
  "date" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time of kenya, which is ranked 2?`:
```sql
                SELECT "time" FROM "top_10_men" WHERE "nation"='kenya' AND "rank"='2';
```
## Task
Generate a SQL query to answer the following question:
`What race is on 26 June 2011?`

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

CREATE TABLE "top_10_men" (
  "rank" text,
  "time" text,
  "athlete" text,
  "nation" text,
  "date" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `What race is on 26 June 2011?`:
```sql
                SELECT "race" FROM "top_10_men" WHERE "date"='26 june 2011';
```
## Task
Generate a SQL query to answer the following question:
`What is the time of the peachtree road race in kenya?`

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

CREATE TABLE "top_10_men" (
  "rank" text,
  "time" text,
  "athlete" text,
  "nation" text,
  "date" text,
  "race" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the time of the peachtree road race in kenya?`:
```sql
                SELECT "time" FROM "top_10_men" WHERE "nation"='kenya' AND "race"='peachtree road race';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of team chicago?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of team chicago?`:
```sql
                SELECT "score" FROM "game_log" WHERE "team"='chicago';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of team utah?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of team utah?`:
```sql
                SELECT "record" FROM "game_log" WHERE "team"='utah';
```
## Task
Generate a SQL query to answer the following question:
`What is the location and attendance of game 63?`

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

CREATE TABLE "game_log" (
  "game" real,
  "date" text,
  "team" text,
  "score" text,
  "high_points" text,
  "high_rebounds" text,
  "high_assists" text,
  "location_attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the location and attendance of game 63?`:
```sql
                SELECT "location_attendance" FROM "game_log" WHERE "game"=63;
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of the person who played small forward?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of the person who played small forward?`:
```sql
                SELECT "nationality" FROM "m" WHERE "position"='small forward';
```
## Task
Generate a SQL query to answer the following question:
`What position did Rich Manning play?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did Rich Manning play?`:
```sql
                SELECT "position" FROM "m" WHERE "player"='rich manning';
```
## Task
Generate a SQL query to answer the following question:
`What position did the player who was with the grizzlies from 2007-2009 play?`

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

CREATE TABLE "m" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_for_grizzlies" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What position did the player who was with the grizzlies from 2007-2009 play?`:
```sql
                SELECT "position" FROM "m" WHERE "years_for_grizzlies"='2007-2009';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player in the 2008 draft with a pick greater than 5?`

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

CREATE TABLE "selections" (
  "draft" real,
  "round" real,
  "pick" real,
  "player" text,
  "college_high_school_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player in the 2008 draft with a pick greater than 5?`:
```sql
                SELECT "player" FROM "selections" WHERE "draft"=2008 AND "pick">5;
```
## Task
Generate a SQL query to answer the following question:
`What is the total pick number of the player from a round greater than 1, a draft before 2002, and with the college/high school/club of western kentucky?`

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

CREATE TABLE "selections" (
  "draft" real,
  "round" real,
  "pick" real,
  "player" text,
  "college_high_school_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total pick number of the player from a round greater than 1, a draft before 2002, and with the college/high school/club of western kentucky?`:
```sql
                SELECT COUNT("pick") FROM "selections" WHERE "round">1 AND "draft"<2002 AND "college_high_school_club"='western kentucky';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest draft number with a 48 pick?`

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

CREATE TABLE "selections" (
  "draft" real,
  "round" real,
  "pick" real,
  "player" text,
  "college_high_school_club" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest draft number with a 48 pick?`:
```sql
                SELECT MIN("draft") FROM "selections" WHERE "pick"=48;
```
## Task
Generate a SQL query to answer the following question:
`Which Name has a AAFC Team of los angeles dons, and a Position of fb, and a College of oklahoma a&m?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text,
  "aafc_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Name has a AAFC Team of los angeles dons, and a Position of fb, and a College of oklahoma a&m?`:
```sql
                SELECT "name" FROM "washington_redskins_draft_history" WHERE "aafc_team"='los angeles dons' AND "position"='fb' AND "college"='oklahoma a&m';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a College of tulsa, and a Pick larger than 61?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text,
  "aafc_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a College of tulsa, and a Pick larger than 61?`:
```sql
                SELECT AVG("round") FROM "washington_redskins_draft_history" WHERE "college"='tulsa' AND "pick">61;
```
## Task
Generate a SQL query to answer the following question:
`Which Position has a Round smaller than 5, and a Pick of 5?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text,
  "aafc_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Position has a Round smaller than 5, and a Pick of 5?`:
```sql
                SELECT "position" FROM "washington_redskins_draft_history" WHERE "round"<5 AND "pick"=5;
```
## Task
Generate a SQL query to answer the following question:
`Which College has a Name of hardy brown?`

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

CREATE TABLE "washington_redskins_draft_history" (
  "round" real,
  "pick" real,
  "name" text,
  "position" text,
  "college" text,
  "aafc_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which College has a Name of hardy brown?`:
```sql
                SELECT "college" FROM "washington_redskins_draft_history" WHERE "name"='hardy brown';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?`:
```sql
                SELECT "winner" FROM "race_calendar" WHERE "team"='peter jackson racing' AND "circuit"='mallala motor sport park';
```
## Task
Generate a SQL query to answer the following question:
`What city had a series of atcc round 1?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What city had a series of atcc round 1?`:
```sql
                SELECT "city_state" FROM "race_calendar" WHERE "series"='atcc round 1';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner for ASTC round 8?`

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

CREATE TABLE "race_calendar" (
  "date" text,
  "series" text,
  "circuit" text,
  "city_state" text,
  "winner" text,
  "team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner for ASTC round 8?`:
```sql
                SELECT "winner" FROM "race_calendar" WHERE "series"='astc round 8';
```
## Task
Generate a SQL query to answer the following question:
`Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "college_junior_club_team_league"='swift current broncos (wchl)';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a College/Junior/Club Team (League) of hamilton red wings (oha), and a Position of rw?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a College/Junior/Club Team (League) of hamilton red wings (oha), and a Position of rw?`:
```sql
                SELECT AVG("round") FROM "draft_picks" WHERE "college_junior_club_team_league"='hamilton red wings (oha)' AND "position"='rw';
```
## Task
Generate a SQL query to answer the following question:
`Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?`:
```sql
                SELECT AVG("round") FROM "draft_picks" WHERE "position"='lw' AND "college_junior_club_team_league"='swift current broncos (wchl)';
```
## Task
Generate a SQL query to answer the following question:
`What is round 10's nationality?`

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

CREATE TABLE "draft_picks" (
  "round" real,
  "player" text,
  "position" text,
  "nationality" text,
  "college_junior_club_team_league" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is round 10's nationality?`:
```sql
                SELECT "nationality" FROM "draft_picks" WHERE "round"=10;
```
## Task
Generate a SQL query to answer the following question:
`Which driver was in 8 rounds with a chassis of dallara f306?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which driver was in 8 rounds with a chassis of dallara f306?`:
```sql
                SELECT "driver" FROM "teams_and_drivers" WHERE "chassis"='dallara f306' AND "rounds"='8';
```
## Task
Generate a SQL query to answer the following question:
`How many rounds did Nil Montserrat drive in?`

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

CREATE TABLE "teams_and_drivers" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "rounds" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many rounds did Nil Montserrat drive in?`:
```sql
                SELECT "rounds" FROM "teams_and_drivers" WHERE "driver"='nil montserrat';
```