cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the first leg score when the second leg score is 0-4?`

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

CREATE TABLE "preliminary_round" (
  "team_1" text,
  "agg" text,
  "team_2" text,
  "1st_leg" text,
  "2nd_leg" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first leg score when the second leg score is 0-4?`:
```sql
                SELECT "1st_leg" FROM "preliminary_round" WHERE "2nd_leg"='0-4';
```
## Task
Generate a SQL query to answer the following question:
`What is the Status with a Name that is anas cheuen?`

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

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "unit" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Status with a Name that is anas cheuen?`:
```sql
                SELECT "status" FROM "newly_named_birds" WHERE "name"='anas cheuen';
```
## Task
Generate a SQL query to answer the following question:
`What is the Unit with a Name that is anas cheuen?`

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

CREATE TABLE "newly_named_birds" (
  "name" text,
  "status" text,
  "authors" text,
  "unit" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Unit with a Name that is anas cheuen?`:
```sql
                SELECT "unit" FROM "newly_named_birds" WHERE "name"='anas cheuen';
```
## Task
Generate a SQL query to answer the following question:
`What team was the Opponent when the Score was 31-6?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the Opponent when the Score was 31-6?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "score"='31-6';
```
## Task
Generate a SQL query to answer the following question:
`What is the Score when the record was 9-3-0?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score when the record was 9-3-0?`:
```sql
                SELECT "score" FROM "schedule" WHERE "record"='9-3-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record with an attendance of more than 54,761, and a Result of loss?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "result" text,
  "score" text,
  "record" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record with an attendance of more than 54,761, and a Result of loss?`:
```sql
                SELECT "record" FROM "schedule" WHERE "attendance">'54,761' AND "result"='loss';
```
## Task
Generate a SQL query to answer the following question:
`What is the away team where the home team is Coventry 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the away team where the home team is Coventry City?`:
```sql
                SELECT "away_team" FROM "third_round_proper" WHERE "home_team"='coventry city';
```
## Task
Generate a SQL query to answer the following question:
`What is the score where the away team is Exeter 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score where the away team is Exeter City?`:
```sql
                SELECT "score" FROM "third_round_proper" WHERE "away_team"='exeter city';
```
## Task
Generate a SQL query to answer the following question:
`How many ties does Walsall have?`

### 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many ties does Walsall have?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "away_team"='walsall';
```
## Task
Generate a SQL query to answer the following question:
`Where Bolton Wanderers is the home team, who is the away team?`

### 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where Bolton Wanderers is the home team, who is the away team?`:
```sql
                SELECT "away_team" FROM "third_round_proper" WHERE "home_team"='bolton wanderers';
```
## Task
Generate a SQL query to answer the following question:
`How many ties are there where attendance is 11,997?`

### 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many ties are there where attendance is 11,997?`:
```sql
                SELECT "tie_no" FROM "third_round_proper" WHERE "attendance"='11,997';
```
## Task
Generate a SQL query to answer the following question:
`Where the away team is Bradford City, who is the home team?`

### 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,
  "date" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where the away team is Bradford City, who is the home team?`:
```sql
                SELECT "home_team" FROM "third_round_proper" WHERE "away_team"='bradford city';
```
## Task
Generate a SQL query to answer the following question:
`For which school/club team did the player in the position of Guard/Forward play?`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `For which school/club team did the player in the position of Guard/Forward play?`:
```sql
                SELECT "school_club_team" FROM "t" WHERE "position"='guard/forward';
```
## Task
Generate a SQL query to answer the following question:
`How was the player in the position of Center acquired?`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `How was the player in the position of Center acquired?`:
```sql
                SELECT "acquisition_via" FROM "t" WHERE "position"='center';
```
## Task
Generate a SQL query to answer the following question:
`In what season did Omar Thomas play, with a jersey number larger than 15?`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what season did Omar Thomas play, with a jersey number larger than 15?`:
```sql
                SELECT "season" FROM "t" WHERE "number">15 AND "name"='omar thomas';
```
## Task
Generate a SQL query to answer the following question:
`How many total players came from the school/club team of De La Salle?`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many total players came from the school/club team of De La Salle?`:
```sql
                SELECT COUNT("number") FROM "t" WHERE "school_club_team"='de la salle';
