cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`What is the round of 54 holes in which Phil Mickelson was the runner-up?`

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

CREATE TABLE "wins_14" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the round of 54 holes in which Phil Mickelson was the runner-up?`:
```sql
                SELECT "54_holes" FROM "wins_14" WHERE "runner_s_up"='phil mickelson';
```
## Task
Generate a SQL query to answer the following question:
`What is the championship when the margin was 2 strokes, there were 54 holes with a 1 shot lead, and the runner-up was David Duval?`

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

CREATE TABLE "wins_14" (
  "year" real,
  "championship" text,
  "54_holes" text,
  "winning_score" text,
  "margin" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the championship when the margin was 2 strokes, there were 54 holes with a 1 shot lead, and the runner-up was David Duval?`:
```sql
                SELECT "championship" FROM "wins_14" WHERE "margin"='2 strokes' AND "54_holes"='1 shot lead' AND "runner_s_up"='david duval';
```
## Task
Generate a SQL query to answer the following question:
`What is the home team of the April 14 game?`

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

CREATE TABLE "quarter_finals_1_vs_nashville_predators_" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the home team of the April 14 game?`:
```sql
                SELECT "home" FROM "quarter_finals_1_vs_nashville_predators_" WHERE "date"='april 14';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game with Detroit as the visitor team?`

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

CREATE TABLE "quarter_finals_1_vs_nashville_predators_" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "series" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game with Detroit as the visitor team?`:
```sql
                SELECT "date" FROM "quarter_finals_1_vs_nashville_predators_" WHERE "visitor"='detroit';
```
## Task
Generate a SQL query to answer the following question:
`How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?`

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

