cfahlgren1/wiki_sql_pg_converted huggingface dataset:
## Task
Generate a SQL query to answer the following question:
`Which line offers Fast to Norwood Junction?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which line offers Fast to Norwood Junction?`:
```sql
                SELECT "line" FROM "services" WHERE "service_pattern"='Fast to Norwood Junction';
```
## Task
Generate a SQL query to answer the following question:
`Who is the operator to Highbury & Islington?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the operator to Highbury & Islington?`:
```sql
                SELECT "operator" FROM "services" WHERE "destination"='Highbury & Islington';
```
## Task
Generate a SQL query to answer the following question:
`How many frequency figures are given for next station service pattern?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many frequency figures are given for next station service pattern?`:
```sql
                SELECT COUNT("frequency_per_hour") FROM "services" WHERE "service_pattern"='Next station';
```
## Task
Generate a SQL query to answer the following question:
`Who is the operator to destination Dalston Junction?`

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

CREATE TABLE "services" (
  "platform" real,
  "frequency_per_hour" real,
  "destination" text,
  "service_pattern" text,
  "operator" text,
  "line" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the operator to destination Dalston Junction?`:
```sql
                SELECT "operator" FROM "services" WHERE "destination"='Dalston Junction';
```
## Task
Generate a SQL query to answer the following question:
`How many tournament wins were at Volvo Masters Andalucia?`

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

CREATE TABLE "table1_1615980_4" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many tournament wins were at Volvo Masters Andalucia?`:
```sql
                SELECT COUNT("no") FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
```
## Task
Generate a SQL query to answer the following question:
`Who was the runner up at the Volvo Masters Andalucia?`

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

CREATE TABLE "table1_1615980_4" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who was the runner up at the Volvo Masters Andalucia?`:
```sql
                SELECT "runner_s_up" FROM "table1_1615980_4" WHERE "tournament"='Volvo Masters Andalucia';
```
## Task
Generate a SQL query to answer the following question:
`In what tournament was the winning score 68-67-65-66=266?`

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

CREATE TABLE "table1_1615980_4" (
  "no" real,
  "date" text,
  "tournament" text,
  "winning_score" text,
  "to_par" text,
  "margin_of_victory" text,
  "runner_s_up" text
);
### SQL
Given the database schema, here is the SQL query that answers `In what tournament was the winning score 68-67-65-66=266?`:
```sql
                SELECT "tournament" FROM "table1_1615980_4" WHERE "winning_score"='68-67-65-66=266';
```
## Task
Generate a SQL query to answer the following question:
`Name the joined for blue hose`

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

CREATE TABLE "former_conference_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the joined for blue hose`:
```sql
                SELECT "joined" FROM "former_conference_members" WHERE "nickname"='Blue Hose';
```
## Task
Generate a SQL query to answer the following question:
`Name the maximum founded for blue hose`

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

CREATE TABLE "former_conference_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the maximum founded for blue hose`:
```sql
                SELECT MAX("founded") FROM "former_conference_members" WHERE "nickname"='Blue Hose';
```
## Task
Generate a SQL query to answer the following question:
`Name the maximum enrollment for st. andrews university`

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

CREATE TABLE "former_conference_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the maximum enrollment for st. andrews university`:
```sql
                SELECT MAX("enrollment") FROM "former_conference_members" WHERE "institution"='St. Andrews University';
```
## Task
Generate a SQL query to answer the following question:
`Name the current conference for 1974, 1989`

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

CREATE TABLE "former_conference_members" (
  "institution" text,
  "location" text,
  "founded" real,
  "type" text,
  "enrollment" real,
  "nickname" text,
  "joined" text,
  "left" text,
  "current_conference" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the current conference for 1974, 1989`:
```sql
                SELECT "current_conference" FROM "former_conference_members" WHERE "left"='1974, 1989';
```
## Task
Generate a SQL query to answer the following question:
`What is the total number of episodes where alexa wyatt is the writer?`

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

CREATE TABLE "table1_16175064_3" (
  "season_num" real,
  "series_num" real,
  "title" text,
  "director_s" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the total number of episodes where alexa wyatt is the writer?`:
```sql
                SELECT COUNT("series_num") FROM "table1_16175064_3" WHERE "writer_s"='Alexa Wyatt';
```
## Task
Generate a SQL query to answer the following question:
`Who is the director when Chris Hawkshaw is the writer?`

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

CREATE TABLE "table1_16175064_3" (
  "season_num" real,
  "series_num" real,
  "title" text,
  "director_s" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who is the director when Chris Hawkshaw is the writer?`:
```sql
                SELECT "director_s" FROM "table1_16175064_3" WHERE "writer_s"='Chris Hawkshaw';
```
## Task
Generate a SQL query to answer the following question:
`What is the season number of the episode directed by Donald Crombie and the series number is 40?`

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

CREATE TABLE "table1_16175064_3" (
  "season_num" real,
  "series_num" real,
  "title" text,
  "director_s" text,
  "writer_s" text,
  "original_airdate" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the season number of the episode directed by Donald Crombie and the series number is 40?`:
```sql
                SELECT "season_num" FROM "table1_16175064_3" WHERE "director_s"='Donald Crombie' AND "series_num"=40;
```
## Task
Generate a SQL query to answer the following question:
`What is the released date for Super Mario 64 DS?`

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

CREATE TABLE "i_que_ds" (
  "western_title" text,
  "chinese_title" text,
  "pinyin" text,
  "released_date" text,
  "genre" text,
  "game_modes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the released date for Super Mario 64 DS?`:
```sql
                SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Super Mario 64 DS';
```
## Task
Generate a SQL query to answer the following question:
`What are the game modes for the game released in 2007?`

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

CREATE TABLE "i_que_ds" (
  "western_title" text,
  "chinese_title" text,
  "pinyin" text,
  "released_date" text,
  "genre" text,
  "game_modes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the game modes for the game released in 2007?`:
```sql
                SELECT "game_modes" FROM "i_que_ds" WHERE "released_date"='2007';
```
## Task
Generate a SQL query to answer the following question:
`How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?`

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

CREATE TABLE "i_que_ds" (
  "western_title" text,
  "chinese_title" text,
  "pinyin" text,
  "released_date" text,
  "genre" text,
  "game_modes" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many games share their western title with the Chinese title of 摸摸耀西-云中漫步 ?`:
```sql
                SELECT COUNT("western_title") FROM "i_que_ds" WHERE "chinese_title"='摸摸耀西-云中漫步';
```
## Task
Generate a SQL query to answer the following question:
`What was the released date of Polarium?`

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

CREATE TABLE "i_que_ds" (
  "western_title" text,
  "chinese_title" text,
  "pinyin" text,
  "released_date" text,
  "genre" text,
  "game_modes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the released date of Polarium?`:
```sql
                SELECT "released_date" FROM "i_que_ds" WHERE "western_title"='Polarium';
```
## Task
Generate a SQL query to answer the following question:
`What game modes are there when the pinyin is zhígǎn yī bǐ ?`

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

CREATE TABLE "i_que_ds" (
  "western_title" text,
  "chinese_title" text,
  "pinyin" text,
  "released_date" text,
  "genre" text,
  "game_modes" text
);
### SQL
Given the database schema, here is the SQL query that answers `What game modes are there when the pinyin is zhígǎn yī bǐ ?`:
```sql
                SELECT "game_modes" FROM "i_que_ds" WHERE "pinyin"='Zhígǎn Yī Bǐ';
```
## Task
Generate a SQL query to answer the following question:
`What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?`:
```sql
                SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='6 children' AND "allowed_recipients"='no data';
```
## Task
Generate a SQL query to answer the following question:
`What are donor payments in the country where there are 12 children to 6 families (2 per family)?`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are donor payments in the country where there are 12 children to 6 families (2 per family)?`:
```sql
                SELECT "donor_payment" FROM "table1_16175217_1" WHERE "children_per_donor"='12 children to 6 families (2 per family)';
```
## Task
Generate a SQL query to answer the following question:
`What is the donor payment in Belgium?`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the donor payment in Belgium?`:
```sql
                SELECT "donor_payment" FROM "table1_16175217_1" WHERE "country"='Belgium';
```
## Task
Generate a SQL query to answer the following question:
`What is the country where there are 8 children per donor and no data for donor payments?`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the country where there are 8 children per donor and no data for donor payments?`:
```sql
                SELECT "country" FROM "table1_16175217_1" WHERE "children_per_donor"='8 children' AND "donor_payment"='no data';
```
## Task
Generate a SQL query to answer the following question:
`What are the children per donor in the country where the allowed recipients are married or in cohabitation?`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the children per donor in the country where the allowed recipients are married or in cohabitation?`:
```sql
                SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='Married or in cohabitation';
```
## Task
Generate a SQL query to answer the following question:
`List the possible children per donor levels for countries where the allowed recipients is no data.`

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

CREATE TABLE "table1_16175217_1" (
  "country" text,
  "donor_payment" text,
  "children_per_donor" text,
  "donor_anonymity" text,
  "allowed_recipients" text
);
### SQL
Given the database schema, here is the SQL query that answers `List the possible children per donor levels for countries where the allowed recipients is no data.`:
```sql
                SELECT "children_per_donor" FROM "table1_16175217_1" WHERE "allowed_recipients"='no data';
```
## Task
Generate a SQL query to answer the following question:
`Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?`:
```sql
                SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_neutral_site"='MU, 2-1';
```
## Task
Generate a SQL query to answer the following question:
`Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How`:
```sql
                SELECT "missouri_vs" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "at_opponents_venue"='UI, 4-1';
```
## Task
Generate a SQL query to answer the following question:
`How many times did the team achieve an overrall record of mu, 21-19?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many times did the team achieve an overrall record of mu, 21-19?`:
```sql
                SELECT COUNT("last_5_meetings") FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='MU, 21-19';
```
## Task
Generate a SQL query to answer the following question:
`What is the record at the neutral site for when the overall record is ui, 27-16?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record at the neutral site for when the overall record is ui, 27-16?`:
```sql
                SELECT "at_neutral_site" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "overall_record"='UI, 27-16';
```
## Task
Generate a SQL query to answer the following question:
`What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?`

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

CREATE TABLE "record_vs_other_opponents_at_least_15_ga" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record at the opponent's venue against the team for which the record for the last 5 meetings is mu, 4-1 and the record at the neutral site is tied, 0-0?`:
```sql
                SELECT "at_opponents_venue" FROM "record_vs_other_opponents_at_least_15_ga" WHERE "last_5_meetings"='MU, 4-1' AND "at_neutral_site"='Tied, 0-0';
```
## Task
Generate a SQL query to answer the following question:
`What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?`

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

CREATE TABLE "revenues_from_stamp_duties" (
  "year" text,
  "stamp_duty_reserve_tax" text,
  "standard_stamp_duty" text,
  "standard_duties_total_revenue_in_million" real,
  "over_total_tax_revenue_in_pct" text,
  "over_gdp_in_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the stamp duty reserve tax when the percentage over total tax revenue is 0.79?`:
```sql
                SELECT "stamp_duty_reserve_tax" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.79';
```
## Task
Generate a SQL query to answer the following question:
`When the standard stamp duty is 367 what is the percentage over gdp?`

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

CREATE TABLE "revenues_from_stamp_duties" (
  "year" text,
  "stamp_duty_reserve_tax" text,
  "standard_stamp_duty" text,
  "standard_duties_total_revenue_in_million" real,
  "over_total_tax_revenue_in_pct" text,
  "over_gdp_in_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the standard stamp duty is 367 what is the percentage over gdp?`:
```sql
                SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "standard_stamp_duty"='367';
```
## Task
Generate a SQL query to answer the following question:
`When the stamp duty reserve tax is 3,669 what is the percentage over gdp?`

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

CREATE TABLE "revenues_from_stamp_duties" (
  "year" text,
  "stamp_duty_reserve_tax" text,
  "standard_stamp_duty" text,
  "standard_duties_total_revenue_in_million" real,
  "over_total_tax_revenue_in_pct" text,
  "over_gdp_in_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the stamp duty reserve tax is 3,669 what is the percentage over gdp?`:
```sql
                SELECT "over_gdp_in_pct" FROM "revenues_from_stamp_duties" WHERE "stamp_duty_reserve_tax"='3,669';
```
## Task
Generate a SQL query to answer the following question:
`During what years are the percentage over total tax revenue is 0.65?`

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

CREATE TABLE "revenues_from_stamp_duties" (
  "year" text,
  "stamp_duty_reserve_tax" text,
  "standard_stamp_duty" text,
  "standard_duties_total_revenue_in_million" real,
  "over_total_tax_revenue_in_pct" text,
  "over_gdp_in_pct" text
);
### SQL
Given the database schema, here is the SQL query that answers `During what years are the percentage over total tax revenue is 0.65?`:
```sql
                SELECT "year" FROM "revenues_from_stamp_duties" WHERE "over_total_tax_revenue_in_pct"='0.65';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of opponets venue for oklahoma`

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

CREATE TABLE "record_vs_big_12_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "during_time_in_big_12" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of opponets venue for oklahoma`:
```sql
                SELECT COUNT("at_opponents_venue") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Oklahoma';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of last 5 meetings for texas tech`

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

CREATE TABLE "record_vs_big_12_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "during_time_in_big_12" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of last 5 meetings for texas tech`:
```sql
                SELECT COUNT("last_5_meetings") FROM "record_vs_big_12_opponents" WHERE "missouri_vs"='Texas Tech';
```
## Task
Generate a SQL query to answer the following question:
`Name the total number of series sorted for when released is april 2010`

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

CREATE TABLE "series_1" (
  "num" real,
  "series_sorted" text,
  "title" text,
  "author" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the total number of series sorted for when released is april 2010`:
```sql
                SELECT COUNT("series_sorted") FROM "series_1" WHERE "released"='April 2010';
```
## Task
Generate a SQL query to answer the following question:
`Name the author for 6y/ae`

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

CREATE TABLE "series_1" (
  "num" real,
  "series_sorted" text,
  "title" text,
  "author" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the author for 6y/ae`:
```sql
                SELECT "author" FROM "series_1" WHERE "series_sorted"='6Y/AE';
```
## Task
Generate a SQL query to answer the following question:
`Name the author for peri and april 2010`

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

CREATE TABLE "series_1" (
  "num" real,
  "series_sorted" text,
  "title" text,
  "author" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the author for peri and april 2010`:
```sql
                SELECT "author" FROM "series_1" WHERE "featuring"='Peri' AND "released"='April 2010';
```
## Task
Generate a SQL query to answer the following question:
`Name the released for pat mills`

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

CREATE TABLE "series_1" (
  "num" real,
  "series_sorted" text,
  "title" text,
  "author" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the released for pat mills`:
```sql
                SELECT "released" FROM "series_1" WHERE "author"='Pat Mills';
```
## Task
Generate a SQL query to answer the following question:
`Name the featuring for pat mills`

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

CREATE TABLE "series_1" (
  "num" real,
  "series_sorted" text,
  "title" text,
  "author" text,
  "doctor" text,
  "featuring" text,
  "released" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the featuring for pat mills`:
```sql
                SELECT "featuring" FROM "series_1" WHERE "author"='Pat Mills';
```
## Task
Generate a SQL query to answer the following question:
`What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `What are the outcomes of the last 5 meetings where the overall record is UM, 2-1?`:
```sql
                SELECT "last_5_meetings" FROM "record_vs_sec_opponents" WHERE "overall_record"='UM, 2-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the record of wins/losses that were played at opponents venue (uf, 1-0)`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record of wins/losses that were played at opponents venue (uf, 1-0)`:
```sql
                SELECT "overall_record" FROM "record_vs_sec_opponents" WHERE "at_opponents_venue"='UF, 1-0';
```
## Task
Generate a SQL query to answer the following question:
`Who are the opponents of Missouri that have an overall record of MU, 3-1?`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `Who are the opponents of Missouri that have an overall record of MU, 3-1?`:
```sql
                SELECT "missouri_vs" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
```
## Task
Generate a SQL query to answer the following question:
`What is the record at Columbia for the team overall record of MU, 3-1?`

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

CREATE TABLE "record_vs_sec_opponents" (
  "missouri_vs" text,
  "overall_record" text,
  "at_columbia" text,
  "at_opponents_venue" text,
  "at_neutral_site" text,
  "last_5_meetings" text,
  "last_10_meetings" text,
  "current_streak" text,
  "since_joining_sec" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the record at Columbia for the team overall record of MU, 3-1?`:
```sql
                SELECT "at_columbia" FROM "record_vs_sec_opponents" WHERE "overall_record"='MU, 3-1';
```
## Task
Generate a SQL query to answer the following question:
`How many feet in length are there when the length is 106.1 meters? `

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many feet in length are there when the length is 106.1 meters? `:
```sql
                SELECT COUNT("length_feet") FROM "tunnels" WHERE "length_meters"='106.1';
```
## Task
Generate a SQL query to answer the following question:
`When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? `

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the kilometers from kingston is 105.4 what is the minimum amount of length in feet? `:
```sql
                SELECT MIN("length_feet") FROM "tunnels" WHERE "km_from_kingston"='105.4';
```
## Task
Generate a SQL query to answer the following question:
`Which parishes have a railroad length of 51.8 meters? `

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which parishes have a railroad length of 51.8 meters? `:
```sql
                SELECT "parish" FROM "tunnels" WHERE "length_meters"='51.8';
```
## Task
Generate a SQL query to answer the following question:
`When the railroad length is 362 feet how many miles is it from kingston? `

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `When the railroad length is 362 feet how many miles is it from kingston? `:
```sql
                SELECT "mi_from_kingston" FROM "tunnels" WHERE "length_feet"=362;
```
## Task
Generate a SQL query to answer the following question:
`Which parishes have the highworth railroad?`

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which parishes have the highworth railroad?`:
```sql
                SELECT "parish" FROM "tunnels" WHERE "name"='Highworth';
```
## Task
Generate a SQL query to answer the following question:
`Which railroad is 112.6 kilometers from kingston? `

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

CREATE TABLE "tunnels" (
  "no" real,
  "name" text,
  "mi_from_kingston" text,
  "km_from_kingston" text,
  "parish" text,
  "length_feet" real,
  "length_meters" text
);
### SQL
Given the database schema, here is the SQL query that answers `Which railroad is 112.6 kilometers from kingston? `:
```sql
                SELECT "name" FROM "tunnels" WHERE "km_from_kingston"='112.6';
```
## Task
Generate a SQL query to answer the following question:
`Name the most number for new england blazers`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most number for new england blazers`:
```sql
                SELECT MAX("num") FROM "game_log" WHERE "opponent"='New England Blazers';
```
## Task
Generate a SQL query to answer the following question:
`Name the most attendance`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most attendance`:
```sql
                SELECT MAX("attendance") FROM "game_log";
```
## Task
Generate a SQL query to answer the following question:
`Name the most attendance for number 4`

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

CREATE TABLE "game_log" (
  "num" real,
  "date" text,
  "at_vs" text,
  "opponent" text,
  "score" text,
  "attendance" real,
  "record" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the most attendance for number 4`:
```sql
                SELECT MAX("attendance") FROM "game_log" WHERE "num"=4;
```
## Task
Generate a SQL query to answer the following question:
`What is the preliminary average when the semifinal average is 8.834 (3) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the preliminary average when the semifinal average is 8.834 (3) ?`:
```sql
                SELECT "preliminary_average" FROM "final_competition" WHERE "semifinal_average"='8.834 (3)';
```
## Task
Generate a SQL query to answer the following question:
`What is the interview when preliminary average is 8.662 (3) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the interview when preliminary average is 8.662 (3) ?`:
```sql
                SELECT "interview" FROM "final_competition" WHERE "preliminary_average"='8.662 (3)';
```
## Task
Generate a SQL query to answer the following question:
`What state has a semifinal average of 8.538 (8) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state has a semifinal average of 8.538 (8) ?`:
```sql
                SELECT "state" FROM "final_competition" WHERE "semifinal_average"='8.538 (8)';
```
## Task
Generate a SQL query to answer the following question:
`What state has an interview of 8.313 (8) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What state has an interview of 8.313 (8) ?`:
```sql
                SELECT "state" FROM "final_competition" WHERE "interview"='8.313 (8)';
```
## Task
Generate a SQL query to answer the following question:
`What is the semifinal average where the preliminary average is 9.084 (1) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the semifinal average where the preliminary average is 9.084 (1) ?`:
```sql
                SELECT "semifinal_average" FROM "final_competition" WHERE "preliminary_average"='9.084 (1)';
```
## Task
Generate a SQL query to answer the following question:
`What is the swimsuit when evening gown is 8.774 (6) ?`

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

CREATE TABLE "final_competition" (
  "state" text,
  "preliminary_average" text,
  "interview" text,
  "swimsuit" text,
  "evening_gown" text,
  "semifinal_average" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the swimsuit when evening gown is 8.774 (6) ?`:
```sql
                SELECT "swimsuit" FROM "final_competition" WHERE "evening_gown"='8.774 (6)';
```
## Task
Generate a SQL query to answer the following question:
`What is the population density of the Capital Region of Denmark?`

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

CREATE TABLE "table1_16278602_1" (
  "danish_name" text,
  "english_name" text,
  "seat_of_administration" text,
  "largest_city" text,
  "population_january_1_2008" real,
  "area_km" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the population density of the Capital Region of Denmark?`:
```sql
                SELECT "pop_density_per_km" FROM "table1_16278602_1" WHERE "english_name"='Capital Region of Denmark';
```
## Task
Generate a SQL query to answer the following question:
`In the region where Roskilde is the largest city, what is the seat of administration?`

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

CREATE TABLE "table1_16278602_1" (
  "danish_name" text,
  "english_name" text,
  "seat_of_administration" text,
  "largest_city" text,
  "population_january_1_2008" real,
  "area_km" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `In the region where Roskilde is the largest city, what is the seat of administration?`:
```sql
                SELECT "seat_of_administration" FROM "table1_16278602_1" WHERE "largest_city"='Roskilde';
```
## Task
Generate a SQL query to answer the following question:
`What is the minimum population of the region in which Roskilde is the largest city?`

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

CREATE TABLE "table1_16278602_1" (
  "danish_name" text,
  "english_name" text,
  "seat_of_administration" text,
  "largest_city" text,
  "population_january_1_2008" real,
  "area_km" real,
  "pop_density_per_km" text
);
### SQL
Given the database schema, here is the SQL query that answers `What is the minimum population of the region in which Roskilde is the largest city?`:
```sql
                SELECT MIN("population_january_1_2008") FROM "table1_16278602_1" WHERE "largest_city"='Roskilde';
```
## Task
Generate a SQL query to answer the following question:
`How many languages for the 2001 (74th) awards?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `How many languages for the 2001 (74th) awards?`:
```sql
                SELECT COUNT("language_s") FROM "submissions" WHERE "year_ceremony"='2001 (74th)';
```
## Task
Generate a SQL query to answer the following question:
`What was the result for the 2009 (82nd) awards?`

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

CREATE TABLE "submissions" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "language_s" text,
  "director" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `What was the result for the 2009 (82nd) awards?`:
```sql
                SELECT "result" FROM "submissions" WHERE "year_ceremony"='2009 (82nd)';
```
## Task
Generate a SQL query to answer the following question:
`Name the original title for the counterfeiters`

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

CREATE TABLE "table1_16255245_1" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the original title for the counterfeiters`:
```sql
                SELECT "original_title" FROM "table1_16255245_1" WHERE "film_title_used_in_nomination"='The Counterfeiters';
```
## Task
Generate a SQL query to answer the following question:
`Name the year for spiele leben`

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

CREATE TABLE "table1_16255245_1" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the year for spiele leben`:
```sql
                SELECT "year_ceremony" FROM "table1_16255245_1" WHERE "original_title"='Spiele Leben';
```
## Task
Generate a SQL query to answer the following question:
`Name the film title for wohin und zurück - welcome in vienna`

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

CREATE TABLE "table1_16255245_1" (
  "year_ceremony" text,
  "film_title_used_in_nomination" text,
  "original_title" text,
  "director_s" text,
  "result" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the film title for wohin und zurück - welcome in vienna`:
```sql
                SELECT "film_title_used_in_nomination" FROM "table1_16255245_1" WHERE "original_title"='Wohin und zurück - Welcome in Vienna';
```
## Task
Generate a SQL query to answer the following question:
`Name the language for kunar`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the language for kunar`:
```sql
                SELECT "language" FROM "provinces_of_afghanistan" WHERE "province"='Kunar';
```
## Task
Generate a SQL query to answer the following question:
`Name the notes for samangan`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the notes for samangan`:
```sql
                SELECT "notes" FROM "provinces_of_afghanistan" WHERE "province"='Samangan';
```
## Task
Generate a SQL query to answer the following question:
`Name the un region for 3314000 population`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the un region for 3314000 population`:
```sql
                SELECT "u_n_region" FROM "provinces_of_afghanistan" WHERE "population"=3314000;
```
## Task
Generate a SQL query to answer the following question:
`Name the area for map # 24`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the area for map # 24`:
```sql
                SELECT "area_km" FROM "provinces_of_afghanistan" WHERE "map_num"=24;
```
## Task
Generate a SQL query to answer the following question:
`Name the un region for 378000 population`

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

CREATE TABLE "provinces_of_afghanistan" (
  "province" text,
  "map_num" real,
  "iso_3166_2_af" text,
  "centers" text,
  "population" real,
  "area_km" real,
  "language" text,
  "notes" text,
  "u_n_region" text
);
### SQL
Given the database schema, here is the SQL query that answers `Name the un region for 378000 population`:
```sql
                SELECT "u_n_region" FROM "provinces_of_afghanistan" WHERE "population"=378000;
```