```
## Task
Generate a SQL query to answer the following question:
`Which player is in the position of Guard/Forward?`

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

CREATE TABLE "t" (
  "name" text,
  "position" text,
  "number" real,
  "school_club_team" text,
  "season" text,
  "acquisition_via" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is in the position of Guard/Forward?`:
```sql
                SELECT "name" FROM "t" WHERE "position"='guard/forward';
```
## Task
Generate a SQL query to answer the following question:
`What is the most wins associated with under 4 events with 0 top-5s?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the most wins associated with under 4 events with 0 top-5s?`:
```sql
                SELECT MAX("wins") FROM "summary" WHERE "top_5">0 AND "events"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?`:
```sql
                SELECT AVG("events") FROM "summary" WHERE "top_10"=1 AND "wins">0 AND "cuts_made"<4;
```
## Task
Generate a SQL query to answer the following question:
`What is the average number of wins for events larger than 28?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average number of wins for events larger than 28?`:
```sql
                SELECT AVG("wins") FROM "summary" WHERE "events">28;
```
## Task
Generate a SQL query to answer the following question:
`What is the sum of top-25s for events with more than 1 top-5?`

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

CREATE TABLE "summary" (
  "tournament" text,
  "wins" real,
  "top_5" real,
  "top_10" real,
  "top_25" real,
  "events" real,
  "cuts_made" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the sum of top-25s for events with more than 1 top-5?`:
```sql
                SELECT SUM("top_25") FROM "summary" WHERE "top_5">1;
```
## Task
Generate a SQL query to answer the following question:
`Who is the producer of city sharks?`

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

CREATE TABLE "2003" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the producer of city sharks?`:
```sql
                SELECT "producer" FROM "2003" WHERE "title"='city sharks';
```
## Task
Generate a SQL query to answer the following question:
`What is the title of the film when the producer was 2003?`

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

CREATE TABLE "2003" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the title of the film when the producer was 2003?`:
```sql
                SELECT "title" FROM "2003" WHERE "producer"='2003';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director when the title is 2003?`

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

CREATE TABLE "2003" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director when the title is 2003?`:
```sql
                SELECT "director" FROM "2003" WHERE "title"='2003';
```
## Task
Generate a SQL query to answer the following question:
`What is the production cost when the producer is raintree pictures?`

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

CREATE TABLE "2003" (
  "date" text,
  "title" text,
  "director" text,
  "producer" text,
  "production_cost" text,
  "singapore_gross" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the production cost when the producer is raintree pictures?`:
```sql
                SELECT "production_cost" FROM "2003" WHERE "producer"='raintree pictures';
```
## Task
Generate a SQL query to answer the following question:
`What was the lowest attendance at a week 15 game?`

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

CREATE TABLE "schedule" (
  "week" real,
  "date" text,
  "opponent" text,
  "result" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What was the lowest attendance at a week 15 game?`:
```sql
                SELECT MIN("attendance") FROM "schedule" WHERE "week"=15;
```
## Task
Generate a SQL query to answer the following question:
`What is the Score for the game with a record of 38-18?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Score for the game with a record of 38-18?`:
```sql
                SELECT "score" FROM "schedule" WHERE "record"='38-18';
```
## Task
Generate a SQL query to answer the following question:
`What team was the opponent when the score was 8-2?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What team was the opponent when the score was 8-2?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "score"='8-2';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when the opponent shows vs. ole miss, and a Loss of mckean (4-1)?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when the opponent shows vs. ole miss, and a Loss of mckean (4-1)?`:
```sql
                SELECT "location" FROM "schedule" WHERE "opponent"='vs. ole miss' AND "loss"='mckean (4-1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the name of the Opponent when there is a Record of 39-19?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the name of the Opponent when there is a Record of 39-19?`:
```sql
                SELECT "opponent" FROM "schedule" WHERE "record"='39-19';
```
## Task
Generate a SQL query to answer the following question:
`What is the Record on may 24, with a Loss of hayes (2-1)?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Record on may 24, with a Loss of hayes (2-1)?`:
```sql
                SELECT "record" FROM "schedule" WHERE "date"='may 24' AND "loss"='hayes (2-1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when the Opponent shows vs. #23 south carolina?`

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

CREATE TABLE "schedule" (
  "date" text,
  "opponent" text,
  "location" text,
  "score" text,
  "loss" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when the Opponent shows vs. #23 south carolina?`:
```sql
                SELECT "location" FROM "schedule" WHERE "opponent"='vs. #23 south carolina';
```
## Task
Generate a SQL query to answer the following question:
`What is that if the weight for the play born on June 2, 1983?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "2002_2003_team" text,
  "nhl_rights_if_any" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is that if the weight for the play born on June 2, 1983?`:
```sql
                SELECT SUM("weight_kg") FROM "list_of_united_states_national_ice_hocke" WHERE "birthdate"='june 2, 1983';
```
## Task
Generate a SQL query to answer the following question:
`What was the highest weight in kg for F Position, Jersey #12?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "2002_2003_team" text,
  "nhl_rights_if_any" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the highest weight in kg for F Position, Jersey #12?`:
```sql
                SELECT MAX("weight_kg") FROM "list_of_united_states_national_ice_hocke" WHERE "position"='f' AND "jersey_num"=12;
```
## Task
Generate a SQL query to answer the following question:
`Which player is the NHL right, who was born in Downers Grove, Illinois?`

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

CREATE TABLE "list_of_united_states_national_ice_hocke" (
  "position" text,
  "jersey_num" real,
  "name" text,
  "height_cm" real,
  "weight_kg" real,
  "birthdate" text,
  "birthplace" text,
  "2002_2003_team" text,
  "nhl_rights_if_any" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is the NHL right, who was born in Downers Grove, Illinois?`:
```sql
                SELECT "nhl_rights_if_any" FROM "list_of_united_states_national_ice_hocke" WHERE "birthplace"='downers grove, illinois';
```
## Task
Generate a SQL query to answer the following question:
`Which coding's variant id is abd'1a 3?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which coding's variant id is abd'1a 3?`:
```sql
                SELECT "coding" FROM "sftpa2_m_rna_transcript_variants" WHERE "variant_id"='abd''1a 3';
```
## Task
Generate a SQL query to answer the following question:
`Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?`:
```sql
                SELECT "5_utr_splice" FROM "sftpa2_m_rna_transcript_variants" WHERE "coding"='1a 2' AND "variant_id"='abd''1a 2';
```
## Task
Generate a SQL query to answer the following question:
`Which variant id's coding is 1a 5 when the 5'utr splice is abd'?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which variant id's coding is 1a 5 when the 5'utr splice is abd'?`:
```sql
                SELECT "variant_id" FROM "sftpa2_m_rna_transcript_variants" WHERE "coding"='1a 5' AND "5_utr_splice"='abd''';
```
## Task
Generate a SQL query to answer the following question:
`Which genbank id's variant is abd1a?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which genbank id's variant is abd1a?`:
```sql
                SELECT "gen_bank_id" FROM "sftpa2_m_rna_transcript_variants" WHERE "variant_id"='abd1a';
```
## Task
Generate a SQL query to answer the following question:
`Which coding entry has a 3'utr sequence of 1a 0 and a 5'utr splice that is abd?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which coding entry has a 3'utr sequence of 1a 0 and a 5'utr splice that is abd?`:
```sql
                SELECT "coding" FROM "sftpa2_m_rna_transcript_variants" WHERE "3_utr_sequence"='1a 0' AND "5_utr_splice"='abd';
```
## Task
Generate a SQL query to answer the following question:
`Which genbank id has a 5'utr splice of abd and a variant id that is abd1a 3?`

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

CREATE TABLE "sftpa2_m_rna_transcript_variants" (
  "variant_id" text,
  "5_utr_splice" text,
  "coding" text,
  "3_utr_sequence" text,
  "gen_bank_id" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which genbank id has a 5'utr splice of abd and a variant id that is abd1a 3?`:
```sql
                SELECT "gen_bank_id" FROM "sftpa2_m_rna_transcript_variants" WHERE "5_utr_splice"='abd' AND "variant_id"='abd1a 3';
```
## Task
Generate a SQL query to answer the following question:
`What year did Orlando have a School/Club team in Clemson?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What year did Orlando have a School/Club team in Clemson?`:
```sql
                SELECT "years_in_orlando" FROM "g" WHERE "school_club_team"='clemson';
```
## Task
Generate a SQL query to answer the following question:
`What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson?`:
```sql
                SELECT "years_in_orlando" FROM "g" WHERE "nationality"='united states' AND "school_club_team"='clemson';
```
## Task
Generate a SQL query to answer the following question:
`Who is the player for the School/Club team in Georgia?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the player for the School/Club team in Georgia?`:
```sql
                SELECT "player" FROM "g" WHERE "school_club_team"='georgia';
```
## Task
Generate a SQL query to answer the following question:
`What was the nationality of the player Pat Garrity?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the nationality of the player Pat Garrity?`:
```sql
                SELECT "nationality" FROM "g" WHERE "player"='pat garrity';
```
## Task
Generate a SQL query to answer the following question:
`What is the nationality of the School/Club team of Louisville?`

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

CREATE TABLE "g" (
  "player" text,
  "nationality" text,
  "position" text,
  "years_in_orlando" text,
  "school_club_team" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the nationality of the School/Club team of Louisville?`:
```sql
                SELECT "nationality" FROM "g" WHERE "school_club_team"='louisville';
```
## Task
Generate a SQL query to answer the following question:
`How many features did Adam Carroll win 6 times when the start was larger than 32?`

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

CREATE TABLE "wins" (
  "driver" text,
  "wins" real,
  "starts" real,
  "sprint" real,
  "feature" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many features did Adam Carroll win 6 times when the start was larger than 32?`:
```sql
                SELECT COUNT("feature") FROM "wins" WHERE "wins"=6 AND "driver"='adam carroll' AND "starts">32;
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest feature with 2 wins and 2 sprints?`

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

CREATE TABLE "wins" (
  "driver" text,
  "wins" real,
  "starts" real,
  "sprint" real,
  "feature" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest feature with 2 wins and 2 sprints?`:
```sql
                SELECT MIN("feature") FROM "wins" WHERE "wins"=2 AND "sprint"=2;
```
## Task
Generate a SQL query to answer the following question:
`How many sprints on average had 10 wins and less than 5 features?`

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

CREATE TABLE "wins" (
  "driver" text,
  "wins" real,
  "starts" real,
  "sprint" real,
  "feature" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many sprints on average had 10 wins and less than 5 features?`:
```sql
                SELECT AVG("sprint") FROM "wins" WHERE "wins"=10 AND "feature"<5;
```
## Task
Generate a SQL query to answer the following question:
`Which country has a lane greater than 6 and a mark of 6.63?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country has a lane greater than 6 and a mark of 6.63?`:
```sql
                SELECT "country" FROM "final" WHERE "lane">6 AND "mark"='6.63';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest lane for Nigeria, with a react less than 0.133?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest lane for Nigeria, with a react less than 0.133?`:
```sql
                SELECT MIN("lane") FROM "final" WHERE "country"='nigeria' AND "react"<0.133;
```
## Task
Generate a SQL query to answer the following question:
`What is the mark for Kim Collins?`

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

CREATE TABLE "final" (
  "lane" real,
  "name" text,
  "country" text,
  "mark" text,
  "react" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the mark for Kim Collins?`:
```sql
                SELECT "mark" FROM "final" WHERE "name"='kim collins';
```
## Task
Generate a SQL query to answer the following question:
`Which country had 1 Bronze, 1 Silver, with a total of 3 medals?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country had 1 Bronze, 1 Silver, with a total of 3 medals?`:
```sql
                SELECT "nation" FROM "medal_table" WHERE "bronze"=1 AND "total"=3 AND "silver"=1;
```
## Task
Generate a SQL query to answer the following question:
`Which country had more than 2 silvers and less than 4 golds?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which country had more than 2 silvers and less than 4 golds?`:
```sql
                SELECT "nation" FROM "medal_table" WHERE "silver">2 AND "gold"<4;
```
## Task
Generate a SQL query to answer the following question:
`What's the average bronze with a total number of medals being 1, with more than 0 silvers?`

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

CREATE TABLE "medal_table" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What's the average bronze with a total number of medals being 1, with more than 0 silvers?`:
```sql
                SELECT AVG("bronze") FROM "medal_table" WHERE "total"=1 AND "silver">0;
```
## Task
Generate a SQL query to answer the following question:
`In the 2005 season, how many races did the 15th place team complete?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team_name" text,
  "races" real,
  "poles" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the 2005 season, how many races did the 15th place team complete?`:
```sql
                SELECT AVG("races") FROM "career_summary" WHERE "final_placing"='15th' AND "season"='2005';
```
## Task
Generate a SQL query to answer the following question:
`Which team completed 10 races?`

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

CREATE TABLE "career_summary" (
  "season" text,
  "series" text,
  "team_name" text,
  "races" real,
  "poles" real,
  "wins" real,
  "points" text,
  "final_placing" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which team completed 10 races?`:
```sql
                SELECT "team_name" FROM "career_summary" WHERE "races"=10;
```
## Task
Generate a SQL query to answer the following question:
`What is the PBA team with a Pick that is 4?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the PBA team with a Pick that is 4?`:
```sql
                SELECT "pba_team" FROM "round_1" WHERE "pick"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the Player with a Pick that is 6?`

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

CREATE TABLE "round_1" (
  "pick" real,
  "player" text,
  "country_of_origin" text,
  "pba_team" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Player with a Pick that is 6?`:
```sql
                SELECT "player" FROM "round_1" WHERE "pick"=6;
```
## Task
Generate a SQL query to answer the following question:
`How many totals have 1 gold and a rank smaller than 2?`

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

CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many totals have 1 gold and a rank smaller than 2?`:
```sql
                SELECT COUNT("total") FROM "medals_table" WHERE "gold"=1 AND "rank"<2;
```
## Task
Generate a SQL query to answer the following question:
`How much gold did South Korea get?`

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

CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How much gold did South Korea get?`:
```sql
                SELECT SUM("gold") FROM "medals_table" WHERE "nation"='south korea';
```
## Task
Generate a SQL query to answer the following question:
`What locomotive built after 1895 has the highest SLM number?`

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

CREATE TABLE "united_kingdom" (
  "built" real,
  "number" real,
  "type" text,
  "slm_number" real,
  "wheel_arrangement" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What locomotive built after 1895 has the highest SLM number?`:
```sql
                SELECT MAX("slm_number") FROM "united_kingdom" WHERE "built">1895;
```
## Task
Generate a SQL query to answer the following question:
`Which type of locomotive was built in 1923?`

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

CREATE TABLE "united_kingdom" (
  "built" real,
  "number" real,
  "type" text,
  "slm_number" real,
  "wheel_arrangement" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which type of locomotive was built in 1923?`:
```sql
                SELECT "type" FROM "united_kingdom" WHERE "built"=1923;
```
## Task
Generate a SQL query to answer the following question:
`What is the first locomotive that has a SLM number lower than 924?`

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

CREATE TABLE "united_kingdom" (
  "built" real,
  "number" real,
  "type" text,
  "slm_number" real,
  "wheel_arrangement" text,
  "location" text,
  "notes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the first locomotive that has a SLM number lower than 924?`:
```sql
                SELECT MIN("number") FROM "united_kingdom" WHERE "slm_number"<924;
```
## Task
Generate a SQL query to answer the following question:
`When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked?`

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

CREATE TABLE "1972_isle_of_man_lightweight_tt_250cc_fi" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked?`:
```sql
                SELECT MIN("place") FROM "1972_isle_of_man_lightweight_tt_250cc_fi" WHERE "country"='united kingdom' AND "time"='1:30.51.2';
```
## Task
Generate a SQL query to answer the following question:
`What County scored with a speed of 98.09mph?`

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

CREATE TABLE "1972_isle_of_man_lightweight_tt_250cc_fi" (
  "place" real,
  "rider" text,
  "country" text,
  "machine" text,
  "speed" text,
  "time" text,
  "points" real
);
### SQL
Given the database schema, here is the SQL query that answers `What County scored with a speed of 98.09mph?`:
```sql
                SELECT "country" FROM "1972_isle_of_man_lightweight_tt_250cc_fi" WHERE "speed"='98.09mph';
```
## Task
Generate a SQL query to answer the following question:
`What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?`:
```sql
                SELECT "set_4" FROM "results_pool_e" WHERE "date"='jun 27' AND "set_3"='17-25';
```
## Task
Generate a SQL query to answer the following question:
`What is Score, when Set 3 is 17-25?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Score, when Set 3 is 17-25?`:
```sql
                SELECT "score" FROM "results_pool_e" WHERE "set_3"='17-25';
```
## Task
Generate a SQL query to answer the following question:
`What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?`:
```sql
                SELECT "set_5" FROM "results_pool_e" WHERE "date"='jun 26' AND "set_2"='25-22';
```
## Task
Generate a SQL query to answer the following question:
`What is Set 1, when Set 3 is 22-25?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Set 1, when Set 3 is 22-25?`:
```sql
                SELECT "set_1" FROM "results_pool_e" WHERE "set_3"='22-25';
```
## Task
Generate a SQL query to answer the following question:
`What is Set 1, when Date is Jun 26, and when Set 4 is 26-24?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Set 1, when Date is Jun 26, and when Set 4 is 26-24?`:
```sql
                SELECT "set_1" FROM "results_pool_e" WHERE "date"='jun 26' AND "set_4"='26-24';
```
## Task
Generate a SQL query to answer the following question:
`What is Set 4, when Set 5 is NA, and when Set 3 is 19-25?`

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

CREATE TABLE "results_pool_e" (
  "date" text,
  "score" text,
  "set_1" text,
  "set_2" text,
  "set_3" text,
  "set_4" text,
  "set_5" text,
  "total" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Set 4, when Set 5 is NA, and when Set 3 is 19-25?`:
```sql
                SELECT "set_4" FROM "results_pool_e" WHERE "set_5"='na' AND "set_3"='19-25';
```
## Task
Generate a SQL query to answer the following question:
`What is the Team when the match was in buenos aires , argentina?`

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

CREATE TABLE "winners" (
  "year" real,
  "country" text,
  "team" text,
  "individual" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Team when the match was in buenos aires , argentina?`:
```sql
                SELECT "team" FROM "winners" WHERE "location"='buenos aires , argentina';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when the team was seve ballesteros & manuel piñero?`

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

CREATE TABLE "winners" (
  "year" real,
  "country" text,
  "team" text,
  "individual" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when the team was seve ballesteros & manuel piñero?`:
```sql
                SELECT "location" FROM "winners" WHERE "team"='seve ballesteros & manuel piñero';
```
## Task
Generate a SQL query to answer the following question:
`What is the Location when the individual was josé maria cañizares?`

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

CREATE TABLE "winners" (
  "year" real,
  "country" text,
  "team" text,
  "individual" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Location when the individual was josé maria cañizares?`:
```sql
                SELECT "location" FROM "winners" WHERE "individual"='josé maria cañizares';
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Year when the team was seve ballesteros & manuel piñero?`

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

CREATE TABLE "winners" (
  "year" real,
  "country" text,
  "team" text,
  "individual" text,
  "location" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Year when the team was seve ballesteros & manuel piñero?`:
```sql
                SELECT MAX("year") FROM "winners" WHERE "team"='seve ballesteros & manuel piñero';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of acres at Sai Tso Wan, opening before 1978?`

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

CREATE TABLE "closed_landfills" (
  "landfill" text,
  "location" text,
  "acres" real,
  "opened" real,
  "capacity" text,
  "status" text,
  "rehab_period" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of acres at Sai Tso Wan, opening before 1978?`:
```sql
                SELECT COUNT("acres") FROM "closed_landfills" WHERE "landfill"='sai tso wan' AND "opened"<1978;
```
## Task
Generate a SQL query to answer the following question:
`Which Rank has a Goals smaller than 76, and a Matches larger than 270?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Rank has a Goals smaller than 76, and a Matches larger than 270?`:
```sql
                SELECT SUM("rank") FROM "list_of_top_association_football_goal_sc" WHERE "goals"<76 AND "matches">270;
```
## Task
Generate a SQL query to answer the following question:
`Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?`:
```sql
                SELECT AVG("matches") FROM "list_of_top_association_football_goal_sc" WHERE "rank"<5 AND "years"='1995–2003' AND "goals"<104;
```
## Task
Generate a SQL query to answer the following question:
`Which Goals have a Name of lee dong-gook?`

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

CREATE TABLE "list_of_top_association_football_goal_sc" (
  "rank" real,
  "name" text,
  "years" text,
  "matches" real,
  "goals" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which Goals have a Name of lee dong-gook?`:
```sql
                SELECT MAX("goals") FROM "list_of_top_association_football_goal_sc" WHERE "name"='lee dong-gook';
```