CREATE TABLE "u_s_nielsen_ratings" (
  "episode" text,
  "airdate" text,
  "rating" real,
  "share" real,
  "18_49_rating_share" text,
  "viewers_m" real,
  "rank_num" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?`:
```sql
                SELECT "viewers_m" FROM "u_s_nielsen_ratings" WHERE "share"=1 AND "rating">0.7000000000000001 AND "rank_num"='100/102';
```
## Task
Generate a SQL query to answer the following question:
`Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett`

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

CREATE TABLE "history_of_ggb_members" (
  "alto_1" text,
  "alto_2" text,
  "tenor" text,
  "lead_tpt" text,
  "tpt_2" text,
  "tpt_3" text,
  "mello" text,
  "lead_bone" text,
  "bass_bone" text,
  "bass" text,
  "drums" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffett`:
```sql
                SELECT "lead_tpt" FROM "history_of_ggb_members" WHERE "bass"='kevin tomanka' AND "alto_1"='alan moffett';
```
## Task
Generate a SQL query to answer the following question:
`What was the crowd size at the moorabbin oval venue?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the crowd size at the moorabbin oval venue?`:
```sql
                SELECT COUNT("crowd") FROM "round_13" WHERE "venue"='moorabbin oval';
```
## Task
Generate a SQL query to answer the following question:
`What was the home team score in the game where the away team scored 11.8 (74)?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home team score in the game where the away team scored 11.8 (74)?`:
```sql
                SELECT "home_team_score" FROM "round_13" WHERE "away_team_score"='11.8 (74)';
```
## Task
Generate a SQL query to answer the following question:
`What did the home team score against the away team collingwood?`

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

CREATE TABLE "round_13" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What did the home team score against the away team collingwood?`:
```sql
                SELECT "home_team_score" FROM "round_13" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`what is the 1-letter for the amino acid asparagine?`

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

CREATE TABLE "table_of_standard_amino_acid_abbreviatio" (
  "amino_acid" text,
  "3_letter" text,
  "1_letter" text,
  "side_chain_polarity" text,
  "side_chain_charge_p_h_7_4" text,
  "hydropathy_index" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the 1-letter for the amino acid asparagine?`:
```sql
                SELECT "1_letter" FROM "table_of_standard_amino_acid_abbreviatio" WHERE "amino_acid"='asparagine';
```
## Task
Generate a SQL query to answer the following question:
`what is the side-chain polarity for the amino acid with the 1-letter v?`

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

CREATE TABLE "table_of_standard_amino_acid_abbreviatio" (
  "amino_acid" text,
  "3_letter" text,
  "1_letter" text,
  "side_chain_polarity" text,
  "side_chain_charge_p_h_7_4" text,
  "hydropathy_index" text
);
### SQL
Given the database schema, here is the SQL query that answers `what is the side-chain polarity for the amino acid with the 1-letter v?`:
```sql
                SELECT "side_chain_polarity" FROM "table_of_standard_amino_acid_abbreviatio" WHERE "1_letter"='v';
```
## Task
Generate a SQL query to answer the following question:
`What is the side-chain charge (ph 7.4) for the amino acid with the 1-letter p?`

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

CREATE TABLE "table_of_standard_amino_acid_abbreviatio" (
  "amino_acid" text,
  "3_letter" text,
  "1_letter" text,
  "side_chain_polarity" text,
  "side_chain_charge_p_h_7_4" text,
  "hydropathy_index" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the side-chain charge (ph 7.4) for the amino acid with the 1-letter p?`:
```sql
                SELECT "side_chain_charge_p_h_7_4" FROM "table_of_standard_amino_acid_abbreviatio" WHERE "1_letter"='p';
```
## Task
Generate a SQL query to answer the following question:
`What was home team North Melbourne's opponents score?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was home team North Melbourne's opponents score?`:
```sql
                SELECT "away_team_score" FROM "round_9" WHERE "home_team"='north melbourne';
```
## Task
Generate a SQL query to answer the following question:
`What was Melbourne's score as the home team?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was Melbourne's score as the home team?`:
```sql
                SELECT "home_team_score" FROM "round_9" WHERE "home_team"='melbourne';
```
## Task
Generate a SQL query to answer the following question:
`Who was the away team at Junction Oval?`

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

CREATE TABLE "round_9" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the away team at Junction Oval?`:
```sql
                SELECT "away_team" FROM "round_9" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?`

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

CREATE TABLE "major_awards" (
  "year" real,
  "mrhma" text,
  "usca" text,
  "rthk" text,
  "joint_music_award" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the USCA that's Total is smaller than 14, with 1 Joint Music Award, MRHMA of 2, and RTHK of 3?`:
```sql
                SELECT "usca" FROM "major_awards" WHERE "total"<14 AND "joint_music_award"='1' AND "mrhma"='2' AND "rthk"='3';
```
## Task
Generate a SQL query to answer the following question:
`What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?`

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

CREATE TABLE "major_awards" (
  "year" real,
  "mrhma" text,
  "usca" text,
  "rthk" text,
  "joint_music_award" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?`:
```sql
                SELECT "total" FROM "major_awards" WHERE "joint_music_award"='1' AND "rthk"='4' AND "usca"='4';
```
## Task
Generate a SQL query to answer the following question:
`How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?`

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

CREATE TABLE "major_awards" (
  "year" real,
  "mrhma" text,
  "usca" text,
  "rthk" text,
  "joint_music_award" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?`:
```sql
                SELECT "joint_music_award" FROM "major_awards" WHERE "year"<2006 AND "rthk"='1';
```
## Task
Generate a SQL query to answer the following question:
`How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?`

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

CREATE TABLE "major_awards" (
  "year" real,
  "mrhma" text,
  "usca" text,
  "rthk" text,
  "joint_music_award" text,
  "total" real
);
### SQL
Given the database schema, here is the SQL query that answers `How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?`:
```sql
                SELECT "joint_music_award" FROM "major_awards" WHERE "total">18 AND "year">2007;
```
## Task
Generate a SQL query to answer the following question:
`Which lane did the athlete swim in who had a semi-final time of 49.19?`

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

CREATE TABLE "final_classification" (
  "athlete" text,
  "final" real,
  "lane" real,
  "semi" real,
  "quart" real,
  "heat" real
);
### SQL
Given the database schema, here is the SQL query that answers `Which lane did the athlete swim in who had a semi-final time of 49.19?`:
```sql
                SELECT MIN("lane") FROM "final_classification" WHERE "semi"=49.19;
```
## Task
Generate a SQL query to answer the following question:
`Which species is male?`

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

CREATE TABLE "original_farthing_wood_animals" (
  "animal_name" text,
  "species" text,
  "books" text,
  "tv_series" text,
  "gender" text,
  "tv_seasons" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which species is male?`:
```sql
                SELECT "species" FROM "original_farthing_wood_animals" WHERE "gender"='male';
```
## Task
Generate a SQL query to answer the following question:
`What was the home teams score at Junction Oval?`

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

CREATE TABLE "round_1" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the home teams score at Junction Oval?`:
```sql
                SELECT "home_team_score" FROM "round_1" WHERE "venue"='junction oval';
```
## Task
Generate a SQL query to answer the following question:
`What President has a Presidency greater than 7?`

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

CREATE TABLE "list_of_presidents" (
  "presidency" real,
  "president" text,
  "date_of_birth" text,
  "took_office" real,
  "left_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What President has a Presidency greater than 7?`:
```sql
                SELECT "president" FROM "list_of_presidents" WHERE "presidency">7;
```
## Task
Generate a SQL query to answer the following question:
`What is the highest Presidency that Took Office after 1974 and Left Office in 1998?`

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

CREATE TABLE "list_of_presidents" (
  "presidency" real,
  "president" text,
  "date_of_birth" text,
  "took_office" real,
  "left_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the highest Presidency that Took Office after 1974 and Left Office in 1998?`:
```sql
                SELECT MAX("presidency") FROM "list_of_presidents" WHERE "left_office"='1998' AND "took_office">1974;
```
## Task
Generate a SQL query to answer the following question:
`What is the Took Office Date of the Presidency that Left Office Incumbent?`

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

CREATE TABLE "list_of_presidents" (
  "presidency" real,
  "president" text,
  "date_of_birth" text,
  "took_office" real,
  "left_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Took Office Date of the Presidency that Left Office Incumbent?`:
```sql
                SELECT SUM("took_office") FROM "list_of_presidents" WHERE "left_office"='incumbent';
```
## Task
Generate a SQL query to answer the following question:
`What was the greatest Took Office dates that Left Office in 1998?`

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

CREATE TABLE "list_of_presidents" (
  "presidency" real,
  "president" text,
  "date_of_birth" text,
  "took_office" real,
  "left_office" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the greatest Took Office dates that Left Office in 1998?`:
```sql
                SELECT MAX("took_office") FROM "list_of_presidents" WHERE "left_office"='1998';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Laps for andrea de cesaris?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Laps for andrea de cesaris?`:
```sql
                SELECT AVG("laps") FROM "race" WHERE "driver"='andrea de cesaris';
```
## Task
Generate a SQL query to answer the following question:
`What is the lowest Grid for jj lehto with over 51 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the lowest Grid for jj lehto with over 51 laps?`:
```sql
                SELECT MIN("grid") FROM "race" WHERE "laps">51 AND "driver"='jj lehto';
```
## Task
Generate a SQL query to answer the following question:
`What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?`

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

CREATE TABLE "race" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?`:
```sql
                SELECT AVG("grid") FROM "race" WHERE "time_retired"='+2 laps' AND "laps"<51;
```
## Task
Generate a SQL query to answer the following question:
`What's the Home teams Venue near Victoria Park?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What's the Home teams Venue near Victoria Park?`:
```sql
                SELECT "home_team" FROM "round_18" WHERE "venue"='victoria park';
```
## Task
Generate a SQL query to answer the following question:
`What is the Home team with a crowd relevant to footscray?`

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

CREATE TABLE "round_18" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the Home team with a crowd relevant to footscray?`:
```sql
                SELECT "crowd" FROM "round_18" WHERE "home_team"='footscray';
```
## Task
Generate a SQL query to answer the following question:
`What is the team's record when they play nashville at home?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team's record when they play nashville at home?`:
```sql
                SELECT "record" FROM "december" WHERE "home"='nashville';
```
## Task
Generate a SQL query to answer the following question:
`What is the decision when they're at phoenix?`

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

CREATE TABLE "december" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the decision when they're at phoenix?`:
```sql
                SELECT "decision" FROM "december" WHERE "visitor"='phoenix';
```
## Task
Generate a SQL query to answer the following question:
`What was the score in the Tournament of Frankfurt?`

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

CREATE TABLE "2006" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the score in the Tournament of Frankfurt?`:
```sql
                SELECT "score" FROM "2006" WHERE "tournament"='frankfurt';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner in the Tournament of Graz-Seiersberg?`

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

CREATE TABLE "2006" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner in the Tournament of Graz-Seiersberg?`:
```sql
                SELECT "winner" FROM "2006" WHERE "tournament"='graz-seiersberg';
```
## Task
Generate a SQL query to answer the following question:
`Who earned third place when the winner was Paul Haarhuis?`

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

CREATE TABLE "2006" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who earned third place when the winner was Paul Haarhuis?`:
```sql
                SELECT "third_place" FROM "2006" WHERE "winner"='paul haarhuis';
```
## Task
Generate a SQL query to answer the following question:
`what is the most laps with the time/retired is differential and the grid is more than 2?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the most laps with the time/retired is differential and the grid is more than 2?`:
```sql
                SELECT MAX("laps") FROM "classification" WHERE "time_retired"='differential' AND "grid">2;
```
## Task
Generate a SQL query to answer the following question:
`what is the least laps when the grid is 5?`

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

CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);
### SQL
Given the database schema, here is the SQL query that answers `what is the least laps when the grid is 5?`:
```sql
                SELECT MIN("laps") FROM "classification" WHERE "grid"=5;
```
## Task
Generate a SQL query to answer the following question:
`On what date was Anniston Army Depot (SE Industrial Area) deleted?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Anniston Army Depot (SE Industrial Area) deleted?`:
```sql
                SELECT "deleted" FROM "superfund_sites" WHERE "name"='anniston army depot (se industrial area)';
```
## Task
Generate a SQL query to answer the following question:
`In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?`:
```sql
                SELECT "county" FROM "superfund_sites" WHERE "listed"='09/21/1984' AND "construction_completed"='07/19/2000';
```
## Task
Generate a SQL query to answer the following question:
`On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?`:
```sql
                SELECT "deleted" FROM "superfund_sites" WHERE "listed"='09/21/1984' AND "name"='stauffer chemical company (lemoyne plant)';
```
## Task
Generate a SQL query to answer the following question:
`What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?`

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

CREATE TABLE "superfund_sites" (
  "cerclis_id" text,
  "name" text,
  "county" text,
  "proposed" text,
  "listed" text,
  "construction_completed" text,
  "partially_deleted" text,
  "deleted" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the Proposed date of the entry that has a CERCLIS ID of al0001058056?`:
```sql
                SELECT "proposed" FROM "superfund_sites" WHERE "cerclis_id"='al0001058056';
```
## Task
Generate a SQL query to answer the following question:
`What first appeared in 1966 in the comic X-2-Y?`

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

CREATE TABLE "x" (
  "name" text,
  "original_publisher" text,
  "first_appearance" text,
  "year" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What first appeared in 1966 in the comic X-2-Y?`:
```sql
                SELECT "first_appearance" FROM "x" WHERE "year"=1966 AND "name"='x-2-y';
```
## Task
Generate a SQL query to answer the following question:
`Which baseball team is class AAA?`

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

CREATE TABLE "former_current_professional_teams" (
  "team" text,
  "sport" text,
  "league" text,
  "played" text,
  "class" text,
  "championships" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which baseball team is class AAA?`:
```sql
                SELECT "team" FROM "former_current_professional_teams" WHERE "sport"='baseball' AND "class"='aaa';
```
## Task
Generate a SQL query to answer the following question:
`Where does Collingwood play their games?`

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

CREATE TABLE "round_3" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Where does Collingwood play their games?`:
```sql
                SELECT "venue" FROM "round_3" WHERE "away_team"='collingwood';
```
## Task
Generate a SQL query to answer the following question:
`Which position does Robert Nkemdiche play?`

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

CREATE TABLE "2012_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position does Robert Nkemdiche play?`:
```sql
                SELECT "position" FROM "2012_team" WHERE "player"='robert nkemdiche';
```
## Task
Generate a SQL query to answer the following question:
`What is Reuben Foster's college?`

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

CREATE TABLE "2012_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is Reuben Foster's college?`:
```sql
                SELECT "college" FROM "2012_team" WHERE "player"='reuben foster';
```
## Task
Generate a SQL query to answer the following question:
`Which position does the player from Muscle Shoals, Alabama play?`

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

CREATE TABLE "2012_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which position does the player from Muscle Shoals, Alabama play?`:
```sql
                SELECT "position" FROM "2012_team" WHERE "hometown"='muscle shoals, alabama';
```
## Task
Generate a SQL query to answer the following question:
`Which player is attending college at Virginia?`

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

CREATE TABLE "2012_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player is attending college at Virginia?`:
```sql
                SELECT "player" FROM "2012_team" WHERE "college"='virginia';
```
## Task
Generate a SQL query to answer the following question:
`Which player attended Hoover High School?`

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

CREATE TABLE "2012_team" (
  "player" text,
  "position" text,
  "school" text,
  "hometown" text,
  "college" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which player attended Hoover High School?`:
```sql
                SELECT "player" FROM "2012_team" WHERE "school"='hoover high school';
```
## Task
Generate a SQL query to answer the following question:
`What is the team's record on may 12 when they play the giants?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the team's record on may 12 when they play the giants?`:
```sql
                SELECT "record" FROM "game_log" WHERE "opponent"='giants' AND "date"='may 12';
```
## Task
Generate a SQL query to answer the following question:
`What is the attendance at the game where San Jose was the visitor on May 4?`

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

CREATE TABLE "western_conference_semi_finals" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the attendance at the game where San Jose was the visitor on May 4?`:
```sql
                SELECT "attendance" FROM "western_conference_semi_finals" WHERE "visitor"='san jose' AND "date"='may 4';
```
## Task
Generate a SQL query to answer the following question:
`Who was the home team on the May 2 game?`

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

CREATE TABLE "western_conference_semi_finals" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the home team on the May 2 game?`:
```sql
                SELECT "home" FROM "western_conference_semi_finals" WHERE "date"='may 2';
```
## Task
Generate a SQL query to answer the following question:
`What is the decision of the game with more than 17,496 attendance on April 30?`

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

CREATE TABLE "western_conference_semi_finals" (
  "date" text,
  "visitor" text,
  "score" text,
  "home" text,
  "decision" text,
  "attendance" real
);
### SQL
Given the database schema, here is the SQL query that answers `What is the decision of the game with more than 17,496 attendance on April 30?`:
```sql
                SELECT "decision" FROM "western_conference_semi_finals" WHERE "attendance">'17,496' AND "date"='april 30';
```
## Task
Generate a SQL query to answer the following question:
`What date is the crowd larger than 20,000?`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date is the crowd larger than 20,000?`:
```sql
                SELECT "date" FROM "round_4" WHERE "crowd">'20,000';
```
## Task
Generate a SQL query to answer the following question:
`Which away team has a score of more that 11.13 (79)`

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

CREATE TABLE "round_4" (
  "home_team" text,
  "home_team_score" text,
  "away_team" text,
  "away_team_score" text,
  "venue" text,
  "crowd" real,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which away team has a score of more that 11.13 (79)`:
```sql
                SELECT "away_team" FROM "round_4" WHERE "away_team_score"='11.13 (79)';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the score was 11-10?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the score was 11-10?`:
```sql
                SELECT "record" FROM "game_log" WHERE "score"='11-10';
```
## Task
Generate a SQL query to answer the following question:
`What was the record when the attendance was 22,713?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the record when the attendance was 22,713?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance"='22,713';
```
## Task
Generate a SQL query to answer the following question:
`What was the attendance at the game when the record was 49-61?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the attendance at the game when the record was 49-61?`:
```sql
                SELECT "attendance" FROM "game_log" WHERE "record"='49-61';
```
## Task
Generate a SQL query to answer the following question:
`On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639?`:
```sql
                SELECT "date" FROM "game_log" WHERE "opponent"='detroit tigers' AND "attendance"='38,639';
```
## Task
Generate a SQL query to answer the following question:
`What is the free sotware with the latest stable date version of 1.1?`

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

CREATE TABLE "general" (
  "software" text,
  "latest_stable_date_version" text,
  "cost_usd" text,
  "open_source" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the free sotware with the latest stable date version of 1.1?`:
```sql
                SELECT "software" FROM "general" WHERE "cost_usd"='free' AND "latest_stable_date_version"='1.1';
```
## Task
Generate a SQL query to answer the following question:
`Name the software with the latest stable date of 0.6.1`

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

CREATE TABLE "general" (
  "software" text,
  "latest_stable_date_version" text,
  "cost_usd" text,
  "open_source" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the software with the latest stable date of 0.6.1`:
```sql
                SELECT "software" FROM "general" WHERE "latest_stable_date_version"='0.6.1';
```
## Task
Generate a SQL query to answer the following question:
`Name the cost for latest stable date of online`

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

CREATE TABLE "general" (
  "software" text,
  "latest_stable_date_version" text,
  "cost_usd" text,
  "open_source" text,
  "license" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the cost for latest stable date of online`:
```sql
                SELECT "cost_usd" FROM "general" WHERE "latest_stable_date_version"='online';
```
## Task
Generate a SQL query to answer the following question:
`What is the birth place of the prime minister who served George V and entered office on 23 October 1922?`

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

CREATE TABLE "prime_ministers" (
  "name" text,
  "entered_office" text,
  "left_office" text,
  "political_party" text,
  "monarchs_served" text,
  "birth_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the birth place of the prime minister who served George V and entered office on 23 October 1922?`:
```sql
                SELECT "birth_place" FROM "prime_ministers" WHERE "monarchs_served"='george v' AND "entered_office"='23 october 1922';
```
## Task
Generate a SQL query to answer the following question:
`To which political party did the prime minister who served under George V and was born in Manchester belong?`

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

CREATE TABLE "prime_ministers" (
  "name" text,
  "entered_office" text,
  "left_office" text,
  "political_party" text,
  "monarchs_served" text,
  "birth_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `To which political party did the prime minister who served under George V and was born in Manchester belong?`:
```sql
                SELECT "political_party" FROM "prime_ministers" WHERE "monarchs_served"='george v' AND "birth_place"='manchester';
```
## Task
Generate a SQL query to answer the following question:
`What date did the prime minister who entered office on 7 December 1916 leave office?`

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

CREATE TABLE "prime_ministers" (
  "name" text,
  "entered_office" text,
  "left_office" text,
  "political_party" text,
  "monarchs_served" text,
  "birth_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What date did the prime minister who entered office on 7 December 1916 leave office?`:
```sql
                SELECT "left_office" FROM "prime_ministers" WHERE "entered_office"='7 december 1916';
```
## Task
Generate a SQL query to answer the following question:
`What monarch(s) did Stanley Baldwin (1st ministry) serve?`

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

CREATE TABLE "prime_ministers" (
  "name" text,
  "entered_office" text,
  "left_office" text,
  "political_party" text,
  "monarchs_served" text,
  "birth_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `What monarch(s) did Stanley Baldwin (1st ministry) serve?`:
```sql
                SELECT "monarchs_served" FROM "prime_ministers" WHERE "name"='stanley baldwin (1st ministry)';
```
## Task
Generate a SQL query to answer the following question:
`What is the date of the game played at rich stadium?`

### 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,
  "game_site" text,
  "attendance" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the date of the game played at rich stadium?`:
```sql
                SELECT "date" FROM "schedule" WHERE "game_site"='rich stadium';
```
## Task
Generate a SQL query to answer the following question:
`What college has Chito Victolero?`

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

CREATE TABLE "round_2" (
  "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 college has Chito Victolero?`:
```sql
                SELECT "college" FROM "round_2" WHERE "player"='chito victolero';
```
## Task
Generate a SQL query to answer the following question:
`What college has Jojo Manalo?`

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

CREATE TABLE "round_2" (
  "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 college has Jojo Manalo?`:
```sql
                SELECT "college" FROM "round_2" WHERE "player"='jojo manalo';
```
## Task
Generate a SQL query to answer the following question:
`What is the pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team?`

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

CREATE TABLE "round_2" (
  "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 pick number for the College of Perpetual help with the Coca-Cola Tigers as a PBA team?`:
```sql
                SELECT COUNT("pick") FROM "round_2" WHERE "college"='perpetual help' AND "pba_team"='coca-cola tigers';
```
## Task
Generate a SQL query to answer the following question:
`What is the score of the game on May 5?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the score of the game on May 5?`:
```sql
                SELECT "score" FROM "game_log" WHERE "date"='may 5';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of the game with 18,084 in attendance?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of the game with 18,084 in attendance?`:
```sql
                SELECT "record" FROM "game_log" WHERE "attendance"='18,084';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of the game on May 30?`

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

CREATE TABLE "game_log" (
  "date" text,
  "opponent" text,
  "score" text,
  "loss" text,
  "attendance" text,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of the game on May 30?`:
```sql
                SELECT "record" FROM "game_log" WHERE "date"='may 30';
```
## Task
Generate a SQL query to answer the following question:
`Who won third place in the Zurich Tournament?`

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

CREATE TABLE "2012" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who won third place in the Zurich Tournament?`:
```sql
                SELECT "third_place" FROM "2012" WHERE "tournament"='zurich';
```
## Task
Generate a SQL query to answer the following question:
`Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?`

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

CREATE TABLE "2012" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?`:
```sql
                SELECT "winner" FROM "2012" WHERE "score"='7–6 (7–3) , 2–6, [10–6]';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament did Thomas Enqvist win?`

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

CREATE TABLE "2012" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament did Thomas Enqvist win?`:
```sql
                SELECT "tournament" FROM "2012" WHERE "winner"='thomas enqvist';
```
## Task
Generate a SQL query to answer the following question:
`Which tournament was Tim Henman the runner-up in?`

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

CREATE TABLE "2012" (
  "tournament" text,
  "winner" text,
  "runner_up" text,
  "score" text,
  "third_place" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which tournament was Tim Henman the runner-up in?`:
```sql
                SELECT "tournament" FROM "2012" WHERE "runner_up"='tim henman';
```
## Task
Generate a SQL query to answer the following question:
`What is the venue where 153 runs were scored?`

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

CREATE TABLE "highest_partnerships_of_the_tournament" (
  "runs" text,
  "wicket" text,
  "partnerships" text,
  "versus" text,
  "venue" text,
  "date" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the venue where 153 runs were scored?`:
```sql
                SELECT "venue" FROM "highest_partnerships_of_the_tournament" WHERE "runs"='153';
```